@atlaskit/tokens 1.5.1 → 1.6.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 +16 -0
- package/dist/cjs/artifacts/generated-pairs.js +1 -289
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +12 -10
- package/dist/cjs/artifacts/token-names.js +12 -10
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +902 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +36 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +36 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/shape-palette.js +2 -1
- package/dist/cjs/set-global-theme.js +14 -3
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/atlassian-shape/shape.js +7 -1
- package/dist/cjs/tokens/default/color/accent.js +16 -16
- package/dist/cjs/tokens/default/shape/shape.js +33 -17
- package/dist/cjs/utils/theme-state-transformer.js +2 -1
- package/dist/cjs/utils/token-order.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +1 -289
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/es2019/artifacts/themes/atlassian-dark-new-input-border.js +2 -14
- package/dist/es2019/artifacts/themes/atlassian-light-new-input-border.js +2 -14
- package/dist/es2019/artifacts/themes/atlassian-shape.js +12 -10
- package/dist/es2019/artifacts/token-default-values.js +12 -10
- package/dist/es2019/artifacts/token-names.js +12 -10
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/es2019/constants.js +1 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/shape-palette.js +2 -1
- package/dist/es2019/set-global-theme.js +10 -2
- package/dist/es2019/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/atlassian-shape/shape.js +7 -1
- package/dist/es2019/tokens/default/color/accent.js +16 -16
- package/dist/es2019/tokens/default/shape/shape.js +33 -17
- package/dist/es2019/utils/theme-state-transformer.js +2 -1
- package/dist/es2019/utils/token-order.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/generated-pairs.js +1 -289
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/esm/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +12 -10
- package/dist/esm/artifacts/token-names.js +12 -10
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/esm/constants.js +1 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/shape-palette.js +2 -1
- package/dist/esm/set-global-theme.js +14 -3
- package/dist/esm/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/atlassian-shape/shape.js +7 -1
- package/dist/esm/tokens/default/color/accent.js +16 -16
- package/dist/esm/tokens/default/shape/shape.js +33 -17
- package/dist/esm/utils/theme-state-transformer.js +2 -1
- package/dist/esm/utils/token-order.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +3 -18
- package/dist/types/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +12 -10
- package/dist/types/artifacts/token-names.d.ts +23 -19
- package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/palettes/shape-palette.d.ts +1 -1
- package/dist/types/set-global-theme.d.ts +8 -7
- package/dist/types/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/dist/types/types.d.ts +3 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +3 -18
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +12 -10
- package/dist/types-ts4.5/artifacts/token-names.d.ts +23 -19
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/palettes/shape-palette.d.ts +1 -1
- package/dist/types-ts4.5/set-global-theme.d.ts +8 -7
- package/dist/types-ts4.5/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/types.d.ts +3 -1
- package/figma/atlassian-dark.json +16 -16
- package/figma/atlassian-legacy-dark.json +16 -16
- package/figma/atlassian-legacy-light.json +16 -16
- package/figma/atlassian-light.json +16 -16
- package/figma/atlassian-shape.json +36 -18
- package/package.json +4 -3
- package/report.api.md +125 -22
- package/tmp/api-report-tmp.d.ts +107 -27
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"group": "paint",
|
|
16
16
|
"state": "active",
|
|
17
17
|
"introduced": "0.6.0",
|
|
18
|
-
"description": "Use for red text on
|
|
18
|
+
"description": "Use for red text on subtlest and subtler red accent backgrounds when there is no meaning tied to the color."
|
|
19
19
|
},
|
|
20
20
|
"value": "#DE350B"
|
|
21
21
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"group": "paint",
|
|
25
25
|
"state": "active",
|
|
26
26
|
"introduced": "0.7.0",
|
|
27
|
-
"description": "Use on
|
|
27
|
+
"description": "Use for red text on subtle red accent backgrounds when there is no meaning tied to the color."
|
|
28
28
|
},
|
|
29
29
|
"value": "#BF2600"
|
|
30
30
|
},
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"group": "paint",
|
|
34
34
|
"state": "active",
|
|
35
35
|
"introduced": "0.6.0",
|
|
36
|
-
"description": "Use for orange text on
|
|
36
|
+
"description": "Use for orange text on subtlest and subtler orange accent backgrounds when there is no meaning tied to the color."
|
|
37
37
|
},
|
|
38
38
|
"value": "#F18D13"
|
|
39
39
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "paint",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "0.7.0",
|
|
45
|
-
"description": "Use on
|
|
45
|
+
"description": "Use for orange text on subtle orange accent backgrounds when there is no meaning tied to the color."
|
|
46
46
|
},
|
|
47
47
|
"value": "#B65C02"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "paint",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "0.6.0",
|
|
54
|
-
"description": "Use for yellow text on
|
|
54
|
+
"description": "Use for yellow text on subtlest and subtler yellow accent backgrounds when there is no meaning tied to the color."
|
|
55
55
|
},
|
|
56
56
|
"value": "#FF991F"
|
|
57
57
|
},
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"group": "paint",
|
|
61
61
|
"state": "active",
|
|
62
62
|
"introduced": "0.7.0",
|
|
63
|
-
"description": "Use on
|
|
63
|
+
"description": "Use for yellow text on subtle yellow accent backgrounds when there is no meaning tied to the color."
|
|
64
64
|
},
|
|
65
65
|
"value": "#FF8B00"
|
|
66
66
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"group": "paint",
|
|
70
70
|
"state": "active",
|
|
71
71
|
"introduced": "0.6.0",
|
|
72
|
-
"description": "Use for green text on
|
|
72
|
+
"description": "Use for green text on subtlest and subtler green accent backgrounds when there is no meaning tied to the color."
|
|
73
73
|
},
|
|
74
74
|
"value": "#00875A"
|
|
75
75
|
},
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"group": "paint",
|
|
79
79
|
"state": "active",
|
|
80
80
|
"introduced": "0.7.0",
|
|
81
|
-
"description": "Use on
|
|
81
|
+
"description": "Use for green text on subtle green accent backgrounds when there is no meaning tied to the color."
|
|
82
82
|
},
|
|
83
83
|
"value": "#006644"
|
|
84
84
|
},
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"group": "paint",
|
|
88
88
|
"state": "active",
|
|
89
89
|
"introduced": "0.6.0",
|
|
90
|
-
"description": "Use for teal text on
|
|
90
|
+
"description": "Use for teal text on subtlest and subtler teal accent backgrounds when there is no meaning tied to the color."
|
|
91
91
|
},
|
|
92
92
|
"value": "#00A3BF"
|
|
93
93
|
},
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"group": "paint",
|
|
97
97
|
"state": "active",
|
|
98
98
|
"introduced": "0.7.0",
|
|
99
|
-
"description": "Use on
|
|
99
|
+
"description": "Use for teal text on subtle teal accent backgrounds when there is no meaning tied to the color."
|
|
100
100
|
},
|
|
101
101
|
"value": "#008DA6"
|
|
102
102
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"group": "paint",
|
|
106
106
|
"state": "active",
|
|
107
107
|
"introduced": "0.6.0",
|
|
108
|
-
"description": "Use for blue text on
|
|
108
|
+
"description": "Use for blue text on subtlest and subtler blue accent backgrounds when there is no meaning tied to the color."
|
|
109
109
|
},
|
|
110
110
|
"value": "#0052CC"
|
|
111
111
|
},
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"group": "paint",
|
|
115
115
|
"state": "active",
|
|
116
116
|
"introduced": "0.7.0",
|
|
117
|
-
"description": "Use on
|
|
117
|
+
"description": "Use for blue text on subtle blue accent backgrounds when there is no meaning tied to the color."
|
|
118
118
|
},
|
|
119
119
|
"value": "#0747A6"
|
|
120
120
|
},
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"group": "paint",
|
|
124
124
|
"state": "active",
|
|
125
125
|
"introduced": "0.6.0",
|
|
126
|
-
"description": "Use for purple text on
|
|
126
|
+
"description": "Use for purple text on subtlest and subtler purple accent backgrounds when there is no meaning tied to the color."
|
|
127
127
|
},
|
|
128
128
|
"value": "#5243AA"
|
|
129
129
|
},
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"group": "paint",
|
|
133
133
|
"state": "active",
|
|
134
134
|
"introduced": "0.7.0",
|
|
135
|
-
"description": "Use on
|
|
135
|
+
"description": "Use for purple text on subtle purple accent backgrounds when there is no meaning tied to the color."
|
|
136
136
|
},
|
|
137
137
|
"value": "#403294"
|
|
138
138
|
},
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"group": "paint",
|
|
142
142
|
"state": "active",
|
|
143
143
|
"introduced": "0.6.0",
|
|
144
|
-
"description": "Use for magenta text on
|
|
144
|
+
"description": "Use for magenta text on subtlest and subtler magenta accent backgrounds when there is no meaning tied to the color."
|
|
145
145
|
},
|
|
146
146
|
"value": "#E774BB"
|
|
147
147
|
},
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"group": "paint",
|
|
151
151
|
"state": "active",
|
|
152
152
|
"introduced": "0.7.0",
|
|
153
|
-
"description": "Use on
|
|
153
|
+
"description": "Use for magenta text on subtle magenta accent backgrounds when there is no meaning tied to the color."
|
|
154
154
|
},
|
|
155
155
|
"value": "#DA62AC"
|
|
156
156
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"group": "paint",
|
|
16
16
|
"state": "active",
|
|
17
17
|
"introduced": "0.6.0",
|
|
18
|
-
"description": "Use for red text on
|
|
18
|
+
"description": "Use for red text on subtlest and subtler red accent backgrounds when there is no meaning tied to the color."
|
|
19
19
|
},
|
|
20
20
|
"value": "#AE2A19"
|
|
21
21
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"group": "paint",
|
|
25
25
|
"state": "active",
|
|
26
26
|
"introduced": "0.7.0",
|
|
27
|
-
"description": "Use on
|
|
27
|
+
"description": "Use for red text on subtle red accent backgrounds when there is no meaning tied to the color."
|
|
28
28
|
},
|
|
29
29
|
"value": "#601E16"
|
|
30
30
|
},
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"group": "paint",
|
|
34
34
|
"state": "active",
|
|
35
35
|
"introduced": "0.6.0",
|
|
36
|
-
"description": "Use for orange text on
|
|
36
|
+
"description": "Use for orange text on subtlest and subtler orange accent backgrounds when there is no meaning tied to the color."
|
|
37
37
|
},
|
|
38
38
|
"value": "#974F0C"
|
|
39
39
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"group": "paint",
|
|
43
43
|
"state": "active",
|
|
44
44
|
"introduced": "0.7.0",
|
|
45
|
-
"description": "Use on
|
|
45
|
+
"description": "Use for orange text on subtle orange accent backgrounds when there is no meaning tied to the color."
|
|
46
46
|
},
|
|
47
47
|
"value": "#5F3811"
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"group": "paint",
|
|
52
52
|
"state": "active",
|
|
53
53
|
"introduced": "0.6.0",
|
|
54
|
-
"description": "Use for yellow text on
|
|
54
|
+
"description": "Use for yellow text on subtlest and subtler yellow accent backgrounds when there is no meaning tied to the color."
|
|
55
55
|
},
|
|
56
56
|
"value": "#7F5F01"
|
|
57
57
|
},
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"group": "paint",
|
|
61
61
|
"state": "active",
|
|
62
62
|
"introduced": "0.7.0",
|
|
63
|
-
"description": "Use on
|
|
63
|
+
"description": "Use for yellow text on subtle yellow accent backgrounds when there is no meaning tied to the color."
|
|
64
64
|
},
|
|
65
65
|
"value": "#533F04"
|
|
66
66
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"group": "paint",
|
|
70
70
|
"state": "active",
|
|
71
71
|
"introduced": "0.6.0",
|
|
72
|
-
"description": "Use for green text on
|
|
72
|
+
"description": "Use for green text on subtlest and subtler green accent backgrounds when there is no meaning tied to the color."
|
|
73
73
|
},
|
|
74
74
|
"value": "#216E4E"
|
|
75
75
|
},
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"group": "paint",
|
|
79
79
|
"state": "active",
|
|
80
80
|
"introduced": "0.7.0",
|
|
81
|
-
"description": "Use on
|
|
81
|
+
"description": "Use for green text on subtle green accent backgrounds when there is no meaning tied to the color."
|
|
82
82
|
},
|
|
83
83
|
"value": "#164B35"
|
|
84
84
|
},
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"group": "paint",
|
|
88
88
|
"state": "active",
|
|
89
89
|
"introduced": "0.6.0",
|
|
90
|
-
"description": "Use for teal text on
|
|
90
|
+
"description": "Use for teal text on subtlest and subtler teal accent backgrounds when there is no meaning tied to the color."
|
|
91
91
|
},
|
|
92
92
|
"value": "#206B74"
|
|
93
93
|
},
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"group": "paint",
|
|
97
97
|
"state": "active",
|
|
98
98
|
"introduced": "0.7.0",
|
|
99
|
-
"description": "Use on
|
|
99
|
+
"description": "Use for teal text on subtle teal accent backgrounds when there is no meaning tied to the color."
|
|
100
100
|
},
|
|
101
101
|
"value": "#1D474C"
|
|
102
102
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"group": "paint",
|
|
106
106
|
"state": "active",
|
|
107
107
|
"introduced": "0.6.0",
|
|
108
|
-
"description": "Use for blue text on
|
|
108
|
+
"description": "Use for blue text on subtlest and subtler blue accent backgrounds when there is no meaning tied to the color."
|
|
109
109
|
},
|
|
110
110
|
"value": "#0055CC"
|
|
111
111
|
},
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"group": "paint",
|
|
115
115
|
"state": "active",
|
|
116
116
|
"introduced": "0.7.0",
|
|
117
|
-
"description": "Use on
|
|
117
|
+
"description": "Use for blue text on subtle blue accent backgrounds when there is no meaning tied to the color."
|
|
118
118
|
},
|
|
119
119
|
"value": "#09326C"
|
|
120
120
|
},
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"group": "paint",
|
|
124
124
|
"state": "active",
|
|
125
125
|
"introduced": "0.6.0",
|
|
126
|
-
"description": "Use for purple text on
|
|
126
|
+
"description": "Use for purple text on subtlest and subtler purple accent backgrounds when there is no meaning tied to the color."
|
|
127
127
|
},
|
|
128
128
|
"value": "#5E4DB2"
|
|
129
129
|
},
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"group": "paint",
|
|
133
133
|
"state": "active",
|
|
134
134
|
"introduced": "0.7.0",
|
|
135
|
-
"description": "Use on
|
|
135
|
+
"description": "Use for purple text on subtle purple accent backgrounds when there is no meaning tied to the color."
|
|
136
136
|
},
|
|
137
137
|
"value": "#352C63"
|
|
138
138
|
},
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"group": "paint",
|
|
142
142
|
"state": "active",
|
|
143
143
|
"introduced": "0.6.0",
|
|
144
|
-
"description": "Use for magenta text on
|
|
144
|
+
"description": "Use for magenta text on subtlest and subtler magenta accent backgrounds when there is no meaning tied to the color."
|
|
145
145
|
},
|
|
146
146
|
"value": "#943D73"
|
|
147
147
|
},
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"group": "paint",
|
|
151
151
|
"state": "active",
|
|
152
152
|
"introduced": "0.7.0",
|
|
153
|
-
"description": "Use on
|
|
153
|
+
"description": "Use for magenta text on subtle magenta accent backgrounds when there is no meaning tied to the color."
|
|
154
154
|
},
|
|
155
155
|
"value": "#50253F"
|
|
156
156
|
},
|
|
@@ -4,56 +4,74 @@
|
|
|
4
4
|
"Shape/border.radius.050": {
|
|
5
5
|
"attributes": {
|
|
6
6
|
"group": "shape",
|
|
7
|
-
"state": "
|
|
7
|
+
"state": "active",
|
|
8
8
|
"introduced": "1.1.0",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Used for selection indicators, like tabs."
|
|
10
10
|
},
|
|
11
11
|
"value": 2
|
|
12
12
|
},
|
|
13
|
+
"Shape/border.radius": {
|
|
14
|
+
"attributes": {
|
|
15
|
+
"group": "shape",
|
|
16
|
+
"state": "active",
|
|
17
|
+
"introduced": "1.5.2",
|
|
18
|
+
"description": "The default border radius."
|
|
19
|
+
},
|
|
20
|
+
"value": 4
|
|
21
|
+
},
|
|
13
22
|
"Shape/border.radius.100": {
|
|
14
23
|
"attributes": {
|
|
15
24
|
"group": "shape",
|
|
16
|
-
"state": "
|
|
25
|
+
"state": "active",
|
|
17
26
|
"introduced": "1.1.0",
|
|
18
|
-
"description": "
|
|
27
|
+
"description": "Used for buttons and inputs."
|
|
19
28
|
},
|
|
20
29
|
"value": 4
|
|
21
30
|
},
|
|
22
31
|
"Shape/border.radius.200": {
|
|
23
32
|
"attributes": {
|
|
24
33
|
"group": "shape",
|
|
25
|
-
"state": "
|
|
34
|
+
"state": "active",
|
|
26
35
|
"introduced": "1.1.0",
|
|
27
|
-
"description": "
|
|
36
|
+
"description": "Used for smaller cards."
|
|
28
37
|
},
|
|
29
38
|
"value": 8
|
|
30
39
|
},
|
|
31
40
|
"Shape/border.radius.300": {
|
|
32
41
|
"attributes": {
|
|
33
42
|
"group": "shape",
|
|
34
|
-
"state": "
|
|
43
|
+
"state": "active",
|
|
35
44
|
"introduced": "1.1.0",
|
|
36
|
-
"description": "
|
|
45
|
+
"description": "Used for cards and larger containers."
|
|
37
46
|
},
|
|
38
47
|
"value": 12
|
|
39
48
|
},
|
|
40
49
|
"Shape/border.radius.400": {
|
|
41
50
|
"attributes": {
|
|
42
51
|
"group": "shape",
|
|
43
|
-
"state": "
|
|
52
|
+
"state": "active",
|
|
44
53
|
"introduced": "1.1.0",
|
|
45
|
-
"description": "
|
|
54
|
+
"description": "Used for modals."
|
|
46
55
|
},
|
|
47
56
|
"value": 16
|
|
48
57
|
},
|
|
49
|
-
"Shape/border.radius.
|
|
58
|
+
"Shape/border.radius.circle": {
|
|
50
59
|
"attributes": {
|
|
51
60
|
"group": "shape",
|
|
52
|
-
"state": "
|
|
61
|
+
"state": "active",
|
|
53
62
|
"introduced": "1.1.0",
|
|
54
|
-
"description": "
|
|
63
|
+
"description": "Used for circular containers, like a rounded button."
|
|
55
64
|
},
|
|
56
|
-
"value":
|
|
65
|
+
"value": 32032
|
|
66
|
+
},
|
|
67
|
+
"Shape/border.width": {
|
|
68
|
+
"attributes": {
|
|
69
|
+
"group": "shape",
|
|
70
|
+
"state": "active",
|
|
71
|
+
"introduced": "1.5.2",
|
|
72
|
+
"description": "The default border width."
|
|
73
|
+
},
|
|
74
|
+
"value": 1
|
|
57
75
|
},
|
|
58
76
|
"Shape/border.width.0": {
|
|
59
77
|
"attributes": {
|
|
@@ -67,18 +85,18 @@
|
|
|
67
85
|
"Shape/border.width.050": {
|
|
68
86
|
"attributes": {
|
|
69
87
|
"group": "shape",
|
|
70
|
-
"state": "
|
|
88
|
+
"state": "active",
|
|
71
89
|
"introduced": "1.1.0",
|
|
72
|
-
"description": "
|
|
90
|
+
"description": "Used for all borders and dividers."
|
|
73
91
|
},
|
|
74
92
|
"value": 1
|
|
75
93
|
},
|
|
76
94
|
"Shape/border.width.100": {
|
|
77
95
|
"attributes": {
|
|
78
96
|
"group": "shape",
|
|
79
|
-
"state": "
|
|
97
|
+
"state": "active",
|
|
80
98
|
"introduced": "1.1.0",
|
|
81
|
-
"description": "
|
|
99
|
+
"description": "Used for bolder dividers and interaction states."
|
|
82
100
|
},
|
|
83
101
|
"value": 2
|
|
84
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"author": "Atlassian Pty Ltd",
|
|
5
5
|
"description": "Design tokens are the single source of truth to name and store design decisions.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -71,14 +71,15 @@
|
|
|
71
71
|
"@atlaskit/docs": "^9.1.0",
|
|
72
72
|
"@atlaskit/dropdown-menu": "^11.9.0",
|
|
73
73
|
"@atlaskit/ds-explorations": "^2.2.0",
|
|
74
|
-
"@atlaskit/dynamic-table": "^14.
|
|
74
|
+
"@atlaskit/dynamic-table": "^14.10.0",
|
|
75
75
|
"@atlaskit/grid": "^0.11.0",
|
|
76
76
|
"@atlaskit/heading": "^1.3.0",
|
|
77
77
|
"@atlaskit/icon": "^21.12.0",
|
|
78
78
|
"@atlaskit/lozenge": "^11.4.0",
|
|
79
|
-
"@atlaskit/primitives": "^0.
|
|
79
|
+
"@atlaskit/primitives": "^0.12.0",
|
|
80
80
|
"@atlaskit/section-message": "^6.4.0",
|
|
81
81
|
"@atlaskit/select": "^16.5.0",
|
|
82
|
+
"@atlaskit/spinner": "^15.5.1",
|
|
82
83
|
"@atlaskit/tag": "^11.5.0",
|
|
83
84
|
"@atlaskit/textfield": "^5.5.0",
|
|
84
85
|
"@atlaskit/theme": "^12.5.0",
|
package/report.api.md
CHANGED
|
@@ -25,6 +25,16 @@ interface ActiveThemeState extends ThemeState {
|
|
|
25
25
|
|
|
26
26
|
// @public
|
|
27
27
|
export type ActiveTokens =
|
|
28
|
+
| 'border.radius'
|
|
29
|
+
| 'border.radius.050'
|
|
30
|
+
| 'border.radius.100'
|
|
31
|
+
| 'border.radius.200'
|
|
32
|
+
| 'border.radius.300'
|
|
33
|
+
| 'border.radius.400'
|
|
34
|
+
| 'border.radius.circle'
|
|
35
|
+
| 'border.width'
|
|
36
|
+
| 'border.width.050'
|
|
37
|
+
| 'border.width.100'
|
|
28
38
|
| 'color.background.accent.blue.bolder'
|
|
29
39
|
| 'color.background.accent.blue.subtle'
|
|
30
40
|
| 'color.background.accent.blue.subtler'
|
|
@@ -349,6 +359,74 @@ export type ActiveTokens =
|
|
|
349
359
|
// @public (undocumented)
|
|
350
360
|
type ActiveTokenState = 'active';
|
|
351
361
|
|
|
362
|
+
// @public (undocumented)
|
|
363
|
+
type BaseRadiusToken = keyof typeof baseRadiusTokens;
|
|
364
|
+
|
|
365
|
+
// @public (undocumented)
|
|
366
|
+
const baseRadiusTokens: {
|
|
367
|
+
readonly Radius050: {
|
|
368
|
+
readonly value: 2;
|
|
369
|
+
readonly attributes: {
|
|
370
|
+
readonly group: 'shape';
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
readonly Radius100: {
|
|
374
|
+
readonly value: 4;
|
|
375
|
+
readonly attributes: {
|
|
376
|
+
readonly group: 'shape';
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
readonly Radius200: {
|
|
380
|
+
readonly value: 8;
|
|
381
|
+
readonly attributes: {
|
|
382
|
+
readonly group: 'shape';
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly Radius300: {
|
|
386
|
+
readonly value: 12;
|
|
387
|
+
readonly attributes: {
|
|
388
|
+
readonly group: 'shape';
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
readonly Radius400: {
|
|
392
|
+
readonly value: 16;
|
|
393
|
+
readonly attributes: {
|
|
394
|
+
readonly group: 'shape';
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
readonly RadiusCircle: {
|
|
398
|
+
readonly value: 32032;
|
|
399
|
+
readonly attributes: {
|
|
400
|
+
readonly group: 'shape';
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
// @public (undocumented)
|
|
406
|
+
type BaseSizeToken = keyof typeof baseSizeTokens;
|
|
407
|
+
|
|
408
|
+
// @public (undocumented)
|
|
409
|
+
const baseSizeTokens: {
|
|
410
|
+
readonly Size0: {
|
|
411
|
+
readonly value: 0;
|
|
412
|
+
readonly attributes: {
|
|
413
|
+
readonly group: 'shape';
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
readonly Size050: {
|
|
417
|
+
readonly value: 1;
|
|
418
|
+
readonly attributes: {
|
|
419
|
+
readonly group: 'shape';
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
readonly Size100: {
|
|
423
|
+
readonly value: 2;
|
|
424
|
+
readonly attributes: {
|
|
425
|
+
readonly group: 'shape';
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
|
|
352
430
|
// @public (undocumented)
|
|
353
431
|
const baseSpacingTokens: {
|
|
354
432
|
readonly Space0: {
|
|
@@ -442,15 +520,6 @@ export type CSSToken = CSSTokenMap[keyof CSSTokenMap];
|
|
|
442
520
|
|
|
443
521
|
// @public (undocumented)
|
|
444
522
|
type CSSTokenMap = {
|
|
445
|
-
'border.radius.050': 'var(--ds-radius-050)';
|
|
446
|
-
'border.radius.100': 'var(--ds-radius-100)';
|
|
447
|
-
'border.radius.200': 'var(--ds-radius-200)';
|
|
448
|
-
'border.radius.300': 'var(--ds-radius-300)';
|
|
449
|
-
'border.radius.400': 'var(--ds-radius-400)';
|
|
450
|
-
'border.radius.round': 'var(--ds-radius-round)';
|
|
451
|
-
'border.width.0': 'var(--ds-width-0)';
|
|
452
|
-
'border.width.050': 'var(--ds-width-050)';
|
|
453
|
-
'border.width.100': 'var(--ds-width-100)';
|
|
454
523
|
'color.text': 'var(--ds-text)';
|
|
455
524
|
'color.text.accent.red': 'var(--ds-text-accent-red)';
|
|
456
525
|
'color.text.accent.red.bolder': 'var(--ds-text-accent-red-bolder)';
|
|
@@ -737,6 +806,17 @@ type CSSTokenMap = {
|
|
|
737
806
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
738
807
|
'opacity.loading': 'var(--ds-opacity-loading)';
|
|
739
808
|
'utility.UNSAFE.transparent': 'var(--ds-UNSAFE-transparent)';
|
|
809
|
+
'border.radius.050': 'var(--ds-border-radius-050)';
|
|
810
|
+
'border.radius': 'var(--ds-border-radius)';
|
|
811
|
+
'border.radius.100': 'var(--ds-border-radius-100)';
|
|
812
|
+
'border.radius.200': 'var(--ds-border-radius-200)';
|
|
813
|
+
'border.radius.300': 'var(--ds-border-radius-300)';
|
|
814
|
+
'border.radius.400': 'var(--ds-border-radius-400)';
|
|
815
|
+
'border.radius.circle': 'var(--ds-border-radius-circle)';
|
|
816
|
+
'border.width': 'var(--ds-border-width)';
|
|
817
|
+
'border.width.0': 'var(--ds-border-width-0)';
|
|
818
|
+
'border.width.050': 'var(--ds-border-width-050)';
|
|
819
|
+
'border.width.100': 'var(--ds-border-width-100)';
|
|
740
820
|
'space.0': 'var(--ds-space-0)';
|
|
741
821
|
'space.025': 'var(--ds-space-025)';
|
|
742
822
|
'space.050': 'var(--ds-space-050)';
|
|
@@ -843,6 +923,7 @@ export const getThemeHtmlAttrs: ({
|
|
|
843
923
|
colorMode,
|
|
844
924
|
dark,
|
|
845
925
|
light,
|
|
926
|
+
shape,
|
|
846
927
|
spacing,
|
|
847
928
|
typography,
|
|
848
929
|
}?: Partial<ThemeState>) => Record<string, string>;
|
|
@@ -854,6 +935,7 @@ export const getThemeStyles: ({
|
|
|
854
935
|
light,
|
|
855
936
|
spacing,
|
|
856
937
|
typography,
|
|
938
|
+
shape,
|
|
857
939
|
}?: Partial<ThemeState>) => Promise<ThemeStyles[]>;
|
|
858
940
|
|
|
859
941
|
// @public
|
|
@@ -879,6 +961,16 @@ export type Groups =
|
|
|
879
961
|
|
|
880
962
|
// @public
|
|
881
963
|
type InternalTokenIds =
|
|
964
|
+
| 'border.radius.050'
|
|
965
|
+
| 'border.radius.100'
|
|
966
|
+
| 'border.radius.200'
|
|
967
|
+
| 'border.radius.300'
|
|
968
|
+
| 'border.radius.400'
|
|
969
|
+
| 'border.radius.[default]'
|
|
970
|
+
| 'border.radius.circle'
|
|
971
|
+
| 'border.width.050'
|
|
972
|
+
| 'border.width.100'
|
|
973
|
+
| 'border.width.[default]'
|
|
882
974
|
| 'color.background.accent.blue.bolder'
|
|
883
975
|
| 'color.background.accent.blue.subtle'
|
|
884
976
|
| 'color.background.accent.blue.subtler'
|
|
@@ -1225,6 +1317,7 @@ export const setGlobalTheme: ({
|
|
|
1225
1317
|
colorMode,
|
|
1226
1318
|
dark,
|
|
1227
1319
|
light,
|
|
1320
|
+
shape,
|
|
1228
1321
|
spacing,
|
|
1229
1322
|
typography,
|
|
1230
1323
|
}?: Partial<ThemeState>) => Promise<UnbindFn>;
|
|
@@ -1245,6 +1338,12 @@ export type ShadowToken<BaseToken> = DesignToken<
|
|
|
1245
1338
|
'shadow'
|
|
1246
1339
|
>;
|
|
1247
1340
|
|
|
1341
|
+
// @public
|
|
1342
|
+
type ShapePaletteToken = BaseRadiusToken | BaseSizeToken;
|
|
1343
|
+
|
|
1344
|
+
// @public (undocumented)
|
|
1345
|
+
export type ShapeToken = DesignToken<ShapePaletteToken, 'shape'>;
|
|
1346
|
+
|
|
1248
1347
|
// @public
|
|
1249
1348
|
type SpacingPaletteToken = keyof typeof baseSpacingTokens;
|
|
1250
1349
|
|
|
@@ -1330,13 +1429,15 @@ export interface ThemeState {
|
|
|
1330
1429
|
// (undocumented)
|
|
1331
1430
|
colorMode: ThemeColorModes;
|
|
1332
1431
|
// (undocumented)
|
|
1333
|
-
dark: ThemeIds
|
|
1432
|
+
dark: Extract<ThemeIds, 'dark' | 'legacy-dark' | 'legacy-light' | 'light'>;
|
|
1433
|
+
// (undocumented)
|
|
1434
|
+
light: Extract<ThemeIds, 'dark' | 'legacy-dark' | 'legacy-light' | 'light'>;
|
|
1334
1435
|
// (undocumented)
|
|
1335
|
-
|
|
1436
|
+
shape?: Extract<ThemeIds, 'shape'>;
|
|
1336
1437
|
// (undocumented)
|
|
1337
|
-
spacing?: ThemeIds
|
|
1438
|
+
spacing?: Extract<ThemeIds, 'spacing'>;
|
|
1338
1439
|
// (undocumented)
|
|
1339
|
-
typography?: ThemeIds
|
|
1440
|
+
typography?: Extract<ThemeIds, 'typography'>;
|
|
1340
1441
|
}
|
|
1341
1442
|
|
|
1342
1443
|
// @public
|
|
@@ -1376,15 +1477,6 @@ type Tokens = typeof tokens;
|
|
|
1376
1477
|
|
|
1377
1478
|
// @public
|
|
1378
1479
|
const tokens: {
|
|
1379
|
-
readonly 'border.radius.050': '--ds-radius-050';
|
|
1380
|
-
readonly 'border.radius.100': '--ds-radius-100';
|
|
1381
|
-
readonly 'border.radius.200': '--ds-radius-200';
|
|
1382
|
-
readonly 'border.radius.300': '--ds-radius-300';
|
|
1383
|
-
readonly 'border.radius.400': '--ds-radius-400';
|
|
1384
|
-
readonly 'border.radius.round': '--ds-radius-round';
|
|
1385
|
-
readonly 'border.width.0': '--ds-width-0';
|
|
1386
|
-
readonly 'border.width.050': '--ds-width-050';
|
|
1387
|
-
readonly 'border.width.100': '--ds-width-100';
|
|
1388
1480
|
readonly 'color.text': '--ds-text';
|
|
1389
1481
|
readonly 'color.text.accent.red': '--ds-text-accent-red';
|
|
1390
1482
|
readonly 'color.text.accent.red.bolder': '--ds-text-accent-red-bolder';
|
|
@@ -1671,6 +1763,17 @@ const tokens: {
|
|
|
1671
1763
|
readonly 'opacity.disabled': '--ds-opacity-disabled';
|
|
1672
1764
|
readonly 'opacity.loading': '--ds-opacity-loading';
|
|
1673
1765
|
readonly 'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent';
|
|
1766
|
+
readonly 'border.radius.050': '--ds-border-radius-050';
|
|
1767
|
+
readonly 'border.radius': '--ds-border-radius';
|
|
1768
|
+
readonly 'border.radius.100': '--ds-border-radius-100';
|
|
1769
|
+
readonly 'border.radius.200': '--ds-border-radius-200';
|
|
1770
|
+
readonly 'border.radius.300': '--ds-border-radius-300';
|
|
1771
|
+
readonly 'border.radius.400': '--ds-border-radius-400';
|
|
1772
|
+
readonly 'border.radius.circle': '--ds-border-radius-circle';
|
|
1773
|
+
readonly 'border.width': '--ds-border-width';
|
|
1774
|
+
readonly 'border.width.0': '--ds-border-width-0';
|
|
1775
|
+
readonly 'border.width.050': '--ds-border-width-050';
|
|
1776
|
+
readonly 'border.width.100': '--ds-border-width-100';
|
|
1674
1777
|
readonly 'space.0': '--ds-space-0';
|
|
1675
1778
|
readonly 'space.025': '--ds-space-025';
|
|
1676
1779
|
readonly 'space.050': '--ds-space-050';
|