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