@amsterdam/design-system-tokens 3.4.0 → 4.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +50 -3
  2. package/README.md +131 -22
  3. package/build.js +11 -1
  4. package/dist/compact.css +7 -2
  5. package/dist/compact.d.ts +17 -6
  6. package/dist/compact.json +28 -17
  7. package/dist/compact.mjs +19 -13
  8. package/dist/compact.scss +7 -2
  9. package/dist/compact.theme.css +7 -2
  10. package/dist/index.css +108 -110
  11. package/dist/index.d.ts +112 -110
  12. package/dist/index.json +218 -216
  13. package/dist/index.mjs +218 -208
  14. package/dist/index.scss +108 -110
  15. package/dist/index.theme.css +108 -110
  16. package/package.json +1 -1
  17. package/src/brand/ams/aspect-ratio.tokens.json +24 -6
  18. package/src/brand/ams/border.tokens.json +5 -0
  19. package/src/brand/ams/color.compact.tokens.json +15 -0
  20. package/src/brand/ams/color.tokens.json +37 -54
  21. package/src/brand/ams/cursor.tokens.json +9 -2
  22. package/src/brand/ams/focus.tokens.json +1 -0
  23. package/src/brand/ams/space.compact.tokens.json +16 -4
  24. package/src/brand/ams/space.tokens.json +31 -6
  25. package/src/brand/ams/typography.compact.tokens.json +36 -45
  26. package/src/brand/ams/typography.tokens.json +59 -63
  27. package/src/common/ams/inputs.tokens.json +41 -19
  28. package/src/common/ams/links.tokens.json +35 -10
  29. package/src/components/ams/accordion.tokens.json +17 -48
  30. package/src/components/ams/action-group.tokens.json +2 -2
  31. package/src/components/ams/alert.tokens.json +38 -20
  32. package/src/components/ams/avatar.tokens.json +79 -29
  33. package/src/components/ams/badge.tokens.json +60 -23
  34. package/src/components/ams/blockquote.tokens.json +14 -5
  35. package/src/components/ams/body.compact.tokens.json +12 -0
  36. package/src/components/ams/body.tokens.json +12 -0
  37. package/src/components/ams/breadcrumb.tokens.json +36 -15
  38. package/src/components/ams/button.tokens.json +74 -33
  39. package/src/components/ams/call-to-action-link.tokens.json +29 -16
  40. package/src/components/ams/card.tokens.json +30 -17
  41. package/src/components/ams/character-count.tokens.json +14 -5
  42. package/src/components/ams/checkbox.tokens.json +101 -74
  43. package/src/components/ams/column.tokens.json +10 -10
  44. package/src/components/ams/date-input.tokens.json +55 -50
  45. package/src/components/ams/description-list.tokens.json +85 -24
  46. package/src/components/ams/dialog.tokens.json +104 -28
  47. package/src/components/ams/error-message.tokens.json +13 -6
  48. package/src/components/ams/field-set.tokens.json +35 -20
  49. package/src/components/ams/field.tokens.json +13 -10
  50. package/src/components/ams/figure.tokens.json +16 -7
  51. package/src/components/ams/file-input.tokens.json +69 -31
  52. package/src/components/ams/file-list.tokens.json +20 -11
  53. package/src/components/ams/grid.compact.tokens.json +24 -2
  54. package/src/components/ams/grid.tokens.json +77 -24
  55. package/src/components/ams/heading.tokens.json +38 -36
  56. package/src/components/ams/hint.tokens.json +6 -2
  57. package/src/components/ams/icon-button.tokens.json +46 -16
  58. package/src/components/ams/icon.tokens.json +19 -39
  59. package/src/components/ams/image-slider.tokens.json +28 -16
  60. package/src/components/ams/image.tokens.json +4 -1
  61. package/src/components/ams/invalid-form-alert.tokens.json +2 -2
  62. package/src/components/ams/label.tokens.json +18 -6
  63. package/src/components/ams/link-list.tokens.json +50 -22
  64. package/src/components/ams/link.tokens.json +38 -25
  65. package/src/components/ams/logo.tokens.json +6 -2
  66. package/src/components/ams/mark.tokens.json +3 -1
  67. package/src/components/ams/menu.tokens.json +80 -55
  68. package/src/components/ams/ordered-list.tokens.json +39 -25
  69. package/src/components/ams/page-footer.tokens.json +70 -26
  70. package/src/components/ams/page-header.compact.tokens.json +2 -1
  71. package/src/components/ams/page-header.tokens.json +128 -59
  72. package/src/components/ams/page.compact.tokens.json +12 -0
  73. package/src/components/ams/page.tokens.json +5 -3
  74. package/src/components/ams/pagination.tokens.json +37 -17
  75. package/src/components/ams/paragraph.tokens.json +22 -8
  76. package/src/components/ams/password-input.tokens.json +47 -21
  77. package/src/components/ams/progress-list.tokens.json +152 -61
  78. package/src/components/ams/radio.tokens.json +97 -36
  79. package/src/components/ams/row.tokens.json +10 -10
  80. package/src/components/ams/search-field.tokens.json +57 -24
  81. package/src/components/ams/select.tokens.json +63 -25
  82. package/src/components/ams/skip-link.tokens.json +23 -12
  83. package/src/components/ams/spotlight.tokens.json +21 -7
  84. package/src/components/ams/standalone-link.tokens.json +42 -46
  85. package/src/components/ams/switch.tokens.json +23 -9
  86. package/src/components/ams/tab-navigation.tokens.json +205 -0
  87. package/src/components/ams/table-of-contents.tokens.json +38 -41
  88. package/src/components/ams/table.tokens.json +29 -10
  89. package/src/components/ams/tabs.tokens.json +36 -17
  90. package/src/components/ams/text-area.tokens.json +49 -23
  91. package/src/components/ams/text-input.tokens.json +47 -21
  92. package/src/components/ams/time-input.tokens.json +55 -50
  93. package/src/components/ams/unordered-list.tokens.json +37 -25
  94. package/style-dictionary/transforms/dtcg-font-family.js +32 -0
  95. package/src/components/ams/page-heading.tokens.json +0 -46
@@ -2,15 +2,22 @@
2
2
  "ams": {
3
3
  "typography": {
4
4
  "font-family": {
5
- "$value": "'Amsterdam Sans', Arial, sans-serif",
6
- "$type": "fontFamily"
5
+ "$value": ["Amsterdam Sans", "Arial", "sans-serif"],
6
+ "$type": "fontFamily",
7
+ "$description": "The corporate typeface with system fallbacks."
7
8
  },
8
9
  "hyphenate-limit-chars": {
9
- "$value": "auto"
10
+ "$value": "auto",
11
+ "$description": "Lets the browser decide the minimum character count for hyphenation.",
12
+ "$extensions": {
13
+ "nl.amsterdam.type": "hyphenateLimitChars"
14
+ }
10
15
  },
11
16
  "body-text": {
17
+ "$description": "Text styles for running body copy. Font sizes scale fluidly between 320px and 1600px viewports.",
12
18
  "font-size": {
13
19
  "$value": "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)",
20
+ "$description": "Scales from 18px to 20px.",
14
21
  "$extensions": {
15
22
  "nl.amsterdam.type": "fontSize"
16
23
  }
@@ -20,10 +27,11 @@
20
27
  "$type": "fontWeight"
21
28
  },
22
29
  "line-height": {
23
- "$value": "1.6",
30
+ "$value": 1.6,
24
31
  "$extensions": {
25
- "nl.amsterdam.type": "lineHeight"
26
- }
32
+ "nl.amsterdam.subtype": "lineHeight"
33
+ },
34
+ "$type": "number"
27
35
  },
28
36
  "bold": {
29
37
  "font-weight": {
@@ -32,85 +40,85 @@
32
40
  }
33
41
  },
34
42
  "small": {
43
+ "$description": "For supporting text like captions and metadata.",
35
44
  "font-size": {
36
45
  "$value": {
37
46
  "value": 1,
38
47
  "unit": "rem"
39
48
  },
40
- "$type": "dimension"
49
+ "$type": "dimension",
50
+ "$description": "Fixed at 16px; does not scale."
41
51
  },
42
52
  "line-height": {
43
- "$value": "1.5",
53
+ "$value": 1.5,
44
54
  "$extensions": {
45
- "nl.amsterdam.type": "lineHeight"
46
- }
55
+ "nl.amsterdam.subtype": "lineHeight"
56
+ },
57
+ "$type": "number"
47
58
  }
48
59
  },
49
60
  "large": {
61
+ "$description": "For introductory or lead text.",
50
62
  "font-size": {
51
63
  "$value": "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)",
64
+ "$description": "Scales from 21px to 25px.",
52
65
  "$extensions": {
53
66
  "nl.amsterdam.type": "fontSize"
54
67
  }
55
68
  },
56
69
  "line-height": {
57
- "$value": "1.5",
70
+ "$value": 1.5,
58
71
  "$extensions": {
59
- "nl.amsterdam.type": "lineHeight"
60
- }
72
+ "nl.amsterdam.subtype": "lineHeight"
73
+ },
74
+ "$type": "number"
61
75
  }
62
76
  },
63
77
  "x-large": {
78
+ "$description": "For short prominent text, e.g. blockquotes.",
64
79
  "font-size": {
65
80
  "$value": "clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem)",
81
+ "$description": "Scales from 24px to 32px.",
66
82
  "$extensions": {
67
83
  "nl.amsterdam.type": "fontSize"
68
84
  }
69
85
  },
70
86
  "line-height": {
71
- "$value": "1.4",
87
+ "$value": 1.4,
72
88
  "$extensions": {
73
- "nl.amsterdam.type": "lineHeight"
74
- }
89
+ "nl.amsterdam.subtype": "lineHeight"
90
+ },
91
+ "$type": "number"
75
92
  }
76
93
  }
77
94
  },
78
95
  "heading": {
96
+ "$description": "Text styles for section headings. Larger headings use tighter line-heights for visual balance.",
79
97
  "font-weight": {
80
98
  "$value": "800",
81
99
  "$type": "fontWeight"
82
100
  },
83
101
  "text-wrap": {
84
- "$value": "balance"
85
- },
86
- "0": {
87
- "font-size": {
88
- "$deprecated": "Use `ams.typography.heading.1.font-size` instead. Will be removed in release 4.0.0.",
89
- "$value": "clamp(2.435rem, 2.0409rem + 1.9709vw, 3.8147rem)",
90
- "$extensions": {
91
- "nl.amsterdam.type": "fontSize"
92
- }
93
- },
94
- "line-height": {
95
- "$deprecated": "Use `ams.typography.heading.1.line-height` instead. Will be removed in release 4.0.0.",
96
- "$value": "1.1",
97
- "$extensions": {
98
- "nl.amsterdam.type": "lineHeight"
99
- }
102
+ "$value": "balance",
103
+ "$description": "Distributes heading text evenly across lines for a more balanced appearance.",
104
+ "$extensions": {
105
+ "nl.amsterdam.type": "textWrap"
100
106
  }
101
107
  },
102
108
  "1": {
103
109
  "font-size": {
104
110
  "$value": "clamp(2rem, 1.7143rem + 1.4286vw, 3rem)",
111
+ "$description": "Scales from 32px to 48px.",
105
112
  "$extensions": {
106
113
  "nl.amsterdam.type": "fontSize"
107
114
  }
108
115
  },
109
116
  "line-height": {
110
- "$value": "1.2",
117
+ "$value": 1.2,
111
118
  "$extensions": {
112
- "nl.amsterdam.type": "lineHeight"
113
- }
119
+ "nl.amsterdam.subtype": "lineHeight"
120
+ },
121
+ "$type": "number"
114
122
  }
115
123
  },
116
124
  "2": {
@@ -121,10 +129,11 @@
121
129
  }
122
130
  },
123
131
  "line-height": {
124
- "$value": "1.3",
132
+ "$value": 1.3,
125
133
  "$extensions": {
126
- "nl.amsterdam.type": "lineHeight"
127
- }
134
+ "nl.amsterdam.subtype": "lineHeight"
135
+ },
136
+ "$type": "number"
128
137
  }
129
138
  },
130
139
  "3": {
@@ -135,10 +144,11 @@
135
144
  }
136
145
  },
137
146
  "line-height": {
138
- "$value": "1.3",
147
+ "$value": 1.3,
139
148
  "$extensions": {
140
- "nl.amsterdam.type": "lineHeight"
141
- }
149
+ "nl.amsterdam.subtype": "lineHeight"
150
+ },
151
+ "$type": "number"
142
152
  }
143
153
  },
144
154
  "4": {
@@ -149,10 +159,11 @@
149
159
  }
150
160
  },
151
161
  "line-height": {
152
- "$value": "1.4",
162
+ "$value": 1.4,
153
163
  "$extensions": {
154
- "nl.amsterdam.type": "lineHeight"
155
- }
164
+ "nl.amsterdam.subtype": "lineHeight"
165
+ },
166
+ "$type": "number"
156
167
  }
157
168
  },
158
169
  "5": {
@@ -163,26 +174,11 @@
163
174
  }
164
175
  },
165
176
  "line-height": {
166
- "$value": "1.4",
167
- "$extensions": {
168
- "nl.amsterdam.type": "lineHeight"
169
- }
170
- }
171
- },
172
- "6": {
173
- "font-size": {
174
- "$deprecated": "Use `ams.typography.heading.5.font-size` instead. Will be removed in release 4.0.0.",
175
- "$value": "{ams.typography.body-text.small.font-size}",
176
- "$extensions": {
177
- "nl.amsterdam.type": "fontSize"
178
- }
179
- },
180
- "line-height": {
181
- "$deprecated": "Use `ams.typography.heading.5.line-height` instead. Will be removed in release 4.0.0.",
182
- "$value": "1.4",
177
+ "$value": 1.4,
183
178
  "$extensions": {
184
- "nl.amsterdam.type": "lineHeight"
185
- }
179
+ "nl.amsterdam.subtype": "lineHeight"
180
+ },
181
+ "$type": "number"
186
182
  }
187
183
  }
188
184
  }
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "ams": {
3
3
  "inputs": {
4
+ "$description": "Shared base styles for all form input components: text inputs, selects, text areas, etc.",
4
5
  "background-color": {
5
- "$value": "{ams.color.background}",
6
- "$type": "color"
6
+ "$value": "{ams.color.background.default}",
7
+ "$extensions": {
8
+ "nl.amsterdam.type": "color"
9
+ }
7
10
  },
8
11
  "border-color": {
9
12
  "$value": "currentColor",
10
- "$type": "color"
13
+ "$type": "color",
14
+ "$description": "Uses currentColor so the border adapts to the text colour, including in error states."
11
15
  },
12
16
  "border-style": {
13
17
  "$value": "solid",
@@ -23,11 +27,15 @@
23
27
  },
24
28
  "color": {
25
29
  "$value": "{ams.color.text.default}",
26
- "$type": "color"
30
+ "$extensions": {
31
+ "nl.amsterdam.type": "color"
32
+ }
27
33
  },
28
34
  "font-family": {
29
35
  "$value": "{ams.typography.font-family}",
30
- "$type": "fontFamily"
36
+ "$extensions": {
37
+ "nl.amsterdam.type": "fontFamily"
38
+ }
31
39
  },
32
40
  "font-size": {
33
41
  "$value": "{ams.typography.body-text.font-size}",
@@ -37,44 +45,51 @@
37
45
  },
38
46
  "font-weight": {
39
47
  "$value": "{ams.typography.body-text.font-weight}",
40
- "$type": "fontWeight"
48
+ "$extensions": {
49
+ "nl.amsterdam.type": "fontWeight"
50
+ }
41
51
  },
42
52
  "line-height": {
43
- "$value": "1.4",
53
+ "$value": 1.4,
54
+ "$description": "Tighter than body text (1.6) to keep inputs compact. Buttons also use this to match.",
44
55
  "$extensions": {
45
- "nl.amsterdam.type": "lineHeight"
46
- }
56
+ "nl.amsterdam.subtype": "lineHeight"
57
+ },
58
+ "$type": "number"
47
59
  },
48
60
  "outline-offset": {
49
61
  "$value": "{ams.focus.outline-offset}",
50
- "$type": "dimension",
51
62
  "$extensions": {
52
- "nl.amsterdam.subtype": "space"
63
+ "nl.amsterdam.subtype": "space",
64
+ "nl.amsterdam.type": "dimension"
53
65
  }
54
66
  },
55
67
  "padding-block": {
56
68
  "$value": "{ams.space.s}",
57
- "$type": "dimension",
58
69
  "$extensions": {
59
- "nl.amsterdam.subtype": "space"
70
+ "nl.amsterdam.subtype": "space",
71
+ "nl.amsterdam.type": "dimension"
60
72
  }
61
73
  },
62
74
  "padding-inline": {
63
75
  "$value": "{ams.space.m}",
64
- "$type": "dimension",
65
76
  "$extensions": {
66
- "nl.amsterdam.subtype": "space"
77
+ "nl.amsterdam.subtype": "space",
78
+ "nl.amsterdam.type": "dimension"
67
79
  }
68
80
  },
69
81
  "disabled": {
70
82
  "color": {
71
83
  "$value": "{ams.color.interactive.disabled}",
72
- "$type": "color"
84
+ "$extensions": {
85
+ "nl.amsterdam.type": "color"
86
+ }
73
87
  }
74
88
  },
75
89
  "hover": {
76
90
  "box-shadow": {
77
91
  "$type": "shadow",
92
+ "$description": "An inset shadow that reinforces the border on hover without shifting the layout.",
78
93
  "$value": {
79
94
  "inset": true,
80
95
  "offsetX": {
@@ -97,15 +112,20 @@
97
112
  "invalid": {
98
113
  "border-color": {
99
114
  "$value": "{ams.color.interactive.invalid.default}",
100
- "$type": "color"
115
+ "$extensions": {
116
+ "nl.amsterdam.type": "color"
117
+ }
101
118
  },
102
119
  "hover": {
103
120
  "border-color": {
104
121
  "$value": "{ams.color.interactive.invalid.hover}",
105
- "$type": "color"
122
+ "$extensions": {
123
+ "nl.amsterdam.type": "color"
124
+ }
106
125
  },
107
126
  "box-shadow": {
108
127
  "$type": "shadow",
128
+ "$description": "An inset shadow using the hover variation of the invalid interactive colour.",
109
129
  "$value": {
110
130
  "inset": true,
111
131
  "offsetX": {
@@ -129,7 +149,9 @@
129
149
  "placeholder": {
130
150
  "color": {
131
151
  "$value": "{ams.color.text.secondary}",
132
- "$type": "color"
152
+ "$extensions": {
153
+ "nl.amsterdam.type": "color"
154
+ }
133
155
  }
134
156
  }
135
157
  }
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "ams": {
3
3
  "links": {
4
+ "$description": "Shared base styles for all link-like components.",
4
5
  "color": {
5
6
  "$value": "{ams.color.interactive.default}",
6
- "$type": "color"
7
+ "$extensions": {
8
+ "nl.amsterdam.type": "color"
9
+ }
7
10
  },
8
11
  "text-decoration-thickness": {
9
12
  "$value": {
@@ -12,7 +15,8 @@
12
15
  },
13
16
  "$type": "dimension",
14
17
  "$extensions": {
15
- "nl.amsterdam.hint": "2px"
18
+ "nl.amsterdam.hint": "2px",
19
+ "nl.amsterdam.subtype": "space"
16
20
  }
17
21
  },
18
22
  "text-underline-offset": {
@@ -27,9 +31,12 @@
27
31
  }
28
32
  },
29
33
  "hover": {
34
+ "$description": "On hover the underline thickens and moves closer to the text.",
30
35
  "color": {
31
36
  "$value": "{ams.color.interactive.hover}",
32
- "$type": "color"
37
+ "$extensions": {
38
+ "nl.amsterdam.type": "color"
39
+ }
33
40
  },
34
41
  "text-decoration-thickness": {
35
42
  "$value": {
@@ -38,7 +45,8 @@
38
45
  },
39
46
  "$type": "dimension",
40
47
  "$extensions": {
41
- "nl.amsterdam.hint": "3px"
48
+ "nl.amsterdam.hint": "3px",
49
+ "nl.amsterdam.subtype": "space"
42
50
  }
43
51
  },
44
52
  "text-underline-offset": {
@@ -54,36 +62,53 @@
54
62
  }
55
63
  },
56
64
  "subtle": {
65
+ "$description": "For links that are already recognisable from context, e.g. in navigation menus. No underline by default; underline appears on hover.",
57
66
  "text-decoration-line": {
58
- "$value": "none"
67
+ "$value": "none",
68
+ "$extensions": {
69
+ "nl.amsterdam.type": "textDecorationLine"
70
+ }
59
71
  },
60
72
  "hover": {
61
73
  "text-decoration-line": {
62
- "$value": "underline"
74
+ "$value": "underline",
75
+ "$extensions": {
76
+ "nl.amsterdam.type": "textDecorationLine"
77
+ }
63
78
  }
64
79
  }
65
80
  },
66
81
  "contrast": {
82
+ "$description": "For links on coloured backgrounds where the default blue lacks sufficient contrast.",
67
83
  "color": {
68
84
  "$value": "{ams.color.interactive.contrast}",
69
- "$type": "color"
85
+ "$extensions": {
86
+ "nl.amsterdam.type": "color"
87
+ }
70
88
  },
71
89
  "hover": {
72
90
  "color": {
73
91
  "$value": "{ams.color.interactive.contrast}",
74
- "$type": "color"
92
+ "$extensions": {
93
+ "nl.amsterdam.type": "color"
94
+ }
75
95
  }
76
96
  }
77
97
  },
78
98
  "inverse": {
99
+ "$description": "For links on dark backgrounds.",
79
100
  "color": {
80
101
  "$value": "{ams.color.interactive.inverse}",
81
- "$type": "color"
102
+ "$extensions": {
103
+ "nl.amsterdam.type": "color"
104
+ }
82
105
  },
83
106
  "hover": {
84
107
  "color": {
85
108
  "$value": "{ams.color.interactive.inverse}",
86
- "$type": "color"
109
+ "$extensions": {
110
+ "nl.amsterdam.type": "color"
111
+ }
87
112
  }
88
113
  }
89
114
  }
@@ -3,66 +3,43 @@
3
3
  "accordion": {
4
4
  "gap": {
5
5
  "$value": "{ams.space.s}",
6
- "$type": "dimension",
7
6
  "$extensions": {
8
- "nl.amsterdam.subtype": "space"
7
+ "nl.amsterdam.subtype": "space",
8
+ "nl.amsterdam.type": "dimension"
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}",
12
+ "color": {
13
+ "$value": "{ams.color.interactive.default}",
20
14
  "$extensions": {
21
- "nl.amsterdam.type": "fontSize"
15
+ "nl.amsterdam.type": "color"
22
16
  }
23
17
  },
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}",
18
+ "cursor": {
19
+ "$value": "{ams.cursor.interactive}",
32
20
  "$extensions": {
33
- "nl.amsterdam.type": "lineHeight"
21
+ "nl.amsterdam.type": "cursor"
34
22
  }
35
23
  },
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
- },
40
- "color": {
41
- "$value": "{ams.color.interactive.default}",
42
- "$type": "color"
43
- },
44
- "cursor": {
45
- "$value": "{ams.cursor.interactive}"
46
- },
47
24
  "gap": {
48
25
  "$value": "{ams.space.s}",
49
- "$type": "dimension",
50
26
  "$extensions": {
51
- "nl.amsterdam.subtype": "space"
27
+ "nl.amsterdam.subtype": "space",
28
+ "nl.amsterdam.type": "dimension"
52
29
  }
53
30
  },
54
31
  "outline-offset": {
55
32
  "$value": "{ams.focus.outline-offset}",
56
- "$type": "dimension",
57
33
  "$extensions": {
58
- "nl.amsterdam.subtype": "space"
34
+ "nl.amsterdam.subtype": "space",
35
+ "nl.amsterdam.type": "dimension"
59
36
  }
60
37
  },
61
38
  "padding-block": {
62
39
  "$value": "{ams.space.s}",
63
- "$type": "dimension",
64
40
  "$extensions": {
65
- "nl.amsterdam.subtype": "space"
41
+ "nl.amsterdam.subtype": "space",
42
+ "nl.amsterdam.type": "dimension"
66
43
  }
67
44
  },
68
45
  "padding-inline": {
@@ -75,19 +52,11 @@
75
52
  "hover": {
76
53
  "color": {
77
54
  "$value": "{ams.color.interactive.hover}",
78
- "$type": "color"
55
+ "$extensions": {
56
+ "nl.amsterdam.type": "color"
57
+ }
79
58
  }
80
59
  }
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
- }
91
60
  }
92
61
  }
93
62
  }
@@ -3,9 +3,9 @@
3
3
  "action-group": {
4
4
  "gap": {
5
5
  "$value": "{ams.space.m}",
6
- "$type": "dimension",
7
6
  "$extensions": {
8
- "nl.amsterdam.subtype": "space"
7
+ "nl.amsterdam.subtype": "space",
8
+ "nl.amsterdam.type": "dimension"
9
9
  }
10
10
  }
11
11
  }