@amsterdam/design-system-tokens 3.3.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 (109) hide show
  1. package/CHANGELOG.md +61 -3
  2. package/README.md +131 -22
  3. package/build.js +11 -1
  4. package/dist/compact.css +9 -2
  5. package/dist/compact.d.ts +21 -6
  6. package/dist/compact.json +33 -18
  7. package/dist/compact.mjs +21 -13
  8. package/dist/compact.scss +9 -2
  9. package/dist/compact.theme.css +9 -2
  10. package/dist/index.css +177 -165
  11. package/dist/index.d.ts +250 -226
  12. package/dist/index.json +345 -321
  13. package/dist/index.mjs +285 -267
  14. package/dist/index.scss +177 -165
  15. package/dist/index.theme.css +177 -165
  16. package/package.json +2 -2
  17. package/src/brand/ams/aspect-ratio.tokens.json +24 -6
  18. package/src/brand/ams/border.compact.tokens.json +20 -0
  19. package/src/brand/ams/border.tokens.json +25 -0
  20. package/src/brand/ams/color.compact.tokens.json +15 -0
  21. package/src/brand/ams/color.tokens.json +37 -49
  22. package/src/brand/ams/cursor.tokens.json +9 -2
  23. package/src/brand/ams/focus.tokens.json +1 -0
  24. package/src/brand/ams/space.compact.tokens.json +16 -4
  25. package/src/brand/ams/space.tokens.json +31 -6
  26. package/src/brand/ams/typography.compact.tokens.json +36 -27
  27. package/src/brand/ams/typography.tokens.json +60 -32
  28. package/src/common/ams/inputs.tokens.json +41 -19
  29. package/src/common/ams/links.tokens.json +35 -10
  30. package/src/components/ams/accordion.tokens.json +18 -11
  31. package/src/components/ams/action-group.tokens.json +2 -2
  32. package/src/components/ams/alert.tokens.json +38 -20
  33. package/src/components/ams/avatar.tokens.json +79 -29
  34. package/src/components/ams/badge.tokens.json +60 -23
  35. package/src/components/ams/blockquote.tokens.json +14 -5
  36. package/src/components/ams/body.compact.tokens.json +12 -0
  37. package/src/components/ams/body.tokens.json +12 -0
  38. package/src/components/ams/breadcrumb.tokens.json +36 -15
  39. package/src/components/ams/button.tokens.json +74 -33
  40. package/src/components/ams/call-to-action-link.tokens.json +29 -16
  41. package/src/components/ams/card.tokens.json +30 -17
  42. package/src/components/ams/character-count.tokens.json +14 -5
  43. package/src/components/ams/checkbox.tokens.json +106 -39
  44. package/src/components/ams/column.tokens.json +10 -10
  45. package/src/components/ams/date-input.tokens.json +56 -23
  46. package/src/components/ams/description-list.tokens.json +101 -23
  47. package/src/components/ams/dialog.tokens.json +104 -28
  48. package/src/components/ams/error-message.tokens.json +13 -6
  49. package/src/components/ams/field-set.tokens.json +40 -17
  50. package/src/components/ams/field.tokens.json +18 -7
  51. package/src/components/ams/figure.tokens.json +16 -7
  52. package/src/components/ams/file-input.tokens.json +69 -30
  53. package/src/components/ams/file-list.tokens.json +20 -11
  54. package/src/components/ams/grid.compact.tokens.json +24 -2
  55. package/src/components/ams/grid.tokens.json +77 -24
  56. package/src/components/ams/heading.tokens.json +38 -36
  57. package/src/components/ams/hint.tokens.json +6 -2
  58. package/src/components/ams/icon-button.tokens.json +46 -16
  59. package/src/components/ams/icon.tokens.json +19 -23
  60. package/src/components/ams/image-slider.tokens.json +28 -16
  61. package/src/components/ams/image.tokens.json +4 -1
  62. package/src/components/ams/invalid-form-alert.tokens.json +2 -2
  63. package/src/components/ams/label.tokens.json +18 -6
  64. package/src/components/ams/link-list.tokens.json +50 -22
  65. package/src/components/ams/link.tokens.json +38 -25
  66. package/src/components/ams/logo.tokens.json +6 -2
  67. package/src/components/ams/mark.tokens.json +3 -1
  68. package/src/components/ams/menu.tokens.json +81 -28
  69. package/src/components/ams/ordered-list.tokens.json +39 -25
  70. package/src/components/ams/page-footer.tokens.json +70 -26
  71. package/src/components/ams/page-header.compact.tokens.json +2 -1
  72. package/src/components/ams/page-header.tokens.json +128 -59
  73. package/src/components/ams/page.compact.tokens.json +12 -0
  74. package/src/components/ams/page.tokens.json +5 -3
  75. package/src/components/ams/pagination.tokens.json +37 -17
  76. package/src/components/ams/paragraph.tokens.json +22 -8
  77. package/src/components/ams/password-input.tokens.json +47 -21
  78. package/src/components/ams/progress-list.tokens.json +194 -52
  79. package/src/components/ams/radio.tokens.json +97 -36
  80. package/src/components/ams/row.tokens.json +10 -10
  81. package/src/components/ams/search-field.tokens.json +57 -24
  82. package/src/components/ams/select.tokens.json +63 -23
  83. package/src/components/ams/skip-link.tokens.json +23 -12
  84. package/src/components/ams/spotlight.tokens.json +21 -7
  85. package/src/components/ams/standalone-link.tokens.json +44 -18
  86. package/src/components/ams/switch.tokens.json +40 -10
  87. package/src/components/ams/tab-navigation.tokens.json +205 -0
  88. package/src/components/ams/table-of-contents.tokens.json +38 -20
  89. package/src/components/ams/table.tokens.json +29 -10
  90. package/src/components/ams/tabs.tokens.json +39 -20
  91. package/src/components/ams/text-area.tokens.json +49 -23
  92. package/src/components/ams/text-input.tokens.json +47 -19
  93. package/src/components/ams/time-input.tokens.json +56 -21
  94. package/src/components/ams/unordered-list.tokens.json +37 -25
  95. package/style-dictionary/transforms/dtcg-font-family.js +32 -0
  96. package/src/brand/ams/color.deprecated.tokens.json +0 -13
  97. package/src/brand/ams/typography.deprecated.compact.tokens.json +0 -26
  98. package/src/brand/ams/typography.deprecated.tokens.json +0 -40
  99. package/src/components/ams/accordion.deprecated.tokens.json +0 -39
  100. package/src/components/ams/checkbox.deprecated.tokens.json +0 -59
  101. package/src/components/ams/date-input.deprecated.tokens.json +0 -38
  102. package/src/components/ams/field-set.deprecated.tokens.json +0 -16
  103. package/src/components/ams/field.deprecated.tokens.json +0 -14
  104. package/src/components/ams/icon.deprecated.tokens.json +0 -22
  105. package/src/components/ams/menu.deprecated.tokens.json +0 -36
  106. package/src/components/ams/page-heading.deprecated.tokens.json +0 -46
  107. package/src/components/ams/standalone-link.deprecated.tokens.json +0 -38
  108. package/src/components/ams/table-of-contents.deprecated.tokens.json +0 -24
  109. package/src/components/ams/time-input.deprecated.tokens.json +0 -38
@@ -3,11 +3,15 @@
3
3
  "time-input": {
4
4
  "background-color": {
5
5
  "$value": "{ams.inputs.background-color}",
6
- "$type": "color"
6
+ "$extensions": {
7
+ "nl.amsterdam.type": "color"
8
+ }
7
9
  },
8
10
  "border-color": {
9
11
  "$value": "{ams.inputs.border-color}",
10
- "$type": "color"
12
+ "$extensions": {
13
+ "nl.amsterdam.type": "color"
14
+ }
11
15
  },
12
16
  "border-style": {
13
17
  "$value": "{ams.inputs.border-style}",
@@ -23,11 +27,15 @@
23
27
  },
24
28
  "color": {
25
29
  "$value": "{ams.inputs.color}",
26
- "$type": "color"
30
+ "$extensions": {
31
+ "nl.amsterdam.type": "color"
32
+ }
27
33
  },
28
34
  "font-family": {
29
35
  "$value": "{ams.inputs.font-family}",
30
- "$type": "fontFamily"
36
+ "$extensions": {
37
+ "nl.amsterdam.type": "fontFamily"
38
+ }
31
39
  },
32
40
  "font-size": {
33
41
  "$value": "{ams.inputs.font-size}",
@@ -37,75 +45,102 @@
37
45
  },
38
46
  "font-weight": {
39
47
  "$value": "{ams.inputs.font-weight}",
40
- "$type": "fontWeight"
48
+ "$extensions": {
49
+ "nl.amsterdam.type": "fontWeight"
50
+ }
41
51
  },
42
52
  "line-height": {
43
53
  "$value": "{ams.inputs.line-height}",
44
54
  "$extensions": {
45
- "nl.amsterdam.type": "lineHeight"
55
+ "nl.amsterdam.subtype": "lineHeight",
56
+ "nl.amsterdam.type": "number"
46
57
  }
47
58
  },
48
59
  "outline-offset": {
49
60
  "$value": "{ams.inputs.outline-offset}",
50
- "$type": "dimension",
51
61
  "$extensions": {
52
- "nl.amsterdam.subtype": "space"
62
+ "nl.amsterdam.subtype": "space",
63
+ "nl.amsterdam.type": "dimension"
53
64
  }
54
65
  },
55
66
  "padding-block": {
56
67
  "$value": "{ams.inputs.padding-block}",
57
- "$type": "dimension",
58
68
  "$extensions": {
59
- "nl.amsterdam.subtype": "space"
69
+ "nl.amsterdam.subtype": "space",
70
+ "nl.amsterdam.type": "dimension"
60
71
  }
61
72
  },
62
73
  "padding-inline": {
63
74
  "$value": "{ams.inputs.padding-inline}",
64
- "$type": "dimension",
65
75
  "$extensions": {
66
- "nl.amsterdam.subtype": "space"
76
+ "nl.amsterdam.subtype": "space",
77
+ "nl.amsterdam.type": "dimension"
67
78
  }
68
79
  },
69
80
  "disabled": {
70
81
  "color": {
71
82
  "$value": "{ams.inputs.disabled.color}",
72
- "$type": "color"
83
+ "$extensions": {
84
+ "nl.amsterdam.type": "color"
85
+ }
73
86
  },
74
87
  "cursor": {
75
- "$value": "{ams.cursor.disabled}"
88
+ "$value": "{ams.cursor.disabled}",
89
+ "$extensions": {
90
+ "nl.amsterdam.type": "cursor"
91
+ }
76
92
  }
77
93
  },
78
94
  "hover": {
79
95
  "box-shadow": {
80
- "$value": "{ams.inputs.hover.box-shadow}"
96
+ "$value": "{ams.inputs.hover.box-shadow}",
97
+ "$extensions": {
98
+ "nl.amsterdam.type": "shadow"
99
+ }
81
100
  },
82
101
  "calendar-picker-indicator": {
83
102
  "background-image": {
84
- "$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")"
103
+ "$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")",
104
+ "$extensions": {
105
+ "nl.amsterdam.type": "backgroundImage"
106
+ }
85
107
  }
86
108
  }
87
109
  },
88
110
  "invalid": {
89
111
  "border-color": {
90
112
  "$value": "{ams.inputs.invalid.border-color}",
91
- "$type": "color"
113
+ "$extensions": {
114
+ "nl.amsterdam.type": "color"
115
+ }
92
116
  },
93
117
  "hover": {
94
118
  "border-color": {
95
119
  "$value": "{ams.inputs.invalid.hover.border-color}",
96
- "$type": "color"
120
+ "$extensions": {
121
+ "nl.amsterdam.type": "color"
122
+ }
97
123
  },
98
124
  "box-shadow": {
99
- "$value": "{ams.inputs.invalid.hover.box-shadow}"
125
+ "$value": "{ams.inputs.invalid.hover.box-shadow}",
126
+ "$extensions": {
127
+ "nl.amsterdam.type": "shadow"
128
+ }
100
129
  }
101
130
  }
102
131
  },
103
132
  "calendar-picker-indicator": {
104
133
  "background-image": {
105
- "$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23004699'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")"
134
+ "$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23004699'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")",
135
+ "$extensions": {
136
+ "nl.amsterdam.type": "backgroundImage"
137
+ }
106
138
  },
107
139
  "cursor": {
108
- "$value": "{ams.cursor.interactive}"
140
+ "$value": "{ams.cursor.interactive}",
141
+ "$extensions": {
142
+ "nl.amsterdam.type": "cursor"
143
+ }
109
144
  }
110
145
  }
111
146
  }
@@ -3,11 +3,15 @@
3
3
  "unordered-list": {
4
4
  "color": {
5
5
  "$value": "{ams.color.text.default}",
6
- "$type": "color"
6
+ "$extensions": {
7
+ "nl.amsterdam.type": "color"
8
+ }
7
9
  },
8
10
  "font-family": {
9
11
  "$value": "{ams.typography.font-family}",
10
- "$type": "fontFamily"
12
+ "$extensions": {
13
+ "nl.amsterdam.type": "fontFamily"
14
+ }
11
15
  },
12
16
  "font-size": {
13
17
  "$value": "{ams.typography.body-text.font-size}",
@@ -17,29 +21,36 @@
17
21
  },
18
22
  "font-weight": {
19
23
  "$value": "{ams.typography.body-text.font-weight}",
20
- "$type": "fontWeight"
24
+ "$extensions": {
25
+ "nl.amsterdam.type": "fontWeight"
26
+ }
21
27
  },
22
28
  "gap": {
23
29
  "$value": "{ams.space.s}",
24
- "$type": "dimension",
25
30
  "$extensions": {
26
- "nl.amsterdam.subtype": "space"
31
+ "nl.amsterdam.subtype": "space",
32
+ "nl.amsterdam.type": "dimension"
27
33
  }
28
34
  },
29
35
  "line-height": {
30
36
  "$value": "{ams.typography.body-text.line-height}",
31
37
  "$extensions": {
32
- "nl.amsterdam.type": "lineHeight"
38
+ "nl.amsterdam.subtype": "lineHeight",
39
+ "nl.amsterdam.type": "number"
33
40
  }
34
41
  },
35
42
  "list-style-type": {
36
43
  "$value": "'\\2022'",
37
- "$type": "fontFamily"
44
+ "$extensions": {
45
+ "nl.amsterdam.type": "listStyleType"
46
+ }
38
47
  },
39
48
  "inverse": {
40
49
  "color": {
41
50
  "$value": "{ams.color.text.inverse}",
42
- "$type": "color"
51
+ "$extensions": {
52
+ "nl.amsterdam.type": "color"
53
+ }
43
54
  }
44
55
  },
45
56
  "small": {
@@ -52,7 +63,8 @@
52
63
  "line-height": {
53
64
  "$value": "{ams.typography.body-text.small.line-height}",
54
65
  "$extensions": {
55
- "nl.amsterdam.type": "lineHeight"
66
+ "nl.amsterdam.subtype": "lineHeight",
67
+ "nl.amsterdam.type": "number"
56
68
  }
57
69
  }
58
70
  },
@@ -62,7 +74,6 @@
62
74
  "value": 1.625,
63
75
  "unit": "rem"
64
76
  },
65
- "$type": "dimension",
66
77
  "$extensions": {
67
78
  "nl.amsterdam.hint": "Divide your total indentation width over margin and padding to position the marker.",
68
79
  "nl.amsterdam.subtype": "space"
@@ -76,34 +87,36 @@
76
87
  "$extensions": {
77
88
  "nl.amsterdam.hint": "The total level 1 indentation for Amsterdam is 40 pixels, or 2.5rem.",
78
89
  "nl.amsterdam.subtype": "space"
79
- },
80
- "$type": "dimension"
81
- }
90
+ }
91
+ },
92
+ "$type": "dimension"
82
93
  },
83
94
  "unordered-list": {
84
95
  "gap": {
85
96
  "$value": "{ams.space.s}",
86
- "$type": "dimension",
87
97
  "$extensions": {
88
- "nl.amsterdam.subtype": "space"
98
+ "nl.amsterdam.subtype": "space",
99
+ "nl.amsterdam.type": "dimension"
89
100
  }
90
101
  },
91
102
  "list-style-type": {
92
103
  "$value": "'\\2013'",
93
- "$type": "fontFamily"
104
+ "$extensions": {
105
+ "nl.amsterdam.type": "listStyleType"
106
+ }
94
107
  },
95
108
  "padding-block-end": {
96
109
  "$value": "{ams.space.s}",
97
- "$type": "dimension",
98
110
  "$extensions": {
99
- "nl.amsterdam.subtype": "space"
111
+ "nl.amsterdam.subtype": "space",
112
+ "nl.amsterdam.type": "dimension"
100
113
  }
101
114
  },
102
115
  "padding-block-start": {
103
116
  "$value": "{ams.space.s}",
104
- "$type": "dimension",
105
117
  "$extensions": {
106
- "nl.amsterdam.subtype": "space"
118
+ "nl.amsterdam.subtype": "space",
119
+ "nl.amsterdam.type": "dimension"
107
120
  }
108
121
  },
109
122
  "item": {
@@ -112,9 +125,8 @@
112
125
  "value": 0.875,
113
126
  "unit": "rem"
114
127
  },
115
- "$type": "dimension",
116
128
  "$extensions": {
117
- "nl.amsterdam.hint": "Indent less than the parent to start-align the child\u2019s marker with the parent text.",
129
+ "nl.amsterdam.hint": "Indent less than the parent to start-align the child’s marker with the parent text.",
118
130
  "nl.amsterdam.subtype": "space"
119
131
  }
120
132
  },
@@ -126,9 +138,9 @@
126
138
  "$extensions": {
127
139
  "nl.amsterdam.hint": "The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem.",
128
140
  "nl.amsterdam.subtype": "space"
129
- },
130
- "$type": "dimension"
131
- }
141
+ }
142
+ },
143
+ "$type": "dimension"
132
144
  }
133
145
  }
134
146
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license EUPL-1.2+
3
+ * Copyright Gemeente Amsterdam
4
+ */
5
+
6
+ import { transformTypes } from 'style-dictionary/enums'
7
+
8
+ /**
9
+ * Transforms a DTCG fontFamily array to a CSS font-family string.
10
+ *
11
+ * The DTCG spec requires fontFamily values to be an array of strings,
12
+ * but CSS expects a comma-separated string where names containing spaces
13
+ * are quoted.
14
+ *
15
+ * @example
16
+ * // Input ($value of a token):
17
+ * ["Amsterdam Sans", "Arial", "sans-serif"]
18
+ *
19
+ * // Output (transformed token value):
20
+ * "'Amsterdam Sans', Arial, sans-serif"
21
+ * @see {@link https://www.designtokens.org/TR/2025.10/format/#font-family} DTCG fontFamily spec
22
+ */
23
+ export const dtcgFontFamily = {
24
+ filter: (token) => (token.$type ?? token.type) === 'fontFamily' && Array.isArray(token.$value ?? token.value),
25
+ name: 'dtcg/fontFamily',
26
+ transform: (token) => {
27
+ const value = token.$value ?? token.value
28
+ return value.map((name) => (name.includes(' ') ? `'${name}'` : name)).join(', ')
29
+ },
30
+ transitive: true,
31
+ type: transformTypes.value,
32
+ }
@@ -1,13 +0,0 @@
1
- {
2
- "ams": {
3
- "color": {
4
- "interactive": {
5
- "secondary": {
6
- "$deprecated": "Use `currentColor` instead",
7
- "$value": "#202020",
8
- "$type": "color"
9
- }
10
- }
11
- }
12
- }
13
- }
@@ -1,26 +0,0 @@
1
- {
2
- "ams": {
3
- "typography": {
4
- "heading": {
5
- "0": {
6
- "font-size": {
7
- "$deprecated": "Use `ams.typography.heading.1.font-size` instead.",
8
- "$value": "clamp(2.1645rem, 2.072rem + 0.4626vw, 2.4883rem)",
9
- "$extensions": {
10
- "nl.amsterdam.type": "fontSize"
11
- }
12
- }
13
- },
14
- "6": {
15
- "font-size": {
16
- "$deprecated": "Use `ams.typography.heading.5.font-size` instead.",
17
- "$value": "{ams.typography.body-text.small.font-size}",
18
- "$extensions": {
19
- "nl.amsterdam.type": "fontSize"
20
- }
21
- }
22
- }
23
- }
24
- }
25
- }
26
- }
@@ -1,40 +0,0 @@
1
- {
2
- "ams": {
3
- "typography": {
4
- "heading": {
5
- "0": {
6
- "font-size": {
7
- "$deprecated": "Use `ams.typography.heading.1.font-size` instead.",
8
- "$value": "clamp(2.435rem, 2.0409rem + 1.9709vw, 3.8147rem)",
9
- "$extensions": {
10
- "nl.amsterdam.type": "fontSize"
11
- }
12
- },
13
- "line-height": {
14
- "$deprecated": "Use `ams.typography.heading.1.line-height` instead.",
15
- "$value": "1.1",
16
- "$extensions": {
17
- "nl.amsterdam.type": "lineHeight"
18
- }
19
- }
20
- },
21
- "6": {
22
- "font-size": {
23
- "$deprecated": "Use `ams.typography.heading.5.font-size` instead.",
24
- "$value": "{ams.typography.body-text.small.font-size}",
25
- "$extensions": {
26
- "nl.amsterdam.type": "fontSize"
27
- }
28
- },
29
- "line-height": {
30
- "$deprecated": "Use `ams.typography.heading.5.line-height` instead.",
31
- "$value": "1.4",
32
- "$extensions": {
33
- "nl.amsterdam.type": "lineHeight"
34
- }
35
- }
36
- }
37
- }
38
- }
39
- }
40
- }
@@ -1,39 +0,0 @@
1
- {
2
- "ams": {
3
- "accordion": {
4
- "button": {
5
- "font-family": {
6
- "$value": "{ams.typography.font-family}",
7
- "$type": "fontFamily"
8
- },
9
- "font-size": {
10
- "$value": "{ams.typography.heading.3.font-size}",
11
- "$extensions": {
12
- "nl.amsterdam.type": "fontSize"
13
- }
14
- },
15
- "font-weight": {
16
- "$value": "{ams.typography.heading.font-weight}",
17
- "$type": "fontWeight"
18
- },
19
- "line-height": {
20
- "$value": "{ams.typography.heading.3.line-height}",
21
- "$extensions": {
22
- "nl.amsterdam.type": "lineHeight"
23
- }
24
- },
25
- "text-wrap": {
26
- "$value": "{ams.typography.heading.text-wrap}"
27
- }
28
- },
29
- "panel": {
30
- "padding-block": {
31
- "$value": "0"
32
- },
33
- "padding-inline": {
34
- "$value": "0"
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,59 +0,0 @@
1
- {
2
- "ams": {
3
- "checkbox": {
4
- "hover": {
5
- "text-decoration-thickness": {
6
- "$deprecated": "Use `ams.checkbox.text-decoration-thickness` instead",
7
- "$value": "{ams.border.width.m}",
8
- "$type": "dimension"
9
- }
10
- },
11
- "rectangle": {
12
- "checked": {
13
- "disabled": {
14
- "hover": {
15
- "fill": {
16
- "$value": "{ams.color.interactive.disabled}",
17
- "$type": "color"
18
- }
19
- }
20
- },
21
- "hover": {
22
- "disabled-invalid": {
23
- "fill": {
24
- "$value": "{ams.color.interactive.disabled}",
25
- "$type": "color"
26
- }
27
- }
28
- }
29
- },
30
- "hover": {
31
- "disabled-invalid": {
32
- "stroke": {
33
- "$value": "{ams.color.interactive.disabled}",
34
- "$type": "color"
35
- }
36
- }
37
- },
38
- "indeterminate": {
39
- "disabled": {
40
- "hover": {
41
- "fill": {
42
- "$value": "{ams.color.interactive.disabled}",
43
- "$type": "color"
44
- }
45
- }
46
- },
47
- "hover": {
48
- "disabled-invalid": {
49
- "fill": {
50
- "$value": "{ams.color.interactive.disabled}",
51
- "$type": "color"
52
- }
53
- }
54
- }
55
- }
56
- }
57
- }
58
- }
59
- }
@@ -1,38 +0,0 @@
1
- {
2
- "ams": {
3
- "date-input": {
4
- "disabled": {
5
- "calendar-picker-indicator": {
6
- "background-image": {
7
- "$deprecated": "This token will be removed in release 6.0.0",
8
- "$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>\")"
9
- }
10
- },
11
- "calender-picker-indicator": {
12
- "background-image": {
13
- "$deprecated": "Use `ams.date-input.disabled.calendar-picker-indicator.background-image` instead",
14
- "$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>\")"
15
- }
16
- }
17
- },
18
- "hover": {
19
- "calender-picker-indicator": {
20
- "background-image": {
21
- "$deprecated": "Use `ams.date-input.hover.calendar-picker-indicator.background-image` instead",
22
- "$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>\")"
23
- }
24
- }
25
- },
26
- "calender-picker-indicator": {
27
- "background-image": {
28
- "$deprecated": "Use `ams.date-input.calendar-picker-indicator.background-image` instead",
29
- "$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>\")"
30
- },
31
- "cursor": {
32
- "$deprecated": "Use `ams.date-input.calendar-picker-indicator.cursor` instead",
33
- "$value": "{ams.cursor.interactive}"
34
- }
35
- }
36
- }
37
- }
38
- }
@@ -1,16 +0,0 @@
1
- {
2
- "ams": {
3
- "field-set": {
4
- "legend": {
5
- "margin-block-end": {
6
- "$deprecated": "This token will be removed in release 5.0.0",
7
- "$value": "{ams.space.s}",
8
- "$type": "dimension",
9
- "$extensions": {
10
- "nl.amsterdam.subtype": "space"
11
- }
12
- }
13
- }
14
- }
15
- }
16
- }
@@ -1,14 +0,0 @@
1
- {
2
- "ams": {
3
- "field": {
4
- "gap": {
5
- "$deprecated": "This token 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
- }
12
- }
13
- }
14
- }
@@ -1,22 +0,0 @@
1
- {
2
- "ams": {
3
- "icon": {
4
- "heading-0": {
5
- "font-size": {
6
- "$deprecated": "Use `ams.typography.heading.1.font-size` instead.",
7
- "$value": "{ams.typography.heading.0.font-size}",
8
- "$extensions": {
9
- "nl.amsterdam.type": "fontSize"
10
- }
11
- },
12
- "line-height": {
13
- "$deprecated": "Use `ams.typography.heading.1.line-height` instead.",
14
- "$value": "{ams.typography.heading.0.line-height}",
15
- "$extensions": {
16
- "nl.amsterdam.type": "lineHeight"
17
- }
18
- }
19
- }
20
- }
21
- }
22
- }
@@ -1,36 +0,0 @@
1
- {
2
- "ams": {
3
- "menu": {
4
- "link": {
5
- "contrast": {
6
- "color": {
7
- "$deprecated": "The menu has a dark background now, so this is no longer needed.",
8
- "$value": "{ams.links.contrast.color}",
9
- "$type": "color"
10
- },
11
- "hover": {
12
- "color": {
13
- "$deprecated": "The menu has a dark background now, so this is no longer needed.",
14
- "$value": "{ams.links.contrast.hover.color}",
15
- "$type": "color"
16
- }
17
- }
18
- },
19
- "inverse": {
20
- "color": {
21
- "$deprecated": "The menu has a dark background now, so this is no longer needed.",
22
- "$value": "{ams.links.inverse.color}",
23
- "$type": "color"
24
- },
25
- "hover": {
26
- "color": {
27
- "$deprecated": "The menu has a dark background now, so this is no longer needed.",
28
- "$value": "{ams.links.inverse.hover.color}",
29
- "$type": "color"
30
- }
31
- }
32
- }
33
- }
34
- }
35
- }
36
- }