chore: keep prod dependencies limited and simple
This commit is contained in:
parent
6c0be8e45a
commit
27c86e71e8
17 changed files with 16 additions and 25 deletions
|
|
@ -2,4 +2,4 @@
|
||||||
'@lion/input-tel': patch
|
'@lion/input-tel': patch
|
||||||
---
|
---
|
||||||
|
|
||||||
Make use of awsome-phonenumber, remove local copy
|
Make use of awesome-phonenumber, remove local copy
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
'@lion/helpers': minor
|
'@lion/core': patch
|
||||||
'@lion/accordion': patch
|
'@lion/accordion': patch
|
||||||
'@lion/collapsible': patch
|
'@lion/collapsible': patch
|
||||||
'@lion/form-core': patch
|
'@lion/form-core': patch
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,7 @@
|
||||||
"lion-accordion.js"
|
"lion-accordion.js"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0"
|
||||||
"@lion/helpers": "^0.11.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"accordion",
|
"accordion",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-disable class-methods-use-this */
|
/* eslint-disable class-methods-use-this */
|
||||||
import { LitElement, css, html } from '@lion/core';
|
import { LitElement, css, html, uuid } from '@lion/core';
|
||||||
import { uuid } from '@lion/helpers';
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} StoreEntry
|
* @typedef {Object} StoreEntry
|
||||||
* @property {string} uid Unique ID for the entry
|
* @property {string} uid Unique ID for the entry
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@
|
||||||
"demo/custom-collapsible.js"
|
"demo/custom-collapsible.js"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0"
|
||||||
"@lion/helpers": "^0.11.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"collapsible",
|
"collapsible",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import { LitElement, html, css } from '@lion/core';
|
import { LitElement, html, css, uuid } from '@lion/core';
|
||||||
import { uuid } from '@lion/helpers';
|
|
||||||
/**
|
/**
|
||||||
* `LionCollapsible` is a class for custom collapsible element (`<lion-collapsible>` web component).
|
* `LionCollapsible` is a class for custom collapsible element (`<lion-collapsible>` web component).
|
||||||
*
|
*
|
||||||
|
|
|
||||||
1
packages/core/index.d.ts
vendored
1
packages/core/index.d.ts
vendored
|
|
@ -85,3 +85,4 @@ export { SlotMixin } from './src/SlotMixin.js';
|
||||||
export { UpdateStylesMixin } from './src/UpdateStylesMixin.js';
|
export { UpdateStylesMixin } from './src/UpdateStylesMixin.js';
|
||||||
export { browserDetection } from './src/browserDetection.js';
|
export { browserDetection } from './src/browserDetection.js';
|
||||||
export { EventTargetShim } from './src/EventTargetShim.js';
|
export { EventTargetShim } from './src/EventTargetShim.js';
|
||||||
|
export { uuid } from './src/uuid.js';
|
||||||
|
|
|
||||||
|
|
@ -76,3 +76,4 @@ export { SlotMixin } from './src/SlotMixin.js';
|
||||||
export { UpdateStylesMixin } from './src/UpdateStylesMixin.js';
|
export { UpdateStylesMixin } from './src/UpdateStylesMixin.js';
|
||||||
export { browserDetection } from './src/browserDetection.js';
|
export { browserDetection } from './src/browserDetection.js';
|
||||||
export { EventTargetShim } from './src/EventTargetShim.js';
|
export { EventTargetShim } from './src/EventTargetShim.js';
|
||||||
|
export { uuid } from './src/uuid.js';
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,6 @@
|
||||||
* @return {string} unique id
|
* @return {string} unique id
|
||||||
*/
|
*/
|
||||||
export function uuid(prefix = '') {
|
export function uuid(prefix = '') {
|
||||||
const elementName = prefix.length > 1 ? `${prefix}-` : '';
|
const elementName = prefix.length > 0 ? `${prefix}-` : '';
|
||||||
return `${elementName}${Math.random().toString(36).substr(2, 10)}`;
|
return `${elementName}${Math.random().toString(36).substr(2, 10)}`;
|
||||||
}
|
}
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0",
|
||||||
"@lion/helpers": "^0.11.0",
|
|
||||||
"@lion/localize": "^0.24.0"
|
"@lion/localize": "^0.24.0"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import { css, dedupeMixin, html, nothing, SlotMixin, DisabledMixin } from '@lion/core';
|
import { css, dedupeMixin, html, nothing, SlotMixin, DisabledMixin, uuid } from '@lion/core';
|
||||||
import { uuid } from '@lion/helpers';
|
|
||||||
import { getAriaElementsInRightDomOrder } from './utils/getAriaElementsInRightDomOrder.js';
|
import { getAriaElementsInRightDomOrder } from './utils/getAriaElementsInRightDomOrder.js';
|
||||||
import { Unparseable } from './validate/Unparseable.js';
|
import { Unparseable } from './validate/Unparseable.js';
|
||||||
import { FormRegisteringMixin } from './registration/FormRegisteringMixin.js';
|
import { FormRegisteringMixin } from './registration/FormRegisteringMixin.js';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
// Utilities
|
// Utilities
|
||||||
export { renderLitAsNode } from './renderLitAsNode/src/renderLitAsNode.js';
|
export { renderLitAsNode } from './renderLitAsNode/src/renderLitAsNode.js';
|
||||||
export { sortEachDepth } from './sortEachDepth/src/sortEachDepth.js';
|
export { sortEachDepth } from './sortEachDepth/src/sortEachDepth.js';
|
||||||
export { uuid } from './uuid/uuid.js';
|
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
export { SbActionLogger } from './sb-action-logger/src/SbActionLogger.js';
|
export { SbActionLogger } from './sb-action-logger/src/SbActionLogger.js';
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,7 @@
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0",
|
||||||
"@lion/form-core": "^0.17.1",
|
"@lion/form-core": "^0.17.1"
|
||||||
"@lion/helpers": "^0.11.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"form",
|
"form",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import { css, dedupeMixin, html, ScopedElementsMixin, SlotMixin } from '@lion/core';
|
import { css, dedupeMixin, html, ScopedElementsMixin, SlotMixin, uuid } from '@lion/core';
|
||||||
import { ChoiceGroupMixin, FormControlMixin, FormRegistrarMixin } from '@lion/form-core';
|
import { ChoiceGroupMixin, FormControlMixin, FormRegistrarMixin } from '@lion/form-core';
|
||||||
import { uuid } from '@lion/helpers';
|
|
||||||
import { LionOptions } from './LionOptions.js';
|
import { LionOptions } from './LionOptions.js';
|
||||||
|
|
||||||
// TODO: extract ListNavigationWithActiveDescendantMixin that can be reused in [role="menu"]
|
// TODO: extract ListNavigationWithActiveDescendantMixin that can be reused in [role="menu"]
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,7 @@
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0",
|
||||||
"@lion/form-core": "^0.17.1",
|
"@lion/form-core": "^0.17.1"
|
||||||
"@lion/helpers": "^0.11.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lion",
|
"lion",
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,7 @@
|
||||||
"lion-tabs.js"
|
"lion-tabs.js"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "^0.22.0",
|
"@lion/core": "^0.22.0"
|
||||||
"@lion/helpers": "^0.11.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lion",
|
"lion",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import { css, html, LitElement } from '@lion/core';
|
import { css, html, LitElement, uuid } from '@lion/core';
|
||||||
import { uuid } from '@lion/helpers';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} StoreEntry
|
* @typedef {Object} StoreEntry
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue