@vellira-ui/tokens 2.103.0 → 2.103.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/component-token-dependencies.d.ts +140 -0
  2. package/dist/component-token-dependencies.d.ts.map +1 -0
  3. package/dist/component-token-dependencies.js +181 -0
  4. package/dist/dark/components/accordion.d.ts +1 -1
  5. package/dist/dark/components/accordion.d.ts.map +1 -1
  6. package/dist/dark/components/accordion.js +1 -1
  7. package/dist/dark/components/button.d.ts +15 -15
  8. package/dist/dark/components/button.d.ts.map +1 -1
  9. package/dist/dark/components/button.js +3 -3
  10. package/dist/dark/components/checkbox.d.ts +15 -15
  11. package/dist/dark/components/checkbox.d.ts.map +1 -1
  12. package/dist/dark/components/checkbox.js +3 -3
  13. package/dist/dark/components/contextMenu.js +1 -1
  14. package/dist/dark/components/dropdown.d.ts.map +1 -1
  15. package/dist/dark/components/dropdown.js +5 -5
  16. package/dist/dark/components/formField.d.ts.map +1 -1
  17. package/dist/dark/components/formField.js +6 -1
  18. package/dist/dark/components/input.d.ts +45 -45
  19. package/dist/dark/components/input.d.ts.map +1 -1
  20. package/dist/dark/components/input.js +6 -6
  21. package/dist/dark/components/modal.js +1 -1
  22. package/dist/dark/components/popover.js +1 -1
  23. package/dist/dark/components/radio.d.ts +15 -15
  24. package/dist/dark/components/radio.d.ts.map +1 -1
  25. package/dist/dark/components/radio.js +3 -3
  26. package/dist/dark/components/radioGroup.js +1 -1
  27. package/dist/dark/components/select.d.ts +135 -135
  28. package/dist/dark/components/select.d.ts.map +1 -1
  29. package/dist/dark/components/select.js +6 -6
  30. package/dist/dark/components/switch.d.ts +1 -1
  31. package/dist/dark/components/switch.d.ts.map +1 -1
  32. package/dist/dark/components/switch.js +1 -1
  33. package/dist/dark/components/tabs.d.ts +1 -1
  34. package/dist/dark/components/tabs.js +1 -1
  35. package/dist/dark/components/tooltip.d.ts +1 -1
  36. package/dist/dark/components/tooltip.d.ts.map +1 -1
  37. package/dist/dark/components/tooltip.js +1 -1
  38. package/dist/factories/components/createAccordionTokens.d.ts.map +1 -0
  39. package/dist/factories/components/createButtonTokens.d.ts +5 -0
  40. package/dist/factories/components/createButtonTokens.d.ts.map +1 -0
  41. package/dist/factories/components/createButtonTokens.js +4 -0
  42. package/dist/factories/components/createCheckboxTokens.d.ts +5 -0
  43. package/dist/factories/components/createCheckboxTokens.d.ts.map +1 -0
  44. package/dist/factories/components/createCheckboxTokens.js +4 -0
  45. package/dist/factories/{createContextMenuTokens.d.ts → components/createContextMenuTokens.d.ts} +3 -3
  46. package/dist/factories/components/createContextMenuTokens.d.ts.map +1 -0
  47. package/dist/factories/{createContextMenuTokens.js → components/createContextMenuTokens.js} +2 -2
  48. package/dist/factories/components/createDropdownTokens.d.ts +4 -0
  49. package/dist/factories/components/createDropdownTokens.d.ts.map +1 -0
  50. package/dist/factories/components/createDropdownTokens.js +4 -0
  51. package/dist/factories/{createFormFieldTokens.d.ts → components/createFormFieldTokens.d.ts} +7 -1
  52. package/dist/factories/components/createFormFieldTokens.d.ts.map +1 -0
  53. package/dist/factories/{createFormFieldTokens.js → components/createFormFieldTokens.js} +6 -3
  54. package/dist/factories/components/createInputTokens.d.ts +5 -0
  55. package/dist/factories/components/createInputTokens.d.ts.map +1 -0
  56. package/dist/factories/components/createInputTokens.js +4 -0
  57. package/dist/factories/{createModalTokens.d.ts → components/createModalTokens.d.ts} +3 -3
  58. package/dist/factories/components/createModalTokens.d.ts.map +1 -0
  59. package/dist/factories/{createModalTokens.js → components/createModalTokens.js} +2 -2
  60. package/dist/factories/{createPopoverTokens.d.ts → components/createPopoverTokens.d.ts} +2 -2
  61. package/dist/factories/components/createPopoverTokens.d.ts.map +1 -0
  62. package/dist/factories/{createPopoverTokens.js → components/createPopoverTokens.js} +1 -1
  63. package/dist/factories/components/createRadioGroupTokens.d.ts.map +1 -0
  64. package/dist/factories/components/createRadioTokens.d.ts +5 -0
  65. package/dist/factories/components/createRadioTokens.d.ts.map +1 -0
  66. package/dist/factories/components/createRadioTokens.js +4 -0
  67. package/dist/factories/components/createSelectTokens.d.ts +4 -0
  68. package/dist/factories/components/createSelectTokens.d.ts.map +1 -0
  69. package/dist/factories/components/createSelectTokens.js +4 -0
  70. package/dist/factories/components/createSwitchTokens.d.ts.map +1 -0
  71. package/dist/factories/components/createTabsTokens.d.ts.map +1 -0
  72. package/dist/factories/{createTooltipTokens.d.ts → components/createTooltipTokens.d.ts} +1 -1
  73. package/dist/factories/components/createTooltipTokens.d.ts.map +1 -0
  74. package/dist/factories/{createTooltipTokens.js → components/createTooltipTokens.js} +1 -1
  75. package/dist/factories/index.d.ts +15 -10
  76. package/dist/factories/index.d.ts.map +1 -1
  77. package/dist/factories/index.js +15 -10
  78. package/dist/factories/{createButtonPalette.d.ts → palettes/createButtonIntentPalette.d.ts} +2 -2
  79. package/dist/factories/palettes/createButtonIntentPalette.d.ts.map +1 -0
  80. package/dist/factories/{createButtonPalette.js → palettes/createButtonIntentPalette.js} +1 -1
  81. package/dist/factories/{createCheckboxPalette.d.ts → palettes/createCheckboxIntentPalette.d.ts} +2 -2
  82. package/dist/factories/palettes/createCheckboxIntentPalette.d.ts.map +1 -0
  83. package/dist/factories/palettes/createCheckboxIntentPalette.js +6 -0
  84. package/dist/factories/{createDropdownPalette.d.ts → palettes/createDropdownIntentPalette.d.ts} +3 -3
  85. package/dist/factories/palettes/createDropdownIntentPalette.d.ts.map +1 -0
  86. package/dist/factories/{createDropdownPalette.js → palettes/createDropdownIntentPalette.js} +1 -1
  87. package/dist/factories/{createInputPalette.d.ts → palettes/createInputIntentPalette.d.ts} +2 -2
  88. package/dist/factories/palettes/createInputIntentPalette.d.ts.map +1 -0
  89. package/dist/factories/{createInputPalette.js → palettes/createInputIntentPalette.js} +2 -2
  90. package/dist/factories/{createRadioPalette.d.ts → palettes/createRadioIntentPalette.d.ts} +2 -2
  91. package/dist/factories/palettes/createRadioIntentPalette.d.ts.map +1 -0
  92. package/dist/factories/{createRadioPalette.js → palettes/createRadioIntentPalette.js} +2 -2
  93. package/dist/factories/{createSelectPalette.d.ts → palettes/createSelectIntentPalette.d.ts} +30 -30
  94. package/dist/factories/palettes/createSelectIntentPalette.d.ts.map +1 -0
  95. package/dist/factories/{createSelectPalette.js → palettes/createSelectIntentPalette.js} +1 -1
  96. package/dist/factories/shared/componentFocusRing.d.ts.map +1 -0
  97. package/dist/factories/{componentFocusRing.js → shared/componentFocusRing.js} +1 -1
  98. package/dist/highContrast/components/accordion.d.ts +1 -1
  99. package/dist/highContrast/components/accordion.d.ts.map +1 -1
  100. package/dist/highContrast/components/accordion.js +1 -1
  101. package/dist/highContrast/components/button.d.ts +15 -15
  102. package/dist/highContrast/components/button.d.ts.map +1 -1
  103. package/dist/highContrast/components/button.js +3 -3
  104. package/dist/highContrast/components/checkbox.d.ts +15 -15
  105. package/dist/highContrast/components/checkbox.d.ts.map +1 -1
  106. package/dist/highContrast/components/checkbox.js +3 -3
  107. package/dist/highContrast/components/contextMenu.js +1 -1
  108. package/dist/highContrast/components/dropdown.d.ts.map +1 -1
  109. package/dist/highContrast/components/dropdown.js +5 -5
  110. package/dist/highContrast/components/formField.d.ts.map +1 -1
  111. package/dist/highContrast/components/formField.js +6 -1
  112. package/dist/highContrast/components/input.d.ts +45 -45
  113. package/dist/highContrast/components/input.d.ts.map +1 -1
  114. package/dist/highContrast/components/input.js +5 -5
  115. package/dist/highContrast/components/modal.js +1 -1
  116. package/dist/highContrast/components/popover.js +1 -1
  117. package/dist/highContrast/components/radio.d.ts +15 -15
  118. package/dist/highContrast/components/radio.d.ts.map +1 -1
  119. package/dist/highContrast/components/radio.js +3 -3
  120. package/dist/highContrast/components/radioGroup.js +1 -1
  121. package/dist/highContrast/components/select.d.ts +135 -135
  122. package/dist/highContrast/components/select.d.ts.map +1 -1
  123. package/dist/highContrast/components/select.js +6 -6
  124. package/dist/highContrast/components/switch.d.ts +1 -1
  125. package/dist/highContrast/components/switch.d.ts.map +1 -1
  126. package/dist/highContrast/components/switch.js +1 -1
  127. package/dist/highContrast/components/tabs.d.ts +1 -1
  128. package/dist/highContrast/components/tabs.js +1 -1
  129. package/dist/highContrast/components/tooltip.d.ts +1 -1
  130. package/dist/highContrast/components/tooltip.d.ts.map +1 -1
  131. package/dist/highContrast/components/tooltip.js +1 -1
  132. package/dist/light/components/accordion.d.ts +1 -1
  133. package/dist/light/components/accordion.d.ts.map +1 -1
  134. package/dist/light/components/accordion.js +1 -1
  135. package/dist/light/components/button.d.ts +15 -15
  136. package/dist/light/components/button.d.ts.map +1 -1
  137. package/dist/light/components/button.js +3 -3
  138. package/dist/light/components/checkbox.d.ts +15 -15
  139. package/dist/light/components/checkbox.d.ts.map +1 -1
  140. package/dist/light/components/checkbox.js +3 -3
  141. package/dist/light/components/contextMenu.js +1 -1
  142. package/dist/light/components/dropdown.d.ts.map +1 -1
  143. package/dist/light/components/dropdown.js +5 -5
  144. package/dist/light/components/formField.d.ts.map +1 -1
  145. package/dist/light/components/formField.js +6 -1
  146. package/dist/light/components/input.d.ts +45 -45
  147. package/dist/light/components/input.d.ts.map +1 -1
  148. package/dist/light/components/input.js +5 -5
  149. package/dist/light/components/modal.js +1 -1
  150. package/dist/light/components/popover.js +1 -1
  151. package/dist/light/components/radio.d.ts +15 -15
  152. package/dist/light/components/radio.d.ts.map +1 -1
  153. package/dist/light/components/radio.js +3 -3
  154. package/dist/light/components/radioGroup.js +1 -1
  155. package/dist/light/components/select.d.ts +135 -135
  156. package/dist/light/components/select.d.ts.map +1 -1
  157. package/dist/light/components/select.js +6 -6
  158. package/dist/light/components/switch.d.ts +1 -1
  159. package/dist/light/components/switch.d.ts.map +1 -1
  160. package/dist/light/components/switch.js +1 -1
  161. package/dist/light/components/tabs.d.ts +1 -1
  162. package/dist/light/components/tabs.js +1 -1
  163. package/dist/light/components/tooltip.d.ts +1 -1
  164. package/dist/light/components/tooltip.d.ts.map +1 -1
  165. package/dist/light/components/tooltip.js +1 -1
  166. package/dist/preservation/token-migrations.d.ts +4 -4
  167. package/dist/token-architecture.d.ts +23 -23
  168. package/dist/token-architecture.d.ts.map +1 -1
  169. package/dist/token-architecture.js +23 -23
  170. package/package.json +1 -1
  171. package/dist/factories/componentFocusRing.d.ts.map +0 -1
  172. package/dist/factories/createAccordionTokens.d.ts.map +0 -1
  173. package/dist/factories/createButtonPalette.d.ts.map +0 -1
  174. package/dist/factories/createCheckboxPalette.d.ts.map +0 -1
  175. package/dist/factories/createCheckboxPalette.js +0 -6
  176. package/dist/factories/createContextMenuTokens.d.ts.map +0 -1
  177. package/dist/factories/createDropdownPalette.d.ts.map +0 -1
  178. package/dist/factories/createFormFieldTokens.d.ts.map +0 -1
  179. package/dist/factories/createInputPalette.d.ts.map +0 -1
  180. package/dist/factories/createModalTokens.d.ts.map +0 -1
  181. package/dist/factories/createPopoverTokens.d.ts.map +0 -1
  182. package/dist/factories/createRadioGroupTokens.d.ts.map +0 -1
  183. package/dist/factories/createRadioPalette.d.ts.map +0 -1
  184. package/dist/factories/createSelectPalette.d.ts.map +0 -1
  185. package/dist/factories/createSwitchTokens.d.ts.map +0 -1
  186. package/dist/factories/createTabsTokens.d.ts.map +0 -1
  187. package/dist/factories/createTooltipTokens.d.ts.map +0 -1
  188. /package/dist/factories/{createAccordionTokens.d.ts → components/createAccordionTokens.d.ts} +0 -0
  189. /package/dist/factories/{createAccordionTokens.js → components/createAccordionTokens.js} +0 -0
  190. /package/dist/factories/{createRadioGroupTokens.d.ts → components/createRadioGroupTokens.d.ts} +0 -0
  191. /package/dist/factories/{createRadioGroupTokens.js → components/createRadioGroupTokens.js} +0 -0
  192. /package/dist/factories/{createSwitchTokens.d.ts → components/createSwitchTokens.d.ts} +0 -0
  193. /package/dist/factories/{createSwitchTokens.js → components/createSwitchTokens.js} +0 -0
  194. /package/dist/factories/{createTabsTokens.d.ts → components/createTabsTokens.d.ts} +0 -0
  195. /package/dist/factories/{createTabsTokens.js → components/createTabsTokens.js} +0 -0
  196. /package/dist/factories/{componentFocusRing.d.ts → shared/componentFocusRing.d.ts} +0 -0
@@ -244,7 +244,7 @@ export declare const tabs: {
244
244
  };
245
245
  readonly focusRing: string;
246
246
  };
247
- readonly disabled: import("../../factories/createTabsTokens.js").TabsStateTokens;
247
+ readonly disabled: import("../../factories/index.js").TabsStateTokens;
248
248
  readonly list: {
249
249
  border: string;
250
250
  segmentedBg: string;
@@ -1,4 +1,4 @@
1
- import { createTabsPalette, createTabsTokens, } from '../../factories/createTabsTokens.js';
1
+ import { createTabsPalette, createTabsTokens, } from '../../factories/components/createTabsTokens.js';
2
2
  import { colors } from '../../primitives/colors.js';
3
3
  import { withAlpha } from '../../utils/color.js';
4
4
  import { border } from '../semantic/border.js';
@@ -1,2 +1,2 @@
1
- export declare const tooltip: import("../../factories/createTooltipTokens.js").TooltipTokens;
1
+ export declare const tooltip: import("../../factories/index.js").TooltipTokens;
2
2
  //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,gEAKlB,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,kDAKlB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createTooltipTokensFromTheme } from '../../factories/createTooltipTokens.js';
1
+ import { createTooltipTokensFromTheme } from '../../factories/components/createTooltipTokens.js';
2
2
  import { radius } from '../../tokens/radius.js';
3
3
  import { spacing } from '../../tokens/spacing.js';
4
4
  import { typography } from '../../tokens/typography.js';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAccordionTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createAccordionTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,C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ButtonTokens<const TTokens extends ButtonTokensConfig>(tokens: TTokens): TTokens;
3
+ export type { ButtonPaletteConfig, ButtonState, } from '../palettes/createButtonIntentPalette.js';
4
+ export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '../palettes/createButtonIntentPalette.js';
5
+ //# sourceMappingURL=createButtonTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createButtonTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createButtonTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEnE,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,OAAO,SAAS,kBAAkB,EACzE,MAAM,EAAE,OAAO,GACd,OAAO,CAET;AAED,YAAY,EACV,mBAAmB,EACnB,WAAW,GACZ,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,yBAAyB,EACzB,yBAAyB,IAAI,mBAAmB,EAChD,WAAW,GACZ,MAAM,0CAA0C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createButtonTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '../palettes/createButtonIntentPalette.js';
@@ -0,0 +1,5 @@
1
+ export type CheckboxTokensConfig = Readonly<Record<string, unknown>>;
2
+ export declare function createCheckboxTokens<const TTokens extends CheckboxTokensConfig>(tokens: TTokens): TTokens;
3
+ export type { CheckboxPaletteConfig, CheckboxState, } from '../palettes/createCheckboxIntentPalette.js';
4
+ export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '../palettes/createCheckboxIntentPalette.js';
5
+ //# sourceMappingURL=createCheckboxTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCheckboxTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createCheckboxTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAErE,wBAAgB,oBAAoB,CAClC,KAAK,CAAC,OAAO,SAAS,oBAAoB,EAC1C,MAAM,EAAE,OAAO,GAAG,OAAO,CAE1B;AAED,YAAY,EACV,qBAAqB,EACrB,aAAa,GACd,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,IAAI,qBAAqB,GACrD,MAAM,4CAA4C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createCheckboxTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '../palettes/createCheckboxIntentPalette.js';
@@ -1,4 +1,4 @@
1
- import { createComponentFocusRing, type SemanticFocusRing } from './componentFocusRing.js';
1
+ import { createComponentFocusRing, type SemanticFocusRing } from '../shared/componentFocusRing.js';
2
2
  type ContextMenuState = {
3
3
  readonly bg: string;
4
4
  readonly fg: string;
@@ -58,7 +58,7 @@ export declare const createContextMenuTokens: (config: ContextMenuTokensConfig)
58
58
  readonly shadow: Readonly<{
59
59
  kind: "shadow";
60
60
  role: "elevation";
61
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
61
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
62
62
  }>;
63
63
  };
64
64
  readonly item: {
@@ -127,7 +127,7 @@ export declare const createContextMenuTokensFromSemantics: ({ focus, menu, text,
127
127
  readonly shadow: Readonly<{
128
128
  kind: "shadow";
129
129
  role: "elevation";
130
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
130
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
131
131
  }>;
132
132
  };
133
133
  readonly item: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createContextMenuTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createContextMenuTokens.ts"],"names":[],"mappings":"AACA,O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O,EAAE,gBAAgB,CAAC;YAC1B,KAAK,EAAE,gBAAgB,CAAC;YACxB,MAAM,EAAE,gBAAgB,CAAC;YACzB,OAAO,EAAE,gBAAgB,CAAC;YAC1B,QAAQ,EAAE,gBAAgB,CAAC;YAC3B,MAAM,EAAE,uBAAuB,CAAC;SACjC,CAAC;KACH,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,QAAQ,uBAAuB;;;;;;;;;;;;;;;yBAxDxD,MAAM;yBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GR,CAAC;AAEd,eAAO,MAAM,oCAAoC,GAAI,wBAIlD,yBAAyB;;;;;;;;;;;;;;;yBAjHb,MAAM;yBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkIjB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { createComponentShadowIntent } from '../platform-output/component-token-intents.js';
2
- import { createComponentFocusRing, } from './componentFocusRing.js';
1
+ import { createComponentShadowIntent } from '../../platform-output/component-token-intents.js';
2
+ import { createComponentFocusRing, } from '../shared/componentFocusRing.js';
3
3
  export const createContextMenuTokens = (config) => ({
4
4
  content: {
5
5
  bg: config.contentBg,
@@ -0,0 +1,4 @@
1
+ export type DropdownTokensConfig = Readonly<Record<string, unknown>>;
2
+ export declare function createDropdownTokens<const TTokens extends DropdownTokensConfig>(tokens: TTokens): TTokens;
3
+ export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '../palettes/createDropdownIntentPalette.js';
4
+ //# sourceMappingURL=createDropdownTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDropdownTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createDropdownTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAErE,wBAAgB,oBAAoB,CAClC,KAAK,CAAC,OAAO,SAAS,oBAAoB,EAC1C,MAAM,EAAE,OAAO,GAAG,OAAO,CAE1B;AAED,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,IAAI,qBAAqB,GACrD,MAAM,4CAA4C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createDropdownTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '../palettes/createDropdownIntentPalette.js';
@@ -1,6 +1,8 @@
1
1
  type FormFieldStatus = {
2
2
  fg: string;
3
3
  };
4
+ export type FormFieldTokensConfig = Readonly<Record<string, unknown>>;
5
+ export declare function createFormFieldTokens<const TTokens extends FormFieldTokensConfig>(tokens: TTokens): TTokens;
4
6
  export type FormFieldThemeSources = {
5
7
  radius: {
6
8
  full: number;
@@ -34,8 +36,12 @@ export type FormFieldThemeSources = {
34
36
  muted: string;
35
37
  disabled: string;
36
38
  };
39
+ presentation: {
40
+ requiredMarkFg: string;
41
+ labelInfoBorder: string;
42
+ };
37
43
  };
38
- export declare const createFormFieldTokensFromTheme: ({ radius, spacing, typography, status, text, }: FormFieldThemeSources) => {
44
+ export declare const createFormFieldTokensFromTheme: ({ radius, spacing, typography, status, text, presentation, }: FormFieldThemeSources) => {
39
45
  readonly label: {
40
46
  readonly fg: string;
41
47
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createFormFieldTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createFormFieldTokens.ts"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,QAAQ,C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1
- export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, status, text, }) => ({
1
+ export function createFormFieldTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, status, text, presentation, }) => createFormFieldTokens({
2
5
  label: {
3
6
  fg: text.primary,
4
7
  },
@@ -7,7 +10,7 @@ export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, st
7
10
  },
8
11
  labelInfo: {
9
12
  fg: text.secondary,
10
- border: text.secondary,
13
+ border: presentation.labelInfoBorder,
11
14
  radius: radius.full,
12
15
  },
13
16
  description: {
@@ -31,7 +34,7 @@ export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, st
31
34
  },
32
35
  },
33
36
  requiredMark: {
34
- fg: status.error.fg,
37
+ fg: presentation.requiredMarkFg,
35
38
  },
36
39
  disabled: {
37
40
  labelFg: text.disabled,
@@ -0,0 +1,5 @@
1
+ export type InputTokensConfig = Readonly<Record<string, unknown>>;
2
+ export declare function createInputTokens<const TTokens extends InputTokensConfig>(tokens: TTokens): TTokens;
3
+ export type { InputColorPaletteConfig, InputPaletteConfig, InputState, } from '../palettes/createInputIntentPalette.js';
4
+ export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '../palettes/createInputIntentPalette.js';
5
+ //# sourceMappingURL=createInputTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createInputTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createInputTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAElE,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,OAAO,SAAS,iBAAiB,EACvE,MAAM,EAAE,OAAO,GACd,OAAO,CAET;AAED,YAAY,EACV,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,GACX,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,IAAI,kBAAkB,GAC/C,MAAM,yCAAyC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createInputTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '../palettes/createInputIntentPalette.js';
@@ -1,4 +1,4 @@
1
- import { createComponentFocusRing, type SemanticFocusRing } from './componentFocusRing.js';
1
+ import { createComponentFocusRing, type SemanticFocusRing } from '../shared/componentFocusRing.js';
2
2
  type ModalFocusRing = ReturnType<typeof createComponentFocusRing>;
3
3
  type ModalTokensConfig = {
4
4
  overlayBg: string;
@@ -69,7 +69,7 @@ export declare const createModalTokens: (config: ModalTokensConfig) => {
69
69
  readonly shadow: Readonly<{
70
70
  kind: "shadow";
71
71
  role: "elevation";
72
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
72
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
73
73
  }>;
74
74
  readonly borderWidth: 1;
75
75
  readonly radius: number;
@@ -164,7 +164,7 @@ export declare const createModalTokensFromSemantics: ({ closeButtonHoverBg, clos
164
164
  readonly shadow: Readonly<{
165
165
  kind: "shadow";
166
166
  role: "elevation";
167
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
167
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
168
168
  }>;
169
169
  readonly borderWidth: 1;
170
170
  readonly radius: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createModalTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createModalTokens.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,wBAAwB,EACxB,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAElE,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;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AC;KACjB,CAAC;IACF,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAaF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0F9C,CAAC;AAEd,eAAO,MAAM,8BAA8B,GAAI,+FAS5C,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { createComponentShadowIntent, createComponentViewportHeightIntent, } from '../platform-output/component-token-intents.js';
2
- import { createComponentFocusRing, } from './componentFocusRing.js';
1
+ import { createComponentShadowIntent, createComponentViewportHeightIntent, } from '../../platform-output/component-token-intents.js';
2
+ import { createComponentFocusRing, } from '../shared/componentFocusRing.js';
3
3
  const modalLayout = {
4
4
  maxHeight: createComponentViewportHeightIntent(0.9),
5
5
  zIndexOffset: 1,
@@ -34,7 +34,7 @@ export declare const createPopoverTokens: (config: PopoverTokensConfig) => {
34
34
  readonly shadow: Readonly<{
35
35
  kind: "shadow";
36
36
  role: "elevation";
37
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
37
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
38
38
  }>;
39
39
  readonly borderWidth: 1;
40
40
  readonly radius: number;
@@ -63,7 +63,7 @@ export declare const createPopoverTokensFromTheme: ({ overlay, text, radius, spa
63
63
  readonly shadow: Readonly<{
64
64
  kind: "shadow";
65
65
  role: "elevation";
66
- level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
66
+ level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
67
67
  }>;
68
68
  readonly borderWidth: 1;
69
69
  readonly radius: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPopoverTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createPopoverTokens.ts"],"names":[],"mappings":"AAEA,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE;QACP,QAAQ,EAAE;YACR,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAChC,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlD,CAAC;AAEd,eAAO,MAAM,4BAA4B,GAAI,qCAK1C,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUlB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createComponentShadowIntent } from '../platform-output/component-token-intents.js';
1
+ import { createComponentShadowIntent } from '../../platform-output/component-token-intents.js';
2
2
  export const createPopoverTokens = (config) => ({
3
3
  content: {
4
4
  bg: config.contentBg,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioGroupTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createRadioGroupTokens.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,QAAQ,sBAAsB;;;;;;;;;;;;;;;CAgBxD,CAAC;AAEd,eAAO,MAAM,iCAAiC,GAAI,SAAS,YAAY;;;;;;;;;;;;;;;CAOnE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type RadioTokensConfig = Readonly<Record<string, unknown>>;
2
+ export declare function createRadioTokens<const TTokens extends RadioTokensConfig>(tokens: TTokens): TTokens;
3
+ export type { RadioPaletteConfig, RadioState, } from '../palettes/createRadioIntentPalette.js';
4
+ export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '../palettes/createRadioIntentPalette.js';
5
+ //# sourceMappingURL=createRadioTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createRadioTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAElE,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,OAAO,SAAS,iBAAiB,EACvE,MAAM,EAAE,OAAO,GACd,OAAO,CAET;AAED,YAAY,EACV,kBAAkB,EAClB,UAAU,GACX,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,IAAI,kBAAkB,EAC9C,iBAAiB,EACjB,eAAe,GAChB,MAAM,yCAAyC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createRadioTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '../palettes/createRadioIntentPalette.js';
@@ -0,0 +1,4 @@
1
+ export type SelectTokensConfig = Readonly<Record<string, unknown>>;
2
+ export declare function createSelectTokens<const TTokens extends SelectTokensConfig>(tokens: TTokens): TTokens;
3
+ export { createSelectIntentPalette, createSelectIntentPalette as createSelectPalette, } from '../palettes/createSelectIntentPalette.js';
4
+ //# sourceMappingURL=createSelectTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSelectTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createSelectTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEnE,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,OAAO,SAAS,kBAAkB,EACzE,MAAM,EAAE,OAAO,GACd,OAAO,CAET;AAED,OAAO,EACL,yBAAyB,EACzB,yBAAyB,IAAI,mBAAmB,GACjD,MAAM,0CAA0C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export function createSelectTokens(tokens) {
2
+ return tokens;
3
+ }
4
+ export { createSelectIntentPalette, createSelectIntentPalette as createSelectPalette, } from '../palettes/createSelectIntentPalette.js';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSwitchTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createSwitchTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,EAAE,MA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AAO,iBAAiB,CAAC,CAAC;IAC7C,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,yRAkB/B,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDP,CAAC;AAEd,eAAO,MAAM,gBAAgB,GAAI,QAAQ,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7E7C,MAAM;qBACD,MAAM;;;YAGf,MAAM;;CAmFD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ComponentElevationShadowIntent } from '../platform-output/component-token-intents.js';
1
+ import { type ComponentElevationShadowIntent } from '../../platform-output/component-token-intents.js';
2
2
  type TooltipContentTokens = {
3
3
  bg: string;
4
4
  fg: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTooltipTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createTooltipTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,8BAA8B,EAEpC,MAAM,kDAAkD,CAAC;AAE1D,KAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,8BAA8B,CAAC;IACvC,WAAW,EAA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C,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,kBAAkB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE;QACP,OAAO,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAChC,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,UAAU,EAAE;YACV,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;KACH,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,+XAsBjC,mBAAmB,KAAG,aA6BZ,CAAC;AAEd,eAAO,MAAM,4BAA4B,GAAI,2CAK1C,mBAAmB,kBAclB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createComponentShadowIntent, } from '../platform-output/component-token-intents.js';
1
+ import { createComponentShadowIntent, } from '../../platform-output/component-token-intents.js';
2
2
  export const createTooltipTokens = ({ contentBg, contentFg, contentBorder, contentBorderWidth = 1, contentRadius, contentPaddingX, contentPaddingY, contentMaxWidth = 240, contentCompactMaxWidth = 200, contentCompactPaddingX, contentCompactPaddingY, contentFontSize, contentLineHeight, contentCompactFontSize, contentCompactLineHeight, contentAnimationDuration = '150ms', contentTranslateY = 2, contentScale = 0.98, arrowBg = contentBg, arrowSize = 10, arrowCompactSize = 6, }) => ({
3
3
  content: {
4
4
  bg: contentBg,
@@ -1,11 +1,16 @@
1
- export * from './createAccordionTokens.js';
2
- export * from './createButtonPalette.js';
3
- export * from './createCheckboxPalette.js';
4
- export * from './createInputPalette.js';
5
- export * from './createModalTokens.js';
6
- export * from './createRadioGroupTokens.js';
7
- export * from './createRadioPalette.js';
8
- export * from './createSwitchTokens.js';
9
- export * from './createTabsTokens.js';
10
- export * from './createTooltipTokens.js';
1
+ export * from './components/createAccordionTokens.js';
2
+ export * from './components/createButtonTokens.js';
3
+ export * from './components/createCheckboxTokens.js';
4
+ export * from './components/createContextMenuTokens.js';
5
+ export * from './components/createDropdownTokens.js';
6
+ export * from './components/createFormFieldTokens.js';
7
+ export * from './components/createInputTokens.js';
8
+ export * from './components/createModalTokens.js';
9
+ export * from './components/createPopoverTokens.js';
10
+ export * from './components/createRadioGroupTokens.js';
11
+ export * from './components/createRadioTokens.js';
12
+ export * from './components/createSelectTokens.js';
13
+ export * from './components/createSwitchTokens.js';
14
+ export * from './components/createTabsTokens.js';
15
+ export * from './components/createTooltipTokens.js';
11
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC"}
@@ -1,10 +1,15 @@
1
- export * from './createAccordionTokens.js';
2
- export * from './createButtonPalette.js';
3
- export * from './createCheckboxPalette.js';
4
- export * from './createInputPalette.js';
5
- export * from './createModalTokens.js';
6
- export * from './createRadioGroupTokens.js';
7
- export * from './createRadioPalette.js';
8
- export * from './createSwitchTokens.js';
9
- export * from './createTabsTokens.js';
10
- export * from './createTooltipTokens.js';
1
+ export * from './components/createAccordionTokens.js';
2
+ export * from './components/createButtonTokens.js';
3
+ export * from './components/createCheckboxTokens.js';
4
+ export * from './components/createContextMenuTokens.js';
5
+ export * from './components/createDropdownTokens.js';
6
+ export * from './components/createFormFieldTokens.js';
7
+ export * from './components/createInputTokens.js';
8
+ export * from './components/createModalTokens.js';
9
+ export * from './components/createPopoverTokens.js';
10
+ export * from './components/createRadioGroupTokens.js';
11
+ export * from './components/createRadioTokens.js';
12
+ export * from './components/createSelectTokens.js';
13
+ export * from './components/createSwitchTokens.js';
14
+ export * from './components/createTabsTokens.js';
15
+ export * from './components/createTooltipTokens.js';
@@ -27,7 +27,7 @@ export declare const transparent: {
27
27
  readonly bg: "transparent";
28
28
  readonly border: "transparent";
29
29
  };
30
- export declare const createButtonPalette: ({ ring, solid, fg, bg, border, hoverBg, hoverFg, hoverBorder, pressedBg, pressedFg, pressedBorder, softBorder, softHoverBorder, softPressedBorder, }: ButtonPaletteConfig) => {
30
+ export declare const createButtonIntentPalette: ({ ring, solid, fg, bg, border, hoverBg, hoverFg, hoverBorder, pressedBg, pressedFg, pressedBorder, softBorder, softHoverBorder, softPressedBorder, }: ButtonPaletteConfig) => {
31
31
  readonly ring: string;
32
32
  readonly solid: {
33
33
  default: ButtonState;
@@ -103,4 +103,4 @@ export declare const createButtonPalette: ({ ring, solid, fg, bg, border, hoverB
103
103
  };
104
104
  };
105
105
  };
106
- //# sourceMappingURL=createButtonPalette.d.ts.map
106
+ //# sourceMappingURL=createButtonIntentPalette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createButtonIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createButtonIntentPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE;QACL,OAAO,EAAE,WAAW,CAAC;QACrB,KAAK,EAAE,WAAW,CAAC;QACnB,OAAO,EAAE,WAAW,CAAC;KACtB,CAAC;IAEF,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,eAAO,MAAM,yBAAyB,GAAI,sJAevC,mBAAmB;;;iBA1CT,WAAW;eACb,WAAW;iBACT,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHX,CAAC"}
@@ -2,7 +2,7 @@ export const transparent = {
2
2
  bg: 'transparent',
3
3
  border: 'transparent',
4
4
  };
5
- export const createButtonPalette = ({ ring, solid, fg, bg, border, hoverBg, hoverFg, hoverBorder = border, pressedBg, pressedFg, pressedBorder = border, softBorder = transparent.border, softHoverBorder = softBorder, softPressedBorder = softBorder, }) => ({
5
+ export const createButtonIntentPalette = ({ ring, solid, fg, bg, border, hoverBg, hoverFg, hoverBorder = border, pressedBg, pressedFg, pressedBorder = border, softBorder = transparent.border, softHoverBorder = softBorder, softPressedBorder = softBorder, }) => ({
6
6
  ring,
7
7
  solid,
8
8
  outline: {
@@ -10,10 +10,10 @@ export type CheckboxPaletteConfig = {
10
10
  hover: CheckboxState;
11
11
  pressed: CheckboxState;
12
12
  };
13
- export declare const createCheckboxPalette: ({ ring, default: defaultState, hover, pressed, }: CheckboxPaletteConfig) => {
13
+ export declare const createCheckboxIntentPalette: ({ ring, default: defaultState, hover, pressed, }: CheckboxPaletteConfig) => {
14
14
  readonly ring: string;
15
15
  readonly default: CheckboxState;
16
16
  readonly hover: CheckboxState;
17
17
  readonly pressed: CheckboxState;
18
18
  };
19
- //# sourceMappingURL=createCheckboxPalette.d.ts.map
19
+ //# sourceMappingURL=createCheckboxIntentPalette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCheckboxIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createCheckboxIntentPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,kDAKzC,qBAAqB;;;;;CAMX,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const createCheckboxIntentPalette = ({ ring, default: defaultState, hover, pressed, }) => ({
2
+ ring,
3
+ default: defaultState,
4
+ hover,
5
+ pressed,
6
+ });
@@ -1,4 +1,4 @@
1
- import type { createInputColorPalette } from './createInputPalette.js';
1
+ import type { createInputColorPalette } from './createInputIntentPalette.js';
2
2
  type DropdownBasePalette = ReturnType<typeof createInputColorPalette>;
3
3
  type DropdownPaletteConfig = {
4
4
  contentBorder?: string;
@@ -14,7 +14,7 @@ type DropdownPaletteConfig = {
14
14
  itemBadgeFg?: string;
15
15
  itemBadgeBorder?: string;
16
16
  };
17
- export declare const createDropdownPalette: (palette: DropdownBasePalette, config?: DropdownPaletteConfig) => {
17
+ export declare const createDropdownIntentPalette: (palette: DropdownBasePalette, config?: DropdownPaletteConfig) => {
18
18
  readonly ring: string;
19
19
  readonly content: {
20
20
  readonly border: string;
@@ -66,4 +66,4 @@ export declare const createDropdownPalette: (palette: DropdownBasePalette, confi
66
66
  };
67
67
  };
68
68
  export {};
69
- //# sourceMappingURL=createDropdownPalette.d.ts.map
69
+ //# sourceMappingURL=createDropdownIntentPalette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDropdownIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createDropdownIntentPalette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAE7E,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,KAAK,qBAAqB,GAAG;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,SAAS,mBAAmB,EAC5B,SAAQ,qBAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CvB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const createDropdownPalette = (palette, config = {}) => ({
1
+ export const createDropdownIntentPalette = (palette, config = {}) => ({
2
2
  ring: palette.ring,
3
3
  content: {
4
4
  border: config.contentBorder ?? palette.outline.default.border,
@@ -23,7 +23,7 @@ export type InputPaletteConfig = {
23
23
  focus: InputState;
24
24
  };
25
25
  };
26
- export declare const createInputPalette: ({ ring, outline, filled, soft, }: InputPaletteConfig) => {
26
+ export declare const createInputIntentPalette: ({ ring, outline, filled, soft, }: InputPaletteConfig) => {
27
27
  readonly ring: string;
28
28
  readonly outline: {
29
29
  default: InputState;
@@ -75,4 +75,4 @@ export declare const createInputColorPalette: ({ accent, accentHover, accentSoft
75
75
  focus: InputState;
76
76
  };
77
77
  };
78
- //# sourceMappingURL=createInputPalette.d.ts.map
78
+ //# sourceMappingURL=createInputIntentPalette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createInputIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createInputIntentPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE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AAO,MAAM,uBAAuB,GAAI,0LAerC,uBAAuB;;;iBA7Db,UAAU;eACZ,UAAU;eACV,UAAU;;;iBAGR,UAAU;eACZ,UAAU;eACV,UAAU;;;iBAGR,UAAU;eACZ,UAAU;eACV,UAAU;;CAyHjB,CAAC"}
@@ -1,10 +1,10 @@
1
- export const createInputPalette = ({ ring, outline, filled, soft, }) => ({
1
+ export const createInputIntentPalette = ({ ring, outline, filled, soft, }) => ({
2
2
  ring,
3
3
  outline,
4
4
  filled,
5
5
  soft,
6
6
  });
7
- export const createInputColorPalette = ({ accent, accentHover, accentSoft, filledBg, filledHoverBg, hoverBg, ring, fg, placeholder, filledFocusBg, filledDefaultBorder = 'transparent', filledHoverBorder = accent, softDefaultBorder = 'transparent', softHoverBorder = accent, }) => createInputPalette({
7
+ export const createInputColorPalette = ({ accent, accentHover, accentSoft, filledBg, filledHoverBg, hoverBg, ring, fg, placeholder, filledFocusBg, filledDefaultBorder = 'transparent', filledHoverBorder = accent, softDefaultBorder = 'transparent', softHoverBorder = accent, }) => createInputIntentPalette({
8
8
  ring,
9
9
  outline: {
10
10
  default: {
@@ -10,7 +10,7 @@ export type RadioPaletteConfig = {
10
10
  hover: RadioState;
11
11
  pressed: RadioState;
12
12
  };
13
- export declare const createRadioPalette: ({ ring, default: defaultState, hover, pressed, }: RadioPaletteConfig) => {
13
+ export declare const createRadioIntentPalette: ({ ring, default: defaultState, hover, pressed, }: RadioPaletteConfig) => {
14
14
  readonly ring: string;
15
15
  readonly default: RadioState;
16
16
  readonly hover: RadioState;
@@ -50,4 +50,4 @@ export declare const radioMotionTokens: {
50
50
  readonly pressedScale: 0.92;
51
51
  readonly pressedOpacity: 0.8;
52
52
  };
53
- //# sourceMappingURL=createRadioPalette.d.ts.map
53
+ //# sourceMappingURL=createRadioIntentPalette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createRadioIntentPalette.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,kDAKtC,kBAAkB;;;;;CAMR,CAAC;AAEd,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { typography } from '../tokens/typography.js';
2
- export const createRadioPalette = ({ ring, default: defaultState, hover, pressed, }) => ({
1
+ import { typography } from '../../tokens/typography.js';
2
+ export const createRadioIntentPalette = ({ ring, default: defaultState, hover, pressed, }) => ({
3
3
  ring,
4
4
  default: defaultState,
5
5
  hover,