@atlaskit/ds-explorations 1.7.0 → 2.0.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 (70) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/components/box.partial.js +72 -72
  3. package/dist/cjs/components/inline.partial.js +16 -16
  4. package/dist/cjs/components/interaction-surface.partial.js +28 -28
  5. package/dist/cjs/components/stack.partial.js +16 -16
  6. package/dist/cjs/components/text.partial.js +97 -67
  7. package/dist/cjs/internal/color-map.js +5 -5
  8. package/dist/cjs/internal/spacing-scale.js +2 -2
  9. package/dist/cjs/version.json +1 -1
  10. package/dist/es2019/components/box.partial.js +72 -72
  11. package/dist/es2019/components/inline.partial.js +16 -16
  12. package/dist/es2019/components/interaction-surface.partial.js +28 -28
  13. package/dist/es2019/components/stack.partial.js +16 -16
  14. package/dist/es2019/components/text.partial.js +96 -66
  15. package/dist/es2019/internal/color-map.js +5 -5
  16. package/dist/es2019/internal/spacing-scale.js +2 -2
  17. package/dist/es2019/version.json +1 -1
  18. package/dist/esm/components/box.partial.js +72 -72
  19. package/dist/esm/components/inline.partial.js +16 -16
  20. package/dist/esm/components/interaction-surface.partial.js +28 -28
  21. package/dist/esm/components/stack.partial.js +16 -16
  22. package/dist/esm/components/text.partial.js +96 -66
  23. package/dist/esm/internal/color-map.js +5 -5
  24. package/dist/esm/internal/spacing-scale.js +2 -2
  25. package/dist/esm/version.json +1 -1
  26. package/dist/types/components/box.partial.d.ts +56 -56
  27. package/dist/types/components/inline.partial.d.ts +16 -16
  28. package/dist/types/components/interaction-surface.partial.d.ts +3 -3
  29. package/dist/types/components/stack.partial.d.ts +16 -16
  30. package/dist/types/components/surface-provider.d.ts +2 -2
  31. package/dist/types/components/text.partial.d.ts +48 -28
  32. package/dist/types/internal/color-map.d.ts +5 -5
  33. package/dist/types/internal/spacing-scale.d.ts +2 -2
  34. package/examples/00-basic.tsx +3 -3
  35. package/examples/01-box.tsx +18 -18
  36. package/examples/02-text-advanced.tsx +9 -9
  37. package/examples/02-text.tsx +36 -16
  38. package/examples/03-stack.tsx +26 -26
  39. package/examples/04-inline.tsx +26 -26
  40. package/examples/05-badge.tsx +2 -2
  41. package/examples/06-section-message.tsx +6 -6
  42. package/examples/07-comment.tsx +5 -5
  43. package/examples/08-lozenge.tsx +4 -4
  44. package/examples/99-interactions.tsx +16 -16
  45. package/package.json +1 -1
  46. package/report.api.md +105 -101
  47. package/scripts/__tests__/__snapshots__/codegen.test.tsx.snap +49 -49
  48. package/scripts/codegen-styles.tsx +27 -0
  49. package/scripts/spacing-codegen-template.tsx +3 -4
  50. package/scripts/spacing-scale-template.tsx +3 -5
  51. package/scripts/typography-codegen-template.tsx +80 -0
  52. package/src/components/__tests__/unit/inline.test.tsx +3 -3
  53. package/src/components/__tests__/unit/stack.test.tsx +2 -2
  54. package/src/components/__tests__/unit/text.test.tsx +3 -3
  55. package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-block-should-match-snapshot-1-snap.png +2 -2
  56. package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-inline-should-match-snapshot-1-snap.png +2 -2
  57. package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-should-match-snapshot-1-snap.png +2 -2
  58. package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-spacing-example-should-match-snapshot-1-snap.png +2 -2
  59. package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-spacing-example-should-match-snapshot-1-snap.png +2 -2
  60. package/src/components/__tests__/visual-regression/__image_snapshots__/text-snapshot-test-tsx-text-example-with-font-sizes-should-match-snapshot-1-snap.png +2 -2
  61. package/src/components/__tests__/visual-regression/__image_snapshots__/text-snapshot-test-tsx-text-example-with-font-weights-should-match-snapshot-1-snap.png +2 -2
  62. package/src/components/__tests__/visual-regression/__image_snapshots__/text-snapshot-test-tsx-text-example-with-line-heights-should-match-snapshot-1-snap.png +2 -2
  63. package/src/components/box.partial.tsx +75 -75
  64. package/src/components/inline.partial.tsx +16 -16
  65. package/src/components/interaction-surface.partial.tsx +22 -22
  66. package/src/components/stack.partial.tsx +16 -16
  67. package/src/components/text.partial.tsx +112 -43
  68. package/src/internal/color-map.tsx +5 -5
  69. package/src/internal/spacing-scale.tsx +15 -15
  70. package/tmp/api-report-tmp.d.ts +105 -101
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`290b1f069bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/290b1f069bd) - Regenerate codegen styles
8
+
9
+ ## 2.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [`544c409d79f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544c409d79f) - **Breaking Change**
14
+
15
+ ### `Text`
16
+
17
+ fontSize, fontWeight, and lineHeight APIs have changed due to typography tokens being introduced. The new values for fontSize and lineHeight follow a scale whereas fontWeight accepts keyword values.
18
+
19
+ ### `Box`
20
+
21
+ `padding`, `paddingBlock`, and `paddingInline` prop values now follow the pattern `space.x` instead of `scale.x` to align with spacing tokens.
22
+
23
+ ### `Inline` and `Stack`
24
+
25
+ `gap` prop values now follow the pattern `space.x` instead of `scale.x` to align with spacing tokens.
26
+
3
27
  ## 1.7.0
4
28
 
5
29
  ### Minor Changes
@@ -282,141 +282,141 @@ var heightMap = {
282
282
 
283
283
  /**
284
284
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
285
- * @codegen <<SignedSource::cbecbcc7b02d1d58fdd794542eb54d50>>
285
+ * @codegen <<SignedSource::dd066079dac7b8cd6f947965a2f1a744>>
286
286
  * @codegenId spacing
287
287
  * @codegenCommand yarn codegen-styles
288
288
  * @codegenParams ["padding", "paddingBlock", "paddingInline"]
289
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::a2b43f8447798dfdd9c6223bd22b78c7>>
289
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::b0b8f1a822ed84e0407ad83e6fda5a1c>>
290
290
  */
291
291
  var paddingMap = {
292
- 'scale.0': (0, _react2.css)({
292
+ 'space.0': (0, _react2.css)({
293
293
  padding: "var(--ds-space-0, 0px)"
294
294
  }),
295
- 'scale.025': (0, _react2.css)({
295
+ 'space.025': (0, _react2.css)({
296
296
  padding: "var(--ds-space-025, 2px)"
297
297
  }),
298
- 'scale.050': (0, _react2.css)({
298
+ 'space.050': (0, _react2.css)({
299
299
  padding: "var(--ds-space-050, 4px)"
300
300
  }),
301
- 'scale.075': (0, _react2.css)({
301
+ 'space.075': (0, _react2.css)({
302
302
  padding: "var(--ds-space-075, 6px)"
303
303
  }),
304
- 'scale.100': (0, _react2.css)({
304
+ 'space.100': (0, _react2.css)({
305
305
  padding: "var(--ds-space-100, 8px)"
306
306
  }),
307
- 'scale.1000': (0, _react2.css)({
307
+ 'space.1000': (0, _react2.css)({
308
308
  padding: "var(--ds-space-1000, 80px)"
309
309
  }),
310
- 'scale.150': (0, _react2.css)({
310
+ 'space.150': (0, _react2.css)({
311
311
  padding: "var(--ds-space-150, 12px)"
312
312
  }),
313
- 'scale.200': (0, _react2.css)({
313
+ 'space.200': (0, _react2.css)({
314
314
  padding: "var(--ds-space-200, 16px)"
315
315
  }),
316
- 'scale.250': (0, _react2.css)({
316
+ 'space.250': (0, _react2.css)({
317
317
  padding: "var(--ds-space-250, 20px)"
318
318
  }),
319
- 'scale.300': (0, _react2.css)({
319
+ 'space.300': (0, _react2.css)({
320
320
  padding: "var(--ds-space-300, 24px)"
321
321
  }),
322
- 'scale.400': (0, _react2.css)({
322
+ 'space.400': (0, _react2.css)({
323
323
  padding: "var(--ds-space-400, 32px)"
324
324
  }),
325
- 'scale.500': (0, _react2.css)({
325
+ 'space.500': (0, _react2.css)({
326
326
  padding: "var(--ds-space-500, 40px)"
327
327
  }),
328
- 'scale.600': (0, _react2.css)({
328
+ 'space.600': (0, _react2.css)({
329
329
  padding: "var(--ds-space-600, 48px)"
330
330
  }),
331
- 'scale.800': (0, _react2.css)({
331
+ 'space.800': (0, _react2.css)({
332
332
  padding: "var(--ds-space-800, 64px)"
333
333
  })
334
334
  };
335
335
  var paddingBlockMap = {
336
- 'scale.0': (0, _react2.css)({
336
+ 'space.0': (0, _react2.css)({
337
337
  paddingBlock: "var(--ds-space-0, 0px)"
338
338
  }),
339
- 'scale.025': (0, _react2.css)({
339
+ 'space.025': (0, _react2.css)({
340
340
  paddingBlock: "var(--ds-space-025, 2px)"
341
341
  }),
342
- 'scale.050': (0, _react2.css)({
342
+ 'space.050': (0, _react2.css)({
343
343
  paddingBlock: "var(--ds-space-050, 4px)"
344
344
  }),
345
- 'scale.075': (0, _react2.css)({
345
+ 'space.075': (0, _react2.css)({
346
346
  paddingBlock: "var(--ds-space-075, 6px)"
347
347
  }),
348
- 'scale.100': (0, _react2.css)({
348
+ 'space.100': (0, _react2.css)({
349
349
  paddingBlock: "var(--ds-space-100, 8px)"
350
350
  }),
351
- 'scale.1000': (0, _react2.css)({
351
+ 'space.1000': (0, _react2.css)({
352
352
  paddingBlock: "var(--ds-space-1000, 80px)"
353
353
  }),
354
- 'scale.150': (0, _react2.css)({
354
+ 'space.150': (0, _react2.css)({
355
355
  paddingBlock: "var(--ds-space-150, 12px)"
356
356
  }),
357
- 'scale.200': (0, _react2.css)({
357
+ 'space.200': (0, _react2.css)({
358
358
  paddingBlock: "var(--ds-space-200, 16px)"
359
359
  }),
360
- 'scale.250': (0, _react2.css)({
360
+ 'space.250': (0, _react2.css)({
361
361
  paddingBlock: "var(--ds-space-250, 20px)"
362
362
  }),
363
- 'scale.300': (0, _react2.css)({
363
+ 'space.300': (0, _react2.css)({
364
364
  paddingBlock: "var(--ds-space-300, 24px)"
365
365
  }),
366
- 'scale.400': (0, _react2.css)({
366
+ 'space.400': (0, _react2.css)({
367
367
  paddingBlock: "var(--ds-space-400, 32px)"
368
368
  }),
369
- 'scale.500': (0, _react2.css)({
369
+ 'space.500': (0, _react2.css)({
370
370
  paddingBlock: "var(--ds-space-500, 40px)"
371
371
  }),
372
- 'scale.600': (0, _react2.css)({
372
+ 'space.600': (0, _react2.css)({
373
373
  paddingBlock: "var(--ds-space-600, 48px)"
374
374
  }),
375
- 'scale.800': (0, _react2.css)({
375
+ 'space.800': (0, _react2.css)({
376
376
  paddingBlock: "var(--ds-space-800, 64px)"
377
377
  })
378
378
  };
379
379
  var paddingInlineMap = {
380
- 'scale.0': (0, _react2.css)({
380
+ 'space.0': (0, _react2.css)({
381
381
  paddingInline: "var(--ds-space-0, 0px)"
382
382
  }),
383
- 'scale.025': (0, _react2.css)({
383
+ 'space.025': (0, _react2.css)({
384
384
  paddingInline: "var(--ds-space-025, 2px)"
385
385
  }),
386
- 'scale.050': (0, _react2.css)({
386
+ 'space.050': (0, _react2.css)({
387
387
  paddingInline: "var(--ds-space-050, 4px)"
388
388
  }),
389
- 'scale.075': (0, _react2.css)({
389
+ 'space.075': (0, _react2.css)({
390
390
  paddingInline: "var(--ds-space-075, 6px)"
391
391
  }),
392
- 'scale.100': (0, _react2.css)({
392
+ 'space.100': (0, _react2.css)({
393
393
  paddingInline: "var(--ds-space-100, 8px)"
394
394
  }),
395
- 'scale.1000': (0, _react2.css)({
395
+ 'space.1000': (0, _react2.css)({
396
396
  paddingInline: "var(--ds-space-1000, 80px)"
397
397
  }),
398
- 'scale.150': (0, _react2.css)({
398
+ 'space.150': (0, _react2.css)({
399
399
  paddingInline: "var(--ds-space-150, 12px)"
400
400
  }),
401
- 'scale.200': (0, _react2.css)({
401
+ 'space.200': (0, _react2.css)({
402
402
  paddingInline: "var(--ds-space-200, 16px)"
403
403
  }),
404
- 'scale.250': (0, _react2.css)({
404
+ 'space.250': (0, _react2.css)({
405
405
  paddingInline: "var(--ds-space-250, 20px)"
406
406
  }),
407
- 'scale.300': (0, _react2.css)({
407
+ 'space.300': (0, _react2.css)({
408
408
  paddingInline: "var(--ds-space-300, 24px)"
409
409
  }),
410
- 'scale.400': (0, _react2.css)({
410
+ 'space.400': (0, _react2.css)({
411
411
  paddingInline: "var(--ds-space-400, 32px)"
412
412
  }),
413
- 'scale.500': (0, _react2.css)({
413
+ 'space.500': (0, _react2.css)({
414
414
  paddingInline: "var(--ds-space-500, 40px)"
415
415
  }),
416
- 'scale.600': (0, _react2.css)({
416
+ 'space.600': (0, _react2.css)({
417
417
  paddingInline: "var(--ds-space-600, 48px)"
418
418
  }),
419
- 'scale.800': (0, _react2.css)({
419
+ 'space.800': (0, _react2.css)({
420
420
  paddingInline: "var(--ds-space-800, 64px)"
421
421
  })
422
422
  };
@@ -427,21 +427,18 @@ var paddingInlineMap = {
427
427
 
428
428
  /**
429
429
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
430
- * @codegen <<SignedSource::201c8a6c6ff88ac47cdb02365c643ff2>>
430
+ * @codegen <<SignedSource::04c05379e7c6ad157383d5f77e66911a>>
431
431
  * @codegenId colors
432
432
  * @codegenCommand yarn codegen-styles
433
433
  * @codegenParams ["border", "background", "shadow"]
434
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::db7a1282630a6e5b9424b807614086af>>
434
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::e348c7cd343cf53ff944fdb7023c577a>>
435
435
  */
436
436
  var borderColorMap = {
437
437
  'color.border': (0, _react2.css)({
438
438
  borderColor: "var(--ds-border, #091e4221)"
439
439
  }),
440
- bold: (0, _react2.css)({
441
- borderColor: "var(--ds-border-bold, #344563)"
442
- }),
443
- inverse: (0, _react2.css)({
444
- borderColor: "var(--ds-border-inverse, #FFFFFF)"
440
+ disabled: (0, _react2.css)({
441
+ borderColor: "var(--ds-border-disabled, #FAFBFC)"
445
442
  }),
446
443
  focused: (0, _react2.css)({
447
444
  borderColor: "var(--ds-border-focused, #4C9AFF)"
@@ -449,15 +446,15 @@ var borderColorMap = {
449
446
  input: (0, _react2.css)({
450
447
  borderColor: "var(--ds-border-input, #FAFBFC)"
451
448
  }),
452
- disabled: (0, _react2.css)({
453
- borderColor: "var(--ds-border-disabled, #FAFBFC)"
454
- }),
455
- brand: (0, _react2.css)({
456
- borderColor: "var(--ds-border-brand, #0052CC)"
449
+ inverse: (0, _react2.css)({
450
+ borderColor: "var(--ds-border-inverse, #FFFFFF)"
457
451
  }),
458
452
  selected: (0, _react2.css)({
459
453
  borderColor: "var(--ds-border-selected, #0052CC)"
460
454
  }),
455
+ brand: (0, _react2.css)({
456
+ borderColor: "var(--ds-border-brand, #0052CC)"
457
+ }),
461
458
  danger: (0, _react2.css)({
462
459
  borderColor: "var(--ds-border-danger, #FF5630)"
463
460
  }),
@@ -472,18 +469,21 @@ var borderColorMap = {
472
469
  }),
473
470
  information: (0, _react2.css)({
474
471
  borderColor: "var(--ds-border-information, #0065FF)"
472
+ }),
473
+ bold: (0, _react2.css)({
474
+ borderColor: "var(--ds-border-bold, #344563)"
475
475
  })
476
476
  };
477
477
  var backgroundColorMap = {
478
478
  disabled: (0, _react2.css)({
479
479
  backgroundColor: "var(--ds-background-disabled, #091e4289)"
480
480
  }),
481
- 'inverse.subtle': (0, _react2.css)({
482
- backgroundColor: "var(--ds-background-inverse-subtle, #00000029)"
483
- }),
484
481
  input: (0, _react2.css)({
485
482
  backgroundColor: "var(--ds-background-input, #FAFBFC)"
486
483
  }),
484
+ 'inverse.subtle': (0, _react2.css)({
485
+ backgroundColor: "var(--ds-background-inverse-subtle, #00000029)"
486
+ }),
487
487
  neutral: (0, _react2.css)({
488
488
  backgroundColor: "var(--ds-background-neutral, #DFE1E6)"
489
489
  }),
@@ -493,15 +493,15 @@ var backgroundColorMap = {
493
493
  'neutral.bold': (0, _react2.css)({
494
494
  backgroundColor: "var(--ds-background-neutral-bold, #42526E)"
495
495
  }),
496
- 'brand.bold': (0, _react2.css)({
497
- backgroundColor: "var(--ds-background-brand-bold, #0052CC)"
498
- }),
499
496
  selected: (0, _react2.css)({
500
497
  backgroundColor: "var(--ds-background-selected, #DEEBFF)"
501
498
  }),
502
499
  'selected.bold': (0, _react2.css)({
503
500
  backgroundColor: "var(--ds-background-selected-bold, #0052CC)"
504
501
  }),
502
+ 'brand.bold': (0, _react2.css)({
503
+ backgroundColor: "var(--ds-background-brand-bold, #0052CC)"
504
+ }),
505
505
  danger: (0, _react2.css)({
506
506
  backgroundColor: "var(--ds-background-danger, #FFEBE6)"
507
507
  }),
@@ -544,31 +544,31 @@ var backgroundColorMap = {
544
544
  'elevation.surface': (0, _react2.css)({
545
545
  backgroundColor: "var(--ds-surface, #FFFFFF)"
546
546
  }),
547
- 'elevation.surface.sunken': (0, _react2.css)({
548
- backgroundColor: "var(--ds-surface-sunken, #F4F5F7)"
547
+ 'elevation.surface.overlay': (0, _react2.css)({
548
+ backgroundColor: "var(--ds-surface-overlay, #FFFFFF)"
549
549
  }),
550
550
  'elevation.surface.raised': (0, _react2.css)({
551
551
  backgroundColor: "var(--ds-surface-raised, #FFFFFF)"
552
552
  }),
553
- 'elevation.surface.overlay': (0, _react2.css)({
554
- backgroundColor: "var(--ds-surface-overlay, #FFFFFF)"
553
+ 'elevation.surface.sunken': (0, _react2.css)({
554
+ backgroundColor: "var(--ds-surface-sunken, #F4F5F7)"
555
555
  })
556
556
  };
557
557
  var shadowMap = {
558
- raised: (0, _react2.css)({
559
- boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091e423f, 0px 0px 1px #091e4221)"
560
- }),
561
558
  overflow: (0, _react2.css)({
562
559
  boxShadow: "var(--ds-shadow-overflow, 0px 0px 8px #091e423f, 0px 0px 1px #091e424f)"
563
560
  }),
564
- 'overflow.spread': (0, _react2.css)({
565
- boxShadow: "var(--ds-shadow-overflow-spread, #091e4229)"
566
- }),
567
561
  'overflow.perimeter': (0, _react2.css)({
568
562
  boxShadow: "var(--ds-shadow-overflow-perimeter, #091e421f)"
569
563
  }),
564
+ 'overflow.spread': (0, _react2.css)({
565
+ boxShadow: "var(--ds-shadow-overflow-spread, #091e4229)"
566
+ }),
570
567
  overlay: (0, _react2.css)({
571
568
  boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091e423f, 0px 0px 1px #091e424f)"
569
+ }),
570
+ raised: (0, _react2.css)({
571
+ boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091e423f, 0px 0px 1px #091e4221)"
572
572
  })
573
573
  };
574
574
 
@@ -120,55 +120,55 @@ Inline.displayName = 'Inline';
120
120
  var _default = Inline;
121
121
  /**
122
122
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
123
- * @codegen <<SignedSource::3bb74c0e18d35310a98408ecd49c1526>>
123
+ * @codegen <<SignedSource::e4218f7c850d1484a192d5b8b5dce136>>
124
124
  * @codegenId spacing
125
125
  * @codegenCommand yarn codegen-styles
126
126
  * @codegenParams ["columnGap"]
127
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::a2b43f8447798dfdd9c6223bd22b78c7>>
127
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::b0b8f1a822ed84e0407ad83e6fda5a1c>>
128
128
  */
129
129
 
130
130
  exports.default = _default;
131
131
  var columnGapMap = {
132
- 'scale.0': (0, _react2.css)({
132
+ 'space.0': (0, _react2.css)({
133
133
  columnGap: "var(--ds-space-0, 0px)"
134
134
  }),
135
- 'scale.025': (0, _react2.css)({
135
+ 'space.025': (0, _react2.css)({
136
136
  columnGap: "var(--ds-space-025, 2px)"
137
137
  }),
138
- 'scale.050': (0, _react2.css)({
138
+ 'space.050': (0, _react2.css)({
139
139
  columnGap: "var(--ds-space-050, 4px)"
140
140
  }),
141
- 'scale.075': (0, _react2.css)({
141
+ 'space.075': (0, _react2.css)({
142
142
  columnGap: "var(--ds-space-075, 6px)"
143
143
  }),
144
- 'scale.100': (0, _react2.css)({
144
+ 'space.100': (0, _react2.css)({
145
145
  columnGap: "var(--ds-space-100, 8px)"
146
146
  }),
147
- 'scale.1000': (0, _react2.css)({
147
+ 'space.1000': (0, _react2.css)({
148
148
  columnGap: "var(--ds-space-1000, 80px)"
149
149
  }),
150
- 'scale.150': (0, _react2.css)({
150
+ 'space.150': (0, _react2.css)({
151
151
  columnGap: "var(--ds-space-150, 12px)"
152
152
  }),
153
- 'scale.200': (0, _react2.css)({
153
+ 'space.200': (0, _react2.css)({
154
154
  columnGap: "var(--ds-space-200, 16px)"
155
155
  }),
156
- 'scale.250': (0, _react2.css)({
156
+ 'space.250': (0, _react2.css)({
157
157
  columnGap: "var(--ds-space-250, 20px)"
158
158
  }),
159
- 'scale.300': (0, _react2.css)({
159
+ 'space.300': (0, _react2.css)({
160
160
  columnGap: "var(--ds-space-300, 24px)"
161
161
  }),
162
- 'scale.400': (0, _react2.css)({
162
+ 'space.400': (0, _react2.css)({
163
163
  columnGap: "var(--ds-space-400, 32px)"
164
164
  }),
165
- 'scale.500': (0, _react2.css)({
165
+ 'space.500': (0, _react2.css)({
166
166
  columnGap: "var(--ds-space-500, 40px)"
167
167
  }),
168
- 'scale.600': (0, _react2.css)({
168
+ 'space.600': (0, _react2.css)({
169
169
  columnGap: "var(--ds-space-600, 48px)"
170
170
  }),
171
- 'scale.800': (0, _react2.css)({
171
+ 'space.800': (0, _react2.css)({
172
172
  columnGap: "var(--ds-space-800, 64px)"
173
173
  })
174
174
  };
@@ -58,23 +58,23 @@ var InteractionSurface = function InteractionSurface(_ref) {
58
58
  var _default = InteractionSurface;
59
59
  /**
60
60
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
61
- * @codegen <<SignedSource::46f9477bc75d77a16327328d1b49c35f>>
61
+ * @codegen <<SignedSource::86378a9df36e53f14f179490e5850418>>
62
62
  * @codegenId interactions
63
63
  * @codegenCommand yarn codegen-styles
64
64
  * @codegenParams ["background"]
65
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::db7a1282630a6e5b9424b807614086af>>
65
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::e348c7cd343cf53ff944fdb7023c577a>>
66
66
  */
67
67
 
68
68
  exports.default = _default;
69
69
  var backgroundActiveColorMap = {
70
- 'inverse.subtle': (0, _react2.css)({
70
+ input: (0, _react2.css)({
71
71
  ':active': {
72
- backgroundColor: "var(--ds-background-inverse-subtle-pressed, #00000052)"
72
+ backgroundColor: "var(--ds-background-input-pressed, #FFFFFF)"
73
73
  }
74
74
  }),
75
- input: (0, _react2.css)({
75
+ 'inverse.subtle': (0, _react2.css)({
76
76
  ':active': {
77
- backgroundColor: "var(--ds-background-input-pressed, #FFFFFF)"
77
+ backgroundColor: "var(--ds-background-inverse-subtle-pressed, #00000052)"
78
78
  }
79
79
  }),
80
80
  neutral: (0, _react2.css)({
@@ -92,11 +92,6 @@ var backgroundActiveColorMap = {
92
92
  backgroundColor: "var(--ds-background-neutral-bold-pressed, #172B4D)"
93
93
  }
94
94
  }),
95
- 'brand.bold': (0, _react2.css)({
96
- ':active': {
97
- backgroundColor: "var(--ds-background-brand-bold-pressed, #09326C)"
98
- }
99
- }),
100
95
  selected: (0, _react2.css)({
101
96
  ':active': {
102
97
  backgroundColor: "var(--ds-background-selected-pressed, #85B8FF)"
@@ -107,6 +102,11 @@ var backgroundActiveColorMap = {
107
102
  backgroundColor: "var(--ds-background-selected-bold-pressed, #09326C)"
108
103
  }
109
104
  }),
105
+ 'brand.bold': (0, _react2.css)({
106
+ ':active': {
107
+ backgroundColor: "var(--ds-background-brand-bold-pressed, #09326C)"
108
+ }
109
+ }),
110
110
  danger: (0, _react2.css)({
111
111
  ':active': {
112
112
  backgroundColor: "var(--ds-background-danger-pressed, #FF9C8F)"
@@ -162,26 +162,26 @@ var backgroundActiveColorMap = {
162
162
  backgroundColor: "var(--ds-surface-pressed, #DCDFE4)"
163
163
  }
164
164
  }),
165
- 'elevation.surface.raised': (0, _react2.css)({
165
+ 'elevation.surface.overlay': (0, _react2.css)({
166
166
  ':active': {
167
- backgroundColor: "var(--ds-surface-raised-pressed, #DCDFE4)"
167
+ backgroundColor: "var(--ds-surface-overlay-pressed, #DCDFE4)"
168
168
  }
169
169
  }),
170
- 'elevation.surface.overlay': (0, _react2.css)({
170
+ 'elevation.surface.raised': (0, _react2.css)({
171
171
  ':active': {
172
- backgroundColor: "var(--ds-surface-overlay-pressed, #DCDFE4)"
172
+ backgroundColor: "var(--ds-surface-raised-pressed, #DCDFE4)"
173
173
  }
174
174
  })
175
175
  };
176
176
  var backgroundHoverColorMap = {
177
- 'inverse.subtle': (0, _react2.css)({
177
+ input: (0, _react2.css)({
178
178
  ':hover': {
179
- backgroundColor: "var(--ds-background-inverse-subtle-hovered, #0000003D)"
179
+ backgroundColor: "var(--ds-background-input-hovered, #F7F8F9)"
180
180
  }
181
181
  }),
182
- input: (0, _react2.css)({
182
+ 'inverse.subtle': (0, _react2.css)({
183
183
  ':hover': {
184
- backgroundColor: "var(--ds-background-input-hovered, #F7F8F9)"
184
+ backgroundColor: "var(--ds-background-inverse-subtle-hovered, #0000003D)"
185
185
  }
186
186
  }),
187
187
  neutral: (0, _react2.css)({
@@ -199,11 +199,6 @@ var backgroundHoverColorMap = {
199
199
  backgroundColor: "var(--ds-background-neutral-bold-hovered, #2C3E5D)"
200
200
  }
201
201
  }),
202
- 'brand.bold': (0, _react2.css)({
203
- ':hover': {
204
- backgroundColor: "var(--ds-background-brand-bold-hovered, #0055CC)"
205
- }
206
- }),
207
202
  selected: (0, _react2.css)({
208
203
  ':hover': {
209
204
  backgroundColor: "var(--ds-background-selected-hovered, #CCE0FF)"
@@ -214,6 +209,11 @@ var backgroundHoverColorMap = {
214
209
  backgroundColor: "var(--ds-background-selected-bold-hovered, #0055CC)"
215
210
  }
216
211
  }),
212
+ 'brand.bold': (0, _react2.css)({
213
+ ':hover': {
214
+ backgroundColor: "var(--ds-background-brand-bold-hovered, #0055CC)"
215
+ }
216
+ }),
217
217
  danger: (0, _react2.css)({
218
218
  ':hover': {
219
219
  backgroundColor: "var(--ds-background-danger-hovered, #FFD2CC)"
@@ -269,14 +269,14 @@ var backgroundHoverColorMap = {
269
269
  backgroundColor: "var(--ds-surface-hovered, #F1F2F4)"
270
270
  }
271
271
  }),
272
- 'elevation.surface.raised': (0, _react2.css)({
272
+ 'elevation.surface.overlay': (0, _react2.css)({
273
273
  ':hover': {
274
- backgroundColor: "var(--ds-surface-raised-hovered, #F1F2F4)"
274
+ backgroundColor: "var(--ds-surface-overlay-hovered, #F1F2F4)"
275
275
  }
276
276
  }),
277
- 'elevation.surface.overlay': (0, _react2.css)({
277
+ 'elevation.surface.raised': (0, _react2.css)({
278
278
  ':hover': {
279
- backgroundColor: "var(--ds-surface-overlay-hovered, #F1F2F4)"
279
+ backgroundColor: "var(--ds-surface-raised-hovered, #F1F2F4)"
280
280
  }
281
281
  })
282
282
  };
@@ -84,55 +84,55 @@ Stack.displayName = 'Stack';
84
84
  var _default = Stack;
85
85
  /**
86
86
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
87
- * @codegen <<SignedSource::e574cf3d5b059f96c6158508fae4a064>>
87
+ * @codegen <<SignedSource::91d26b1ace8b38363779ae85a7ddc51b>>
88
88
  * @codegenId spacing
89
89
  * @codegenCommand yarn codegen-styles
90
90
  * @codegenParams ["rowGap"]
91
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::a2b43f8447798dfdd9c6223bd22b78c7>>
91
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::b0b8f1a822ed84e0407ad83e6fda5a1c>>
92
92
  */
93
93
 
94
94
  exports.default = _default;
95
95
  var rowGapMap = {
96
- 'scale.0': (0, _react2.css)({
96
+ 'space.0': (0, _react2.css)({
97
97
  rowGap: "var(--ds-space-0, 0px)"
98
98
  }),
99
- 'scale.025': (0, _react2.css)({
99
+ 'space.025': (0, _react2.css)({
100
100
  rowGap: "var(--ds-space-025, 2px)"
101
101
  }),
102
- 'scale.050': (0, _react2.css)({
102
+ 'space.050': (0, _react2.css)({
103
103
  rowGap: "var(--ds-space-050, 4px)"
104
104
  }),
105
- 'scale.075': (0, _react2.css)({
105
+ 'space.075': (0, _react2.css)({
106
106
  rowGap: "var(--ds-space-075, 6px)"
107
107
  }),
108
- 'scale.100': (0, _react2.css)({
108
+ 'space.100': (0, _react2.css)({
109
109
  rowGap: "var(--ds-space-100, 8px)"
110
110
  }),
111
- 'scale.1000': (0, _react2.css)({
111
+ 'space.1000': (0, _react2.css)({
112
112
  rowGap: "var(--ds-space-1000, 80px)"
113
113
  }),
114
- 'scale.150': (0, _react2.css)({
114
+ 'space.150': (0, _react2.css)({
115
115
  rowGap: "var(--ds-space-150, 12px)"
116
116
  }),
117
- 'scale.200': (0, _react2.css)({
117
+ 'space.200': (0, _react2.css)({
118
118
  rowGap: "var(--ds-space-200, 16px)"
119
119
  }),
120
- 'scale.250': (0, _react2.css)({
120
+ 'space.250': (0, _react2.css)({
121
121
  rowGap: "var(--ds-space-250, 20px)"
122
122
  }),
123
- 'scale.300': (0, _react2.css)({
123
+ 'space.300': (0, _react2.css)({
124
124
  rowGap: "var(--ds-space-300, 24px)"
125
125
  }),
126
- 'scale.400': (0, _react2.css)({
126
+ 'space.400': (0, _react2.css)({
127
127
  rowGap: "var(--ds-space-400, 32px)"
128
128
  }),
129
- 'scale.500': (0, _react2.css)({
129
+ 'space.500': (0, _react2.css)({
130
130
  rowGap: "var(--ds-space-500, 40px)"
131
131
  }),
132
- 'scale.600': (0, _react2.css)({
132
+ 'space.600': (0, _react2.css)({
133
133
  rowGap: "var(--ds-space-600, 48px)"
134
134
  }),
135
- 'scale.800': (0, _react2.css)({
135
+ 'space.800': (0, _react2.css)({
136
136
  rowGap: "var(--ds-space-800, 64px)"
137
137
  })
138
138
  };