@atlaskit/tokens 1.0.0 → 1.2.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 +24 -2
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +134 -0
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +29 -243
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +41 -41
- package/dist/cjs/artifacts/replacement-mapping.js +2 -210
- package/dist/cjs/artifacts/theme-import-map.js +6 -1
- package/dist/cjs/artifacts/themes/atlassian-shape.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +9 -67
- package/dist/cjs/artifacts/token-names.js +9 -67
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +190 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
- package/dist/cjs/entry-points/tokens-raw.js +8 -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 +70 -0
- package/dist/cjs/palettes/spacing-scale.js +14 -17
- package/dist/cjs/palettes/typography-palette.js +20 -20
- package/dist/cjs/theme-config.js +9 -1
- package/dist/cjs/tokens/atlassian-shape/shape.js +44 -0
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +0 -227
- package/dist/cjs/tokens/default/shape/shape.js +80 -0
- package/dist/cjs/tokens/default/spacing/spacing.js +0 -620
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +127 -0
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +29 -243
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +41 -41
- package/dist/es2019/artifacts/replacement-mapping.js +2 -210
- package/dist/es2019/artifacts/theme-import-map.js +4 -2
- package/dist/es2019/artifacts/themes/atlassian-shape.js +17 -0
- package/dist/es2019/artifacts/themes/atlassian-spacing.js +1 -67
- package/dist/es2019/artifacts/token-default-values.js +9 -67
- package/dist/es2019/artifacts/token-names.js +9 -67
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +183 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
- package/dist/es2019/entry-points/tokens-raw.js +2 -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 +63 -0
- package/dist/es2019/palettes/spacing-scale.js +14 -17
- package/dist/es2019/palettes/typography-palette.js +20 -20
- package/dist/es2019/theme-config.js +9 -1
- package/dist/es2019/tokens/atlassian-shape/shape.js +37 -0
- package/dist/es2019/tokens/atlassian-spacing/spacing.js +0 -227
- package/dist/es2019/tokens/default/shape/shape.js +73 -0
- package/dist/es2019/tokens/default/spacing/spacing.js +0 -620
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +127 -0
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +29 -243
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +41 -41
- package/dist/esm/artifacts/replacement-mapping.js +2 -210
- package/dist/esm/artifacts/theme-import-map.js +5 -1
- package/dist/esm/artifacts/themes/atlassian-shape.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-spacing.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +9 -67
- package/dist/esm/artifacts/token-names.js +9 -67
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +183 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
- package/dist/esm/entry-points/tokens-raw.js +2 -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 +63 -0
- package/dist/esm/palettes/spacing-scale.js +14 -17
- package/dist/esm/palettes/typography-palette.js +20 -20
- package/dist/esm/theme-config.js +9 -1
- package/dist/esm/tokens/atlassian-shape/shape.js +37 -0
- package/dist/esm/tokens/atlassian-spacing/spacing.js +0 -227
- package/dist/esm/tokens/default/shape/shape.js +73 -0
- package/dist/esm/tokens/default/spacing/spacing.js +0 -620
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +22 -0
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-shape.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-spacing.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +9 -67
- package/dist/types/artifacts/token-names.d.ts +17 -133
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -89
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/entry-points/tokens-raw.d.ts +1 -0
- package/dist/types/palettes/shape-palette.d.ts +61 -0
- package/dist/types/palettes/spacing-scale.d.ts +14 -14
- package/dist/types/theme-config.d.ts +5 -7
- package/dist/types/tokens/atlassian-shape/shape.d.ts +7 -0
- package/dist/types/tokens/default/shape/shape.d.ts +3 -0
- package/dist/types/types.d.ts +29 -116
- package/figma/atlassian-shape.json +78 -0
- package/figma/atlassian-spacing.json +1 -761
- package/package.json +1 -1
- package/report.api.md +23 -136
- package/tmp/api-report-tmp.d.ts +23 -138
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::15f0ab59b776fd0726847c173399dd26>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
7
7
|
"value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
|
|
8
8
|
"attributes": {
|
|
9
|
-
"group": "
|
|
9
|
+
"group": "typography"
|
|
10
10
|
},
|
|
11
11
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
14
|
"value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
|
|
15
15
|
"attributes": {
|
|
16
|
-
"group": "
|
|
16
|
+
"group": "typography"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"name": "typography.fontFamily.FontFamilyMonospace",
|
|
@@ -21,14 +21,14 @@ const tokens = [{
|
|
|
21
21
|
}, {
|
|
22
22
|
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
|
|
23
23
|
"attributes": {
|
|
24
|
-
"group": "
|
|
24
|
+
"group": "typography"
|
|
25
25
|
},
|
|
26
26
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
27
27
|
"isSource": true,
|
|
28
28
|
"original": {
|
|
29
29
|
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
|
|
30
30
|
"attributes": {
|
|
31
|
-
"group": "
|
|
31
|
+
"group": "typography"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"name": "typography.fontFamily.FontFamilySans",
|
|
@@ -36,14 +36,14 @@ const tokens = [{
|
|
|
36
36
|
}, {
|
|
37
37
|
"value": "11px",
|
|
38
38
|
"attributes": {
|
|
39
|
-
"group": "
|
|
39
|
+
"group": "typography"
|
|
40
40
|
},
|
|
41
41
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
42
42
|
"isSource": true,
|
|
43
43
|
"original": {
|
|
44
44
|
"value": "11px",
|
|
45
45
|
"attributes": {
|
|
46
|
-
"group": "
|
|
46
|
+
"group": "typography"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"name": "typography.fontSize.FontSize050",
|
|
@@ -51,14 +51,14 @@ const tokens = [{
|
|
|
51
51
|
}, {
|
|
52
52
|
"value": "12px",
|
|
53
53
|
"attributes": {
|
|
54
|
-
"group": "
|
|
54
|
+
"group": "typography"
|
|
55
55
|
},
|
|
56
56
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
57
57
|
"isSource": true,
|
|
58
58
|
"original": {
|
|
59
59
|
"value": "12px",
|
|
60
60
|
"attributes": {
|
|
61
|
-
"group": "
|
|
61
|
+
"group": "typography"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"name": "typography.fontSize.FontSize075",
|
|
@@ -66,14 +66,14 @@ const tokens = [{
|
|
|
66
66
|
}, {
|
|
67
67
|
"value": "14px",
|
|
68
68
|
"attributes": {
|
|
69
|
-
"group": "
|
|
69
|
+
"group": "typography"
|
|
70
70
|
},
|
|
71
71
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
72
72
|
"isSource": true,
|
|
73
73
|
"original": {
|
|
74
74
|
"value": "14px",
|
|
75
75
|
"attributes": {
|
|
76
|
-
"group": "
|
|
76
|
+
"group": "typography"
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"name": "typography.fontSize.FontSize100",
|
|
@@ -81,14 +81,14 @@ const tokens = [{
|
|
|
81
81
|
}, {
|
|
82
82
|
"value": "16px",
|
|
83
83
|
"attributes": {
|
|
84
|
-
"group": "
|
|
84
|
+
"group": "typography"
|
|
85
85
|
},
|
|
86
86
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
87
87
|
"isSource": true,
|
|
88
88
|
"original": {
|
|
89
89
|
"value": "16px",
|
|
90
90
|
"attributes": {
|
|
91
|
-
"group": "
|
|
91
|
+
"group": "typography"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
"name": "typography.fontSize.FontSize200",
|
|
@@ -96,14 +96,14 @@ const tokens = [{
|
|
|
96
96
|
}, {
|
|
97
97
|
"value": "20px",
|
|
98
98
|
"attributes": {
|
|
99
|
-
"group": "
|
|
99
|
+
"group": "typography"
|
|
100
100
|
},
|
|
101
101
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
102
102
|
"isSource": true,
|
|
103
103
|
"original": {
|
|
104
104
|
"value": "20px",
|
|
105
105
|
"attributes": {
|
|
106
|
-
"group": "
|
|
106
|
+
"group": "typography"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"name": "typography.fontSize.FontSize300",
|
|
@@ -111,14 +111,14 @@ const tokens = [{
|
|
|
111
111
|
}, {
|
|
112
112
|
"value": "24px",
|
|
113
113
|
"attributes": {
|
|
114
|
-
"group": "
|
|
114
|
+
"group": "typography"
|
|
115
115
|
},
|
|
116
116
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
117
117
|
"isSource": true,
|
|
118
118
|
"original": {
|
|
119
119
|
"value": "24px",
|
|
120
120
|
"attributes": {
|
|
121
|
-
"group": "
|
|
121
|
+
"group": "typography"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"name": "typography.fontSize.FontSize400",
|
|
@@ -126,14 +126,14 @@ const tokens = [{
|
|
|
126
126
|
}, {
|
|
127
127
|
"value": "29px",
|
|
128
128
|
"attributes": {
|
|
129
|
-
"group": "
|
|
129
|
+
"group": "typography"
|
|
130
130
|
},
|
|
131
131
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
132
132
|
"isSource": true,
|
|
133
133
|
"original": {
|
|
134
134
|
"value": "29px",
|
|
135
135
|
"attributes": {
|
|
136
|
-
"group": "
|
|
136
|
+
"group": "typography"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"name": "typography.fontSize.FontSize500",
|
|
@@ -141,14 +141,14 @@ const tokens = [{
|
|
|
141
141
|
}, {
|
|
142
142
|
"value": "35px",
|
|
143
143
|
"attributes": {
|
|
144
|
-
"group": "
|
|
144
|
+
"group": "typography"
|
|
145
145
|
},
|
|
146
146
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
147
147
|
"isSource": true,
|
|
148
148
|
"original": {
|
|
149
149
|
"value": "35px",
|
|
150
150
|
"attributes": {
|
|
151
|
-
"group": "
|
|
151
|
+
"group": "typography"
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"name": "typography.fontSize.FontSize600",
|
|
@@ -156,14 +156,14 @@ const tokens = [{
|
|
|
156
156
|
}, {
|
|
157
157
|
"value": "700",
|
|
158
158
|
"attributes": {
|
|
159
|
-
"group": "
|
|
159
|
+
"group": "typography"
|
|
160
160
|
},
|
|
161
161
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
162
162
|
"isSource": true,
|
|
163
163
|
"original": {
|
|
164
164
|
"value": "700",
|
|
165
165
|
"attributes": {
|
|
166
|
-
"group": "
|
|
166
|
+
"group": "typography"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
"name": "typography.fontWeight.FontWeightBold",
|
|
@@ -171,14 +171,14 @@ const tokens = [{
|
|
|
171
171
|
}, {
|
|
172
172
|
"value": "500",
|
|
173
173
|
"attributes": {
|
|
174
|
-
"group": "
|
|
174
|
+
"group": "typography"
|
|
175
175
|
},
|
|
176
176
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
177
177
|
"isSource": true,
|
|
178
178
|
"original": {
|
|
179
179
|
"value": "500",
|
|
180
180
|
"attributes": {
|
|
181
|
-
"group": "
|
|
181
|
+
"group": "typography"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
"name": "typography.fontWeight.FontWeightMedium",
|
|
@@ -186,14 +186,14 @@ const tokens = [{
|
|
|
186
186
|
}, {
|
|
187
187
|
"value": "400",
|
|
188
188
|
"attributes": {
|
|
189
|
-
"group": "
|
|
189
|
+
"group": "typography"
|
|
190
190
|
},
|
|
191
191
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
192
192
|
"isSource": true,
|
|
193
193
|
"original": {
|
|
194
194
|
"value": "400",
|
|
195
195
|
"attributes": {
|
|
196
|
-
"group": "
|
|
196
|
+
"group": "typography"
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
"name": "typography.fontWeight.FontWeightRegular",
|
|
@@ -201,14 +201,14 @@ const tokens = [{
|
|
|
201
201
|
}, {
|
|
202
202
|
"value": "600",
|
|
203
203
|
"attributes": {
|
|
204
|
-
"group": "
|
|
204
|
+
"group": "typography"
|
|
205
205
|
},
|
|
206
206
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
207
207
|
"isSource": true,
|
|
208
208
|
"original": {
|
|
209
209
|
"value": "600",
|
|
210
210
|
"attributes": {
|
|
211
|
-
"group": "
|
|
211
|
+
"group": "typography"
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
"name": "typography.fontWeight.FontWeightSemiBold",
|
|
@@ -216,14 +216,14 @@ const tokens = [{
|
|
|
216
216
|
}, {
|
|
217
217
|
"value": "16px",
|
|
218
218
|
"attributes": {
|
|
219
|
-
"group": "
|
|
219
|
+
"group": "typography"
|
|
220
220
|
},
|
|
221
221
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
222
222
|
"isSource": true,
|
|
223
223
|
"original": {
|
|
224
224
|
"value": "16px",
|
|
225
225
|
"attributes": {
|
|
226
|
-
"group": "
|
|
226
|
+
"group": "typography"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
"name": "typography.lineHeight.LineHeight100",
|
|
@@ -231,14 +231,14 @@ const tokens = [{
|
|
|
231
231
|
}, {
|
|
232
232
|
"value": "20px",
|
|
233
233
|
"attributes": {
|
|
234
|
-
"group": "
|
|
234
|
+
"group": "typography"
|
|
235
235
|
},
|
|
236
236
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
237
237
|
"isSource": true,
|
|
238
238
|
"original": {
|
|
239
239
|
"value": "20px",
|
|
240
240
|
"attributes": {
|
|
241
|
-
"group": "
|
|
241
|
+
"group": "typography"
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
"name": "typography.lineHeight.LineHeight200",
|
|
@@ -246,14 +246,14 @@ const tokens = [{
|
|
|
246
246
|
}, {
|
|
247
247
|
"value": "24px",
|
|
248
248
|
"attributes": {
|
|
249
|
-
"group": "
|
|
249
|
+
"group": "typography"
|
|
250
250
|
},
|
|
251
251
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
252
252
|
"isSource": true,
|
|
253
253
|
"original": {
|
|
254
254
|
"value": "24px",
|
|
255
255
|
"attributes": {
|
|
256
|
-
"group": "
|
|
256
|
+
"group": "typography"
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
"name": "typography.lineHeight.LineHeight300",
|
|
@@ -261,14 +261,14 @@ const tokens = [{
|
|
|
261
261
|
}, {
|
|
262
262
|
"value": "28px",
|
|
263
263
|
"attributes": {
|
|
264
|
-
"group": "
|
|
264
|
+
"group": "typography"
|
|
265
265
|
},
|
|
266
266
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
267
267
|
"isSource": true,
|
|
268
268
|
"original": {
|
|
269
269
|
"value": "28px",
|
|
270
270
|
"attributes": {
|
|
271
|
-
"group": "
|
|
271
|
+
"group": "typography"
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
"name": "typography.lineHeight.LineHeight400",
|
|
@@ -276,14 +276,14 @@ const tokens = [{
|
|
|
276
276
|
}, {
|
|
277
277
|
"value": "32px",
|
|
278
278
|
"attributes": {
|
|
279
|
-
"group": "
|
|
279
|
+
"group": "typography"
|
|
280
280
|
},
|
|
281
281
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
282
282
|
"isSource": true,
|
|
283
283
|
"original": {
|
|
284
284
|
"value": "32px",
|
|
285
285
|
"attributes": {
|
|
286
|
-
"group": "
|
|
286
|
+
"group": "typography"
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
"name": "typography.lineHeight.LineHeight500",
|
|
@@ -291,14 +291,14 @@ const tokens = [{
|
|
|
291
291
|
}, {
|
|
292
292
|
"value": "40px",
|
|
293
293
|
"attributes": {
|
|
294
|
-
"group": "
|
|
294
|
+
"group": "typography"
|
|
295
295
|
},
|
|
296
296
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
297
297
|
"isSource": true,
|
|
298
298
|
"original": {
|
|
299
299
|
"value": "40px",
|
|
300
300
|
"attributes": {
|
|
301
|
-
"group": "
|
|
301
|
+
"group": "typography"
|
|
302
302
|
}
|
|
303
303
|
},
|
|
304
304
|
"name": "typography.lineHeight.LineHeight600",
|
|
@@ -12,217 +12,9 @@
|
|
|
12
12
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
13
|
* migrate as many of these renames as possible.
|
|
14
14
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
15
|
+
* @codegen <<SignedSource::424b7eccf34d7d646da64d4755658ae1>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
const replacementMapper = [
|
|
20
|
-
"path": "spacing.scaleLinear.0",
|
|
21
|
-
"state": "experimental",
|
|
22
|
-
"replacement": "0"
|
|
23
|
-
}, {
|
|
24
|
-
"path": "spacing.scaleLinear.100",
|
|
25
|
-
"state": "experimental",
|
|
26
|
-
"replacement": "2px"
|
|
27
|
-
}, {
|
|
28
|
-
"path": "spacing.scaleLinear.200",
|
|
29
|
-
"state": "experimental",
|
|
30
|
-
"replacement": "4px"
|
|
31
|
-
}, {
|
|
32
|
-
"path": "spacing.scaleLinear.300",
|
|
33
|
-
"state": "experimental",
|
|
34
|
-
"replacement": "6px"
|
|
35
|
-
}, {
|
|
36
|
-
"path": "spacing.scaleLinear.400",
|
|
37
|
-
"state": "experimental",
|
|
38
|
-
"replacement": "8px"
|
|
39
|
-
}, {
|
|
40
|
-
"path": "spacing.scaleLinear.500",
|
|
41
|
-
"state": "experimental",
|
|
42
|
-
"replacement": "12px"
|
|
43
|
-
}, {
|
|
44
|
-
"path": "spacing.scaleLinear.600",
|
|
45
|
-
"state": "experimental",
|
|
46
|
-
"replacement": "16px"
|
|
47
|
-
}, {
|
|
48
|
-
"path": "spacing.scaleLinear.700",
|
|
49
|
-
"state": "experimental",
|
|
50
|
-
"replacement": "20px"
|
|
51
|
-
}, {
|
|
52
|
-
"path": "spacing.scaleLinear.800",
|
|
53
|
-
"state": "experimental",
|
|
54
|
-
"replacement": "24px"
|
|
55
|
-
}, {
|
|
56
|
-
"path": "spacing.scaleLinear.900",
|
|
57
|
-
"state": "experimental",
|
|
58
|
-
"replacement": "32px"
|
|
59
|
-
}, {
|
|
60
|
-
"path": "spacing.scaleLinear.1000",
|
|
61
|
-
"state": "experimental",
|
|
62
|
-
"replacement": "40px"
|
|
63
|
-
}, {
|
|
64
|
-
"path": "spacing.scaleLinear.1100",
|
|
65
|
-
"state": "experimental",
|
|
66
|
-
"replacement": "48px"
|
|
67
|
-
}, {
|
|
68
|
-
"path": "spacing.size.none",
|
|
69
|
-
"state": "experimental",
|
|
70
|
-
"replacement": "0"
|
|
71
|
-
}, {
|
|
72
|
-
"path": "spacing.size.xxxxSmall",
|
|
73
|
-
"state": "experimental",
|
|
74
|
-
"replacement": "2px"
|
|
75
|
-
}, {
|
|
76
|
-
"path": "spacing.size.xxxSmall",
|
|
77
|
-
"state": "experimental",
|
|
78
|
-
"replacement": "4px"
|
|
79
|
-
}, {
|
|
80
|
-
"path": "spacing.size.xxSmall",
|
|
81
|
-
"state": "experimental",
|
|
82
|
-
"replacement": "6px"
|
|
83
|
-
}, {
|
|
84
|
-
"path": "spacing.size.xsmall",
|
|
85
|
-
"state": "experimental",
|
|
86
|
-
"replacement": "8px"
|
|
87
|
-
}, {
|
|
88
|
-
"path": "spacing.size.small",
|
|
89
|
-
"state": "experimental",
|
|
90
|
-
"replacement": "12px"
|
|
91
|
-
}, {
|
|
92
|
-
"path": "spacing.size.medium",
|
|
93
|
-
"state": "experimental",
|
|
94
|
-
"replacement": "16px"
|
|
95
|
-
}, {
|
|
96
|
-
"path": "spacing.size.large",
|
|
97
|
-
"state": "experimental",
|
|
98
|
-
"replacement": "20px"
|
|
99
|
-
}, {
|
|
100
|
-
"path": "spacing.size.xlarge",
|
|
101
|
-
"state": "experimental",
|
|
102
|
-
"replacement": "24px"
|
|
103
|
-
}, {
|
|
104
|
-
"path": "spacing.size.xxlarge",
|
|
105
|
-
"state": "experimental",
|
|
106
|
-
"replacement": "32px"
|
|
107
|
-
}, {
|
|
108
|
-
"path": "spacing.size.xxxlarge",
|
|
109
|
-
"state": "experimental",
|
|
110
|
-
"replacement": "40px"
|
|
111
|
-
}, {
|
|
112
|
-
"path": "spacing.size.xxxxlarge",
|
|
113
|
-
"state": "experimental",
|
|
114
|
-
"replacement": "48px"
|
|
115
|
-
}, {
|
|
116
|
-
"path": "spacing.gap.100",
|
|
117
|
-
"state": "experimental",
|
|
118
|
-
"replacement": "8px"
|
|
119
|
-
}, {
|
|
120
|
-
"path": "spacing.gap.200",
|
|
121
|
-
"state": "experimental",
|
|
122
|
-
"replacement": "16px"
|
|
123
|
-
}, {
|
|
124
|
-
"path": "spacing.gap.300",
|
|
125
|
-
"state": "experimental",
|
|
126
|
-
"replacement": "24px"
|
|
127
|
-
}, {
|
|
128
|
-
"path": "spacing.inset.100",
|
|
129
|
-
"state": "experimental",
|
|
130
|
-
"replacement": "8px"
|
|
131
|
-
}, {
|
|
132
|
-
"path": "spacing.inset.200",
|
|
133
|
-
"state": "experimental",
|
|
134
|
-
"replacement": "16px"
|
|
135
|
-
}, {
|
|
136
|
-
"path": "spacing.inset.300",
|
|
137
|
-
"state": "experimental",
|
|
138
|
-
"replacement": "24px"
|
|
139
|
-
}, {
|
|
140
|
-
"path": "spacing.ecl.container.12",
|
|
141
|
-
"state": "experimental",
|
|
142
|
-
"replacement": "12px"
|
|
143
|
-
}, {
|
|
144
|
-
"path": "spacing.ecl.container.16",
|
|
145
|
-
"state": "experimental",
|
|
146
|
-
"replacement": "16px"
|
|
147
|
-
}, {
|
|
148
|
-
"path": "spacing.ecl.container.20",
|
|
149
|
-
"state": "experimental",
|
|
150
|
-
"replacement": "20px"
|
|
151
|
-
}, {
|
|
152
|
-
"path": "spacing.ecl.container.24",
|
|
153
|
-
"state": "experimental",
|
|
154
|
-
"replacement": "24px"
|
|
155
|
-
}, {
|
|
156
|
-
"path": "spacing.ecl.element.2",
|
|
157
|
-
"state": "experimental",
|
|
158
|
-
"replacement": "2px"
|
|
159
|
-
}, {
|
|
160
|
-
"path": "spacing.ecl.element.4",
|
|
161
|
-
"state": "experimental",
|
|
162
|
-
"replacement": "4px"
|
|
163
|
-
}, {
|
|
164
|
-
"path": "spacing.ecl.element.6",
|
|
165
|
-
"state": "experimental",
|
|
166
|
-
"replacement": "6px"
|
|
167
|
-
}, {
|
|
168
|
-
"path": "spacing.ecl.element.8",
|
|
169
|
-
"state": "experimental",
|
|
170
|
-
"replacement": "8px"
|
|
171
|
-
}, {
|
|
172
|
-
"path": "spacing.ecl.layout.32",
|
|
173
|
-
"state": "experimental",
|
|
174
|
-
"replacement": "32px"
|
|
175
|
-
}, {
|
|
176
|
-
"path": "spacing.ecl.layout.40",
|
|
177
|
-
"state": "experimental",
|
|
178
|
-
"replacement": "40px"
|
|
179
|
-
}, {
|
|
180
|
-
"path": "spacing.ecl.layout.64",
|
|
181
|
-
"state": "experimental",
|
|
182
|
-
"replacement": "64px"
|
|
183
|
-
}, {
|
|
184
|
-
"path": "spacing.ccc.component.2",
|
|
185
|
-
"state": "experimental",
|
|
186
|
-
"replacement": "2px"
|
|
187
|
-
}, {
|
|
188
|
-
"path": "spacing.ccc.component.4",
|
|
189
|
-
"state": "experimental",
|
|
190
|
-
"replacement": "4px"
|
|
191
|
-
}, {
|
|
192
|
-
"path": "spacing.ccc.component.6",
|
|
193
|
-
"state": "experimental",
|
|
194
|
-
"replacement": "6px"
|
|
195
|
-
}, {
|
|
196
|
-
"path": "spacing.ccc.component.8",
|
|
197
|
-
"state": "experimental",
|
|
198
|
-
"replacement": "8px"
|
|
199
|
-
}, {
|
|
200
|
-
"path": "spacing.ccc.container.32",
|
|
201
|
-
"state": "experimental",
|
|
202
|
-
"replacement": "32px"
|
|
203
|
-
}, {
|
|
204
|
-
"path": "spacing.ccc.container.40",
|
|
205
|
-
"state": "experimental",
|
|
206
|
-
"replacement": "40px"
|
|
207
|
-
}, {
|
|
208
|
-
"path": "spacing.ccc.container.48",
|
|
209
|
-
"state": "experimental",
|
|
210
|
-
"replacement": "48px"
|
|
211
|
-
}, {
|
|
212
|
-
"path": "spacing.ccc.content.12",
|
|
213
|
-
"state": "experimental",
|
|
214
|
-
"replacement": "12px"
|
|
215
|
-
}, {
|
|
216
|
-
"path": "spacing.ccc.content.16",
|
|
217
|
-
"state": "experimental",
|
|
218
|
-
"replacement": "16px"
|
|
219
|
-
}, {
|
|
220
|
-
"path": "spacing.ccc.content.20",
|
|
221
|
-
"state": "experimental",
|
|
222
|
-
"replacement": "20px"
|
|
223
|
-
}, {
|
|
224
|
-
"path": "spacing.ccc.content.24",
|
|
225
|
-
"state": "experimental",
|
|
226
|
-
"replacement": "24px"
|
|
227
|
-
}];
|
|
19
|
+
const replacementMapper = [];
|
|
228
20
|
export default replacementMapper;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This allows users to compose their themes and only use the tokens that are requested.
|
|
7
7
|
* When a new theme is created, the import should automatically be added to the map
|
|
8
8
|
*
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::ce4463df8e613cb4c4a8b24907ce95ae>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
|
|
@@ -22,6 +22,8 @@ const themeImportsMap = {
|
|
|
22
22
|
'spacing': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-spacing" */
|
|
23
23
|
'./themes/atlassian-spacing'),
|
|
24
24
|
'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
|
|
25
|
-
'./themes/atlassian-typography')
|
|
25
|
+
'./themes/atlassian-typography'),
|
|
26
|
+
'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
|
|
27
|
+
'./themes/atlassian-shape')
|
|
26
28
|
};
|
|
27
29
|
export default themeImportsMap;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::309f92a792656831b0e137b75ca1156f>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
export default `
|
|
7
|
+
html[data-theme~="shape:shape"] {
|
|
8
|
+
--ds-radius-050: 0.125rem;
|
|
9
|
+
--ds-radius-100: 0.25rem;
|
|
10
|
+
--ds-radius-200: 0.5rem;
|
|
11
|
+
--ds-radius-300: 0.75rem;
|
|
12
|
+
--ds-radius-400: 1rem;
|
|
13
|
+
--ds-radius-round: 50%;
|
|
14
|
+
--ds-width-050: 0.0625rem;
|
|
15
|
+
--ds-width-100: 0.125rem;
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
@@ -1,76 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::6a9bb91811dc597f0d705bbed643a7fc>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-theme~="spacing:spacing"] {
|
|
8
|
-
--ds-scale-0: 0;
|
|
9
|
-
--ds-scale-025: 0.125rem;
|
|
10
|
-
--ds-scale-050: 0.25rem;
|
|
11
|
-
--ds-scale-075: 0.375rem;
|
|
12
|
-
--ds-scale-100: 0.5rem;
|
|
13
|
-
--ds-scale-150: 0.75rem;
|
|
14
|
-
--ds-scale-200: 1rem;
|
|
15
|
-
--ds-scale-250: 1.25rem;
|
|
16
|
-
--ds-scale-300: 1.5rem;
|
|
17
|
-
--ds-scale-400: 2rem;
|
|
18
|
-
--ds-scale-500: 2.5rem;
|
|
19
|
-
--ds-scale-600: 3rem;
|
|
20
|
-
--ds-scale-800: 4rem;
|
|
21
|
-
--ds-scale-1000: 5rem;
|
|
22
|
-
--ds-scaleLinear-0: 0;
|
|
23
|
-
--ds-scaleLinear-100: 0.125rem;
|
|
24
|
-
--ds-scaleLinear-200: 0.25rem;
|
|
25
|
-
--ds-scaleLinear-300: 0.375rem;
|
|
26
|
-
--ds-scaleLinear-400: 0.5rem;
|
|
27
|
-
--ds-scaleLinear-500: 0.75rem;
|
|
28
|
-
--ds-scaleLinear-600: 1rem;
|
|
29
|
-
--ds-scaleLinear-700: 1.25rem;
|
|
30
|
-
--ds-scaleLinear-800: 1.5rem;
|
|
31
|
-
--ds-scaleLinear-900: 2rem;
|
|
32
|
-
--ds-scaleLinear-1000: 2.5rem;
|
|
33
|
-
--ds-scaleLinear-1100: 3rem;
|
|
34
|
-
--ds-size-none: 0;
|
|
35
|
-
--ds-size-xxxxSmall: 0.125rem;
|
|
36
|
-
--ds-size-xxxSmall: 0.25rem;
|
|
37
|
-
--ds-size-xxSmall: 0.375rem;
|
|
38
|
-
--ds-size-xsmall: 0.5rem;
|
|
39
|
-
--ds-size-small: 0.75rem;
|
|
40
|
-
--ds-size-medium: 1rem;
|
|
41
|
-
--ds-size-large: 1.25rem;
|
|
42
|
-
--ds-size-xlarge: 1.5rem;
|
|
43
|
-
--ds-size-xxlarge: 2rem;
|
|
44
|
-
--ds-size-xxxlarge: 2.5rem;
|
|
45
|
-
--ds-size-xxxxlarge: 3rem;
|
|
46
|
-
--ds-gap-100: 0.5rem;
|
|
47
|
-
--ds-gap-200: 1rem;
|
|
48
|
-
--ds-gap-300: 1.5rem;
|
|
49
|
-
--ds-inset-100: 0.5rem;
|
|
50
|
-
--ds-inset-200: 1rem;
|
|
51
|
-
--ds-inset-300: 1.5rem;
|
|
52
|
-
--ds-ecl-container-12: 0.75rem;
|
|
53
|
-
--ds-ecl-container-16: 1rem;
|
|
54
|
-
--ds-ecl-container-20: 1.25rem;
|
|
55
|
-
--ds-ecl-container-24: 1.5rem;
|
|
56
|
-
--ds-ecl-element-2: 0.125rem;
|
|
57
|
-
--ds-ecl-element-4: 0.25rem;
|
|
58
|
-
--ds-ecl-element-6: 0.375rem;
|
|
59
|
-
--ds-ecl-element-8: 0.5rem;
|
|
60
|
-
--ds-ecl-layout-32: 2rem;
|
|
61
|
-
--ds-ecl-layout-40: 2.5rem;
|
|
62
|
-
--ds-ecl-layout-64: 3rem;
|
|
63
|
-
--ds-ccc-component-2: 0.125rem;
|
|
64
|
-
--ds-ccc-component-4: 0.25rem;
|
|
65
|
-
--ds-ccc-component-6: 0.375rem;
|
|
66
|
-
--ds-ccc-component-8: 0.5rem;
|
|
67
|
-
--ds-ccc-container-32: 2rem;
|
|
68
|
-
--ds-ccc-container-40: 2.5rem;
|
|
69
|
-
--ds-ccc-container-48: 3rem;
|
|
70
|
-
--ds-ccc-content-12: 0.75rem;
|
|
71
|
-
--ds-ccc-content-16: 1rem;
|
|
72
|
-
--ds-ccc-content-20: 1.25rem;
|
|
73
|
-
--ds-ccc-content-24: 1.5rem;
|
|
74
8
|
--ds-space-0: 0;
|
|
75
9
|
--ds-space-025: 0.125rem;
|
|
76
10
|
--ds-space-050: 0.25rem;
|