@amsterdam/design-system-tokens 2.0.0 → 2.1.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 +22 -2
- package/README.md +1 -1
- package/dist/index.css +38 -24
- package/dist/index.d.ts +73 -43
- package/dist/index.json +74 -44
- package/dist/index.mjs +51 -28
- package/dist/index.scss +38 -24
- package/dist/index.theme.css +38 -24
- package/package.json +2 -2
- package/src/components/ams/date-input.deprecated.tokens.json +32 -0
- package/src/components/ams/date-input.tokens.json +3 -3
- package/src/components/ams/menu.deprecated.tokens.json +32 -0
- package/src/components/ams/menu.tokens.json +11 -13
- package/src/components/ams/time-input.deprecated.tokens.json +32 -0
- package/src/components/ams/time-input.tokens.json +3 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ams": {
|
|
3
|
+
"time-input": {
|
|
4
|
+
"disabled": {
|
|
5
|
+
"calender-picker-indicator": {
|
|
6
|
+
"background-image": {
|
|
7
|
+
"comment": "Use the token with ‘calendar’ spelled correctly instead",
|
|
8
|
+
"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>\")"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"hover": {
|
|
13
|
+
"calender-picker-indicator": {
|
|
14
|
+
"background-image": {
|
|
15
|
+
"comment": "Use the token with ‘calendar’ spelled correctly instead",
|
|
16
|
+
"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>\")"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"calender-picker-indicator": {
|
|
21
|
+
"background-image": {
|
|
22
|
+
"comment": "Use the token with ‘calendar’ spelled correctly instead",
|
|
23
|
+
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23004699'><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>\")"
|
|
24
|
+
},
|
|
25
|
+
"cursor": {
|
|
26
|
+
"comment": "Use the token with ‘calendar’ spelled correctly instead",
|
|
27
|
+
"value": "{ams.cursor.interactive}"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"disabled": {
|
|
17
17
|
"color": { "value": "{ams.inputs.disabled.color}" },
|
|
18
18
|
"cursor": { "value": "{ams.cursor.disabled}" },
|
|
19
|
-
"
|
|
19
|
+
"calendar-picker-indicator": {
|
|
20
20
|
"background-image": {
|
|
21
21
|
"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>\")"
|
|
22
22
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"hover": {
|
|
26
26
|
"box-shadow": { "value": "{ams.inputs.hover.box-shadow}" },
|
|
27
|
-
"
|
|
27
|
+
"calendar-picker-indicator": {
|
|
28
28
|
"background-image": {
|
|
29
29
|
"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>\")"
|
|
30
30
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"box-shadow": { "value": "{ams.inputs.invalid.hover.box-shadow}" }
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
"
|
|
40
|
+
"calendar-picker-indicator": {
|
|
41
41
|
"background-image": {
|
|
42
42
|
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23004699'><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>\")"
|
|
43
43
|
},
|