@atlaskit/tokens 0.10.13 → 0.10.16

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 (83) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1953 -0
  3. package/dist/cjs/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  4. package/dist/cjs/artifacts/rename-mapping.js +3 -3
  5. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +9 -5
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +9 -5
  7. package/dist/cjs/constants.js +3 -3
  8. package/dist/cjs/entry-points/palettes-raw.js +2 -2
  9. package/dist/cjs/get-token.js +1 -1
  10. package/dist/cjs/palettes/legacy-palette.js +818 -0
  11. package/dist/cjs/{tokens → palettes}/palette.js +0 -0
  12. package/dist/cjs/tokens/default/deprecated/deprecated.js +4 -2
  13. package/dist/cjs/version.json +1 -1
  14. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +1945 -0
  15. package/dist/es2019/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  16. package/dist/es2019/artifacts/rename-mapping.js +3 -3
  17. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +9 -5
  18. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +9 -5
  19. package/dist/es2019/constants.js +1 -1
  20. package/dist/es2019/entry-points/palettes-raw.js +1 -1
  21. package/dist/es2019/get-token.js +1 -1
  22. package/dist/es2019/palettes/legacy-palette.js +810 -0
  23. package/dist/es2019/{tokens → palettes}/palette.js +0 -0
  24. package/dist/es2019/tokens/default/deprecated/deprecated.js +4 -2
  25. package/dist/es2019/version.json +1 -1
  26. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +1945 -0
  27. package/dist/esm/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  28. package/dist/esm/artifacts/rename-mapping.js +3 -3
  29. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +9 -5
  30. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +9 -5
  31. package/dist/esm/constants.js +1 -1
  32. package/dist/esm/entry-points/palettes-raw.js +1 -1
  33. package/dist/esm/get-token.js +1 -1
  34. package/dist/esm/palettes/legacy-palette.js +810 -0
  35. package/dist/esm/{tokens → palettes}/palette.js +0 -0
  36. package/dist/esm/tokens/default/deprecated/deprecated.js +4 -2
  37. package/dist/esm/version.json +1 -1
  38. package/dist/types/artifacts/{palettes-raw.d.ts → palettes-raw/legacy-palette.d.ts} +1 -1
  39. package/dist/types/artifacts/palettes-raw/palette.d.ts +24 -0
  40. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  41. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
  42. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
  43. package/dist/types/constants.d.ts +4 -1
  44. package/dist/types/entry-points/palettes-raw.d.ts +1 -1
  45. package/dist/types/palettes/legacy-palette.d.ts +10 -0
  46. package/dist/types/palettes/palette.d.ts +5 -0
  47. package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -1
  48. package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -1
  49. package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -1
  50. package/dist/types/tokens/atlassian-dark/color/icon.d.ts +2 -1
  51. package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +2 -1
  52. package/dist/types/tokens/atlassian-dark/color/skeleton.d.ts +2 -1
  53. package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -1
  54. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +2 -1
  55. package/dist/types/tokens/atlassian-dark/elevation/shadow.d.ts +2 -1
  56. package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +2 -1
  57. package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
  58. package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -1
  59. package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -1
  60. package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -1
  61. package/dist/types/tokens/atlassian-light/color/icon.d.ts +2 -1
  62. package/dist/types/tokens/atlassian-light/color/interaction.d.ts +2 -1
  63. package/dist/types/tokens/atlassian-light/color/skeleton.d.ts +2 -1
  64. package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -1
  65. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +2 -1
  66. package/dist/types/tokens/atlassian-light/elevation/shadow.d.ts +2 -1
  67. package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +2 -1
  68. package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
  69. package/dist/types/tokens/default/color/accent.d.ts +2 -1
  70. package/dist/types/tokens/default/color/background.d.ts +2 -1
  71. package/dist/types/tokens/default/color/border.d.ts +2 -1
  72. package/dist/types/tokens/default/color/icon.d.ts +2 -1
  73. package/dist/types/tokens/default/color/interaction.d.ts +2 -1
  74. package/dist/types/tokens/default/color/skeleton.d.ts +2 -1
  75. package/dist/types/tokens/default/color/text.d.ts +2 -1
  76. package/dist/types/tokens/default/deprecated/deprecated.d.ts +2 -1
  77. package/dist/types/tokens/default/elevation/shadow.d.ts +2 -1
  78. package/dist/types/tokens/default/elevation/surface.d.ts +2 -1
  79. package/dist/types/tokens/default/utility/utility.d.ts +1 -1
  80. package/dist/types/types.d.ts +308 -426
  81. package/dist/types/utils/color-detection.d.ts +1 -1
  82. package/package.json +6 -6
  83. package/dist/types/tokens/palette.d.ts +0 -3
File without changes
@@ -1129,9 +1129,10 @@ var color = {
1129
1129
  hovered: {
1130
1130
  attributes: {
1131
1131
  group: 'paint',
1132
- state: 'deprecated',
1132
+ state: 'deleted',
1133
1133
  introduced: '0.6.0',
1134
1134
  deprecated: '0.10.8',
1135
+ deleted: '0.10.13',
1135
1136
  description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1136
1137
  replacement: 'color.background.inverse.subtle.hovered'
1137
1138
  }
@@ -1139,9 +1140,10 @@ var color = {
1139
1140
  pressed: {
1140
1141
  attributes: {
1141
1142
  group: 'paint',
1142
- state: 'deprecated',
1143
+ state: 'deleted',
1143
1144
  introduced: '0.6.0',
1144
1145
  deprecated: '0.10.8 ',
1146
+ deleted: '0.10.13',
1145
1147
  description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1146
1148
  replacement: 'color.background.inverse.subtle.pressed'
1147
1149
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.13",
3
+ "version": "0.10.16",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -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::4d0639c90d18380e142efed6da97a9b0>>
3
+ * @codegen <<SignedSource::05854e32ee4e25d83f2d3fbdb82d5739>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
@@ -0,0 +1,24 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::48a859c3e6fb79202e5702421d1b6254>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const tokens: {
7
+ value: string;
8
+ attributes: {
9
+ group: string;
10
+ category: string;
11
+ };
12
+ filePath: string;
13
+ isSource: boolean;
14
+ original: {
15
+ value: string;
16
+ attributes: {
17
+ group: string;
18
+ category: string;
19
+ };
20
+ };
21
+ name: string;
22
+ path: string[];
23
+ }[];
24
+ export default 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::3b33fd6cb94d4a40b7b5790bebd50f60>>
15
+ * @codegen <<SignedSource::afc1ce63c4571109e333891b70af2ae8>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
  import tokens from './token-names';
@@ -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::2d1a0dfbc05adf2fcb798f5a600f0b29>>
3
+ * @codegen <<SignedSource::3fef3c7e03c920ccf46adb8e5016f1f9>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,33 +57,6 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
- } | {
61
- attributes: {
62
- group: string;
63
- state: string;
64
- introduced: string;
65
- deprecated: string;
66
- description: string;
67
- replacement: string;
68
- deleted?: undefined;
69
- };
70
- value: string;
71
- filePath: string;
72
- isSource: boolean;
73
- original: {
74
- attributes: {
75
- group: string;
76
- state: string;
77
- introduced: string;
78
- deprecated: string;
79
- description: string;
80
- replacement: string;
81
- deleted?: undefined;
82
- };
83
- value: string;
84
- };
85
- name: string;
86
- path: string[];
87
60
  } | {
88
61
  attributes: {
89
62
  group: string;
@@ -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::fc44c853b0acd381a2c5fd8f63ae1bf6>>
3
+ * @codegen <<SignedSource::f6a9d19d9e568ee23ce24a7127ceb09c>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,33 +57,6 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
- } | {
61
- attributes: {
62
- group: string;
63
- state: string;
64
- introduced: string;
65
- deprecated: string;
66
- description: string;
67
- replacement: string;
68
- deleted?: undefined;
69
- };
70
- value: string;
71
- filePath: string;
72
- isSource: boolean;
73
- original: {
74
- attributes: {
75
- group: string;
76
- state: string;
77
- introduced: string;
78
- deprecated: string;
79
- description: string;
80
- replacement: string;
81
- deleted?: undefined;
82
- };
83
- value: string;
84
- };
85
- name: string;
86
- path: string[];
87
60
  } | {
88
61
  attributes: {
89
62
  group: string;
@@ -2,5 +2,8 @@ export declare const THEMES: readonly ["light", "dark"];
2
2
  export declare const THEME_DATA_ATTRIBUTE = "data-theme";
3
3
  export declare const DEFAULT_THEME = "light";
4
4
  export declare const CSS_PREFIX = "ds";
5
- export declare const LONG_SHORT_MAPPING: Record<string, typeof THEMES[number]>;
5
+ export declare const THEME_NAME_MAP: {
6
+ 'atlassian-light': string;
7
+ 'atlassian-dark': string;
8
+ };
6
9
  export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
@@ -1 +1 @@
1
- export { default } from '../artifacts/palettes-raw';
1
+ export { default } from '../artifacts/palettes-raw/palette';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Legacy color palette sourced from: packages/design-system/theme/src/colors.tsx
3
+ *
4
+ * This palette should be exclusively used for backwards compatible themes
5
+ */
6
+ import type { PaletteColorTokenSchema } from '../types';
7
+ declare type PaletteValues = 'R50' | 'R75' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'Y50' | 'Y75' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'G50' | 'G75' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'B50' | 'B75' | 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'P50' | 'P75' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'T50' | 'T75' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'N0' | 'N10' | 'N20' | 'N30' | 'N40' | 'N50' | 'N60' | 'N70' | 'N80' | 'N90' | 'N100' | 'N200' | 'N300' | 'N400' | 'N500' | 'N600' | 'N700' | 'N800' | 'N900' | 'N10A' | 'N20A' | 'N30A' | 'N40A' | 'N50A' | 'N60A' | 'N70A' | 'N80A' | 'N90A' | 'N100A' | 'N200A' | 'N300A' | 'N400A' | 'N500A' | 'N600A' | 'N700A' | 'N800A' | 'DN900' | 'DN800' | 'DN700' | 'DN600' | 'DN500' | 'DN400' | 'DN300' | 'DN200' | 'DN100' | 'DN90' | 'DN80' | 'DN70' | 'DN60' | 'DN50' | 'DN40' | 'DN30' | 'DN20' | 'DN10' | 'DN0' | 'DN800A' | 'DN700A' | 'DN600A' | 'DN500A' | 'DN400A' | 'DN300A' | 'DN200A' | 'DN100A' | 'DN90A' | 'DN80A' | 'DN70A' | 'DN60A' | 'DN50A' | 'DN40A' | 'DN30A' | 'DN20A' | 'DN10' | 'DN10A';
8
+ export declare type BaseToken = keyof PaletteColorTokenSchema<PaletteValues>['color']['palette'];
9
+ declare const palette: PaletteColorTokenSchema<PaletteValues>;
10
+ export default palette;
@@ -0,0 +1,5 @@
1
+ import type { PaletteColorTokenSchema } from '../types';
2
+ declare type PaletteValues = 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'B600' | 'B700' | 'B800' | 'B900' | 'B1000' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'R600' | 'R700' | 'R800' | 'R900' | 'R1000' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'Y600' | 'Y700' | 'Y800' | 'Y900' | 'Y1000' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'G600' | 'G700' | 'G800' | 'G900' | 'G1000' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'P600' | 'P700' | 'P800' | 'P900' | 'P1000' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'T600' | 'T700' | 'T800' | 'T900' | 'T1000' | 'O100' | 'O200' | 'O300' | 'O400' | 'O500' | 'O600' | 'O700' | 'O800' | 'O900' | 'O1000' | 'M100' | 'M200' | 'M300' | 'M400' | 'M500' | 'M600' | 'M700' | 'M800' | 'M900' | 'M1000' | 'DN-100' | 'DN-100A' | 'DN0' | 'DN100' | 'DN100A' | 'DN200' | 'DN200A' | 'DN300' | 'DN300A' | 'DN400' | 'DN400A' | 'DN500' | 'DN500A' | 'DN600' | 'DN700' | 'DN800' | 'DN900' | 'DN1000' | 'DN1100' | 'N0' | 'N100' | 'N100A' | 'N200' | 'N200A' | 'N300' | 'N300A' | 'N400' | 'N400A' | 'N500' | 'N500A' | 'N600' | 'N700' | 'N800' | 'N900' | 'N1000' | 'N1100';
3
+ export declare type BaseToken = keyof PaletteColorTokenSchema<PaletteValues>['color']['palette'];
4
+ declare const palette: PaletteColorTokenSchema<PaletteValues>;
5
+ export default palette;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<AccentColorTokenSchema>;
3
+ declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<BackgroundColorTokenSchema>;
3
+ declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<BorderColorTokenSchema>;
3
+ declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { IconColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<IconColorTokenSchema>;
3
+ declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { InteractionColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<InteractionColorTokenSchema>;
3
+ declare const color: ValueSchema<InteractionColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { SkeletonColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<SkeletonColorTokenSchema>;
3
+ declare const color: ValueSchema<SkeletonColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { TextColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<TextColorTokenSchema>;
3
+ declare const color: ValueSchema<TextColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { DeprecatedTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<DeprecatedTokenSchema>;
3
+ declare const color: ValueSchema<DeprecatedTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { ShadowTokenSchema, ValueSchema } from '../../../types';
2
- declare const shadow: ValueSchema<ShadowTokenSchema>;
3
+ declare const shadow: ValueSchema<ShadowTokenSchema<BaseToken>>;
3
4
  export default shadow;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { SurfaceTokenSchema, ValueSchema } from '../../../types';
2
- declare const elevation: ValueSchema<SurfaceTokenSchema>;
3
+ declare const elevation: ValueSchema<SurfaceTokenSchema<BaseToken>>;
3
4
  export default elevation;
@@ -1,5 +1,5 @@
1
1
  import type { UtilTokenSchema, ValueSchema } from '../../../types';
2
2
  declare const _default: {
3
- utility: ValueSchema<UtilTokenSchema>;
3
+ utility: ValueSchema<UtilTokenSchema<"R100" | "R200" | "R300" | "R400" | "R500" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G100" | "G200" | "G300" | "G400" | "G500" | "B100" | "B200" | "B300" | "B400" | "B500" | "P100" | "P200" | "P300" | "P400" | "P500" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN0" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "B600" | "B700" | "B800" | "B900" | "B1000" | "R600" | "R700" | "R800" | "R900" | "R1000" | "Y600" | "Y700" | "Y800" | "Y900" | "Y1000" | "G600" | "G700" | "G800" | "G900" | "G1000" | "P600" | "P700" | "P800" | "P900" | "P1000" | "T600" | "T700" | "T800" | "T900" | "T1000" | "O100" | "O200" | "O300" | "O400" | "O500" | "O600" | "O700" | "O800" | "O900" | "O1000" | "M100" | "M200" | "M300" | "M400" | "M500" | "M600" | "M700" | "M800" | "M900" | "M1000" | "DN-100" | "DN-100A" | "DN1000" | "DN1100" | "N1000" | "N1100">>;
4
4
  };
5
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<AccentColorTokenSchema>;
3
+ declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<BackgroundColorTokenSchema>;
3
+ declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<BorderColorTokenSchema>;
3
+ declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { IconColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<IconColorTokenSchema>;
3
+ declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { InteractionColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<InteractionColorTokenSchema>;
3
+ declare const color: ValueSchema<InteractionColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { SkeletonColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<SkeletonColorTokenSchema>;
3
+ declare const color: ValueSchema<SkeletonColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { TextColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<TextColorTokenSchema>;
3
+ declare const color: ValueSchema<TextColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { DeprecatedTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<DeprecatedTokenSchema>;
3
+ declare const color: ValueSchema<DeprecatedTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { ShadowTokenSchema, ValueSchema } from '../../../types';
2
- declare const shadow: ValueSchema<ShadowTokenSchema>;
3
+ declare const shadow: ValueSchema<ShadowTokenSchema<BaseToken>>;
3
4
  export default shadow;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { SurfaceTokenSchema, ValueSchema } from '../../../types';
2
- declare const elevation: ValueSchema<SurfaceTokenSchema>;
3
+ declare const elevation: ValueSchema<SurfaceTokenSchema<BaseToken>>;
3
4
  export default elevation;
@@ -1,5 +1,5 @@
1
1
  import type { UtilTokenSchema, ValueSchema } from '../../../types';
2
2
  declare const _default: {
3
- utility: ValueSchema<UtilTokenSchema>;
3
+ utility: ValueSchema<UtilTokenSchema<"R100" | "R200" | "R300" | "R400" | "R500" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G100" | "G200" | "G300" | "G400" | "G500" | "B100" | "B200" | "B300" | "B400" | "B500" | "P100" | "P200" | "P300" | "P400" | "P500" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN0" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "B600" | "B700" | "B800" | "B900" | "B1000" | "R600" | "R700" | "R800" | "R900" | "R1000" | "Y600" | "Y700" | "Y800" | "Y900" | "Y1000" | "G600" | "G700" | "G800" | "G900" | "G1000" | "P600" | "P700" | "P800" | "P900" | "P1000" | "T600" | "T700" | "T800" | "T900" | "T1000" | "O100" | "O200" | "O300" | "O400" | "O500" | "O600" | "O700" | "O800" | "O900" | "O1000" | "M100" | "M200" | "M300" | "M400" | "M500" | "M600" | "M700" | "M800" | "M900" | "M1000" | "DN-100" | "DN-100A" | "DN1000" | "DN1100" | "N1000" | "N1100">>;
4
4
  };
5
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AccentColorTokenSchema, AttributeSchema } from '../../../types';
2
- declare const color: AttributeSchema<AccentColorTokenSchema>;
3
+ declare const color: AttributeSchema<AccentColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, BackgroundColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<BackgroundColorTokenSchema>;
3
+ declare const color: AttributeSchema<BackgroundColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, BorderColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<BorderColorTokenSchema>;
3
+ declare const color: AttributeSchema<BorderColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, IconColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<IconColorTokenSchema>;
3
+ declare const color: AttributeSchema<IconColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, InteractionColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<InteractionColorTokenSchema>;
3
+ declare const color: AttributeSchema<InteractionColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, SkeletonColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<SkeletonColorTokenSchema>;
3
+ declare const color: AttributeSchema<SkeletonColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, TextColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<TextColorTokenSchema>;
3
+ declare const color: AttributeSchema<TextColorTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, DeprecatedTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<DeprecatedTokenSchema>;
3
+ declare const color: AttributeSchema<DeprecatedTokenSchema<BaseToken>>;
3
4
  export default color;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, ShadowTokenSchema } from '../../../types';
2
- declare const shadow: AttributeSchema<ShadowTokenSchema>;
3
+ declare const shadow: AttributeSchema<ShadowTokenSchema<BaseToken>>;
3
4
  export default shadow;
@@ -1,3 +1,4 @@
1
+ import type { BaseToken } from '../../../palettes/palette';
1
2
  import type { AttributeSchema, SurfaceTokenSchema } from '../../../types';
2
- declare const shadow: AttributeSchema<SurfaceTokenSchema>;
3
+ declare const shadow: AttributeSchema<SurfaceTokenSchema<BaseToken>>;
3
4
  export default shadow;
@@ -1,5 +1,5 @@
1
1
  import type { AttributeSchema, UtilTokenSchema } from '../../../types';
2
2
  declare const _default: {
3
- utility: AttributeSchema<UtilTokenSchema>;
3
+ utility: AttributeSchema<UtilTokenSchema<"R100" | "R200" | "R300" | "R400" | "R500" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G100" | "G200" | "G300" | "G400" | "G500" | "B100" | "B200" | "B300" | "B400" | "B500" | "P100" | "P200" | "P300" | "P400" | "P500" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN0" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "B600" | "B700" | "B800" | "B900" | "B1000" | "R600" | "R700" | "R800" | "R900" | "R1000" | "Y600" | "Y700" | "Y800" | "Y900" | "Y1000" | "G600" | "G700" | "G800" | "G900" | "G1000" | "P600" | "P700" | "P800" | "P900" | "P1000" | "T600" | "T700" | "T800" | "T900" | "T1000" | "O100" | "O200" | "O300" | "O400" | "O500" | "O600" | "O700" | "O800" | "O900" | "O1000" | "M100" | "M200" | "M300" | "M400" | "M500" | "M600" | "M700" | "M800" | "M900" | "M1000" | "DN-100" | "DN-100A" | "DN1000" | "DN1100" | "N1000" | "N1100">>;
4
4
  };
5
5
  export default _default;