@vellira-ui/tokens 2.103.1 → 2.103.3
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.js +1 -1
- package/dist/dark/components/checkbox.d.ts +15 -15
- package/dist/dark/components/checkbox.js +1 -1
- package/dist/dark/components/contextMenu.js +1 -1
- package/dist/dark/components/dropdown.js +3 -3
- 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.js +4 -4
- 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.js +1 -1
- package/dist/dark/components/radioGroup.js +1 -1
- package/dist/dark/components/select.d.ts +135 -135
- package/dist/dark/components/select.js +4 -4
- 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/{createButtonTokens.d.ts → components/createButtonTokens.d.ts} +2 -2
- package/dist/factories/components/createButtonTokens.d.ts.map +1 -0
- package/dist/factories/{createButtonTokens.js → components/createButtonTokens.js} +1 -1
- package/dist/factories/{createCheckboxTokens.d.ts → components/createCheckboxTokens.d.ts} +2 -2
- package/dist/factories/components/createCheckboxTokens.d.ts.map +1 -0
- package/dist/factories/{createCheckboxTokens.js → components/createCheckboxTokens.js} +1 -1
- 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/{createDropdownTokens.d.ts → components/createDropdownTokens.d.ts} +1 -1
- package/dist/factories/components/createDropdownTokens.d.ts.map +1 -0
- package/dist/factories/{createDropdownTokens.js → components/createDropdownTokens.js} +1 -1
- package/dist/factories/{createFormFieldTokens.d.ts → components/createFormFieldTokens.d.ts} +5 -1
- package/dist/factories/components/createFormFieldTokens.d.ts.map +1 -0
- package/dist/factories/{createFormFieldTokens.js → components/createFormFieldTokens.js} +3 -3
- package/dist/factories/{createInputTokens.d.ts → components/createInputTokens.d.ts} +2 -2
- package/dist/factories/components/createInputTokens.d.ts.map +1 -0
- package/dist/factories/{createInputTokens.js → components/createInputTokens.js} +1 -1
- 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/{createRadioTokens.d.ts → components/createRadioTokens.d.ts} +2 -2
- package/dist/factories/components/createRadioTokens.d.ts.map +1 -0
- package/dist/factories/{createRadioTokens.js → components/createRadioTokens.js} +1 -1
- package/dist/factories/{createSelectTokens.d.ts → components/createSelectTokens.d.ts} +1 -1
- package/dist/factories/components/createSelectTokens.d.ts.map +1 -0
- package/dist/factories/{createSelectTokens.js → components/createSelectTokens.js} +1 -1
- 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 -15
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +15 -15
- 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.js +1 -1
- package/dist/highContrast/components/checkbox.d.ts +15 -15
- package/dist/highContrast/components/checkbox.js +1 -1
- package/dist/highContrast/components/contextMenu.js +1 -1
- package/dist/highContrast/components/dropdown.js +3 -3
- 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.js +3 -3
- 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.js +1 -1
- package/dist/highContrast/components/radioGroup.js +1 -1
- package/dist/highContrast/components/select.d.ts +135 -135
- package/dist/highContrast/components/select.js +4 -4
- 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.js +1 -1
- package/dist/light/components/checkbox.d.ts +15 -15
- package/dist/light/components/checkbox.js +1 -1
- package/dist/light/components/contextMenu.js +1 -1
- package/dist/light/components/dropdown.js +3 -3
- 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.js +3 -3
- 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.js +1 -1
- package/dist/light/components/radioGroup.js +1 -1
- package/dist/light/components/select.d.ts +135 -135
- package/dist/light/components/select.js +4 -4
- 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/token-architecture.d.ts +15 -15
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +15 -15
- 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/createButtonTokens.d.ts.map +0 -1
- package/dist/factories/createCheckboxTokens.d.ts.map +0 -1
- package/dist/factories/createContextMenuTokens.d.ts.map +0 -1
- package/dist/factories/createDropdownTokens.d.ts.map +0 -1
- package/dist/factories/createFormFieldTokens.d.ts.map +0 -1
- package/dist/factories/createInputTokens.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/createRadioTokens.d.ts.map +0 -1
- package/dist/factories/createSelectTokens.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 { 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,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,OAAO,EAAE,qBAAqB,CAAC;QAC/B,QAAQ,EAAE;YACR,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,KAAK,EAAE,qBAAqB,CAAC;QAC7B,OAAO,EAAE,qBAAqB,CAAC;QAC/B,QAAQ,EAAE,qBAAqB,CAAC;KACjC,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,QAAQ,qBAAqB,0BAAW,CAAC;AAE/E,eAAO,MAAM,kCAAkC,GAAI,mCAKhD,uBAAuB,0BAkCtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ButtonTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createButtonTokens<const TTokens extends ButtonTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export type { ButtonPaletteConfig, ButtonState, } from '
|
|
4
|
-
export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '
|
|
3
|
+
export type { ButtonPaletteConfig, ButtonState, } from '../palettes/createButtonIntentPalette.js';
|
|
4
|
+
export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '../palettes/createButtonIntentPalette.js';
|
|
5
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createButtonTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '
|
|
4
|
+
export { createButtonIntentPalette, createButtonIntentPalette as createButtonPalette, transparent, } from '../palettes/createButtonIntentPalette.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type CheckboxTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createCheckboxTokens<const TTokens extends CheckboxTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export type { CheckboxPaletteConfig, CheckboxState, } from '
|
|
4
|
-
export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '
|
|
3
|
+
export type { CheckboxPaletteConfig, CheckboxState, } from '../palettes/createCheckboxIntentPalette.js';
|
|
4
|
+
export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '../palettes/createCheckboxIntentPalette.js';
|
|
5
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createCheckboxTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '
|
|
4
|
+
export { createCheckboxIntentPalette, createCheckboxIntentPalette as createCheckboxPalette, } from '../palettes/createCheckboxIntentPalette.js';
|
package/dist/factories/{createContextMenuTokens.d.ts → components/createContextMenuTokens.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createComponentFocusRing, type SemanticFocusRing } from '
|
|
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("
|
|
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("
|
|
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,OAAO,EACL,wBAAwB,EACxB,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAExE,KAAK,uBAAuB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,gBAAgB,CAAC;IAC5B,UAAU,EAAE,gBAAgB,CAAC;IAC7B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;;;;;;;;;;;;;;;;;;;;CAkIjB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createComponentShadowIntent } from '
|
|
2
|
-
import { createComponentFocusRing, } from '
|
|
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,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type DropdownTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createDropdownTokens<const TTokens extends DropdownTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '
|
|
3
|
+
export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '../palettes/createDropdownIntentPalette.js';
|
|
4
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createDropdownTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '
|
|
4
|
+
export { createDropdownIntentPalette, createDropdownIntentPalette as createDropdownPalette, } from '../palettes/createDropdownIntentPalette.js';
|
|
@@ -36,8 +36,12 @@ export type FormFieldThemeSources = {
|
|
|
36
36
|
muted: string;
|
|
37
37
|
disabled: string;
|
|
38
38
|
};
|
|
39
|
+
presentation: {
|
|
40
|
+
requiredMarkFg: string;
|
|
41
|
+
labelInfoBorder: string;
|
|
42
|
+
};
|
|
39
43
|
};
|
|
40
|
-
export declare const createFormFieldTokensFromTheme: ({ radius, spacing, typography, status, text, }: FormFieldThemeSources) => {
|
|
44
|
+
export declare const createFormFieldTokensFromTheme: ({ radius, spacing, typography, status, text, presentation, }: FormFieldThemeSources) => {
|
|
41
45
|
readonly label: {
|
|
42
46
|
readonly fg: string;
|
|
43
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,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtE,wBAAgB,qBAAqB,CACnC,KAAK,CAAC,OAAO,SAAS,qBAAqB,EAC3C,MAAM,EAAE,OAAO,GAAG,OAAO,CAE1B;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;KACd,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;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,UAAU,EAAE;YACV,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,KAAK,EAAE,eAAe,CAAC;QACvB,OAAO,EAAE,eAAe,CAAC;QACzB,OAAO,EAAE,eAAe,CAAC;QACzB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,YAAY,EAAE;QACZ,cAAc,EAAE,MAAM,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,8DAO5C,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGpB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function createFormFieldTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, status, text, }) => createFormFieldTokens({
|
|
4
|
+
export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, status, text, presentation, }) => createFormFieldTokens({
|
|
5
5
|
label: {
|
|
6
6
|
fg: text.primary,
|
|
7
7
|
},
|
|
@@ -10,7 +10,7 @@ export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, st
|
|
|
10
10
|
},
|
|
11
11
|
labelInfo: {
|
|
12
12
|
fg: text.secondary,
|
|
13
|
-
border:
|
|
13
|
+
border: presentation.labelInfoBorder,
|
|
14
14
|
radius: radius.full,
|
|
15
15
|
},
|
|
16
16
|
description: {
|
|
@@ -34,7 +34,7 @@ export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, st
|
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
requiredMark: {
|
|
37
|
-
fg:
|
|
37
|
+
fg: presentation.requiredMarkFg,
|
|
38
38
|
},
|
|
39
39
|
disabled: {
|
|
40
40
|
labelFg: text.disabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type InputTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createInputTokens<const TTokens extends InputTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export type { InputColorPaletteConfig, InputPaletteConfig, InputState, } from '
|
|
4
|
-
export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '
|
|
3
|
+
export type { InputColorPaletteConfig, InputPaletteConfig, InputState, } from '../palettes/createInputIntentPalette.js';
|
|
4
|
+
export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '../palettes/createInputIntentPalette.js';
|
|
5
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createInputTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '
|
|
4
|
+
export { createInputColorPalette, createInputIntentPalette, createInputIntentPalette as createInputPalette, } from '../palettes/createInputIntentPalette.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createComponentFocusRing, type SemanticFocusRing } from '
|
|
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("
|
|
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("
|
|
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;IAClB,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jB,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 '
|
|
2
|
-
import { createComponentFocusRing, } from '
|
|
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("
|
|
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("
|
|
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 '
|
|
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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type RadioTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createRadioTokens<const TTokens extends RadioTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export type { RadioPaletteConfig, RadioState, } from '
|
|
4
|
-
export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '
|
|
3
|
+
export type { RadioPaletteConfig, RadioState, } from '../palettes/createRadioIntentPalette.js';
|
|
4
|
+
export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '../palettes/createRadioIntentPalette.js';
|
|
5
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createRadioTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '
|
|
4
|
+
export { createRadioIntentPalette, createRadioIntentPalette as createRadioPalette, radioMotionTokens, radioSizeTokens, } from '../palettes/createRadioIntentPalette.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type SelectTokensConfig = Readonly<Record<string, unknown>>;
|
|
2
2
|
export declare function createSelectTokens<const TTokens extends SelectTokensConfig>(tokens: TTokens): TTokens;
|
|
3
|
-
export { createSelectIntentPalette, createSelectIntentPalette as createSelectPalette, } from '
|
|
3
|
+
export { createSelectIntentPalette, createSelectIntentPalette as createSelectPalette, } from '../palettes/createSelectIntentPalette.js';
|
|
4
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function createSelectTokens(tokens) {
|
|
2
2
|
return tokens;
|
|
3
3
|
}
|
|
4
|
-
export { createSelectIntentPalette, createSelectIntentPalette as createSelectPalette, } from '
|
|
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,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,GAAG,EAAE,iBAAiB,CAAC;IACvB,EAAE,EAAE;QACF,OAAO,EAAE,iBAAiB,CAAC;QAC3B,KAAK,EAAE,iBAAiB,CAAC;QACzB,OAAO,EAAE,iBAAiB,CAAC;KAC5B,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE;QACP,OAAO,EAAE,mBAAmB,CAAC;QAC7B,QAAQ,EAAE;YACR,OAAO,EAAE,mBAAmB,CAAC;YAC7B,KAAK,EAAE,mBAAmB,CAAC;YAC3B,OAAO,EAAE,mBAAmB,CAAC;SAC9B,CAAC;QACF,QAAQ,EAAE,mBAAmB,CAAC;KAC/B,CAAC;IACF,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,CAAC;CACH,CAAC;AAcF,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,uBAAW,CAAC;AAEzE,eAAO,MAAM,+BAA+B,GAAI,6BAI7C,oBAAoB,uBAiCnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTabsTokens.d.ts","sourceRoot":"","sources":["../../../src/factories/components/createTabsTokens.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7E7C,MAAM;qBACD,MAAM;;;YAGf,MAAM;;CAmFD,CAAC"}
|
|
@@ -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,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC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;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 '
|
|
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,16 +1,16 @@
|
|
|
1
|
-
export * from './createAccordionTokens.js';
|
|
2
|
-
export * from './createButtonTokens.js';
|
|
3
|
-
export * from './createCheckboxTokens.js';
|
|
4
|
-
export * from './createContextMenuTokens.js';
|
|
5
|
-
export * from './createDropdownTokens.js';
|
|
6
|
-
export * from './createFormFieldTokens.js';
|
|
7
|
-
export * from './createInputTokens.js';
|
|
8
|
-
export * from './createModalTokens.js';
|
|
9
|
-
export * from './createPopoverTokens.js';
|
|
10
|
-
export * from './createRadioGroupTokens.js';
|
|
11
|
-
export * from './createRadioTokens.js';
|
|
12
|
-
export * from './createSelectTokens.js';
|
|
13
|
-
export * from './createSwitchTokens.js';
|
|
14
|
-
export * from './createTabsTokens.js';
|
|
15
|
-
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';
|
|
16
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,
|
|
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"}
|
package/dist/factories/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './createAccordionTokens.js';
|
|
2
|
-
export * from './createButtonTokens.js';
|
|
3
|
-
export * from './createCheckboxTokens.js';
|
|
4
|
-
export * from './createContextMenuTokens.js';
|
|
5
|
-
export * from './createDropdownTokens.js';
|
|
6
|
-
export * from './createFormFieldTokens.js';
|
|
7
|
-
export * from './createInputTokens.js';
|
|
8
|
-
export * from './createModalTokens.js';
|
|
9
|
-
export * from './createPopoverTokens.js';
|
|
10
|
-
export * from './createRadioGroupTokens.js';
|
|
11
|
-
export * from './createRadioTokens.js';
|
|
12
|
-
export * from './createSelectTokens.js';
|
|
13
|
-
export * from './createSwitchTokens.js';
|
|
14
|
-
export * from './createTabsTokens.js';
|
|
15
|
-
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';
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { createButtonPalette, createButtonTokens, } from '../../factories/createButtonTokens.js';
|
|
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';
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { createCheckboxPalette, createCheckboxTokens, } from '../../factories/createCheckboxTokens.js';
|
|
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';
|
|
@@ -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,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';
|