@atlaskit/tokens 0.10.31 → 0.10.33

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 (115) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/css/atlassian-dark.css +5 -1
  3. package/css/atlassian-legacy-dark.css +5 -1
  4. package/css/atlassian-legacy-light.css +17 -13
  5. package/css/atlassian-light.css +7 -3
  6. package/css/atlassian-spacing.css +77 -77
  7. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +25 -25
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +45 -3
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +49 -7
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +77 -77
  13. package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +3 -1
  14. package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
  15. package/dist/cjs/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
  16. package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
  17. package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +3 -1
  18. package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +77 -77
  19. package/dist/cjs/get-token.js +1 -1
  20. package/dist/cjs/palettes/spacing-scale.js +12 -12
  21. package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +31 -21
  22. package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
  23. package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
  24. package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +27 -17
  25. package/dist/cjs/tokens/default/elevation/shadow.js +23 -5
  26. package/dist/cjs/version.json +1 -1
  27. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +25 -25
  28. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +45 -3
  29. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
  30. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +49 -7
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +77 -77
  33. package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +3 -1
  34. package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
  35. package/dist/es2019/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
  36. package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
  37. package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +3 -1
  38. package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +77 -77
  39. package/dist/es2019/get-token.js +1 -1
  40. package/dist/es2019/palettes/spacing-scale.js +12 -12
  41. package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +31 -21
  42. package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
  43. package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
  44. package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +27 -17
  45. package/dist/es2019/tokens/default/elevation/shadow.js +23 -5
  46. package/dist/es2019/version.json +1 -1
  47. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +25 -25
  48. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +45 -3
  49. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
  50. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
  51. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +49 -7
  52. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +77 -77
  53. package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +3 -1
  54. package/dist/esm/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
  55. package/dist/esm/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
  56. package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
  57. package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +3 -1
  58. package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +77 -77
  59. package/dist/esm/get-token.js +1 -1
  60. package/dist/esm/palettes/spacing-scale.js +12 -12
  61. package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +31 -21
  62. package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
  63. package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
  64. package/dist/esm/tokens/atlassian-light/elevation/shadow.js +27 -17
  65. package/dist/esm/tokens/default/elevation/shadow.js +23 -5
  66. package/dist/esm/version.json +1 -1
  67. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
  68. package/dist/types/artifacts/token-default-values.d.ts +79 -77
  69. package/dist/types/artifacts/token-names.d.ts +2 -0
  70. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  71. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  72. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  73. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  74. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -1
  75. package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
  76. package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
  77. package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
  78. package/dist/types/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
  79. package/dist/types/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
  80. package/dist/types/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
  81. package/dist/types/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
  82. package/dist/types/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
  83. package/dist/types/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
  84. package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
  85. package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
  86. package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
  87. package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +2 -2
  88. package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +77 -77
  89. package/dist/types/types.d.ts +5 -1
  90. package/dist/types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
  91. package/dist/types-ts4.0/artifacts/token-default-values.d.ts +79 -77
  92. package/dist/types-ts4.0/artifacts/token-names.d.ts +2 -0
  93. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  94. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  95. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  96. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  97. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -1
  98. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
  99. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
  100. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
  101. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
  102. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
  103. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
  104. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
  105. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
  106. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
  107. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
  108. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
  109. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
  110. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +2 -2
  111. package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +77 -77
  112. package/dist/types-ts4.0/types.d.ts +5 -1
  113. package/package.json +1 -1
  114. package/report.api.md +4 -0
  115. package/tmp/api-report-tmp.d.ts +4 -0
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::709c400533fbf03cd0b347f1aa9b3ff6>>
3
+ * @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  var tokens = {
@@ -280,6 +280,8 @@ var tokens = {
280
280
  'shadow.overlay': '--ds-overlay',
281
281
  'elevation.shadow.raised': '--ds-shadow-raised',
282
282
  'elevation.shadow.overflow': '--ds-shadow-overflow',
283
+ 'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
284
+ 'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
283
285
  'elevation.shadow.overlay': '--ds-shadow-overlay',
284
286
  'elevation.surface': '--ds-surface',
285
287
  'elevation.surface.hovered': '--ds-surface-hovered',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::709c400533fbf03cd0b347f1aa9b3ff6>>
3
+ * @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  var tokens = {
@@ -280,6 +280,8 @@ var tokens = {
280
280
  'shadow.overlay': '--ds-overlay',
281
281
  'elevation.shadow.raised': '--ds-shadow-raised',
282
282
  'elevation.shadow.overflow': '--ds-shadow-overflow',
283
+ 'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
284
+ 'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
283
285
  'elevation.shadow.overlay': '--ds-shadow-overlay',
284
286
  'elevation.surface': '--ds-surface',
285
287
  'elevation.surface.hovered': '--ds-surface-hovered',
@@ -4,7 +4,7 @@
4
4
  * Token names mapped to their value in the default Atlassian themes ('light spacing').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::128d2aed73e7128437a797c426204b37>>
7
+ * @codegen <<SignedSource::ef6186f17dafc7e13af4096ad3cf41bb>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  var defaultTokenValues = {
@@ -283,7 +283,9 @@ var defaultTokenValues = {
283
283
  'shadow.card': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
284
284
  'shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
285
285
  'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
286
- 'elevation.shadow.overflow': '0px 8px 8px #091E4214, 0px 0px 1px #091E421F',
286
+ 'elevation.shadow.overflow': '0px 0px 8px #091E4229, 0px 0px 1px #091E421F',
287
+ 'elevation.shadow.overflow.spread': '#091e4229',
288
+ 'elevation.shadow.overflow.perimeter': '#091e421f',
287
289
  'elevation.shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
288
290
  'elevation.surface': '#FFFFFF',
289
291
  'elevation.surface.hovered': '#F1F2F4',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::709c400533fbf03cd0b347f1aa9b3ff6>>
3
+ * @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  var tokens = {
@@ -280,6 +280,8 @@ var tokens = {
280
280
  'shadow.overlay': '--ds-overlay',
281
281
  'elevation.shadow.raised': '--ds-shadow-raised',
282
282
  'elevation.shadow.overflow': '--ds-shadow-overflow',
283
+ 'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
284
+ 'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
283
285
  'elevation.shadow.overlay': '--ds-shadow-overlay',
284
286
  'elevation.surface': '--ds-surface',
285
287
  'elevation.surface.hovered': '--ds-surface-hovered',
@@ -4,85 +4,85 @@
4
4
  * Token names mapped to their value in the default Atlassian themes ('light spacing').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::05c2fcc3d0dba0931605dc98f7540009>>
7
+ * @codegen <<SignedSource::070fc18ba91d3a0673dcabb4f936f8d9>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  var defaultTokenValues = {
11
- 'spacing.scale.0': '0px',
12
- 'spacing.scale.100': '8px',
13
- 'spacing.scale.150': '12px',
14
- 'spacing.scale.200': '16px',
15
- 'spacing.scale.250': '20px',
16
- 'spacing.scale.300': '24px',
17
- 'spacing.scale.400': '32px',
18
- 'spacing.scale.500': '40px',
19
- 'spacing.scale.600': '48px',
20
- 'spacing.scale.025': '2px',
21
- 'spacing.scale.050': '4px',
22
- 'spacing.scale.075': '6px',
23
- 'spacing.scaleLinear.0': '0px',
24
- 'spacing.scaleLinear.100': '2px',
25
- 'spacing.scaleLinear.200': '4px',
26
- 'spacing.scaleLinear.300': '6px',
27
- 'spacing.scaleLinear.400': '8px',
28
- 'spacing.scaleLinear.500': '12px',
29
- 'spacing.scaleLinear.600': '16px',
30
- 'spacing.scaleLinear.700': '20px',
31
- 'spacing.scaleLinear.800': '24px',
32
- 'spacing.scaleLinear.900': '32px',
33
- 'spacing.scaleLinear.1000': '40px',
34
- 'spacing.scaleLinear.1100': '48px',
35
- 'spacing.pixel.0': '0px',
36
- 'spacing.pixel.2': '2px',
37
- 'spacing.pixel.4': '4px',
38
- 'spacing.pixel.6': '6px',
39
- 'spacing.pixel.8': '8px',
40
- 'spacing.pixel.12': '12px',
41
- 'spacing.pixel.16': '16px',
42
- 'spacing.pixel.20': '20px',
43
- 'spacing.pixel.24': '24px',
44
- 'spacing.pixel.32': '32px',
45
- 'spacing.pixel.40': '40px',
46
- 'spacing.pixel.48': '48px',
47
- 'spacing.size.none': '0px',
48
- 'spacing.size.xxxxSmall': '2px',
49
- 'spacing.size.xxxSmall': '4px',
50
- 'spacing.size.xxSmall': '6px',
51
- 'spacing.size.xsmall': '8px',
52
- 'spacing.size.small': '12px',
53
- 'spacing.size.medium': '16px',
54
- 'spacing.size.large': '20px',
55
- 'spacing.size.xlarge': '24px',
56
- 'spacing.size.xxlarge': '32px',
57
- 'spacing.size.xxxlarge': '40px',
58
- 'spacing.size.xxxxlarge': '48px',
59
- 'spacing.ecl.element.2': '2px',
60
- 'spacing.ecl.element.4': '4px',
61
- 'spacing.ecl.element.6': '6px',
62
- 'spacing.ecl.element.8': '8px',
63
- 'spacing.ecl.container.12': '12px',
64
- 'spacing.ecl.container.16': '16px',
65
- 'spacing.ecl.container.20': '20px',
66
- 'spacing.ecl.container.24': '24px',
67
- 'spacing.ecl.layout.32': '32px',
68
- 'spacing.ecl.layout.40': '40px',
69
- 'spacing.ecl.layout.64': '48px',
70
- 'spacing.ccc.component.2': '2px',
71
- 'spacing.ccc.component.4': '4px',
72
- 'spacing.ccc.component.6': '6px',
73
- 'spacing.ccc.component.8': '8px',
74
- 'spacing.ccc.content.12': '12px',
75
- 'spacing.ccc.content.16': '16px',
76
- 'spacing.ccc.content.20': '20px',
77
- 'spacing.ccc.content.24': '24px',
78
- 'spacing.ccc.container.32': '32px',
79
- 'spacing.ccc.container.40': '40px',
80
- 'spacing.ccc.container.48': '48px',
81
- 'spacing.gap.100': '8px',
82
- 'spacing.gap.200': '16px',
83
- 'spacing.gap.300': '24px',
84
- 'spacing.inset.100': '8px',
85
- 'spacing.inset.200': '16px',
86
- 'spacing.inset.300': '24px'
11
+ 'spacing.scale.0': '0',
12
+ 'spacing.scale.100': '0.5rem',
13
+ 'spacing.scale.150': '0.75rem',
14
+ 'spacing.scale.200': '1rem',
15
+ 'spacing.scale.250': '1.25rem',
16
+ 'spacing.scale.300': '1.5rem',
17
+ 'spacing.scale.400': '2rem',
18
+ 'spacing.scale.500': '2.5rem',
19
+ 'spacing.scale.600': '3rem',
20
+ 'spacing.scale.025': '0.125rem',
21
+ 'spacing.scale.050': '0.25rem',
22
+ 'spacing.scale.075': '0.375rem',
23
+ 'spacing.scaleLinear.0': '0',
24
+ 'spacing.scaleLinear.100': '0.125rem',
25
+ 'spacing.scaleLinear.200': '0.25rem',
26
+ 'spacing.scaleLinear.300': '0.375rem',
27
+ 'spacing.scaleLinear.400': '0.5rem',
28
+ 'spacing.scaleLinear.500': '0.75rem',
29
+ 'spacing.scaleLinear.600': '1rem',
30
+ 'spacing.scaleLinear.700': '1.25rem',
31
+ 'spacing.scaleLinear.800': '1.5rem',
32
+ 'spacing.scaleLinear.900': '2rem',
33
+ 'spacing.scaleLinear.1000': '2.5rem',
34
+ 'spacing.scaleLinear.1100': '3rem',
35
+ 'spacing.pixel.0': '0',
36
+ 'spacing.pixel.2': '0.125rem',
37
+ 'spacing.pixel.4': '0.25rem',
38
+ 'spacing.pixel.6': '0.375rem',
39
+ 'spacing.pixel.8': '0.5rem',
40
+ 'spacing.pixel.12': '0.75rem',
41
+ 'spacing.pixel.16': '1rem',
42
+ 'spacing.pixel.20': '1.25rem',
43
+ 'spacing.pixel.24': '1.5rem',
44
+ 'spacing.pixel.32': '2rem',
45
+ 'spacing.pixel.40': '2.5rem',
46
+ 'spacing.pixel.48': '3rem',
47
+ 'spacing.size.none': '0',
48
+ 'spacing.size.xxxxSmall': '0.125rem',
49
+ 'spacing.size.xxxSmall': '0.25rem',
50
+ 'spacing.size.xxSmall': '0.375rem',
51
+ 'spacing.size.xsmall': '0.5rem',
52
+ 'spacing.size.small': '0.75rem',
53
+ 'spacing.size.medium': '1rem',
54
+ 'spacing.size.large': '1.25rem',
55
+ 'spacing.size.xlarge': '1.5rem',
56
+ 'spacing.size.xxlarge': '2rem',
57
+ 'spacing.size.xxxlarge': '2.5rem',
58
+ 'spacing.size.xxxxlarge': '3rem',
59
+ 'spacing.ecl.element.2': '0.125rem',
60
+ 'spacing.ecl.element.4': '0.25rem',
61
+ 'spacing.ecl.element.6': '0.375rem',
62
+ 'spacing.ecl.element.8': '0.5rem',
63
+ 'spacing.ecl.container.12': '0.75rem',
64
+ 'spacing.ecl.container.16': '1rem',
65
+ 'spacing.ecl.container.20': '1.25rem',
66
+ 'spacing.ecl.container.24': '1.5rem',
67
+ 'spacing.ecl.layout.32': '2rem',
68
+ 'spacing.ecl.layout.40': '2.5rem',
69
+ 'spacing.ecl.layout.64': '3rem',
70
+ 'spacing.ccc.component.2': '0.125rem',
71
+ 'spacing.ccc.component.4': '0.25rem',
72
+ 'spacing.ccc.component.6': '0.375rem',
73
+ 'spacing.ccc.component.8': '0.5rem',
74
+ 'spacing.ccc.content.12': '0.75rem',
75
+ 'spacing.ccc.content.16': '1rem',
76
+ 'spacing.ccc.content.20': '1.25rem',
77
+ 'spacing.ccc.content.24': '1.5rem',
78
+ 'spacing.ccc.container.32': '2rem',
79
+ 'spacing.ccc.container.40': '2.5rem',
80
+ 'spacing.ccc.container.48': '3rem',
81
+ 'spacing.gap.100': '0.5rem',
82
+ 'spacing.gap.200': '1rem',
83
+ 'spacing.gap.300': '1.5rem',
84
+ 'spacing.inset.100': '0.5rem',
85
+ 'spacing.inset.200': '1rem',
86
+ 'spacing.inset.300': '1.5rem'
87
87
  };
88
88
  export default defaultTokenValues;
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  var name = "@atlaskit/tokens";
5
- var version = "0.10.31";
5
+ var version = "0.10.33";
6
6
 
7
7
  function token(path, fallback) {
8
8
  var token = tokens[path];
@@ -2,73 +2,73 @@ var scale = {
2
2
  spacing: {
3
3
  scale: {
4
4
  Space0: {
5
- value: '0px',
5
+ value: '0',
6
6
  attributes: {
7
7
  group: 'scale'
8
8
  }
9
9
  },
10
10
  Space025: {
11
- value: '2px',
11
+ value: '0.125rem',
12
12
  attributes: {
13
13
  group: 'scale'
14
14
  }
15
15
  },
16
16
  Space050: {
17
- value: '4px',
17
+ value: '0.25rem',
18
18
  attributes: {
19
19
  group: 'scale'
20
20
  }
21
21
  },
22
22
  Space075: {
23
- value: '6px',
23
+ value: '0.375rem',
24
24
  attributes: {
25
25
  group: 'scale'
26
26
  }
27
27
  },
28
28
  Space100: {
29
- value: '8px',
29
+ value: '0.5rem',
30
30
  attributes: {
31
31
  group: 'scale'
32
32
  }
33
33
  },
34
34
  Space150: {
35
- value: '12px',
35
+ value: '0.75rem',
36
36
  attributes: {
37
37
  group: 'scale'
38
38
  }
39
39
  },
40
40
  Space200: {
41
- value: '16px',
41
+ value: '1rem',
42
42
  attributes: {
43
43
  group: 'scale'
44
44
  }
45
45
  },
46
46
  Space250: {
47
- value: '20px',
47
+ value: '1.25rem',
48
48
  attributes: {
49
49
  group: 'scale'
50
50
  }
51
51
  },
52
52
  Space300: {
53
- value: '24px',
53
+ value: '1.5rem',
54
54
  attributes: {
55
55
  group: 'scale'
56
56
  }
57
57
  },
58
58
  Space400: {
59
- value: '32px',
59
+ value: '2rem',
60
60
  attributes: {
61
61
  group: 'scale'
62
62
  }
63
63
  },
64
64
  Space500: {
65
- value: '40px',
65
+ value: '2.5rem',
66
66
  attributes: {
67
67
  group: 'scale'
68
68
  }
69
69
  },
70
70
  Space600: {
71
- value: '48px',
71
+ value: '3rem',
72
72
  attributes: {
73
73
  group: 'scale'
74
74
  }
@@ -35,27 +35,37 @@ var shadow = {
35
35
  }]
36
36
  },
37
37
  overflow: {
38
- value: [{
39
- radius: 12,
40
- offset: {
41
- x: 0,
42
- y: 0
43
- },
44
- // @ts-ignore no current palette colour for this yet
45
- color: '#030404',
46
- // This opacity overrides the color alpha.
47
- opacity: 0.56
48
- }, {
49
- radius: 1,
50
- offset: {
51
- x: 0,
52
- y: 0
53
- },
54
- // @ts-ignore no current palette colour for this yet
55
- color: '#030404',
56
- // This opacity overrides the color alpha.
57
- opacity: 0.5
58
- }]
38
+ '[default]': {
39
+ value: [{
40
+ radius: 12,
41
+ offset: {
42
+ x: 0,
43
+ y: 0
44
+ },
45
+ // @ts-ignore no current palette colour for this yet
46
+ color: '#030404',
47
+ // This opacity overrides the color alpha.
48
+ opacity: 0.56
49
+ }, {
50
+ radius: 1,
51
+ offset: {
52
+ x: 0,
53
+ y: 0
54
+ },
55
+ // @ts-ignore no current palette colour for this yet
56
+ color: '#030404',
57
+ // This opacity overrides the color alpha.
58
+ opacity: 0.5
59
+ }]
60
+ },
61
+ // @ts-ignore no current palette colour for this yet
62
+ spread: {
63
+ value: '#0304048f'
64
+ },
65
+ // @ts-ignore no current palette colour for this yet
66
+ perimeter: {
67
+ value: '#03040480'
68
+ }
59
69
  },
60
70
  overlay: {
61
71
  value: [{
@@ -35,27 +35,37 @@ var shadow = {
35
35
  }]
36
36
  },
37
37
  overflow: {
38
- value: [{
39
- radius: 12,
40
- offset: {
41
- x: 0,
42
- y: 0
43
- },
44
- // @ts-ignore no current palette colour for this yet
45
- color: '#030404',
46
- // This opacity overrides the color alpha.
47
- opacity: 0.56
48
- }, {
49
- radius: 1,
50
- offset: {
51
- x: 0,
52
- y: 0
53
- },
54
- // @ts-ignore no current palette colour for this yet
55
- color: '#030404',
56
- // This opacity overrides the color alpha.
57
- opacity: 0.5
58
- }]
38
+ '[default]': {
39
+ value: [{
40
+ radius: 12,
41
+ offset: {
42
+ x: 0,
43
+ y: 0
44
+ },
45
+ // @ts-ignore no current palette colour for this yet
46
+ color: '#030404',
47
+ // This opacity overrides the color alpha.
48
+ opacity: 0.56
49
+ }, {
50
+ radius: 1,
51
+ offset: {
52
+ x: 0,
53
+ y: 0
54
+ },
55
+ // @ts-ignore no current palette colour for this yet
56
+ color: '#030404',
57
+ // This opacity overrides the color alpha.
58
+ opacity: 0.5
59
+ }]
60
+ },
61
+ // @ts-ignore no current palette colour for this yet
62
+ spread: {
63
+ value: '#0304048f'
64
+ },
65
+ // @ts-ignore no current palette colour for this yet
66
+ perimeter: {
67
+ value: '#03040480'
68
+ }
59
69
  },
60
70
  overlay: {
61
71
  value: [{
@@ -21,23 +21,33 @@ var shadow = {
21
21
  }]
22
22
  },
23
23
  overflow: {
24
- value: [{
25
- radius: 8,
26
- offset: {
27
- x: 0,
28
- y: 8
29
- },
30
- color: 'N50A',
31
- opacity: 0.08
32
- }, {
33
- radius: 1,
34
- offset: {
35
- x: 0,
36
- y: 0
37
- },
38
- color: 'N60A',
39
- opacity: 0.12
40
- }]
24
+ '[default]': {
25
+ value: [{
26
+ radius: 8,
27
+ offset: {
28
+ x: 0,
29
+ y: 0
30
+ },
31
+ color: 'N50A',
32
+ opacity: 0.16
33
+ }, {
34
+ radius: 1,
35
+ offset: {
36
+ x: 0,
37
+ y: 0
38
+ },
39
+ color: 'N60A',
40
+ opacity: 0.12
41
+ }]
42
+ },
43
+ // @ts-ignore no current palette colour for this yet
44
+ spread: {
45
+ value: '#091e4229'
46
+ },
47
+ // @ts-ignore no current palette colour for this yet
48
+ perimeter: {
49
+ value: '#091e421f'
50
+ }
41
51
  },
42
52
  overlay: {
43
53
  value: [{
@@ -21,23 +21,33 @@ var shadow = {
21
21
  }]
22
22
  },
23
23
  overflow: {
24
- value: [{
25
- radius: 8,
26
- offset: {
27
- x: 0,
28
- y: 8
29
- },
30
- color: 'Neutral1100',
31
- opacity: 0.08
32
- }, {
33
- radius: 1,
34
- offset: {
35
- x: 0,
36
- y: 0
37
- },
38
- color: 'Neutral1100',
39
- opacity: 0.12
40
- }]
24
+ '[default]': {
25
+ value: [{
26
+ radius: 8,
27
+ offset: {
28
+ x: 0,
29
+ y: 0
30
+ },
31
+ color: 'Neutral1100',
32
+ opacity: 0.16
33
+ }, {
34
+ radius: 1,
35
+ offset: {
36
+ x: 0,
37
+ y: 0
38
+ },
39
+ color: 'Neutral1100',
40
+ opacity: 0.12
41
+ }]
42
+ },
43
+ // @ts-ignore no current palette colour for this yet
44
+ spread: {
45
+ value: '#091e4229'
46
+ },
47
+ // @ts-ignore no current palette colour for this yet
48
+ perimeter: {
49
+ value: '#091e421f'
50
+ }
41
51
  },
42
52
  overlay: {
43
53
  value: [{
@@ -10,11 +10,29 @@ var shadow = {
10
10
  }
11
11
  },
12
12
  overflow: {
13
- attributes: {
14
- group: 'shadow',
15
- state: 'active',
16
- introduced: '0.6.0',
17
- description: "Use to create a shadow when content scrolls under other content."
13
+ '[default]': {
14
+ attributes: {
15
+ group: 'shadow',
16
+ state: 'active',
17
+ introduced: '0.6.0',
18
+ description: "Use to create a shadow when content scrolls under other content."
19
+ }
20
+ },
21
+ spread: {
22
+ attributes: {
23
+ group: 'paint',
24
+ state: 'active',
25
+ introduced: '0.10.32',
26
+ description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow.'
27
+ }
28
+ },
29
+ perimeter: {
30
+ attributes: {
31
+ group: 'paint',
32
+ state: 'active',
33
+ introduced: '0.10.32',
34
+ description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow.'
35
+ }
18
36
  }
19
37
  },
20
38
  overlay: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.31",
3
+ "version": "0.10.33",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9ec4d3766ad54f86aa1d9891b0f32317>>
3
+ * @codegen <<SignedSource::e1fc16f85d9f95330fadb08536a38997>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {