@esds-sangam/tokens 0.1.7 → 1.0.1
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/index.d.ts +10 -1
- package/dist/index.js +8 -1
- package/layout.json +3 -0
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -415,6 +415,11 @@ var iconSize = {
|
|
|
415
415
|
lg: lg
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
+
var pagination = "17.5rem";
|
|
419
|
+
var layout = {
|
|
420
|
+
pagination: pagination
|
|
421
|
+
};
|
|
422
|
+
|
|
418
423
|
declare const semanticColorsResolved: Record<string, Record<string, Record<string, string>>>;
|
|
419
424
|
declare const semanticColors: Record<string, unknown>;
|
|
420
425
|
declare const tokens: {
|
|
@@ -728,6 +733,9 @@ declare const tokens: {
|
|
|
728
733
|
md: string;
|
|
729
734
|
lg: string;
|
|
730
735
|
};
|
|
736
|
+
layout: {
|
|
737
|
+
pagination: string;
|
|
738
|
+
};
|
|
731
739
|
};
|
|
732
740
|
|
|
733
741
|
type SemanticColorsResolved = typeof semanticColorsResolved;
|
|
@@ -739,6 +747,7 @@ type Shadows = typeof shadows;
|
|
|
739
747
|
type Elevation = typeof elevation$1;
|
|
740
748
|
type StrokeWidth = typeof strokeWidth;
|
|
741
749
|
type IconSize = typeof iconSize;
|
|
750
|
+
type Layout = typeof layout;
|
|
742
751
|
type Tokens = typeof tokens;
|
|
743
752
|
|
|
744
|
-
export { type Colors, type Elevation, type IconSize, type Radius, type SemanticColorsResolved, type Shadows, type Spacing, type StrokeWidth, type Tokens, type Typography, colors, elevation$1 as elevation, iconSize, radius, semanticColors, semanticColorsResolved, shadows, spacing, strokeWidth, tokens, typography };
|
|
753
|
+
export { type Colors, type Elevation, type IconSize, type Layout, type Radius, type SemanticColorsResolved, type Shadows, type Spacing, type StrokeWidth, type Tokens, type Typography, colors, elevation$1 as elevation, iconSize, layout, radius, semanticColors, semanticColorsResolved, shadows, spacing, strokeWidth, tokens, typography };
|
package/dist/index.js
CHANGED
|
@@ -438,6 +438,11 @@ var iconSize_default = {
|
|
|
438
438
|
lg: "2rem"
|
|
439
439
|
};
|
|
440
440
|
|
|
441
|
+
// layout.json
|
|
442
|
+
var layout_default = {
|
|
443
|
+
pagination: "17.5rem"
|
|
444
|
+
};
|
|
445
|
+
|
|
441
446
|
// index.ts
|
|
442
447
|
function resolveRef(ref) {
|
|
443
448
|
const [palette, step] = ref.split(".");
|
|
@@ -473,12 +478,14 @@ var tokens = {
|
|
|
473
478
|
shadows: shadows_default,
|
|
474
479
|
elevation: elevation_default,
|
|
475
480
|
strokeWidth: strokeWidth_default,
|
|
476
|
-
iconSize: iconSize_default
|
|
481
|
+
iconSize: iconSize_default,
|
|
482
|
+
layout: layout_default
|
|
477
483
|
};
|
|
478
484
|
export {
|
|
479
485
|
colors_default as colors,
|
|
480
486
|
elevation_default as elevation,
|
|
481
487
|
iconSize_default as iconSize,
|
|
488
|
+
layout_default as layout,
|
|
482
489
|
radius_default as radius,
|
|
483
490
|
semanticColors,
|
|
484
491
|
semanticColorsResolved,
|
package/layout.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esds-sangam/tokens",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"./colors": "./colors.json",
|
|
14
14
|
"./semantic-colors": "./semantic-colors.json",
|
|
15
|
+
"./layout": "./layout.json",
|
|
15
16
|
"./spacing": "./spacing.json",
|
|
16
17
|
"./typography": "./typography.json",
|
|
17
18
|
"./radius": "./radius.json",
|