@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.
- package/_internal/DPnPEC08.js +9 -0
- package/js/constants/_internal/design-tokens.d.ts +5421 -0
- package/js/utils/_internal/color/resolveColorWithVariants.d.ts +1 -1
- package/js/utils/{className → classNames}/color/index.js +1 -1
- package/js/utils/{className → classNames}/index.d.ts +1 -0
- package/js/utils/{className → classNames}/index.js +1 -0
- package/js/utils/index.d.ts +1 -1
- package/js/utils/index.js +2 -2
- package/package.json +1 -1
- /package/js/utils/{className → classNames}/bem/block.d.ts +0 -0
- /package/js/utils/{className → classNames}/bem/block.js +0 -0
- /package/js/utils/{className → classNames}/bem/element.d.ts +0 -0
- /package/js/utils/{className → classNames}/bem/element.js +0 -0
- /package/js/utils/{className → classNames}/bem/generateBEMClass.d.ts +0 -0
- /package/js/utils/{className → classNames}/bem/generateBEMClass.js +0 -0
- /package/js/utils/{className → classNames}/bem/index.d.ts +0 -0
- /package/js/utils/{className → classNames}/bem/index.js +0 -0
- /package/js/utils/{className → classNames}/color/index.d.ts +0 -0
- /package/js/utils/{className → classNames}/spacing/index.d.ts +0 -0
- /package/js/utils/{className → classNames}/spacing/index.js +0 -0
- /package/js/utils/{className → classNames}/typography/index.d.ts +0 -0
- /package/js/utils/{className → classNames}/typography/index.js +0 -0
- /package/js/utils/{className → classNames}/visually-hidden/index.d.ts +0 -0
- /package/js/utils/{className → classNames}/visually-hidden/index.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ColorPalette, ColorVariant, ColorWithVariants } from '
|
|
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 '
|
|
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.
|
package/js/utils/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as
|
|
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 './
|
|
2
|
-
export { index as
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|