@nswds/tokens 4.1.0 → 4.2.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.
@@ -0,0 +1,118 @@
1
+ {
2
+ "duration": {
3
+ "none": {
4
+ "$type": "duration",
5
+ "$value": {
6
+ "value": 0,
7
+ "unit": "ms"
8
+ },
9
+ "$description": "No motion. Used as the reduced-motion target and the default transition delay.",
10
+ "$extensions": {
11
+ "com.figma": {
12
+ "hiddenFromPublishing": false,
13
+ "scopes": [
14
+ "ALL_SCOPES"
15
+ ],
16
+ "codeSyntax": {
17
+ "WEB": "var(--duration-none)"
18
+ }
19
+ }
20
+ }
21
+ },
22
+ "instant": {
23
+ "$type": "duration",
24
+ "$value": {
25
+ "value": 100,
26
+ "unit": "ms"
27
+ },
28
+ "$description": "Micro-feedback on small elements — hover, focus rings, toggles, small fades.",
29
+ "$extensions": {
30
+ "com.figma": {
31
+ "hiddenFromPublishing": false,
32
+ "scopes": [
33
+ "ALL_SCOPES"
34
+ ],
35
+ "codeSyntax": {
36
+ "WEB": "var(--duration-instant)"
37
+ }
38
+ }
39
+ }
40
+ },
41
+ "fast": {
42
+ "$type": "duration",
43
+ "$value": {
44
+ "value": 150,
45
+ "unit": "ms"
46
+ },
47
+ "$description": "Quick transitions over short distances — dropdowns, popovers, exits.",
48
+ "$extensions": {
49
+ "com.figma": {
50
+ "hiddenFromPublishing": false,
51
+ "scopes": [
52
+ "ALL_SCOPES"
53
+ ],
54
+ "codeSyntax": {
55
+ "WEB": "var(--duration-fast)"
56
+ }
57
+ }
58
+ }
59
+ },
60
+ "base": {
61
+ "$type": "duration",
62
+ "$value": {
63
+ "value": 250,
64
+ "unit": "ms"
65
+ },
66
+ "$description": "Default duration for most UI transitions.",
67
+ "$extensions": {
68
+ "com.figma": {
69
+ "hiddenFromPublishing": false,
70
+ "scopes": [
71
+ "ALL_SCOPES"
72
+ ],
73
+ "codeSyntax": {
74
+ "WEB": "var(--duration-base)"
75
+ }
76
+ }
77
+ }
78
+ },
79
+ "slow": {
80
+ "$type": "duration",
81
+ "$value": {
82
+ "value": 400,
83
+ "unit": "ms"
84
+ },
85
+ "$description": "Larger surfaces entering or leaving — modals, drawers, sheets.",
86
+ "$extensions": {
87
+ "com.figma": {
88
+ "hiddenFromPublishing": false,
89
+ "scopes": [
90
+ "ALL_SCOPES"
91
+ ],
92
+ "codeSyntax": {
93
+ "WEB": "var(--duration-slow)"
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "slower": {
99
+ "$type": "duration",
100
+ "$value": {
101
+ "value": 600,
102
+ "unit": "ms"
103
+ },
104
+ "$description": "Full-screen transitions and background dimming behind overlays.",
105
+ "$extensions": {
106
+ "com.figma": {
107
+ "hiddenFromPublishing": false,
108
+ "scopes": [
109
+ "ALL_SCOPES"
110
+ ],
111
+ "codeSyntax": {
112
+ "WEB": "var(--duration-slower)"
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }