@amsterdam/design-system-tokens 2.0.0 → 2.2.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 CHANGED
@@ -3,6 +3,35 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.2.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.1.0...design-system-tokens-v2.2.0) (2025-11-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Label, Field Set:** Add a lighter variant to Label and Legend to clarify form hierarchy in nested Field Sets ([#2291](https://github.com/Amsterdam/design-system/issues/2291)) ([3bcc039](https://github.com/Amsterdam/design-system/commit/3bcc03901cbe1b37183d774b26367a914e3bda79))
12
+ * **Page Header:** Allow adding an icon to a menu item ([#2285](https://github.com/Amsterdam/design-system/issues/2285)) ([15a830b](https://github.com/Amsterdam/design-system/commit/15a830b6068bb98c405da0013e90ac6697b20f5b))
13
+ * **Page:** Add support for a layout with a Menu ([#2263](https://github.com/Amsterdam/design-system/issues/2263)) ([51a289f](https://github.com/Amsterdam/design-system/commit/51a289fe3012981fff1bfc223a0689b9be3760a7))
14
+
15
+ ## [2.1.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.0.0...design-system-tokens-v2.1.0) (2025-10-31)
16
+
17
+
18
+ ### Deprecations
19
+
20
+ The following tokens will be removed in release 4.0.0. If you use them in your code, please delete them.
21
+
22
+ - `ams.menu.link.contrast.color`, `ams.menu.link.contrast.hover.color`, `ams.menu.link.inverse.color`, `ams.menu.link.inverse.hover.color`.
23
+ - `ams.date-input.disabled.calender-picker-indicator.background-image`, `ams.date-input.hover.calender-picker-indicator.background-image`, `ams.date-input.calender-picker-indicator.background-image`, `ams.date-input.calender-picker-indicator.cursor`.
24
+
25
+
26
+ ### Features
27
+
28
+ * **Menu:** Make background blue and add prop to toggle appearance ([#2244](https://github.com/Amsterdam/design-system/issues/2244)) ([f1cf29b](https://github.com/Amsterdam/design-system/commit/f1cf29b8db185d7bea50a63f287dd736d848eafe))
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **Date Input, Time Input:** Add and use tokens that spell ‘calendar’ correctly ([#2229](https://github.com/Amsterdam/design-system/issues/2229)) ([9a1d432](https://github.com/Amsterdam/design-system/commit/9a1d432a0f2e726093a3cafabbf525f4734cc403))
34
+
6
35
  ## [2.0.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v1.0.1...design-system-tokens-v2.0.0) (2025-09-17)
7
36
 
8
37
 
@@ -12,14 +41,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
12
41
 
13
42
  ### Deprecations
14
43
 
15
- The following tokens will be removed in the next major release. If you use them in your code, please delete them.
44
+ The following tokens will be removed in release 4.0.0. If you use them in your code, please delete them.
16
45
 
17
46
  * `ams.accordion.panel.*` and some tokens in `ams.accordion.button`
18
47
  * `ams.checkbox.hover.text-decoration-thickness` and `ams.checkbox.rectangle.*`
19
48
  * `ams.color.interactive.secondary`
20
49
  * `ams.icon.heading-0.*`
21
50
  * `ams.page-heading.*`
22
- * `ams.standalone-link.with-icon.*`, `ams.standalone-link.hover.text-decoration-thickness` and `ams.standalone-link.hover.text-underline-offset`
51
+ * `ams.standalone-link.with-icon.*`, `ams.standalone-link.hover.text-decoration-thickness` and `ams.standalone-link.hover.text-underline-offset`
23
52
  * `ams.table-of-contents.*`
24
53
  * `ams.typography.heading.0.*` and `ams.typography.heading.6.*`
25
54
 
package/README.md CHANGED
@@ -209,7 +209,7 @@ const tokens = { ...spaciousTokens, ...compactTokens }
209
209
 
210
210
  ## Usage in Figma
211
211
 
212
- The tokens are used in our [Figma Library](https://www.figma.com/file/9IGm6IdPUYizBNGsUnueBd/Amsterdam-Design-System?type=design&node-id=741-19633&mode=design&t=N8P3h3W67O0KNdga-0) as well.
212
+ The tokens are used in our [Figma Library](https://www.figma.com/community/file/1530535540611888495/amsterdam-design-system-community-edition) as well.
213
213
 
214
214
  ## Updating
215
215
 
package/dist/index.css CHANGED
@@ -93,9 +93,12 @@
93
93
  --ams-button-tertiary-hover-border-color: currentColor;
94
94
  --ams-call-to-action-link-background-color: #00a03c;
95
95
  --ams-call-to-action-link-hover-background-color: #007c2e;
96
- --ams-date-input-disabled-calender-picker-indicator-background-image: 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>");
97
- --ams-date-input-hover-calender-picker-indicator-background-image: 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>");
98
- --ams-date-input-calender-picker-indicator-background-image: 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>");
96
+ --ams-date-input-disabled-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
97
+ --ams-date-input-disabled-calendar-picker-indicator-background-image: 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>");
98
+ --ams-date-input-hover-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
99
+ --ams-date-input-hover-calendar-picker-indicator-background-image: 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>");
100
+ --ams-date-input-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
101
+ --ams-date-input-calendar-picker-indicator-background-image: 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>");
99
102
  --ams-description-list-narrow-grid-template-columns: 1fr 4fr;
100
103
  --ams-description-list-medium-grid-template-columns: 1fr 2fr;
101
104
  --ams-description-list-wide-grid-template-columns: 1fr 1fr;
@@ -120,6 +123,7 @@
120
123
  --ams-logo-min-block-size: 2.5rem;
121
124
  --ams-logo-emblem-color: #ec0000;
122
125
  --ams-logo-title-color: #ec0000;
126
+ --ams-menu-wide-max-inline-size: 8rem;
123
127
  --ams-ordered-list-list-style-type: decimal;
124
128
  --ams-ordered-list-item-margin-inline-start: 2.25rem; /** Divide your total indentation width over margin and padding to position the marker. */
125
129
  --ams-ordered-list-item-padding-inline-start: 0.25rem; /** The total level 1 indentation for Amsterdam is 40 pixels, or 2.5rem. */
@@ -128,6 +132,7 @@
128
132
  --ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; /** The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem. */
129
133
  --ams-page-footer-spotlight-background-color: #004699;
130
134
  --ams-page-max-inline-size: 90rem;
135
+ --ams-page-with-menu-max-inline-size: 120rem;
131
136
  --ams-search-field-input-cancel-button-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z'/></svg>");
132
137
  --ams-select-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
133
138
  --ams-select-disabled-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23767676' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
@@ -136,9 +141,12 @@
136
141
  --ams-switch-inline-size: 3.5rem;
137
142
  --ams-switch-thumb-block-size: 1.75rem;
138
143
  --ams-switch-thumb-inline-size: 1.75rem;
139
- --ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>");
140
- --ams-time-input-hover-calender-picker-indicator-background-image: 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>");
141
- --ams-time-input-calender-picker-indicator-background-image: 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>");
144
+ --ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>"); /** Use the token with ‘calendar’ spelled correctly instead */
145
+ --ams-time-input-disabled-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>");
146
+ --ams-time-input-hover-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
147
+ --ams-time-input-hover-calendar-picker-indicator-background-image: 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>");
148
+ --ams-time-input-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
149
+ --ams-time-input-calendar-picker-indicator-background-image: 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>");
142
150
  --ams-unordered-list-list-style-type: '\2022';
143
151
  --ams-unordered-list-item-margin-inline-start: 1.625rem; /** Divide your total indentation width over margin and padding to position the marker. */
144
152
  --ams-unordered-list-item-padding-inline-start: 0.875rem; /** The total level 1 indentation for Amsterdam is 40 pixels, or 2.5rem. */
@@ -366,11 +374,12 @@
366
374
  --ams-column-gap-medium: var(--ams-space-m);
367
375
  --ams-column-gap-large: var(--ams-space-l);
368
376
  --ams-column-gap-x-large: var(--ams-space-xl);
377
+ --ams-date-input-disabled-cursor: var(--ams-cursor-disabled);
378
+ --ams-date-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive); /** Use the token with ‘calendar’ spelled correctly instead */
369
379
  --ams-date-input-border-color: var(--ams-inputs-border-color);
370
380
  --ams-date-input-border-style: var(--ams-inputs-border-style);
371
381
  --ams-date-input-line-height: var(--ams-inputs-line-height);
372
- --ams-date-input-disabled-cursor: var(--ams-cursor-disabled);
373
- --ams-date-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive);
382
+ --ams-date-input-calendar-picker-indicator-cursor: var(--ams-cursor-interactive);
374
383
  --ams-description-list-color: var(--ams-color-text);
375
384
  --ams-description-list-column-gap: var(--ams-space-l);
376
385
  --ams-description-list-font-family: var(--ams-typography-font-family);
@@ -413,6 +422,7 @@
413
422
  --ams-field-set-legend-line-height: var(--ams-typography-heading-3-line-height);
414
423
  --ams-field-set-legend-margin-block-end: var(--ams-space-s);
415
424
  --ams-field-set-legend-text-wrap: var(--ams-typography-heading-text-wrap);
425
+ --ams-field-set-legend-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
416
426
  --ams-field-gap: var(--ams-space-s);
417
427
  --ams-field-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
418
428
  --ams-field-invalid-padding-inline-start: var(--ams-space-m);
@@ -463,6 +473,7 @@
463
473
  --ams-heading-text-wrap: var(--ams-typography-heading-text-wrap);
464
474
  --ams-heading-inverse-color: var(--ams-color-text-inverse);
465
475
  --ams-hint-font-weight: var(--ams-typography-body-text-font-weight);
476
+ --ams-hint-in-fieldset-color: var(--ams-color-text-secondary);
466
477
  --ams-icon-button-color: var(--ams-color-interactive);
467
478
  --ams-icon-button-cursor: var(--ams-cursor-interactive);
468
479
  --ams-icon-button-outline-offset: var(--ams-focus-outline-offset);
@@ -507,6 +518,7 @@
507
518
  --ams-label-font-weight: var(--ams-typography-heading-font-weight);
508
519
  --ams-label-line-height: var(--ams-typography-heading-3-line-height);
509
520
  --ams-label-text-wrap: var(--ams-typography-heading-text-wrap);
521
+ --ams-label-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
510
522
  --ams-link-list-gap: var(--ams-space-s);
511
523
  --ams-link-list-link-font-family: var(--ams-typography-font-family);
512
524
  --ams-link-list-link-font-size: var(--ams-typography-body-text-font-size);
@@ -531,10 +543,6 @@
531
543
  --ams-logo-block-size: var(--ams-space-xl);
532
544
  --ams-logo-subsite-color: var(--ams-color-text);
533
545
  --ams-mark-background-color: var(--ams-color-highlight-yellow);
534
- --ams-menu-font-family: var(--ams-typography-font-family);
535
- --ams-menu-font-size: var(--ams-typography-body-text-font-size);
536
- --ams-menu-font-weight: var(--ams-typography-body-text-font-weight);
537
- --ams-menu-line-height: var(--ams-typography-body-text-line-height);
538
546
  --ams-menu-link-gap: var(--ams-space-s);
539
547
  --ams-menu-link-outline-offset: var(--ams-focus-outline-offset);
540
548
  --ams-menu-link-padding-block: var(--ams-space-s);
@@ -543,6 +551,14 @@
543
551
  --ams-menu-link-text-decoration-thickness: var(--ams-links-text-decoration-thickness);
544
552
  --ams-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
545
553
  --ams-menu-link-hover-text-decoration-line: var(--ams-links-subtle-hover-text-decoration-line);
554
+ --ams-menu-link-wide-gap: var(--ams-space-xs);
555
+ --ams-menu-background-color: var(--ams-color-interactive);
556
+ --ams-menu-font-family: var(--ams-typography-font-family);
557
+ --ams-menu-font-size: var(--ams-typography-body-text-font-size);
558
+ --ams-menu-font-weight: var(--ams-typography-body-text-font-weight);
559
+ --ams-menu-line-height: var(--ams-typography-body-text-line-height);
560
+ --ams-menu-padding-block: var(--ams-space-m);
561
+ --ams-menu-wide-padding-inline: var(--ams-space-s);
546
562
  --ams-menu-list-gap: var(--ams-space-m);
547
563
  --ams-ordered-list-color: var(--ams-color-text);
548
564
  --ams-ordered-list-font-family: var(--ams-typography-font-family);
@@ -587,6 +603,7 @@
587
603
  --ams-page-header-menu-item-line-height: var(--ams-typography-body-text-line-height);
588
604
  --ams-page-header-menu-item-outline-offset: var(--ams-focus-outline-offset);
589
605
  --ams-page-header-menu-item-padding-block: var(--ams-space-xs);
606
+ --ams-page-header-menu-link-gap: var(--ams-space-xs);
590
607
  --ams-page-header-menu-link-text-decoration-line: var(--ams-links-subtle-text-decoration-line);
591
608
  --ams-page-header-menu-link-text-decoration-thickness: var(--ams-links-text-decoration-thickness);
592
609
  --ams-page-header-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
@@ -767,11 +784,12 @@
767
784
  --ams-text-input-border-style: var(--ams-inputs-border-style);
768
785
  --ams-text-input-line-height: var(--ams-inputs-line-height);
769
786
  --ams-text-input-disabled-cursor: var(--ams-cursor-disabled);
787
+ --ams-time-input-disabled-cursor: var(--ams-cursor-disabled);
788
+ --ams-time-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive); /** Use the token with ‘calendar’ spelled correctly instead */
770
789
  --ams-time-input-border-color: var(--ams-inputs-border-color);
771
790
  --ams-time-input-border-style: var(--ams-inputs-border-style);
772
791
  --ams-time-input-line-height: var(--ams-inputs-line-height);
773
- --ams-time-input-disabled-cursor: var(--ams-cursor-disabled);
774
- --ams-time-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive);
792
+ --ams-time-input-calendar-picker-indicator-cursor: var(--ams-cursor-interactive);
775
793
  --ams-unordered-list-color: var(--ams-color-text);
776
794
  --ams-unordered-list-font-family: var(--ams-typography-font-family);
777
795
  --ams-unordered-list-font-size: var(--ams-typography-body-text-font-size);
@@ -791,6 +809,8 @@
791
809
  --ams-card-link-hover-color: var(--ams-links-hover-color);
792
810
  --ams-checkbox-icon-container-block-size: calc(var(--ams-checkbox-font-size) * var(--ams-checkbox-line-height));
793
811
  --ams-checkbox-icon-container-inline-size: var(--ams-checkbox-font-size);
812
+ --ams-date-input-disabled-color: var(--ams-inputs-disabled-color);
813
+ --ams-date-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
794
814
  --ams-date-input-background-color: var(--ams-inputs-background-color);
795
815
  --ams-date-input-border-width: var(--ams-inputs-border-width);
796
816
  --ams-date-input-color: var(--ams-inputs-color);
@@ -800,8 +820,6 @@
800
820
  --ams-date-input-outline-offset: var(--ams-inputs-outline-offset);
801
821
  --ams-date-input-padding-block: var(--ams-inputs-padding-block);
802
822
  --ams-date-input-padding-inline: var(--ams-inputs-padding-inline);
803
- --ams-date-input-disabled-color: var(--ams-inputs-disabled-color);
804
- --ams-date-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
805
823
  --ams-date-input-invalid-border-color: var(--ams-inputs-invalid-border-color);
806
824
  --ams-date-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
807
825
  --ams-date-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
@@ -849,12 +867,13 @@
849
867
  --ams-link-contrast-hover-color: var(--ams-links-contrast-hover-color);
850
868
  --ams-link-inverse-color: var(--ams-links-inverse-color);
851
869
  --ams-link-inverse-hover-color: var(--ams-links-inverse-hover-color);
852
- --ams-menu-link-color: var(--ams-links-color);
853
- --ams-menu-link-hover-color: var(--ams-links-hover-color);
854
- --ams-menu-link-contrast-color: var(--ams-links-contrast-color);
855
- --ams-menu-link-contrast-hover-color: var(--ams-links-contrast-hover-color);
856
- --ams-menu-link-inverse-color: var(--ams-links-inverse-color);
857
- --ams-menu-link-inverse-hover-color: var(--ams-links-inverse-hover-color);
870
+ --ams-menu-link-contrast-color: var(--ams-links-contrast-color); /** The menu has a dark background now, so this is no longer needed. */
871
+ --ams-menu-link-contrast-hover-color: var(--ams-links-contrast-hover-color); /** The menu has a dark background now, so this is no longer needed. */
872
+ --ams-menu-link-inverse-color: var(--ams-links-inverse-color); /** The menu has a dark background now, so this is no longer needed. */
873
+ --ams-menu-link-inverse-hover-color: var(--ams-links-inverse-hover-color); /** The menu has a dark background now, so this is no longer needed. */
874
+ --ams-menu-link-color: var(--ams-links-inverse-color);
875
+ --ams-menu-link-hover-color: var(--ams-links-inverse-hover-color);
876
+ --ams-menu-wide-padding-block: calc(var(--ams-logo-block-size) + 2 * var(--ams-page-header-padding-block)) var(--ams-space-m);
858
877
  --ams-page-footer-menu-padding-inline: var(--ams-grid-padding-inline);
859
878
  --ams-page-footer-menu-medium-padding-inline: var(--ams-grid-medium-padding-inline);
860
879
  --ams-page-footer-menu-wide-padding-inline: var(--ams-grid-wide-padding-inline);
@@ -866,6 +885,7 @@
866
885
  --ams-page-header-brand-name-font-size: var(--ams-typography-heading-3-font-size);
867
886
  --ams-page-header-menu-item-color: var(--ams-links-color);
868
887
  --ams-page-header-menu-item-hover-color: var(--ams-links-hover-color);
888
+ --ams-page-with-menu-area-skip-link-margin-inline-end: var(--ams-grid-padding-inline); /** Must be the Grid inline padding, to make sure Skip Link and Grid line up */
869
889
  --ams-pagination-link-color: var(--ams-links-color);
870
890
  --ams-pagination-link-hover-color: var(--ams-links-hover-color);
871
891
  --ams-password-input-background-color: var(--ams-inputs-background-color);
@@ -952,6 +972,8 @@
952
972
  --ams-text-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
953
973
  --ams-text-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
954
974
  --ams-text-input-placeholder-color: var(--ams-inputs-placeholder-color);
975
+ --ams-time-input-disabled-color: var(--ams-inputs-disabled-color);
976
+ --ams-time-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
955
977
  --ams-time-input-background-color: var(--ams-inputs-background-color);
956
978
  --ams-time-input-border-width: var(--ams-inputs-border-width);
957
979
  --ams-time-input-color: var(--ams-inputs-color);
@@ -961,8 +983,6 @@
961
983
  --ams-time-input-outline-offset: var(--ams-inputs-outline-offset);
962
984
  --ams-time-input-padding-block: var(--ams-inputs-padding-block);
963
985
  --ams-time-input-padding-inline: var(--ams-inputs-padding-inline);
964
- --ams-time-input-disabled-color: var(--ams-inputs-disabled-color);
965
- --ams-time-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
966
986
  --ams-time-input-invalid-border-color: var(--ams-inputs-invalid-border-color);
967
987
  --ams-time-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
968
988
  --ams-time-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
package/dist/index.d.ts CHANGED
@@ -595,6 +595,29 @@ declare const tokens: {
595
595
  };
596
596
  };
597
597
  "date-input": {
598
+ disabled: {
599
+ "calender-picker-indicator": {
600
+ "background-image": DesignToken;
601
+ };
602
+ color: DesignToken;
603
+ cursor: DesignToken;
604
+ "calendar-picker-indicator": {
605
+ "background-image": DesignToken;
606
+ };
607
+ };
608
+ hover: {
609
+ "calender-picker-indicator": {
610
+ "background-image": DesignToken;
611
+ };
612
+ "box-shadow": DesignToken;
613
+ "calendar-picker-indicator": {
614
+ "background-image": DesignToken;
615
+ };
616
+ };
617
+ "calender-picker-indicator": {
618
+ "background-image": DesignToken;
619
+ cursor: DesignToken;
620
+ };
598
621
  "background-color": DesignToken;
599
622
  "border-color": DesignToken;
600
623
  "border-style": DesignToken;
@@ -607,19 +630,6 @@ declare const tokens: {
607
630
  "outline-offset": DesignToken;
608
631
  "padding-block": DesignToken;
609
632
  "padding-inline": DesignToken;
610
- disabled: {
611
- color: DesignToken;
612
- cursor: DesignToken;
613
- "calender-picker-indicator": {
614
- "background-image": DesignToken;
615
- };
616
- };
617
- hover: {
618
- "box-shadow": DesignToken;
619
- "calender-picker-indicator": {
620
- "background-image": DesignToken;
621
- };
622
- };
623
633
  invalid: {
624
634
  "border-color": DesignToken;
625
635
  hover: {
@@ -627,7 +637,7 @@ declare const tokens: {
627
637
  "box-shadow": DesignToken;
628
638
  };
629
639
  };
630
- "calender-picker-indicator": {
640
+ "calendar-picker-indicator": {
631
641
  "background-image": DesignToken;
632
642
  cursor: DesignToken;
633
643
  };
@@ -721,6 +731,9 @@ declare const tokens: {
721
731
  "line-height": DesignToken;
722
732
  "margin-block-end": DesignToken;
723
733
  "text-wrap": DesignToken;
734
+ "in-fieldset": {
735
+ "font-weight": DesignToken;
736
+ };
724
737
  };
725
738
  };
726
739
  field: {
@@ -857,6 +870,9 @@ declare const tokens: {
857
870
  };
858
871
  hint: {
859
872
  "font-weight": DesignToken;
873
+ "in-fieldset": {
874
+ color: DesignToken;
875
+ };
860
876
  };
861
877
  "icon-button": {
862
878
  color: DesignToken;
@@ -971,6 +987,9 @@ declare const tokens: {
971
987
  "font-weight": DesignToken;
972
988
  "line-height": DesignToken;
973
989
  "text-wrap": DesignToken;
990
+ "in-fieldset": {
991
+ "font-weight": DesignToken;
992
+ };
974
993
  };
975
994
  "link-list": {
976
995
  gap: DesignToken;
@@ -1055,11 +1074,19 @@ declare const tokens: {
1055
1074
  "background-color": DesignToken;
1056
1075
  };
1057
1076
  menu: {
1058
- "font-family": DesignToken;
1059
- "font-size": DesignToken;
1060
- "font-weight": DesignToken;
1061
- "line-height": DesignToken;
1062
1077
  link: {
1078
+ contrast: {
1079
+ color: DesignToken;
1080
+ hover: {
1081
+ color: DesignToken;
1082
+ };
1083
+ };
1084
+ inverse: {
1085
+ color: DesignToken;
1086
+ hover: {
1087
+ color: DesignToken;
1088
+ };
1089
+ };
1063
1090
  color: DesignToken;
1064
1091
  gap: DesignToken;
1065
1092
  "outline-offset": DesignToken;
@@ -1072,19 +1099,21 @@ declare const tokens: {
1072
1099
  color: DesignToken;
1073
1100
  "text-decoration-line": DesignToken;
1074
1101
  };
1075
- contrast: {
1076
- color: DesignToken;
1077
- hover: {
1078
- color: DesignToken;
1079
- };
1080
- };
1081
- inverse: {
1082
- color: DesignToken;
1083
- hover: {
1084
- color: DesignToken;
1085
- };
1102
+ wide: {
1103
+ gap: DesignToken;
1086
1104
  };
1087
1105
  };
1106
+ "background-color": DesignToken;
1107
+ "font-family": DesignToken;
1108
+ "font-size": DesignToken;
1109
+ "font-weight": DesignToken;
1110
+ "line-height": DesignToken;
1111
+ "padding-block": DesignToken;
1112
+ wide: {
1113
+ "max-inline-size": DesignToken;
1114
+ "padding-block": DesignToken;
1115
+ "padding-inline": DesignToken;
1116
+ };
1088
1117
  list: {
1089
1118
  gap: DesignToken;
1090
1119
  };
@@ -1199,6 +1228,7 @@ declare const tokens: {
1199
1228
  };
1200
1229
  };
1201
1230
  link: {
1231
+ gap: DesignToken;
1202
1232
  "text-decoration-line": DesignToken;
1203
1233
  "text-decoration-thickness": DesignToken;
1204
1234
  "text-underline-offset": DesignToken;
@@ -1226,6 +1256,12 @@ declare const tokens: {
1226
1256
  page: {
1227
1257
  "background-color": DesignToken;
1228
1258
  "max-inline-size": DesignToken;
1259
+ "with-menu": {
1260
+ "max-inline-size": DesignToken;
1261
+ "area-skip-link": {
1262
+ "margin-inline-end": DesignToken;
1263
+ };
1264
+ };
1229
1265
  };
1230
1266
  pagination: {
1231
1267
  "font-family": DesignToken;
@@ -1692,6 +1728,29 @@ declare const tokens: {
1692
1728
  };
1693
1729
  };
1694
1730
  "time-input": {
1731
+ disabled: {
1732
+ "calender-picker-indicator": {
1733
+ "background-image": DesignToken;
1734
+ };
1735
+ color: DesignToken;
1736
+ cursor: DesignToken;
1737
+ "calendar-picker-indicator": {
1738
+ "background-image": DesignToken;
1739
+ };
1740
+ };
1741
+ hover: {
1742
+ "calender-picker-indicator": {
1743
+ "background-image": DesignToken;
1744
+ };
1745
+ "box-shadow": DesignToken;
1746
+ "calendar-picker-indicator": {
1747
+ "background-image": DesignToken;
1748
+ };
1749
+ };
1750
+ "calender-picker-indicator": {
1751
+ "background-image": DesignToken;
1752
+ cursor: DesignToken;
1753
+ };
1695
1754
  "background-color": DesignToken;
1696
1755
  "border-color": DesignToken;
1697
1756
  "border-style": DesignToken;
@@ -1704,19 +1763,6 @@ declare const tokens: {
1704
1763
  "outline-offset": DesignToken;
1705
1764
  "padding-block": DesignToken;
1706
1765
  "padding-inline": DesignToken;
1707
- disabled: {
1708
- color: DesignToken;
1709
- cursor: DesignToken;
1710
- "calender-picker-indicator": {
1711
- "background-image": DesignToken;
1712
- };
1713
- };
1714
- hover: {
1715
- "box-shadow": DesignToken;
1716
- "calender-picker-indicator": {
1717
- "background-image": DesignToken;
1718
- };
1719
- };
1720
1766
  invalid: {
1721
1767
  "border-color": DesignToken;
1722
1768
  hover: {
@@ -1724,7 +1770,7 @@ declare const tokens: {
1724
1770
  "box-shadow": DesignToken;
1725
1771
  };
1726
1772
  };
1727
- "calender-picker-indicator": {
1773
+ "calendar-picker-indicator": {
1728
1774
  "background-image": DesignToken;
1729
1775
  cursor: DesignToken;
1730
1776
  };