@esds-sangam/tokens 0.1.6 → 1.0.0

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 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
@@ -75,6 +75,7 @@ var colors_default = {
75
75
  // semantic-colors.json
76
76
  var semantic_colors_default = {
77
77
  background: {
78
+ transparent: "transparent",
78
79
  neutral: {
79
80
  primary: "neutral.50",
80
81
  secondary: "neutral.100",
@@ -180,6 +181,7 @@ var semantic_colors_default = {
180
181
  }
181
182
  },
182
183
  border: {
184
+ transparent: "transparent",
183
185
  neutral: {
184
186
  primary: "neutral.400",
185
187
  secondary: "neutral.300",
@@ -213,6 +215,14 @@ var semantic_colors_default = {
213
215
  hover: "blue.300"
214
216
  }
215
217
  }
218
+ },
219
+ opacity: {
220
+ description: 0.9,
221
+ hover: 0.8,
222
+ hoverSubtle: 0.7,
223
+ disabled: 0.5,
224
+ hidden: 0,
225
+ full: 1
216
226
  }
217
227
  };
218
228
 
@@ -428,6 +438,11 @@ var iconSize_default = {
428
438
  lg: "2rem"
429
439
  };
430
440
 
441
+ // layout.json
442
+ var layout_default = {
443
+ pagination: "17.5rem"
444
+ };
445
+
431
446
  // index.ts
432
447
  function resolveRef(ref) {
433
448
  const [palette, step] = ref.split(".");
@@ -463,12 +478,14 @@ var tokens = {
463
478
  shadows: shadows_default,
464
479
  elevation: elevation_default,
465
480
  strokeWidth: strokeWidth_default,
466
- iconSize: iconSize_default
481
+ iconSize: iconSize_default,
482
+ layout: layout_default
467
483
  };
468
484
  export {
469
485
  colors_default as colors,
470
486
  elevation_default as elevation,
471
487
  iconSize_default as iconSize,
488
+ layout_default as layout,
472
489
  radius_default as radius,
473
490
  semanticColors,
474
491
  semanticColorsResolved,
package/layout.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "pagination": "17.5rem"
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esds-sangam/tokens",
3
- "version": "0.1.6",
3
+ "version": "1.0.0",
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",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "background": {
3
+ "transparent": "transparent",
3
4
  "neutral": {
4
5
  "primary": "neutral.50",
5
6
  "secondary": "neutral.100",
@@ -105,6 +106,7 @@
105
106
  }
106
107
  },
107
108
  "border": {
109
+ "transparent": "transparent",
108
110
  "neutral": {
109
111
  "primary": "neutral.400",
110
112
  "secondary": "neutral.300",
@@ -138,5 +140,13 @@
138
140
  "hover": "blue.300"
139
141
  }
140
142
  }
143
+ },
144
+ "opacity": {
145
+ "description": 0.9,
146
+ "hover": 0.8,
147
+ "hoverSubtle": 0.7,
148
+ "disabled": 0.5,
149
+ "hidden": 0,
150
+ "full": 1
141
151
  }
142
152
  }