@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.
- package/dist/component-token-dependencies.d.ts +140 -0
- package/dist/component-token-dependencies.d.ts.map +1 -0
- package/dist/component-token-dependencies.js +181 -0
- package/dist/dark/components/accordion.d.ts +1 -1
- package/dist/dark/components/accordion.d.ts.map +1 -1
- package/dist/dark/components/accordion.js +1 -1
- package/dist/dark/components/button.d.ts +15 -15
- package/dist/dark/components/button.d.ts.map +1 -1
- package/dist/dark/components/button.js +3 -3
- package/dist/dark/components/checkbox.d.ts +15 -15
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +3 -3
- package/dist/dark/components/contextMenu.js +1 -1
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +5 -5
- package/dist/dark/components/formField.d.ts.map +1 -1
- package/dist/dark/components/formField.js +6 -1
- package/dist/dark/components/input.d.ts +45 -45
- package/dist/dark/components/input.d.ts.map +1 -1
- package/dist/dark/components/input.js +6 -6
- package/dist/dark/components/modal.js +1 -1
- package/dist/dark/components/popover.js +1 -1
- package/dist/dark/components/radio.d.ts +15 -15
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +3 -3
- package/dist/dark/components/radioGroup.js +1 -1
- package/dist/dark/components/select.d.ts +135 -135
- package/dist/dark/components/select.d.ts.map +1 -1
- package/dist/dark/components/select.js +6 -6
- package/dist/dark/components/switch.d.ts +1 -1
- package/dist/dark/components/switch.d.ts.map +1 -1
- package/dist/dark/components/switch.js +1 -1
- package/dist/dark/components/tabs.d.ts +1 -1
- package/dist/dark/components/tabs.js +1 -1
- package/dist/dark/components/tooltip.d.ts +1 -1
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +1 -1
- package/dist/factories/components/createAccordionTokens.d.ts.map +1 -0
- package/dist/factories/components/createButtonTokens.d.ts +5 -0
- package/dist/factories/components/createButtonTokens.d.ts.map +1 -0
- package/dist/factories/components/createButtonTokens.js +4 -0
- package/dist/factories/components/createCheckboxTokens.d.ts +5 -0
- package/dist/factories/components/createCheckboxTokens.d.ts.map +1 -0
- package/dist/factories/components/createCheckboxTokens.js +4 -0
- package/dist/factories/{createContextMenuTokens.d.ts → components/createContextMenuTokens.d.ts} +3 -3
- package/dist/factories/components/createContextMenuTokens.d.ts.map +1 -0
- package/dist/factories/{createContextMenuTokens.js → components/createContextMenuTokens.js} +2 -2
- package/dist/factories/components/createDropdownTokens.d.ts +4 -0
- package/dist/factories/components/createDropdownTokens.d.ts.map +1 -0
- package/dist/factories/components/createDropdownTokens.js +4 -0
- package/dist/factories/{createFormFieldTokens.d.ts → components/createFormFieldTokens.d.ts} +7 -1
- package/dist/factories/components/createFormFieldTokens.d.ts.map +1 -0
- package/dist/factories/{createFormFieldTokens.js → components/createFormFieldTokens.js} +6 -3
- package/dist/factories/components/createInputTokens.d.ts +5 -0
- package/dist/factories/components/createInputTokens.d.ts.map +1 -0
- package/dist/factories/components/createInputTokens.js +4 -0
- package/dist/factories/{createModalTokens.d.ts → components/createModalTokens.d.ts} +3 -3
- package/dist/factories/components/createModalTokens.d.ts.map +1 -0
- package/dist/factories/{createModalTokens.js → components/createModalTokens.js} +2 -2
- package/dist/factories/{createPopoverTokens.d.ts → components/createPopoverTokens.d.ts} +2 -2
- package/dist/factories/components/createPopoverTokens.d.ts.map +1 -0
- package/dist/factories/{createPopoverTokens.js → components/createPopoverTokens.js} +1 -1
- package/dist/factories/components/createRadioGroupTokens.d.ts.map +1 -0
- package/dist/factories/components/createRadioTokens.d.ts +5 -0
- package/dist/factories/components/createRadioTokens.d.ts.map +1 -0
- package/dist/factories/components/createRadioTokens.js +4 -0
- package/dist/factories/components/createSelectTokens.d.ts +4 -0
- package/dist/factories/components/createSelectTokens.d.ts.map +1 -0
- package/dist/factories/components/createSelectTokens.js +4 -0
- package/dist/factories/components/createSwitchTokens.d.ts.map +1 -0
- package/dist/factories/components/createTabsTokens.d.ts.map +1 -0
- package/dist/factories/{createTooltipTokens.d.ts → components/createTooltipTokens.d.ts} +1 -1
- package/dist/factories/components/createTooltipTokens.d.ts.map +1 -0
- package/dist/factories/{createTooltipTokens.js → components/createTooltipTokens.js} +1 -1
- package/dist/factories/index.d.ts +15 -10
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +15 -10
- package/dist/factories/{createButtonPalette.d.ts → palettes/createButtonIntentPalette.d.ts} +2 -2
- package/dist/factories/palettes/createButtonIntentPalette.d.ts.map +1 -0
- package/dist/factories/{createButtonPalette.js → palettes/createButtonIntentPalette.js} +1 -1
- package/dist/factories/{createCheckboxPalette.d.ts → palettes/createCheckboxIntentPalette.d.ts} +2 -2
- package/dist/factories/palettes/createCheckboxIntentPalette.d.ts.map +1 -0
- package/dist/factories/palettes/createCheckboxIntentPalette.js +6 -0
- package/dist/factories/{createDropdownPalette.d.ts → palettes/createDropdownIntentPalette.d.ts} +3 -3
- package/dist/factories/palettes/createDropdownIntentPalette.d.ts.map +1 -0
- package/dist/factories/{createDropdownPalette.js → palettes/createDropdownIntentPalette.js} +1 -1
- package/dist/factories/{createInputPalette.d.ts → palettes/createInputIntentPalette.d.ts} +2 -2
- package/dist/factories/palettes/createInputIntentPalette.d.ts.map +1 -0
- package/dist/factories/{createInputPalette.js → palettes/createInputIntentPalette.js} +2 -2
- package/dist/factories/{createRadioPalette.d.ts → palettes/createRadioIntentPalette.d.ts} +2 -2
- package/dist/factories/palettes/createRadioIntentPalette.d.ts.map +1 -0
- package/dist/factories/{createRadioPalette.js → palettes/createRadioIntentPalette.js} +2 -2
- package/dist/factories/{createSelectPalette.d.ts → palettes/createSelectIntentPalette.d.ts} +30 -30
- package/dist/factories/palettes/createSelectIntentPalette.d.ts.map +1 -0
- package/dist/factories/{createSelectPalette.js → palettes/createSelectIntentPalette.js} +1 -1
- package/dist/factories/shared/componentFocusRing.d.ts.map +1 -0
- package/dist/factories/{componentFocusRing.js → shared/componentFocusRing.js} +1 -1
- package/dist/highContrast/components/accordion.d.ts +1 -1
- package/dist/highContrast/components/accordion.d.ts.map +1 -1
- package/dist/highContrast/components/accordion.js +1 -1
- package/dist/highContrast/components/button.d.ts +15 -15
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +3 -3
- package/dist/highContrast/components/checkbox.d.ts +15 -15
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +3 -3
- package/dist/highContrast/components/contextMenu.js +1 -1
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +5 -5
- package/dist/highContrast/components/formField.d.ts.map +1 -1
- package/dist/highContrast/components/formField.js +6 -1
- package/dist/highContrast/components/input.d.ts +45 -45
- package/dist/highContrast/components/input.d.ts.map +1 -1
- package/dist/highContrast/components/input.js +5 -5
- package/dist/highContrast/components/modal.js +1 -1
- package/dist/highContrast/components/popover.js +1 -1
- package/dist/highContrast/components/radio.d.ts +15 -15
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +3 -3
- package/dist/highContrast/components/radioGroup.js +1 -1
- package/dist/highContrast/components/select.d.ts +135 -135
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +6 -6
- package/dist/highContrast/components/switch.d.ts +1 -1
- package/dist/highContrast/components/switch.d.ts.map +1 -1
- package/dist/highContrast/components/switch.js +1 -1
- package/dist/highContrast/components/tabs.d.ts +1 -1
- package/dist/highContrast/components/tabs.js +1 -1
- package/dist/highContrast/components/tooltip.d.ts +1 -1
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +1 -1
- package/dist/light/components/accordion.d.ts +1 -1
- package/dist/light/components/accordion.d.ts.map +1 -1
- package/dist/light/components/accordion.js +1 -1
- package/dist/light/components/button.d.ts +15 -15
- package/dist/light/components/button.d.ts.map +1 -1
- package/dist/light/components/button.js +3 -3
- package/dist/light/components/checkbox.d.ts +15 -15
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +3 -3
- package/dist/light/components/contextMenu.js +1 -1
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +5 -5
- package/dist/light/components/formField.d.ts.map +1 -1
- package/dist/light/components/formField.js +6 -1
- package/dist/light/components/input.d.ts +45 -45
- package/dist/light/components/input.d.ts.map +1 -1
- package/dist/light/components/input.js +5 -5
- package/dist/light/components/modal.js +1 -1
- package/dist/light/components/popover.js +1 -1
- package/dist/light/components/radio.d.ts +15 -15
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +3 -3
- package/dist/light/components/radioGroup.js +1 -1
- package/dist/light/components/select.d.ts +135 -135
- package/dist/light/components/select.d.ts.map +1 -1
- package/dist/light/components/select.js +6 -6
- package/dist/light/components/switch.d.ts +1 -1
- package/dist/light/components/switch.d.ts.map +1 -1
- package/dist/light/components/switch.js +1 -1
- package/dist/light/components/tabs.d.ts +1 -1
- package/dist/light/components/tabs.js +1 -1
- package/dist/light/components/tooltip.d.ts +1 -1
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +1 -1
- package/dist/preservation/token-migrations.d.ts +4 -4
- package/dist/token-architecture.d.ts +23 -23
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +23 -23
- package/package.json +1 -1
- package/dist/factories/componentFocusRing.d.ts.map +0 -1
- package/dist/factories/createAccordionTokens.d.ts.map +0 -1
- package/dist/factories/createButtonPalette.d.ts.map +0 -1
- package/dist/factories/createCheckboxPalette.d.ts.map +0 -1
- package/dist/factories/createCheckboxPalette.js +0 -6
- package/dist/factories/createContextMenuTokens.d.ts.map +0 -1
- package/dist/factories/createDropdownPalette.d.ts.map +0 -1
- package/dist/factories/createFormFieldTokens.d.ts.map +0 -1
- package/dist/factories/createInputPalette.d.ts.map +0 -1
- package/dist/factories/createModalTokens.d.ts.map +0 -1
- package/dist/factories/createPopoverTokens.d.ts.map +0 -1
- package/dist/factories/createRadioGroupTokens.d.ts.map +0 -1
- package/dist/factories/createRadioPalette.d.ts.map +0 -1
- package/dist/factories/createSelectPalette.d.ts.map +0 -1
- package/dist/factories/createSwitchTokens.d.ts.map +0 -1
- package/dist/factories/createTabsTokens.d.ts.map +0 -1
- package/dist/factories/createTooltipTokens.d.ts.map +0 -1
- /package/dist/factories/{createAccordionTokens.d.ts → components/createAccordionTokens.d.ts} +0 -0
- /package/dist/factories/{createAccordionTokens.js → components/createAccordionTokens.js} +0 -0
- /package/dist/factories/{createRadioGroupTokens.d.ts → components/createRadioGroupTokens.d.ts} +0 -0
- /package/dist/factories/{createRadioGroupTokens.js → components/createRadioGroupTokens.js} +0 -0
- /package/dist/factories/{createSwitchTokens.d.ts → components/createSwitchTokens.d.ts} +0 -0
- /package/dist/factories/{createSwitchTokens.js → components/createSwitchTokens.js} +0 -0
- /package/dist/factories/{createTabsTokens.d.ts → components/createTabsTokens.d.ts} +0 -0
- /package/dist/factories/{createTabsTokens.js → components/createTabsTokens.js} +0 -0
- /package/dist/factories/{componentFocusRing.d.ts → shared/componentFocusRing.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { createInputColorPalette } from './
|
|
1
|
+
import type { createInputColorPalette } from './createInputIntentPalette.js';
|
|
2
2
|
type SelectBasePalette = ReturnType<typeof createInputColorPalette>;
|
|
3
3
|
type SelectPaletteConfig = {
|
|
4
4
|
optionActiveBg?: string;
|
|
@@ -25,7 +25,7 @@ type SelectPaletteConfig = {
|
|
|
25
25
|
optionSelectedPressedBorder?: string;
|
|
26
26
|
optionSelectedPressedFg?: string;
|
|
27
27
|
};
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const createSelectIntentPalette: (palette: SelectBasePalette, config?: SelectPaletteConfig) => {
|
|
29
29
|
readonly ring: string;
|
|
30
30
|
readonly outline: {
|
|
31
31
|
dropdown: {
|
|
@@ -76,9 +76,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
76
76
|
border: string;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
default: import("./
|
|
80
|
-
hover: import("./
|
|
81
|
-
focus: import("./
|
|
79
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
80
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
81
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
82
82
|
} | {
|
|
83
83
|
dropdown: {
|
|
84
84
|
border: string;
|
|
@@ -128,9 +128,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
128
128
|
border: string;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
default: import("./
|
|
132
|
-
hover: import("./
|
|
133
|
-
focus: import("./
|
|
131
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
132
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
133
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
134
134
|
} | {
|
|
135
135
|
dropdown: {
|
|
136
136
|
border: string;
|
|
@@ -180,9 +180,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
180
180
|
border: string;
|
|
181
181
|
};
|
|
182
182
|
};
|
|
183
|
-
default: import("./
|
|
184
|
-
hover: import("./
|
|
185
|
-
focus: import("./
|
|
183
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
184
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
185
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
186
186
|
};
|
|
187
187
|
readonly filled: {
|
|
188
188
|
dropdown: {
|
|
@@ -233,9 +233,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
233
233
|
border: string;
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
default: import("./
|
|
237
|
-
hover: import("./
|
|
238
|
-
focus: import("./
|
|
236
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
237
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
238
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
239
239
|
} | {
|
|
240
240
|
dropdown: {
|
|
241
241
|
border: string;
|
|
@@ -285,9 +285,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
285
285
|
border: string;
|
|
286
286
|
};
|
|
287
287
|
};
|
|
288
|
-
default: import("./
|
|
289
|
-
hover: import("./
|
|
290
|
-
focus: import("./
|
|
288
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
289
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
290
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
291
291
|
} | {
|
|
292
292
|
dropdown: {
|
|
293
293
|
border: string;
|
|
@@ -337,9 +337,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
337
337
|
border: string;
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
|
-
default: import("./
|
|
341
|
-
hover: import("./
|
|
342
|
-
focus: import("./
|
|
340
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
341
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
342
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
343
343
|
};
|
|
344
344
|
readonly soft: {
|
|
345
345
|
dropdown: {
|
|
@@ -390,9 +390,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
390
390
|
border: string;
|
|
391
391
|
};
|
|
392
392
|
};
|
|
393
|
-
default: import("./
|
|
394
|
-
hover: import("./
|
|
395
|
-
focus: import("./
|
|
393
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
394
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
395
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
396
396
|
} | {
|
|
397
397
|
dropdown: {
|
|
398
398
|
border: string;
|
|
@@ -442,9 +442,9 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
442
442
|
border: string;
|
|
443
443
|
};
|
|
444
444
|
};
|
|
445
|
-
default: import("./
|
|
446
|
-
hover: import("./
|
|
447
|
-
focus: import("./
|
|
445
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
446
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
447
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
448
448
|
} | {
|
|
449
449
|
dropdown: {
|
|
450
450
|
border: string;
|
|
@@ -494,10 +494,10 @@ export declare const createSelectPalette: (palette: SelectBasePalette, config?:
|
|
|
494
494
|
border: string;
|
|
495
495
|
};
|
|
496
496
|
};
|
|
497
|
-
default: import("./
|
|
498
|
-
hover: import("./
|
|
499
|
-
focus: import("./
|
|
497
|
+
default: import("./createInputIntentPalette.js").InputState;
|
|
498
|
+
hover: import("./createInputIntentPalette.js").InputState;
|
|
499
|
+
focus: import("./createInputIntentPalette.js").InputState;
|
|
500
500
|
};
|
|
501
501
|
};
|
|
502
502
|
export {};
|
|
503
|
-
//# sourceMappingURL=
|
|
503
|
+
//# sourceMappingURL=createSelectIntentPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSelectIntentPalette.d.ts","sourceRoot":"","sources":["../../../src/factories/palettes/createSelectIntentPalette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAE7E,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEpE,KAAK,mBAAmB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AA8DF,eAAO,MAAM,yBAAyB,GACpC,SAAS,iBAAiB,EAC1B,SAAQ,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrB,CAAC"}
|
|
@@ -52,7 +52,7 @@ const createSelectVariant = (palette, variant, config) => {
|
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
export const
|
|
55
|
+
export const createSelectIntentPalette = (palette, config = {}) => ({
|
|
56
56
|
ring: palette.ring,
|
|
57
57
|
outline: createSelectVariant(palette, 'outline', config),
|
|
58
58
|
filled: createSelectVariant(palette, 'filled', config),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentFocusRing.d.ts","sourceRoot":"","sources":["../../../src/factories/shared/componentFocusRing.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,iBAAiB;;;;;;;;CAMnD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createComponentFocusRingShadowIntent } from '
|
|
1
|
+
import { createComponentFocusRingShadowIntent } from '../../platform-output/component-token-intents.js';
|
|
2
2
|
export const createComponentFocusRing = (ring) => ({
|
|
3
3
|
color: ring.color,
|
|
4
4
|
width: ring.width,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const accordionTokens: import("../../factories/
|
|
1
|
+
export declare const accordionTokens: import("../../factories/index.js").AccordionTokensConfig;
|
|
2
2
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/accordion.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/accordion.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,0DAK1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAccordionTokensFromSemantics } from '../../factories/createAccordionTokens.js';
|
|
1
|
+
import { createAccordionTokensFromSemantics } from '../../factories/components/createAccordionTokens.js';
|
|
2
2
|
import { border } from '../semantic/border.js';
|
|
3
3
|
import { focus } from '../semantic/focus.js';
|
|
4
4
|
import { surface } from '../semantic/surface.js';
|
|
@@ -2,9 +2,9 @@ export declare const button: {
|
|
|
2
2
|
readonly primary: {
|
|
3
3
|
readonly ring: string;
|
|
4
4
|
readonly solid: {
|
|
5
|
-
default: import("../../factories/
|
|
6
|
-
hover: import("../../factories/
|
|
7
|
-
pressed: import("../../factories/
|
|
5
|
+
default: import("../../factories/index.js").ButtonState;
|
|
6
|
+
hover: import("../../factories/index.js").ButtonState;
|
|
7
|
+
pressed: import("../../factories/index.js").ButtonState;
|
|
8
8
|
};
|
|
9
9
|
readonly outline: {
|
|
10
10
|
readonly default: {
|
|
@@ -78,9 +78,9 @@ export declare const button: {
|
|
|
78
78
|
readonly neutral: {
|
|
79
79
|
readonly ring: string;
|
|
80
80
|
readonly solid: {
|
|
81
|
-
default: import("../../factories/
|
|
82
|
-
hover: import("../../factories/
|
|
83
|
-
pressed: import("../../factories/
|
|
81
|
+
default: import("../../factories/index.js").ButtonState;
|
|
82
|
+
hover: import("../../factories/index.js").ButtonState;
|
|
83
|
+
pressed: import("../../factories/index.js").ButtonState;
|
|
84
84
|
};
|
|
85
85
|
readonly outline: {
|
|
86
86
|
readonly default: {
|
|
@@ -154,9 +154,9 @@ export declare const button: {
|
|
|
154
154
|
readonly success: {
|
|
155
155
|
readonly ring: string;
|
|
156
156
|
readonly solid: {
|
|
157
|
-
default: import("../../factories/
|
|
158
|
-
hover: import("../../factories/
|
|
159
|
-
pressed: import("../../factories/
|
|
157
|
+
default: import("../../factories/index.js").ButtonState;
|
|
158
|
+
hover: import("../../factories/index.js").ButtonState;
|
|
159
|
+
pressed: import("../../factories/index.js").ButtonState;
|
|
160
160
|
};
|
|
161
161
|
readonly outline: {
|
|
162
162
|
readonly default: {
|
|
@@ -230,9 +230,9 @@ export declare const button: {
|
|
|
230
230
|
readonly warning: {
|
|
231
231
|
readonly ring: string;
|
|
232
232
|
readonly solid: {
|
|
233
|
-
default: import("../../factories/
|
|
234
|
-
hover: import("../../factories/
|
|
235
|
-
pressed: import("../../factories/
|
|
233
|
+
default: import("../../factories/index.js").ButtonState;
|
|
234
|
+
hover: import("../../factories/index.js").ButtonState;
|
|
235
|
+
pressed: import("../../factories/index.js").ButtonState;
|
|
236
236
|
};
|
|
237
237
|
readonly outline: {
|
|
238
238
|
readonly default: {
|
|
@@ -306,9 +306,9 @@ export declare const button: {
|
|
|
306
306
|
readonly danger: {
|
|
307
307
|
readonly ring: string;
|
|
308
308
|
readonly solid: {
|
|
309
|
-
default: import("../../factories/
|
|
310
|
-
hover: import("../../factories/
|
|
311
|
-
pressed: import("../../factories/
|
|
309
|
+
default: import("../../factories/index.js").ButtonState;
|
|
310
|
+
hover: import("../../factories/index.js").ButtonState;
|
|
311
|
+
pressed: import("../../factories/index.js").ButtonState;
|
|
312
312
|
};
|
|
313
313
|
readonly outline: {
|
|
314
314
|
readonly default: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/button.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/button.ts"],"names":[],"mappings":"AA+JA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYjB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createButtonPalette } from '../../factories/
|
|
1
|
+
import { createButtonPalette, createButtonTokens, } from '../../factories/components/createButtonTokens.js';
|
|
2
2
|
import { colors } from '../../primitives/colors.js';
|
|
3
3
|
import { border } from '../semantic/border.js';
|
|
4
4
|
import { status } from '../semantic/status.js';
|
|
@@ -148,7 +148,7 @@ const danger = createButtonPalette({
|
|
|
148
148
|
pressedFg: colors.error[300],
|
|
149
149
|
pressedBorder: colors.error[500],
|
|
150
150
|
});
|
|
151
|
-
export const button = {
|
|
151
|
+
export const button = createButtonTokens({
|
|
152
152
|
primary,
|
|
153
153
|
neutral,
|
|
154
154
|
success,
|
|
@@ -159,4 +159,4 @@ export const button = {
|
|
|
159
159
|
fg: text.disabled,
|
|
160
160
|
border: border.disabled,
|
|
161
161
|
},
|
|
162
|
-
};
|
|
162
|
+
});
|
|
@@ -12,33 +12,33 @@ export declare const checkbox: {
|
|
|
12
12
|
};
|
|
13
13
|
readonly primary: {
|
|
14
14
|
readonly ring: string;
|
|
15
|
-
readonly default: import("../../factories/
|
|
16
|
-
readonly hover: import("../../factories/
|
|
17
|
-
readonly pressed: import("../../factories/
|
|
15
|
+
readonly default: import("../../factories/index.js").CheckboxState;
|
|
16
|
+
readonly hover: import("../../factories/index.js").CheckboxState;
|
|
17
|
+
readonly pressed: import("../../factories/index.js").CheckboxState;
|
|
18
18
|
};
|
|
19
19
|
readonly neutral: {
|
|
20
20
|
readonly ring: string;
|
|
21
|
-
readonly default: import("../../factories/
|
|
22
|
-
readonly hover: import("../../factories/
|
|
23
|
-
readonly pressed: import("../../factories/
|
|
21
|
+
readonly default: import("../../factories/index.js").CheckboxState;
|
|
22
|
+
readonly hover: import("../../factories/index.js").CheckboxState;
|
|
23
|
+
readonly pressed: import("../../factories/index.js").CheckboxState;
|
|
24
24
|
};
|
|
25
25
|
readonly success: {
|
|
26
26
|
readonly ring: string;
|
|
27
|
-
readonly default: import("../../factories/
|
|
28
|
-
readonly hover: import("../../factories/
|
|
29
|
-
readonly pressed: import("../../factories/
|
|
27
|
+
readonly default: import("../../factories/index.js").CheckboxState;
|
|
28
|
+
readonly hover: import("../../factories/index.js").CheckboxState;
|
|
29
|
+
readonly pressed: import("../../factories/index.js").CheckboxState;
|
|
30
30
|
};
|
|
31
31
|
readonly warning: {
|
|
32
32
|
readonly ring: string;
|
|
33
|
-
readonly default: import("../../factories/
|
|
34
|
-
readonly hover: import("../../factories/
|
|
35
|
-
readonly pressed: import("../../factories/
|
|
33
|
+
readonly default: import("../../factories/index.js").CheckboxState;
|
|
34
|
+
readonly hover: import("../../factories/index.js").CheckboxState;
|
|
35
|
+
readonly pressed: import("../../factories/index.js").CheckboxState;
|
|
36
36
|
};
|
|
37
37
|
readonly danger: {
|
|
38
38
|
readonly ring: string;
|
|
39
|
-
readonly default: import("../../factories/
|
|
40
|
-
readonly hover: import("../../factories/
|
|
41
|
-
readonly pressed: import("../../factories/
|
|
39
|
+
readonly default: import("../../factories/index.js").CheckboxState;
|
|
40
|
+
readonly hover: import("../../factories/index.js").CheckboxState;
|
|
41
|
+
readonly pressed: import("../../factories/index.js").CheckboxState;
|
|
42
42
|
};
|
|
43
43
|
readonly focus: {
|
|
44
44
|
readonly ring: "#FCD34D";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/checkbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/checkbox.ts"],"names":[],"mappings":"AAwHA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createCheckboxPalette } from '../../factories/
|
|
1
|
+
import { createCheckboxPalette, createCheckboxTokens, } from '../../factories/components/createCheckboxTokens.js';
|
|
2
2
|
import { colors } from '../../primitives/colors.js';
|
|
3
3
|
import { control } from '../semantic/control.js';
|
|
4
4
|
import { focus } from '../semantic/focus.js';
|
|
@@ -109,7 +109,7 @@ const danger = createCheckboxPalette({
|
|
|
109
109
|
labelFg: colors.error[300],
|
|
110
110
|
},
|
|
111
111
|
});
|
|
112
|
-
export const checkbox = {
|
|
112
|
+
export const checkbox = createCheckboxTokens({
|
|
113
113
|
default: control.default,
|
|
114
114
|
hover: {
|
|
115
115
|
...control.hover,
|
|
@@ -129,4 +129,4 @@ export const checkbox = {
|
|
|
129
129
|
border: status.error.border,
|
|
130
130
|
ring: status.error.ring,
|
|
131
131
|
},
|
|
132
|
-
};
|
|
132
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContextMenuTokensFromSemantics } from '../../factories/createContextMenuTokens.js';
|
|
1
|
+
import { createContextMenuTokensFromSemantics } from '../../factories/components/createContextMenuTokens.js';
|
|
2
2
|
import { focus } from '../semantic/focus.js';
|
|
3
3
|
import { menu } from '../semantic/menu.js';
|
|
4
4
|
import { text } from '../semantic/text.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/dropdown.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/dropdown.ts"],"names":[],"mappings":"AA4EA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FnB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { createDropdownPalette, createDropdownTokens, } from '../../factories/components/createDropdownTokens.js';
|
|
2
|
+
import { createInputColorPalette } from '../../factories/components/createInputTokens.js';
|
|
3
|
+
import { createComponentFocusRing } from '../../factories/shared/componentFocusRing.js';
|
|
4
4
|
import { createComponentShadowIntent } from '../../platform-output/component-token-intents.js';
|
|
5
5
|
import { colors } from '../../primitives/colors.js';
|
|
6
6
|
import { border } from '../semantic/border.js';
|
|
@@ -64,7 +64,7 @@ const danger = createInputColorPalette({
|
|
|
64
64
|
hoverBg: colors.error[950],
|
|
65
65
|
ring: colors.error[300],
|
|
66
66
|
});
|
|
67
|
-
export const dropdown = {
|
|
67
|
+
export const dropdown = createDropdownTokens({
|
|
68
68
|
primary: createDropdownPalette(primary, {
|
|
69
69
|
contentBorder: border.default,
|
|
70
70
|
itemActiveRing: status.warning.border,
|
|
@@ -144,4 +144,4 @@ export const dropdown = {
|
|
|
144
144
|
bg: border.default,
|
|
145
145
|
fg: text.muted,
|
|
146
146
|
},
|
|
147
|
-
};
|
|
147
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formField.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/formField.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formField.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/formField.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUpB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { createFormFieldTokensFromTheme } from '../../factories/createFormFieldTokens.js';
|
|
1
|
+
import { createFormFieldTokensFromTheme } from '../../factories/components/createFormFieldTokens.js';
|
|
2
|
+
import { colors } from '../../primitives/colors.js';
|
|
2
3
|
import { radius } from '../../tokens/radius.js';
|
|
3
4
|
import { spacing } from '../../tokens/spacing.js';
|
|
4
5
|
import { typography } from '../../tokens/typography.js';
|
|
@@ -10,4 +11,8 @@ export const formField = createFormFieldTokensFromTheme({
|
|
|
10
11
|
typography,
|
|
11
12
|
status,
|
|
12
13
|
text,
|
|
14
|
+
presentation: {
|
|
15
|
+
requiredMarkFg: colors.error[400],
|
|
16
|
+
labelInfoBorder: colors.vellira[150],
|
|
17
|
+
},
|
|
13
18
|
});
|
|
@@ -2,91 +2,91 @@ export declare const input: {
|
|
|
2
2
|
readonly primary: {
|
|
3
3
|
readonly ring: string;
|
|
4
4
|
readonly outline: {
|
|
5
|
-
default: import("../../factories/
|
|
6
|
-
hover: import("../../factories/
|
|
7
|
-
focus: import("../../factories/
|
|
5
|
+
default: import("../../factories/index.js").InputState;
|
|
6
|
+
hover: import("../../factories/index.js").InputState;
|
|
7
|
+
focus: import("../../factories/index.js").InputState;
|
|
8
8
|
};
|
|
9
9
|
readonly filled: {
|
|
10
|
-
default: import("../../factories/
|
|
11
|
-
hover: import("../../factories/
|
|
12
|
-
focus: import("../../factories/
|
|
10
|
+
default: import("../../factories/index.js").InputState;
|
|
11
|
+
hover: import("../../factories/index.js").InputState;
|
|
12
|
+
focus: import("../../factories/index.js").InputState;
|
|
13
13
|
};
|
|
14
14
|
readonly soft: {
|
|
15
|
-
default: import("../../factories/
|
|
16
|
-
hover: import("../../factories/
|
|
17
|
-
focus: import("../../factories/
|
|
15
|
+
default: import("../../factories/index.js").InputState;
|
|
16
|
+
hover: import("../../factories/index.js").InputState;
|
|
17
|
+
focus: import("../../factories/index.js").InputState;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
readonly neutral: {
|
|
21
21
|
readonly ring: string;
|
|
22
22
|
readonly outline: {
|
|
23
|
-
default: import("../../factories/
|
|
24
|
-
hover: import("../../factories/
|
|
25
|
-
focus: import("../../factories/
|
|
23
|
+
default: import("../../factories/index.js").InputState;
|
|
24
|
+
hover: import("../../factories/index.js").InputState;
|
|
25
|
+
focus: import("../../factories/index.js").InputState;
|
|
26
26
|
};
|
|
27
27
|
readonly filled: {
|
|
28
|
-
default: import("../../factories/
|
|
29
|
-
hover: import("../../factories/
|
|
30
|
-
focus: import("../../factories/
|
|
28
|
+
default: import("../../factories/index.js").InputState;
|
|
29
|
+
hover: import("../../factories/index.js").InputState;
|
|
30
|
+
focus: import("../../factories/index.js").InputState;
|
|
31
31
|
};
|
|
32
32
|
readonly soft: {
|
|
33
|
-
default: import("../../factories/
|
|
34
|
-
hover: import("../../factories/
|
|
35
|
-
focus: import("../../factories/
|
|
33
|
+
default: import("../../factories/index.js").InputState;
|
|
34
|
+
hover: import("../../factories/index.js").InputState;
|
|
35
|
+
focus: import("../../factories/index.js").InputState;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
readonly success: {
|
|
39
39
|
readonly ring: string;
|
|
40
40
|
readonly outline: {
|
|
41
|
-
default: import("../../factories/
|
|
42
|
-
hover: import("../../factories/
|
|
43
|
-
focus: import("../../factories/
|
|
41
|
+
default: import("../../factories/index.js").InputState;
|
|
42
|
+
hover: import("../../factories/index.js").InputState;
|
|
43
|
+
focus: import("../../factories/index.js").InputState;
|
|
44
44
|
};
|
|
45
45
|
readonly filled: {
|
|
46
|
-
default: import("../../factories/
|
|
47
|
-
hover: import("../../factories/
|
|
48
|
-
focus: import("../../factories/
|
|
46
|
+
default: import("../../factories/index.js").InputState;
|
|
47
|
+
hover: import("../../factories/index.js").InputState;
|
|
48
|
+
focus: import("../../factories/index.js").InputState;
|
|
49
49
|
};
|
|
50
50
|
readonly soft: {
|
|
51
|
-
default: import("../../factories/
|
|
52
|
-
hover: import("../../factories/
|
|
53
|
-
focus: import("../../factories/
|
|
51
|
+
default: import("../../factories/index.js").InputState;
|
|
52
|
+
hover: import("../../factories/index.js").InputState;
|
|
53
|
+
focus: import("../../factories/index.js").InputState;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
readonly warning: {
|
|
57
57
|
readonly ring: string;
|
|
58
58
|
readonly outline: {
|
|
59
|
-
default: import("../../factories/
|
|
60
|
-
hover: import("../../factories/
|
|
61
|
-
focus: import("../../factories/
|
|
59
|
+
default: import("../../factories/index.js").InputState;
|
|
60
|
+
hover: import("../../factories/index.js").InputState;
|
|
61
|
+
focus: import("../../factories/index.js").InputState;
|
|
62
62
|
};
|
|
63
63
|
readonly filled: {
|
|
64
|
-
default: import("../../factories/
|
|
65
|
-
hover: import("../../factories/
|
|
66
|
-
focus: import("../../factories/
|
|
64
|
+
default: import("../../factories/index.js").InputState;
|
|
65
|
+
hover: import("../../factories/index.js").InputState;
|
|
66
|
+
focus: import("../../factories/index.js").InputState;
|
|
67
67
|
};
|
|
68
68
|
readonly soft: {
|
|
69
|
-
default: import("../../factories/
|
|
70
|
-
hover: import("../../factories/
|
|
71
|
-
focus: import("../../factories/
|
|
69
|
+
default: import("../../factories/index.js").InputState;
|
|
70
|
+
hover: import("../../factories/index.js").InputState;
|
|
71
|
+
focus: import("../../factories/index.js").InputState;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
readonly danger: {
|
|
75
75
|
readonly ring: string;
|
|
76
76
|
readonly outline: {
|
|
77
|
-
default: import("../../factories/
|
|
78
|
-
hover: import("../../factories/
|
|
79
|
-
focus: import("../../factories/
|
|
77
|
+
default: import("../../factories/index.js").InputState;
|
|
78
|
+
hover: import("../../factories/index.js").InputState;
|
|
79
|
+
focus: import("../../factories/index.js").InputState;
|
|
80
80
|
};
|
|
81
81
|
readonly filled: {
|
|
82
|
-
default: import("../../factories/
|
|
83
|
-
hover: import("../../factories/
|
|
84
|
-
focus: import("../../factories/
|
|
82
|
+
default: import("../../factories/index.js").InputState;
|
|
83
|
+
hover: import("../../factories/index.js").InputState;
|
|
84
|
+
focus: import("../../factories/index.js").InputState;
|
|
85
85
|
};
|
|
86
86
|
readonly soft: {
|
|
87
|
-
default: import("../../factories/
|
|
88
|
-
hover: import("../../factories/
|
|
89
|
-
focus: import("../../factories/
|
|
87
|
+
default: import("../../factories/index.js").InputState;
|
|
88
|
+
hover: import("../../factories/index.js").InputState;
|
|
89
|
+
focus: import("../../factories/index.js").InputState;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
readonly default: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/input.ts"],"names":[],"mappings":"AAuHA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FhB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createInputColorPalette } from '../../factories/
|
|
1
|
+
import { createInputColorPalette, createInputTokens, } from '../../factories/components/createInputTokens.js';
|
|
2
2
|
import { colors } from '../../primitives/colors.js';
|
|
3
3
|
import { border } from '../semantic/border.js';
|
|
4
4
|
import { focus } from '../semantic/focus.js';
|
|
@@ -81,7 +81,7 @@ const danger = createInputColorPalette({
|
|
|
81
81
|
hoverBg: colors.error[950],
|
|
82
82
|
ring: colors.error[500],
|
|
83
83
|
});
|
|
84
|
-
export const input = {
|
|
84
|
+
export const input = createInputTokens({
|
|
85
85
|
primary,
|
|
86
86
|
neutral,
|
|
87
87
|
success,
|
|
@@ -139,8 +139,8 @@ export const input = {
|
|
|
139
139
|
},
|
|
140
140
|
clearButton: {
|
|
141
141
|
fg: icons.muted,
|
|
142
|
-
hoverFg:
|
|
143
|
-
hoverBg:
|
|
142
|
+
hoverFg: colors.error[400],
|
|
143
|
+
hoverBg: colors.error[950],
|
|
144
144
|
focusBg: surface.subtle,
|
|
145
145
|
pressedBg: surface.pressed,
|
|
146
146
|
},
|
|
@@ -163,4 +163,4 @@ export const input = {
|
|
|
163
163
|
spinner: {
|
|
164
164
|
fg: icons.muted,
|
|
165
165
|
},
|
|
166
|
-
};
|
|
166
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createModalTokensFromSemantics } from '../../factories/createModalTokens.js';
|
|
1
|
+
import { createModalTokensFromSemantics } from '../../factories/components/createModalTokens.js';
|
|
2
2
|
import { radius } from '../../tokens/radius.js';
|
|
3
3
|
import { spacing } from '../../tokens/spacing.js';
|
|
4
4
|
import { focus } from '../semantic/focus.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createPopoverTokensFromTheme } from '../../factories/createPopoverTokens.js';
|
|
1
|
+
import { createPopoverTokensFromTheme } from '../../factories/components/createPopoverTokens.js';
|
|
2
2
|
import { radius } from '../../tokens/radius.js';
|
|
3
3
|
import { spacing } from '../../tokens/spacing.js';
|
|
4
4
|
import { overlay } from '../semantic/overlay.js';
|