@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
@@ -3,7 +3,9 @@
3
3
  "table-of-contents": {
4
4
  "font-family": {
5
5
  "$value": "{ams.typography.font-family}",
6
- "$type": "fontFamily"
6
+ "$extensions": {
7
+ "nl.amsterdam.type": "fontFamily"
8
+ }
7
9
  },
8
10
  "font-size": {
9
11
  "$value": "{ams.typography.body-text.font-size}",
@@ -13,99 +15,94 @@
13
15
  },
14
16
  "font-weight": {
15
17
  "$value": "{ams.typography.body-text.font-weight}",
16
- "$type": "fontWeight"
18
+ "$extensions": {
19
+ "nl.amsterdam.type": "fontWeight"
20
+ }
17
21
  },
18
22
  "gap": {
19
23
  "$value": "{ams.space.s}",
20
- "$type": "dimension",
21
24
  "$extensions": {
22
- "nl.amsterdam.subtype": "space"
25
+ "nl.amsterdam.subtype": "space",
26
+ "nl.amsterdam.type": "dimension"
23
27
  }
24
28
  },
25
29
  "line-height": {
26
30
  "$value": "{ams.typography.body-text.line-height}",
27
31
  "$extensions": {
28
- "nl.amsterdam.type": "lineHeight"
29
- }
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
- }
32
+ "nl.amsterdam.subtype": "lineHeight",
33
+ "nl.amsterdam.type": "number"
50
34
  }
51
35
  },
52
36
  "link": {
53
37
  "color": {
54
38
  "$value": "{ams.links.color}",
55
- "$type": "color"
39
+ "$extensions": {
40
+ "nl.amsterdam.type": "color"
41
+ }
56
42
  },
57
43
  "outline-offset": {
58
44
  "$value": "{ams.focus.outline-offset}",
59
- "$type": "dimension",
60
45
  "$extensions": {
61
- "nl.amsterdam.subtype": "space"
46
+ "nl.amsterdam.subtype": "space",
47
+ "nl.amsterdam.type": "dimension"
62
48
  }
63
49
  },
64
50
  "text-decoration-line": {
65
- "$value": "{ams.links.subtle.text-decoration-line}"
51
+ "$value": "{ams.links.subtle.text-decoration-line}",
52
+ "$extensions": {
53
+ "nl.amsterdam.type": "textDecorationLine"
54
+ }
66
55
  },
67
56
  "text-decoration-thickness": {
68
57
  "$value": "{ams.links.text-decoration-thickness}",
69
- "$type": "dimension"
58
+ "$extensions": {
59
+ "nl.amsterdam.subtype": "space",
60
+ "nl.amsterdam.type": "dimension"
61
+ }
70
62
  },
71
63
  "text-underline-offset": {
72
64
  "$value": "{ams.links.text-underline-offset}",
73
- "$type": "dimension",
74
65
  "$extensions": {
75
- "nl.amsterdam.subtype": "space"
66
+ "nl.amsterdam.subtype": "space",
67
+ "nl.amsterdam.type": "dimension"
76
68
  }
77
69
  },
78
70
  "hover": {
79
71
  "color": {
80
72
  "$value": "{ams.links.hover.color}",
81
- "$type": "color"
73
+ "$extensions": {
74
+ "nl.amsterdam.type": "color"
75
+ }
82
76
  },
83
77
  "text-decoration-line": {
84
- "$value": "{ams.links.subtle.hover.text-decoration-line}"
78
+ "$value": "{ams.links.subtle.hover.text-decoration-line}",
79
+ "$extensions": {
80
+ "nl.amsterdam.type": "textDecorationLine"
81
+ }
85
82
  }
86
83
  }
87
84
  },
88
85
  "list": {
89
86
  "gap": {
90
87
  "$value": "{ams.space.s}",
91
- "$type": "dimension",
92
88
  "$extensions": {
93
- "nl.amsterdam.subtype": "space"
89
+ "nl.amsterdam.subtype": "space",
90
+ "nl.amsterdam.type": "dimension"
94
91
  }
95
92
  },
96
93
  "list": {
97
94
  "padding-block-start": {
98
95
  "$value": "{ams.space.s}",
99
- "$type": "dimension",
100
96
  "$extensions": {
101
- "nl.amsterdam.subtype": "space"
97
+ "nl.amsterdam.subtype": "space",
98
+ "nl.amsterdam.type": "dimension"
102
99
  }
103
100
  },
104
101
  "padding-inline-start": {
105
102
  "$value": "{ams.space.l}",
106
- "$type": "dimension",
107
103
  "$extensions": {
108
- "nl.amsterdam.subtype": "space"
104
+ "nl.amsterdam.subtype": "space",
105
+ "nl.amsterdam.type": "dimension"
109
106
  }
110
107
  }
111
108
  }
@@ -3,11 +3,15 @@
3
3
  "table": {
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,43 +21,58 @@
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
  "line-height": {
23
29
  "$value": "{ams.typography.body-text.line-height}",
24
30
  "$extensions": {
25
- "nl.amsterdam.type": "lineHeight"
31
+ "nl.amsterdam.subtype": "lineHeight",
32
+ "nl.amsterdam.type": "number"
26
33
  }
27
34
  },
28
35
  "caption": {
29
36
  "font-weight": {
30
37
  "$value": "{ams.typography.body-text.bold.font-weight}",
31
38
  "$type": "fontWeight"
39
+ },
40
+ "margin-block-end": {
41
+ "$value": "{ams.space.s}",
42
+ "$type": "dimension",
43
+ "$extensions": {
44
+ "nl.amsterdam.subtype": "space"
45
+ }
32
46
  }
33
47
  },
34
48
  "cell": {
35
49
  "border-block-end": {
36
- "$value": "{ams.border.width.s} solid {ams.color.separator}"
50
+ "$value": "{ams.border.width.s} solid {ams.color.separator}",
51
+ "$extensions": {
52
+ "nl.amsterdam.type": "border"
53
+ }
37
54
  },
38
55
  "padding-block": {
39
56
  "$value": "{ams.space.s}",
40
- "$type": "dimension",
41
57
  "$extensions": {
42
- "nl.amsterdam.subtype": "space"
58
+ "nl.amsterdam.subtype": "space",
59
+ "nl.amsterdam.type": "dimension"
43
60
  }
44
61
  },
45
62
  "padding-inline": {
46
63
  "$value": "{ams.space.m}",
47
- "$type": "dimension",
48
64
  "$extensions": {
49
- "nl.amsterdam.subtype": "space"
65
+ "nl.amsterdam.subtype": "space",
66
+ "nl.amsterdam.type": "dimension"
50
67
  }
51
68
  }
52
69
  },
53
70
  "header-cell": {
54
71
  "font-weight": {
55
72
  "$value": "{ams.typography.body-text.bold.font-weight}",
56
- "$type": "fontWeight"
73
+ "$extensions": {
74
+ "nl.amsterdam.type": "fontWeight"
75
+ }
57
76
  }
58
77
  }
59
78
  }
@@ -3,9 +3,9 @@
3
3
  "tabs": {
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
  "list": {
@@ -33,14 +33,21 @@
33
33
  "button": {
34
34
  "color": {
35
35
  "$value": "{ams.color.interactive.default}",
36
- "$type": "color"
36
+ "$extensions": {
37
+ "nl.amsterdam.type": "color"
38
+ }
37
39
  },
38
40
  "cursor": {
39
- "$value": "{ams.cursor.interactive}"
41
+ "$value": "{ams.cursor.interactive}",
42
+ "$extensions": {
43
+ "nl.amsterdam.type": "cursor"
44
+ }
40
45
  },
41
46
  "font-family": {
42
47
  "$value": "{ams.typography.font-family}",
43
- "$type": "fontFamily"
48
+ "$extensions": {
49
+ "nl.amsterdam.type": "fontFamily"
50
+ }
44
51
  },
45
52
  "font-size": {
46
53
  "$value": "{ams.typography.body-text.font-size}",
@@ -50,33 +57,36 @@
50
57
  },
51
58
  "font-weight": {
52
59
  "$value": "{ams.typography.body-text.font-weight}",
53
- "$type": "fontWeight"
60
+ "$extensions": {
61
+ "nl.amsterdam.type": "fontWeight"
62
+ }
54
63
  },
55
64
  "line-height": {
56
65
  "$value": "{ams.typography.body-text.line-height}",
57
66
  "$extensions": {
58
- "nl.amsterdam.type": "lineHeight"
67
+ "nl.amsterdam.subtype": "lineHeight",
68
+ "nl.amsterdam.type": "number"
59
69
  }
60
70
  },
61
71
  "outline-offset": {
62
72
  "$value": "calc({ams.focus.outline-offset} * -1)",
63
- "$type": "dimension",
64
73
  "$extensions": {
65
- "nl.amsterdam.subtype": "space"
74
+ "nl.amsterdam.subtype": "space",
75
+ "nl.amsterdam.type": "dimension"
66
76
  }
67
77
  },
68
78
  "padding-block": {
69
79
  "$value": "{ams.space.s}",
70
- "$type": "dimension",
71
80
  "$extensions": {
72
- "nl.amsterdam.subtype": "space"
81
+ "nl.amsterdam.subtype": "space",
82
+ "nl.amsterdam.type": "dimension"
73
83
  }
74
84
  },
75
85
  "padding-inline": {
76
86
  "$value": "{ams.space.m}",
77
- "$type": "dimension",
78
87
  "$extensions": {
79
- "nl.amsterdam.subtype": "space"
88
+ "nl.amsterdam.subtype": "space",
89
+ "nl.amsterdam.type": "dimension"
80
90
  }
81
91
  },
82
92
  "hover": {
@@ -102,7 +112,9 @@
102
112
  },
103
113
  "color": {
104
114
  "$value": "{ams.color.interactive.hover}",
105
- "$type": "color"
115
+ "$extensions": {
116
+ "nl.amsterdam.type": "color"
117
+ }
106
118
  }
107
119
  },
108
120
  "selected": {
@@ -128,16 +140,23 @@
128
140
  },
129
141
  "font-weight": {
130
142
  "$value": "{ams.typography.body-text.bold.font-weight}",
131
- "$type": "fontWeight"
143
+ "$extensions": {
144
+ "nl.amsterdam.type": "fontWeight"
145
+ }
132
146
  }
133
147
  },
134
148
  "disabled": {
135
149
  "color": {
136
150
  "$value": "{ams.color.interactive.disabled}",
137
- "$type": "color"
151
+ "$extensions": {
152
+ "nl.amsterdam.type": "color"
153
+ }
138
154
  },
139
155
  "cursor": {
140
- "$value": "{ams.cursor.disabled}"
156
+ "$value": "{ams.cursor.disabled}",
157
+ "$extensions": {
158
+ "nl.amsterdam.type": "cursor"
159
+ }
141
160
  }
142
161
  }
143
162
  }
@@ -3,11 +3,15 @@
3
3
  "text-area": {
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,77 +45,95 @@
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
  "min-block-size": {
49
60
  "$value": "calc({ams.typography.body-text.line-height} * 1em + 2 * {ams.text-area.padding-block})",
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
  "outline-offset": {
56
67
  "$value": "{ams.inputs.outline-offset}",
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-block": {
63
74
  "$value": "{ams.inputs.padding-block}",
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
  "padding-inline": {
70
81
  "$value": "{ams.inputs.padding-inline}",
71
- "$type": "dimension",
72
82
  "$extensions": {
73
- "nl.amsterdam.subtype": "space"
83
+ "nl.amsterdam.subtype": "space",
84
+ "nl.amsterdam.type": "dimension"
74
85
  }
75
86
  },
76
87
  "disabled": {
77
88
  "color": {
78
89
  "$value": "{ams.inputs.disabled.color}",
79
- "$type": "color"
90
+ "$extensions": {
91
+ "nl.amsterdam.type": "color"
92
+ }
80
93
  },
81
94
  "cursor": {
82
- "$value": "{ams.cursor.disabled}"
95
+ "$value": "{ams.cursor.disabled}",
96
+ "$extensions": {
97
+ "nl.amsterdam.type": "cursor"
98
+ }
83
99
  }
84
100
  },
85
101
  "hover": {
86
102
  "box-shadow": {
87
- "$type": "shadow",
88
- "$value": "{ams.inputs.hover.box-shadow}"
103
+ "$value": "{ams.inputs.hover.box-shadow}",
104
+ "$extensions": {
105
+ "nl.amsterdam.type": "shadow"
106
+ }
89
107
  }
90
108
  },
91
109
  "invalid": {
92
110
  "border-color": {
93
111
  "$value": "{ams.inputs.invalid.border-color}",
94
- "$type": "color"
112
+ "$extensions": {
113
+ "nl.amsterdam.type": "color"
114
+ }
95
115
  },
96
116
  "hover": {
97
117
  "border-color": {
98
118
  "$value": "{ams.inputs.invalid.hover.border-color}",
99
- "$type": "color"
119
+ "$extensions": {
120
+ "nl.amsterdam.type": "color"
121
+ }
100
122
  },
101
123
  "box-shadow": {
102
- "$type": "shadow",
103
- "$value": "{ams.inputs.invalid.hover.box-shadow}"
124
+ "$value": "{ams.inputs.invalid.hover.box-shadow}",
125
+ "$extensions": {
126
+ "nl.amsterdam.type": "shadow"
127
+ }
104
128
  }
105
129
  }
106
130
  },
107
131
  "placeholder": {
108
132
  "color": {
109
133
  "$value": "{ams.inputs.placeholder.color}",
110
- "$type": "color"
134
+ "$extensions": {
135
+ "nl.amsterdam.type": "color"
136
+ }
111
137
  }
112
138
  }
113
139
  }
@@ -3,11 +3,15 @@
3
3
  "text-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,70 +45,88 @@
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
- "$type": "shadow",
81
- "$value": "{ams.inputs.hover.box-shadow}"
96
+ "$value": "{ams.inputs.hover.box-shadow}",
97
+ "$extensions": {
98
+ "nl.amsterdam.type": "shadow"
99
+ }
82
100
  }
83
101
  },
84
102
  "invalid": {
85
103
  "border-color": {
86
104
  "$value": "{ams.inputs.invalid.border-color}",
87
- "$type": "color"
105
+ "$extensions": {
106
+ "nl.amsterdam.type": "color"
107
+ }
88
108
  },
89
109
  "hover": {
90
110
  "border-color": {
91
111
  "$value": "{ams.inputs.invalid.hover.border-color}",
92
- "$type": "color"
112
+ "$extensions": {
113
+ "nl.amsterdam.type": "color"
114
+ }
93
115
  },
94
116
  "box-shadow": {
95
- "$type": "shadow",
96
- "$value": "{ams.inputs.invalid.hover.box-shadow}"
117
+ "$value": "{ams.inputs.invalid.hover.box-shadow}",
118
+ "$extensions": {
119
+ "nl.amsterdam.type": "shadow"
120
+ }
97
121
  }
98
122
  }
99
123
  },
100
124
  "placeholder": {
101
125
  "color": {
102
126
  "$value": "{ams.inputs.placeholder.color}",
103
- "$type": "color"
127
+ "$extensions": {
128
+ "nl.amsterdam.type": "color"
129
+ }
104
130
  }
105
131
  }
106
132
  }