@esds-sangam/tokens 1.2.3 → 1.2.4

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/elevation.json CHANGED
@@ -1,95 +1,94 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft-07/schema#",
3
- "description": "Elevation (shadow) design tokens for the Sangam Design System. Provides directional shadows for creating depth and hierarchy.",
3
+ "description": "Elevation (shadow) design tokens for the Sangam Design System. From Figma Elevation collection.",
4
4
  "elevation": {
5
5
  "bottom": {
6
6
  "sm": {
7
- "value": "0 2px 6px 0 rgba(0, 0, 0, 0.1)",
8
- "description": "Small elevation shadow cast downward. Subtle depth for cards, buttons.",
9
- "css": "box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);"
7
+ "value": "0px 2px 6px 0px rgba(0, 0, 0, 0.1)",
8
+ "description": "Small elevation shadow (bottom).",
9
+ "css": "box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);"
10
10
  },
11
11
  "md": {
12
- "value": "0 4px 10px 0 rgba(0, 0, 0, 0.1)",
13
- "description": "Medium elevation shadow cast downward. Moderate depth for dropdowns, popovers.",
14
- "css": "box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);"
12
+ "value": "0px 4px 10px 0px rgba(0, 0, 0, 0.1)",
13
+ "description": "Medium elevation shadow (bottom).",
14
+ "css": "box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);"
15
15
  },
16
16
  "lg": {
17
- "value": "0 8px 16px 0 rgba(0, 0, 0, 0.1)",
18
- "description": "Large elevation shadow cast downward. Strong depth for modals, overlays.",
19
- "css": "box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);"
17
+ "value": "0px 8px 16px 0px rgba(0, 0, 0, 0.1)",
18
+ "description": "Large elevation shadow (bottom).",
19
+ "css": "box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);"
20
20
  },
21
21
  "xl": {
22
- "value": "0 12px 24px 0 rgba(0, 0, 0, 0.1)",
23
- "description": "Extra large elevation shadow cast downward. Maximum depth for floating panels.",
24
- "css": "box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);"
22
+ "value": "0px 12px 24px 0px rgba(0, 0, 0, 0.1)",
23
+ "description": "Extra Large elevation shadow (bottom).",
24
+ "css": "box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.1);"
25
25
  }
26
26
  },
27
27
  "top": {
28
28
  "sm": {
29
- "value": "0 -4px 6px 0 rgba(0, 0, 0, 0.1)",
30
- "description": "Small elevation shadow cast upward. Subtle depth for sticky footers.",
31
- "css": "box-shadow: 0 -4px 6px 0 rgba(0, 0, 0, 0.1);"
29
+ "value": "0px -4px 6px 0px rgba(0, 0, 0, 0.1)",
30
+ "description": "Small elevation shadow (top).",
31
+ "css": "box-shadow: 0px -4px 6px 0px rgba(0, 0, 0, 0.1);"
32
32
  },
33
33
  "md": {
34
- "value": "0 -6px 12px 0 rgba(0, 0, 0, 0.1)",
35
- "description": "Medium elevation shadow cast upward. Moderate depth for bottom sheets.",
36
- "css": "box-shadow: 0 -6px 12px 0 rgba(0, 0, 0, 0.1);"
34
+ "value": "0px -6px 12px 0px rgba(0, 0, 0, 0.1)",
35
+ "description": "Medium elevation shadow (top).",
36
+ "css": "box-shadow: 0px -6px 12px 0px rgba(0, 0, 0, 0.1);"
37
37
  },
38
38
  "lg": {
39
- "value": "0 -10px 20px 0 rgba(0, 0, 0, 0.1)",
40
- "description": "Large elevation shadow cast upward. Strong depth for elevated panels.",
41
- "css": "box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, 0.1);"
39
+ "value": "0px -10px 20px 0px rgba(0, 0, 0, 0.1)",
40
+ "description": "Large elevation shadow (top).",
41
+ "css": "box-shadow: 0px -10px 20px 0px rgba(0, 0, 0, 0.1);"
42
42
  },
43
43
  "xl": {
44
- "value": "0 -14px 28px 0 rgba(0, 0, 0, 0.1)",
45
- "description": "Extra large elevation shadow cast upward. Maximum depth for floating elements.",
46
- "css": "box-shadow: 0 -14px 28px 0 rgba(0, 0, 0, 0.1);"
44
+ "value": "0px -14px 28px 0px rgba(0, 0, 0, 0.1)",
45
+ "description": "Extra Large elevation shadow (top).",
46
+ "css": "box-shadow: 0px -14px 28px 0px rgba(0, 0, 0, 0.1);"
47
47
  }
48
48
  },
49
49
  "left": {
50
50
  "sm": {
51
- "value": "-4px 0 8px 0 rgba(0, 0, 0, 0.1)",
52
- "description": "Small elevation shadow cast leftward. Subtle depth for side panels.",
53
- "css": "box-shadow: -4px 0 8px 0 rgba(0, 0, 0, 0.1);"
51
+ "value": "-4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
52
+ "description": "Small elevation shadow (left).",
53
+ "css": "box-shadow: -4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
54
54
  },
55
55
  "md": {
56
- "value": "-6px 0 12px 0 rgba(0, 0, 0, 0.1)",
57
- "description": "Medium elevation shadow cast leftward. Moderate depth for drawers.",
58
- "css": "box-shadow: -6px 0 12px 0 rgba(0, 0, 0, 0.1);"
56
+ "value": "-6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
57
+ "description": "Medium elevation shadow (left).",
58
+ "css": "box-shadow: -6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
59
59
  },
60
60
  "lg": {
61
- "value": "-10px 0 20px 0 rgba(0, 0, 0, 0.1)",
62
- "description": "Large elevation shadow cast leftward. Strong depth for sliding panels.",
63
- "css": "box-shadow: -10px 0 20px 0 rgba(0, 0, 0, 0.1);"
61
+ "value": "-10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
62
+ "description": "Large elevation shadow (left).",
63
+ "css": "box-shadow: -10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
64
64
  },
65
65
  "xl": {
66
- "value": "-14px 0 28px 0 rgba(0, 0, 0, 0.1)",
67
- "description": "Extra large elevation shadow cast leftward. Maximum depth for side navigation.",
68
- "css": "box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.1);"
66
+ "value": "-14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
67
+ "description": "Extra Large elevation shadow (left).",
68
+ "css": "box-shadow: -14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
69
69
  }
70
70
  },
71
71
  "right": {
72
72
  "sm": {
73
- "value": "4px 0 8px 0 rgba(0, 0, 0, 0.1)",
74
- "description": "Small elevation shadow cast rightward. Subtle depth for side panels.",
75
- "css": "box-shadow: 4px 0 8px 0 rgba(0, 0, 0, 0.1);"
73
+ "value": "4px 0px 8px 0px rgba(0, 0, 0, 0.1)",
74
+ "description": "Small elevation shadow (right).",
75
+ "css": "box-shadow: 4px 0px 8px 0px rgba(0, 0, 0, 0.1);"
76
76
  },
77
77
  "md": {
78
- "value": "6px 0 12px 0 rgba(0, 0, 0, 0.1)",
79
- "description": "Medium elevation shadow cast rightward. Moderate depth for drawers.",
80
- "css": "box-shadow: 6px 0 12px 0 rgba(0, 0, 0, 0.1);"
78
+ "value": "6px 0px 12px 0px rgba(0, 0, 0, 0.1)",
79
+ "description": "Medium elevation shadow (right).",
80
+ "css": "box-shadow: 6px 0px 12px 0px rgba(0, 0, 0, 0.1);"
81
81
  },
82
82
  "lg": {
83
- "value": "10px 0 20px 0 rgba(0, 0, 0, 0.1)",
84
- "description": "Large elevation shadow cast rightward. Strong depth for sliding panels.",
85
- "css": "box-shadow: 10px 0 20px 0 rgba(0, 0, 0, 0.1);"
83
+ "value": "10px 0px 20px 0px rgba(0, 0, 0, 0.1)",
84
+ "description": "Large elevation shadow (right).",
85
+ "css": "box-shadow: 10px 0px 20px 0px rgba(0, 0, 0, 0.1);"
86
86
  },
87
87
  "xl": {
88
- "value": "14px 0 28px 0 rgba(0, 0, 0, 0.1)",
89
- "description": "Extra large elevation shadow cast rightward. Maximum depth for side navigation.",
90
- "css": "box-shadow: 14px 0 28px 0 rgba(0, 0, 0, 0.1);"
88
+ "value": "14px 0px 28px 0px rgba(0, 0, 0, 0.1)",
89
+ "description": "Extra Large elevation shadow (right).",
90
+ "css": "box-shadow: 14px 0px 28px 0px rgba(0, 0, 0, 0.1);"
91
91
  }
92
92
  }
93
93
  }
94
94
  }
95
-
package/iconSize.json CHANGED
@@ -5,4 +5,3 @@
5
5
  "md": "1.5rem",
6
6
  "lg": "2rem"
7
7
  }
8
-
package/overlay.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "bgOverlay": "rgba(0, 0, 0, 0.3)"
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esds-sangam/tokens",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,7 +16,13 @@
16
16
  "./spacing": "./spacing.json",
17
17
  "./typography": "./typography.json",
18
18
  "./radius": "./radius.json",
19
- "./shadows": "./shadows.json"
19
+ "./shadows": "./shadows.json",
20
+ "./elevation": "./elevation.json",
21
+ "./strokeWidth": "./strokeWidth.json",
22
+ "./iconSize": "./iconSize.json",
23
+ "./overlay": "./overlay.json",
24
+ "./breakpoints": "./breakpoints.json",
25
+ "./motion": "./motion.json"
20
26
  },
21
27
  "files": [
22
28
  "dist",
package/radius.json CHANGED
@@ -7,5 +7,5 @@
7
7
  "xl": "1.5rem",
8
8
  "2xl": "2rem",
9
9
  "3xl": "3.5rem",
10
- "full": "9999px"
10
+ "full": "62.4375rem"
11
11
  }