@amsterdam/design-system-tokens 3.2.0 → 3.4.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/CHANGELOG.md +18 -0
- package/dist/compact.css +2 -0
- package/dist/compact.d.ts +4 -0
- package/dist/compact.json +5 -1
- package/dist/compact.mjs +2 -0
- package/dist/compact.scss +2 -0
- package/dist/compact.theme.css +2 -0
- package/dist/index.css +103 -88
- package/dist/index.d.ts +194 -169
- package/dist/index.json +249 -224
- package/dist/index.mjs +179 -169
- package/dist/index.scss +103 -88
- package/dist/index.theme.css +103 -88
- package/package.json +2 -2
- package/src/brand/ams/border.compact.tokens.json +20 -0
- package/src/brand/ams/border.tokens.json +20 -0
- package/src/brand/ams/color.tokens.json +5 -0
- package/src/brand/ams/typography.compact.tokens.json +18 -0
- package/src/brand/ams/typography.tokens.json +35 -3
- package/src/components/ams/accordion.tokens.json +38 -0
- package/src/components/ams/checkbox.tokens.json +40 -0
- package/src/components/ams/date-input.tokens.json +28 -0
- package/src/components/ams/description-list.tokens.json +29 -2
- package/src/components/ams/field-set.tokens.json +8 -0
- package/src/components/ams/field.tokens.json +8 -0
- package/src/components/ams/file-input.tokens.json +1 -0
- package/src/components/ams/icon.tokens.json +16 -0
- package/src/components/ams/menu.tokens.json +28 -0
- package/src/components/ams/page-header.tokens.json +1 -1
- package/src/components/ams/{page-heading.deprecated.tokens.json → page-heading.tokens.json} +7 -7
- package/src/components/ams/progress-list.tokens.json +51 -0
- package/src/components/ams/select.tokens.json +2 -0
- package/src/components/ams/standalone-link.tokens.json +30 -0
- package/src/components/ams/switch.tokens.json +17 -1
- package/src/components/ams/table-of-contents.tokens.json +21 -0
- package/src/components/ams/tabs.tokens.json +3 -3
- package/src/components/ams/text-input.tokens.json +2 -0
- package/src/components/ams/time-input.tokens.json +30 -0
- package/src/brand/ams/color.deprecated.tokens.json +0 -13
- package/src/brand/ams/typography.deprecated.compact.tokens.json +0 -26
- package/src/brand/ams/typography.deprecated.tokens.json +0 -40
- package/src/components/ams/accordion.deprecated.tokens.json +0 -39
- package/src/components/ams/checkbox.deprecated.tokens.json +0 -59
- package/src/components/ams/date-input.deprecated.tokens.json +0 -38
- package/src/components/ams/field-set.deprecated.tokens.json +0 -16
- package/src/components/ams/field.deprecated.tokens.json +0 -14
- package/src/components/ams/icon.deprecated.tokens.json +0 -22
- package/src/components/ams/menu.deprecated.tokens.json +0 -36
- package/src/components/ams/standalone-link.deprecated.tokens.json +0 -38
- package/src/components/ams/table-of-contents.deprecated.tokens.json +0 -24
- package/src/components/ams/time-input.deprecated.tokens.json +0 -38
|
@@ -9,6 +9,34 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"button": {
|
|
12
|
+
"font-family": {
|
|
13
|
+
"$deprecated": "The Accordion section button now uses a Heading component. Use the Heading component tokens instead. Will be removed in release 4.0.0.",
|
|
14
|
+
"$value": "{ams.typography.font-family}",
|
|
15
|
+
"$type": "fontFamily"
|
|
16
|
+
},
|
|
17
|
+
"font-size": {
|
|
18
|
+
"$deprecated": "The Accordion section button now uses a Heading component. Use the Heading component tokens instead. Will be removed in release 4.0.0.",
|
|
19
|
+
"$value": "{ams.typography.heading.3.font-size}",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"nl.amsterdam.type": "fontSize"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"font-weight": {
|
|
25
|
+
"$deprecated": "The Accordion section button now uses a Heading component. Use the Heading component tokens instead. Will be removed in release 4.0.0.",
|
|
26
|
+
"$value": "{ams.typography.heading.font-weight}",
|
|
27
|
+
"$type": "fontWeight"
|
|
28
|
+
},
|
|
29
|
+
"line-height": {
|
|
30
|
+
"$deprecated": "The Accordion section button now uses a Heading component. Use the Heading component tokens instead. Will be removed in release 4.0.0.",
|
|
31
|
+
"$value": "{ams.typography.heading.3.line-height}",
|
|
32
|
+
"$extensions": {
|
|
33
|
+
"nl.amsterdam.type": "lineHeight"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"text-wrap": {
|
|
37
|
+
"$deprecated": "The Accordion section button now uses a Heading component. Use the Heading component tokens instead. Will be removed in release 4.0.0.",
|
|
38
|
+
"$value": "{ams.typography.heading.text-wrap}"
|
|
39
|
+
},
|
|
12
40
|
"color": {
|
|
13
41
|
"$value": "{ams.color.interactive.default}",
|
|
14
42
|
"$type": "color"
|
|
@@ -50,6 +78,16 @@
|
|
|
50
78
|
"$type": "color"
|
|
51
79
|
}
|
|
52
80
|
}
|
|
81
|
+
},
|
|
82
|
+
"panel": {
|
|
83
|
+
"padding-block": {
|
|
84
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
85
|
+
"$value": "0"
|
|
86
|
+
},
|
|
87
|
+
"padding-inline": {
|
|
88
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
89
|
+
"$value": "0"
|
|
90
|
+
}
|
|
53
91
|
}
|
|
54
92
|
}
|
|
55
93
|
}
|
|
@@ -69,6 +69,11 @@
|
|
|
69
69
|
},
|
|
70
70
|
"text-decoration-line": {
|
|
71
71
|
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
72
|
+
},
|
|
73
|
+
"text-decoration-thickness": {
|
|
74
|
+
"$deprecated": "Use `ams.checkbox.text-decoration-thickness` instead. Will be removed in release 4.0.0.",
|
|
75
|
+
"$value": "{ams.border.width.m}",
|
|
76
|
+
"$type": "dimension"
|
|
72
77
|
}
|
|
73
78
|
},
|
|
74
79
|
"checked-indicator": {
|
|
@@ -127,12 +132,26 @@
|
|
|
127
132
|
"fill": {
|
|
128
133
|
"$value": "{ams.color.interactive.disabled}",
|
|
129
134
|
"$type": "color"
|
|
135
|
+
},
|
|
136
|
+
"hover": {
|
|
137
|
+
"fill": {
|
|
138
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
139
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
140
|
+
"$type": "color"
|
|
141
|
+
}
|
|
130
142
|
}
|
|
131
143
|
},
|
|
132
144
|
"hover": {
|
|
133
145
|
"fill": {
|
|
134
146
|
"$value": "{ams.color.interactive.hover}",
|
|
135
147
|
"$type": "color"
|
|
148
|
+
},
|
|
149
|
+
"disabled-invalid": {
|
|
150
|
+
"fill": {
|
|
151
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
152
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
153
|
+
"$type": "color"
|
|
154
|
+
}
|
|
136
155
|
}
|
|
137
156
|
},
|
|
138
157
|
"invalid": {
|
|
@@ -158,6 +177,13 @@
|
|
|
158
177
|
"stroke": {
|
|
159
178
|
"$value": "{ams.color.interactive.hover}",
|
|
160
179
|
"$type": "color"
|
|
180
|
+
},
|
|
181
|
+
"disabled-invalid": {
|
|
182
|
+
"stroke": {
|
|
183
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
184
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
185
|
+
"$type": "color"
|
|
186
|
+
}
|
|
161
187
|
}
|
|
162
188
|
},
|
|
163
189
|
"indeterminate": {
|
|
@@ -169,12 +195,26 @@
|
|
|
169
195
|
"fill": {
|
|
170
196
|
"$value": "{ams.color.interactive.disabled}",
|
|
171
197
|
"$type": "color"
|
|
198
|
+
},
|
|
199
|
+
"hover": {
|
|
200
|
+
"fill": {
|
|
201
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
202
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
203
|
+
"$type": "color"
|
|
204
|
+
}
|
|
172
205
|
}
|
|
173
206
|
},
|
|
174
207
|
"hover": {
|
|
175
208
|
"fill": {
|
|
176
209
|
"$value": "{ams.color.interactive.hover}",
|
|
177
210
|
"$type": "color"
|
|
211
|
+
},
|
|
212
|
+
"disabled-invalid": {
|
|
213
|
+
"fill": {
|
|
214
|
+
"$deprecated": "Will be removed in release 4.0.0.",
|
|
215
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
216
|
+
"$type": "color"
|
|
217
|
+
}
|
|
178
218
|
}
|
|
179
219
|
},
|
|
180
220
|
"invalid": {
|
|
@@ -73,6 +73,18 @@
|
|
|
73
73
|
},
|
|
74
74
|
"cursor": {
|
|
75
75
|
"$value": "{ams.cursor.disabled}"
|
|
76
|
+
},
|
|
77
|
+
"calendar-picker-indicator": {
|
|
78
|
+
"background-image": {
|
|
79
|
+
"$deprecated": "Will be removed in release 6.0.0.",
|
|
80
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"calender-picker-indicator": {
|
|
84
|
+
"background-image": {
|
|
85
|
+
"$deprecated": "Use `ams.date-input.disabled.calendar-picker-indicator.background-image` instead. Will be removed in release 4.0.0.",
|
|
86
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
87
|
+
}
|
|
76
88
|
}
|
|
77
89
|
},
|
|
78
90
|
"hover": {
|
|
@@ -84,6 +96,12 @@
|
|
|
84
96
|
"background-image": {
|
|
85
97
|
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
86
98
|
}
|
|
99
|
+
},
|
|
100
|
+
"calender-picker-indicator": {
|
|
101
|
+
"background-image": {
|
|
102
|
+
"$deprecated": "Use `ams.date-input.hover.calendar-picker-indicator.background-image` instead. Will be removed in release 4.0.0.",
|
|
103
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
104
|
+
}
|
|
87
105
|
}
|
|
88
106
|
},
|
|
89
107
|
"invalid": {
|
|
@@ -109,6 +127,16 @@
|
|
|
109
127
|
"cursor": {
|
|
110
128
|
"$value": "{ams.cursor.interactive}"
|
|
111
129
|
}
|
|
130
|
+
},
|
|
131
|
+
"calender-picker-indicator": {
|
|
132
|
+
"background-image": {
|
|
133
|
+
"$deprecated": "Use `ams.date-input.calendar-picker-indicator.background-image` instead. Will be removed in release 4.0.0.",
|
|
134
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
135
|
+
},
|
|
136
|
+
"cursor": {
|
|
137
|
+
"$deprecated": "Use `ams.date-input.calendar-picker-indicator.cursor` instead. Will be removed in release 4.0.0.",
|
|
138
|
+
"$value": "{ams.cursor.interactive}"
|
|
139
|
+
}
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
142
|
}
|
|
@@ -19,17 +19,19 @@
|
|
|
19
19
|
"font-size": {
|
|
20
20
|
"$value": "{ams.typography.body-text.font-size}",
|
|
21
21
|
"$extensions": {
|
|
22
|
+
"nl.amsterdam.hint": "Applies to descriptions only; terms set their own font size.",
|
|
22
23
|
"nl.amsterdam.type": "fontSize"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"line-height": {
|
|
26
27
|
"$value": "{ams.typography.body-text.line-height}",
|
|
27
28
|
"$extensions": {
|
|
29
|
+
"nl.amsterdam.hint": "Applies to descriptions only; terms set their own line height.",
|
|
28
30
|
"nl.amsterdam.type": "lineHeight"
|
|
29
31
|
}
|
|
30
32
|
},
|
|
31
33
|
"row-gap": {
|
|
32
|
-
"$deprecated": "
|
|
34
|
+
"$deprecated": "Will be removed in release 6.0.0.",
|
|
33
35
|
"$value": "{ams.space.s}",
|
|
34
36
|
"$type": "dimension",
|
|
35
37
|
"$extensions": {
|
|
@@ -43,16 +45,41 @@
|
|
|
43
45
|
}
|
|
44
46
|
},
|
|
45
47
|
"term": {
|
|
48
|
+
"font-size": {
|
|
49
|
+
"$value": "{ams.typography.heading.4.font-size}",
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"nl.amsterdam.type": "fontSize"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
46
54
|
"font-weight": {
|
|
47
|
-
"$value": "{ams.typography.
|
|
55
|
+
"$value": "{ams.typography.heading.font-weight}",
|
|
48
56
|
"$type": "fontWeight"
|
|
49
57
|
},
|
|
58
|
+
"line-height": {
|
|
59
|
+
"$value": "{ams.typography.heading.4.line-height}",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"nl.amsterdam.type": "lineHeight"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
50
64
|
"margin-block-end": {
|
|
51
65
|
"$value": "{ams.space.xs}",
|
|
52
66
|
"$type": "dimension",
|
|
53
67
|
"$extensions": {
|
|
54
68
|
"nl.amsterdam.subtype": "space"
|
|
55
69
|
}
|
|
70
|
+
},
|
|
71
|
+
"text-wrap": {
|
|
72
|
+
"$value": "balance"
|
|
73
|
+
},
|
|
74
|
+
"vi-medium": {
|
|
75
|
+
"margin-block-end": {
|
|
76
|
+
"$value": "{ams.description-list.description.margin-block-end}",
|
|
77
|
+
"$type": "dimension",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"nl.amsterdam.hint": "Should equal the bottom margin of descriptions.",
|
|
80
|
+
"nl.amsterdam.subtype": "space"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
56
83
|
}
|
|
57
84
|
},
|
|
58
85
|
"description": {
|
|
@@ -50,6 +50,14 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"legend": {
|
|
53
|
+
"margin-block-end": {
|
|
54
|
+
"$deprecated": "Will be removed in release 5.0.0.",
|
|
55
|
+
"$value": "{ams.space.s}",
|
|
56
|
+
"$type": "dimension",
|
|
57
|
+
"$extensions": {
|
|
58
|
+
"nl.amsterdam.subtype": "space"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
53
61
|
"color": {
|
|
54
62
|
"$value": "{ams.color.text.default}",
|
|
55
63
|
"$type": "color"
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"field": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$deprecated": "Will be removed in release 5.0.0.",
|
|
6
|
+
"$value": "{ams.space.s}",
|
|
7
|
+
"$type": "dimension",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"nl.amsterdam.subtype": "space"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
4
12
|
"child": {
|
|
5
13
|
"margin-block-end": {
|
|
6
14
|
"$value": "{ams.space.xs}",
|
|
@@ -41,6 +41,22 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
+
"heading-0": {
|
|
45
|
+
"font-size": {
|
|
46
|
+
"$deprecated": "Use `ams.typography.heading.1.font-size` instead. Will be removed in release 4.0.0.",
|
|
47
|
+
"$value": "{ams.typography.heading.0.font-size}",
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"nl.amsterdam.type": "fontSize"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"line-height": {
|
|
53
|
+
"$deprecated": "Use `ams.typography.heading.1.line-height` instead. Will be removed in release 4.0.0.",
|
|
54
|
+
"$value": "{ams.typography.heading.0.line-height}",
|
|
55
|
+
"$extensions": {
|
|
56
|
+
"nl.amsterdam.type": "lineHeight"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
44
60
|
"heading-1": {
|
|
45
61
|
"font-size": {
|
|
46
62
|
"$value": "{ams.typography.heading.1.font-size}",
|
|
@@ -60,6 +60,34 @@
|
|
|
60
60
|
"$value": "{ams.links.inverse.color}",
|
|
61
61
|
"$type": "color"
|
|
62
62
|
},
|
|
63
|
+
"contrast": {
|
|
64
|
+
"color": {
|
|
65
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed. Will be removed in release 4.0.0.",
|
|
66
|
+
"$value": "{ams.links.contrast.color}",
|
|
67
|
+
"$type": "color"
|
|
68
|
+
},
|
|
69
|
+
"hover": {
|
|
70
|
+
"color": {
|
|
71
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed. Will be removed in release 4.0.0.",
|
|
72
|
+
"$value": "{ams.links.contrast.hover.color}",
|
|
73
|
+
"$type": "color"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"inverse": {
|
|
78
|
+
"color": {
|
|
79
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed. Will be removed in release 4.0.0.",
|
|
80
|
+
"$value": "{ams.links.inverse.color}",
|
|
81
|
+
"$type": "color"
|
|
82
|
+
},
|
|
83
|
+
"hover": {
|
|
84
|
+
"color": {
|
|
85
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed. Will be removed in release 4.0.0.",
|
|
86
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
87
|
+
"$type": "color"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
63
91
|
"gap": {
|
|
64
92
|
"$value": "{ams.space.s}",
|
|
65
93
|
"$type": "dimension",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
},
|
|
145
145
|
"item": {
|
|
146
146
|
"color": {
|
|
147
|
-
"$deprecated": "Use `ams.page-header.menu.link.color` instead.",
|
|
147
|
+
"$deprecated": "Use `ams.page-header.menu.link.color` instead. Will be removed in release 5.0.0.",
|
|
148
148
|
"$value": "{ams.links.color}",
|
|
149
149
|
"$type": "color"
|
|
150
150
|
},
|
|
@@ -2,41 +2,41 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"page-heading": {
|
|
4
4
|
"color": {
|
|
5
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
5
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
6
6
|
"$value": "{ams.color.text.default}",
|
|
7
7
|
"$type": "color"
|
|
8
8
|
},
|
|
9
9
|
"font-family": {
|
|
10
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
10
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
11
11
|
"$value": "{ams.typography.font-family}",
|
|
12
12
|
"$type": "fontFamily"
|
|
13
13
|
},
|
|
14
14
|
"font-size": {
|
|
15
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
15
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
16
16
|
"$value": "{ams.typography.heading.0.font-size}",
|
|
17
17
|
"$extensions": {
|
|
18
18
|
"nl.amsterdam.type": "fontSize"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"font-weight": {
|
|
22
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
22
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
23
23
|
"$value": "{ams.typography.heading.font-weight}",
|
|
24
24
|
"$type": "fontWeight"
|
|
25
25
|
},
|
|
26
26
|
"line-height": {
|
|
27
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
27
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
28
28
|
"$value": "{ams.typography.heading.0.line-height}",
|
|
29
29
|
"$extensions": {
|
|
30
30
|
"nl.amsterdam.type": "lineHeight"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"text-wrap": {
|
|
34
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
34
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
35
35
|
"$value": "{ams.typography.heading.text-wrap}"
|
|
36
36
|
},
|
|
37
37
|
"inverse": {
|
|
38
38
|
"color": {
|
|
39
|
-
"$deprecated": "Use the Heading component with level 1 instead.",
|
|
39
|
+
"$deprecated": "Use the Heading component with level 1 instead. Will be removed in release 4.0.0.",
|
|
40
40
|
"$value": "{ams.color.text.inverse}",
|
|
41
41
|
"$type": "color"
|
|
42
42
|
}
|
|
@@ -43,6 +43,57 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
+
"button": {
|
|
47
|
+
"color": {
|
|
48
|
+
"$value": "{ams.color.interactive.default}",
|
|
49
|
+
"$type": "color"
|
|
50
|
+
},
|
|
51
|
+
"cursor": {
|
|
52
|
+
"$value": "{ams.cursor.interactive}"
|
|
53
|
+
},
|
|
54
|
+
"gap": {
|
|
55
|
+
"$value": "{ams.space.s}",
|
|
56
|
+
"$type": "dimension",
|
|
57
|
+
"$extensions": {
|
|
58
|
+
"nl.amsterdam.subtype": "space"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"outline-offset": {
|
|
62
|
+
"$value": "{ams.focus.outline-offset}",
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$extensions": {
|
|
65
|
+
"nl.amsterdam.subtype": "space"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"padding-block": {
|
|
69
|
+
"$value": "0",
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$extensions": {
|
|
72
|
+
"nl.amsterdam.subtype": "space"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"padding-inline": {
|
|
76
|
+
"$value": "0",
|
|
77
|
+
"$type": "dimension",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"nl.amsterdam.subtype": "space"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"hover": {
|
|
83
|
+
"color": {
|
|
84
|
+
"$value": "{ams.color.interactive.hover}",
|
|
85
|
+
"$type": "color"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"icon": {
|
|
90
|
+
"transition-duration": {
|
|
91
|
+
"$value": "0.3s"
|
|
92
|
+
},
|
|
93
|
+
"transition-timing-function": {
|
|
94
|
+
"$value": "ease"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
46
97
|
"step": {
|
|
47
98
|
"gap": {
|
|
48
99
|
"$value": "{ams.space.m}",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"hover": {
|
|
88
88
|
"box-shadow": {
|
|
89
|
+
"$type": "shadow",
|
|
89
90
|
"$value": "{ams.inputs.hover.box-shadow}"
|
|
90
91
|
},
|
|
91
92
|
"background-image": {
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
"$type": "color"
|
|
104
105
|
},
|
|
105
106
|
"box-shadow": {
|
|
107
|
+
"$type": "shadow",
|
|
106
108
|
"$value": "{ams.inputs.invalid.hover.box-shadow}"
|
|
107
109
|
}
|
|
108
110
|
}
|
|
@@ -60,6 +60,36 @@
|
|
|
60
60
|
},
|
|
61
61
|
"text-decoration-line": {
|
|
62
62
|
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
63
|
+
},
|
|
64
|
+
"text-decoration-thickness": {
|
|
65
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-thickness` instead. Will be removed in release 4.0.0.",
|
|
66
|
+
"$value": "{ams.links.hover.text-decoration-thickness}",
|
|
67
|
+
"$type": "dimension"
|
|
68
|
+
},
|
|
69
|
+
"text-underline-offset": {
|
|
70
|
+
"$deprecated": "Use `ams.standalone-link.text-underline-offset` instead. Will be removed in release 4.0.0.",
|
|
71
|
+
"$value": "{ams.links.hover.text-underline-offset}",
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"nl.amsterdam.subtype": "space"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"with-icon": {
|
|
79
|
+
"text-decoration-line": {
|
|
80
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-line` instead. Will be removed in release 4.0.0.",
|
|
81
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
82
|
+
},
|
|
83
|
+
"text-decoration-thickness": {
|
|
84
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-thickness` instead. Will be removed in release 4.0.0.",
|
|
85
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
86
|
+
"$type": "dimension"
|
|
87
|
+
},
|
|
88
|
+
"hover": {
|
|
89
|
+
"text-decoration-line": {
|
|
90
|
+
"$deprecated": "Use `ams.standalone-link.hover.text-decoration-line` instead. Will be removed in release 4.0.0.",
|
|
91
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
92
|
+
}
|
|
63
93
|
}
|
|
64
94
|
},
|
|
65
95
|
"contrast": {
|
|
@@ -43,7 +43,23 @@
|
|
|
43
43
|
},
|
|
44
44
|
"hover": {
|
|
45
45
|
"box-shadow": {
|
|
46
|
-
"$
|
|
46
|
+
"$type": "shadow",
|
|
47
|
+
"$value": {
|
|
48
|
+
"offsetX": {
|
|
49
|
+
"value": 0,
|
|
50
|
+
"unit": "rem"
|
|
51
|
+
},
|
|
52
|
+
"offsetY": {
|
|
53
|
+
"value": 0,
|
|
54
|
+
"unit": "rem"
|
|
55
|
+
},
|
|
56
|
+
"blur": {
|
|
57
|
+
"value": 0,
|
|
58
|
+
"unit": "rem"
|
|
59
|
+
},
|
|
60
|
+
"spread": "{ams.border.width.m}",
|
|
61
|
+
"color": "{ams.switch.thumb.hover.color}"
|
|
62
|
+
}
|
|
47
63
|
},
|
|
48
64
|
"color": {
|
|
49
65
|
"$value": "{ams.color.interactive.hover}",
|
|
@@ -28,6 +28,27 @@
|
|
|
28
28
|
"nl.amsterdam.type": "lineHeight"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
"heading": {
|
|
32
|
+
"font-weight": {
|
|
33
|
+
"$deprecated": "This token is no longer used. Will be removed in release 4.0.0.",
|
|
34
|
+
"$value": "{ams.typography.heading.font-weight}",
|
|
35
|
+
"$type": "fontWeight"
|
|
36
|
+
},
|
|
37
|
+
"font-size": {
|
|
38
|
+
"$deprecated": "This token is no longer used. Will be removed in release 4.0.0.",
|
|
39
|
+
"$value": "{ams.typography.heading.4.font-size}",
|
|
40
|
+
"$extensions": {
|
|
41
|
+
"nl.amsterdam.type": "fontSize"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"line-height": {
|
|
45
|
+
"$deprecated": "This token is no longer used. Will be removed in release 4.0.0.",
|
|
46
|
+
"$value": "{ams.typography.heading.4.line-height}",
|
|
47
|
+
"$extensions": {
|
|
48
|
+
"nl.amsterdam.type": "lineHeight"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
31
52
|
"link": {
|
|
32
53
|
"color": {
|
|
33
54
|
"$value": "{ams.links.color}",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"value": 0,
|
|
18
18
|
"unit": "rem"
|
|
19
19
|
},
|
|
20
|
-
"offsetY": "
|
|
20
|
+
"offsetY": "{ams.border.width.negative.m}",
|
|
21
21
|
"blur": {
|
|
22
22
|
"value": 0,
|
|
23
23
|
"unit": "rem"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"value": 0,
|
|
89
89
|
"unit": "rem"
|
|
90
90
|
},
|
|
91
|
-
"offsetY": "
|
|
91
|
+
"offsetY": "{ams.border.width.negative.m}",
|
|
92
92
|
"blur": {
|
|
93
93
|
"value": 0,
|
|
94
94
|
"unit": "rem"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"value": 0,
|
|
115
115
|
"unit": "rem"
|
|
116
116
|
},
|
|
117
|
-
"offsetY": "
|
|
117
|
+
"offsetY": "{ams.border.width.negative.xl}",
|
|
118
118
|
"blur": {
|
|
119
119
|
"value": 0,
|
|
120
120
|
"unit": "rem"
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"hover": {
|
|
79
79
|
"box-shadow": {
|
|
80
|
+
"$type": "shadow",
|
|
80
81
|
"$value": "{ams.inputs.hover.box-shadow}"
|
|
81
82
|
}
|
|
82
83
|
},
|
|
@@ -91,6 +92,7 @@
|
|
|
91
92
|
"$type": "color"
|
|
92
93
|
},
|
|
93
94
|
"box-shadow": {
|
|
95
|
+
"$type": "shadow",
|
|
94
96
|
"$value": "{ams.inputs.invalid.hover.box-shadow}"
|
|
95
97
|
}
|
|
96
98
|
}
|