@atlaskit/tokens 6.0.0 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/babel-plugin/package.json +1 -1
  3. package/codemods/theme-to-design-tokens/transform.tsx +1 -0
  4. package/css-type-schema/package.json +1 -1
  5. package/custom-themes/package.json +1 -1
  6. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +53 -23
  7. package/dist/cjs/artifacts/replacement-mapping.js +29 -2
  8. package/dist/cjs/artifacts/theme-import-map.js +13 -1
  9. package/dist/cjs/artifacts/themes/atlassian-shape-rounder.js +12 -0
  10. package/dist/cjs/artifacts/themes/atlassian-shape-roundest.js +12 -0
  11. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  12. package/dist/cjs/artifacts/token-default-values.js +21 -13
  13. package/dist/cjs/artifacts/token-names.js +21 -13
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +469 -0
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +469 -0
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +249 -41
  17. package/dist/cjs/constants.js +1 -1
  18. package/dist/cjs/entry-points/token-metadata.codegen.js +96 -51
  19. package/dist/cjs/theme-config.js +18 -2
  20. package/dist/cjs/theme-state-transformer.js +3 -1
  21. package/dist/cjs/utils/token-order.js +6 -3
  22. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +53 -23
  23. package/dist/es2019/artifacts/replacement-mapping.js +29 -2
  24. package/dist/es2019/artifacts/theme-import-map.js +5 -1
  25. package/dist/es2019/artifacts/themes/atlassian-shape-rounder.js +28 -0
  26. package/dist/es2019/artifacts/themes/atlassian-shape-roundest.js +28 -0
  27. package/dist/es2019/artifacts/themes/atlassian-shape.js +11 -3
  28. package/dist/es2019/artifacts/token-default-values.js +21 -13
  29. package/dist/es2019/artifacts/token-names.js +21 -13
  30. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +463 -0
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +463 -0
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +249 -41
  33. package/dist/es2019/constants.js +1 -1
  34. package/dist/es2019/entry-points/token-metadata.codegen.js +96 -51
  35. package/dist/es2019/theme-config.js +18 -2
  36. package/dist/es2019/theme-state-transformer.js +3 -1
  37. package/dist/es2019/utils/token-order.js +6 -3
  38. package/dist/esm/artifacts/palettes-raw/shape-palette.js +53 -23
  39. package/dist/esm/artifacts/replacement-mapping.js +29 -2
  40. package/dist/esm/artifacts/theme-import-map.js +9 -1
  41. package/dist/esm/artifacts/themes/atlassian-shape-rounder.js +6 -0
  42. package/dist/esm/artifacts/themes/atlassian-shape-roundest.js +6 -0
  43. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  44. package/dist/esm/artifacts/token-default-values.js +21 -13
  45. package/dist/esm/artifacts/token-names.js +21 -13
  46. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +463 -0
  47. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +463 -0
  48. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +249 -41
  49. package/dist/esm/constants.js +1 -1
  50. package/dist/esm/entry-points/token-metadata.codegen.js +96 -51
  51. package/dist/esm/theme-config.js +18 -2
  52. package/dist/esm/theme-state-transformer.js +3 -1
  53. package/dist/esm/utils/token-order.js +6 -3
  54. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  55. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  56. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  57. package/dist/types/artifacts/themes/atlassian-shape-rounder.d.ts +7 -0
  58. package/dist/types/artifacts/themes/atlassian-shape-roundest.d.ts +7 -0
  59. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  60. package/dist/types/artifacts/token-default-values.d.ts +20 -12
  61. package/dist/types/artifacts/token-names.d.ts +39 -23
  62. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +59 -0
  63. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +59 -0
  64. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +9 -5
  65. package/dist/types/artifacts/types-internal.d.ts +2 -2
  66. package/dist/types/artifacts/types.d.ts +2 -2
  67. package/dist/types/enable-global-theme.d.ts +1 -1
  68. package/dist/types/entry-points/css-type-schema.codegen.d.ts +3 -3
  69. package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
  70. package/dist/types/get-ssr-auto-script.d.ts +1 -1
  71. package/dist/types/get-theme-styles.d.ts +1 -1
  72. package/dist/types/set-global-theme.d.ts +1 -1
  73. package/dist/types/theme-config.d.ts +4 -4
  74. package/dist/types/types.d.ts +12 -2
  75. package/dist/types/utils/color-detection.d.ts +1 -1
  76. package/dist/types/utils/custom-theme-token-contrast-check.d.ts +2 -2
  77. package/dist/types/utils/generate-custom-color-ramp.d.ts +2 -8
  78. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  79. package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
  80. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  81. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-rounder.d.ts +7 -0
  82. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-roundest.d.ts +7 -0
  83. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  84. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +20 -12
  85. package/dist/types-ts4.5/artifacts/token-names.d.ts +39 -23
  86. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +59 -0
  87. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +59 -0
  88. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +9 -5
  89. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  90. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  91. package/dist/types-ts4.5/enable-global-theme.d.ts +1 -1
  92. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +3 -3
  93. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
  94. package/dist/types-ts4.5/get-ssr-auto-script.d.ts +1 -1
  95. package/dist/types-ts4.5/get-theme-styles.d.ts +1 -1
  96. package/dist/types-ts4.5/set-global-theme.d.ts +1 -1
  97. package/dist/types-ts4.5/theme-config.d.ts +6 -2
  98. package/dist/types-ts4.5/types.d.ts +12 -2
  99. package/dist/types-ts4.5/utils/color-detection.d.ts +1 -1
  100. package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +2 -2
  101. package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +2 -4
  102. package/figma/atlassian-shape-rounder.json +114 -0
  103. package/figma/atlassian-shape-roundest.json +114 -0
  104. package/figma/atlassian-shape.json +44 -46
  105. package/package.json +9 -10
  106. package/palettes-raw/package.json +1 -1
  107. package/rename-mapping/package.json +1 -1
  108. package/token-default-values/package.json +1 -1
  109. package/token-ids/package.json +1 -1
  110. package/token-metadata/package.json +1 -1
  111. package/token-names/package.json +1 -1
  112. package/token-order/package.json +1 -1
  113. package/tokens-raw/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Strict design token based typedef representing a subset of safe CSS properties.
5
5
  *
6
- * @codegen <<SignedSource::051c591fbf1b8f4a288b93923ff8d5bf>>
6
+ * @codegen <<SignedSource::f020a42c1bd636ec7ab652f68207aa4d>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  export type BackgroundColorHovered = 'var(--ds-background-accent-lime-subtlest-hovered)' | 'var(--ds-background-accent-lime-subtler-hovered)' | 'var(--ds-background-accent-lime-subtle-hovered)' | 'var(--ds-background-accent-lime-bolder-hovered)' | 'var(--ds-background-accent-red-subtlest-hovered)' | 'var(--ds-background-accent-red-subtler-hovered)' | 'var(--ds-background-accent-red-subtle-hovered)' | 'var(--ds-background-accent-red-bolder-hovered)' | 'var(--ds-background-accent-orange-subtlest-hovered)' | 'var(--ds-background-accent-orange-subtler-hovered)' | 'var(--ds-background-accent-orange-subtle-hovered)' | 'var(--ds-background-accent-orange-bolder-hovered)' | 'var(--ds-background-accent-yellow-subtlest-hovered)' | 'var(--ds-background-accent-yellow-subtler-hovered)' | 'var(--ds-background-accent-yellow-subtle-hovered)' | 'var(--ds-background-accent-yellow-bolder-hovered)' | 'var(--ds-background-accent-green-subtlest-hovered)' | 'var(--ds-background-accent-green-subtler-hovered)' | 'var(--ds-background-accent-green-subtle-hovered)' | 'var(--ds-background-accent-green-bolder-hovered)' | 'var(--ds-background-accent-teal-subtlest-hovered)' | 'var(--ds-background-accent-teal-subtler-hovered)' | 'var(--ds-background-accent-teal-subtle-hovered)' | 'var(--ds-background-accent-teal-bolder-hovered)' | 'var(--ds-background-accent-blue-subtlest-hovered)' | 'var(--ds-background-accent-blue-subtler-hovered)' | 'var(--ds-background-accent-blue-subtle-hovered)' | 'var(--ds-background-accent-blue-bolder-hovered)' | 'var(--ds-background-accent-purple-subtlest-hovered)' | 'var(--ds-background-accent-purple-subtler-hovered)' | 'var(--ds-background-accent-purple-subtle-hovered)' | 'var(--ds-background-accent-purple-bolder-hovered)' | 'var(--ds-background-accent-magenta-subtlest-hovered)' | 'var(--ds-background-accent-magenta-subtler-hovered)' | 'var(--ds-background-accent-magenta-subtle-hovered)' | 'var(--ds-background-accent-magenta-bolder-hovered)' | 'var(--ds-background-accent-gray-subtlest-hovered)' | 'var(--ds-background-accent-gray-subtler-hovered)' | 'var(--ds-background-accent-gray-subtle-hovered)' | 'var(--ds-background-accent-gray-bolder-hovered)' | 'var(--ds-background-input-hovered)' | 'var(--ds-background-inverse-subtle-hovered)' | 'var(--ds-background-neutral-hovered)' | 'var(--ds-background-neutral-subtle-hovered)' | 'var(--ds-background-neutral-bold-hovered)' | 'var(--ds-background-selected-hovered)' | 'var(--ds-background-selected-bold-hovered)' | 'var(--ds-background-brand-subtlest-hovered)' | 'var(--ds-background-brand-bold-hovered)' | 'var(--ds-background-brand-boldest-hovered)' | 'var(--ds-background-danger-hovered)' | 'var(--ds-background-danger-bold-hovered)' | 'var(--ds-background-warning-hovered)' | 'var(--ds-background-warning-bold-hovered)' | 'var(--ds-background-success-hovered)' | 'var(--ds-background-success-bold-hovered)' | 'var(--ds-background-discovery-hovered)' | 'var(--ds-background-discovery-bold-hovered)' | 'var(--ds-background-information-hovered)' | 'var(--ds-background-information-bold-hovered)' | 'var(--ds-surface-hovered)' | 'var(--ds-surface-overlay-hovered)' | 'var(--ds-surface-raised-hovered)';
@@ -13,8 +13,8 @@ export type FontShorthand = 'var(--ds-font-heading-xxlarge)' | 'var(--ds-font-he
13
13
  export type IconColorPressed = 'var(--ds-link-pressed)' | 'var(--ds-link-visited-pressed)';
14
14
  export type IconColor = IconColorPressed | 'var(--ds-link)' | 'var(--ds-link-visited)' | 'var(--ds-icon)' | 'var(--ds-icon-accent-lime)' | 'var(--ds-icon-accent-red)' | 'var(--ds-icon-accent-orange)' | 'var(--ds-icon-accent-yellow)' | 'var(--ds-icon-accent-green)' | 'var(--ds-icon-accent-teal)' | 'var(--ds-icon-accent-blue)' | 'var(--ds-icon-accent-purple)' | 'var(--ds-icon-accent-magenta)' | 'var(--ds-icon-accent-gray)' | 'var(--ds-icon-disabled)' | 'var(--ds-icon-inverse)' | 'var(--ds-icon-selected)' | 'var(--ds-icon-brand)' | 'var(--ds-icon-danger)' | 'var(--ds-icon-warning)' | 'var(--ds-icon-warning-inverse)' | 'var(--ds-icon-success)' | 'var(--ds-icon-discovery)' | 'var(--ds-icon-information)' | 'var(--ds-icon-subtlest)' | 'var(--ds-icon-subtle)';
15
15
  export type BorderColor = 'transparent' | 'var(--ds-border)' | 'var(--ds-border-accent-lime)' | 'var(--ds-border-accent-red)' | 'var(--ds-border-accent-orange)' | 'var(--ds-border-accent-yellow)' | 'var(--ds-border-accent-green)' | 'var(--ds-border-accent-teal)' | 'var(--ds-border-accent-blue)' | 'var(--ds-border-accent-purple)' | 'var(--ds-border-accent-magenta)' | 'var(--ds-border-accent-gray)' | 'var(--ds-border-disabled)' | 'var(--ds-border-focused)' | 'var(--ds-border-input)' | 'var(--ds-border-inverse)' | 'var(--ds-border-selected)' | 'var(--ds-border-brand)' | 'var(--ds-border-danger)' | 'var(--ds-border-warning)' | 'var(--ds-border-success)' | 'var(--ds-border-discovery)' | 'var(--ds-border-information)' | 'var(--ds-border-bold)';
16
- export type BorderRadius = 'var(--ds-border-radius-050)' | 'var(--ds-border-radius)' | 'var(--ds-border-radius-100)' | 'var(--ds-border-radius-200)' | 'var(--ds-border-radius-300)' | 'var(--ds-border-radius-400)' | 'var(--ds-border-radius-circle)' | 'inherit' | `${number}px` | `${number}rem`;
17
- export type BorderWidth = 'var(--ds-border-width)' | 'var(--ds-border-width-indicator)' | 'var(--ds-border-width-outline)' | 0 | '0';
16
+ export type BorderRadius = 'var(--ds-radius-xsmall)' | 'var(--ds-radius-small)' | 'var(--ds-radius-medium)' | 'var(--ds-radius-large)' | 'var(--ds-radius-xlarge)' | 'var(--ds-radius-full)' | 'var(--ds-border-radius)' | 'var(--ds-border-radius-050)' | 'var(--ds-border-radius-100)' | 'var(--ds-border-radius-200)' | 'var(--ds-border-radius-300)' | 'var(--ds-border-radius-400)' | 'var(--ds-border-radius-circle)' | 'inherit' | `${number}px` | `${number}rem`;
17
+ export type BorderWidth = 'var(--ds-border-width)' | 'var(--ds-border-width-0)' | 'var(--ds-border-width-indicator)' | 'var(--ds-border-width-outline)' | 'var(--ds-border-width-selected)' | 'var(--ds-border-width-focused)' | 0 | '0';
18
18
  export type BorderShorthand = 'none' | `${BorderWidth} solid ${BorderColor}`;
19
19
  type NumericSize = `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}%`;
20
20
  export type SizeIntrinsic = 'min-content' | 'max-content' | 'fit-content' | 'auto' | NumericSize | `min(${NumericSize}, ${NumericSize})` | `max(${NumericSize}, ${NumericSize})`;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Metadata for generation of of `@atlaskit/ads-mcp` and https://atlassian.design/llms-tokens.txt.
5
5
  *
6
- * @codegen <<SignedSource::c6f9eb087d49a14806a7713cb8306e06>>
6
+ * @codegen <<SignedSource::2f0d0ffb7abcc77f7b99efa4241047a4>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  export interface Token {
@@ -7,5 +7,5 @@ import { type ThemeState } from './theme-config';
7
7
  *
8
8
  * @returns {string} A string to be added to the innerHTML of a script tag in the document head
9
9
  */
10
- declare const getSSRAutoScript: (colorMode: ThemeState['colorMode'], contrastMode?: ThemeState['contrastMode']) => string | undefined;
10
+ declare const getSSRAutoScript: (colorMode: ThemeState["colorMode"], contrastMode?: ThemeState["contrastMode"]) => string | undefined;
11
11
  export default getSSRAutoScript;
@@ -20,5 +20,5 @@ export interface ThemeStyles {
20
20
  * @returns A Promise of an object array, containing theme IDs, data-attributes to attach to the theme, and the theme CSS.
21
21
  * If an error is encountered while loading themes, the themes array will be empty.
22
22
  */
23
- declare const getThemeStyles: (preferences?: Partial<ThemeState> | 'all') => Promise<ThemeStyles[]>;
23
+ declare const getThemeStyles: (preferences?: Partial<ThemeState> | "all") => Promise<ThemeStyles[]>;
24
24
  export default getThemeStyles;
@@ -21,5 +21,5 @@ import { type ThemeIdsWithOverrides, type ThemeState } from './theme-config';
21
21
  * setGlobalTheme({colorMode: 'auto', light: 'light', dark: 'dark', spacing: 'spacing'});
22
22
  * ```
23
23
  */
24
- declare const setGlobalTheme: ({ colorMode, contrastMode, dark, light, shape, spacing, typography, UNSAFE_themeOptions, }?: Partial<ThemeState>, themeLoader?: ((id: ThemeIdsWithOverrides) => void | Promise<void>) | undefined) => Promise<UnbindFn>;
24
+ declare const setGlobalTheme: ({ colorMode, contrastMode, dark, light, shape, spacing, typography, UNSAFE_themeOptions, }?: Partial<ThemeState>, themeLoader?: (id: ThemeIdsWithOverrides) => void | Promise<void>) => Promise<UnbindFn>;
25
25
  export default setGlobalTheme;
@@ -6,7 +6,7 @@
6
6
  * These ids are what the actual theme files/folders are called.
7
7
  * style-dictionary will attempt to locate these in the file-system.
8
8
  */
9
- export type Themes = 'atlassian-light' | 'atlassian-light-future' | 'atlassian-light-increased-contrast' | 'atlassian-light-brand-refresh' | 'atlassian-dark' | 'atlassian-dark-future' | 'atlassian-dark-increased-contrast' | 'atlassian-dark-brand-refresh' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-spacing' | 'atlassian-typography' | 'atlassian-typography-refreshed' | 'atlassian-typography-modernized' | 'atlassian-typography-adg3';
9
+ export type Themes = 'atlassian-light' | 'atlassian-light-future' | 'atlassian-light-increased-contrast' | 'atlassian-light-brand-refresh' | 'atlassian-dark' | 'atlassian-dark-future' | 'atlassian-dark-increased-contrast' | 'atlassian-dark-brand-refresh' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-shape-rounder' | 'atlassian-shape-roundest' | 'atlassian-spacing' | 'atlassian-typography' | 'atlassian-typography-refreshed' | 'atlassian-typography-modernized' | 'atlassian-typography-adg3';
10
10
  export type ThemeFileNames = Themes;
11
11
  /**
12
12
  * ThemeOverrides: The internal identifier of a theme override. Which are themes that contain
@@ -42,7 +42,7 @@ export type DataContrastModes = 'more' | 'no-preference' | 'auto';
42
42
  *
43
43
  * These ids must be kebab case
44
44
  */
45
- export declare const themeIds: readonly ["light-increased-contrast", "light", "light-future", "light-brand-refresh", "dark", "dark-future", "dark-increased-contrast", "dark-brand-refresh", "legacy-light", "legacy-dark", "spacing", "shape", "typography", "typography-adg3", "typography-modernized", "typography-refreshed"];
45
+ export declare const themeIds: readonly ["light-increased-contrast", "light", "light-future", "light-brand-refresh", "dark", "dark-future", "dark-increased-contrast", "dark-brand-refresh", "legacy-light", "legacy-dark", "spacing", "shape", "shape-rounder", "shape-roundest", "typography", "typography-adg3", "typography-modernized", "typography-refreshed"];
46
46
  export type ThemeIds = (typeof themeIds)[number];
47
47
  /**
48
48
  * Theme override ids: the equivalent of themeIds for theme overrides.
@@ -50,7 +50,7 @@ export type ThemeIds = (typeof themeIds)[number];
50
50
  */
51
51
  declare const themeOverrideIds: readonly [];
52
52
  export type ThemeOverrideIds = (typeof themeOverrideIds)[number];
53
- export declare const themeIdsWithOverrides: readonly ["light-increased-contrast", "light", "light-future", "light-brand-refresh", "dark", "dark-future", "dark-increased-contrast", "dark-brand-refresh", "legacy-light", "legacy-dark", "spacing", "shape", "typography", "typography-adg3", "typography-modernized", "typography-refreshed"];
53
+ export declare const themeIdsWithOverrides: readonly ["light-increased-contrast", "light", "light-future", "light-brand-refresh", "dark", "dark-future", "dark-increased-contrast", "dark-brand-refresh", "legacy-light", "legacy-dark", "spacing", "shape", "shape-rounder", "shape-roundest", "typography", "typography-adg3", "typography-modernized", "typography-refreshed"];
54
54
  export type ThemeIdsWithOverrides = (typeof themeIdsWithOverrides)[number];
55
55
  /**
56
56
  * Theme to use a base. This will create the theme as
@@ -119,7 +119,7 @@ export interface ThemeState {
119
119
  dark: Extract<ThemeIds, 'light' | 'light-future' | 'dark' | 'dark-future' | 'legacy-dark' | 'legacy-light' | 'light-increased-contrast' | 'dark-increased-contrast' | 'light-brand-refresh' | 'dark-brand-refresh'>;
120
120
  colorMode: ThemeColorModes;
121
121
  contrastMode: ThemeContrastModes;
122
- shape?: Extract<ThemeIds, 'shape'>;
122
+ shape?: Extract<ThemeIds, 'shape' | 'shape-rounder' | 'shape-roundest'>;
123
123
  spacing: Extract<ThemeIds, 'spacing'>;
124
124
  /**
125
125
  * @deprecated 'typography-adg3' is deprecated, use 'typography' instead
@@ -127,9 +127,9 @@ export interface SpacingScaleTokenSchema<ScaleValues extends string> {
127
127
  }
128
128
  export interface ShapeScaleTokenSchema<RadiusScaleValues extends string, SizeScaleValues extends string> {
129
129
  border: {
130
- radius: Record<RadiusScaleValues, ShapeSchemaValue>;
131
130
  width: Record<SizeScaleValues, ShapeSchemaValue>;
132
131
  };
132
+ radius: Record<RadiusScaleValues, ShapeSchemaValue>;
133
133
  }
134
134
  export interface FontSizeScaleTokenSchema<ScaleValues extends string> {
135
135
  fontSize: Record<ScaleValues, BaseToken<string | number, 'fontSize'>>;
@@ -1036,10 +1036,12 @@ export interface TypographyTokenSchema<TPalette extends {
1036
1036
  export interface ShapeTokenSchema<BaseToken> {
1037
1037
  border: {
1038
1038
  width: {
1039
- '[default]': ShapeToken<BaseToken>;
1040
1039
  '0': ShapeToken<BaseToken>;
1041
1040
  indicator: ShapeToken<BaseToken>;
1042
1041
  outline: ShapeToken<BaseToken>;
1042
+ '[default]': ShapeToken<BaseToken>;
1043
+ selected: ShapeToken<BaseToken>;
1044
+ focused: ShapeToken<BaseToken>;
1043
1045
  };
1044
1046
  radius: {
1045
1047
  '[default]': ShapeToken<BaseToken>;
@@ -1051,6 +1053,14 @@ export interface ShapeTokenSchema<BaseToken> {
1051
1053
  circle: ShapeToken<BaseToken>;
1052
1054
  };
1053
1055
  };
1056
+ radius: {
1057
+ xsmall: ShapeToken<BaseToken>;
1058
+ small: ShapeToken<BaseToken>;
1059
+ medium: ShapeToken<BaseToken>;
1060
+ large: ShapeToken<BaseToken>;
1061
+ xlarge: ShapeToken<BaseToken>;
1062
+ full: ShapeToken<BaseToken>;
1063
+ };
1054
1064
  }
1055
1065
  /**
1056
1066
  * @private
@@ -10,4 +10,4 @@ export declare const hexToRGBAValues: (hex: string) => {
10
10
  *
11
11
  * @param rawShadow - ShadowToken raw value
12
12
  */
13
- export declare const getBoxShadow: (rawShadow: ShadowToken<string>['value']) => string;
13
+ export declare const getBoxShadow: (rawShadow: ShadowToken<string>["value"]) => string;
@@ -10,9 +10,9 @@ interface AdditionalContrastCheck {
10
10
  export declare const additionalChecks: AdditionalContrastCheck[];
11
11
  export declare const additionalContrastChecker: ({ customThemeTokenMap, mode, themeRamp, }: {
12
12
  customThemeTokenMap: {
13
- [key: string]: string | number;
13
+ [key: string]: number | string;
14
14
  };
15
- mode: 'light' | 'dark';
15
+ mode: "light" | "dark";
16
16
  themeRamp: string[];
17
17
  }) => {
18
18
  [key: string]: number;
@@ -10,12 +10,6 @@ export declare const generateColors: (brandColor: CSSColor) => {
10
10
  ramp: CSSColor[];
11
11
  replacedColor: CSSColor;
12
12
  };
13
- export declare const generateTokenMap: (brandColor: CSSColor, mode: ThemeColorModes, themeRamp?: CSSColor[]) => {
14
- light?: TokenMap | undefined;
15
- dark?: TokenMap | undefined;
16
- };
17
- export declare const generateTokenMapWithContrastCheck: (brandColor: CSSColor, mode: ThemeColorModes, themeRamp?: CSSColor[]) => {
18
- light?: TokenMap | undefined;
19
- dark?: TokenMap | undefined;
20
- };
13
+ export declare const generateTokenMap: (brandColor: CSSColor, mode: ThemeColorModes, themeRamp?: CSSColor[]) => { [mode in Mode]?: TokenMap; };
14
+ export declare const generateTokenMapWithContrastCheck: (brandColor: CSSColor, mode: ThemeColorModes, themeRamp?: CSSColor[]) => { [mode in Mode]?: TokenMap; };
21
15
  export {};
@@ -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::279b779961a28128ed651f2f529f7e86>>
3
+ * @codegen <<SignedSource::f4b022d6e18730437f14e3f2a6430c5a>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
@@ -12,7 +12,7 @@
12
12
  * These changes will then be picked up by our tooling which will attempt to
13
13
  * migrate as many of these renames as possible.
14
14
  *
15
- * @codegen <<SignedSource::32dc903e7e4405ed9f0a75811b32c2e1>>
15
+ * @codegen <<SignedSource::7ca64db3c8d60ea8d78edec946e325bc>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
  import type tokens from './token-names';
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::4131829e60733a1a5e513dcc84af81de>>
9
+ * @codegen <<SignedSource::3db020c00d91d31fe8e413b082708618>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  import { type ThemeIds, type ThemeOverrideIds } from '../theme-config';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b2f388559d723f17083d9711905b528f>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const _default: "\nhtml[data-theme~=\"shape:shape-rounder\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.375rem;\n --ds-radius-large: 0.75rem;\n --ds-radius-xlarge: 1rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\n}\n";
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b1574d1a9deb339d6c42eb37e069a871>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const _default: "\nhtml[data-theme~=\"shape:shape-roundest\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.75rem;\n --ds-radius-large: 1rem;\n --ds-radius-xlarge: 1.25rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\n}\n";
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::57c7e229053412965e492af01b042778>>
3
+ * @codegen <<SignedSource::5fd7a2193acea84566a4f17a6f50d7b2>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const _default: "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 2002rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n}\n";
6
+ declare const _default: "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.375rem;\n --ds-radius-large: 0.5rem;\n --ds-radius-xlarge: 0.75rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\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::14617f23058b2551ba4bc304aee7628f>>
10
+ * @codegen <<SignedSource::2992e1957578e92ec58e9b373bf9b813>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  declare const defaultTokenValues: {
@@ -402,17 +402,6 @@ declare const defaultTokenValues: {
402
402
  readonly 'utility.UNSAFE.textTransformUppercase': "uppercase";
403
403
  readonly 'utility.UNSAFE.transparent': "transparent";
404
404
  readonly 'utility.elevation.surface.current': "#FFFFFF";
405
- readonly 'border.radius.050': "0.125rem";
406
- readonly 'border.radius': "0.25rem";
407
- readonly 'border.radius.100': "0.25rem";
408
- readonly 'border.radius.200': "0.5rem";
409
- readonly 'border.radius.300': "0.75rem";
410
- readonly 'border.radius.400': "1rem";
411
- readonly 'border.radius.circle': "2002rem";
412
- readonly 'border.width': "0.0625rem";
413
- readonly 'border.width.0': "0rem";
414
- readonly 'border.width.indicator': "0.1875rem";
415
- readonly 'border.width.outline': "0.125rem";
416
405
  readonly 'space.0': "0rem";
417
406
  readonly 'space.025': "0.125rem";
418
407
  readonly 'space.050': "0.25rem";
@@ -460,5 +449,24 @@ declare const defaultTokenValues: {
460
449
  readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
461
450
  readonly 'font.family.brand.heading': "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
462
451
  readonly 'font.family.brand.body': "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif";
452
+ readonly 'radius.xsmall': "0.125rem";
453
+ readonly 'radius.small': "0.25rem";
454
+ readonly 'radius.medium': "0.375rem";
455
+ readonly 'radius.large': "0.5rem";
456
+ readonly 'radius.xlarge': "0.75rem";
457
+ readonly 'radius.full': "624.9375rem";
458
+ readonly 'border.radius': "0.25rem";
459
+ readonly 'border.radius.050': "0.125rem";
460
+ readonly 'border.radius.100': "0.25rem";
461
+ readonly 'border.radius.200': "0.5rem";
462
+ readonly 'border.radius.300': "0.75rem";
463
+ readonly 'border.radius.400': "1rem";
464
+ readonly 'border.radius.circle': "624.9375rem";
465
+ readonly 'border.width': "0.0625rem";
466
+ readonly 'border.width.0': "0rem";
467
+ readonly 'border.width.indicator': "0.1875rem";
468
+ readonly 'border.width.outline': "0.125rem";
469
+ readonly 'border.width.selected': "0.125rem";
470
+ readonly 'border.width.focused': "0.125rem";
463
471
  };
464
472
  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::5e39d81369b0c277ebeac5d0b02ae5cb>>
3
+ * @codegen <<SignedSource::06d7df9fd7562fac091fccfbf1704240>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
@@ -395,17 +395,6 @@ declare const tokens: {
395
395
  readonly 'utility.UNSAFE.textTransformUppercase': "--ds-UNSAFE-textTransformUppercase";
396
396
  readonly 'utility.UNSAFE.transparent': "--ds-UNSAFE-transparent";
397
397
  readonly 'utility.elevation.surface.current': "--ds-elevation-surface-current";
398
- readonly 'border.radius.050': "--ds-border-radius-050";
399
- readonly 'border.radius': "--ds-border-radius";
400
- readonly 'border.radius.100': "--ds-border-radius-100";
401
- readonly 'border.radius.200': "--ds-border-radius-200";
402
- readonly 'border.radius.300': "--ds-border-radius-300";
403
- readonly 'border.radius.400': "--ds-border-radius-400";
404
- readonly 'border.radius.circle': "--ds-border-radius-circle";
405
- readonly 'border.width': "--ds-border-width";
406
- readonly 'border.width.0': "--ds-border-width-0";
407
- readonly 'border.width.indicator': "--ds-border-width-indicator";
408
- readonly 'border.width.outline': "--ds-border-width-outline";
409
398
  readonly 'space.0': "--ds-space-0";
410
399
  readonly 'space.025': "--ds-space-025";
411
400
  readonly 'space.050': "--ds-space-050";
@@ -453,6 +442,25 @@ declare const tokens: {
453
442
  readonly 'font.family.code': "--ds-font-family-code";
454
443
  readonly 'font.family.brand.heading': "--ds-font-family-brand-heading";
455
444
  readonly 'font.family.brand.body': "--ds-font-family-brand-body";
445
+ readonly 'radius.xsmall': "--ds-radius-xsmall";
446
+ readonly 'radius.small': "--ds-radius-small";
447
+ readonly 'radius.medium': "--ds-radius-medium";
448
+ readonly 'radius.large': "--ds-radius-large";
449
+ readonly 'radius.xlarge': "--ds-radius-xlarge";
450
+ readonly 'radius.full': "--ds-radius-full";
451
+ readonly 'border.radius': "--ds-border-radius";
452
+ readonly 'border.radius.050': "--ds-border-radius-050";
453
+ readonly 'border.radius.100': "--ds-border-radius-100";
454
+ readonly 'border.radius.200': "--ds-border-radius-200";
455
+ readonly 'border.radius.300': "--ds-border-radius-300";
456
+ readonly 'border.radius.400': "--ds-border-radius-400";
457
+ readonly 'border.radius.circle': "--ds-border-radius-circle";
458
+ readonly 'border.width': "--ds-border-width";
459
+ readonly 'border.width.0': "--ds-border-width-0";
460
+ readonly 'border.width.indicator': "--ds-border-width-indicator";
461
+ readonly 'border.width.outline': "--ds-border-width-outline";
462
+ readonly 'border.width.selected': "--ds-border-width-selected";
463
+ readonly 'border.width.focused': "--ds-border-width-focused";
456
464
  };
457
465
  export type CSSTokenMap = {
458
466
  'color.text': 'var(--ds-text)';
@@ -846,17 +854,6 @@ export type CSSTokenMap = {
846
854
  'utility.UNSAFE.textTransformUppercase': 'var(--ds-UNSAFE-textTransformUppercase)';
847
855
  'utility.UNSAFE.transparent': 'var(--ds-UNSAFE-transparent)';
848
856
  'utility.elevation.surface.current': 'var(--ds-elevation-surface-current)';
849
- 'border.radius.050': 'var(--ds-border-radius-050)';
850
- 'border.radius': 'var(--ds-border-radius)';
851
- 'border.radius.100': 'var(--ds-border-radius-100)';
852
- 'border.radius.200': 'var(--ds-border-radius-200)';
853
- 'border.radius.300': 'var(--ds-border-radius-300)';
854
- 'border.radius.400': 'var(--ds-border-radius-400)';
855
- 'border.radius.circle': 'var(--ds-border-radius-circle)';
856
- 'border.width': 'var(--ds-border-width)';
857
- 'border.width.0': 'var(--ds-border-width-0)';
858
- 'border.width.indicator': 'var(--ds-border-width-indicator)';
859
- 'border.width.outline': 'var(--ds-border-width-outline)';
860
857
  'space.0': 'var(--ds-space-0)';
861
858
  'space.025': 'var(--ds-space-025)';
862
859
  'space.050': 'var(--ds-space-050)';
@@ -904,6 +901,25 @@ export type CSSTokenMap = {
904
901
  'font.family.code': 'var(--ds-font-family-code)';
905
902
  'font.family.brand.heading': 'var(--ds-font-family-brand-heading)';
906
903
  'font.family.brand.body': 'var(--ds-font-family-brand-body)';
904
+ 'radius.xsmall': 'var(--ds-radius-xsmall)';
905
+ 'radius.small': 'var(--ds-radius-small)';
906
+ 'radius.medium': 'var(--ds-radius-medium)';
907
+ 'radius.large': 'var(--ds-radius-large)';
908
+ 'radius.xlarge': 'var(--ds-radius-xlarge)';
909
+ 'radius.full': 'var(--ds-radius-full)';
910
+ 'border.radius': 'var(--ds-border-radius)';
911
+ 'border.radius.050': 'var(--ds-border-radius-050)';
912
+ 'border.radius.100': 'var(--ds-border-radius-100)';
913
+ 'border.radius.200': 'var(--ds-border-radius-200)';
914
+ 'border.radius.300': 'var(--ds-border-radius-300)';
915
+ 'border.radius.400': 'var(--ds-border-radius-400)';
916
+ 'border.radius.circle': 'var(--ds-border-radius-circle)';
917
+ 'border.width': 'var(--ds-border-width)';
918
+ 'border.width.0': 'var(--ds-border-width-0)';
919
+ 'border.width.indicator': 'var(--ds-border-width-indicator)';
920
+ 'border.width.outline': 'var(--ds-border-width-outline)';
921
+ 'border.width.selected': 'var(--ds-border-width-selected)';
922
+ 'border.width.focused': 'var(--ds-border-width-focused)';
907
923
  };
908
924
  export type CSSToken = CSSTokenMap[keyof CSSTokenMap];
909
925
  export default tokens;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::70683a619511de03d801680b44fe3e86>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const tokens: ({
7
+ attributes: {
8
+ group: string;
9
+ state: string;
10
+ suggest: string[];
11
+ introduced: string;
12
+ description: string;
13
+ deprecated?: undefined;
14
+ };
15
+ value: string;
16
+ filePath: string;
17
+ isSource: boolean;
18
+ original: {
19
+ attributes: {
20
+ group: string;
21
+ state: string;
22
+ suggest: string[];
23
+ introduced: string;
24
+ description: string;
25
+ deprecated?: undefined;
26
+ };
27
+ value: string;
28
+ };
29
+ name: string;
30
+ path: string[];
31
+ cleanName: string;
32
+ } | {
33
+ attributes: {
34
+ group: string;
35
+ state: string;
36
+ introduced: string;
37
+ deprecated: string;
38
+ description: string;
39
+ suggest?: undefined;
40
+ };
41
+ value: string;
42
+ filePath: string;
43
+ isSource: boolean;
44
+ original: {
45
+ attributes: {
46
+ group: string;
47
+ state: string;
48
+ introduced: string;
49
+ deprecated: string;
50
+ description: string;
51
+ suggest?: undefined;
52
+ };
53
+ value: string;
54
+ };
55
+ name: string;
56
+ path: string[];
57
+ cleanName: string;
58
+ })[];
59
+ export default tokens;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::430e50a41a04b0f7abd0e25105c1912e>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const tokens: ({
7
+ attributes: {
8
+ group: string;
9
+ state: string;
10
+ suggest: string[];
11
+ introduced: string;
12
+ description: string;
13
+ deprecated?: undefined;
14
+ };
15
+ value: string;
16
+ filePath: string;
17
+ isSource: boolean;
18
+ original: {
19
+ attributes: {
20
+ group: string;
21
+ state: string;
22
+ suggest: string[];
23
+ introduced: string;
24
+ description: string;
25
+ deprecated?: undefined;
26
+ };
27
+ value: string;
28
+ };
29
+ name: string;
30
+ path: string[];
31
+ cleanName: string;
32
+ } | {
33
+ attributes: {
34
+ group: string;
35
+ state: string;
36
+ introduced: string;
37
+ deprecated: string;
38
+ description: string;
39
+ suggest?: undefined;
40
+ };
41
+ value: string;
42
+ filePath: string;
43
+ isSource: boolean;
44
+ original: {
45
+ attributes: {
46
+ group: string;
47
+ state: string;
48
+ introduced: string;
49
+ deprecated: string;
50
+ description: string;
51
+ suggest?: undefined;
52
+ };
53
+ value: string;
54
+ };
55
+ name: string;
56
+ path: string[];
57
+ cleanName: string;
58
+ })[];
59
+ export default tokens;
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c6c0b8c2ca5e429f25fe4035e374a0c5>>
3
+ * @codegen <<SignedSource::f755c03a62ad1c3a129f21e10a2669d5>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
7
7
  attributes: {
8
8
  group: string;
9
9
  state: string;
10
+ suggest: string[];
10
11
  introduced: string;
11
12
  description: string;
12
- suggest?: undefined;
13
+ deprecated?: undefined;
13
14
  };
14
15
  value: string;
15
16
  filePath: string;
@@ -18,9 +19,10 @@ declare const tokens: ({
18
19
  attributes: {
19
20
  group: string;
20
21
  state: string;
22
+ suggest: string[];
21
23
  introduced: string;
22
24
  description: string;
23
- suggest?: undefined;
25
+ deprecated?: undefined;
24
26
  };
25
27
  value: string;
26
28
  };
@@ -31,9 +33,10 @@ declare const tokens: ({
31
33
  attributes: {
32
34
  group: string;
33
35
  state: string;
34
- suggest: string[];
35
36
  introduced: string;
37
+ deprecated: string;
36
38
  description: string;
39
+ suggest?: undefined;
37
40
  };
38
41
  value: string;
39
42
  filePath: string;
@@ -42,9 +45,10 @@ declare const tokens: ({
42
45
  attributes: {
43
46
  group: string;
44
47
  state: string;
45
- suggest: string[];
46
48
  introduced: string;
49
+ deprecated: string;
47
50
  description: string;
51
+ suggest?: undefined;
48
52
  };
49
53
  value: string;
50
54
  };