@atlaskit/tokens 0.10.12 → 0.10.15

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 (107) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/css/atlassian-dark.css +4 -4
  3. package/css/atlassian-light.css +4 -4
  4. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1953 -0
  5. package/dist/cjs/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  6. package/dist/cjs/artifacts/rename-mapping.js +3 -3
  7. package/dist/cjs/artifacts/token-default-values.js +4 -4
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +15 -11
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +15 -11
  10. package/dist/cjs/constants.js +3 -3
  11. package/dist/cjs/entry-points/palettes-raw.js +2 -2
  12. package/dist/cjs/get-token.js +1 -1
  13. package/dist/cjs/palettes/legacy-palette.js +818 -0
  14. package/dist/cjs/{tokens → palettes}/palette.js +0 -0
  15. package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -1
  16. package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -1
  17. package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -1
  18. package/dist/cjs/tokens/atlassian-light/color/background.js +1 -1
  19. package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -1
  20. package/dist/cjs/tokens/atlassian-light/color/text.js +1 -1
  21. package/dist/cjs/tokens/default/deprecated/deprecated.js +4 -2
  22. package/dist/cjs/version.json +1 -1
  23. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +1945 -0
  24. package/dist/es2019/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  25. package/dist/es2019/artifacts/rename-mapping.js +3 -3
  26. package/dist/es2019/artifacts/token-default-values.js +4 -4
  27. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +15 -11
  28. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +15 -11
  29. package/dist/es2019/constants.js +1 -1
  30. package/dist/es2019/entry-points/palettes-raw.js +1 -1
  31. package/dist/es2019/get-token.js +1 -1
  32. package/dist/es2019/palettes/legacy-palette.js +810 -0
  33. package/dist/es2019/{tokens → palettes}/palette.js +0 -0
  34. package/dist/es2019/tokens/atlassian-dark/color/background.js +1 -1
  35. package/dist/es2019/tokens/atlassian-dark/color/icon.js +1 -1
  36. package/dist/es2019/tokens/atlassian-dark/color/text.js +1 -1
  37. package/dist/es2019/tokens/atlassian-light/color/background.js +1 -1
  38. package/dist/es2019/tokens/atlassian-light/color/icon.js +1 -1
  39. package/dist/es2019/tokens/atlassian-light/color/text.js +1 -1
  40. package/dist/es2019/tokens/default/deprecated/deprecated.js +4 -2
  41. package/dist/es2019/version.json +1 -1
  42. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +1945 -0
  43. package/dist/esm/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  44. package/dist/esm/artifacts/rename-mapping.js +3 -3
  45. package/dist/esm/artifacts/token-default-values.js +4 -4
  46. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +15 -11
  47. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +15 -11
  48. package/dist/esm/constants.js +1 -1
  49. package/dist/esm/entry-points/palettes-raw.js +1 -1
  50. package/dist/esm/get-token.js +1 -1
  51. package/dist/esm/palettes/legacy-palette.js +810 -0
  52. package/dist/esm/{tokens → palettes}/palette.js +0 -0
  53. package/dist/esm/tokens/atlassian-dark/color/background.js +1 -1
  54. package/dist/esm/tokens/atlassian-dark/color/icon.js +1 -1
  55. package/dist/esm/tokens/atlassian-dark/color/text.js +1 -1
  56. package/dist/esm/tokens/atlassian-light/color/background.js +1 -1
  57. package/dist/esm/tokens/atlassian-light/color/icon.js +1 -1
  58. package/dist/esm/tokens/atlassian-light/color/text.js +1 -1
  59. package/dist/esm/tokens/default/deprecated/deprecated.js +4 -2
  60. package/dist/esm/version.json +1 -1
  61. package/dist/types/artifacts/{palettes-raw.d.ts → palettes-raw/legacy-palette.d.ts} +1 -1
  62. package/dist/types/artifacts/palettes-raw/palette.d.ts +24 -0
  63. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  64. package/dist/types/artifacts/token-default-values.d.ts +4 -4
  65. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
  66. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
  67. package/dist/types/constants.d.ts +4 -1
  68. package/dist/types/entry-points/palettes-raw.d.ts +1 -1
  69. package/dist/types/palettes/legacy-palette.d.ts +10 -0
  70. package/dist/types/palettes/palette.d.ts +5 -0
  71. package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -1
  72. package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -1
  73. package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -1
  74. package/dist/types/tokens/atlassian-dark/color/icon.d.ts +2 -1
  75. package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +2 -1
  76. package/dist/types/tokens/atlassian-dark/color/skeleton.d.ts +2 -1
  77. package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -1
  78. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +2 -1
  79. package/dist/types/tokens/atlassian-dark/elevation/shadow.d.ts +2 -1
  80. package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +2 -1
  81. package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
  82. package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -1
  83. package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -1
  84. package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -1
  85. package/dist/types/tokens/atlassian-light/color/icon.d.ts +2 -1
  86. package/dist/types/tokens/atlassian-light/color/interaction.d.ts +2 -1
  87. package/dist/types/tokens/atlassian-light/color/skeleton.d.ts +2 -1
  88. package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -1
  89. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +2 -1
  90. package/dist/types/tokens/atlassian-light/elevation/shadow.d.ts +2 -1
  91. package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +2 -1
  92. package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
  93. package/dist/types/tokens/default/color/accent.d.ts +2 -1
  94. package/dist/types/tokens/default/color/background.d.ts +2 -1
  95. package/dist/types/tokens/default/color/border.d.ts +2 -1
  96. package/dist/types/tokens/default/color/icon.d.ts +2 -1
  97. package/dist/types/tokens/default/color/interaction.d.ts +2 -1
  98. package/dist/types/tokens/default/color/skeleton.d.ts +2 -1
  99. package/dist/types/tokens/default/color/text.d.ts +2 -1
  100. package/dist/types/tokens/default/deprecated/deprecated.d.ts +2 -1
  101. package/dist/types/tokens/default/elevation/shadow.d.ts +2 -1
  102. package/dist/types/tokens/default/elevation/surface.d.ts +2 -1
  103. package/dist/types/tokens/default/utility/utility.d.ts +1 -1
  104. package/dist/types/types.d.ts +308 -426
  105. package/dist/types/utils/color-detection.d.ts +1 -1
  106. package/package.json +4 -4
  107. package/dist/types/tokens/palette.d.ts +0 -3
File without changes
@@ -15,7 +15,7 @@ var color = {
15
15
  },
16
16
  background: {
17
17
  disabled: {
18
- value: 'DN200A'
18
+ value: 'DN100A'
19
19
  },
20
20
  inverse: {
21
21
  subtle: {
@@ -11,7 +11,7 @@ var color = {
11
11
  value: 'DN0'
12
12
  },
13
13
  disabled: {
14
- value: 'DN500'
14
+ value: 'DN400A'
15
15
  },
16
16
  brand: {
17
17
  value: 'B400'
@@ -14,7 +14,7 @@ var color = {
14
14
  value: 'DN0'
15
15
  },
16
16
  disabled: {
17
- value: 'DN500'
17
+ value: 'DN400A'
18
18
  },
19
19
  brand: {
20
20
  value: 'B400'
@@ -15,7 +15,7 @@ var color = {
15
15
  },
16
16
  background: {
17
17
  disabled: {
18
- value: 'N200A'
18
+ value: 'N100A'
19
19
  },
20
20
  inverse: {
21
21
  subtle: {
@@ -11,7 +11,7 @@ var color = {
11
11
  value: 'N0'
12
12
  },
13
13
  disabled: {
14
- value: 'N500'
14
+ value: 'N400A'
15
15
  },
16
16
  brand: {
17
17
  value: 'B700'
@@ -14,7 +14,7 @@ var color = {
14
14
  value: 'N0'
15
15
  },
16
16
  disabled: {
17
- value: 'N500'
17
+ value: 'N400A'
18
18
  },
19
19
  brand: {
20
20
  value: 'B700'
@@ -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.12",
3
+ "version": "0.10.15",
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';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Token names mapped to their value in the default Atlassian theme ('light')
5
5
  *
6
- * @codegen <<SignedSource::621a5ab1342cac3bcd8fb719515b731c>>
6
+ * @codegen <<SignedSource::bf85c12f621d58ae427a6fd99c62fd24>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  declare const defaultTokenValues: {
@@ -28,7 +28,7 @@ declare const defaultTokenValues: {
28
28
  readonly 'color.text': "#172B4D";
29
29
  readonly 'color.text.subtle': "#44546F";
30
30
  readonly 'color.text.subtlest': "#626F86";
31
- readonly 'color.text.disabled': "#8993A5";
31
+ readonly 'color.text.disabled': "#091E424F";
32
32
  readonly 'color.text.inverse': "#FFFFFF";
33
33
  readonly 'color.text.brand': "#0C66E4";
34
34
  readonly 'color.text.selected': "#0C66E4";
@@ -57,7 +57,7 @@ declare const defaultTokenValues: {
57
57
  readonly 'color.icon': "#44546F";
58
58
  readonly 'color.icon.subtle': "#626F86";
59
59
  readonly 'color.icon.inverse': "#FFFFFF";
60
- readonly 'color.icon.disabled': "#8993A5";
60
+ readonly 'color.icon.disabled': "#091E424F";
61
61
  readonly 'color.icon.brand': "#0C66E4";
62
62
  readonly 'color.icon.selected': "#0C66E4";
63
63
  readonly 'color.icon.danger': "#E34935";
@@ -142,7 +142,7 @@ declare const defaultTokenValues: {
142
142
  readonly 'color.background.accent.gray.subtler': "#DCDFE4";
143
143
  readonly 'color.background.accent.gray.subtle': "#8993A5";
144
144
  readonly 'color.background.accent.gray.bolder': "#626F86";
145
- readonly 'color.background.disabled': "#091E420F";
145
+ readonly 'color.background.disabled': "#091E4208";
146
146
  readonly 'color.background.inverse.subtle': "#00000029";
147
147
  readonly 'color.background.inverse.subtle.hovered': "#0000003D";
148
148
  readonly 'color.background.inverse.subtle.pressed': "#00000052";
@@ -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::c45a3bc7ab921b5a279f8b05f859f21b>>
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::3624adf3c629ed50172b90c1d2268662>>
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;