@atlaskit/tokens 0.11.5 → 0.12.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 (182) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +315 -0
  3. package/dist/cjs/artifacts/{rename-mapping/atlassian-dark.js → replacement-mapping.js} +263 -55
  4. package/dist/cjs/artifacts/token-default-values.js +405 -17
  5. package/dist/cjs/artifacts/token-names.js +400 -16
  6. package/dist/cjs/babel-plugin/plugin.js +6 -0
  7. package/dist/cjs/entry-points/rename-mapping.js +2 -2
  8. package/dist/cjs/get-token.js +1 -1
  9. package/dist/cjs/palettes/typography-palette.js +156 -0
  10. package/dist/cjs/version.json +1 -1
  11. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +307 -0
  12. package/dist/{cjs/artifacts/rename-mapping/atlassian-legacy-light.js → es2019/artifacts/replacement-mapping.js} +263 -63
  13. package/dist/es2019/artifacts/token-default-values.js +404 -9
  14. package/dist/es2019/artifacts/token-names.js +399 -8
  15. package/dist/es2019/babel-plugin/plugin.js +6 -0
  16. package/dist/es2019/entry-points/rename-mapping.js +1 -1
  17. package/dist/es2019/get-token.js +1 -1
  18. package/dist/es2019/palettes/typography-palette.js +144 -0
  19. package/dist/es2019/version.json +1 -1
  20. package/dist/esm/artifacts/palettes-raw/typography-palette.js +307 -0
  21. package/dist/{cjs/artifacts/rename-mapping/atlassian-legacy-dark.js → esm/artifacts/replacement-mapping.js} +263 -63
  22. package/dist/esm/artifacts/token-default-values.js +405 -15
  23. package/dist/esm/artifacts/token-names.js +400 -14
  24. package/dist/esm/babel-plugin/plugin.js +6 -0
  25. package/dist/esm/entry-points/rename-mapping.js +1 -1
  26. package/dist/esm/get-token.js +1 -1
  27. package/dist/esm/palettes/typography-palette.js +146 -0
  28. package/dist/esm/version.json +1 -1
  29. package/dist/types/artifacts/palettes-raw/{font-weight-scale.d.ts → typography-palette.d.ts} +1 -1
  30. package/dist/types/artifacts/{rename-mapping/atlassian-legacy-dark.d.ts → replacement-mapping.d.ts} +4 -4
  31. package/dist/types/artifacts/token-default-values.d.ts +404 -395
  32. package/dist/types/artifacts/token-names.d.ts +527 -131
  33. package/dist/types/artifacts/types-internal.d.ts +6 -2
  34. package/dist/types/artifacts/types.d.ts +6 -2
  35. package/dist/types/entry-points/rename-mapping.d.ts +1 -1
  36. package/dist/types/palettes/typography-palette.d.ts +14 -0
  37. package/dist/types/tokens/atlassian-typography/font-family.d.ts +1 -1
  38. package/dist/types/tokens/atlassian-typography/font-size.d.ts +1 -1
  39. package/dist/types/tokens/atlassian-typography/font-weight.d.ts +1 -1
  40. package/dist/types/tokens/atlassian-typography/line-height.d.ts +1 -1
  41. package/dist/types/tokens/default/typography/font-family.d.ts +1 -1
  42. package/dist/types/tokens/default/typography/font-size.d.ts +1 -1
  43. package/dist/types/tokens/default/typography/font-weight.d.ts +1 -1
  44. package/dist/types/tokens/default/typography/line-height.d.ts +1 -1
  45. package/package.json +5 -5
  46. package/report.api.md +156 -167
  47. package/tmp/api-report-tmp.d.ts +156 -167
  48. package/dist/cjs/artifacts/palettes-raw/font-size-scale.js +0 -135
  49. package/dist/cjs/artifacts/palettes-raw/font-weight-scale.js +0 -75
  50. package/dist/cjs/artifacts/palettes-raw/line-height-scale.js +0 -105
  51. package/dist/cjs/artifacts/rename-mapping/atlassian-light.js +0 -427
  52. package/dist/cjs/artifacts/rename-mapping/atlassian-spacing.js +0 -235
  53. package/dist/cjs/artifacts/rename-mapping/atlassian-typography.js +0 -27
  54. package/dist/cjs/artifacts/rename-mapping.js +0 -22
  55. package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +0 -309
  56. package/dist/cjs/artifacts/typescript/atlassian-dark-types-internal.js +0 -5
  57. package/dist/cjs/artifacts/typescript/atlassian-dark-types.js +0 -5
  58. package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-token-names.js +0 -309
  59. package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-types-internal.js +0 -5
  60. package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-types.js +0 -5
  61. package/dist/cjs/artifacts/typescript/atlassian-legacy-light-token-names.js +0 -309
  62. package/dist/cjs/artifacts/typescript/atlassian-legacy-light-types-internal.js +0 -5
  63. package/dist/cjs/artifacts/typescript/atlassian-legacy-light-types.js +0 -5
  64. package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +0 -309
  65. package/dist/cjs/artifacts/typescript/atlassian-light-types-internal.js +0 -5
  66. package/dist/cjs/artifacts/typescript/atlassian-light-types.js +0 -5
  67. package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +0 -100
  68. package/dist/cjs/artifacts/typescript/atlassian-spacing-token-names.js +0 -96
  69. package/dist/cjs/artifacts/typescript/atlassian-spacing-types-internal.js +0 -5
  70. package/dist/cjs/artifacts/typescript/atlassian-spacing-types.js +0 -5
  71. package/dist/cjs/artifacts/typescript/atlassian-typography-token-default-values.js +0 -40
  72. package/dist/cjs/artifacts/typescript/atlassian-typography-token-names.js +0 -36
  73. package/dist/cjs/artifacts/typescript/atlassian-typography-types-internal.js +0 -5
  74. package/dist/cjs/artifacts/typescript/atlassian-typography-types.js +0 -5
  75. package/dist/cjs/palettes/typography/font-family.js +0 -24
  76. package/dist/cjs/palettes/typography/font-size-scale.js +0 -60
  77. package/dist/cjs/palettes/typography/font-weight-scale.js +0 -36
  78. package/dist/cjs/palettes/typography/index.js +0 -28
  79. package/dist/cjs/palettes/typography/line-height-scale.js +0 -48
  80. package/dist/es2019/artifacts/palettes-raw/font-size-scale.js +0 -127
  81. package/dist/es2019/artifacts/palettes-raw/font-weight-scale.js +0 -67
  82. package/dist/es2019/artifacts/palettes-raw/line-height-scale.js +0 -97
  83. package/dist/es2019/artifacts/rename-mapping/atlassian-dark.js +0 -419
  84. package/dist/es2019/artifacts/rename-mapping/atlassian-legacy-dark.js +0 -419
  85. package/dist/es2019/artifacts/rename-mapping/atlassian-legacy-light.js +0 -419
  86. package/dist/es2019/artifacts/rename-mapping/atlassian-light.js +0 -419
  87. package/dist/es2019/artifacts/rename-mapping/atlassian-spacing.js +0 -227
  88. package/dist/es2019/artifacts/rename-mapping/atlassian-typography.js +0 -19
  89. package/dist/es2019/artifacts/rename-mapping.js +0 -7
  90. package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +0 -301
  91. package/dist/es2019/artifacts/typescript/atlassian-dark-types-internal.js +0 -1
  92. package/dist/es2019/artifacts/typescript/atlassian-dark-types.js +0 -1
  93. package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-token-names.js +0 -301
  94. package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-types-internal.js +0 -1
  95. package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-types.js +0 -1
  96. package/dist/es2019/artifacts/typescript/atlassian-legacy-light-token-names.js +0 -301
  97. package/dist/es2019/artifacts/typescript/atlassian-legacy-light-types-internal.js +0 -1
  98. package/dist/es2019/artifacts/typescript/atlassian-legacy-light-types.js +0 -1
  99. package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +0 -301
  100. package/dist/es2019/artifacts/typescript/atlassian-light-types-internal.js +0 -1
  101. package/dist/es2019/artifacts/typescript/atlassian-light-types.js +0 -1
  102. package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +0 -92
  103. package/dist/es2019/artifacts/typescript/atlassian-spacing-token-names.js +0 -88
  104. package/dist/es2019/artifacts/typescript/atlassian-spacing-types-internal.js +0 -1
  105. package/dist/es2019/artifacts/typescript/atlassian-spacing-types.js +0 -1
  106. package/dist/es2019/artifacts/typescript/atlassian-typography-token-default-values.js +0 -32
  107. package/dist/es2019/artifacts/typescript/atlassian-typography-token-names.js +0 -28
  108. package/dist/es2019/artifacts/typescript/atlassian-typography-types-internal.js +0 -1
  109. package/dist/es2019/artifacts/typescript/atlassian-typography-types.js +0 -1
  110. package/dist/es2019/palettes/typography/font-family.js +0 -17
  111. package/dist/es2019/palettes/typography/font-size-scale.js +0 -53
  112. package/dist/es2019/palettes/typography/font-weight-scale.js +0 -29
  113. package/dist/es2019/palettes/typography/index.js +0 -12
  114. package/dist/es2019/palettes/typography/line-height-scale.js +0 -41
  115. package/dist/esm/artifacts/palettes-raw/font-size-scale.js +0 -127
  116. package/dist/esm/artifacts/palettes-raw/font-weight-scale.js +0 -67
  117. package/dist/esm/artifacts/palettes-raw/line-height-scale.js +0 -97
  118. package/dist/esm/artifacts/rename-mapping/atlassian-dark.js +0 -419
  119. package/dist/esm/artifacts/rename-mapping/atlassian-legacy-dark.js +0 -419
  120. package/dist/esm/artifacts/rename-mapping/atlassian-legacy-light.js +0 -419
  121. package/dist/esm/artifacts/rename-mapping/atlassian-light.js +0 -419
  122. package/dist/esm/artifacts/rename-mapping/atlassian-spacing.js +0 -227
  123. package/dist/esm/artifacts/rename-mapping/atlassian-typography.js +0 -19
  124. package/dist/esm/artifacts/rename-mapping.js +0 -9
  125. package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +0 -301
  126. package/dist/esm/artifacts/typescript/atlassian-dark-types-internal.js +0 -1
  127. package/dist/esm/artifacts/typescript/atlassian-dark-types.js +0 -1
  128. package/dist/esm/artifacts/typescript/atlassian-legacy-dark-token-names.js +0 -301
  129. package/dist/esm/artifacts/typescript/atlassian-legacy-dark-types-internal.js +0 -1
  130. package/dist/esm/artifacts/typescript/atlassian-legacy-dark-types.js +0 -1
  131. package/dist/esm/artifacts/typescript/atlassian-legacy-light-token-names.js +0 -301
  132. package/dist/esm/artifacts/typescript/atlassian-legacy-light-types-internal.js +0 -1
  133. package/dist/esm/artifacts/typescript/atlassian-legacy-light-types.js +0 -1
  134. package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +0 -301
  135. package/dist/esm/artifacts/typescript/atlassian-light-types-internal.js +0 -1
  136. package/dist/esm/artifacts/typescript/atlassian-light-types.js +0 -1
  137. package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +0 -92
  138. package/dist/esm/artifacts/typescript/atlassian-spacing-token-names.js +0 -88
  139. package/dist/esm/artifacts/typescript/atlassian-spacing-types-internal.js +0 -1
  140. package/dist/esm/artifacts/typescript/atlassian-spacing-types.js +0 -1
  141. package/dist/esm/artifacts/typescript/atlassian-typography-token-default-values.js +0 -32
  142. package/dist/esm/artifacts/typescript/atlassian-typography-token-names.js +0 -28
  143. package/dist/esm/artifacts/typescript/atlassian-typography-types-internal.js +0 -1
  144. package/dist/esm/artifacts/typescript/atlassian-typography-types.js +0 -1
  145. package/dist/esm/palettes/typography/font-family.js +0 -17
  146. package/dist/esm/palettes/typography/font-size-scale.js +0 -53
  147. package/dist/esm/palettes/typography/font-weight-scale.js +0 -29
  148. package/dist/esm/palettes/typography/index.js +0 -14
  149. package/dist/esm/palettes/typography/line-height-scale.js +0 -41
  150. package/dist/types/artifacts/palettes-raw/font-size-scale.d.ts +0 -22
  151. package/dist/types/artifacts/palettes-raw/line-height-scale.d.ts +0 -22
  152. package/dist/types/artifacts/rename-mapping/atlassian-dark.d.ts +0 -26
  153. package/dist/types/artifacts/rename-mapping/atlassian-legacy-light.d.ts +0 -26
  154. package/dist/types/artifacts/rename-mapping/atlassian-light.d.ts +0 -26
  155. package/dist/types/artifacts/rename-mapping/atlassian-spacing.d.ts +0 -26
  156. package/dist/types/artifacts/rename-mapping/atlassian-typography.d.ts +0 -26
  157. package/dist/types/artifacts/rename-mapping.d.ts +0 -6
  158. package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +0 -596
  159. package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +0 -6
  160. package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +0 -6
  161. package/dist/types/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +0 -596
  162. package/dist/types/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +0 -6
  163. package/dist/types/artifacts/typescript/atlassian-legacy-dark-types.d.ts +0 -6
  164. package/dist/types/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +0 -596
  165. package/dist/types/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +0 -6
  166. package/dist/types/artifacts/typescript/atlassian-legacy-light-types.d.ts +0 -6
  167. package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +0 -596
  168. package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +0 -6
  169. package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +0 -6
  170. package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +0 -92
  171. package/dist/types/artifacts/typescript/atlassian-spacing-token-names.d.ts +0 -170
  172. package/dist/types/artifacts/typescript/atlassian-spacing-types-internal.d.ts +0 -6
  173. package/dist/types/artifacts/typescript/atlassian-spacing-types.d.ts +0 -6
  174. package/dist/types/artifacts/typescript/atlassian-typography-token-default-values.d.ts +0 -32
  175. package/dist/types/artifacts/typescript/atlassian-typography-token-names.d.ts +0 -50
  176. package/dist/types/artifacts/typescript/atlassian-typography-types-internal.d.ts +0 -6
  177. package/dist/types/artifacts/typescript/atlassian-typography-types.d.ts +0 -6
  178. package/dist/types/palettes/typography/font-family.d.ts +0 -5
  179. package/dist/types/palettes/typography/font-size-scale.d.ts +0 -5
  180. package/dist/types/palettes/typography/font-weight-scale.d.ts +0 -5
  181. package/dist/types/palettes/typography/index.d.ts +0 -10
  182. package/dist/types/palettes/typography/line-height-scale.d.ts +0 -5
@@ -1,92 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- *
4
- * Token names mapped to their value in the default Atlassian themes ('light').
5
- * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
- *
7
- * @codegen <<SignedSource::58e461c6792689bbf53af618a63e94d0>>
8
- * @codegenCommand yarn build tokens
9
- */
10
- const defaultTokenValues = {
11
- 'space.0': '0',
12
- 'space.100': '0.5rem',
13
- 'space.150': '0.75rem',
14
- 'space.200': '1rem',
15
- 'space.250': '1.25rem',
16
- 'space.300': '1.5rem',
17
- 'space.400': '2rem',
18
- 'space.500': '2.5rem',
19
- 'space.600': '3rem',
20
- 'space.800': '4rem',
21
- 'space.1000': '5rem',
22
- 'space.025': '0.125rem',
23
- 'space.050': '0.25rem',
24
- 'space.075': '0.375rem',
25
- 'spacing.scale.0': '0',
26
- 'spacing.scale.100': '0.5rem',
27
- 'spacing.scale.150': '0.75rem',
28
- 'spacing.scale.200': '1rem',
29
- 'spacing.scale.250': '1.25rem',
30
- 'spacing.scale.300': '1.5rem',
31
- 'spacing.scale.400': '2rem',
32
- 'spacing.scale.500': '2.5rem',
33
- 'spacing.scale.600': '3rem',
34
- 'spacing.scale.800': '4rem',
35
- 'spacing.scale.1000': '5rem',
36
- 'spacing.scale.025': '0.125rem',
37
- 'spacing.scale.050': '0.25rem',
38
- 'spacing.scale.075': '0.375rem',
39
- 'spacing.scaleLinear.0': '0',
40
- 'spacing.scaleLinear.100': '0.125rem',
41
- 'spacing.scaleLinear.200': '0.25rem',
42
- 'spacing.scaleLinear.300': '0.375rem',
43
- 'spacing.scaleLinear.400': '0.5rem',
44
- 'spacing.scaleLinear.500': '0.75rem',
45
- 'spacing.scaleLinear.600': '1rem',
46
- 'spacing.scaleLinear.700': '1.25rem',
47
- 'spacing.scaleLinear.800': '1.5rem',
48
- 'spacing.scaleLinear.900': '2rem',
49
- 'spacing.scaleLinear.1000': '2.5rem',
50
- 'spacing.scaleLinear.1100': '3rem',
51
- 'spacing.size.none': '0',
52
- 'spacing.size.xxxxSmall': '0.125rem',
53
- 'spacing.size.xxxSmall': '0.25rem',
54
- 'spacing.size.xxSmall': '0.375rem',
55
- 'spacing.size.xsmall': '0.5rem',
56
- 'spacing.size.small': '0.75rem',
57
- 'spacing.size.medium': '1rem',
58
- 'spacing.size.large': '1.25rem',
59
- 'spacing.size.xlarge': '1.5rem',
60
- 'spacing.size.xxlarge': '2rem',
61
- 'spacing.size.xxxlarge': '2.5rem',
62
- 'spacing.size.xxxxlarge': '3rem',
63
- 'spacing.ecl.element.2': '0.125rem',
64
- 'spacing.ecl.element.4': '0.25rem',
65
- 'spacing.ecl.element.6': '0.375rem',
66
- 'spacing.ecl.element.8': '0.5rem',
67
- 'spacing.ecl.container.12': '0.75rem',
68
- 'spacing.ecl.container.16': '1rem',
69
- 'spacing.ecl.container.20': '1.25rem',
70
- 'spacing.ecl.container.24': '1.5rem',
71
- 'spacing.ecl.layout.32': '2rem',
72
- 'spacing.ecl.layout.40': '2.5rem',
73
- 'spacing.ecl.layout.64': '3rem',
74
- 'spacing.ccc.component.2': '0.125rem',
75
- 'spacing.ccc.component.4': '0.25rem',
76
- 'spacing.ccc.component.6': '0.375rem',
77
- 'spacing.ccc.component.8': '0.5rem',
78
- 'spacing.ccc.content.12': '0.75rem',
79
- 'spacing.ccc.content.16': '1rem',
80
- 'spacing.ccc.content.20': '1.25rem',
81
- 'spacing.ccc.content.24': '1.5rem',
82
- 'spacing.ccc.container.32': '2rem',
83
- 'spacing.ccc.container.40': '2.5rem',
84
- 'spacing.ccc.container.48': '3rem',
85
- 'spacing.gap.100': '0.5rem',
86
- 'spacing.gap.200': '1rem',
87
- 'spacing.gap.300': '1.5rem',
88
- 'spacing.inset.100': '0.5rem',
89
- 'spacing.inset.200': '1rem',
90
- 'spacing.inset.300': '1.5rem'
91
- };
92
- export default defaultTokenValues;
@@ -1,88 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::32eee2b724a024fa87bb7b5638096758>>
4
- * @codegenCommand yarn build tokens
5
- */
6
- const tokens = {
7
- 'space.0': '--ds-space-0',
8
- 'space.100': '--ds-space-100',
9
- 'space.150': '--ds-space-150',
10
- 'space.200': '--ds-space-200',
11
- 'space.250': '--ds-space-250',
12
- 'space.300': '--ds-space-300',
13
- 'space.400': '--ds-space-400',
14
- 'space.500': '--ds-space-500',
15
- 'space.600': '--ds-space-600',
16
- 'space.800': '--ds-space-800',
17
- 'space.1000': '--ds-space-1000',
18
- 'space.025': '--ds-space-025',
19
- 'space.050': '--ds-space-050',
20
- 'space.075': '--ds-space-075',
21
- 'spacing.scale.0': '--ds-scale-0',
22
- 'spacing.scale.100': '--ds-scale-100',
23
- 'spacing.scale.150': '--ds-scale-150',
24
- 'spacing.scale.200': '--ds-scale-200',
25
- 'spacing.scale.250': '--ds-scale-250',
26
- 'spacing.scale.300': '--ds-scale-300',
27
- 'spacing.scale.400': '--ds-scale-400',
28
- 'spacing.scale.500': '--ds-scale-500',
29
- 'spacing.scale.600': '--ds-scale-600',
30
- 'spacing.scale.800': '--ds-scale-800',
31
- 'spacing.scale.1000': '--ds-scale-1000',
32
- 'spacing.scale.025': '--ds-scale-025',
33
- 'spacing.scale.050': '--ds-scale-050',
34
- 'spacing.scale.075': '--ds-scale-075',
35
- 'spacing.scaleLinear.0': '--ds-scaleLinear-0',
36
- 'spacing.scaleLinear.100': '--ds-scaleLinear-100',
37
- 'spacing.scaleLinear.200': '--ds-scaleLinear-200',
38
- 'spacing.scaleLinear.300': '--ds-scaleLinear-300',
39
- 'spacing.scaleLinear.400': '--ds-scaleLinear-400',
40
- 'spacing.scaleLinear.500': '--ds-scaleLinear-500',
41
- 'spacing.scaleLinear.600': '--ds-scaleLinear-600',
42
- 'spacing.scaleLinear.700': '--ds-scaleLinear-700',
43
- 'spacing.scaleLinear.800': '--ds-scaleLinear-800',
44
- 'spacing.scaleLinear.900': '--ds-scaleLinear-900',
45
- 'spacing.scaleLinear.1000': '--ds-scaleLinear-1000',
46
- 'spacing.scaleLinear.1100': '--ds-scaleLinear-1100',
47
- 'spacing.size.none': '--ds-size-none',
48
- 'spacing.size.xxxxSmall': '--ds-size-xxxxSmall',
49
- 'spacing.size.xxxSmall': '--ds-size-xxxSmall',
50
- 'spacing.size.xxSmall': '--ds-size-xxSmall',
51
- 'spacing.size.xsmall': '--ds-size-xsmall',
52
- 'spacing.size.small': '--ds-size-small',
53
- 'spacing.size.medium': '--ds-size-medium',
54
- 'spacing.size.large': '--ds-size-large',
55
- 'spacing.size.xlarge': '--ds-size-xlarge',
56
- 'spacing.size.xxlarge': '--ds-size-xxlarge',
57
- 'spacing.size.xxxlarge': '--ds-size-xxxlarge',
58
- 'spacing.size.xxxxlarge': '--ds-size-xxxxlarge',
59
- 'spacing.ecl.element.2': '--ds-ecl-element-2',
60
- 'spacing.ecl.element.4': '--ds-ecl-element-4',
61
- 'spacing.ecl.element.6': '--ds-ecl-element-6',
62
- 'spacing.ecl.element.8': '--ds-ecl-element-8',
63
- 'spacing.ecl.container.12': '--ds-ecl-container-12',
64
- 'spacing.ecl.container.16': '--ds-ecl-container-16',
65
- 'spacing.ecl.container.20': '--ds-ecl-container-20',
66
- 'spacing.ecl.container.24': '--ds-ecl-container-24',
67
- 'spacing.ecl.layout.32': '--ds-ecl-layout-32',
68
- 'spacing.ecl.layout.40': '--ds-ecl-layout-40',
69
- 'spacing.ecl.layout.64': '--ds-ecl-layout-64',
70
- 'spacing.ccc.component.2': '--ds-ccc-component-2',
71
- 'spacing.ccc.component.4': '--ds-ccc-component-4',
72
- 'spacing.ccc.component.6': '--ds-ccc-component-6',
73
- 'spacing.ccc.component.8': '--ds-ccc-component-8',
74
- 'spacing.ccc.content.12': '--ds-ccc-content-12',
75
- 'spacing.ccc.content.16': '--ds-ccc-content-16',
76
- 'spacing.ccc.content.20': '--ds-ccc-content-20',
77
- 'spacing.ccc.content.24': '--ds-ccc-content-24',
78
- 'spacing.ccc.container.32': '--ds-ccc-container-32',
79
- 'spacing.ccc.container.40': '--ds-ccc-container-40',
80
- 'spacing.ccc.container.48': '--ds-ccc-container-48',
81
- 'spacing.gap.100': '--ds-gap-100',
82
- 'spacing.gap.200': '--ds-gap-200',
83
- 'spacing.gap.300': '--ds-gap-300',
84
- 'spacing.inset.100': '--ds-inset-100',
85
- 'spacing.inset.200': '--ds-inset-200',
86
- 'spacing.inset.300': '--ds-inset-300'
87
- };
88
- export default tokens;
@@ -1,32 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- *
4
- * Token names mapped to their value in the default Atlassian themes ('light').
5
- * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
- *
7
- * @codegen <<SignedSource::c3cd2758c83d1514a33fbaec6ceb0a8d>>
8
- * @codegenCommand yarn build tokens
9
- */
10
- const defaultTokenValues = {
11
- 'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
12
- 'font.family.monospace': '"SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace',
13
- 'font.size.100': '14px',
14
- 'font.size.200': '16px',
15
- 'font.size.300': '20px',
16
- 'font.size.400': '24px',
17
- 'font.size.500': '29px',
18
- 'font.size.600': '35px',
19
- 'font.size.050': '11px',
20
- 'font.size.075': '12px',
21
- 'font.weight.regular': '400',
22
- 'font.weight.medium': '500',
23
- 'font.weight.semibold': '600',
24
- 'font.weight.bold': '700',
25
- 'font.lineHeight.100': '16px',
26
- 'font.lineHeight.200': '20px',
27
- 'font.lineHeight.300': '24px',
28
- 'font.lineHeight.400': '28px',
29
- 'font.lineHeight.500': '32px',
30
- 'font.lineHeight.600': '40px'
31
- };
32
- export default defaultTokenValues;
@@ -1,28 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::552924bc6add2fabb3af5b1ac93a9721>>
4
- * @codegenCommand yarn build tokens
5
- */
6
- const tokens = {
7
- 'font.family.sans': '--ds-font-family-sans',
8
- 'font.family.monospace': '--ds-font-family-monospace',
9
- 'font.size.100': '--ds-font-size-100',
10
- 'font.size.200': '--ds-font-size-200',
11
- 'font.size.300': '--ds-font-size-300',
12
- 'font.size.400': '--ds-font-size-400',
13
- 'font.size.500': '--ds-font-size-500',
14
- 'font.size.600': '--ds-font-size-600',
15
- 'font.size.050': '--ds-font-size-050',
16
- 'font.size.075': '--ds-font-size-075',
17
- 'font.weight.regular': '--ds-font-weight-regular',
18
- 'font.weight.medium': '--ds-font-weight-medium',
19
- 'font.weight.semibold': '--ds-font-weight-semibold',
20
- 'font.weight.bold': '--ds-font-weight-bold',
21
- 'font.lineHeight.100': '--ds-font-lineHeight-100',
22
- 'font.lineHeight.200': '--ds-font-lineHeight-200',
23
- 'font.lineHeight.300': '--ds-font-lineHeight-300',
24
- 'font.lineHeight.400': '--ds-font-lineHeight-400',
25
- 'font.lineHeight.500': '--ds-font-lineHeight-500',
26
- 'font.lineHeight.600': '--ds-font-lineHeight-600'
27
- };
28
- export default tokens;
@@ -1,17 +0,0 @@
1
- const palette = {
2
- fontFamily: {
3
- FontFamilySans: {
4
- value: `-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif`,
5
- attributes: {
6
- group: 'scale'
7
- }
8
- },
9
- FontFamilyMonospace: {
10
- value: `"SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace`,
11
- attributes: {
12
- group: 'scale'
13
- }
14
- }
15
- }
16
- };
17
- export default palette;
@@ -1,53 +0,0 @@
1
- const scale = {
2
- fontSize: {
3
- FontSize050: {
4
- value: '11px',
5
- attributes: {
6
- group: 'scale'
7
- }
8
- },
9
- FontSize075: {
10
- value: '12px',
11
- attributes: {
12
- group: 'scale'
13
- }
14
- },
15
- FontSize100: {
16
- value: '14px',
17
- attributes: {
18
- group: 'scale'
19
- }
20
- },
21
- FontSize200: {
22
- value: '16px',
23
- attributes: {
24
- group: 'scale'
25
- }
26
- },
27
- FontSize300: {
28
- value: '20px',
29
- attributes: {
30
- group: 'scale'
31
- }
32
- },
33
- FontSize400: {
34
- value: '24px',
35
- attributes: {
36
- group: 'scale'
37
- }
38
- },
39
- FontSize500: {
40
- value: '29px',
41
- attributes: {
42
- group: 'scale'
43
- }
44
- },
45
- FontSize600: {
46
- value: '35px',
47
- attributes: {
48
- group: 'scale'
49
- }
50
- }
51
- }
52
- };
53
- export default scale;
@@ -1,29 +0,0 @@
1
- const scale = {
2
- fontWeight: {
3
- FontWeightRegular: {
4
- value: '400',
5
- attributes: {
6
- group: 'scale'
7
- }
8
- },
9
- FontWeightMedium: {
10
- value: '500',
11
- attributes: {
12
- group: 'scale'
13
- }
14
- },
15
- FontWeightSemiBold: {
16
- value: '600',
17
- attributes: {
18
- group: 'scale'
19
- }
20
- },
21
- FontWeightBold: {
22
- value: '700',
23
- attributes: {
24
- group: 'scale'
25
- }
26
- }
27
- }
28
- };
29
- export default scale;
@@ -1,12 +0,0 @@
1
- import fontFamilyPalette from './font-family';
2
- import fontSizeScale from './font-size-scale';
3
- import fontWeightScale from './font-weight-scale';
4
- import lineHeightScale from './line-height-scale';
5
- const typographyPalette = {
6
- typography: { ...fontSizeScale,
7
- ...fontWeightScale,
8
- ...lineHeightScale,
9
- ...fontFamilyPalette
10
- }
11
- };
12
- export default typographyPalette;
@@ -1,41 +0,0 @@
1
- const scale = {
2
- lineHeight: {
3
- LineHeight100: {
4
- value: '16px',
5
- attributes: {
6
- group: 'scale'
7
- }
8
- },
9
- LineHeight200: {
10
- value: '20px',
11
- attributes: {
12
- group: 'scale'
13
- }
14
- },
15
- LineHeight300: {
16
- value: '24px',
17
- attributes: {
18
- group: 'scale'
19
- }
20
- },
21
- LineHeight400: {
22
- value: '28px',
23
- attributes: {
24
- group: 'scale'
25
- }
26
- },
27
- LineHeight500: {
28
- value: '32px',
29
- attributes: {
30
- group: 'scale'
31
- }
32
- },
33
- LineHeight600: {
34
- value: '40px',
35
- attributes: {
36
- group: 'scale'
37
- }
38
- }
39
- }
40
- };
41
- export default scale;
@@ -1,127 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::8fb1da69b30c7b1fcf40b479e7db7093>>
4
- * @codegenCommand yarn build tokens
5
- */
6
- var tokens = [{
7
- "value": "11px",
8
- "attributes": {
9
- "group": "scale"
10
- },
11
- "filePath": "src/palettes/font-size-scale.tsx",
12
- "isSource": true,
13
- "original": {
14
- "value": "11px",
15
- "attributes": {
16
- "group": "scale"
17
- }
18
- },
19
- "name": "fontSize.FontSize050",
20
- "path": ["fontSize", "FontSize050"]
21
- }, {
22
- "value": "12px",
23
- "attributes": {
24
- "group": "scale"
25
- },
26
- "filePath": "src/palettes/font-size-scale.tsx",
27
- "isSource": true,
28
- "original": {
29
- "value": "12px",
30
- "attributes": {
31
- "group": "scale"
32
- }
33
- },
34
- "name": "fontSize.FontSize075",
35
- "path": ["fontSize", "FontSize075"]
36
- }, {
37
- "value": "14px",
38
- "attributes": {
39
- "group": "scale"
40
- },
41
- "filePath": "src/palettes/font-size-scale.tsx",
42
- "isSource": true,
43
- "original": {
44
- "value": "14px",
45
- "attributes": {
46
- "group": "scale"
47
- }
48
- },
49
- "name": "fontSize.FontSize100",
50
- "path": ["fontSize", "FontSize100"]
51
- }, {
52
- "value": "16px",
53
- "attributes": {
54
- "group": "scale"
55
- },
56
- "filePath": "src/palettes/font-size-scale.tsx",
57
- "isSource": true,
58
- "original": {
59
- "value": "16px",
60
- "attributes": {
61
- "group": "scale"
62
- }
63
- },
64
- "name": "fontSize.FontSize200",
65
- "path": ["fontSize", "FontSize200"]
66
- }, {
67
- "value": "20px",
68
- "attributes": {
69
- "group": "scale"
70
- },
71
- "filePath": "src/palettes/font-size-scale.tsx",
72
- "isSource": true,
73
- "original": {
74
- "value": "20px",
75
- "attributes": {
76
- "group": "scale"
77
- }
78
- },
79
- "name": "fontSize.FontSize300",
80
- "path": ["fontSize", "FontSize300"]
81
- }, {
82
- "value": "24px",
83
- "attributes": {
84
- "group": "scale"
85
- },
86
- "filePath": "src/palettes/font-size-scale.tsx",
87
- "isSource": true,
88
- "original": {
89
- "value": "24px",
90
- "attributes": {
91
- "group": "scale"
92
- }
93
- },
94
- "name": "fontSize.FontSize400",
95
- "path": ["fontSize", "FontSize400"]
96
- }, {
97
- "value": "29px",
98
- "attributes": {
99
- "group": "scale"
100
- },
101
- "filePath": "src/palettes/font-size-scale.tsx",
102
- "isSource": true,
103
- "original": {
104
- "value": "29px",
105
- "attributes": {
106
- "group": "scale"
107
- }
108
- },
109
- "name": "fontSize.FontSize500",
110
- "path": ["fontSize", "FontSize500"]
111
- }, {
112
- "value": "35px",
113
- "attributes": {
114
- "group": "scale"
115
- },
116
- "filePath": "src/palettes/font-size-scale.tsx",
117
- "isSource": true,
118
- "original": {
119
- "value": "35px",
120
- "attributes": {
121
- "group": "scale"
122
- }
123
- },
124
- "name": "fontSize.FontSize600",
125
- "path": ["fontSize", "FontSize600"]
126
- }];
127
- export default tokens;
@@ -1,67 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::f17d943d430728df0f70ad5321ac80d4>>
4
- * @codegenCommand yarn build tokens
5
- */
6
- var tokens = [{
7
- "value": "400",
8
- "attributes": {
9
- "group": "scale"
10
- },
11
- "filePath": "src/palettes/font-weight-scale.tsx",
12
- "isSource": true,
13
- "original": {
14
- "value": "400",
15
- "attributes": {
16
- "group": "scale"
17
- }
18
- },
19
- "name": "fontWeight.FontWeightRegular",
20
- "path": ["fontWeight", "FontWeightRegular"]
21
- }, {
22
- "value": "500",
23
- "attributes": {
24
- "group": "scale"
25
- },
26
- "filePath": "src/palettes/font-weight-scale.tsx",
27
- "isSource": true,
28
- "original": {
29
- "value": "500",
30
- "attributes": {
31
- "group": "scale"
32
- }
33
- },
34
- "name": "fontWeight.FontWeightMedium",
35
- "path": ["fontWeight", "FontWeightMedium"]
36
- }, {
37
- "value": "600",
38
- "attributes": {
39
- "group": "scale"
40
- },
41
- "filePath": "src/palettes/font-weight-scale.tsx",
42
- "isSource": true,
43
- "original": {
44
- "value": "600",
45
- "attributes": {
46
- "group": "scale"
47
- }
48
- },
49
- "name": "fontWeight.FontWeightSemiBold",
50
- "path": ["fontWeight", "FontWeightSemiBold"]
51
- }, {
52
- "value": "700",
53
- "attributes": {
54
- "group": "scale"
55
- },
56
- "filePath": "src/palettes/font-weight-scale.tsx",
57
- "isSource": true,
58
- "original": {
59
- "value": "700",
60
- "attributes": {
61
- "group": "scale"
62
- }
63
- },
64
- "name": "fontWeight.FontWeightBold",
65
- "path": ["fontWeight", "FontWeightBold"]
66
- }];
67
- export default tokens;