@ledgerhq/lumen-design-core 0.0.36 → 0.0.37
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/dist/presets/allBrands.js +2 -2
- package/dist/presets/enterprise.js +2 -2
- package/dist/presets/ledger-live.js +2 -2
- package/dist/presets/websites.js +2 -2
- package/dist/utils/{create-animations-plugin.d.ts → createAnimationsPlugin.d.ts} +1 -1
- package/dist/utils/createAnimationsPlugin.d.ts.map +1 -0
- package/dist/utils/{create-custom-plugin.d.ts → createCustomPlugin.d.ts} +1 -1
- package/dist/utils/createCustomPlugin.d.ts.map +1 -0
- package/dist/utils/{create-custom-plugin.js → createCustomPlugin.js} +1 -1
- package/dist/utils/{create-icon-utilities.d.ts → createIconUtilities.d.ts} +1 -1
- package/dist/utils/createIconUtilities.d.ts.map +1 -0
- package/dist/utils/{create-primitives-plugin.d.ts → createPrimitivesPlugin.d.ts} +1 -1
- package/dist/utils/createPrimitivesPlugin.d.ts.map +1 -0
- package/dist/utils/{create-primitives-plugin.js → createPrimitivesPlugin.js} +3 -3
- package/dist/utils/{create-spot-utilities.d.ts → createSpotUtilities.d.ts} +1 -1
- package/dist/utils/createSpotUtilities.d.ts.map +1 -0
- package/dist/utils/{fs-utils.d.ts → fsUtils.d.ts} +1 -1
- package/dist/utils/fsUtils.d.ts.map +1 -0
- package/dist/utils/{get-theme-utils-by-prefix.d.ts → getThemeUtilsByPrefix.d.ts} +1 -1
- package/dist/utils/getThemeUtilsByPrefix.d.ts.map +1 -0
- package/dist/utils/getThemeUtilsByPrefix.test.d.ts +2 -0
- package/dist/utils/getThemeUtilsByPrefix.test.d.ts.map +1 -0
- package/dist/utils/{get-theme-utils-by-prefix.test.js → getThemeUtilsByPrefix.test.js} +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/{parse-cli-args.d.ts → parseCliArgs.d.ts} +1 -1
- package/dist/utils/parseCliArgs.d.ts.map +1 -0
- package/dist/utils/parseCliArgs.test.d.ts +2 -0
- package/dist/utils/parseCliArgs.test.d.ts.map +1 -0
- package/dist/utils/{parse-cli-args.test.js → parseCliArgs.test.js} +1 -1
- package/package.json +1 -1
- package/dist/utils/create-animations-plugin.d.ts.map +0 -1
- package/dist/utils/create-custom-plugin.d.ts.map +0 -1
- package/dist/utils/create-icon-utilities.d.ts.map +0 -1
- package/dist/utils/create-primitives-plugin.d.ts.map +0 -1
- package/dist/utils/create-spot-utilities.d.ts.map +0 -1
- package/dist/utils/fs-utils.d.ts.map +0 -1
- package/dist/utils/get-theme-utils-by-prefix.d.ts.map +0 -1
- package/dist/utils/get-theme-utils-by-prefix.test.d.ts +0 -2
- package/dist/utils/get-theme-utils-by-prefix.test.d.ts.map +0 -1
- package/dist/utils/parse-cli-args.d.ts.map +0 -1
- package/dist/utils/parse-cli-args.test.d.ts +0 -2
- package/dist/utils/parse-cli-args.test.d.ts.map +0 -1
- /package/dist/utils/{create-animations-plugin.js → createAnimationsPlugin.js} +0 -0
- /package/dist/utils/{create-icon-utilities.js → createIconUtilities.js} +0 -0
- /package/dist/utils/{create-spot-utilities.js → createSpotUtilities.js} +0 -0
- /package/dist/utils/{fs-utils.js → fsUtils.js} +0 -0
- /package/dist/utils/{get-theme-utils-by-prefix.js → getThemeUtilsByPrefix.js} +0 -0
- /package/dist/utils/{parse-cli-args.js → parseCliArgs.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { allBrandsCSSTheme } from '../themes/css';
|
|
2
|
-
import { createAnimationsPlugin } from '../utils/
|
|
3
|
-
import { createPrimitivesPlugin } from '../utils/
|
|
2
|
+
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
|
+
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
4
|
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, } from '../utils/index.js';
|
|
5
5
|
export const allBrandsPreset = {
|
|
6
6
|
content: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { enterpriseCSSTheme } from '../themes/css';
|
|
2
|
-
import { createAnimationsPlugin } from '../utils/
|
|
3
|
-
import { createPrimitivesPlugin } from '../utils/
|
|
2
|
+
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
|
+
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
4
|
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, } from '../utils/index.js';
|
|
5
5
|
export const enterprisePreset = {
|
|
6
6
|
content: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ledgerLiveCSSTheme } from '../themes/css';
|
|
2
|
-
import { createAnimationsPlugin } from '../utils/
|
|
3
|
-
import { createPrimitivesPlugin } from '../utils/
|
|
2
|
+
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
|
+
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
4
|
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, } from '../utils/index.js';
|
|
5
5
|
export const ledgerLivePreset = {
|
|
6
6
|
content: [],
|
package/dist/presets/websites.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { websitesCSSTheme } from '../themes/css';
|
|
2
|
-
import { createAnimationsPlugin } from '../utils/
|
|
3
|
-
import { createPrimitivesPlugin } from '../utils/
|
|
2
|
+
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
|
+
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
4
|
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, } from '../utils/index.js';
|
|
5
5
|
export const websitesPreset = {
|
|
6
6
|
content: [],
|
|
@@ -2,4 +2,4 @@ export declare function createAnimationsPlugin(): {
|
|
|
2
2
|
handler: import("tailwindcss/types/config").PluginCreator;
|
|
3
3
|
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
4
4
|
};
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=createAnimationsPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createAnimationsPlugin.d.ts","sourceRoot":"","sources":["../../src/utils/createAnimationsPlugin.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB;;;EA+LrC"}
|
|
@@ -14,4 +14,4 @@ export declare function createShadowPlugin(): {
|
|
|
14
14
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
15
15
|
config?: Partial<import("tailwindcss/types/config.js").Config>;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=createCustomPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCustomPlugin.d.ts","sourceRoot":"","sources":["../../src/utils/createCustomPlugin.ts"],"names":[],"mappings":"AAgBA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;EAgDnD;AAED,wBAAgB,sBAAsB;;;EAwMrC;AAgCD,wBAAgB,oBAAoB,CAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;EAsCpD;AAED,wBAAgB,kBAAkB;;;EAkCjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import plugin from 'tailwindcss/plugin.js';
|
|
2
|
-
import { getThemeUtilsByPrefix } from './
|
|
2
|
+
import { getThemeUtilsByPrefix } from './getThemeUtilsByPrefix.js';
|
|
3
3
|
const DEFAULT_COLOR_VALUES = {
|
|
4
4
|
transparent: 'transparent',
|
|
5
5
|
inherit: 'inherit',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import plugin from 'tailwindcss/plugin.js';
|
|
2
2
|
export declare const createIconUtilities: (theme: Parameters<Parameters<typeof plugin>[0]>[0]["theme"]) => Record<string, Record<string, string>>;
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=createIconUtilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createIconUtilities.d.ts","sourceRoot":"","sources":["../../src/utils/createIconUtilities.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,UAAU,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,2CA2B5D,CAAC"}
|
|
@@ -2,4 +2,4 @@ export declare function createPrimitivesPlugin(): {
|
|
|
2
2
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
3
3
|
config?: Partial<import("tailwindcss/types/config.js").Config>;
|
|
4
4
|
};
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=createPrimitivesPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createPrimitivesPlugin.d.ts","sourceRoot":"","sources":["../../src/utils/createPrimitivesPlugin.ts"],"names":[],"mappings":"AAOA,wBAAgB,sBAAsB;;;EA2DrC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import plugin from 'tailwindcss/plugin.js';
|
|
2
2
|
import { primitivesTheme } from '../themes/css';
|
|
3
|
-
import { createIconUtilities } from './
|
|
4
|
-
import { createSpotUtilities } from './
|
|
5
|
-
import { getThemeUtilsByPrefix } from './
|
|
3
|
+
import { createIconUtilities } from './createIconUtilities.js';
|
|
4
|
+
import { createSpotUtilities } from './createSpotUtilities.js';
|
|
5
|
+
import { getThemeUtilsByPrefix } from './getThemeUtilsByPrefix.js';
|
|
6
6
|
export function createPrimitivesPlugin() {
|
|
7
7
|
const spacing = getThemeUtilsByPrefix(primitivesTheme, '--spacing-');
|
|
8
8
|
const size = getThemeUtilsByPrefix(primitivesTheme, '--size-');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import plugin from 'tailwindcss/plugin.js';
|
|
2
2
|
export declare const createSpotUtilities: (theme: Parameters<Parameters<typeof plugin>[0]>[0]["theme"]) => Record<string, Record<string, string>>;
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=createSpotUtilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpotUtilities.d.ts","sourceRoot":"","sources":["../../src/utils/createSpotUtilities.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,UAAU,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,2CAoB5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fsUtils.d.ts","sourceRoot":"","sources":["../../src/utils/fsUtils.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBnB"}
|
|
@@ -4,4 +4,4 @@ type ThemeUtilsOptions = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const getThemeUtilsByPrefix: (themeObject: Record<string, Record<string, string | number | Record<string, string | number>>>, prefix: string, options?: ThemeUtilsOptions) => Record<string, string>;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=getThemeUtilsByPrefix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getThemeUtilsByPrefix.d.ts","sourceRoot":"","sources":["../../src/utils/getThemeUtilsByPrefix.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,aAAa,MAAM,CACjB,MAAM,EACN,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAClE,EACD,QAAQ,MAAM,EACd,UAAS,iBAAsB,2BA2BhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getThemeUtilsByPrefix.test.d.ts","sourceRoot":"","sources":["../../src/utils/getThemeUtilsByPrefix.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { getThemeUtilsByPrefix } from './
|
|
2
|
+
import { getThemeUtilsByPrefix } from './getThemeUtilsByPrefix.js';
|
|
3
3
|
describe('getThemeUtilsByPrefix', () => {
|
|
4
4
|
const realWorldTheme = {
|
|
5
5
|
':root': {
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './createCustomPlugin.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './createCustomPlugin.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const parseCliArgs: (args: string[]) => Record<string, string>;
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=parseCliArgs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseCliArgs.d.ts","sourceRoot":"","sources":["../../src/utils/parseCliArgs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAalE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseCliArgs.test.d.ts","sourceRoot":"","sources":["../../src/utils/parseCliArgs.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { parseCliArgs } from './
|
|
2
|
+
import { parseCliArgs } from './parseCliArgs.js';
|
|
3
3
|
describe('parseCliArgs', () => {
|
|
4
4
|
it('should parse a single key-value pair', () => {
|
|
5
5
|
const args = ['--name', 'value'];
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-animations-plugin.d.ts","sourceRoot":"","sources":["../../src/utils/create-animations-plugin.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB;;;EA+LrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-plugin.d.ts","sourceRoot":"","sources":["../../src/utils/create-custom-plugin.ts"],"names":[],"mappings":"AAgBA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;EAgDnD;AAED,wBAAgB,sBAAsB;;;EAwMrC;AAgCD,wBAAgB,oBAAoB,CAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;EAsCpD;AAED,wBAAgB,kBAAkB;;;EAkCjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-icon-utilities.d.ts","sourceRoot":"","sources":["../../src/utils/create-icon-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,UAAU,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,2CA2B5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-primitives-plugin.d.ts","sourceRoot":"","sources":["../../src/utils/create-primitives-plugin.ts"],"names":[],"mappings":"AAOA,wBAAgB,sBAAsB;;;EA2DrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-spot-utilities.d.ts","sourceRoot":"","sources":["../../src/utils/create-spot-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,UAAU,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,2CAoB5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fs-utils.d.ts","sourceRoot":"","sources":["../../src/utils/fs-utils.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-theme-utils-by-prefix.d.ts","sourceRoot":"","sources":["../../src/utils/get-theme-utils-by-prefix.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,aAAa,MAAM,CACjB,MAAM,EACN,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAClE,EACD,QAAQ,MAAM,EACd,UAAS,iBAAsB,2BA2BhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-theme-utils-by-prefix.test.d.ts","sourceRoot":"","sources":["../../src/utils/get-theme-utils-by-prefix.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-cli-args.d.ts","sourceRoot":"","sources":["../../src/utils/parse-cli-args.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAalE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-cli-args.test.d.ts","sourceRoot":"","sources":["../../src/utils/parse-cli-args.test.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|