@amsterdam/design-system-tokens 2.0.0 → 2.1.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,26 @@
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.1.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.0.0...design-system-tokens-v2.1.0) (2025-10-31)
7
+
8
+
9
+ ### Deprecations
10
+
11
+ The following tokens will be removed in release 4.0.0. If you use them in your code, please delete them.
12
+
13
+ - `ams.menu.link.contrast.color`, `ams.menu.link.contrast.hover.color`, `ams.menu.link.inverse.color`, `ams.menu.link.inverse.hover.color`.
14
+ - `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`.
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **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))
25
+
6
26
  ## [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
27
 
8
28
 
@@ -12,14 +32,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
12
32
 
13
33
  ### Deprecations
14
34
 
15
- The following tokens will be removed in the next major release. If you use them in your code, please delete them.
35
+ The following tokens will be removed in release 4.0.0. If you use them in your code, please delete them.
16
36
 
17
37
  * `ams.accordion.panel.*` and some tokens in `ams.accordion.button`
18
38
  * `ams.checkbox.hover.text-decoration-thickness` and `ams.checkbox.rectangle.*`
19
39
  * `ams.color.interactive.secondary`
20
40
  * `ams.icon.heading-0.*`
21
41
  * `ams.page-heading.*`
22
- * `ams.standalone-link.with-icon.*`, `ams.standalone-link.hover.text-decoration-thickness` and `ams.standalone-link.hover.text-underline-offset`
42
+ * `ams.standalone-link.with-icon.*`, `ams.standalone-link.hover.text-decoration-thickness` and `ams.standalone-link.hover.text-underline-offset`
23
43
  * `ams.table-of-contents.*`
24
44
  * `ams.typography.heading.0.*` and `ams.typography.heading.6.*`
25
45
 
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. */
@@ -136,9 +140,12 @@
136
140
  --ams-switch-inline-size: 3.5rem;
137
141
  --ams-switch-thumb-block-size: 1.75rem;
138
142
  --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>");
143
+ --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 */
144
+ --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>");
145
+ --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 */
146
+ --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>");
147
+ --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 */
148
+ --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
149
  --ams-unordered-list-list-style-type: '\2022';
143
150
  --ams-unordered-list-item-margin-inline-start: 1.625rem; /** Divide your total indentation width over margin and padding to position the marker. */
144
151
  --ams-unordered-list-item-padding-inline-start: 0.875rem; /** The total level 1 indentation for Amsterdam is 40 pixels, or 2.5rem. */
@@ -366,11 +373,12 @@
366
373
  --ams-column-gap-medium: var(--ams-space-m);
367
374
  --ams-column-gap-large: var(--ams-space-l);
368
375
  --ams-column-gap-x-large: var(--ams-space-xl);
376
+ --ams-date-input-disabled-cursor: var(--ams-cursor-disabled);
377
+ --ams-date-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive); /** Use the token with ‘calendar’ spelled correctly instead */
369
378
  --ams-date-input-border-color: var(--ams-inputs-border-color);
370
379
  --ams-date-input-border-style: var(--ams-inputs-border-style);
371
380
  --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);
381
+ --ams-date-input-calendar-picker-indicator-cursor: var(--ams-cursor-interactive);
374
382
  --ams-description-list-color: var(--ams-color-text);
375
383
  --ams-description-list-column-gap: var(--ams-space-l);
376
384
  --ams-description-list-font-family: var(--ams-typography-font-family);
@@ -531,10 +539,6 @@
531
539
  --ams-logo-block-size: var(--ams-space-xl);
532
540
  --ams-logo-subsite-color: var(--ams-color-text);
533
541
  --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
542
  --ams-menu-link-gap: var(--ams-space-s);
539
543
  --ams-menu-link-outline-offset: var(--ams-focus-outline-offset);
540
544
  --ams-menu-link-padding-block: var(--ams-space-s);
@@ -543,6 +547,14 @@
543
547
  --ams-menu-link-text-decoration-thickness: var(--ams-links-text-decoration-thickness);
544
548
  --ams-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
545
549
  --ams-menu-link-hover-text-decoration-line: var(--ams-links-subtle-hover-text-decoration-line);
550
+ --ams-menu-link-wide-gap: var(--ams-space-xs);
551
+ --ams-menu-background-color: var(--ams-color-interactive);
552
+ --ams-menu-font-family: var(--ams-typography-font-family);
553
+ --ams-menu-font-size: var(--ams-typography-body-text-font-size);
554
+ --ams-menu-font-weight: var(--ams-typography-body-text-font-weight);
555
+ --ams-menu-line-height: var(--ams-typography-body-text-line-height);
556
+ --ams-menu-padding-block: var(--ams-space-m);
557
+ --ams-menu-wide-padding-inline: var(--ams-space-s);
546
558
  --ams-menu-list-gap: var(--ams-space-m);
547
559
  --ams-ordered-list-color: var(--ams-color-text);
548
560
  --ams-ordered-list-font-family: var(--ams-typography-font-family);
@@ -767,11 +779,12 @@
767
779
  --ams-text-input-border-style: var(--ams-inputs-border-style);
768
780
  --ams-text-input-line-height: var(--ams-inputs-line-height);
769
781
  --ams-text-input-disabled-cursor: var(--ams-cursor-disabled);
782
+ --ams-time-input-disabled-cursor: var(--ams-cursor-disabled);
783
+ --ams-time-input-calender-picker-indicator-cursor: var(--ams-cursor-interactive); /** Use the token with ‘calendar’ spelled correctly instead */
770
784
  --ams-time-input-border-color: var(--ams-inputs-border-color);
771
785
  --ams-time-input-border-style: var(--ams-inputs-border-style);
772
786
  --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);
787
+ --ams-time-input-calendar-picker-indicator-cursor: var(--ams-cursor-interactive);
775
788
  --ams-unordered-list-color: var(--ams-color-text);
776
789
  --ams-unordered-list-font-family: var(--ams-typography-font-family);
777
790
  --ams-unordered-list-font-size: var(--ams-typography-body-text-font-size);
@@ -791,6 +804,8 @@
791
804
  --ams-card-link-hover-color: var(--ams-links-hover-color);
792
805
  --ams-checkbox-icon-container-block-size: calc(var(--ams-checkbox-font-size) * var(--ams-checkbox-line-height));
793
806
  --ams-checkbox-icon-container-inline-size: var(--ams-checkbox-font-size);
807
+ --ams-date-input-disabled-color: var(--ams-inputs-disabled-color);
808
+ --ams-date-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
794
809
  --ams-date-input-background-color: var(--ams-inputs-background-color);
795
810
  --ams-date-input-border-width: var(--ams-inputs-border-width);
796
811
  --ams-date-input-color: var(--ams-inputs-color);
@@ -800,8 +815,6 @@
800
815
  --ams-date-input-outline-offset: var(--ams-inputs-outline-offset);
801
816
  --ams-date-input-padding-block: var(--ams-inputs-padding-block);
802
817
  --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
818
  --ams-date-input-invalid-border-color: var(--ams-inputs-invalid-border-color);
806
819
  --ams-date-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
807
820
  --ams-date-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
@@ -849,12 +862,13 @@
849
862
  --ams-link-contrast-hover-color: var(--ams-links-contrast-hover-color);
850
863
  --ams-link-inverse-color: var(--ams-links-inverse-color);
851
864
  --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);
865
+ --ams-menu-link-contrast-color: var(--ams-links-contrast-color); /** The menu has a dark background now, so this is no longer needed. */
866
+ --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. */
867
+ --ams-menu-link-inverse-color: var(--ams-links-inverse-color); /** The menu has a dark background now, so this is no longer needed. */
868
+ --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. */
869
+ --ams-menu-link-color: var(--ams-links-inverse-color);
870
+ --ams-menu-link-hover-color: var(--ams-links-inverse-hover-color);
871
+ --ams-menu-wide-padding-block: calc(var(--ams-logo-block-size) + 2 * var(--ams-page-header-padding-block)) var(--ams-space-m);
858
872
  --ams-page-footer-menu-padding-inline: var(--ams-grid-padding-inline);
859
873
  --ams-page-footer-menu-medium-padding-inline: var(--ams-grid-medium-padding-inline);
860
874
  --ams-page-footer-menu-wide-padding-inline: var(--ams-grid-wide-padding-inline);
@@ -952,6 +966,8 @@
952
966
  --ams-text-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
953
967
  --ams-text-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
954
968
  --ams-text-input-placeholder-color: var(--ams-inputs-placeholder-color);
969
+ --ams-time-input-disabled-color: var(--ams-inputs-disabled-color);
970
+ --ams-time-input-hover-box-shadow: var(--ams-inputs-hover-box-shadow);
955
971
  --ams-time-input-background-color: var(--ams-inputs-background-color);
956
972
  --ams-time-input-border-width: var(--ams-inputs-border-width);
957
973
  --ams-time-input-color: var(--ams-inputs-color);
@@ -961,8 +977,6 @@
961
977
  --ams-time-input-outline-offset: var(--ams-inputs-outline-offset);
962
978
  --ams-time-input-padding-block: var(--ams-inputs-padding-block);
963
979
  --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
980
  --ams-time-input-invalid-border-color: var(--ams-inputs-invalid-border-color);
967
981
  --ams-time-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
968
982
  --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
  };
@@ -1055,11 +1065,19 @@ declare const tokens: {
1055
1065
  "background-color": DesignToken;
1056
1066
  };
1057
1067
  menu: {
1058
- "font-family": DesignToken;
1059
- "font-size": DesignToken;
1060
- "font-weight": DesignToken;
1061
- "line-height": DesignToken;
1062
1068
  link: {
1069
+ contrast: {
1070
+ color: DesignToken;
1071
+ hover: {
1072
+ color: DesignToken;
1073
+ };
1074
+ };
1075
+ inverse: {
1076
+ color: DesignToken;
1077
+ hover: {
1078
+ color: DesignToken;
1079
+ };
1080
+ };
1063
1081
  color: DesignToken;
1064
1082
  gap: DesignToken;
1065
1083
  "outline-offset": DesignToken;
@@ -1072,19 +1090,21 @@ declare const tokens: {
1072
1090
  color: DesignToken;
1073
1091
  "text-decoration-line": DesignToken;
1074
1092
  };
1075
- contrast: {
1076
- color: DesignToken;
1077
- hover: {
1078
- color: DesignToken;
1079
- };
1080
- };
1081
- inverse: {
1082
- color: DesignToken;
1083
- hover: {
1084
- color: DesignToken;
1085
- };
1093
+ wide: {
1094
+ gap: DesignToken;
1086
1095
  };
1087
1096
  };
1097
+ "background-color": DesignToken;
1098
+ "font-family": DesignToken;
1099
+ "font-size": DesignToken;
1100
+ "font-weight": DesignToken;
1101
+ "line-height": DesignToken;
1102
+ "padding-block": DesignToken;
1103
+ wide: {
1104
+ "max-inline-size": DesignToken;
1105
+ "padding-block": DesignToken;
1106
+ "padding-inline": DesignToken;
1107
+ };
1088
1108
  list: {
1089
1109
  gap: DesignToken;
1090
1110
  };
@@ -1692,6 +1712,29 @@ declare const tokens: {
1692
1712
  };
1693
1713
  };
1694
1714
  "time-input": {
1715
+ disabled: {
1716
+ "calender-picker-indicator": {
1717
+ "background-image": DesignToken;
1718
+ };
1719
+ color: DesignToken;
1720
+ cursor: DesignToken;
1721
+ "calendar-picker-indicator": {
1722
+ "background-image": DesignToken;
1723
+ };
1724
+ };
1725
+ hover: {
1726
+ "calender-picker-indicator": {
1727
+ "background-image": DesignToken;
1728
+ };
1729
+ "box-shadow": DesignToken;
1730
+ "calendar-picker-indicator": {
1731
+ "background-image": DesignToken;
1732
+ };
1733
+ };
1734
+ "calender-picker-indicator": {
1735
+ "background-image": DesignToken;
1736
+ cursor: DesignToken;
1737
+ };
1695
1738
  "background-color": DesignToken;
1696
1739
  "border-color": DesignToken;
1697
1740
  "border-style": DesignToken;
@@ -1704,19 +1747,6 @@ declare const tokens: {
1704
1747
  "outline-offset": DesignToken;
1705
1748
  "padding-block": DesignToken;
1706
1749
  "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
1750
  invalid: {
1721
1751
  "border-color": DesignToken;
1722
1752
  hover: {
@@ -1724,7 +1754,7 @@ declare const tokens: {
1724
1754
  "box-shadow": DesignToken;
1725
1755
  };
1726
1756
  };
1727
- "calender-picker-indicator": {
1757
+ "calendar-picker-indicator": {
1728
1758
  "background-image": DesignToken;
1729
1759
  cursor: DesignToken;
1730
1760
  };
package/dist/index.json CHANGED
@@ -579,6 +579,29 @@
579
579
  }
580
580
  },
581
581
  "date-input": {
582
+ "disabled": {
583
+ "calender-picker-indicator": {
584
+ "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>\")"
585
+ },
586
+ "color": "#767676",
587
+ "cursor": "not-allowed",
588
+ "calendar-picker-indicator": {
589
+ "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>\")"
590
+ }
591
+ },
592
+ "hover": {
593
+ "calender-picker-indicator": {
594
+ "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>\")"
595
+ },
596
+ "box-shadow": "inset 0 0 0 0.0625rem",
597
+ "calendar-picker-indicator": {
598
+ "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>\")"
599
+ }
600
+ },
601
+ "calender-picker-indicator": {
602
+ "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>\")",
603
+ "cursor": "pointer"
604
+ },
582
605
  "background-color": "#ffffff",
583
606
  "border-color": "currentColor",
584
607
  "border-style": "solid",
@@ -591,19 +614,6 @@
591
614
  "outline-offset": "0.25rem",
592
615
  "padding-block": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
593
616
  "padding-inline": "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)",
594
- "disabled": {
595
- "color": "#767676",
596
- "cursor": "not-allowed",
597
- "calender-picker-indicator": {
598
- "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>\")"
599
- }
600
- },
601
- "hover": {
602
- "box-shadow": "inset 0 0 0 0.0625rem",
603
- "calender-picker-indicator": {
604
- "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>\")"
605
- }
606
- },
607
617
  "invalid": {
608
618
  "border-color": "#ec0000",
609
619
  "hover": {
@@ -611,7 +621,7 @@
611
621
  "box-shadow": "inset 0 0 0 0.0625rem #b70000"
612
622
  }
613
623
  },
614
- "calender-picker-indicator": {
624
+ "calendar-picker-indicator": {
615
625
  "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>\")",
616
626
  "cursor": "pointer"
617
627
  }
@@ -1039,23 +1049,7 @@
1039
1049
  "background-color": "#ffe600"
1040
1050
  },
1041
1051
  "menu": {
1042
- "font-family": "'Amsterdam Sans', Arial, sans-serif",
1043
- "font-size": "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)",
1044
- "font-weight": "400",
1045
- "line-height": "1.8",
1046
1052
  "link": {
1047
- "color": "#004699",
1048
- "gap": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1049
- "outline-offset": "0.25rem",
1050
- "padding-block": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1051
- "padding-inline": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1052
- "text-decoration-line": "none",
1053
- "text-decoration-thickness": "0.125rem",
1054
- "text-underline-offset": "0.15625rem",
1055
- "hover": {
1056
- "color": "#003677",
1057
- "text-decoration-line": "underline"
1058
- },
1059
1053
  "contrast": {
1060
1054
  "color": "#181818",
1061
1055
  "hover": {
@@ -1067,8 +1061,34 @@
1067
1061
  "hover": {
1068
1062
  "color": "#ffffff"
1069
1063
  }
1064
+ },
1065
+ "color": "#ffffff",
1066
+ "gap": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1067
+ "outline-offset": "0.25rem",
1068
+ "padding-block": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1069
+ "padding-inline": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1070
+ "text-decoration-line": "none",
1071
+ "text-decoration-thickness": "0.125rem",
1072
+ "text-underline-offset": "0.15625rem",
1073
+ "hover": {
1074
+ "color": "#ffffff",
1075
+ "text-decoration-line": "underline"
1076
+ },
1077
+ "wide": {
1078
+ "gap": "clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)"
1070
1079
  }
1071
1080
  },
1081
+ "background-color": "#004699",
1082
+ "font-family": "'Amsterdam Sans', Arial, sans-serif",
1083
+ "font-size": "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)",
1084
+ "font-weight": "400",
1085
+ "line-height": "1.8",
1086
+ "padding-block": "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)",
1087
+ "wide": {
1088
+ "max-inline-size": "8rem",
1089
+ "padding-block": "calc(clamp(2.25rem, 1.8214rem + 2.1429vw, 3.75rem) + 2 * clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)) clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)",
1090
+ "padding-inline": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)"
1091
+ },
1072
1092
  "list": {
1073
1093
  "gap": "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)"
1074
1094
  }
@@ -1676,6 +1696,29 @@
1676
1696
  }
1677
1697
  },
1678
1698
  "time-input": {
1699
+ "disabled": {
1700
+ "calender-picker-indicator": {
1701
+ "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>\")"
1702
+ },
1703
+ "color": "#767676",
1704
+ "cursor": "not-allowed",
1705
+ "calendar-picker-indicator": {
1706
+ "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>\")"
1707
+ }
1708
+ },
1709
+ "hover": {
1710
+ "calender-picker-indicator": {
1711
+ "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>\")"
1712
+ },
1713
+ "box-shadow": "inset 0 0 0 0.0625rem",
1714
+ "calendar-picker-indicator": {
1715
+ "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>\")"
1716
+ }
1717
+ },
1718
+ "calender-picker-indicator": {
1719
+ "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>\")",
1720
+ "cursor": "pointer"
1721
+ },
1679
1722
  "background-color": "#ffffff",
1680
1723
  "border-color": "currentColor",
1681
1724
  "border-style": "solid",
@@ -1688,19 +1731,6 @@
1688
1731
  "outline-offset": "0.25rem",
1689
1732
  "padding-block": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
1690
1733
  "padding-inline": "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)",
1691
- "disabled": {
1692
- "color": "#767676",
1693
- "cursor": "not-allowed",
1694
- "calender-picker-indicator": {
1695
- "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>\")"
1696
- }
1697
- },
1698
- "hover": {
1699
- "box-shadow": "inset 0 0 0 0.0625rem",
1700
- "calender-picker-indicator": {
1701
- "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>\")"
1702
- }
1703
- },
1704
1734
  "invalid": {
1705
1735
  "border-color": "#ec0000",
1706
1736
  "hover": {
@@ -1708,7 +1738,7 @@
1708
1738
  "box-shadow": "inset 0 0 0 0.0625rem #b70000"
1709
1739
  }
1710
1740
  },
1711
- "calender-picker-indicator": {
1741
+ "calendar-picker-indicator": {
1712
1742
  "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>\")",
1713
1743
  "cursor": "pointer"
1714
1744
  }