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