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
|
||||
---
|
||||
|
||||
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/collapsible': patch
|
||||
'@lion/form-core': patch
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@
|
|||
"lion-accordion.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/helpers": "^0.11.0"
|
||||
"@lion/core": "^0.22.0"
|
||||
},
|
||||
"keywords": [
|
||||
"accordion",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable class-methods-use-this */
|
||||
import { LitElement, css, html } from '@lion/core';
|
||||
import { uuid } from '@lion/helpers';
|
||||
import { LitElement, css, html, uuid } from '@lion/core';
|
||||
|
||||
/**
|
||||
* @typedef {Object} StoreEntry
|
||||
* @property {string} uid Unique ID for the entry
|
||||
|
|
|
|||
|
|
@ -38,8 +38,7 @@
|
|||
"demo/custom-collapsible.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/helpers": "^0.11.0"
|
||||
"@lion/core": "^0.22.0"
|
||||
},
|
||||
"keywords": [
|
||||
"collapsible",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { LitElement, html, css } from '@lion/core';
|
||||
import { uuid } from '@lion/helpers';
|
||||
import { LitElement, html, css, uuid } from '@lion/core';
|
||||
/**
|
||||
* `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 { browserDetection } from './src/browserDetection.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 { browserDetection } from './src/browserDetection.js';
|
||||
export { EventTargetShim } from './src/EventTargetShim.js';
|
||||
export { uuid } from './src/uuid.js';
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
* @return {string} unique id
|
||||
*/
|
||||
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)}`;
|
||||
}
|
||||
|
|
@ -40,7 +40,6 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/helpers": "^0.11.0",
|
||||
"@lion/localize": "^0.24.0"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { css, dedupeMixin, html, nothing, SlotMixin, DisabledMixin } from '@lion/core';
|
||||
import { uuid } from '@lion/helpers';
|
||||
import { css, dedupeMixin, html, nothing, SlotMixin, DisabledMixin, uuid } from '@lion/core';
|
||||
import { getAriaElementsInRightDomOrder } from './utils/getAriaElementsInRightDomOrder.js';
|
||||
import { Unparseable } from './validate/Unparseable.js';
|
||||
import { FormRegisteringMixin } from './registration/FormRegisteringMixin.js';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// Utilities
|
||||
export { renderLitAsNode } from './renderLitAsNode/src/renderLitAsNode.js';
|
||||
export { sortEachDepth } from './sortEachDepth/src/sortEachDepth.js';
|
||||
export { uuid } from './uuid/uuid.js';
|
||||
|
||||
// Components
|
||||
export { SbActionLogger } from './sb-action-logger/src/SbActionLogger.js';
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/form-core": "^0.17.1",
|
||||
"@lion/helpers": "^0.11.0"
|
||||
"@lion/form-core": "^0.17.1"
|
||||
},
|
||||
"keywords": [
|
||||
"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 { uuid } from '@lion/helpers';
|
||||
import { LionOptions } from './LionOptions.js';
|
||||
|
||||
// TODO: extract ListNavigationWithActiveDescendantMixin that can be reused in [role="menu"]
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/form-core": "^0.17.1",
|
||||
"@lion/helpers": "^0.11.0"
|
||||
"@lion/form-core": "^0.17.1"
|
||||
},
|
||||
"keywords": [
|
||||
"lion",
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@
|
|||
"lion-tabs.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@lion/core": "^0.22.0",
|
||||
"@lion/helpers": "^0.11.0"
|
||||
"@lion/core": "^0.22.0"
|
||||
},
|
||||
"keywords": [
|
||||
"lion",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { css, html, LitElement } from '@lion/core';
|
||||
import { uuid } from '@lion/helpers';
|
||||
import { css, html, LitElement, uuid } from '@lion/core';
|
||||
|
||||
/**
|
||||
* @typedef {Object} StoreEntry
|
||||
|
|
|
|||
Loading…
Reference in a new issue