@amsterdam/design-system-tokens 0.15.0 → 0.16.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 (31) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/LICENSE.md +2 -2
  3. package/README.md +4 -4
  4. package/dist/index.css +108 -113
  5. package/dist/index.d.ts +165 -164
  6. package/dist/index.json +185 -184
  7. package/dist/index.mjs +143 -143
  8. package/dist/index.scss +108 -113
  9. package/dist/index.theme.css +108 -113
  10. package/package.json +2 -2
  11. package/src/brand/ams/typography.tokens.json +1 -0
  12. package/src/components/ams/accordion.tokens.json +1 -0
  13. package/src/components/ams/alert.tokens.json +1 -1
  14. package/src/components/ams/avatar.tokens.json +1 -1
  15. package/src/components/ams/badge.tokens.json +1 -1
  16. package/src/components/ams/card.tokens.json +8 -2
  17. package/src/components/ams/dialog.tokens.json +22 -7
  18. package/src/components/ams/field-set.tokens.json +2 -1
  19. package/src/components/ams/grid.tokens.json +6 -6
  20. package/src/components/ams/heading.tokens.json +1 -0
  21. package/src/components/ams/label.tokens.json +2 -1
  22. package/src/components/ams/link.tokens.json +8 -27
  23. package/src/components/ams/{footer.tokens.json → page-footer.tokens.json} +7 -1
  24. package/src/components/ams/{header.tokens.json → page-header.tokens.json} +9 -2
  25. package/src/components/ams/page-heading.tokens.json +1 -0
  26. package/src/components/ams/page.tokens.json +8 -0
  27. package/src/components/ams/standalone-link.tokens.json +40 -0
  28. package/src/components/ams/mega-menu.tokens.json +0 -18
  29. package/src/components/ams/page-menu.tokens.json +0 -24
  30. package/src/components/ams/screen.tokens.json +0 -13
  31. package/src/components/ams/top-task-link.tokens.json +0 -29
@@ -1,11 +1,17 @@
1
1
  {
2
2
  "ams": {
3
- "footer": {
3
+ "page-footer": {
4
4
  "menu": {
5
5
  "column-gap": { "value": "{ams.space.l}" },
6
6
  "padding-block": { "value": "{ams.space.l}" },
7
7
  "padding-inline": { "value": "{ams.grid.padding-inline}" },
8
8
  "row-gap": { "value": "{ams.space.xs}" },
9
+ "medium": {
10
+ "padding-inline": { "value": "{ams.grid.medium.padding-inline}" }
11
+ },
12
+ "wide": {
13
+ "padding-inline": { "value": "{ams.grid.wide.padding-inline}" }
14
+ },
9
15
  "link": {
10
16
  "color": { "value": "{ams.links.color}" },
11
17
  "font-family": { "value": "{ams.typography.font-family}" },
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "ams": {
3
- "header": {
3
+ "page-header": {
4
4
  "font-family": { "value": "{ams.typography.font-family}" },
5
5
  "padding-block": { "value": "{ams.space.l}" },
6
6
  "padding-inline": {
7
7
  "value": "{ams.grid.padding-inline}",
8
8
  "comment": "Must be the Grid inline padding, to make sure Header and Grid line up"
9
9
  },
10
+ "medium": {
11
+ "padding-inline": { "value": "{ams.grid.medium.padding-inline}" }
12
+ },
13
+ "wide": {
14
+ "padding-inline": { "value": "{ams.grid.wide.padding-inline}" }
15
+ },
10
16
  "logo-link": {
11
17
  "column-gap": { "value": "{ams.space.m}" },
12
18
  "outline-offset": { "value": "{ams.focus.outline-offset}" }
@@ -14,7 +20,8 @@
14
20
  "brand-name": {
15
21
  "color": { "value": "{ams.color.text.default}" },
16
22
  "font-size": { "value": "{ams.typography.heading.4.font-size}" },
17
- "font-weight": { "value": "{ams.typography.heading.font-weight}" }
23
+ "font-weight": { "value": "{ams.typography.heading.font-weight}" },
24
+ "text-wrap": { "value": "{ams.typography.heading.text-wrap}" }
18
25
  },
19
26
  "mega-menu": {
20
27
  "button": {
@@ -6,6 +6,7 @@
6
6
  "font-size": { "value": "{ams.typography.heading.0.font-size}" },
7
7
  "font-weight": { "value": "{ams.typography.heading.font-weight}" },
8
8
  "line-height": { "value": "{ams.typography.heading.0.line-height}" },
9
+ "text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
9
10
  "inverse": {
10
11
  "color": { "value": "{ams.color.text.inverse}" }
11
12
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "ams": {
3
+ "page": {
4
+ "background-color": { "value": "{ams.color.background}" },
5
+ "max-inline-size": { "value": "100rem" }
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "ams": {
3
+ "standalone-link": {
4
+ "color": { "value": "{ams.links.color}" },
5
+ "column-gap": { "value": "{ams.space.s}" },
6
+ "font-family": { "value": "{ams.typography.font-family}" },
7
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
8
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
9
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
10
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
12
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
13
+ "contrast": {
14
+ "color": { "value": "{ams.links.contrast.color}" },
15
+ "hover": {
16
+ "color": { "value": "{ams.links.contrast.hover.color}" }
17
+ }
18
+ },
19
+ "hover": {
20
+ "color": { "value": "{ams.links.hover.color}" },
21
+ "text-decoration-thickness": {
22
+ "value": "{ams.links.hover.text-decoration-thickness}"
23
+ },
24
+ "text-underline-offset": { "value": "{ams.links.hover.text-underline-offset}" }
25
+ },
26
+ "inverse": {
27
+ "color": { "value": "{ams.links.inverse.color}" },
28
+ "hover": {
29
+ "color": { "value": "{ams.links.inverse.hover.color}" }
30
+ }
31
+ },
32
+ "with-icon": {
33
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
34
+ "hover": {
35
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -1,18 +0,0 @@
1
- {
2
- "ams": {
3
- "mega-menu": {
4
- "list-category": {
5
- "column-gap": {
6
- "value": "{ams.space.xl}",
7
- "comment": "Must have the same value as `ams.grid.column-gap`."
8
- },
9
- "column-width": { "value": "20rem" },
10
- "padding-block-start": { "value": "{ams.space.m}" },
11
- "padding-block-end": {
12
- "value": "{ams.space.xl}",
13
- "comment": "Must have the same value as `ams.grid.row-gap.md`."
14
- }
15
- }
16
- }
17
- }
18
- }
@@ -1,24 +0,0 @@
1
- {
2
- "ams": {
3
- "page-menu": {
4
- "column-gap": { "value": "{ams.space.xl}" },
5
- "row-gap": { "value": "{ams.space.m}" },
6
- "item": {
7
- "color": { "value": "{ams.links.color}" },
8
- "font-family": { "value": "{ams.typography.font-family}" },
9
- "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
10
- "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
11
- "gap": { "value": "{ams.space.s}" },
12
- "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
13
- "outline-offset": { "value": "{ams.focus.outline-offset}" },
14
- "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
15
- "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
16
- "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
17
- "hover": {
18
- "color": { "value": "{ams.links.hover.color}" },
19
- "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
20
- }
21
- }
22
- }
23
- }
24
- }
@@ -1,13 +0,0 @@
1
- {
2
- "ams": {
3
- "screen": {
4
- "background-color": { "value": "{ams.color.background}" },
5
- "wide": {
6
- "max-inline-size": { "value": "100rem" }
7
- },
8
- "x-wide": {
9
- "max-inline-size": { "value": "132rem" }
10
- }
11
- }
12
- }
13
- }
@@ -1,29 +0,0 @@
1
- {
2
- "ams": {
3
- "top-task-link": {
4
- "gap": { "value": "{ams.space.s}" },
5
- "description": {
6
- "color": { "value": "{ams.color.text.default}" },
7
- "font-family": { "value": "{ams.typography.font-family}" },
8
- "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
9
- "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
10
- "line-height": { "value": "{ams.typography.body-text.small.line-height}" }
11
- },
12
- "label": {
13
- "color": { "value": "{ams.links.color}" },
14
- "font-family": { "value": "{ams.typography.font-family}" },
15
- "font-size": { "value": "{ams.typography.heading.4.font-size}" },
16
- "font-weight": { "value": "{ams.typography.heading.font-weight}" },
17
- "line-height": { "value": "{ams.typography.heading.4.line-height}" },
18
- "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
19
- "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
20
- "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
21
- "hover": {
22
- "color": { "value": "{ams.links.hover.color}" },
23
- "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
24
- }
25
- },
26
- "outline-offset": { "value": "{ams.focus.outline-offset}" }
27
- }
28
- }
29
- }