@atlaskit/tokens 0.10.35 → 0.11.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 (252) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/css/atlassian-spacing.css +2 -2
  3. package/css/atlassian-typography.css +27 -0
  4. package/dist/cjs/artifacts/palettes-raw/font-size-scale.js +135 -0
  5. package/dist/cjs/artifacts/palettes-raw/font-weight-scale.js +75 -0
  6. package/dist/cjs/artifacts/palettes-raw/line-height-scale.js +105 -0
  7. package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-dark.d.ts → cjs/artifacts/rename-mapping/atlassian-typography.js} +11 -10
  8. package/dist/cjs/artifacts/rename-mapping.js +3 -1
  9. package/dist/cjs/artifacts/token-default-values.js +3 -1
  10. package/dist/cjs/artifacts/token-names.js +3 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +435 -0
  12. package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
  13. package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
  14. package/dist/cjs/artifacts/typescript/atlassian-typography-token-default-values.js +40 -0
  15. package/dist/cjs/artifacts/typescript/atlassian-typography-token-names.js +36 -0
  16. package/dist/cjs/artifacts/typescript/atlassian-typography-types-internal.js +5 -0
  17. package/dist/cjs/artifacts/typescript/atlassian-typography-types.js +5 -0
  18. package/dist/cjs/constants.js +2 -2
  19. package/dist/cjs/entry-points/init.js +9 -0
  20. package/dist/cjs/get-token.js +1 -1
  21. package/dist/cjs/palettes/typography/font-family.js +24 -0
  22. package/dist/cjs/palettes/typography/font-size-scale.js +60 -0
  23. package/dist/cjs/palettes/typography/font-weight-scale.js +36 -0
  24. package/dist/cjs/palettes/typography/index.js +28 -0
  25. package/dist/cjs/palettes/typography/line-height-scale.js +48 -0
  26. package/dist/cjs/theme-config.js +8 -0
  27. package/dist/cjs/tokens/atlassian-typography/font-family.js +20 -0
  28. package/dist/cjs/tokens/atlassian-typography/font-size.js +38 -0
  29. package/dist/cjs/tokens/atlassian-typography/font-weight.js +26 -0
  30. package/dist/cjs/tokens/atlassian-typography/line-height.js +32 -0
  31. package/dist/cjs/tokens/default/elevation/surface.js +2 -2
  32. package/dist/cjs/tokens/default/typography/font-family.js +30 -0
  33. package/dist/cjs/tokens/default/typography/font-size.js +78 -0
  34. package/dist/cjs/tokens/default/typography/font-weight.js +46 -0
  35. package/dist/cjs/tokens/default/typography/line-height.js +62 -0
  36. package/dist/cjs/version.json +1 -1
  37. package/dist/es2019/artifacts/palettes-raw/font-size-scale.js +127 -0
  38. package/dist/es2019/artifacts/palettes-raw/font-weight-scale.js +67 -0
  39. package/dist/es2019/artifacts/palettes-raw/line-height-scale.js +97 -0
  40. package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-light.d.ts → es2019/artifacts/rename-mapping/atlassian-typography.js} +3 -10
  41. package/dist/es2019/artifacts/rename-mapping.js +2 -1
  42. package/dist/es2019/artifacts/token-default-values.js +3 -1
  43. package/dist/es2019/artifacts/token-names.js +3 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +427 -0
  45. package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
  46. package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
  47. package/dist/es2019/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
  48. package/dist/es2019/artifacts/typescript/atlassian-typography-token-names.js +28 -0
  49. package/dist/es2019/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
  50. package/dist/es2019/artifacts/typescript/atlassian-typography-types.js +1 -0
  51. package/dist/es2019/constants.js +2 -2
  52. package/dist/es2019/entry-points/init.js +4 -0
  53. package/dist/es2019/get-token.js +1 -1
  54. package/dist/es2019/palettes/typography/font-family.js +17 -0
  55. package/dist/es2019/palettes/typography/font-size-scale.js +53 -0
  56. package/dist/es2019/palettes/typography/font-weight-scale.js +29 -0
  57. package/dist/es2019/palettes/typography/index.js +12 -0
  58. package/dist/es2019/palettes/typography/line-height-scale.js +41 -0
  59. package/dist/es2019/theme-config.js +8 -0
  60. package/dist/es2019/tokens/atlassian-typography/font-family.js +13 -0
  61. package/dist/es2019/tokens/atlassian-typography/font-size.js +31 -0
  62. package/dist/es2019/tokens/atlassian-typography/font-weight.js +19 -0
  63. package/dist/es2019/tokens/atlassian-typography/line-height.js +25 -0
  64. package/dist/es2019/tokens/default/elevation/surface.js +2 -2
  65. package/dist/es2019/tokens/default/typography/font-family.js +23 -0
  66. package/dist/es2019/tokens/default/typography/font-size.js +71 -0
  67. package/dist/es2019/tokens/default/typography/font-weight.js +39 -0
  68. package/dist/es2019/tokens/default/typography/line-height.js +55 -0
  69. package/dist/es2019/version.json +1 -1
  70. package/dist/esm/artifacts/palettes-raw/font-size-scale.js +127 -0
  71. package/dist/esm/artifacts/palettes-raw/font-weight-scale.js +67 -0
  72. package/dist/esm/artifacts/palettes-raw/line-height-scale.js +97 -0
  73. package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-dark.d.ts → esm/artifacts/rename-mapping/atlassian-typography.js} +3 -10
  74. package/dist/esm/artifacts/rename-mapping.js +2 -1
  75. package/dist/esm/artifacts/token-default-values.js +2 -1
  76. package/dist/esm/artifacts/token-names.js +2 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +427 -0
  78. package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
  79. package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
  80. package/dist/esm/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
  81. package/dist/esm/artifacts/typescript/atlassian-typography-token-names.js +28 -0
  82. package/dist/esm/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
  83. package/dist/esm/artifacts/typescript/atlassian-typography-types.js +1 -0
  84. package/dist/esm/constants.js +2 -2
  85. package/dist/esm/entry-points/init.js +4 -0
  86. package/dist/esm/get-token.js +1 -1
  87. package/dist/esm/palettes/typography/font-family.js +17 -0
  88. package/dist/esm/palettes/typography/font-size-scale.js +53 -0
  89. package/dist/esm/palettes/typography/font-weight-scale.js +29 -0
  90. package/dist/esm/palettes/typography/index.js +14 -0
  91. package/dist/esm/palettes/typography/line-height-scale.js +41 -0
  92. package/dist/esm/theme-config.js +8 -0
  93. package/dist/esm/tokens/atlassian-typography/font-family.js +13 -0
  94. package/dist/esm/tokens/atlassian-typography/font-size.js +31 -0
  95. package/dist/esm/tokens/atlassian-typography/font-weight.js +19 -0
  96. package/dist/esm/tokens/atlassian-typography/line-height.js +25 -0
  97. package/dist/esm/tokens/default/elevation/surface.js +2 -2
  98. package/dist/esm/tokens/default/typography/font-family.js +23 -0
  99. package/dist/esm/tokens/default/typography/font-size.js +71 -0
  100. package/dist/esm/tokens/default/typography/font-weight.js +39 -0
  101. package/dist/esm/tokens/default/typography/line-height.js +55 -0
  102. package/dist/esm/version.json +1 -1
  103. package/dist/{types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts → types/artifacts/palettes-raw/font-size-scale.d.ts} +1 -1
  104. package/dist/types/artifacts/palettes-raw/font-weight-scale.d.ts +22 -0
  105. package/dist/types/artifacts/palettes-raw/line-height-scale.d.ts +22 -0
  106. package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-light.d.ts → types/artifacts/rename-mapping/atlassian-typography.d.ts} +1 -1
  107. package/dist/types/artifacts/token-default-values.d.ts +20 -0
  108. package/dist/types/artifacts/token-names.d.ts +22 -1
  109. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +28 -0
  110. package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +2 -2
  111. package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +2 -2
  112. package/dist/types/artifacts/typescript/atlassian-typography-token-default-values.d.ts +32 -0
  113. package/dist/types/artifacts/typescript/atlassian-typography-token-names.d.ts +50 -0
  114. package/dist/types/artifacts/typescript/atlassian-typography-types-internal.d.ts +6 -0
  115. package/dist/types/artifacts/typescript/atlassian-typography-types.d.ts +6 -0
  116. package/dist/types/constants.d.ts +1 -1
  117. package/dist/types/entry-points/init.d.ts +4 -0
  118. package/dist/types/palettes/typography/font-family.d.ts +5 -0
  119. package/dist/types/palettes/typography/font-size-scale.d.ts +5 -0
  120. package/dist/types/palettes/typography/font-weight-scale.d.ts +5 -0
  121. package/dist/types/palettes/typography/index.d.ts +10 -0
  122. package/dist/types/palettes/typography/line-height-scale.d.ts +5 -0
  123. package/dist/types/theme-config.d.ts +5 -3
  124. package/dist/types/tokens/atlassian-typography/font-family.d.ts +4 -0
  125. package/dist/types/tokens/atlassian-typography/font-size.d.ts +4 -0
  126. package/dist/types/tokens/atlassian-typography/font-weight.d.ts +4 -0
  127. package/dist/types/tokens/atlassian-typography/line-height.d.ts +4 -0
  128. package/dist/types/tokens/default/elevation/surface.d.ts +2 -2
  129. package/dist/types/tokens/default/typography/font-family.d.ts +4 -0
  130. package/dist/types/tokens/default/typography/font-size.d.ts +4 -0
  131. package/dist/types/tokens/default/typography/font-weight.d.ts +4 -0
  132. package/dist/types/tokens/default/typography/line-height.d.ts +4 -0
  133. package/dist/types/types.d.ts +62 -1
  134. package/init/package.json +17 -0
  135. package/package.json +6 -5
  136. package/report.api.md +57 -4
  137. package/tmp/api-report-tmp.d.ts +50 -4
  138. package/dist/types-ts4.0/artifacts/palettes-raw/legacy-palette.d.ts +0 -41
  139. package/dist/types-ts4.0/artifacts/palettes-raw/palette.d.ts +0 -41
  140. package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-spacing.d.ts +0 -26
  141. package/dist/types-ts4.0/artifacts/rename-mapping.d.ts +0 -6
  142. package/dist/types-ts4.0/artifacts/token-default-values.d.ts +0 -372
  143. package/dist/types-ts4.0/artifacts/token-names.d.ts +0 -376
  144. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +0 -222
  145. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +0 -222
  146. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +0 -174
  147. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +0 -174
  148. package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +0 -82
  149. package/dist/types-ts4.0/artifacts/types-internal.d.ts +0 -2
  150. package/dist/types-ts4.0/artifacts/types.d.ts +0 -2
  151. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +0 -596
  152. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +0 -6
  153. package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +0 -6
  154. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +0 -596
  155. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +0 -6
  156. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +0 -6
  157. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +0 -596
  158. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +0 -6
  159. package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +0 -6
  160. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -305
  161. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +0 -596
  162. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +0 -6
  163. package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +0 -6
  164. package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +0 -88
  165. package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-names.d.ts +0 -162
  166. package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types-internal.d.ts +0 -6
  167. package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types.d.ts +0 -6
  168. package/dist/types-ts4.0/babel-plugin/index.d.ts +0 -1
  169. package/dist/types-ts4.0/babel-plugin/plugin.d.ts +0 -14
  170. package/dist/types-ts4.0/constants.d.ts +0 -6
  171. package/dist/types-ts4.0/entry-points/babel-plugin.d.ts +0 -1
  172. package/dist/types-ts4.0/entry-points/palettes-raw.d.ts +0 -1
  173. package/dist/types-ts4.0/entry-points/rename-mapping.d.ts +0 -1
  174. package/dist/types-ts4.0/entry-points/spacing-raw.d.ts +0 -1
  175. package/dist/types-ts4.0/entry-points/token-ids.d.ts +0 -1
  176. package/dist/types-ts4.0/entry-points/token-names.d.ts +0 -2
  177. package/dist/types-ts4.0/entry-points/tokens-raw.d.ts +0 -2
  178. package/dist/types-ts4.0/figma/synchronize-figma-tokens.d.ts +0 -24
  179. package/dist/types-ts4.0/figma/types.d.ts +0 -40
  180. package/dist/types-ts4.0/get-token.d.ts +0 -25
  181. package/dist/types-ts4.0/index.d.ts +0 -6
  182. package/dist/types-ts4.0/palettes/legacy-palette.d.ts +0 -10
  183. package/dist/types-ts4.0/palettes/palette.d.ts +0 -5
  184. package/dist/types-ts4.0/palettes/spacing-scale.d.ts +0 -5
  185. package/dist/types-ts4.0/set-global-theme.d.ts +0 -15
  186. package/dist/types-ts4.0/theme-change-observer.d.ts +0 -36
  187. package/dist/types-ts4.0/theme-config.d.ts +0 -53
  188. package/dist/types-ts4.0/tokens/atlassian-dark/color/accent.d.ts +0 -4
  189. package/dist/types-ts4.0/tokens/atlassian-dark/color/background.d.ts +0 -4
  190. package/dist/types-ts4.0/tokens/atlassian-dark/color/border.d.ts +0 -4
  191. package/dist/types-ts4.0/tokens/atlassian-dark/color/icon.d.ts +0 -4
  192. package/dist/types-ts4.0/tokens/atlassian-dark/color/interaction.d.ts +0 -4
  193. package/dist/types-ts4.0/tokens/atlassian-dark/color/skeleton.d.ts +0 -4
  194. package/dist/types-ts4.0/tokens/atlassian-dark/color/text.d.ts +0 -4
  195. package/dist/types-ts4.0/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
  196. package/dist/types-ts4.0/tokens/atlassian-dark/elevation/shadow.d.ts +0 -4
  197. package/dist/types-ts4.0/tokens/atlassian-dark/elevation/surface.d.ts +0 -4
  198. package/dist/types-ts4.0/tokens/atlassian-dark/opacity/opacity.d.ts +0 -3
  199. package/dist/types-ts4.0/tokens/atlassian-dark/utility/utility.d.ts +0 -5
  200. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/accent.d.ts +0 -4
  201. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/background.d.ts +0 -4
  202. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/border.d.ts +0 -4
  203. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/icon.d.ts +0 -4
  204. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/interaction.d.ts +0 -4
  205. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/skeleton.d.ts +0 -4
  206. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/text.d.ts +0 -4
  207. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
  208. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +0 -4
  209. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/surface.d.ts +0 -4
  210. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/opacity/opacity.d.ts +0 -3
  211. package/dist/types-ts4.0/tokens/atlassian-legacy-dark/utility/utility.d.ts +0 -5
  212. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/accent.d.ts +0 -4
  213. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/background.d.ts +0 -4
  214. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/border.d.ts +0 -4
  215. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/icon.d.ts +0 -4
  216. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/interaction.d.ts +0 -4
  217. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/skeleton.d.ts +0 -4
  218. package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/text.d.ts +0 -4
  219. package/dist/types-ts4.0/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
  220. package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/shadow.d.ts +0 -4
  221. package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/surface.d.ts +0 -4
  222. package/dist/types-ts4.0/tokens/atlassian-legacy-light/opacity/opacity.d.ts +0 -3
  223. package/dist/types-ts4.0/tokens/atlassian-legacy-light/utility/utility.d.ts +0 -5
  224. package/dist/types-ts4.0/tokens/atlassian-light/color/accent.d.ts +0 -4
  225. package/dist/types-ts4.0/tokens/atlassian-light/color/background.d.ts +0 -4
  226. package/dist/types-ts4.0/tokens/atlassian-light/color/border.d.ts +0 -4
  227. package/dist/types-ts4.0/tokens/atlassian-light/color/icon.d.ts +0 -4
  228. package/dist/types-ts4.0/tokens/atlassian-light/color/interaction.d.ts +0 -4
  229. package/dist/types-ts4.0/tokens/atlassian-light/color/skeleton.d.ts +0 -4
  230. package/dist/types-ts4.0/tokens/atlassian-light/color/text.d.ts +0 -4
  231. package/dist/types-ts4.0/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
  232. package/dist/types-ts4.0/tokens/atlassian-light/elevation/shadow.d.ts +0 -4
  233. package/dist/types-ts4.0/tokens/atlassian-light/elevation/surface.d.ts +0 -4
  234. package/dist/types-ts4.0/tokens/atlassian-light/opacity/opacity.d.ts +0 -3
  235. package/dist/types-ts4.0/tokens/atlassian-light/utility/utility.d.ts +0 -5
  236. package/dist/types-ts4.0/tokens/atlassian-spacing/spacing.d.ts +0 -4
  237. package/dist/types-ts4.0/tokens/default/color/accent.d.ts +0 -4
  238. package/dist/types-ts4.0/tokens/default/color/background.d.ts +0 -4
  239. package/dist/types-ts4.0/tokens/default/color/border.d.ts +0 -4
  240. package/dist/types-ts4.0/tokens/default/color/icon.d.ts +0 -4
  241. package/dist/types-ts4.0/tokens/default/color/interaction.d.ts +0 -4
  242. package/dist/types-ts4.0/tokens/default/color/skeleton.d.ts +0 -4
  243. package/dist/types-ts4.0/tokens/default/color/text.d.ts +0 -4
  244. package/dist/types-ts4.0/tokens/default/deprecated/deprecated.d.ts +0 -4
  245. package/dist/types-ts4.0/tokens/default/elevation/shadow.d.ts +0 -4
  246. package/dist/types-ts4.0/tokens/default/elevation/surface.d.ts +0 -4
  247. package/dist/types-ts4.0/tokens/default/opacity/opacity.d.ts +0 -3
  248. package/dist/types-ts4.0/tokens/default/spacing/spacing.d.ts +0 -4
  249. package/dist/types-ts4.0/tokens/default/utility/utility.d.ts +0 -5
  250. package/dist/types-ts4.0/types.d.ts +0 -798
  251. package/dist/types-ts4.0/utils/color-detection.d.ts +0 -38
  252. package/dist/types-ts4.0/utils/token-ids.d.ts +0 -41
@@ -0,0 +1,67 @@
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;
@@ -0,0 +1,97 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::918426e4e1a8d46689a9af31434ac590>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ var tokens = [{
7
+ "value": "16px",
8
+ "attributes": {
9
+ "group": "scale"
10
+ },
11
+ "filePath": "src/palettes/line-height-scale.tsx",
12
+ "isSource": true,
13
+ "original": {
14
+ "value": "16px",
15
+ "attributes": {
16
+ "group": "scale"
17
+ }
18
+ },
19
+ "name": "lineHeight.scale.LineHeight100",
20
+ "path": ["lineHeight", "scale", "LineHeight100"]
21
+ }, {
22
+ "value": "20px",
23
+ "attributes": {
24
+ "group": "scale"
25
+ },
26
+ "filePath": "src/palettes/line-height-scale.tsx",
27
+ "isSource": true,
28
+ "original": {
29
+ "value": "20px",
30
+ "attributes": {
31
+ "group": "scale"
32
+ }
33
+ },
34
+ "name": "lineHeight.scale.LineHeight200",
35
+ "path": ["lineHeight", "scale", "LineHeight200"]
36
+ }, {
37
+ "value": "24px",
38
+ "attributes": {
39
+ "group": "scale"
40
+ },
41
+ "filePath": "src/palettes/line-height-scale.tsx",
42
+ "isSource": true,
43
+ "original": {
44
+ "value": "24px",
45
+ "attributes": {
46
+ "group": "scale"
47
+ }
48
+ },
49
+ "name": "lineHeight.scale.LineHeight300",
50
+ "path": ["lineHeight", "scale", "LineHeight300"]
51
+ }, {
52
+ "value": "28px",
53
+ "attributes": {
54
+ "group": "scale"
55
+ },
56
+ "filePath": "src/palettes/line-height-scale.tsx",
57
+ "isSource": true,
58
+ "original": {
59
+ "value": "28px",
60
+ "attributes": {
61
+ "group": "scale"
62
+ }
63
+ },
64
+ "name": "lineHeight.scale.LineHeight400",
65
+ "path": ["lineHeight", "scale", "LineHeight400"]
66
+ }, {
67
+ "value": "32px",
68
+ "attributes": {
69
+ "group": "scale"
70
+ },
71
+ "filePath": "src/palettes/line-height-scale.tsx",
72
+ "isSource": true,
73
+ "original": {
74
+ "value": "32px",
75
+ "attributes": {
76
+ "group": "scale"
77
+ }
78
+ },
79
+ "name": "lineHeight.scale.LineHeight500",
80
+ "path": ["lineHeight", "scale", "LineHeight500"]
81
+ }, {
82
+ "value": "40px",
83
+ "attributes": {
84
+ "group": "scale"
85
+ },
86
+ "filePath": "src/palettes/line-height-scale.tsx",
87
+ "isSource": true,
88
+ "original": {
89
+ "value": "40px",
90
+ "attributes": {
91
+ "group": "scale"
92
+ }
93
+ },
94
+ "name": "lineHeight.scale.LineHeight600",
95
+ "path": ["lineHeight", "scale", "LineHeight600"]
96
+ }];
97
+ export default tokens;
@@ -12,15 +12,8 @@
12
12
  * These changes will then be picked up by our tooling which will attempt to
13
13
  * migrate as many of these renames as possible.
14
14
  *
15
- * @codegen <<SignedSource::aed72cfe800fa74c79b858837a73edbf>>
15
+ * @codegen <<SignedSource::83ffd10a8ba807f2e4f905994e628e9c>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
- import tokens from '../token-names';
19
- declare type Token = keyof typeof tokens | string;
20
- declare type RenameMap = {
21
- path: string;
22
- state: 'experimental' | 'deprecated' | 'deleted';
23
- replacement: Token;
24
- };
25
- declare const renameMapper: RenameMap[];
26
- export default renameMapper;
18
+ var renameMapper = [];
19
+ export default renameMapper;
@@ -4,5 +4,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
4
4
  // We're only importing AtlassianLight as both Light and Dark share the same schema
5
5
  import { default as atlassianLightRenameMapper } from './rename-mapping/atlassian-light';
6
6
  import { default as atlassianSpacingRenameMapper } from './rename-mapping/atlassian-spacing';
7
- var renameMapper = [].concat(_toConsumableArray(atlassianLightRenameMapper), _toConsumableArray(atlassianSpacingRenameMapper));
7
+ import { default as atlassianTypographyRenameMapper } from './rename-mapping/atlassian-typography';
8
+ var renameMapper = [].concat(_toConsumableArray(atlassianLightRenameMapper), _toConsumableArray(atlassianSpacingRenameMapper), _toConsumableArray(atlassianTypographyRenameMapper));
8
9
  export default renameMapper;
@@ -8,7 +8,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
8
8
  // We're only importing AtlassianLight as light is the default theme
9
9
  import { default as atlassianLightDefaultTokenValues } from './typescript/atlassian-light-token-default-values';
10
10
  import { default as atlassianSpacingDefaultTokenValues } from './typescript/atlassian-spacing-token-default-values';
11
+ import { default as atlassianTypographyDefaultTokenValues } from './typescript/atlassian-typography-token-default-values';
11
12
 
12
- var defaultTokens = _objectSpread(_objectSpread({}, atlassianLightDefaultTokenValues), atlassianSpacingDefaultTokenValues);
13
+ var defaultTokens = _objectSpread(_objectSpread(_objectSpread({}, atlassianLightDefaultTokenValues), atlassianSpacingDefaultTokenValues), atlassianTypographyDefaultTokenValues);
13
14
 
14
15
  export default defaultTokens;
@@ -8,7 +8,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
8
8
  // We're only importing AtlassianLight as both Light and Dark share the same schema
9
9
  import { default as atlassianLightTokenNames } from './typescript/atlassian-light-token-names';
10
10
  import { default as atlassianSpacingTokenNames } from './typescript/atlassian-spacing-token-names';
11
+ import { default as atlassianTypographyTokenNames } from './typescript/atlassian-typography-token-names';
11
12
 
12
- var tokens = _objectSpread(_objectSpread({}, atlassianLightTokenNames), atlassianSpacingTokenNames);
13
+ var tokens = _objectSpread(_objectSpread(_objectSpread({}, atlassianLightTokenNames), atlassianSpacingTokenNames), atlassianTypographyTokenNames);
13
14
 
14
15
  export default tokens;
@@ -0,0 +1,427 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::7237ae542acbfbf81d98127d8003c2dd>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ var tokens = [{
7
+ "attributes": {
8
+ "group": "fontFamily",
9
+ "state": "active",
10
+ "introduced": "0.10.33",
11
+ "description": "Helpful guidance goes here"
12
+ },
13
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
14
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
15
+ "isSource": true,
16
+ "original": {
17
+ "attributes": {
18
+ "group": "fontFamily",
19
+ "state": "active",
20
+ "introduced": "0.10.33",
21
+ "description": "Helpful guidance goes here"
22
+ },
23
+ "value": "FontFamilySans"
24
+ },
25
+ "name": "font.family.sans",
26
+ "path": ["font", "family", "sans"]
27
+ }, {
28
+ "attributes": {
29
+ "group": "fontFamily",
30
+ "state": "active",
31
+ "introduced": "0.10.33",
32
+ "description": "Helpful guidance goes here"
33
+ },
34
+ "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
35
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
36
+ "isSource": true,
37
+ "original": {
38
+ "attributes": {
39
+ "group": "fontFamily",
40
+ "state": "active",
41
+ "introduced": "0.10.33",
42
+ "description": "Helpful guidance goes here"
43
+ },
44
+ "value": "FontFamilyMonospace"
45
+ },
46
+ "name": "font.family.monospace",
47
+ "path": ["font", "family", "monospace"]
48
+ }, {
49
+ "attributes": {
50
+ "group": "fontSize",
51
+ "state": "active",
52
+ "introduced": "0.10.33",
53
+ "description": "Helpful guidance goes here"
54
+ },
55
+ "value": "14px",
56
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
57
+ "isSource": true,
58
+ "original": {
59
+ "attributes": {
60
+ "group": "fontSize",
61
+ "state": "active",
62
+ "introduced": "0.10.33",
63
+ "description": "Helpful guidance goes here"
64
+ },
65
+ "value": "FontSize100"
66
+ },
67
+ "name": "font.size.100",
68
+ "path": ["font", "size", "100"]
69
+ }, {
70
+ "attributes": {
71
+ "group": "fontSize",
72
+ "state": "active",
73
+ "introduced": "0.10.33",
74
+ "description": "Helpful guidance goes here"
75
+ },
76
+ "value": "16px",
77
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
78
+ "isSource": true,
79
+ "original": {
80
+ "attributes": {
81
+ "group": "fontSize",
82
+ "state": "active",
83
+ "introduced": "0.10.33",
84
+ "description": "Helpful guidance goes here"
85
+ },
86
+ "value": "FontSize200"
87
+ },
88
+ "name": "font.size.200",
89
+ "path": ["font", "size", "200"]
90
+ }, {
91
+ "attributes": {
92
+ "group": "fontSize",
93
+ "state": "active",
94
+ "introduced": "0.10.33",
95
+ "description": "Helpful guidance goes here"
96
+ },
97
+ "value": "20px",
98
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
99
+ "isSource": true,
100
+ "original": {
101
+ "attributes": {
102
+ "group": "fontSize",
103
+ "state": "active",
104
+ "introduced": "0.10.33",
105
+ "description": "Helpful guidance goes here"
106
+ },
107
+ "value": "FontSize300"
108
+ },
109
+ "name": "font.size.300",
110
+ "path": ["font", "size", "300"]
111
+ }, {
112
+ "attributes": {
113
+ "group": "fontSize",
114
+ "state": "active",
115
+ "introduced": "0.10.33",
116
+ "description": "Helpful guidance goes here"
117
+ },
118
+ "value": "24px",
119
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
120
+ "isSource": true,
121
+ "original": {
122
+ "attributes": {
123
+ "group": "fontSize",
124
+ "state": "active",
125
+ "introduced": "0.10.33",
126
+ "description": "Helpful guidance goes here"
127
+ },
128
+ "value": "FontSize400"
129
+ },
130
+ "name": "font.size.400",
131
+ "path": ["font", "size", "400"]
132
+ }, {
133
+ "attributes": {
134
+ "group": "fontSize",
135
+ "state": "active",
136
+ "introduced": "0.10.33",
137
+ "description": "Helpful guidance goes here"
138
+ },
139
+ "value": "29px",
140
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
141
+ "isSource": true,
142
+ "original": {
143
+ "attributes": {
144
+ "group": "fontSize",
145
+ "state": "active",
146
+ "introduced": "0.10.33",
147
+ "description": "Helpful guidance goes here"
148
+ },
149
+ "value": "FontSize500"
150
+ },
151
+ "name": "font.size.500",
152
+ "path": ["font", "size", "500"]
153
+ }, {
154
+ "attributes": {
155
+ "group": "fontSize",
156
+ "state": "active",
157
+ "introduced": "0.10.33",
158
+ "description": "Helpful guidance goes here"
159
+ },
160
+ "value": "35px",
161
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
162
+ "isSource": true,
163
+ "original": {
164
+ "attributes": {
165
+ "group": "fontSize",
166
+ "state": "active",
167
+ "introduced": "0.10.33",
168
+ "description": "Helpful guidance goes here"
169
+ },
170
+ "value": "FontSize600"
171
+ },
172
+ "name": "font.size.600",
173
+ "path": ["font", "size", "600"]
174
+ }, {
175
+ "attributes": {
176
+ "group": "fontSize",
177
+ "state": "active",
178
+ "introduced": "0.10.33",
179
+ "description": "Helpful guidance goes here"
180
+ },
181
+ "value": "11px",
182
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
183
+ "isSource": true,
184
+ "original": {
185
+ "attributes": {
186
+ "group": "fontSize",
187
+ "state": "active",
188
+ "introduced": "0.10.33",
189
+ "description": "Helpful guidance goes here"
190
+ },
191
+ "value": "FontSize050"
192
+ },
193
+ "name": "font.size.050",
194
+ "path": ["font", "size", "050"]
195
+ }, {
196
+ "attributes": {
197
+ "group": "fontSize",
198
+ "state": "active",
199
+ "introduced": "0.10.33",
200
+ "description": "Helpful guidance goes here"
201
+ },
202
+ "value": "12px",
203
+ "filePath": "src/tokens/atlassian-typography/font-size.tsx",
204
+ "isSource": true,
205
+ "original": {
206
+ "attributes": {
207
+ "group": "fontSize",
208
+ "state": "active",
209
+ "introduced": "0.10.33",
210
+ "description": "Helpful guidance goes here"
211
+ },
212
+ "value": "FontSize075"
213
+ },
214
+ "name": "font.size.075",
215
+ "path": ["font", "size", "075"]
216
+ }, {
217
+ "attributes": {
218
+ "group": "fontWeight",
219
+ "state": "active",
220
+ "introduced": "0.10.33",
221
+ "description": "Helpful guidance goes here"
222
+ },
223
+ "value": "400",
224
+ "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
225
+ "isSource": true,
226
+ "original": {
227
+ "attributes": {
228
+ "group": "fontWeight",
229
+ "state": "active",
230
+ "introduced": "0.10.33",
231
+ "description": "Helpful guidance goes here"
232
+ },
233
+ "value": "FontWeightRegular"
234
+ },
235
+ "name": "font.weight.regular",
236
+ "path": ["font", "weight", "regular"]
237
+ }, {
238
+ "attributes": {
239
+ "group": "fontWeight",
240
+ "state": "active",
241
+ "introduced": "0.10.33",
242
+ "description": "Helpful guidance goes here"
243
+ },
244
+ "value": "500",
245
+ "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
246
+ "isSource": true,
247
+ "original": {
248
+ "attributes": {
249
+ "group": "fontWeight",
250
+ "state": "active",
251
+ "introduced": "0.10.33",
252
+ "description": "Helpful guidance goes here"
253
+ },
254
+ "value": "FontWeightMedium"
255
+ },
256
+ "name": "font.weight.medium",
257
+ "path": ["font", "weight", "medium"]
258
+ }, {
259
+ "attributes": {
260
+ "group": "fontWeight",
261
+ "state": "active",
262
+ "introduced": "0.10.33",
263
+ "description": "Helpful guidance goes here"
264
+ },
265
+ "value": "600",
266
+ "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
267
+ "isSource": true,
268
+ "original": {
269
+ "attributes": {
270
+ "group": "fontWeight",
271
+ "state": "active",
272
+ "introduced": "0.10.33",
273
+ "description": "Helpful guidance goes here"
274
+ },
275
+ "value": "FontWeightSemiBold"
276
+ },
277
+ "name": "font.weight.semibold",
278
+ "path": ["font", "weight", "semibold"]
279
+ }, {
280
+ "attributes": {
281
+ "group": "fontWeight",
282
+ "state": "active",
283
+ "introduced": "0.10.33",
284
+ "description": "Helpful guidance goes here"
285
+ },
286
+ "value": "700",
287
+ "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
288
+ "isSource": true,
289
+ "original": {
290
+ "attributes": {
291
+ "group": "fontWeight",
292
+ "state": "active",
293
+ "introduced": "0.10.33",
294
+ "description": "Helpful guidance goes here"
295
+ },
296
+ "value": "FontWeightBold"
297
+ },
298
+ "name": "font.weight.bold",
299
+ "path": ["font", "weight", "bold"]
300
+ }, {
301
+ "attributes": {
302
+ "group": "lineHeight",
303
+ "state": "active",
304
+ "introduced": "0.10.33",
305
+ "description": "Helpful guidance goes here"
306
+ },
307
+ "value": "16px",
308
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
309
+ "isSource": true,
310
+ "original": {
311
+ "attributes": {
312
+ "group": "lineHeight",
313
+ "state": "active",
314
+ "introduced": "0.10.33",
315
+ "description": "Helpful guidance goes here"
316
+ },
317
+ "value": "LineHeight100"
318
+ },
319
+ "name": "font.lineHeight.100",
320
+ "path": ["font", "lineHeight", "100"]
321
+ }, {
322
+ "attributes": {
323
+ "group": "lineHeight",
324
+ "state": "active",
325
+ "introduced": "0.10.33",
326
+ "description": "Helpful guidance goes here"
327
+ },
328
+ "value": "20px",
329
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
330
+ "isSource": true,
331
+ "original": {
332
+ "attributes": {
333
+ "group": "lineHeight",
334
+ "state": "active",
335
+ "introduced": "0.10.33",
336
+ "description": "Helpful guidance goes here"
337
+ },
338
+ "value": "LineHeight200"
339
+ },
340
+ "name": "font.lineHeight.200",
341
+ "path": ["font", "lineHeight", "200"]
342
+ }, {
343
+ "attributes": {
344
+ "group": "lineHeight",
345
+ "state": "active",
346
+ "introduced": "0.10.33",
347
+ "description": "Helpful guidance goes here"
348
+ },
349
+ "value": "24px",
350
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
351
+ "isSource": true,
352
+ "original": {
353
+ "attributes": {
354
+ "group": "lineHeight",
355
+ "state": "active",
356
+ "introduced": "0.10.33",
357
+ "description": "Helpful guidance goes here"
358
+ },
359
+ "value": "LineHeight300"
360
+ },
361
+ "name": "font.lineHeight.300",
362
+ "path": ["font", "lineHeight", "300"]
363
+ }, {
364
+ "attributes": {
365
+ "group": "lineHeight",
366
+ "state": "active",
367
+ "introduced": "0.10.33",
368
+ "description": "Helpful guidance goes here"
369
+ },
370
+ "value": "28px",
371
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
372
+ "isSource": true,
373
+ "original": {
374
+ "attributes": {
375
+ "group": "lineHeight",
376
+ "state": "active",
377
+ "introduced": "0.10.33",
378
+ "description": "Helpful guidance goes here"
379
+ },
380
+ "value": "LineHeight400"
381
+ },
382
+ "name": "font.lineHeight.400",
383
+ "path": ["font", "lineHeight", "400"]
384
+ }, {
385
+ "attributes": {
386
+ "group": "lineHeight",
387
+ "state": "active",
388
+ "introduced": "0.10.33",
389
+ "description": "Helpful guidance goes here"
390
+ },
391
+ "value": "32px",
392
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
393
+ "isSource": true,
394
+ "original": {
395
+ "attributes": {
396
+ "group": "lineHeight",
397
+ "state": "active",
398
+ "introduced": "0.10.33",
399
+ "description": "Helpful guidance goes here"
400
+ },
401
+ "value": "LineHeight500"
402
+ },
403
+ "name": "font.lineHeight.500",
404
+ "path": ["font", "lineHeight", "500"]
405
+ }, {
406
+ "attributes": {
407
+ "group": "lineHeight",
408
+ "state": "active",
409
+ "introduced": "0.10.33",
410
+ "description": "Helpful guidance goes here"
411
+ },
412
+ "value": "40px",
413
+ "filePath": "src/tokens/atlassian-typography/line-height.tsx",
414
+ "isSource": true,
415
+ "original": {
416
+ "attributes": {
417
+ "group": "lineHeight",
418
+ "state": "active",
419
+ "introduced": "0.10.33",
420
+ "description": "Helpful guidance goes here"
421
+ },
422
+ "value": "LineHeight600"
423
+ },
424
+ "name": "font.lineHeight.600",
425
+ "path": ["font", "lineHeight", "600"]
426
+ }];
427
+ export default tokens;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
3
  *
4
- * Token names mapped to their value in the default Atlassian themes ('light spacing').
4
+ * Token names mapped to their value in the default Atlassian themes ('light').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::ef6186f17dafc7e13af4096ad3cf41bb>>
7
+ * @codegen <<SignedSource::59114010c9c11270dd28c9a285bed33a>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  var defaultTokenValues = {
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
3
  *
4
- * Token names mapped to their value in the default Atlassian themes ('light spacing').
4
+ * Token names mapped to their value in the default Atlassian themes ('light').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::070fc18ba91d3a0673dcabb4f936f8d9>>
7
+ * @codegen <<SignedSource::6774c0c721b46e66ada20e02efc078c0>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  var defaultTokenValues = {