@atlaskit/tokens 4.3.0 → 4.3.2

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 (53) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +9 -9
  3. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
  4. package/dist/cjs/artifacts/themes/atlassian-typography-modernized.js +2 -2
  5. package/dist/cjs/artifacts/themes/atlassian-typography-refreshed.js +2 -2
  6. package/dist/cjs/artifacts/token-default-values.js +16 -16
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +16 -16
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +16 -16
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +16 -16
  10. package/dist/cjs/get-token.js +0 -4
  11. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +9 -9
  12. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +16 -16
  13. package/dist/es2019/artifacts/themes/atlassian-typography-modernized.js +16 -16
  14. package/dist/es2019/artifacts/themes/atlassian-typography-refreshed.js +16 -16
  15. package/dist/es2019/artifacts/token-default-values.js +16 -16
  16. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +16 -16
  17. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +16 -16
  18. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +16 -16
  19. package/dist/es2019/get-token.js +0 -4
  20. package/dist/esm/artifacts/palettes-raw/typography-palette.js +9 -9
  21. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
  22. package/dist/esm/artifacts/themes/atlassian-typography-modernized.js +2 -2
  23. package/dist/esm/artifacts/themes/atlassian-typography-refreshed.js +2 -2
  24. package/dist/esm/artifacts/token-default-values.js +16 -16
  25. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +16 -16
  26. package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +16 -16
  27. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +16 -16
  28. package/dist/esm/get-token.js +0 -4
  29. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  30. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
  31. package/dist/types/artifacts/themes/atlassian-typography-modernized.d.ts +2 -2
  32. package/dist/types/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
  33. package/dist/types/artifacts/token-default-values.d.ts +16 -16
  34. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
  35. package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -1
  36. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -1
  37. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  38. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
  39. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-modernized.d.ts +2 -2
  40. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
  41. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +16 -16
  42. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
  43. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -1
  44. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -1
  45. package/figma/atlassian-typography-adg3.json +4 -4
  46. package/figma/atlassian-typography-modernized.json +4 -4
  47. package/figma/atlassian-typography-refreshed.json +4 -4
  48. package/package.json +1 -1
  49. package/dist/cjs/get-token-analytics.js +0 -57
  50. package/dist/es2019/get-token-analytics.js +0 -37
  51. package/dist/esm/get-token-analytics.js +0 -50
  52. package/dist/types/get-token-analytics.d.ts +0 -11
  53. package/dist/types-ts4.5/get-token-analytics.d.ts +0 -11
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::e159597b9fc66518a84a3aeaf2f08709>>
3
+ * @codegen <<SignedSource::c4ada678a4605209a273f3250ad0a333>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::0eab025fe6a1c066de1ae91979f5a92d>>
3
+ * @codegen <<SignedSource::41088bf9a2b7aeeb9fd4a516aa21c2fc>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 500 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 600 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 600 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.6875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 700;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n}\n";
6
+ declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 500 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 600 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 600 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.6875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 700;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n}\n";
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::04ce6f89b744c2a0ec7cf592807e1ba2>>
3
+ * @codegen <<SignedSource::9ffe87251e1406543af3c07d86eddc95>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const _default: "\nhtml[data-theme~=\"typography:typography-modernized\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 653;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n}\n";
6
+ declare const _default: "\nhtml[data-theme~=\"typography:typography-modernized\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 653;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n}\n";
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::bf2bf094d07b0dde7b12bdde7afc0493>>
3
+ * @codegen <<SignedSource::d415000ee5b48aed70b39fae59735d62>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const _default: "\nhtml[data-theme~=\"typography:typography-refreshed\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 653;\n --ds-font-family-heading: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n}\n";
6
+ declare const _default: "\nhtml[data-theme~=\"typography:typography-refreshed\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 653;\n --ds-font-family-heading: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n}\n";
7
7
  export default _default;
@@ -7,7 +7,7 @@
7
7
  * Token names mapped to their value in the default Atlassian themes ('light').
8
8
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
9
9
  *
10
- * @codegen <<SignedSource::d98211ddd81a0f8d0e1a644fd5f4394f>>
10
+ * @codegen <<SignedSource::c560824b3594f6ce51302eb1a984e65d>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  declare const defaultTokenValues: {
@@ -436,26 +436,26 @@ declare const defaultTokenValues: {
436
436
  readonly 'space.negative.250': "-1.25rem";
437
437
  readonly 'space.negative.300': "-1.5rem";
438
438
  readonly 'space.negative.400': "-2rem";
439
- readonly 'font.heading.xxlarge': "normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
440
- readonly 'font.heading.xlarge': "normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
441
- readonly 'font.heading.large': "normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
442
- readonly 'font.heading.medium': "normal 500 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
443
- readonly 'font.heading.small': "normal 600 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
444
- readonly 'font.heading.xsmall': "normal 600 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
445
- readonly 'font.heading.xxsmall': "normal 600 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
446
- readonly 'font.body.large': "normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
447
- readonly 'font.body': "normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
448
- readonly 'font.body.small': "normal 400 0.6875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
449
- readonly 'font.body.UNSAFE_small': "normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
439
+ readonly 'font.heading.xxlarge': "normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
440
+ readonly 'font.heading.xlarge': "normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
441
+ readonly 'font.heading.large': "normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
442
+ readonly 'font.heading.medium': "normal 500 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
443
+ readonly 'font.heading.small': "normal 600 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
444
+ readonly 'font.heading.xsmall': "normal 600 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
445
+ readonly 'font.heading.xxsmall': "normal 600 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
446
+ readonly 'font.body.large': "normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
447
+ readonly 'font.body': "normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
448
+ readonly 'font.body.small': "normal 400 0.6875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
449
+ readonly 'font.body.UNSAFE_small': "normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
450
450
  readonly 'font.code': "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
451
451
  readonly 'font.weight.regular': "400";
452
452
  readonly 'font.weight.medium': "500";
453
453
  readonly 'font.weight.semibold': "600";
454
454
  readonly 'font.weight.bold': "700";
455
- readonly 'font.family.heading': "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
456
- readonly 'font.family.body': "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
455
+ readonly 'font.family.heading': "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
456
+ readonly 'font.family.body': "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
457
457
  readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
458
- readonly 'font.family.brand.heading': "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
459
- readonly 'font.family.brand.body': "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
458
+ readonly 'font.family.brand.heading': "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
459
+ readonly 'font.family.brand.body': "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
460
460
  };
461
461
  export default defaultTokenValues;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::34bac3954d8d0d3c5f8058a68daea7ce>>
3
+ * @codegen <<SignedSource::75fb46363e1185a96e26067458323ced>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::355fb0bf4ef3f45e232f8637a1fa195f>>
3
+ * @codegen <<SignedSource::cb737176fe80fbd00c958468656c8d87>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c9428059ade223cdf3935278e5f9d719>>
3
+ * @codegen <<SignedSource::d1bc93e992ef99e09291faf988340014>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -44,7 +44,7 @@
44
44
  "introduced": "1.14.0",
45
45
  "description": "For our default product UI heading text."
46
46
  },
47
- "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
47
+ "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
49
49
  "Typography adg3/font.family.body": {
50
50
  "attributes": {
@@ -53,7 +53,7 @@
53
53
  "introduced": "1.14.0",
54
54
  "description": "For our default product UI body text."
55
55
  },
56
- "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
56
+ "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
58
58
  "Typography adg3/font.family.code": {
59
59
  "attributes": {
@@ -71,7 +71,7 @@
71
71
  "introduced": "1.14.0",
72
72
  "description": "For our brand heading text. Uses Charlie Display."
73
73
  },
74
- "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
74
+ "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
75
75
  },
76
76
  "Typography adg3/font.family.brand.body": {
77
77
  "attributes": {
@@ -80,7 +80,7 @@
80
80
  "introduced": "1.14.0",
81
81
  "description": "For our brand body text. Uses Charlie Text."
82
82
  },
83
- "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
83
+ "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
84
84
  }
85
85
  },
86
86
  "renameMap": {}
@@ -44,7 +44,7 @@
44
44
  "introduced": "1.14.0",
45
45
  "description": "For our default product UI heading text."
46
46
  },
47
- "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
47
+ "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
49
49
  "Typography modernized/font.family.body": {
50
50
  "attributes": {
@@ -53,7 +53,7 @@
53
53
  "introduced": "1.14.0",
54
54
  "description": "For our default product UI body text."
55
55
  },
56
- "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
56
+ "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
58
58
  "Typography modernized/font.family.code": {
59
59
  "attributes": {
@@ -71,7 +71,7 @@
71
71
  "introduced": "1.14.0",
72
72
  "description": "For our brand heading text. Uses Charlie Display."
73
73
  },
74
- "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
74
+ "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
75
75
  },
76
76
  "Typography modernized/font.family.brand.body": {
77
77
  "attributes": {
@@ -80,7 +80,7 @@
80
80
  "introduced": "1.14.0",
81
81
  "description": "For our brand body text. Uses Charlie Text."
82
82
  },
83
- "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
83
+ "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
84
84
  }
85
85
  },
86
86
  "renameMap": {}
@@ -44,7 +44,7 @@
44
44
  "introduced": "1.14.0",
45
45
  "description": "For our default product UI heading text."
46
46
  },
47
- "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
47
+ "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
49
49
  "Typography refreshed/font.family.body": {
50
50
  "attributes": {
@@ -53,7 +53,7 @@
53
53
  "introduced": "1.14.0",
54
54
  "description": "For our default product UI body text."
55
55
  },
56
- "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
56
+ "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
58
58
  "Typography refreshed/font.family.code": {
59
59
  "attributes": {
@@ -71,7 +71,7 @@
71
71
  "introduced": "1.14.0",
72
72
  "description": "For our brand heading text. Uses Charlie Display."
73
73
  },
74
- "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
74
+ "value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
75
75
  },
76
76
  "Typography refreshed/font.family.brand.body": {
77
77
  "attributes": {
@@ -80,7 +80,7 @@
80
80
  "introduced": "1.14.0",
81
81
  "description": "For our brand body text. Uses Charlie Text."
82
82
  },
83
- "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
83
+ "value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
84
84
  }
85
85
  },
86
86
  "renameMap": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Design tokens are the single source of truth to name and store design decisions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -1,57 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.recordTokenCall = void 0;
8
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
10
- // Extend the Window interface to include optional analyticsWebClient
11
-
12
- /**
13
- * Records a token call event to the analytics service. This is used to track which tokens are being used at runtime as they should be substituted by the values by @atlaskit/tokens/babel-plugin at build time.
14
- * @param token - The token that was called.
15
- * @param fallback - The fallback value that was used.
16
- */
17
- var recordTokenCall = exports.recordTokenCall = /*#__PURE__*/function () {
18
- var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(token, fallback) {
19
- var _window, analyticsClient, isThemeEnabled;
20
- return _regenerator.default.wrap(function _callee$(_context) {
21
- while (1) switch (_context.prev = _context.next) {
22
- case 0:
23
- try {
24
- // TODO: window.analyticsWebClient is a property specific to Jira. It is not available in the other products. We might consider to register a dedicated analytics client for logging token calls for each product to enable cohesive experience across different products.
25
- analyticsClient = (_window = window) === null || _window === void 0 ? void 0 : _window.analyticsWebClient;
26
- if (analyticsClient) {
27
- // Check for a <style> element with a data-theme attribute in the document
28
- isThemeEnabled = !!document.querySelector('style[data-theme]'); // when such property exists, we are using it to send this event https://data-portal.internal.atlassian.com/analytics/registry/75682 which is registered specifically for Jira.
29
- analyticsClient.sendEvent({
30
- type: 'TRACK',
31
- payload: {
32
- action: 'called_at_runtime',
33
- actionSubject: 'token',
34
- source: 'design-system',
35
- attributes: {
36
- url: window.location.href,
37
- token: token,
38
- fallback: fallback,
39
- isThemeEnabled: isThemeEnabled
40
- }
41
- }
42
- });
43
- }
44
- } catch (e) {
45
- // eslint-disable-next-line no-console
46
- console.error(e);
47
- }
48
- case 1:
49
- case "end":
50
- return _context.stop();
51
- }
52
- }, _callee);
53
- }));
54
- return function recordTokenCall(_x, _x2) {
55
- return _ref.apply(this, arguments);
56
- };
57
- }();
@@ -1,37 +0,0 @@
1
- // Extend the Window interface to include optional analyticsWebClient
2
-
3
- /**
4
- * Records a token call event to the analytics service. This is used to track which tokens are being used at runtime as they should be substituted by the values by @atlaskit/tokens/babel-plugin at build time.
5
- * @param token - The token that was called.
6
- * @param fallback - The fallback value that was used.
7
- */
8
- export const recordTokenCall = async (token, fallback) => {
9
- try {
10
- var _window;
11
- // TODO: window.analyticsWebClient is a property specific to Jira. It is not available in the other products. We might consider to register a dedicated analytics client for logging token calls for each product to enable cohesive experience across different products.
12
- const analyticsClient = (_window = window) === null || _window === void 0 ? void 0 : _window.analyticsWebClient;
13
- if (analyticsClient) {
14
- // Check for a <style> element with a data-theme attribute in the document
15
- const isThemeEnabled = !!document.querySelector('style[data-theme]');
16
-
17
- // when such property exists, we are using it to send this event https://data-portal.internal.atlassian.com/analytics/registry/75682 which is registered specifically for Jira.
18
- analyticsClient.sendEvent({
19
- type: 'TRACK',
20
- payload: {
21
- action: 'called_at_runtime',
22
- actionSubject: 'token',
23
- source: 'design-system',
24
- attributes: {
25
- url: window.location.href,
26
- token,
27
- fallback,
28
- isThemeEnabled
29
- }
30
- }
31
- });
32
- }
33
- } catch (e) {
34
- // eslint-disable-next-line no-console
35
- console.error(e);
36
- }
37
- };
@@ -1,50 +0,0 @@
1
- import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
- // Extend the Window interface to include optional analyticsWebClient
4
-
5
- /**
6
- * Records a token call event to the analytics service. This is used to track which tokens are being used at runtime as they should be substituted by the values by @atlaskit/tokens/babel-plugin at build time.
7
- * @param token - The token that was called.
8
- * @param fallback - The fallback value that was used.
9
- */
10
- export var recordTokenCall = /*#__PURE__*/function () {
11
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(token, fallback) {
12
- var _window, analyticsClient, isThemeEnabled;
13
- return _regeneratorRuntime.wrap(function _callee$(_context) {
14
- while (1) switch (_context.prev = _context.next) {
15
- case 0:
16
- try {
17
- // TODO: window.analyticsWebClient is a property specific to Jira. It is not available in the other products. We might consider to register a dedicated analytics client for logging token calls for each product to enable cohesive experience across different products.
18
- analyticsClient = (_window = window) === null || _window === void 0 ? void 0 : _window.analyticsWebClient;
19
- if (analyticsClient) {
20
- // Check for a <style> element with a data-theme attribute in the document
21
- isThemeEnabled = !!document.querySelector('style[data-theme]'); // when such property exists, we are using it to send this event https://data-portal.internal.atlassian.com/analytics/registry/75682 which is registered specifically for Jira.
22
- analyticsClient.sendEvent({
23
- type: 'TRACK',
24
- payload: {
25
- action: 'called_at_runtime',
26
- actionSubject: 'token',
27
- source: 'design-system',
28
- attributes: {
29
- url: window.location.href,
30
- token: token,
31
- fallback: fallback,
32
- isThemeEnabled: isThemeEnabled
33
- }
34
- }
35
- });
36
- }
37
- } catch (e) {
38
- // eslint-disable-next-line no-console
39
- console.error(e);
40
- }
41
- case 1:
42
- case "end":
43
- return _context.stop();
44
- }
45
- }, _callee);
46
- }));
47
- return function recordTokenCall(_x, _x2) {
48
- return _ref.apply(this, arguments);
49
- };
50
- }();
@@ -1,11 +0,0 @@
1
- declare global {
2
- interface Window {
3
- analyticsWebClient?: any;
4
- }
5
- }
6
- /**
7
- * Records a token call event to the analytics service. This is used to track which tokens are being used at runtime as they should be substituted by the values by @atlaskit/tokens/babel-plugin at build time.
8
- * @param token - The token that was called.
9
- * @param fallback - The fallback value that was used.
10
- */
11
- export declare const recordTokenCall: <T extends "color.text" | "color.text.accent.lime" | "color.text.accent.lime.bolder" | "color.text.accent.red" | "color.text.accent.red.bolder" | "color.text.accent.orange" | "color.text.accent.orange.bolder" | "color.text.accent.yellow" | "color.text.accent.yellow.bolder" | "color.text.accent.green" | "color.text.accent.green.bolder" | "color.text.accent.teal" | "color.text.accent.teal.bolder" | "color.text.accent.blue" | "color.text.accent.blue.bolder" | "color.text.accent.purple" | "color.text.accent.purple.bolder" | "color.text.accent.magenta" | "color.text.accent.magenta.bolder" | "color.text.accent.gray" | "color.text.accent.gray.bolder" | "color.text.disabled" | "color.text.inverse" | "color.text.selected" | "color.text.brand" | "color.text.danger" | "color.text.warning" | "color.text.warning.inverse" | "color.text.success" | "color.text.discovery" | "color.text.information" | "color.text.subtlest" | "color.text.subtle" | "color.link" | "color.link.pressed" | "color.link.visited" | "color.link.visited.pressed" | "color.icon" | "color.icon.accent.lime" | "color.icon.accent.red" | "color.icon.accent.orange" | "color.icon.accent.yellow" | "color.icon.accent.green" | "color.icon.accent.teal" | "color.icon.accent.blue" | "color.icon.accent.purple" | "color.icon.accent.magenta" | "color.icon.accent.gray" | "color.icon.disabled" | "color.icon.inverse" | "color.icon.selected" | "color.icon.brand" | "color.icon.danger" | "color.icon.warning" | "color.icon.warning.inverse" | "color.icon.success" | "color.icon.discovery" | "color.icon.information" | "color.icon.subtlest" | "color.icon.subtle" | "color.border" | "color.border.accent.lime" | "color.border.accent.red" | "color.border.accent.orange" | "color.border.accent.yellow" | "color.border.accent.green" | "color.border.accent.teal" | "color.border.accent.blue" | "color.border.accent.purple" | "color.border.accent.magenta" | "color.border.accent.gray" | "color.border.disabled" | "color.border.focused" | "color.border.input" | "color.border.inverse" | "color.border.selected" | "color.border.brand" | "color.border.danger" | "color.border.warning" | "color.border.success" | "color.border.discovery" | "color.border.information" | "color.border.bold" | "color.background.accent.lime.subtlest" | "color.background.accent.lime.subtlest.hovered" | "color.background.accent.lime.subtlest.pressed" | "color.background.accent.lime.subtler" | "color.background.accent.lime.subtler.hovered" | "color.background.accent.lime.subtler.pressed" | "color.background.accent.lime.subtle" | "color.background.accent.lime.subtle.hovered" | "color.background.accent.lime.subtle.pressed" | "color.background.accent.lime.bolder" | "color.background.accent.lime.bolder.hovered" | "color.background.accent.lime.bolder.pressed" | "color.background.accent.red.subtlest" | "color.background.accent.red.subtlest.hovered" | "color.background.accent.red.subtlest.pressed" | "color.background.accent.red.subtler" | "color.background.accent.red.subtler.hovered" | "color.background.accent.red.subtler.pressed" | "color.background.accent.red.subtle" | "color.background.accent.red.subtle.hovered" | "color.background.accent.red.subtle.pressed" | "color.background.accent.red.bolder" | "color.background.accent.red.bolder.hovered" | "color.background.accent.red.bolder.pressed" | "color.background.accent.orange.subtlest" | "color.background.accent.orange.subtlest.hovered" | "color.background.accent.orange.subtlest.pressed" | "color.background.accent.orange.subtler" | "color.background.accent.orange.subtler.hovered" | "color.background.accent.orange.subtler.pressed" | "color.background.accent.orange.subtle" | "color.background.accent.orange.subtle.hovered" | "color.background.accent.orange.subtle.pressed" | "color.background.accent.orange.bolder" | "color.background.accent.orange.bolder.hovered" | "color.background.accent.orange.bolder.pressed" | "color.background.accent.yellow.subtlest" | "color.background.accent.yellow.subtlest.hovered" | "color.background.accent.yellow.subtlest.pressed" | "color.background.accent.yellow.subtler" | "color.background.accent.yellow.subtler.hovered" | "color.background.accent.yellow.subtler.pressed" | "color.background.accent.yellow.subtle" | "color.background.accent.yellow.subtle.hovered" | "color.background.accent.yellow.subtle.pressed" | "color.background.accent.yellow.bolder" | "color.background.accent.yellow.bolder.hovered" | "color.background.accent.yellow.bolder.pressed" | "color.background.accent.green.subtlest" | "color.background.accent.green.subtlest.hovered" | "color.background.accent.green.subtlest.pressed" | "color.background.accent.green.subtler" | "color.background.accent.green.subtler.hovered" | "color.background.accent.green.subtler.pressed" | "color.background.accent.green.subtle" | "color.background.accent.green.subtle.hovered" | "color.background.accent.green.subtle.pressed" | "color.background.accent.green.bolder" | "color.background.accent.green.bolder.hovered" | "color.background.accent.green.bolder.pressed" | "color.background.accent.teal.subtlest" | "color.background.accent.teal.subtlest.hovered" | "color.background.accent.teal.subtlest.pressed" | "color.background.accent.teal.subtler" | "color.background.accent.teal.subtler.hovered" | "color.background.accent.teal.subtler.pressed" | "color.background.accent.teal.subtle" | "color.background.accent.teal.subtle.hovered" | "color.background.accent.teal.subtle.pressed" | "color.background.accent.teal.bolder" | "color.background.accent.teal.bolder.hovered" | "color.background.accent.teal.bolder.pressed" | "color.background.accent.blue.subtlest" | "color.background.accent.blue.subtlest.hovered" | "color.background.accent.blue.subtlest.pressed" | "color.background.accent.blue.subtler" | "color.background.accent.blue.subtler.hovered" | "color.background.accent.blue.subtler.pressed" | "color.background.accent.blue.subtle" | "color.background.accent.blue.subtle.hovered" | "color.background.accent.blue.subtle.pressed" | "color.background.accent.blue.bolder" | "color.background.accent.blue.bolder.hovered" | "color.background.accent.blue.bolder.pressed" | "color.background.accent.purple.subtlest" | "color.background.accent.purple.subtlest.hovered" | "color.background.accent.purple.subtlest.pressed" | "color.background.accent.purple.subtler" | "color.background.accent.purple.subtler.hovered" | "color.background.accent.purple.subtler.pressed" | "color.background.accent.purple.subtle" | "color.background.accent.purple.subtle.hovered" | "color.background.accent.purple.subtle.pressed" | "color.background.accent.purple.bolder" | "color.background.accent.purple.bolder.hovered" | "color.background.accent.purple.bolder.pressed" | "color.background.accent.magenta.subtlest" | "color.background.accent.magenta.subtlest.hovered" | "color.background.accent.magenta.subtlest.pressed" | "color.background.accent.magenta.subtler" | "color.background.accent.magenta.subtler.hovered" | "color.background.accent.magenta.subtler.pressed" | "color.background.accent.magenta.subtle" | "color.background.accent.magenta.subtle.hovered" | "color.background.accent.magenta.subtle.pressed" | "color.background.accent.magenta.bolder" | "color.background.accent.magenta.bolder.hovered" | "color.background.accent.magenta.bolder.pressed" | "color.background.accent.gray.subtlest" | "color.background.accent.gray.subtlest.hovered" | "color.background.accent.gray.subtlest.pressed" | "color.background.accent.gray.subtler" | "color.background.accent.gray.subtler.hovered" | "color.background.accent.gray.subtler.pressed" | "color.background.accent.gray.subtle" | "color.background.accent.gray.subtle.hovered" | "color.background.accent.gray.subtle.pressed" | "color.background.accent.gray.bolder" | "color.background.accent.gray.bolder.hovered" | "color.background.accent.gray.bolder.pressed" | "color.background.disabled" | "color.background.input" | "color.background.input.hovered" | "color.background.input.pressed" | "color.background.inverse.subtle" | "color.background.inverse.subtle.hovered" | "color.background.inverse.subtle.pressed" | "color.background.neutral" | "color.background.neutral.hovered" | "color.background.neutral.pressed" | "color.background.neutral.subtle" | "color.background.neutral.subtle.hovered" | "color.background.neutral.subtle.pressed" | "color.background.neutral.bold" | "color.background.neutral.bold.hovered" | "color.background.neutral.bold.pressed" | "color.background.selected" | "color.background.selected.hovered" | "color.background.selected.pressed" | "color.background.selected.bold" | "color.background.selected.bold.hovered" | "color.background.selected.bold.pressed" | "color.background.brand.subtlest" | "color.background.brand.subtlest.hovered" | "color.background.brand.subtlest.pressed" | "color.background.brand.bold" | "color.background.brand.bold.hovered" | "color.background.brand.bold.pressed" | "color.background.brand.boldest" | "color.background.brand.boldest.hovered" | "color.background.brand.boldest.pressed" | "color.background.danger" | "color.background.danger.hovered" | "color.background.danger.pressed" | "color.background.danger.bold" | "color.background.danger.bold.hovered" | "color.background.danger.bold.pressed" | "color.background.warning" | "color.background.warning.hovered" | "color.background.warning.pressed" | "color.background.warning.bold" | "color.background.warning.bold.hovered" | "color.background.warning.bold.pressed" | "color.background.success" | "color.background.success.hovered" | "color.background.success.pressed" | "color.background.success.bold" | "color.background.success.bold.hovered" | "color.background.success.bold.pressed" | "color.background.discovery" | "color.background.discovery.hovered" | "color.background.discovery.pressed" | "color.background.discovery.bold" | "color.background.discovery.bold.hovered" | "color.background.discovery.bold.pressed" | "color.background.information" | "color.background.information.hovered" | "color.background.information.pressed" | "color.background.information.bold" | "color.background.information.bold.hovered" | "color.background.information.bold.pressed" | "color.blanket" | "color.blanket.selected" | "color.blanket.danger" | "color.interaction.hovered" | "color.interaction.pressed" | "color.skeleton" | "color.skeleton.subtle" | "color.chart.categorical.1" | "color.chart.categorical.1.hovered" | "color.chart.categorical.2" | "color.chart.categorical.2.hovered" | "color.chart.categorical.3" | "color.chart.categorical.3.hovered" | "color.chart.categorical.4" | "color.chart.categorical.4.hovered" | "color.chart.categorical.5" | "color.chart.categorical.5.hovered" | "color.chart.categorical.6" | "color.chart.categorical.6.hovered" | "color.chart.categorical.7" | "color.chart.categorical.7.hovered" | "color.chart.categorical.8" | "color.chart.categorical.8.hovered" | "color.chart.lime.bold" | "color.chart.lime.bold.hovered" | "color.chart.lime.bolder" | "color.chart.lime.bolder.hovered" | "color.chart.lime.boldest" | "color.chart.lime.boldest.hovered" | "color.chart.neutral" | "color.chart.neutral.hovered" | "color.chart.red.bold" | "color.chart.red.bold.hovered" | "color.chart.red.bolder" | "color.chart.red.bolder.hovered" | "color.chart.red.boldest" | "color.chart.red.boldest.hovered" | "color.chart.orange.bold" | "color.chart.orange.bold.hovered" | "color.chart.orange.bolder" | "color.chart.orange.bolder.hovered" | "color.chart.orange.boldest" | "color.chart.orange.boldest.hovered" | "color.chart.yellow.bold" | "color.chart.yellow.bold.hovered" | "color.chart.yellow.bolder" | "color.chart.yellow.bolder.hovered" | "color.chart.yellow.boldest" | "color.chart.yellow.boldest.hovered" | "color.chart.green.bold" | "color.chart.green.bold.hovered" | "color.chart.green.bolder" | "color.chart.green.bolder.hovered" | "color.chart.green.boldest" | "color.chart.green.boldest.hovered" | "color.chart.teal.bold" | "color.chart.teal.bold.hovered" | "color.chart.teal.bolder" | "color.chart.teal.bolder.hovered" | "color.chart.teal.boldest" | "color.chart.teal.boldest.hovered" | "color.chart.blue.bold" | "color.chart.blue.bold.hovered" | "color.chart.blue.bolder" | "color.chart.blue.bolder.hovered" | "color.chart.blue.boldest" | "color.chart.blue.boldest.hovered" | "color.chart.purple.bold" | "color.chart.purple.bold.hovered" | "color.chart.purple.bolder" | "color.chart.purple.bolder.hovered" | "color.chart.purple.boldest" | "color.chart.purple.boldest.hovered" | "color.chart.magenta.bold" | "color.chart.magenta.bold.hovered" | "color.chart.magenta.bolder" | "color.chart.magenta.bolder.hovered" | "color.chart.magenta.boldest" | "color.chart.magenta.boldest.hovered" | "color.chart.gray.bold" | "color.chart.gray.bold.hovered" | "color.chart.gray.bolder" | "color.chart.gray.bolder.hovered" | "color.chart.gray.boldest" | "color.chart.gray.boldest.hovered" | "color.chart.brand" | "color.chart.brand.hovered" | "color.chart.danger" | "color.chart.danger.hovered" | "color.chart.danger.bold" | "color.chart.danger.bold.hovered" | "color.chart.warning" | "color.chart.warning.hovered" | "color.chart.warning.bold" | "color.chart.warning.bold.hovered" | "color.chart.success" | "color.chart.success.hovered" | "color.chart.success.bold" | "color.chart.success.bold.hovered" | "color.chart.discovery" | "color.chart.discovery.hovered" | "color.chart.discovery.bold" | "color.chart.discovery.bold.hovered" | "color.chart.information" | "color.chart.information.hovered" | "color.chart.information.bold" | "color.chart.information.bold.hovered" | "elevation.surface" | "elevation.surface.hovered" | "elevation.surface.pressed" | "elevation.surface.overlay" | "elevation.surface.overlay.hovered" | "elevation.surface.overlay.pressed" | "elevation.surface.raised" | "elevation.surface.raised.hovered" | "elevation.surface.raised.pressed" | "elevation.surface.sunken" | "elevation.shadow.overflow" | "elevation.shadow.overflow.perimeter" | "elevation.shadow.overflow.spread" | "elevation.shadow.overlay" | "elevation.shadow.raised" | "opacity.disabled" | "opacity.loading" | "utility.UNSAFE.textTransformUppercase" | "utility.UNSAFE.transparent" | "utility.elevation.surface.current" | "border.radius.050" | "border.radius" | "border.radius.100" | "border.radius.200" | "border.radius.300" | "border.radius.400" | "border.radius.circle" | "border.width" | "border.width.0" | "border.width.indicator" | "border.width.outline" | "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | "space.negative.025" | "space.negative.050" | "space.negative.075" | "space.negative.100" | "space.negative.150" | "space.negative.200" | "space.negative.250" | "space.negative.300" | "space.negative.400" | "font.heading.xxlarge" | "font.heading.xlarge" | "font.heading.large" | "font.heading.medium" | "font.heading.small" | "font.heading.xsmall" | "font.heading.xxsmall" | "font.body.large" | "font.body" | "font.body.small" | "font.body.UNSAFE_small" | "font.code" | "font.weight.regular" | "font.weight.medium" | "font.weight.semibold" | "font.weight.bold" | "font.family.heading" | "font.family.body" | "font.family.code" | "font.family.brand.heading" | "font.family.brand.body">(token: T, fallback?: string) => Promise<void>;
@@ -1,11 +0,0 @@
1
- declare global {
2
- interface Window {
3
- analyticsWebClient?: any;
4
- }
5
- }
6
- /**
7
- * Records a token call event to the analytics service. This is used to track which tokens are being used at runtime as they should be substituted by the values by @atlaskit/tokens/babel-plugin at build time.
8
- * @param token - The token that was called.
9
- * @param fallback - The fallback value that was used.
10
- */
11
- export declare const recordTokenCall: <T extends "color.text" | "color.text.accent.lime" | "color.text.accent.lime.bolder" | "color.text.accent.red" | "color.text.accent.red.bolder" | "color.text.accent.orange" | "color.text.accent.orange.bolder" | "color.text.accent.yellow" | "color.text.accent.yellow.bolder" | "color.text.accent.green" | "color.text.accent.green.bolder" | "color.text.accent.teal" | "color.text.accent.teal.bolder" | "color.text.accent.blue" | "color.text.accent.blue.bolder" | "color.text.accent.purple" | "color.text.accent.purple.bolder" | "color.text.accent.magenta" | "color.text.accent.magenta.bolder" | "color.text.accent.gray" | "color.text.accent.gray.bolder" | "color.text.disabled" | "color.text.inverse" | "color.text.selected" | "color.text.brand" | "color.text.danger" | "color.text.warning" | "color.text.warning.inverse" | "color.text.success" | "color.text.discovery" | "color.text.information" | "color.text.subtlest" | "color.text.subtle" | "color.link" | "color.link.pressed" | "color.link.visited" | "color.link.visited.pressed" | "color.icon" | "color.icon.accent.lime" | "color.icon.accent.red" | "color.icon.accent.orange" | "color.icon.accent.yellow" | "color.icon.accent.green" | "color.icon.accent.teal" | "color.icon.accent.blue" | "color.icon.accent.purple" | "color.icon.accent.magenta" | "color.icon.accent.gray" | "color.icon.disabled" | "color.icon.inverse" | "color.icon.selected" | "color.icon.brand" | "color.icon.danger" | "color.icon.warning" | "color.icon.warning.inverse" | "color.icon.success" | "color.icon.discovery" | "color.icon.information" | "color.icon.subtlest" | "color.icon.subtle" | "color.border" | "color.border.accent.lime" | "color.border.accent.red" | "color.border.accent.orange" | "color.border.accent.yellow" | "color.border.accent.green" | "color.border.accent.teal" | "color.border.accent.blue" | "color.border.accent.purple" | "color.border.accent.magenta" | "color.border.accent.gray" | "color.border.disabled" | "color.border.focused" | "color.border.input" | "color.border.inverse" | "color.border.selected" | "color.border.brand" | "color.border.danger" | "color.border.warning" | "color.border.success" | "color.border.discovery" | "color.border.information" | "color.border.bold" | "color.background.accent.lime.subtlest" | "color.background.accent.lime.subtlest.hovered" | "color.background.accent.lime.subtlest.pressed" | "color.background.accent.lime.subtler" | "color.background.accent.lime.subtler.hovered" | "color.background.accent.lime.subtler.pressed" | "color.background.accent.lime.subtle" | "color.background.accent.lime.subtle.hovered" | "color.background.accent.lime.subtle.pressed" | "color.background.accent.lime.bolder" | "color.background.accent.lime.bolder.hovered" | "color.background.accent.lime.bolder.pressed" | "color.background.accent.red.subtlest" | "color.background.accent.red.subtlest.hovered" | "color.background.accent.red.subtlest.pressed" | "color.background.accent.red.subtler" | "color.background.accent.red.subtler.hovered" | "color.background.accent.red.subtler.pressed" | "color.background.accent.red.subtle" | "color.background.accent.red.subtle.hovered" | "color.background.accent.red.subtle.pressed" | "color.background.accent.red.bolder" | "color.background.accent.red.bolder.hovered" | "color.background.accent.red.bolder.pressed" | "color.background.accent.orange.subtlest" | "color.background.accent.orange.subtlest.hovered" | "color.background.accent.orange.subtlest.pressed" | "color.background.accent.orange.subtler" | "color.background.accent.orange.subtler.hovered" | "color.background.accent.orange.subtler.pressed" | "color.background.accent.orange.subtle" | "color.background.accent.orange.subtle.hovered" | "color.background.accent.orange.subtle.pressed" | "color.background.accent.orange.bolder" | "color.background.accent.orange.bolder.hovered" | "color.background.accent.orange.bolder.pressed" | "color.background.accent.yellow.subtlest" | "color.background.accent.yellow.subtlest.hovered" | "color.background.accent.yellow.subtlest.pressed" | "color.background.accent.yellow.subtler" | "color.background.accent.yellow.subtler.hovered" | "color.background.accent.yellow.subtler.pressed" | "color.background.accent.yellow.subtle" | "color.background.accent.yellow.subtle.hovered" | "color.background.accent.yellow.subtle.pressed" | "color.background.accent.yellow.bolder" | "color.background.accent.yellow.bolder.hovered" | "color.background.accent.yellow.bolder.pressed" | "color.background.accent.green.subtlest" | "color.background.accent.green.subtlest.hovered" | "color.background.accent.green.subtlest.pressed" | "color.background.accent.green.subtler" | "color.background.accent.green.subtler.hovered" | "color.background.accent.green.subtler.pressed" | "color.background.accent.green.subtle" | "color.background.accent.green.subtle.hovered" | "color.background.accent.green.subtle.pressed" | "color.background.accent.green.bolder" | "color.background.accent.green.bolder.hovered" | "color.background.accent.green.bolder.pressed" | "color.background.accent.teal.subtlest" | "color.background.accent.teal.subtlest.hovered" | "color.background.accent.teal.subtlest.pressed" | "color.background.accent.teal.subtler" | "color.background.accent.teal.subtler.hovered" | "color.background.accent.teal.subtler.pressed" | "color.background.accent.teal.subtle" | "color.background.accent.teal.subtle.hovered" | "color.background.accent.teal.subtle.pressed" | "color.background.accent.teal.bolder" | "color.background.accent.teal.bolder.hovered" | "color.background.accent.teal.bolder.pressed" | "color.background.accent.blue.subtlest" | "color.background.accent.blue.subtlest.hovered" | "color.background.accent.blue.subtlest.pressed" | "color.background.accent.blue.subtler" | "color.background.accent.blue.subtler.hovered" | "color.background.accent.blue.subtler.pressed" | "color.background.accent.blue.subtle" | "color.background.accent.blue.subtle.hovered" | "color.background.accent.blue.subtle.pressed" | "color.background.accent.blue.bolder" | "color.background.accent.blue.bolder.hovered" | "color.background.accent.blue.bolder.pressed" | "color.background.accent.purple.subtlest" | "color.background.accent.purple.subtlest.hovered" | "color.background.accent.purple.subtlest.pressed" | "color.background.accent.purple.subtler" | "color.background.accent.purple.subtler.hovered" | "color.background.accent.purple.subtler.pressed" | "color.background.accent.purple.subtle" | "color.background.accent.purple.subtle.hovered" | "color.background.accent.purple.subtle.pressed" | "color.background.accent.purple.bolder" | "color.background.accent.purple.bolder.hovered" | "color.background.accent.purple.bolder.pressed" | "color.background.accent.magenta.subtlest" | "color.background.accent.magenta.subtlest.hovered" | "color.background.accent.magenta.subtlest.pressed" | "color.background.accent.magenta.subtler" | "color.background.accent.magenta.subtler.hovered" | "color.background.accent.magenta.subtler.pressed" | "color.background.accent.magenta.subtle" | "color.background.accent.magenta.subtle.hovered" | "color.background.accent.magenta.subtle.pressed" | "color.background.accent.magenta.bolder" | "color.background.accent.magenta.bolder.hovered" | "color.background.accent.magenta.bolder.pressed" | "color.background.accent.gray.subtlest" | "color.background.accent.gray.subtlest.hovered" | "color.background.accent.gray.subtlest.pressed" | "color.background.accent.gray.subtler" | "color.background.accent.gray.subtler.hovered" | "color.background.accent.gray.subtler.pressed" | "color.background.accent.gray.subtle" | "color.background.accent.gray.subtle.hovered" | "color.background.accent.gray.subtle.pressed" | "color.background.accent.gray.bolder" | "color.background.accent.gray.bolder.hovered" | "color.background.accent.gray.bolder.pressed" | "color.background.disabled" | "color.background.input" | "color.background.input.hovered" | "color.background.input.pressed" | "color.background.inverse.subtle" | "color.background.inverse.subtle.hovered" | "color.background.inverse.subtle.pressed" | "color.background.neutral" | "color.background.neutral.hovered" | "color.background.neutral.pressed" | "color.background.neutral.subtle" | "color.background.neutral.subtle.hovered" | "color.background.neutral.subtle.pressed" | "color.background.neutral.bold" | "color.background.neutral.bold.hovered" | "color.background.neutral.bold.pressed" | "color.background.selected" | "color.background.selected.hovered" | "color.background.selected.pressed" | "color.background.selected.bold" | "color.background.selected.bold.hovered" | "color.background.selected.bold.pressed" | "color.background.brand.subtlest" | "color.background.brand.subtlest.hovered" | "color.background.brand.subtlest.pressed" | "color.background.brand.bold" | "color.background.brand.bold.hovered" | "color.background.brand.bold.pressed" | "color.background.brand.boldest" | "color.background.brand.boldest.hovered" | "color.background.brand.boldest.pressed" | "color.background.danger" | "color.background.danger.hovered" | "color.background.danger.pressed" | "color.background.danger.bold" | "color.background.danger.bold.hovered" | "color.background.danger.bold.pressed" | "color.background.warning" | "color.background.warning.hovered" | "color.background.warning.pressed" | "color.background.warning.bold" | "color.background.warning.bold.hovered" | "color.background.warning.bold.pressed" | "color.background.success" | "color.background.success.hovered" | "color.background.success.pressed" | "color.background.success.bold" | "color.background.success.bold.hovered" | "color.background.success.bold.pressed" | "color.background.discovery" | "color.background.discovery.hovered" | "color.background.discovery.pressed" | "color.background.discovery.bold" | "color.background.discovery.bold.hovered" | "color.background.discovery.bold.pressed" | "color.background.information" | "color.background.information.hovered" | "color.background.information.pressed" | "color.background.information.bold" | "color.background.information.bold.hovered" | "color.background.information.bold.pressed" | "color.blanket" | "color.blanket.selected" | "color.blanket.danger" | "color.interaction.hovered" | "color.interaction.pressed" | "color.skeleton" | "color.skeleton.subtle" | "color.chart.categorical.1" | "color.chart.categorical.1.hovered" | "color.chart.categorical.2" | "color.chart.categorical.2.hovered" | "color.chart.categorical.3" | "color.chart.categorical.3.hovered" | "color.chart.categorical.4" | "color.chart.categorical.4.hovered" | "color.chart.categorical.5" | "color.chart.categorical.5.hovered" | "color.chart.categorical.6" | "color.chart.categorical.6.hovered" | "color.chart.categorical.7" | "color.chart.categorical.7.hovered" | "color.chart.categorical.8" | "color.chart.categorical.8.hovered" | "color.chart.lime.bold" | "color.chart.lime.bold.hovered" | "color.chart.lime.bolder" | "color.chart.lime.bolder.hovered" | "color.chart.lime.boldest" | "color.chart.lime.boldest.hovered" | "color.chart.neutral" | "color.chart.neutral.hovered" | "color.chart.red.bold" | "color.chart.red.bold.hovered" | "color.chart.red.bolder" | "color.chart.red.bolder.hovered" | "color.chart.red.boldest" | "color.chart.red.boldest.hovered" | "color.chart.orange.bold" | "color.chart.orange.bold.hovered" | "color.chart.orange.bolder" | "color.chart.orange.bolder.hovered" | "color.chart.orange.boldest" | "color.chart.orange.boldest.hovered" | "color.chart.yellow.bold" | "color.chart.yellow.bold.hovered" | "color.chart.yellow.bolder" | "color.chart.yellow.bolder.hovered" | "color.chart.yellow.boldest" | "color.chart.yellow.boldest.hovered" | "color.chart.green.bold" | "color.chart.green.bold.hovered" | "color.chart.green.bolder" | "color.chart.green.bolder.hovered" | "color.chart.green.boldest" | "color.chart.green.boldest.hovered" | "color.chart.teal.bold" | "color.chart.teal.bold.hovered" | "color.chart.teal.bolder" | "color.chart.teal.bolder.hovered" | "color.chart.teal.boldest" | "color.chart.teal.boldest.hovered" | "color.chart.blue.bold" | "color.chart.blue.bold.hovered" | "color.chart.blue.bolder" | "color.chart.blue.bolder.hovered" | "color.chart.blue.boldest" | "color.chart.blue.boldest.hovered" | "color.chart.purple.bold" | "color.chart.purple.bold.hovered" | "color.chart.purple.bolder" | "color.chart.purple.bolder.hovered" | "color.chart.purple.boldest" | "color.chart.purple.boldest.hovered" | "color.chart.magenta.bold" | "color.chart.magenta.bold.hovered" | "color.chart.magenta.bolder" | "color.chart.magenta.bolder.hovered" | "color.chart.magenta.boldest" | "color.chart.magenta.boldest.hovered" | "color.chart.gray.bold" | "color.chart.gray.bold.hovered" | "color.chart.gray.bolder" | "color.chart.gray.bolder.hovered" | "color.chart.gray.boldest" | "color.chart.gray.boldest.hovered" | "color.chart.brand" | "color.chart.brand.hovered" | "color.chart.danger" | "color.chart.danger.hovered" | "color.chart.danger.bold" | "color.chart.danger.bold.hovered" | "color.chart.warning" | "color.chart.warning.hovered" | "color.chart.warning.bold" | "color.chart.warning.bold.hovered" | "color.chart.success" | "color.chart.success.hovered" | "color.chart.success.bold" | "color.chart.success.bold.hovered" | "color.chart.discovery" | "color.chart.discovery.hovered" | "color.chart.discovery.bold" | "color.chart.discovery.bold.hovered" | "color.chart.information" | "color.chart.information.hovered" | "color.chart.information.bold" | "color.chart.information.bold.hovered" | "elevation.surface" | "elevation.surface.hovered" | "elevation.surface.pressed" | "elevation.surface.overlay" | "elevation.surface.overlay.hovered" | "elevation.surface.overlay.pressed" | "elevation.surface.raised" | "elevation.surface.raised.hovered" | "elevation.surface.raised.pressed" | "elevation.surface.sunken" | "elevation.shadow.overflow" | "elevation.shadow.overflow.perimeter" | "elevation.shadow.overflow.spread" | "elevation.shadow.overlay" | "elevation.shadow.raised" | "opacity.disabled" | "opacity.loading" | "utility.UNSAFE.textTransformUppercase" | "utility.UNSAFE.transparent" | "utility.elevation.surface.current" | "border.radius.050" | "border.radius" | "border.radius.100" | "border.radius.200" | "border.radius.300" | "border.radius.400" | "border.radius.circle" | "border.width" | "border.width.0" | "border.width.indicator" | "border.width.outline" | "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | "space.negative.025" | "space.negative.050" | "space.negative.075" | "space.negative.100" | "space.negative.150" | "space.negative.200" | "space.negative.250" | "space.negative.300" | "space.negative.400" | "font.heading.xxlarge" | "font.heading.xlarge" | "font.heading.large" | "font.heading.medium" | "font.heading.small" | "font.heading.xsmall" | "font.heading.xxsmall" | "font.body.large" | "font.body" | "font.body.small" | "font.body.UNSAFE_small" | "font.code" | "font.weight.regular" | "font.weight.medium" | "font.weight.semibold" | "font.weight.bold" | "font.family.heading" | "font.family.body" | "font.family.code" | "font.family.brand.heading" | "font.family.brand.body">(token: T, fallback?: string) => Promise<void>;