@amsterdam/design-system-tokens 0.7.1 → 0.9.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 (47) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/dist/compact.css +1 -1
  3. package/dist/compact.d.ts +1 -1
  4. package/dist/compact.mjs +1 -1
  5. package/dist/compact.scss +1 -1
  6. package/dist/compact.theme.css +1 -1
  7. package/dist/index.css +232 -95
  8. package/dist/index.d.ts +278 -49
  9. package/dist/index.json +341 -112
  10. package/dist/index.mjs +244 -107
  11. package/dist/index.scss +232 -95
  12. package/dist/index.theme.css +232 -95
  13. package/package.json +1 -1
  14. package/src/brand/ams/border.tokens.json +12 -0
  15. package/src/common/ams/focus.tokens.json +1 -1
  16. package/src/common/ams/link-appearance.tokens.json +4 -4
  17. package/src/components/ams/accordion.tokens.json +6 -4
  18. package/src/components/ams/alert.tokens.json +1 -1
  19. package/src/components/ams/badge.tokens.json +28 -4
  20. package/src/components/ams/breadcrumb.tokens.json +1 -1
  21. package/src/components/ams/button.tokens.json +11 -8
  22. package/src/components/ams/checkbox.tokens.json +6 -2
  23. package/src/components/ams/date-input.tokens.json +45 -0
  24. package/src/components/ams/description-list.tokens.json +20 -0
  25. package/src/components/ams/error-message.tokens.json +11 -0
  26. package/src/components/ams/{fieldset.tokens.json → field-set.tokens.json} +11 -2
  27. package/src/components/ams/field.tokens.json +17 -0
  28. package/src/components/ams/file-input.tokens.json +42 -0
  29. package/src/components/ams/{form-label.tokens.json → label.tokens.json} +1 -1
  30. package/src/components/ams/link-list.tokens.json +2 -4
  31. package/src/components/ams/logo.tokens.json +1 -1
  32. package/src/components/ams/ordered-list.tokens.json +4 -0
  33. package/src/components/ams/page-menu.tokens.json +2 -2
  34. package/src/components/ams/paragraph.tokens.json +2 -4
  35. package/src/components/ams/radio.tokens.json +4 -1
  36. package/src/components/ams/screen.tokens.json +3 -2
  37. package/src/components/ams/search-field.tokens.json +16 -9
  38. package/src/components/ams/select.tokens.json +41 -0
  39. package/src/components/ams/skip-link.tokens.json +1 -1
  40. package/src/components/ams/switch.tokens.json +6 -5
  41. package/src/components/ams/table.tokens.json +2 -2
  42. package/src/components/ams/tabs.tokens.json +3 -4
  43. package/src/components/ams/text-area.tokens.json +10 -9
  44. package/src/components/ams/text-input.tokens.json +8 -7
  45. package/src/components/ams/time-input.tokens.json +45 -0
  46. package/src/components/ams/unordered-list.tokens.json +4 -0
  47. package/src/common/ams/border.tokens.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,65 @@
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
+ ## [0.9.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v0.8.0...design-system-tokens-v0.9.0) (2024-06-05)
7
+
8
+
9
+ ### ⚠ BREAKING CHANGES
10
+
11
+ * Disallow directional style rules ([#1245](https://github.com/Amsterdam/design-system/issues/1245))
12
+ * Use invalid prop for most inputs ([#1240](https://github.com/Amsterdam/design-system/issues/1240))
13
+ * Add invalid prop to Field Set and update Field and Field Set docs ([#1237](https://github.com/Amsterdam/design-system/issues/1237))
14
+ * Allow additional background colours for Badge and remove dark blue option ([#1236](https://github.com/Amsterdam/design-system/issues/1236))
15
+ * Rename Breadcrumb Item to Link ([#1232](https://github.com/Amsterdam/design-system/issues/1232))
16
+ * Use logical properties for Search Field, Select, Text Area and Text Input ([#1226](https://github.com/Amsterdam/design-system/issues/1226))
17
+ * Flatten token names for default text size and line height ([#1221](https://github.com/Amsterdam/design-system/issues/1221))
18
+
19
+ ### Features
20
+
21
+ * Add Error Message ([#1247](https://github.com/Amsterdam/design-system/issues/1247)) ([1dec2ea](https://github.com/Amsterdam/design-system/commit/1dec2ead41fba24e4128c2e1d60b72a7ccb29a92))
22
+ * Add Field component ([#1228](https://github.com/Amsterdam/design-system/issues/1228)) ([66832aa](https://github.com/Amsterdam/design-system/commit/66832aaf14a209915b60498acecf90cecff27c23))
23
+ * Add invalid prop to Field Set and update Field and Field Set docs ([#1237](https://github.com/Amsterdam/design-system/issues/1237)) ([d7316e8](https://github.com/Amsterdam/design-system/commit/d7316e81cd424f79f9bd655265d1c9b41296fecf))
24
+ * Allow additional background colours for Badge and remove dark blue option ([#1236](https://github.com/Amsterdam/design-system/issues/1236)) ([eec669a](https://github.com/Amsterdam/design-system/commit/eec669ad79353fc205e12a35aa7d0a8297c72e41))
25
+ * Allow small text for ordered lists ([#1219](https://github.com/Amsterdam/design-system/issues/1219)) ([0e77bd6](https://github.com/Amsterdam/design-system/commit/0e77bd60d8f395417c3c736d8e51a3ca3729ece5))
26
+ * Allow small text for unordered lists ([#1217](https://github.com/Amsterdam/design-system/issues/1217)) ([5012851](https://github.com/Amsterdam/design-system/commit/5012851492e50e50e2a651250622740e517fd22f))
27
+ * File Input ([#1218](https://github.com/Amsterdam/design-system/issues/1218)) ([7b6ba98](https://github.com/Amsterdam/design-system/commit/7b6ba98530caaefafedada5b89a175ef0b1a8784))
28
+ * Rename Breadcrumb Item to Link ([#1232](https://github.com/Amsterdam/design-system/issues/1232)) ([6cf2e5e](https://github.com/Amsterdam/design-system/commit/6cf2e5e51217900a24d739c4569c13237b9fb4ab))
29
+ * Use invalid prop for most inputs ([#1240](https://github.com/Amsterdam/design-system/issues/1240)) ([9477186](https://github.com/Amsterdam/design-system/commit/9477186b8432d6d20991e93d92c64a4357d6f391))
30
+ * Use logical properties for Search Field, Select, Text Area and Text Input ([#1226](https://github.com/Amsterdam/design-system/issues/1226)) ([4471c7a](https://github.com/Amsterdam/design-system/commit/4471c7a154e9f1f31dd92298f932f4bbc134dbf9))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * Disallow directional style rules ([#1245](https://github.com/Amsterdam/design-system/issues/1245)) ([8ab6f81](https://github.com/Amsterdam/design-system/commit/8ab6f81d4cbcdb75b7acb986a145d49ccd1895c8))
36
+ * Flatten token names for default text size and line height ([#1221](https://github.com/Amsterdam/design-system/issues/1221)) ([6eeaeb4](https://github.com/Amsterdam/design-system/commit/6eeaeb41fae90a2d455b4e41da3ff3a4561dcbe4))
37
+
38
+ ## [0.8.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v0.7.1...design-system-tokens-v0.8.0) (2024-04-22)
39
+
40
+
41
+ ### ⚠ BREAKING CHANGES
42
+
43
+ * Rename Form Label to Label ([#1201](https://github.com/Amsterdam/design-system/issues/1201))
44
+ * Allow setting a background colour on Tabs List ([#1142](https://github.com/Amsterdam/design-system/issues/1142))
45
+
46
+ ### Features
47
+
48
+ * Add background colour and full-height prop to Screen ([#1144](https://github.com/Amsterdam/design-system/issues/1144)) ([c4621e8](https://github.com/Amsterdam/design-system/commit/c4621e817cb0306fe109046d41847725d47b33a2))
49
+ * Add border tokens and use rems for widths ([#1147](https://github.com/Amsterdam/design-system/issues/1147)) ([d91d889](https://github.com/Amsterdam/design-system/commit/d91d889c3a529a90167bd9b9d0d9c3174b2b0e05))
50
+ * Add date input ([#1152](https://github.com/Amsterdam/design-system/issues/1152)) ([afbbef8](https://github.com/Amsterdam/design-system/commit/afbbef8bb1a3d13fa47638ce2856def0c028b13f))
51
+ * Add Description List component ([#1139](https://github.com/Amsterdam/design-system/issues/1139)) ([ee3428a](https://github.com/Amsterdam/design-system/commit/ee3428ab701ea3980f26a8562acbecc6e4eb031e))
52
+ * Allow setting a background colour on Tabs List ([#1142](https://github.com/Amsterdam/design-system/issues/1142)) ([fedb1a1](https://github.com/Amsterdam/design-system/commit/fedb1a1d8f54decc81e5bd5081f8eb9a35dfb9b6))
53
+ * Remove border from accordion section and move chevron to the left ([#1116](https://github.com/Amsterdam/design-system/issues/1116)) ([3e23677](https://github.com/Amsterdam/design-system/commit/3e2367738664dcd0e4d3d4267c021c0992572da7))
54
+ * Rename Form Label to Label ([#1201](https://github.com/Amsterdam/design-system/issues/1201)) ([c5f82ab](https://github.com/Amsterdam/design-system/commit/c5f82abcc41ac4652af6c270325441d448d65525))
55
+ * Select component ([#1151](https://github.com/Amsterdam/design-system/issues/1151)) ([7679acc](https://github.com/Amsterdam/design-system/commit/7679acc7542c2e3d1279b9eaa364031092d16016))
56
+ * Set explicit white background on text fields ([#1200](https://github.com/Amsterdam/design-system/issues/1200)) ([e22d48e](https://github.com/Amsterdam/design-system/commit/e22d48eae8994eb370e3edef38a0ca1e015925bf))
57
+ * Time input component ([#1202](https://github.com/Amsterdam/design-system/issues/1202)) ([ccec68e](https://github.com/Amsterdam/design-system/commit/ccec68efafa02d5f9ac9bd4abea6c5e7cb72d556))
58
+ * Use fluid gaps in Page Menu ([#1146](https://github.com/Amsterdam/design-system/issues/1146)) ([848223b](https://github.com/Amsterdam/design-system/commit/848223bed7c0ad95de9ce1911c7313104a938f5b))
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * Use correct text size in Text Input, Search Field, and Text Area ([#1150](https://github.com/Amsterdam/design-system/issues/1150)) ([d5462e4](https://github.com/Amsterdam/design-system/commit/d5462e4537cfb39d62d0cd31564cfff086238330))
64
+
6
65
  ## [0.7.1](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v0.7.0...design-system-tokens-v0.7.1) (2024-03-22)
7
66
 
8
67
 
package/dist/compact.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 22 Mar 2024 15:51:06 GMT
3
+ * Generated on Wed, 05 Jun 2024 11:22:11 GMT
4
4
  */
5
5
 
6
6
  :root {
package/dist/compact.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 22 Mar 2024 15:51:06 GMT
3
+ * Generated on Wed, 05 Jun 2024 11:22:11 GMT
4
4
  */
5
5
 
6
6
  export default tokens;
package/dist/compact.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 22 Mar 2024 15:51:06 GMT
3
+ * Generated on Wed, 05 Jun 2024 11:22:11 GMT
4
4
  */
5
5
 
6
6
  export const amsSpaceGridXs = "clamp(0.25rem, calc(0.390625vw - 0.015625rem), 0.625rem)";
package/dist/compact.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 22 Mar 2024 15:51:06 GMT
3
+ // Generated on Wed, 05 Jun 2024 11:22:11 GMT
4
4
 
5
5
  $ams-text-level-6-font-size: clamp(0.75rem, calc(0.188vw + 0.713rem), 0.9rem);
6
6
  $ams-text-level-5-font-size: clamp(0.875rem, calc(0.313vw + 0.813rem), 1.125rem);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 22 Mar 2024 15:51:06 GMT
3
+ * Generated on Wed, 05 Jun 2024 11:22:11 GMT
4
4
  */
5
5
 
6
6
  .ams-theme--compact {