@amsterdam/design-system-tokens 0.6.0 → 0.7.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 +19 -0
- package/build.js +1 -1
- package/dist/compact.css +14 -14
- package/dist/compact.d.ts +4 -4
- package/dist/compact.json +3 -3
- package/dist/compact.mjs +14 -14
- package/dist/compact.scss +14 -14
- package/dist/compact.theme.css +15 -15
- package/dist/index.css +581 -582
- package/dist/index.d.ts +29 -30
- package/dist/index.json +43 -44
- package/dist/index.mjs +581 -582
- package/dist/index.scss +581 -582
- package/dist/index.theme.css +582 -583
- package/package.json +1 -1
- package/src/brand/{amsterdam → ams}/color.tokens.json +1 -1
- package/src/brand/{amsterdam → ams}/proportion.tokens.json +1 -1
- package/src/brand/{amsterdam → ams}/space.compact.tokens.json +1 -1
- package/src/brand/{amsterdam → ams}/space.tokens.json +5 -5
- package/src/brand/{amsterdam/typography.compact.tokens.json → ams/text.compact.tokens.json} +3 -3
- package/src/brand/{amsterdam/typography.tokens.json → ams/text.tokens.json} +3 -3
- package/src/common/{amsterdam → ams}/action.tokens.json +1 -1
- package/src/common/{amsterdam → ams}/border.tokens.json +1 -1
- package/src/common/{amsterdam → ams}/focus.tokens.json +1 -1
- package/src/common/{amsterdam → ams}/hyphenation.tokens.json +1 -1
- package/src/common/{amsterdam → ams}/link-appearance.tokens.json +5 -5
- package/src/components/ams/accordion.tokens.json +25 -0
- package/src/components/ams/alert.tokens.json +29 -0
- package/src/components/ams/aspect-ratio.tokens.json +12 -0
- package/src/components/ams/badge.tokens.json +43 -0
- package/src/components/ams/blockquote.tokens.json +12 -0
- package/src/components/ams/breadcrumb.tokens.json +26 -0
- package/src/components/ams/button.tokens.json +59 -0
- package/src/components/ams/card.tokens.json +17 -0
- package/src/components/ams/checkbox.tokens.json +75 -0
- package/src/components/ams/column.tokens.json +13 -0
- package/src/components/{amsterdam → ams}/dialog.tokens.json +7 -7
- package/src/components/ams/fieldset.tokens.json +13 -0
- package/src/components/ams/form-label.tokens.json +11 -0
- package/src/components/ams/gap.tokens.json +11 -0
- package/src/components/ams/grid.compact.tokens.json +7 -0
- package/src/components/ams/grid.tokens.json +25 -0
- package/src/components/ams/header.tokens.json +14 -0
- package/src/components/ams/heading.tokens.json +36 -0
- package/src/components/ams/icon-button.tokens.json +37 -0
- package/src/components/ams/icon.tokens.json +22 -0
- package/src/components/ams/link-list.tokens.json +45 -0
- package/src/components/ams/link.tokens.json +61 -0
- package/src/components/ams/logo.tokens.json +10 -0
- package/src/components/ams/margin.tokens.json +11 -0
- package/src/components/ams/mark.tokens.json +7 -0
- package/src/components/ams/mega-menu.tokens.json +18 -0
- package/src/components/{amsterdam → ams}/ordered-list.tokens.json +7 -7
- package/src/components/ams/page-heading.tokens.json +12 -0
- package/src/components/ams/page-menu.tokens.json +24 -0
- package/src/components/ams/pagination.tokens.json +25 -0
- package/src/components/ams/paragraph.tokens.json +22 -0
- package/src/components/{amsterdam → ams}/radio.tokens.json +14 -14
- package/src/components/ams/row.tokens.json +13 -0
- package/src/components/{amsterdam → ams}/screen.tokens.json +1 -1
- package/src/components/ams/search-field.tokens.json +45 -0
- package/src/components/ams/skip-link.tokens.json +18 -0
- package/src/components/ams/spotlight.tokens.json +30 -0
- package/src/components/ams/switch.tokens.json +24 -0
- package/src/components/ams/table.tokens.json +22 -0
- package/src/components/ams/tabs.tokens.json +34 -0
- package/src/components/ams/text-area.tokens.json +36 -0
- package/src/components/ams/text-input.tokens.json +32 -0
- package/src/components/ams/top-task-link.tokens.json +28 -0
- package/src/components/{amsterdam → ams}/unordered-list.tokens.json +7 -7
- package/src/components/amsterdam/accordion.tokens.json +0 -25
- package/src/components/amsterdam/alert.tokens.json +0 -29
- package/src/components/amsterdam/aspect-ratio.tokens.json +0 -12
- package/src/components/amsterdam/badge.tokens.json +0 -43
- package/src/components/amsterdam/blockquote.tokens.json +0 -12
- package/src/components/amsterdam/breadcrumb.tokens.json +0 -26
- package/src/components/amsterdam/button.tokens.json +0 -62
- package/src/components/amsterdam/card.tokens.json +0 -17
- package/src/components/amsterdam/checkbox.tokens.json +0 -75
- package/src/components/amsterdam/column.tokens.json +0 -13
- package/src/components/amsterdam/fieldset.tokens.json +0 -13
- package/src/components/amsterdam/form-label.tokens.json +0 -11
- package/src/components/amsterdam/gap.tokens.json +0 -11
- package/src/components/amsterdam/grid.compact.tokens.json +0 -7
- package/src/components/amsterdam/grid.tokens.json +0 -25
- package/src/components/amsterdam/header.tokens.json +0 -14
- package/src/components/amsterdam/heading.tokens.json +0 -34
- package/src/components/amsterdam/icon-button.tokens.json +0 -37
- package/src/components/amsterdam/icon.tokens.json +0 -22
- package/src/components/amsterdam/link-list.tokens.json +0 -45
- package/src/components/amsterdam/link.tokens.json +0 -61
- package/src/components/amsterdam/logo.tokens.json +0 -10
- package/src/components/amsterdam/margin.tokens.json +0 -11
- package/src/components/amsterdam/mark.tokens.json +0 -7
- package/src/components/amsterdam/mega-menu.tokens.json +0 -18
- package/src/components/amsterdam/page-heading.tokens.json +0 -12
- package/src/components/amsterdam/page-menu.tokens.json +0 -24
- package/src/components/amsterdam/pagination.tokens.json +0 -25
- package/src/components/amsterdam/paragraph.tokens.json +0 -22
- package/src/components/amsterdam/row.tokens.json +0 -13
- package/src/components/amsterdam/search-field.tokens.json +0 -45
- package/src/components/amsterdam/skip-link.tokens.json +0 -18
- package/src/components/amsterdam/spotlight.tokens.json +0 -30
- package/src/components/amsterdam/switch.tokens.json +0 -24
- package/src/components/amsterdam/table.tokens.json +0 -22
- package/src/components/amsterdam/tabs.tokens.json +0 -34
- package/src/components/amsterdam/text-area.tokens.json +0 -36
- package/src/components/amsterdam/text-input.tokens.json +0 -32
- package/src/components/amsterdam/top-task-link.tokens.json +0 -28
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 12 Mar 2024 14:50:53 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export default tokens;
|
|
@@ -22,7 +22,7 @@ declare interface DesignToken {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
declare const tokens: {
|
|
25
|
-
"
|
|
25
|
+
"ams": {
|
|
26
26
|
"color": {
|
|
27
27
|
"primary-black": DesignToken,
|
|
28
28
|
"primary-white": DesignToken,
|
|
@@ -71,13 +71,13 @@ declare const tokens: {
|
|
|
71
71
|
"xl": DesignToken
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"
|
|
74
|
+
"text": {
|
|
75
75
|
"font-family": DesignToken,
|
|
76
76
|
"font-weight": {
|
|
77
77
|
"normal": DesignToken,
|
|
78
78
|
"bold": DesignToken
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"level": {
|
|
81
81
|
"0": {
|
|
82
82
|
"font-size": DesignToken,
|
|
83
83
|
"line-height": DesignToken
|
|
@@ -298,9 +298,6 @@ declare const tokens: {
|
|
|
298
298
|
"padding-block": DesignToken,
|
|
299
299
|
"padding-inline": DesignToken,
|
|
300
300
|
"outline-offset": DesignToken,
|
|
301
|
-
"busy": {
|
|
302
|
-
"cursor": DesignToken
|
|
303
|
-
},
|
|
304
301
|
"disabled": {
|
|
305
302
|
"cursor": DesignToken
|
|
306
303
|
},
|
|
@@ -516,29 +513,31 @@ declare const tokens: {
|
|
|
516
513
|
"font-family": DesignToken,
|
|
517
514
|
"font-weight": DesignToken,
|
|
518
515
|
"inverse-color": DesignToken,
|
|
519
|
-
"level
|
|
520
|
-
"
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
"
|
|
541
|
-
|
|
516
|
+
"level": {
|
|
517
|
+
"1": {
|
|
518
|
+
"font-size": DesignToken,
|
|
519
|
+
"line-height": DesignToken
|
|
520
|
+
},
|
|
521
|
+
"2": {
|
|
522
|
+
"font-size": DesignToken,
|
|
523
|
+
"line-height": DesignToken
|
|
524
|
+
},
|
|
525
|
+
"3": {
|
|
526
|
+
"font-size": DesignToken,
|
|
527
|
+
"line-height": DesignToken
|
|
528
|
+
},
|
|
529
|
+
"4": {
|
|
530
|
+
"font-size": DesignToken,
|
|
531
|
+
"line-height": DesignToken
|
|
532
|
+
},
|
|
533
|
+
"5": {
|
|
534
|
+
"font-size": DesignToken,
|
|
535
|
+
"line-height": DesignToken
|
|
536
|
+
},
|
|
537
|
+
"6": {
|
|
538
|
+
"font-size": DesignToken,
|
|
539
|
+
"line-height": DesignToken
|
|
540
|
+
}
|
|
542
541
|
}
|
|
543
542
|
},
|
|
544
543
|
"icon-button": {
|
package/dist/index.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"ams": {
|
|
3
3
|
"color": {
|
|
4
4
|
"primary-black": "#000000",
|
|
5
5
|
"primary-white": "#FFFFFF",
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
"xl": "clamp(2rem, calc(6.25vw + 0.75rem), 7rem)"
|
|
35
35
|
},
|
|
36
36
|
"inside": {
|
|
37
|
-
"xs": ".
|
|
38
|
-
"sm": ".
|
|
37
|
+
"xs": ".5rem",
|
|
38
|
+
"sm": ".75rem",
|
|
39
39
|
"md": "1rem",
|
|
40
40
|
"lg": "1.5rem",
|
|
41
41
|
"xl": "2rem"
|
|
42
42
|
},
|
|
43
43
|
"stack": {
|
|
44
|
-
"xs": ".
|
|
45
|
-
"sm": ".
|
|
44
|
+
"xs": ".5rem",
|
|
45
|
+
"sm": ".75rem",
|
|
46
46
|
"md": "1rem",
|
|
47
47
|
"lg": "1.5rem",
|
|
48
48
|
"xl": "2rem"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"text": {
|
|
52
52
|
"font-family": "'Amsterdam Sans', Arial, sans-serif",
|
|
53
53
|
"font-weight": {
|
|
54
54
|
"normal": 400,
|
|
55
55
|
"bold": 800
|
|
56
56
|
},
|
|
57
|
-
"
|
|
57
|
+
"level": {
|
|
58
58
|
"0": {
|
|
59
59
|
"font-size": "clamp(2.432rem, calc(2.683vw + 1.895rem), 4.578rem)",
|
|
60
60
|
"line-height": "1.15"
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"font-size": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)",
|
|
153
153
|
"font-weight": 800,
|
|
154
154
|
"line-height": "1.6",
|
|
155
|
-
"padding-block": ".
|
|
155
|
+
"padding-block": ".75rem",
|
|
156
156
|
"padding-inline": "1rem",
|
|
157
157
|
"focus": {
|
|
158
158
|
"outline-offset": "2px"
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"font-size": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)",
|
|
205
205
|
"font-weight": 800,
|
|
206
206
|
"line-height": "1.6",
|
|
207
|
-
"padding-inline": ".
|
|
207
|
+
"padding-inline": ".5rem",
|
|
208
208
|
"blue": {
|
|
209
209
|
"background-color": "#009DE6",
|
|
210
210
|
"color": "#000000"
|
|
@@ -272,12 +272,9 @@
|
|
|
272
272
|
"font-size": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)",
|
|
273
273
|
"line-height": "1.6",
|
|
274
274
|
"gap": "1rem",
|
|
275
|
-
"padding-block": ".
|
|
275
|
+
"padding-block": ".5rem",
|
|
276
276
|
"padding-inline": "1rem",
|
|
277
277
|
"outline-offset": "2px",
|
|
278
|
-
"busy": {
|
|
279
|
-
"cursor": "wait"
|
|
280
|
-
},
|
|
281
278
|
"disabled": {
|
|
282
279
|
"cursor": "not-allowed"
|
|
283
280
|
},
|
|
@@ -493,29 +490,31 @@
|
|
|
493
490
|
"font-family": "'Amsterdam Sans', Arial, sans-serif",
|
|
494
491
|
"font-weight": 800,
|
|
495
492
|
"inverse-color": "#FFFFFF",
|
|
496
|
-
"level
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
"
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
"
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
"
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
"
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
"
|
|
518
|
-
|
|
493
|
+
"level": {
|
|
494
|
+
"1": {
|
|
495
|
+
"font-size": "clamp(2.084rem, calc(1.973vw + 1.69rem), 3.662rem)",
|
|
496
|
+
"line-height": "1.2"
|
|
497
|
+
},
|
|
498
|
+
"2": {
|
|
499
|
+
"font-size": "clamp(1.786rem, calc(1.43vw + 1.5rem), 2.93rem)",
|
|
500
|
+
"line-height": "1.25"
|
|
501
|
+
},
|
|
502
|
+
"3": {
|
|
503
|
+
"font-size": "clamp(1.531rem, calc(1.016vw + 1.328rem), 2.344rem)",
|
|
504
|
+
"line-height": "1.3"
|
|
505
|
+
},
|
|
506
|
+
"4": {
|
|
507
|
+
"font-size": "clamp(1.313rem, calc(0.703vw + 1.173rem), 1.875rem)",
|
|
508
|
+
"line-height": "1.5"
|
|
509
|
+
},
|
|
510
|
+
"5": {
|
|
511
|
+
"font-size": "clamp(1.125rem, calc(0.469vw + 1.031rem), 1.5rem)",
|
|
512
|
+
"line-height": "1.6"
|
|
513
|
+
},
|
|
514
|
+
"6": {
|
|
515
|
+
"font-size": "clamp(0.964rem, calc(0.295vw + 0.905rem), 1.2rem)",
|
|
516
|
+
"line-height": "1.6"
|
|
517
|
+
}
|
|
519
518
|
}
|
|
520
519
|
},
|
|
521
520
|
"icon-button": {
|
|
@@ -750,7 +749,7 @@
|
|
|
750
749
|
"line-height": "1.6",
|
|
751
750
|
"button": {
|
|
752
751
|
"outline-offset": "2px",
|
|
753
|
-
"padding-inline": ".
|
|
752
|
+
"padding-inline": ".75rem",
|
|
754
753
|
"text-decoration-line": "none",
|
|
755
754
|
"text-decoration-thickness": "0.125rem",
|
|
756
755
|
"text-underline-offset": "0.375rem",
|
|
@@ -830,8 +829,8 @@
|
|
|
830
829
|
},
|
|
831
830
|
"row": {
|
|
832
831
|
"gap": {
|
|
833
|
-
"xs": ".
|
|
834
|
-
"sm": ".
|
|
832
|
+
"xs": ".5rem",
|
|
833
|
+
"sm": ".75rem",
|
|
835
834
|
"md": "1rem",
|
|
836
835
|
"lg": "1.5rem",
|
|
837
836
|
"xl": "2rem"
|
|
@@ -853,8 +852,8 @@
|
|
|
853
852
|
"hover": {
|
|
854
853
|
"background-color": "#102E62"
|
|
855
854
|
},
|
|
856
|
-
"padding-block": ".
|
|
857
|
-
"padding-inline": ".
|
|
855
|
+
"padding-block": ".5rem",
|
|
856
|
+
"padding-inline": ".5rem"
|
|
858
857
|
},
|
|
859
858
|
"input": {
|
|
860
859
|
"box-shadow": "inset 0 0 0 1px #000000",
|
|
@@ -864,7 +863,7 @@
|
|
|
864
863
|
"font-weight": 400,
|
|
865
864
|
"line-height": "1.6",
|
|
866
865
|
"outline-offset": "2px",
|
|
867
|
-
"padding-block": ".
|
|
866
|
+
"padding-block": ".5rem",
|
|
868
867
|
"padding-inline": "1rem",
|
|
869
868
|
"cancel-button": {
|
|
870
869
|
"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>\")",
|
|
@@ -888,7 +887,7 @@
|
|
|
888
887
|
"font-size": "clamp(0.964rem, calc(0.295vw + 0.905rem), 1.2rem)",
|
|
889
888
|
"line-height": "1.6",
|
|
890
889
|
"outline-offset": "2px",
|
|
891
|
-
"padding-block": ".
|
|
890
|
+
"padding-block": ".5rem",
|
|
892
891
|
"padding-inline": "1rem",
|
|
893
892
|
"hover": {
|
|
894
893
|
"background-color": "#102E62"
|
|
@@ -1026,7 +1025,7 @@
|
|
|
1026
1025
|
"font-weight": 400,
|
|
1027
1026
|
"line-height": "1.6",
|
|
1028
1027
|
"outline-offset": "2px",
|
|
1029
|
-
"padding-block": ".
|
|
1028
|
+
"padding-block": ".5rem",
|
|
1030
1029
|
"padding-inline": "1rem",
|
|
1031
1030
|
"disabled": {
|
|
1032
1031
|
"background-color": "#FFFFFF",
|