@atlaskit/tokens 0.10.35 → 0.11.1

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