@atlaskit/tokens 11.0.2 → 11.1.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/artifacts/palettes-raw/motion-palette.js +527 -0
  3. package/dist/cjs/artifacts/replacement-mapping.js +25 -1
  4. package/dist/cjs/artifacts/theme-import-map.js +7 -1
  5. package/dist/cjs/artifacts/themes/atlassian-motion.js +12 -0
  6. package/dist/cjs/artifacts/token-default-values.js +9 -1
  7. package/dist/cjs/artifacts/token-names.js +9 -1
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-motion.js +254 -0
  9. package/dist/cjs/enable-global-theme.js +4 -0
  10. package/dist/cjs/get-theme-html-attrs.js +4 -0
  11. package/dist/cjs/get-theme-styles.js +2 -0
  12. package/dist/cjs/set-global-theme.js +7 -2
  13. package/dist/cjs/theme-config.js +15 -1
  14. package/dist/cjs/theme-state-transformer.js +1 -1
  15. package/dist/cjs/utils/get-theme-preferences.js +3 -2
  16. package/dist/es2019/artifacts/palettes-raw/motion-palette.js +521 -0
  17. package/dist/es2019/artifacts/replacement-mapping.js +25 -1
  18. package/dist/es2019/artifacts/theme-import-map.js +4 -2
  19. package/dist/es2019/artifacts/themes/atlassian-motion.js +113 -0
  20. package/dist/es2019/artifacts/token-default-values.js +9 -1
  21. package/dist/es2019/artifacts/token-names.js +9 -1
  22. package/dist/es2019/artifacts/tokens-raw/atlassian-motion.js +248 -0
  23. package/dist/es2019/enable-global-theme.js +3 -0
  24. package/dist/es2019/get-theme-html-attrs.js +3 -0
  25. package/dist/es2019/get-theme-styles.js +2 -0
  26. package/dist/es2019/set-global-theme.js +4 -0
  27. package/dist/es2019/theme-config.js +15 -1
  28. package/dist/es2019/theme-state-transformer.js +1 -1
  29. package/dist/es2019/utils/get-theme-preferences.js +3 -2
  30. package/dist/esm/artifacts/palettes-raw/motion-palette.js +521 -0
  31. package/dist/esm/artifacts/replacement-mapping.js +25 -1
  32. package/dist/esm/artifacts/theme-import-map.js +5 -1
  33. package/dist/esm/artifacts/themes/atlassian-motion.js +6 -0
  34. package/dist/esm/artifacts/token-default-values.js +9 -1
  35. package/dist/esm/artifacts/token-names.js +9 -1
  36. package/dist/esm/artifacts/tokens-raw/atlassian-motion.js +248 -0
  37. package/dist/esm/enable-global-theme.js +4 -0
  38. package/dist/esm/get-theme-html-attrs.js +4 -0
  39. package/dist/esm/get-theme-styles.js +2 -0
  40. package/dist/esm/set-global-theme.js +7 -2
  41. package/dist/esm/theme-config.js +15 -1
  42. package/dist/esm/theme-state-transformer.js +1 -1
  43. package/dist/esm/utils/get-theme-preferences.js +3 -2
  44. package/dist/types/artifacts/palettes-raw/motion-palette.d.ts +34 -0
  45. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  46. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  47. package/dist/types/artifacts/themes/atlassian-motion.d.ts +7 -0
  48. package/dist/types/artifacts/token-default-values.d.ts +9 -1
  49. package/dist/types/artifacts/token-names.d.ts +17 -1
  50. package/dist/types/artifacts/tokens-raw/atlassian-motion.d.ts +41 -0
  51. package/dist/types/enable-global-theme.d.ts +2 -1
  52. package/dist/types/entry-points/css-type-schema.codegen.d.ts +2 -1
  53. package/dist/types/get-theme-html-attrs.d.ts +2 -1
  54. package/dist/types/get-theme-styles.d.ts +1 -0
  55. package/dist/types/index.d.ts +1 -1
  56. package/dist/types/set-global-theme.d.ts +1 -0
  57. package/dist/types/theme-config.d.ts +10 -7
  58. package/dist/types/types.d.ts +30 -1
  59. package/dist/types-ts4.5/artifacts/palettes-raw/motion-palette.d.ts +34 -0
  60. package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
  61. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  62. package/dist/types-ts4.5/artifacts/themes/atlassian-motion.d.ts +7 -0
  63. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +9 -1
  64. package/dist/types-ts4.5/artifacts/token-names.d.ts +17 -1
  65. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-motion.d.ts +41 -0
  66. package/dist/types-ts4.5/enable-global-theme.d.ts +2 -1
  67. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +2 -1
  68. package/dist/types-ts4.5/get-theme-html-attrs.d.ts +2 -1
  69. package/dist/types-ts4.5/get-theme-styles.d.ts +1 -0
  70. package/dist/types-ts4.5/index.d.ts +1 -1
  71. package/dist/types-ts4.5/set-global-theme.d.ts +1 -0
  72. package/dist/types-ts4.5/theme-config.d.ts +11 -7
  73. package/dist/types-ts4.5/types.d.ts +30 -1
  74. package/figma/atlassian-motion.json +5 -0
  75. package/package.json +13 -10
@@ -0,0 +1,521 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::863c43667e050d7cdb209823990418e0>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+
7
+ const tokens = [{
8
+ "value": "cubic-bezier(0.32, 0, 0.67, 0)",
9
+ "attributes": {
10
+ "group": "motion"
11
+ },
12
+ "filePath": "schema/palettes/motion-palette.tsx",
13
+ "isSource": true,
14
+ "original": {
15
+ "value": "cubic-bezier(0.32, 0, 0.67, 0)",
16
+ "attributes": {
17
+ "group": "motion"
18
+ }
19
+ },
20
+ "name": "motion.curve.CubicEaseIn",
21
+ "path": ["motion", "curve", "CubicEaseIn"]
22
+ }, {
23
+ "value": "cubic-bezier(0.66, 0, 0.34, 1)",
24
+ "attributes": {
25
+ "group": "motion"
26
+ },
27
+ "filePath": "schema/palettes/motion-palette.tsx",
28
+ "isSource": true,
29
+ "original": {
30
+ "value": "cubic-bezier(0.66, 0, 0.34, 1)",
31
+ "attributes": {
32
+ "group": "motion"
33
+ }
34
+ },
35
+ "name": "motion.curve.CubicEaseInOut",
36
+ "path": ["motion", "curve", "CubicEaseInOut"]
37
+ }, {
38
+ "value": "cubic-bezier(0.33, 1, 0.68, 1)",
39
+ "attributes": {
40
+ "group": "motion"
41
+ },
42
+ "filePath": "schema/palettes/motion-palette.tsx",
43
+ "isSource": true,
44
+ "original": {
45
+ "value": "cubic-bezier(0.33, 1, 0.68, 1)",
46
+ "attributes": {
47
+ "group": "motion"
48
+ }
49
+ },
50
+ "name": "motion.curve.CubicEaseOut",
51
+ "path": ["motion", "curve", "CubicEaseOut"]
52
+ }, {
53
+ "value": 50,
54
+ "attributes": {
55
+ "group": "motion"
56
+ },
57
+ "filePath": "schema/palettes/motion-palette.tsx",
58
+ "isSource": true,
59
+ "original": {
60
+ "value": 50,
61
+ "attributes": {
62
+ "group": "motion"
63
+ }
64
+ },
65
+ "name": "motion.duration.Duration050",
66
+ "path": ["motion", "duration", "Duration050"]
67
+ }, {
68
+ "value": 100,
69
+ "attributes": {
70
+ "group": "motion"
71
+ },
72
+ "filePath": "schema/palettes/motion-palette.tsx",
73
+ "isSource": true,
74
+ "original": {
75
+ "value": 100,
76
+ "attributes": {
77
+ "group": "motion"
78
+ }
79
+ },
80
+ "name": "motion.duration.Duration100",
81
+ "path": ["motion", "duration", "Duration100"]
82
+ }, {
83
+ "value": 150,
84
+ "attributes": {
85
+ "group": "motion"
86
+ },
87
+ "filePath": "schema/palettes/motion-palette.tsx",
88
+ "isSource": true,
89
+ "original": {
90
+ "value": 150,
91
+ "attributes": {
92
+ "group": "motion"
93
+ }
94
+ },
95
+ "name": "motion.duration.Duration150",
96
+ "path": ["motion", "duration", "Duration150"]
97
+ }, {
98
+ "value": 200,
99
+ "attributes": {
100
+ "group": "motion"
101
+ },
102
+ "filePath": "schema/palettes/motion-palette.tsx",
103
+ "isSource": true,
104
+ "original": {
105
+ "value": 200,
106
+ "attributes": {
107
+ "group": "motion"
108
+ }
109
+ },
110
+ "name": "motion.duration.Duration200",
111
+ "path": ["motion", "duration", "Duration200"]
112
+ }, {
113
+ "value": 250,
114
+ "attributes": {
115
+ "group": "motion"
116
+ },
117
+ "filePath": "schema/palettes/motion-palette.tsx",
118
+ "isSource": true,
119
+ "original": {
120
+ "value": 250,
121
+ "attributes": {
122
+ "group": "motion"
123
+ }
124
+ },
125
+ "name": "motion.duration.Duration250",
126
+ "path": ["motion", "duration", "Duration250"]
127
+ }, {
128
+ "value": 300,
129
+ "attributes": {
130
+ "group": "motion"
131
+ },
132
+ "filePath": "schema/palettes/motion-palette.tsx",
133
+ "isSource": true,
134
+ "original": {
135
+ "value": 300,
136
+ "attributes": {
137
+ "group": "motion"
138
+ }
139
+ },
140
+ "name": "motion.duration.Duration300",
141
+ "path": ["motion", "duration", "Duration300"]
142
+ }, {
143
+ "value": 350,
144
+ "attributes": {
145
+ "group": "motion"
146
+ },
147
+ "filePath": "schema/palettes/motion-palette.tsx",
148
+ "isSource": true,
149
+ "original": {
150
+ "value": 350,
151
+ "attributes": {
152
+ "group": "motion"
153
+ }
154
+ },
155
+ "name": "motion.duration.Duration350",
156
+ "path": ["motion", "duration", "Duration350"]
157
+ }, {
158
+ "value": 400,
159
+ "attributes": {
160
+ "group": "motion"
161
+ },
162
+ "filePath": "schema/palettes/motion-palette.tsx",
163
+ "isSource": true,
164
+ "original": {
165
+ "value": 400,
166
+ "attributes": {
167
+ "group": "motion"
168
+ }
169
+ },
170
+ "name": "motion.duration.Duration400",
171
+ "path": ["motion", "duration", "Duration400"]
172
+ }, {
173
+ "value": {
174
+ "0%": {
175
+ "opacity": 0
176
+ },
177
+ "100%": {
178
+ "opacity": 1
179
+ }
180
+ },
181
+ "attributes": {
182
+ "group": "keyframe"
183
+ },
184
+ "filePath": "schema/palettes/motion-palette.tsx",
185
+ "isSource": true,
186
+ "original": {
187
+ "value": {
188
+ "0%": {
189
+ "opacity": 0
190
+ },
191
+ "100%": {
192
+ "opacity": 1
193
+ }
194
+ },
195
+ "attributes": {
196
+ "group": "keyframe"
197
+ }
198
+ },
199
+ "name": "motion.keyframe.FadeIn",
200
+ "path": ["motion", "keyframe", "FadeIn"]
201
+ }, {
202
+ "value": {
203
+ "0%": {
204
+ "opacity": 1
205
+ },
206
+ "100%": {
207
+ "opacity": 0
208
+ }
209
+ },
210
+ "attributes": {
211
+ "group": "keyframe"
212
+ },
213
+ "filePath": "schema/palettes/motion-palette.tsx",
214
+ "isSource": true,
215
+ "original": {
216
+ "value": {
217
+ "0%": {
218
+ "opacity": 1
219
+ },
220
+ "100%": {
221
+ "opacity": 0
222
+ }
223
+ },
224
+ "attributes": {
225
+ "group": "keyframe"
226
+ }
227
+ },
228
+ "name": "motion.keyframe.FadeOut",
229
+ "path": ["motion", "keyframe", "FadeOut"]
230
+ }, {
231
+ "value": {
232
+ "0%": {
233
+ "transform": "rotate(0deg)"
234
+ },
235
+ "100%": {
236
+ "transform": "rotate(5deg)"
237
+ }
238
+ },
239
+ "attributes": {
240
+ "group": "keyframe"
241
+ },
242
+ "filePath": "schema/palettes/motion-palette.tsx",
243
+ "isSource": true,
244
+ "original": {
245
+ "value": {
246
+ "0%": {
247
+ "transform": "rotate(0deg)"
248
+ },
249
+ "100%": {
250
+ "transform": "rotate(5deg)"
251
+ }
252
+ },
253
+ "attributes": {
254
+ "group": "keyframe"
255
+ }
256
+ },
257
+ "name": "motion.keyframe.RotateIn",
258
+ "path": ["motion", "keyframe", "RotateIn"]
259
+ }, {
260
+ "value": {
261
+ "0%": {
262
+ "transform": "rotate(5deg)"
263
+ },
264
+ "100%": {
265
+ "transform": "rotate(0deg)"
266
+ }
267
+ },
268
+ "attributes": {
269
+ "group": "keyframe"
270
+ },
271
+ "filePath": "schema/palettes/motion-palette.tsx",
272
+ "isSource": true,
273
+ "original": {
274
+ "value": {
275
+ "0%": {
276
+ "transform": "rotate(5deg)"
277
+ },
278
+ "100%": {
279
+ "transform": "rotate(0deg)"
280
+ }
281
+ },
282
+ "attributes": {
283
+ "group": "keyframe"
284
+ }
285
+ },
286
+ "name": "motion.keyframe.RotateOut",
287
+ "path": ["motion", "keyframe", "RotateOut"]
288
+ }, {
289
+ "value": {
290
+ "0%": {
291
+ "transform": "scale(0.8)"
292
+ },
293
+ "100%": {
294
+ "transform": "scale(1)"
295
+ }
296
+ },
297
+ "attributes": {
298
+ "group": "keyframe"
299
+ },
300
+ "filePath": "schema/palettes/motion-palette.tsx",
301
+ "isSource": true,
302
+ "original": {
303
+ "value": {
304
+ "0%": {
305
+ "transform": "scale(0.8)"
306
+ },
307
+ "100%": {
308
+ "transform": "scale(1)"
309
+ }
310
+ },
311
+ "attributes": {
312
+ "group": "keyframe"
313
+ }
314
+ },
315
+ "name": "motion.keyframe.ScaleIn80",
316
+ "path": ["motion", "keyframe", "ScaleIn80"]
317
+ }, {
318
+ "value": {
319
+ "0%": {
320
+ "transform": "scale(0.85)"
321
+ },
322
+ "100%": {
323
+ "transform": "scale(1)"
324
+ }
325
+ },
326
+ "attributes": {
327
+ "group": "keyframe"
328
+ },
329
+ "filePath": "schema/palettes/motion-palette.tsx",
330
+ "isSource": true,
331
+ "original": {
332
+ "value": {
333
+ "0%": {
334
+ "transform": "scale(0.85)"
335
+ },
336
+ "100%": {
337
+ "transform": "scale(1)"
338
+ }
339
+ },
340
+ "attributes": {
341
+ "group": "keyframe"
342
+ }
343
+ },
344
+ "name": "motion.keyframe.ScaleIn85",
345
+ "path": ["motion", "keyframe", "ScaleIn85"]
346
+ }, {
347
+ "value": {
348
+ "0%": {
349
+ "transform": "scale(0.9)"
350
+ },
351
+ "100%": {
352
+ "transform": "scale(1)"
353
+ }
354
+ },
355
+ "attributes": {
356
+ "group": "keyframe"
357
+ },
358
+ "filePath": "schema/palettes/motion-palette.tsx",
359
+ "isSource": true,
360
+ "original": {
361
+ "value": {
362
+ "0%": {
363
+ "transform": "scale(0.9)"
364
+ },
365
+ "100%": {
366
+ "transform": "scale(1)"
367
+ }
368
+ },
369
+ "attributes": {
370
+ "group": "keyframe"
371
+ }
372
+ },
373
+ "name": "motion.keyframe.ScaleIn90",
374
+ "path": ["motion", "keyframe", "ScaleIn90"]
375
+ }, {
376
+ "value": {
377
+ "0%": {
378
+ "transform": "scale(0.95)"
379
+ },
380
+ "100%": {
381
+ "transform": "scale(1)"
382
+ }
383
+ },
384
+ "attributes": {
385
+ "group": "keyframe"
386
+ },
387
+ "filePath": "schema/palettes/motion-palette.tsx",
388
+ "isSource": true,
389
+ "original": {
390
+ "value": {
391
+ "0%": {
392
+ "transform": "scale(0.95)"
393
+ },
394
+ "100%": {
395
+ "transform": "scale(1)"
396
+ }
397
+ },
398
+ "attributes": {
399
+ "group": "keyframe"
400
+ }
401
+ },
402
+ "name": "motion.keyframe.ScaleIn95",
403
+ "path": ["motion", "keyframe", "ScaleIn95"]
404
+ }, {
405
+ "value": {
406
+ "0%": {
407
+ "transform": "scale(1)"
408
+ },
409
+ "100%": {
410
+ "transform": "scale(0.8)"
411
+ }
412
+ },
413
+ "attributes": {
414
+ "group": "keyframe"
415
+ },
416
+ "filePath": "schema/palettes/motion-palette.tsx",
417
+ "isSource": true,
418
+ "original": {
419
+ "value": {
420
+ "0%": {
421
+ "transform": "scale(1)"
422
+ },
423
+ "100%": {
424
+ "transform": "scale(0.8)"
425
+ }
426
+ },
427
+ "attributes": {
428
+ "group": "keyframe"
429
+ }
430
+ },
431
+ "name": "motion.keyframe.ScaleOut80",
432
+ "path": ["motion", "keyframe", "ScaleOut80"]
433
+ }, {
434
+ "value": {
435
+ "0%": {
436
+ "transform": "scale(1)"
437
+ },
438
+ "100%": {
439
+ "transform": "scale(0.85)"
440
+ }
441
+ },
442
+ "attributes": {
443
+ "group": "keyframe"
444
+ },
445
+ "filePath": "schema/palettes/motion-palette.tsx",
446
+ "isSource": true,
447
+ "original": {
448
+ "value": {
449
+ "0%": {
450
+ "transform": "scale(1)"
451
+ },
452
+ "100%": {
453
+ "transform": "scale(0.85)"
454
+ }
455
+ },
456
+ "attributes": {
457
+ "group": "keyframe"
458
+ }
459
+ },
460
+ "name": "motion.keyframe.ScaleOut85",
461
+ "path": ["motion", "keyframe", "ScaleOut85"]
462
+ }, {
463
+ "value": {
464
+ "0%": {
465
+ "transform": "scale(1)"
466
+ },
467
+ "100%": {
468
+ "transform": "scale(0.9)"
469
+ }
470
+ },
471
+ "attributes": {
472
+ "group": "keyframe"
473
+ },
474
+ "filePath": "schema/palettes/motion-palette.tsx",
475
+ "isSource": true,
476
+ "original": {
477
+ "value": {
478
+ "0%": {
479
+ "transform": "scale(1)"
480
+ },
481
+ "100%": {
482
+ "transform": "scale(0.9)"
483
+ }
484
+ },
485
+ "attributes": {
486
+ "group": "keyframe"
487
+ }
488
+ },
489
+ "name": "motion.keyframe.ScaleOut90",
490
+ "path": ["motion", "keyframe", "ScaleOut90"]
491
+ }, {
492
+ "value": {
493
+ "0%": {
494
+ "transform": "scale(1)"
495
+ },
496
+ "100%": {
497
+ "transform": "scale(0.95)"
498
+ }
499
+ },
500
+ "attributes": {
501
+ "group": "keyframe"
502
+ },
503
+ "filePath": "schema/palettes/motion-palette.tsx",
504
+ "isSource": true,
505
+ "original": {
506
+ "value": {
507
+ "0%": {
508
+ "transform": "scale(1)"
509
+ },
510
+ "100%": {
511
+ "transform": "scale(0.95)"
512
+ }
513
+ },
514
+ "attributes": {
515
+ "group": "keyframe"
516
+ }
517
+ },
518
+ "name": "motion.keyframe.ScaleOut95",
519
+ "path": ["motion", "keyframe", "ScaleOut95"]
520
+ }];
521
+ export default tokens;
@@ -12,11 +12,35 @@
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::400f0ecf8657b2dcb96d24d2f0aed049>>
15
+ * @codegen <<SignedSource::71a61fb83f1440f2c7e0c2b84375593c>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
 
19
19
  const replacementMapper = [{
20
+ "path": "motion.content.enter.long",
21
+ "state": "experimental"
22
+ }, {
23
+ "path": "motion.content.enter.medium",
24
+ "state": "experimental"
25
+ }, {
26
+ "path": "motion.content.enter.short",
27
+ "state": "experimental"
28
+ }, {
29
+ "path": "motion.content.exit.long",
30
+ "state": "experimental"
31
+ }, {
32
+ "path": "motion.content.exit.medium",
33
+ "state": "experimental"
34
+ }, {
35
+ "path": "motion.content.exit.short",
36
+ "state": "experimental"
37
+ }, {
38
+ "path": "motion.dialog.enter",
39
+ "state": "experimental"
40
+ }, {
41
+ "path": "motion.dialog.exit",
42
+ "state": "experimental"
43
+ }, {
20
44
  "path": "font.body.UNSAFE_small",
21
45
  "state": "deprecated",
22
46
  "replacement": "font.body.small"
@@ -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::c1144182e959da59d17686bccb9fac30>>
9
+ * @codegen <<SignedSource::a20c72d683b08b594c5be4160eec5f78>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
 
@@ -28,6 +28,8 @@ const themeImportsMap = {
28
28
  'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
29
29
  './themes/atlassian-typography'),
30
30
  'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
31
- './themes/atlassian-shape')
31
+ './themes/atlassian-shape'),
32
+ 'motion': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-motion" */
33
+ './themes/atlassian-motion')
32
34
  };
33
35
  export default themeImportsMap;
@@ -0,0 +1,113 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::d9cba7f2a25f65f78c6ad172ff6364ce>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default `
7
+ @keyframes ScaleIn80 {
8
+ 0% {
9
+ transform: scale(0.8);
10
+ }
11
+ 100% {
12
+ transform: scale(1);
13
+ }
14
+ }
15
+ @keyframes ScaleIn85 {
16
+ 0% {
17
+ transform: scale(0.85);
18
+ }
19
+ 100% {
20
+ transform: scale(1);
21
+ }
22
+ }
23
+ @keyframes ScaleIn90 {
24
+ 0% {
25
+ transform: scale(0.9);
26
+ }
27
+ 100% {
28
+ transform: scale(1);
29
+ }
30
+ }
31
+ @keyframes ScaleIn95 {
32
+ 0% {
33
+ transform: scale(0.95);
34
+ }
35
+ 100% {
36
+ transform: scale(1);
37
+ }
38
+ }
39
+ @keyframes ScaleOut80 {
40
+ 0% {
41
+ transform: scale(1);
42
+ }
43
+ 100% {
44
+ transform: scale(0.8);
45
+ }
46
+ }
47
+ @keyframes ScaleOut85 {
48
+ 0% {
49
+ transform: scale(1);
50
+ }
51
+ 100% {
52
+ transform: scale(0.85);
53
+ }
54
+ }
55
+ @keyframes ScaleOut90 {
56
+ 0% {
57
+ transform: scale(1);
58
+ }
59
+ 100% {
60
+ transform: scale(0.9);
61
+ }
62
+ }
63
+ @keyframes ScaleOut95 {
64
+ 0% {
65
+ transform: scale(1);
66
+ }
67
+ 100% {
68
+ transform: scale(0.95);
69
+ }
70
+ }
71
+ @keyframes FadeIn {
72
+ 0% {
73
+ opacity: 0;
74
+ }
75
+ 100% {
76
+ opacity: 1;
77
+ }
78
+ }
79
+ @keyframes FadeOut {
80
+ 0% {
81
+ opacity: 1;
82
+ }
83
+ 100% {
84
+ opacity: 0;
85
+ }
86
+ }
87
+ @keyframes RotateIn {
88
+ 0% {
89
+ transform: rotate(0deg);
90
+ }
91
+ 100% {
92
+ transform: rotate(5deg);
93
+ }
94
+ }
95
+ @keyframes RotateOut {
96
+ 0% {
97
+ transform: rotate(5deg);
98
+ }
99
+ 100% {
100
+ transform: rotate(0deg);
101
+ }
102
+ }
103
+ html[data-theme~="motion:motion"], [data-subtree-theme][data-theme~="motion:motion"] {
104
+ --ds-content-enter-long: 400ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn;
105
+ --ds-content-enter-medium: 200ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn;
106
+ --ds-content-enter-short: 100ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn;
107
+ --ds-content-exit-long: 200ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut;
108
+ --ds-content-exit-medium: 100ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut;
109
+ --ds-content-exit-short: 50ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut;
110
+ --ds-dialog-enter: 350ms cubic-bezier(0.66, 0, 0.34, 1) ScaleIn80, 350ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn;
111
+ --ds-dialog-exit: 350ms cubic-bezier(0.66, 0, 0.34, 1) ScaleOut80, 350ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut;
112
+ }
113
+ `;
@@ -7,10 +7,18 @@
7
7
  * Token names mapped to their value in the default Atlassian themes ('light').
8
8
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
9
9
  *
10
- * @codegen <<SignedSource::e6225c65d5d4ce72381110479f6b4968>>
10
+ * @codegen <<SignedSource::a18a0cf6bb63fbd882dcfe06ef046047>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  const defaultTokenValues = {
14
+ 'motion.content.enter.long': '400ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn',
15
+ 'motion.content.enter.medium': '200ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn',
16
+ 'motion.content.enter.short': '100ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn',
17
+ 'motion.content.exit.long': '200ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut',
18
+ 'motion.content.exit.medium': '100ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut',
19
+ 'motion.content.exit.short': '50ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut',
20
+ 'motion.dialog.enter': '350ms cubic-bezier(0.66, 0, 0.34, 1) ScaleIn80, 350ms cubic-bezier(0.66, 0, 0.34, 1) FadeIn',
21
+ 'motion.dialog.exit': '350ms cubic-bezier(0.66, 0, 0.34, 1) ScaleOut80, 350ms cubic-bezier(0.66, 0, 0.34, 1) FadeOut',
14
22
  'color.text': '#292A2E',
15
23
  'color.text.accent.lime': '#4C6B1F',
16
24
  'color.text.accent.lime.bolder': '#37471F',