@atlaskit/tokens 6.3.2 → 6.3.3

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 (130) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +1 -1
  3. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +2 -1
  4. package/dist/cjs/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  5. package/dist/cjs/artifacts/palettes-raw/palette.js +2 -1
  6. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +2 -1
  7. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +2 -1
  8. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +2 -1
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2 -1
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2 -1
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  20. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  21. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +2 -1
  22. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  23. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +2 -1
  24. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  25. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  26. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +2 -1
  27. package/dist/cjs/babel-plugin/plugin.js +4 -1
  28. package/dist/es2019/artifacts/generated-pairs.js +1 -1
  29. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
  30. package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  31. package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
  32. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
  33. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
  34. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
  35. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  36. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +2 -1
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +2 -1
  53. package/dist/es2019/babel-plugin/plugin.js +4 -1
  54. package/dist/esm/artifacts/generated-pairs.js +1 -1
  55. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
  56. package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  57. package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
  58. package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
  59. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
  60. package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
  61. package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  62. package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  63. package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  64. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
  65. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  66. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  67. package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  68. package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  69. package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  70. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
  71. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  72. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  73. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
  74. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  75. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +2 -1
  76. package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +2 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +2 -1
  78. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +2 -1
  79. package/dist/esm/babel-plugin/plugin.js +4 -1
  80. package/dist/types/artifacts/generated-pairs.d.ts +4 -9
  81. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  82. package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  83. package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
  84. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  85. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  86. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  87. package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  88. package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  89. package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  90. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  91. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  92. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  93. package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  94. package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  95. package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  96. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  97. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  98. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  99. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  100. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  101. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  102. package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  103. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  104. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  105. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
  106. package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  107. package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  108. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
  109. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  110. package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  111. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  112. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  113. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  114. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  115. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  116. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  117. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  118. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  119. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  124. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  125. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  126. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  127. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  128. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  129. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  130. package/package.json +4 -4
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::5fb765784561d214bcc78d25188fa47e>>
3
+ * @codegen <<SignedSource::012be6ddb918f408e4258335916d9334>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "#FFEBE6",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::a06fa043504c1e55d9871df9eab477b6>>
3
+ * @codegen <<SignedSource::54883f28091f3d25251716094b262928>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "#EFFFD6",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::ef2302d3e60545ba54818efd29a896a6>>
3
+ * @codegen <<SignedSource::48b1ab9881aaa7ef53aff6c97ebfc413>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "#EFFFD6",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::56944727b3c1e10bac5077e2c3edc9bf>>
3
+ * @codegen <<SignedSource::72feb1804c9c8d27535c172745ee1b9b>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "2px",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::773f331b816c6bade1dffda09ee7f5ff>>
3
+ * @codegen <<SignedSource::11e5a7b123691c94315b7df9e7aa8f9f>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "0px",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c4ada678a4605209a273f3250ad0a333>>
3
+ * @codegen <<SignedSource::0736e3ca289c67f160a69299616f69c9>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "Roboto Mono",
8
9
  "attributes": {
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::62f6caabd88b17fe7f89c141fee3f0e2>>
3
+ * @codegen <<SignedSource::147a2afa95c37bc2a3b0a0e34c7a9710>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::ab55c164418ef8725d43715108841276>>
3
+ * @codegen <<SignedSource::98ec2ef3c3602f1046b2ecf3775d0f05>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::733444f60885d3da7ce8a7af7e46129a>>
3
+ * @codegen <<SignedSource::b10cb2c641a28d967973840725505a5d>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "#DEE4EA",
8
9
  "filePath": "schema/themes/atlassian-dark-increased-contrast/color/text.tsx",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::06ca0ed72399c6d73167eeb8e786d25b>>
3
+ * @codegen <<SignedSource::e5a01f19d58623f99b97e4dd2aef4926>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::fbf8e2b60aebce76cca97bc8f0838200>>
3
+ * @codegen <<SignedSource::9acedb862e373430c3930988761cbe44>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::af708029445848a184edeabecd92221f>>
3
+ * @codegen <<SignedSource::4670b0f10caa1698222cecfe37d7912d>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::a91c462d2f619efeed138e43013a806f>>
3
+ * @codegen <<SignedSource::1e215ad0e04dce07835882e324bc937e>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::940fbbe091341b7f246528cfc921961d>>
3
+ * @codegen <<SignedSource::8511311bb358d4d21a3ac431d0be8a44>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::0f7faf50570284c11dff5f282b4fa4fe>>
3
+ * @codegen <<SignedSource::7d6d41baa7103c9ee49c1e976d66bf14>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "value": "#091E42",
8
9
  "filePath": "schema/themes/atlassian-light-increased-contrast/color/text.tsx",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::621312f3cbdb221281b52b23cf9e6c58>>
3
+ * @codegen <<SignedSource::0ddb883a95cb1a36c2ce1db708181be1>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "paint",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9f7396048d77a42862f986e9f2aa144e>>
3
+ * @codegen <<SignedSource::ae0db95e6643057107d0c09628e379a7>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "shape",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::05611dfd0ca8208c27a67efbdb8a44f0>>
3
+ * @codegen <<SignedSource::62159541fb88b669eb2ad0f06e7e0daf>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "shape",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::cb61446316a92e7f26958e3ca733fd1e>>
3
+ * @codegen <<SignedSource::f3ee3158256a13e7401785620da6d439>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "shape",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::b5cb4872c7a2014d836a8fa15e4c0102>>
3
+ * @codegen <<SignedSource::c5e6cf9e70d065b7daac533ac0569acf>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "spacing",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::329c848af71c3d96d855087c3791e2ef>>
3
+ * @codegen <<SignedSource::80e21582acfe238b3aab5d8c8d1ec831>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "raw",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c0d5e0833c4c903bceceac9b9739bbdf>>
3
+ * @codegen <<SignedSource::d9a4e2432a4ea835e7ceac5c19e379b5>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "raw",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3e0deeb09853e95221bd7bba0b9638ef>>
3
+ * @codegen <<SignedSource::03640b642efa498f3c90b99101405f9e>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "raw",
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::6daadbbdeae45dc5d3ae1237dc483b07>>
3
+ * @codegen <<SignedSource::2d82706aaef27f4b665743cafd879972>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
+
6
7
  var tokens = [{
7
8
  "attributes": {
8
9
  "group": "typography",
@@ -40,7 +40,7 @@ var getThemeValues = function getThemeValues(theme) {
40
40
  value = rawToken.value;
41
41
  } else if (typeof rawToken.value === 'number') {
42
42
  value = rawToken.value.toString();
43
- } else {
43
+ } else if (Array.isArray(rawToken.value)) {
44
44
  // If it's a box shadow, it'll be an array of values that needs to be
45
45
  // formatted to look like '0px 0px 8px #091e4229, 0px 0px 1px #091e421F'
46
46
  value = rawToken.value.reduce(function (prev, curr, index) {
@@ -64,6 +64,9 @@ var getThemeValues = function getThemeValues(theme) {
64
64
  }
65
65
  return prev + value;
66
66
  }, '');
67
+ } else {
68
+ // ignore when value is `fontweight` etc. - this is apparently not handled here.
69
+ return formatted;
67
70
  }
68
71
  return _objectSpread(_objectSpread({}, formatted), {}, _defineProperty({}, rawToken.cleanName, value));
69
72
  }, {});
@@ -4,18 +4,13 @@
4
4
  * Auto-generated list of token pairings that may need to have sufficient contrast.
5
5
  * Not currently used by tests, but is used by the custom theme contrast checker example
6
6
  *
7
- * @codegen <<SignedSource::910f70438e695b9115622b2cd52a4aea>>
7
+ * @codegen <<SignedSource::0eb97f6b58ef4db8602f525bf6140cc0>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
- export declare const generatedPairs: ({
10
+ export declare const generatedPairs: {
11
11
  foreground: string;
12
12
  background: string;
13
13
  desiredContrast: number;
14
- layeredTokens: string[];
15
- } | {
16
- foreground: string;
17
- background: string;
18
- desiredContrast: number;
19
- layeredTokens?: undefined;
20
- })[];
14
+ layeredTokens?: string[];
15
+ }[];
21
16
  export default generatedPairs;
@@ -1,41 +1,25 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::5fb765784561d214bcc78d25188fa47e>>
3
+ * @codegen <<SignedSource::012be6ddb918f408e4258335916d9334>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- category: string;
11
- };
12
- filePath: string;
13
- isSource: boolean;
14
- original: {
15
- value: string;
16
- attributes: {
17
- group: string;
18
- category: string;
19
- };
20
- };
21
- name: string;
22
- path: string[];
23
- } | {
24
- value: number;
25
- attributes: {
26
- group: string;
27
- category: string;
28
- };
6
+ type TokenValue = string | number;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ type Token = {
13
+ value: TokenValue;
29
14
  filePath: string;
30
15
  isSource: boolean;
16
+ attributes: TokenAttributes;
31
17
  original: {
32
- value: number;
33
- attributes: {
34
- group: string;
35
- category: string;
36
- };
18
+ value: TokenValueOriginal;
19
+ attributes: TokenAttributes;
37
20
  };
38
21
  name: string;
39
22
  path: string[];
40
- })[];
23
+ };
24
+ declare const tokens: Token[];
41
25
  export default tokens;
@@ -1,41 +1,25 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::a06fa043504c1e55d9871df9eab477b6>>
3
+ * @codegen <<SignedSource::54883f28091f3d25251716094b262928>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- category: string;
11
- };
12
- filePath: string;
13
- isSource: boolean;
14
- original: {
15
- value: string;
16
- attributes: {
17
- group: string;
18
- category: string;
19
- };
20
- };
21
- name: string;
22
- path: string[];
23
- } | {
24
- value: number;
25
- attributes: {
26
- group: string;
27
- category: string;
28
- };
6
+ type TokenValue = string | number;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ type Token = {
13
+ value: TokenValue;
29
14
  filePath: string;
30
15
  isSource: boolean;
16
+ attributes: TokenAttributes;
31
17
  original: {
32
- value: number;
33
- attributes: {
34
- group: string;
35
- category: string;
36
- };
18
+ value: TokenValueOriginal;
19
+ attributes: TokenAttributes;
37
20
  };
38
21
  name: string;
39
22
  path: string[];
40
- })[];
23
+ };
24
+ declare const tokens: Token[];
41
25
  export default tokens;
@@ -1,41 +1,25 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::ef2302d3e60545ba54818efd29a896a6>>
3
+ * @codegen <<SignedSource::48b1ab9881aaa7ef53aff6c97ebfc413>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- category: string;
11
- };
12
- filePath: string;
13
- isSource: boolean;
14
- original: {
15
- value: string;
16
- attributes: {
17
- group: string;
18
- category: string;
19
- };
20
- };
21
- name: string;
22
- path: string[];
23
- } | {
24
- value: number;
25
- attributes: {
26
- group: string;
27
- category: string;
28
- };
6
+ type TokenValue = string | number;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ type Token = {
13
+ value: TokenValue;
29
14
  filePath: string;
30
15
  isSource: boolean;
16
+ attributes: TokenAttributes;
31
17
  original: {
32
- value: number;
33
- attributes: {
34
- group: string;
35
- category: string;
36
- };
18
+ value: TokenValueOriginal;
19
+ attributes: TokenAttributes;
37
20
  };
38
21
  name: string;
39
22
  path: string[];
40
- })[];
23
+ };
24
+ declare const tokens: Token[];
41
25
  export default tokens;
@@ -1,37 +1,24 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::56944727b3c1e10bac5077e2c3edc9bf>>
3
+ * @codegen <<SignedSource::72feb1804c9c8d27535c172745ee1b9b>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- };
11
- filePath: string;
12
- isSource: boolean;
13
- original: {
14
- value: number;
15
- attributes: {
16
- group: string;
17
- };
18
- };
19
- name: string;
20
- path: string[];
21
- } | {
22
- value: string;
23
- attributes: {
24
- group: string;
25
- };
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ };
11
+ type Token = {
12
+ value: TokenValue;
26
13
  filePath: string;
27
14
  isSource: boolean;
15
+ attributes: TokenAttributes;
28
16
  original: {
29
- value: string;
30
- attributes: {
31
- group: string;
32
- };
17
+ value: TokenValueOriginal;
18
+ attributes: TokenAttributes;
33
19
  };
34
20
  name: string;
35
21
  path: string[];
36
- })[];
22
+ };
23
+ declare const tokens: Token[];
37
24
  export default tokens;
@@ -1,22 +1,24 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::773f331b816c6bade1dffda09ee7f5ff>>
3
+ * @codegen <<SignedSource::11e5a7b123691c94315b7df9e7aa8f9f>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: {
7
- value: string;
8
- attributes: {
9
- group: string;
10
- };
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ };
11
+ type Token = {
12
+ value: TokenValue;
11
13
  filePath: string;
12
14
  isSource: boolean;
15
+ attributes: TokenAttributes;
13
16
  original: {
14
- value: number;
15
- attributes: {
16
- group: string;
17
- };
17
+ value: TokenValueOriginal;
18
+ attributes: TokenAttributes;
18
19
  };
19
20
  name: string;
20
21
  path: string[];
21
- }[];
22
+ };
23
+ declare const tokens: Token[];
22
24
  export default tokens;
@@ -1,37 +1,24 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c4ada678a4605209a273f3250ad0a333>>
3
+ * @codegen <<SignedSource::0736e3ca289c67f160a69299616f69c9>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- value: string;
8
- attributes: {
9
- group: string;
10
- };
11
- filePath: string;
12
- isSource: boolean;
13
- original: {
14
- value: string;
15
- attributes: {
16
- group: string;
17
- };
18
- };
19
- name: string;
20
- path: string[];
21
- } | {
22
- value: string;
23
- attributes: {
24
- group: string;
25
- };
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | number;
8
+ type TokenAttributes = {
9
+ group: string;
10
+ };
11
+ type Token = {
12
+ value: TokenValue;
26
13
  filePath: string;
27
14
  isSource: boolean;
15
+ attributes: TokenAttributes;
28
16
  original: {
29
- value: number;
30
- attributes: {
31
- group: string;
32
- };
17
+ value: TokenValueOriginal;
18
+ attributes: TokenAttributes;
33
19
  };
34
20
  name: string;
35
21
  path: string[];
36
- })[];
22
+ };
23
+ declare const tokens: Token[];
37
24
  export default tokens;