@amsterdam/design-system-tokens 0.16.0 → 1.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 (35) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/compact.css +3 -0
  3. package/dist/compact.d.ts +7 -0
  4. package/dist/compact.json +8 -1
  5. package/dist/compact.mjs +4 -0
  6. package/dist/compact.scss +3 -0
  7. package/dist/compact.theme.css +3 -0
  8. package/dist/index.css +132 -105
  9. package/dist/index.d.ts +127 -86
  10. package/dist/index.json +180 -139
  11. package/dist/index.mjs +154 -134
  12. package/dist/index.scss +123 -96
  13. package/dist/index.theme.css +132 -105
  14. package/package.json +2 -2
  15. package/src/brand/ams/focus.tokens.json +1 -1
  16. package/src/brand/ams/typography.compact.tokens.json +2 -1
  17. package/src/components/ams/alert.tokens.json +6 -7
  18. package/src/components/ams/avatar.tokens.json +9 -0
  19. package/src/components/ams/button.tokens.json +8 -12
  20. package/src/components/ams/checkbox.tokens.json +57 -36
  21. package/src/components/ams/date-input.tokens.json +9 -8
  22. package/src/components/ams/dialog.tokens.json +3 -1
  23. package/src/components/ams/file-input.tokens.json +8 -11
  24. package/src/components/ams/hint.tokens.json +1 -1
  25. package/src/components/ams/page-header.compact.tokens.json +10 -0
  26. package/src/components/ams/page-header.tokens.json +1 -0
  27. package/src/components/ams/password-input.tokens.json +7 -6
  28. package/src/components/ams/radio.tokens.json +0 -2
  29. package/src/components/ams/search-field.tokens.json +7 -4
  30. package/src/components/ams/select.tokens.json +11 -6
  31. package/src/components/ams/switch.tokens.json +2 -2
  32. package/src/components/ams/tabs.tokens.json +3 -3
  33. package/src/components/ams/text-area.tokens.json +7 -6
  34. package/src/components/ams/text-input.tokens.json +7 -6
  35. package/src/components/ams/time-input.tokens.json +9 -8
@@ -2,7 +2,9 @@
2
2
  "ams": {
3
3
  "time-input": {
4
4
  "background-color": { "value": "{ams.color.background}" },
5
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.secondary}" },
5
+ "border-color": { "value": "currentColor" },
6
+ "border-style": { "value": "solid" },
7
+ "border-width": { "value": "{ams.border.width.m}" },
6
8
  "color": { "value": "{ams.color.text.default}" },
7
9
  "font-family": { "value": "{ams.typography.font-family}" },
8
10
  "font-size": { "value": "{ams.typography.body-text.font-size}" },
@@ -18,28 +20,27 @@
18
20
  "cursor": { "value": "{ams.cursor.interactive}" }
19
21
  },
20
22
  "disabled": {
21
- "background-color": { "value": "{ams.color.background}" },
22
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.disabled}" },
23
23
  "color": { "value": "{ams.color.interactive.disabled}" },
24
24
  "cursor": { "value": "{ams.cursor.disabled}" },
25
25
  "calender-picker-indicator": {
26
26
  "background-image": {
27
- "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23BEBEBE'><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>\")"
27
+ "value": "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>\")"
28
28
  }
29
29
  }
30
30
  },
31
31
  "hover": {
32
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" },
32
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s}" },
33
33
  "calender-picker-indicator": {
34
34
  "background-image": {
35
- "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23102E62'><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>\")"
35
+ "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>\")"
36
36
  }
37
37
  }
38
38
  },
39
39
  "invalid": {
40
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.default}" },
40
+ "border-color": { "value": "{ams.color.interactive.invalid.default}" },
41
41
  "hover": {
42
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.invalid.hover}" }
42
+ "border-color": { "value": "{ams.color.interactive.invalid.hover}" },
43
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.hover}" }
43
44
  }
44
45
  }
45
46
  }