@ledgerhq/lumen-design-core 0.0.48 → 0.0.49
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.d.ts.map +1 -1
- package/dist/presets/allBrands.js +2 -1
- package/dist/presets/enterprise.d.ts.map +1 -1
- package/dist/presets/enterprise.js +2 -1
- package/dist/presets/ledger-live.d.ts.map +1 -1
- package/dist/presets/ledger-live.js +2 -1
- package/dist/presets/websites.d.ts.map +1 -1
- package/dist/presets/websites.js +2 -1
- package/dist/themes/css/index.js +1 -1
- package/dist/themes/css/typographies/typography.sm-css.js +1 -1
- package/dist/themes/css/typographies/typography.xs-css.js +1 -1
- package/dist/utils/createScreensPlugin.d.ts +5 -0
- package/dist/utils/createScreensPlugin.d.ts.map +1 -0
- package/dist/utils/createScreensPlugin.js +17 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allBrands.d.ts","sourceRoot":"","sources":["../../src/presets/allBrands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"allBrands.d.ts","sourceRoot":"","sources":["../../src/presets/allBrands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAa1C,eAAO,MAAM,eAAe,EAAE,MAqB7B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { allBrandsCSSTheme } from '../themes/css';
|
|
2
2
|
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
3
|
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
|
-
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
4
|
+
import { createGradientPlugin, createScreensPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
5
5
|
export const allBrandsPreset = {
|
|
6
6
|
content: [],
|
|
7
7
|
theme: {
|
|
@@ -14,6 +14,7 @@ export const allBrandsPreset = {
|
|
|
14
14
|
},
|
|
15
15
|
plugins: [
|
|
16
16
|
createPrimitivesPlugin(),
|
|
17
|
+
createScreensPlugin(),
|
|
17
18
|
createThemePlugin(allBrandsCSSTheme),
|
|
18
19
|
createTypographyPlugin(),
|
|
19
20
|
createGradientPlugin(allBrandsCSSTheme),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterprise.d.ts","sourceRoot":"","sources":["../../src/presets/enterprise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"enterprise.d.ts","sourceRoot":"","sources":["../../src/presets/enterprise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAc1C,eAAO,MAAM,gBAAgB,EAAE,MAqB9B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { enterpriseCSSTheme } from '../themes/css';
|
|
2
2
|
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
3
|
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
|
-
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
4
|
+
import { createGradientPlugin, createScreensPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
5
5
|
export const enterprisePreset = {
|
|
6
6
|
content: [],
|
|
7
7
|
theme: {
|
|
@@ -14,6 +14,7 @@ export const enterprisePreset = {
|
|
|
14
14
|
},
|
|
15
15
|
plugins: [
|
|
16
16
|
createPrimitivesPlugin(),
|
|
17
|
+
createScreensPlugin(),
|
|
17
18
|
createThemePlugin(enterpriseCSSTheme),
|
|
18
19
|
createTypographyPlugin(),
|
|
19
20
|
createGradientPlugin(enterpriseCSSTheme),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger-live.d.ts","sourceRoot":"","sources":["../../src/presets/ledger-live.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ledger-live.d.ts","sourceRoot":"","sources":["../../src/presets/ledger-live.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAa1C,eAAO,MAAM,gBAAgB,EAAE,MAqB9B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ledgerLiveCSSTheme } from '../themes/css';
|
|
2
2
|
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
3
|
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
|
-
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
4
|
+
import { createGradientPlugin, createScreensPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
5
5
|
export const ledgerLivePreset = {
|
|
6
6
|
content: [],
|
|
7
7
|
theme: {
|
|
@@ -14,6 +14,7 @@ export const ledgerLivePreset = {
|
|
|
14
14
|
},
|
|
15
15
|
plugins: [
|
|
16
16
|
createPrimitivesPlugin(),
|
|
17
|
+
createScreensPlugin(),
|
|
17
18
|
createThemePlugin(ledgerLiveCSSTheme),
|
|
18
19
|
createTypographyPlugin(),
|
|
19
20
|
createGradientPlugin(ledgerLiveCSSTheme),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"websites.d.ts","sourceRoot":"","sources":["../../src/presets/websites.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"websites.d.ts","sourceRoot":"","sources":["../../src/presets/websites.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAc1C,eAAO,MAAM,cAAc,EAAE,MAqB5B,CAAC"}
|
package/dist/presets/websites.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { websitesCSSTheme } from '../themes/css';
|
|
2
2
|
import { createAnimationsPlugin } from '../utils/createAnimationsPlugin.js';
|
|
3
3
|
import { createPrimitivesPlugin } from '../utils/createPrimitivesPlugin.js';
|
|
4
|
-
import { createGradientPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
4
|
+
import { createGradientPlugin, createScreensPlugin, createThemePlugin, createTypographyPlugin, createShadowPlugin, createScrollbarPlugin, } from '../utils/index.js';
|
|
5
5
|
export const websitesPreset = {
|
|
6
6
|
content: [],
|
|
7
7
|
theme: {
|
|
@@ -14,6 +14,7 @@ export const websitesPreset = {
|
|
|
14
14
|
},
|
|
15
15
|
plugins: [
|
|
16
16
|
createPrimitivesPlugin(),
|
|
17
|
+
createScreensPlugin(),
|
|
17
18
|
createThemePlugin(websitesCSSTheme),
|
|
18
19
|
createTypographyPlugin(),
|
|
19
20
|
createGradientPlugin(websitesCSSTheme),
|
package/dist/themes/css/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
export const tokens = {
|
|
5
|
-
':
|
|
5
|
+
'@media (min-width: theme("screens.sm"))': {
|
|
6
6
|
'--font-style-responsive-display-1-size': 'var(--font-size-80)',
|
|
7
7
|
'--font-style-responsive-display-1-weight': 'var(--font-weight-bold)',
|
|
8
8
|
'--font-style-responsive-display-1-line-height': 'var(--font-line-height-80)',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
export const tokens = {
|
|
5
|
-
'
|
|
5
|
+
':root': {
|
|
6
6
|
'--font-style-responsive-display-1-size': 'var(--font-size-64)',
|
|
7
7
|
'--font-style-responsive-display-1-weight': 'var(--font-weight-bold)',
|
|
8
8
|
'--font-style-responsive-display-1-line-height': 'var(--font-line-height-64)',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createScreensPlugin.d.ts","sourceRoot":"","sources":["../../src/utils/createScreensPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAEhD,wBAAgB,mBAAmB,IAAI,cAAc,CAkBpD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import plugin from 'tailwindcss/plugin.js';
|
|
2
|
+
export function createScreensPlugin() {
|
|
3
|
+
return plugin(function () {
|
|
4
|
+
return;
|
|
5
|
+
}, {
|
|
6
|
+
theme: {
|
|
7
|
+
screens: {
|
|
8
|
+
xs: '360px',
|
|
9
|
+
sm: '640px',
|
|
10
|
+
md: '768px',
|
|
11
|
+
lg: '1024px',
|
|
12
|
+
xl: '1280px',
|
|
13
|
+
'2xl': '1536px',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
package/dist/utils/index.js
CHANGED