@amsterdam/design-system-tokens 0.4.0 → 0.5.1
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 +23 -0
- package/build.js +99 -0
- package/dist/compact.css +16 -0
- package/dist/compact.d.ts +56 -0
- package/dist/compact.json +33 -0
- package/dist/compact.mjs +14 -0
- package/dist/compact.scss +13 -0
- package/dist/compact.theme.css +16 -0
- package/dist/index.css +102 -201
- package/dist/index.d.ts +1103 -580
- package/dist/index.json +1082 -567
- package/dist/{index.js → index.mjs} +92 -191
- package/dist/{_variables.scss → index.scss} +101 -200
- package/dist/{root.css → index.theme.css} +102 -201
- package/package.json +7 -10
- package/src/brand/amsterdam/typography.compact.tokens.json +29 -0
- package/src/brand/amsterdam/typography.tokens.json +28 -62
- package/src/common/amsterdam/hyphenation.tokens.json +9 -0
- package/src/components/amsterdam/accordion.tokens.json +4 -10
- package/src/components/amsterdam/alert.tokens.json +0 -13
- package/src/components/amsterdam/badge.tokens.json +2 -8
- package/src/components/amsterdam/blockquote.tokens.json +3 -9
- package/src/components/amsterdam/breadcrumb.tokens.json +2 -8
- package/src/components/amsterdam/button.tokens.json +2 -8
- package/src/components/amsterdam/checkbox.tokens.json +5 -11
- package/src/components/amsterdam/dialog.tokens.json +2 -8
- package/src/components/amsterdam/form-label.tokens.json +2 -8
- package/src/components/amsterdam/grid.compact.tokens.json +14 -0
- package/src/components/amsterdam/grid.tokens.json +6 -18
- package/src/components/amsterdam/header.tokens.json +1 -1
- package/src/components/amsterdam/heading.tokens.json +22 -50
- package/src/components/amsterdam/icon.tokens.json +14 -34
- package/src/components/amsterdam/link-list.tokens.json +10 -26
- package/src/components/amsterdam/link.tokens.json +2 -25
- package/src/components/amsterdam/mega-menu.tokens.json +2 -2
- package/src/components/amsterdam/ordered-list.tokens.json +2 -8
- package/src/components/amsterdam/page-heading.tokens.json +2 -8
- package/src/components/amsterdam/page-menu.tokens.json +2 -8
- package/src/components/amsterdam/pagination.tokens.json +2 -8
- package/src/components/amsterdam/paragraph.tokens.json +10 -26
- package/src/components/amsterdam/search-field.tokens.json +4 -10
- package/src/components/amsterdam/skip-link.tokens.json +2 -6
- package/src/components/amsterdam/table.tokens.json +2 -2
- package/src/components/amsterdam/text-input.tokens.json +2 -8
- package/src/components/amsterdam/top-task-link.tokens.json +4 -16
- package/src/components/amsterdam/unordered-list.tokens.json +2 -8
- package/dist/index.tokens.json +0 -1341
- package/dist/tokens.d.ts +0 -1364
- package/dist/tokens.js +0 -12927
- package/dist/variables.less +0 -571
- package/style-dictionary.config.json +0 -101
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
|
|
3
|
-
"platforms": {
|
|
4
|
-
"js": {
|
|
5
|
-
"transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
|
|
6
|
-
"buildPath": "dist/",
|
|
7
|
-
"files": [
|
|
8
|
-
{
|
|
9
|
-
"destination": "index.js",
|
|
10
|
-
"format": "javascript/es6"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"format": "javascript/module",
|
|
14
|
-
"destination": "tokens.js"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"json": {
|
|
19
|
-
"transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
|
|
20
|
-
"buildPath": "dist/",
|
|
21
|
-
"files": [
|
|
22
|
-
{
|
|
23
|
-
"destination": "index.tokens.json",
|
|
24
|
-
"format": "json/nested"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"destination": "index.json",
|
|
28
|
-
"format": "json/flat"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"css": {
|
|
33
|
-
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
34
|
-
"buildPath": "dist/",
|
|
35
|
-
"files": [
|
|
36
|
-
{
|
|
37
|
-
"destination": "root.css",
|
|
38
|
-
"format": "css/variables",
|
|
39
|
-
"options": {
|
|
40
|
-
"outputReferences": true
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"css-theme": {
|
|
46
|
-
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
47
|
-
"buildPath": "dist/",
|
|
48
|
-
"files": [
|
|
49
|
-
{
|
|
50
|
-
"destination": "index.css",
|
|
51
|
-
"format": "css/variables",
|
|
52
|
-
"options": {
|
|
53
|
-
"selector": ".amsterdam-theme",
|
|
54
|
-
"outputReferences": true
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"scss": {
|
|
60
|
-
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
61
|
-
"buildPath": "dist/",
|
|
62
|
-
"files": [
|
|
63
|
-
{
|
|
64
|
-
"destination": "_variables.scss",
|
|
65
|
-
"format": "scss/variables",
|
|
66
|
-
"options": {
|
|
67
|
-
"outputReferences": true
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"typescript": {
|
|
73
|
-
"transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
|
|
74
|
-
"transformGroup": "js",
|
|
75
|
-
"buildPath": "dist/",
|
|
76
|
-
"files": [
|
|
77
|
-
{
|
|
78
|
-
"format": "typescript/es6-declarations",
|
|
79
|
-
"destination": "index.d.ts"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"format": "typescript/module-declarations",
|
|
83
|
-
"destination": "tokens.d.ts"
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
"less": {
|
|
88
|
-
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
89
|
-
"buildPath": "dist/",
|
|
90
|
-
"files": [
|
|
91
|
-
{
|
|
92
|
-
"destination": "variables.less",
|
|
93
|
-
"format": "less/variables",
|
|
94
|
-
"options": {
|
|
95
|
-
"outputReferences": true
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|