@nswds/tokens 4.1.0 → 4.2.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.
@@ -0,0 +1,132 @@
1
+ {
2
+ "z-index": {
3
+ "base": {
4
+ "$type": "number",
5
+ "$value": 0,
6
+ "$description": "Base stacking level (0) — default in-flow content.",
7
+ "$extensions": {
8
+ "com.figma": {
9
+ "hiddenFromPublishing": false,
10
+ "scopes": [
11
+ "ALL_SCOPES"
12
+ ],
13
+ "codeSyntax": {
14
+ "WEB": "var(--z-index-base)"
15
+ }
16
+ }
17
+ }
18
+ },
19
+ "dropdown": {
20
+ "$type": "number",
21
+ "$value": 1000,
22
+ "$description": "Dropdown menus and select popups.",
23
+ "$extensions": {
24
+ "com.figma": {
25
+ "hiddenFromPublishing": false,
26
+ "scopes": [
27
+ "ALL_SCOPES"
28
+ ],
29
+ "codeSyntax": {
30
+ "WEB": "var(--z-index-dropdown)"
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "sticky": {
36
+ "$type": "number",
37
+ "$value": 1100,
38
+ "$description": "Sticky elements that pin on scroll (headers, toolbars).",
39
+ "$extensions": {
40
+ "com.figma": {
41
+ "hiddenFromPublishing": false,
42
+ "scopes": [
43
+ "ALL_SCOPES"
44
+ ],
45
+ "codeSyntax": {
46
+ "WEB": "var(--z-index-sticky)"
47
+ }
48
+ }
49
+ }
50
+ },
51
+ "overlay": {
52
+ "$type": "number",
53
+ "$value": 1200,
54
+ "$description": "Full-screen overlay scrims sitting behind modal content.",
55
+ "$extensions": {
56
+ "com.figma": {
57
+ "hiddenFromPublishing": false,
58
+ "scopes": [
59
+ "ALL_SCOPES"
60
+ ],
61
+ "codeSyntax": {
62
+ "WEB": "var(--z-index-overlay)"
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "modal": {
68
+ "$type": "number",
69
+ "$value": 1300,
70
+ "$description": "Modal dialogs and side sheets.",
71
+ "$extensions": {
72
+ "com.figma": {
73
+ "hiddenFromPublishing": false,
74
+ "scopes": [
75
+ "ALL_SCOPES"
76
+ ],
77
+ "codeSyntax": {
78
+ "WEB": "var(--z-index-modal)"
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "popover": {
84
+ "$type": "number",
85
+ "$value": 1400,
86
+ "$description": "Popovers anchored to a trigger, above modals.",
87
+ "$extensions": {
88
+ "com.figma": {
89
+ "hiddenFromPublishing": false,
90
+ "scopes": [
91
+ "ALL_SCOPES"
92
+ ],
93
+ "codeSyntax": {
94
+ "WEB": "var(--z-index-popover)"
95
+ }
96
+ }
97
+ }
98
+ },
99
+ "toast": {
100
+ "$type": "number",
101
+ "$value": 1500,
102
+ "$description": "Toast and snackbar notifications.",
103
+ "$extensions": {
104
+ "com.figma": {
105
+ "hiddenFromPublishing": false,
106
+ "scopes": [
107
+ "ALL_SCOPES"
108
+ ],
109
+ "codeSyntax": {
110
+ "WEB": "var(--z-index-toast)"
111
+ }
112
+ }
113
+ }
114
+ },
115
+ "tooltip": {
116
+ "$type": "number",
117
+ "$value": 1600,
118
+ "$description": "Tooltips — the top-most interactive layer.",
119
+ "$extensions": {
120
+ "com.figma": {
121
+ "hiddenFromPublishing": false,
122
+ "scopes": [
123
+ "ALL_SCOPES"
124
+ ],
125
+ "codeSyntax": {
126
+ "WEB": "var(--z-index-tooltip)"
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nswds/tokens",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Design tokens for NSW Government digital products, providing colour tokens, theme outputs, and brand assets for use across CSS, SCSS, Less, JavaScript, TypeScript, JSON, Tailwind, Figma, and DTCG-compatible workflows.",
5
5
  "license": "MPL-2.0",
6
6
  "keywords": [