@lumx/core 3.20.1-alpha.46 → 3.20.1-alpha.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/_internal/DPnPEC08.js +9 -0
  2. package/js/constants/_internal/design-tokens.d.ts +5421 -0
  3. package/js/utils/_internal/color/resolveColorWithVariants.d.ts +1 -1
  4. package/js/utils/{className → classNames}/color/index.js +1 -1
  5. package/js/utils/{className → classNames}/index.d.ts +1 -0
  6. package/js/utils/{className → classNames}/index.js +1 -0
  7. package/js/utils/index.d.ts +1 -1
  8. package/js/utils/index.js +2 -2
  9. package/package.json +1 -1
  10. /package/js/utils/{className → classNames}/bem/block.d.ts +0 -0
  11. /package/js/utils/{className → classNames}/bem/block.js +0 -0
  12. /package/js/utils/{className → classNames}/bem/element.d.ts +0 -0
  13. /package/js/utils/{className → classNames}/bem/element.js +0 -0
  14. /package/js/utils/{className → classNames}/bem/generateBEMClass.d.ts +0 -0
  15. /package/js/utils/{className → classNames}/bem/generateBEMClass.js +0 -0
  16. /package/js/utils/{className → classNames}/bem/index.d.ts +0 -0
  17. /package/js/utils/{className → classNames}/bem/index.js +0 -0
  18. /package/js/utils/{className → classNames}/color/index.d.ts +0 -0
  19. /package/js/utils/{className → classNames}/spacing/index.d.ts +0 -0
  20. /package/js/utils/{className → classNames}/spacing/index.js +0 -0
  21. /package/js/utils/{className → classNames}/typography/index.d.ts +0 -0
  22. /package/js/utils/{className → classNames}/typography/index.js +0 -0
  23. /package/js/utils/{className → classNames}/visually-hidden/index.d.ts +0 -0
  24. /package/js/utils/{className → classNames}/visually-hidden/index.js +0 -0
@@ -1,3 +1,3 @@
1
- import type { ColorPalette, ColorVariant, ColorWithVariants } from '../../../constants';
1
+ import type { ColorPalette, ColorVariant, ColorWithVariants } from '@lumx/core/js/constants';
2
2
  /** Resolve color & color variant from a `ColorWithVariants` and optionally a `ColorVariant`. */
3
3
  export declare function resolveColorWithVariants(colorWithVariants?: ColorWithVariants, colorVariant?: ColorVariant): [color?: ColorPalette, colorVariant?: ColorVariant];
@@ -1,5 +1,5 @@
1
1
  import { ColorVariant } from '../../../constants/enums/index.js';
2
- import { resolveColorWithVariants } from '@lumx/core/js/utils/_internal/color';
2
+ import { resolveColorWithVariants } from '../../../../_internal/DPnPEC08.js';
3
3
 
4
4
  /**
5
5
  * Generates a Lumx color class name for the given type, color and variant.
@@ -1,3 +1,4 @@
1
+ export { default as join } from 'classnames';
1
2
  export * from './color';
2
3
  export * from './typography';
3
4
  export * from './spacing';
@@ -1,3 +1,4 @@
1
+ export { default as join } from 'classnames';
1
2
  export { background, color, font } from './color/index.js';
2
3
  export { typography } from './typography/index.js';
3
4
  export { margin, margins, padding, paddings, spacing, spacings } from './spacing/index.js';
@@ -1,2 +1,2 @@
1
- export * as cls from './className';
1
+ export * as classNames from './classNames';
2
2
  export * from './events';
package/js/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import * as index from './className/index.js';
2
- export { index as cls };
1
+ import * as index from './classNames/index.js';
2
+ export { index as classNames };
3
3
  export { onButtonPressed, onEnterPressed, onEscapePressed } from './events/keyboard.js';
4
4
  export { detectHorizontalSwipe } from './events/swipe.js';
package/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
36
36
  },
37
37
  "sideEffects": false,
38
- "version": "3.20.1-alpha.46",
38
+ "version": "3.20.1-alpha.47",
39
39
  "devDependencies": {
40
40
  "@rollup/plugin-typescript": "^12.3.0",
41
41
  "@types/react": "^17.0.2",
File without changes
File without changes