@vellira-ui/tokens 2.95.2 → 2.97.0
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/dark/components/accordion.d.ts.map +1 -1
- package/dist/dark/components/accordion.js +6 -34
- package/dist/dark/components/contextMenu.d.ts +35 -35
- package/dist/dark/components/contextMenu.d.ts.map +1 -1
- package/dist/dark/components/contextMenu.js +8 -49
- package/dist/dark/components/formField.d.ts +51 -51
- package/dist/dark/components/formField.d.ts.map +1 -1
- package/dist/dark/components/formField.js +8 -85
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +13 -23
- package/dist/dark/components/popover.d.ts.map +1 -1
- package/dist/dark/components/popover.js +8 -12
- package/dist/dark/components/radioGroup.d.ts.map +1 -1
- package/dist/dark/components/radioGroup.js +2 -8
- package/dist/dark/components/switch.d.ts.map +1 -1
- package/dist/dark/components/switch.js +5 -43
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +7 -15
- package/dist/factories/createAccordionTokens.d.ts +23 -0
- package/dist/factories/createAccordionTokens.d.ts.map +1 -1
- package/dist/factories/createAccordionTokens.js +34 -0
- package/dist/factories/createContextMenuTokens.d.ts +161 -0
- package/dist/factories/createContextMenuTokens.d.ts.map +1 -0
- package/dist/factories/createContextMenuTokens.js +67 -0
- package/dist/factories/createFormFieldTokens.d.ts +124 -0
- package/dist/factories/createFormFieldTokens.d.ts.map +1 -0
- package/dist/factories/createFormFieldTokens.js +85 -0
- package/dist/factories/createModalTokens.d.ts +118 -0
- package/dist/factories/createModalTokens.d.ts.map +1 -1
- package/dist/factories/createModalTokens.js +23 -0
- package/dist/factories/createPopoverTokens.d.ts +52 -0
- package/dist/factories/createPopoverTokens.d.ts.map +1 -1
- package/dist/factories/createPopoverTokens.js +12 -0
- package/dist/factories/createRadioGroupTokens.d.ts +19 -0
- package/dist/factories/createRadioGroupTokens.d.ts.map +1 -1
- package/dist/factories/createRadioGroupTokens.js +7 -0
- package/dist/factories/createSwitchTokens.d.ts +29 -0
- package/dist/factories/createSwitchTokens.d.ts.map +1 -1
- package/dist/factories/createSwitchTokens.js +44 -0
- package/dist/factories/createTooltipTokens.d.ts +29 -0
- package/dist/factories/createTooltipTokens.d.ts.map +1 -1
- package/dist/factories/createTooltipTokens.js +15 -0
- package/dist/highContrast/components/accordion.d.ts.map +1 -1
- package/dist/highContrast/components/accordion.js +6 -34
- package/dist/highContrast/components/contextMenu.d.ts +35 -35
- package/dist/highContrast/components/contextMenu.d.ts.map +1 -1
- package/dist/highContrast/components/contextMenu.js +8 -49
- package/dist/highContrast/components/formField.d.ts +51 -51
- package/dist/highContrast/components/formField.d.ts.map +1 -1
- package/dist/highContrast/components/formField.js +8 -85
- package/dist/highContrast/components/modal.d.ts.map +1 -1
- package/dist/highContrast/components/modal.js +9 -23
- package/dist/highContrast/components/popover.d.ts.map +1 -1
- package/dist/highContrast/components/popover.js +8 -12
- package/dist/highContrast/components/radioGroup.d.ts.map +1 -1
- package/dist/highContrast/components/radioGroup.js +2 -8
- package/dist/highContrast/components/switch.d.ts.map +1 -1
- package/dist/highContrast/components/switch.js +5 -43
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +7 -15
- package/dist/light/components/accordion.d.ts.map +1 -1
- package/dist/light/components/accordion.js +6 -34
- package/dist/light/components/contextMenu.d.ts +35 -35
- package/dist/light/components/contextMenu.d.ts.map +1 -1
- package/dist/light/components/contextMenu.js +8 -49
- package/dist/light/components/formField.d.ts +51 -51
- package/dist/light/components/formField.d.ts.map +1 -1
- package/dist/light/components/formField.js +8 -85
- package/dist/light/components/modal.d.ts.map +1 -1
- package/dist/light/components/modal.js +9 -23
- package/dist/light/components/popover.d.ts.map +1 -1
- package/dist/light/components/popover.js +8 -12
- package/dist/light/components/radioGroup.d.ts.map +1 -1
- package/dist/light/components/radioGroup.js +2 -8
- package/dist/light/components/switch.d.ts.map +1 -1
- package/dist/light/components/switch.js +5 -43
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +7 -15
- package/package.json +1 -1
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createTooltipTokensFromTheme } from '../../factories/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';
|
|
5
5
|
import { overlay } from '../semantic/overlay.js';
|
|
6
6
|
import { shadow } from '../semantic/shadow.js';
|
|
7
|
-
export const tooltip =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
contentPaddingX: spacing[3],
|
|
14
|
-
contentPaddingY: spacing[2],
|
|
15
|
-
contentCompactPaddingX: spacing[2],
|
|
16
|
-
contentCompactPaddingY: spacing[1],
|
|
17
|
-
contentFontSize: typography.size.sm,
|
|
18
|
-
contentLineHeight: typography.lineHeight.sm,
|
|
19
|
-
contentCompactFontSize: typography.size.xs,
|
|
20
|
-
contentCompactLineHeight: typography.lineHeight.xs,
|
|
7
|
+
export const tooltip = createTooltipTokensFromTheme({
|
|
8
|
+
overlay,
|
|
9
|
+
shadow,
|
|
10
|
+
radius,
|
|
11
|
+
spacing,
|
|
12
|
+
typography,
|
|
21
13
|
});
|
|
@@ -24,5 +24,28 @@ export type AccordionTokensConfig = {
|
|
|
24
24
|
};
|
|
25
25
|
focusRing: string;
|
|
26
26
|
};
|
|
27
|
+
export type AccordionThemeSemantics = {
|
|
28
|
+
border: {
|
|
29
|
+
muted: string;
|
|
30
|
+
};
|
|
31
|
+
focus: {
|
|
32
|
+
ring: {
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
surface: {
|
|
37
|
+
default: string;
|
|
38
|
+
subtle: string;
|
|
39
|
+
hover: string;
|
|
40
|
+
pressed: string;
|
|
41
|
+
disabled: string;
|
|
42
|
+
};
|
|
43
|
+
text: {
|
|
44
|
+
primary: string;
|
|
45
|
+
secondary: string;
|
|
46
|
+
disabled: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
27
49
|
export declare const createAccordionTokens: (config: AccordionTokensConfig) => AccordionTokensConfig;
|
|
50
|
+
export declare const createAccordionTokensFromSemantics: ({ border, focus, surface, text, }: AccordionThemeSemantics) => AccordionTokensConfig;
|
|
28
51
|
//# sourceMappingURL=createAccordionTokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccordionTokens.d.ts","sourceRoot":"","sources":["../../src/factories/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,eAAO,MAAM,qBAAqB,GAAI,QAAQ,qBAAqB,0BAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"createAccordionTokens.d.ts","sourceRoot":"","sources":["../../src/factories/createAccordionTokens.ts"],"names":[],"mappings":"AAAA,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,CAAC"}
|
|
@@ -1 +1,35 @@
|
|
|
1
1
|
export const createAccordionTokens = (config) => config;
|
|
2
|
+
export const createAccordionTokensFromSemantics = ({ border, focus, surface, text, }) => createAccordionTokens({
|
|
3
|
+
root: {
|
|
4
|
+
bg: surface.default,
|
|
5
|
+
border: border.muted,
|
|
6
|
+
},
|
|
7
|
+
divider: border.muted,
|
|
8
|
+
trigger: {
|
|
9
|
+
default: {
|
|
10
|
+
bg: surface.default,
|
|
11
|
+
fg: text.primary,
|
|
12
|
+
},
|
|
13
|
+
expanded: {
|
|
14
|
+
bg: surface.subtle,
|
|
15
|
+
},
|
|
16
|
+
hover: {
|
|
17
|
+
bg: surface.hover,
|
|
18
|
+
fg: text.primary,
|
|
19
|
+
},
|
|
20
|
+
pressed: {
|
|
21
|
+
bg: surface.pressed,
|
|
22
|
+
fg: text.primary,
|
|
23
|
+
},
|
|
24
|
+
disabled: {
|
|
25
|
+
bg: surface.disabled,
|
|
26
|
+
fg: text.disabled,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
indicator: text.secondary,
|
|
30
|
+
content: {
|
|
31
|
+
bg: surface.subtle,
|
|
32
|
+
fg: text.secondary,
|
|
33
|
+
},
|
|
34
|
+
focusRing: focus.ring.color,
|
|
35
|
+
});
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
type ContextMenuState = {
|
|
2
|
+
readonly bg: string;
|
|
3
|
+
readonly fg: string;
|
|
4
|
+
};
|
|
5
|
+
type ContextMenuDangerStates = {
|
|
6
|
+
readonly default: ContextMenuState;
|
|
7
|
+
readonly hover: ContextMenuState;
|
|
8
|
+
readonly active: ContextMenuState;
|
|
9
|
+
readonly disabled: ContextMenuState;
|
|
10
|
+
};
|
|
11
|
+
type ContextMenuFocusRing = {
|
|
12
|
+
readonly color: string;
|
|
13
|
+
readonly width: string;
|
|
14
|
+
readonly shadow: string;
|
|
15
|
+
readonly offset: string;
|
|
16
|
+
};
|
|
17
|
+
type ContextMenuTokensConfig = {
|
|
18
|
+
contentBg: string;
|
|
19
|
+
contentBorder: string;
|
|
20
|
+
contentShadow: string;
|
|
21
|
+
itemDefault: ContextMenuState;
|
|
22
|
+
itemHover: ContextMenuState;
|
|
23
|
+
itemActive: ContextMenuState;
|
|
24
|
+
itemPressed: ContextMenuState;
|
|
25
|
+
itemFocusRing: ContextMenuFocusRing;
|
|
26
|
+
itemDisabled: ContextMenuState;
|
|
27
|
+
itemDanger: ContextMenuDangerStates;
|
|
28
|
+
triggerDefaultFg: string;
|
|
29
|
+
triggerHoverBg: string;
|
|
30
|
+
triggerHoverFg: string;
|
|
31
|
+
triggerFocusFg: string;
|
|
32
|
+
triggerFocusRing: ContextMenuFocusRing;
|
|
33
|
+
triggerDisabledFg: string;
|
|
34
|
+
groupLabelFg: string;
|
|
35
|
+
};
|
|
36
|
+
export type ContextMenuThemeSemantics = {
|
|
37
|
+
focus: {
|
|
38
|
+
ring: ContextMenuFocusRing;
|
|
39
|
+
};
|
|
40
|
+
menu: {
|
|
41
|
+
background: string;
|
|
42
|
+
border: string;
|
|
43
|
+
item: {
|
|
44
|
+
default: ContextMenuState;
|
|
45
|
+
hover: ContextMenuState;
|
|
46
|
+
active: ContextMenuState;
|
|
47
|
+
pressed: ContextMenuState;
|
|
48
|
+
disabled: ContextMenuState;
|
|
49
|
+
danger: ContextMenuDangerStates;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
shadow: {
|
|
53
|
+
lg: string;
|
|
54
|
+
};
|
|
55
|
+
text: {
|
|
56
|
+
interactive: string;
|
|
57
|
+
interactiveHover: string;
|
|
58
|
+
disabled: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const createContextMenuTokens: (config: ContextMenuTokensConfig) => {
|
|
63
|
+
readonly content: {
|
|
64
|
+
readonly bg: string;
|
|
65
|
+
readonly border: string;
|
|
66
|
+
readonly shadow: string;
|
|
67
|
+
};
|
|
68
|
+
readonly item: {
|
|
69
|
+
readonly default: ContextMenuState;
|
|
70
|
+
readonly hover: ContextMenuState;
|
|
71
|
+
readonly active: {
|
|
72
|
+
readonly ring: "transparent";
|
|
73
|
+
readonly bg: string;
|
|
74
|
+
readonly fg: string;
|
|
75
|
+
};
|
|
76
|
+
readonly pressed: ContextMenuState;
|
|
77
|
+
readonly focus: {
|
|
78
|
+
readonly ring: ContextMenuFocusRing;
|
|
79
|
+
};
|
|
80
|
+
readonly disabled: ContextMenuState;
|
|
81
|
+
readonly danger: ContextMenuDangerStates;
|
|
82
|
+
};
|
|
83
|
+
readonly trigger: {
|
|
84
|
+
readonly default: {
|
|
85
|
+
readonly bg: "transparent";
|
|
86
|
+
readonly fg: string;
|
|
87
|
+
readonly border: "transparent";
|
|
88
|
+
};
|
|
89
|
+
readonly hover: {
|
|
90
|
+
readonly bg: string;
|
|
91
|
+
readonly fg: string;
|
|
92
|
+
readonly border: "transparent";
|
|
93
|
+
readonly ring: "transparent";
|
|
94
|
+
};
|
|
95
|
+
readonly focus: {
|
|
96
|
+
readonly bg: "transparent";
|
|
97
|
+
readonly fg: string;
|
|
98
|
+
readonly border: "transparent";
|
|
99
|
+
readonly ring: ContextMenuFocusRing;
|
|
100
|
+
};
|
|
101
|
+
readonly disabled: {
|
|
102
|
+
readonly bg: "transparent";
|
|
103
|
+
readonly fg: string;
|
|
104
|
+
readonly border: "transparent";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly groupLabel: {
|
|
108
|
+
readonly fg: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
export declare const createContextMenuTokensFromSemantics: ({ focus, menu, shadow, text, }: ContextMenuThemeSemantics) => {
|
|
112
|
+
readonly content: {
|
|
113
|
+
readonly bg: string;
|
|
114
|
+
readonly border: string;
|
|
115
|
+
readonly shadow: string;
|
|
116
|
+
};
|
|
117
|
+
readonly item: {
|
|
118
|
+
readonly default: ContextMenuState;
|
|
119
|
+
readonly hover: ContextMenuState;
|
|
120
|
+
readonly active: {
|
|
121
|
+
readonly ring: "transparent";
|
|
122
|
+
readonly bg: string;
|
|
123
|
+
readonly fg: string;
|
|
124
|
+
};
|
|
125
|
+
readonly pressed: ContextMenuState;
|
|
126
|
+
readonly focus: {
|
|
127
|
+
readonly ring: ContextMenuFocusRing;
|
|
128
|
+
};
|
|
129
|
+
readonly disabled: ContextMenuState;
|
|
130
|
+
readonly danger: ContextMenuDangerStates;
|
|
131
|
+
};
|
|
132
|
+
readonly trigger: {
|
|
133
|
+
readonly default: {
|
|
134
|
+
readonly bg: "transparent";
|
|
135
|
+
readonly fg: string;
|
|
136
|
+
readonly border: "transparent";
|
|
137
|
+
};
|
|
138
|
+
readonly hover: {
|
|
139
|
+
readonly bg: string;
|
|
140
|
+
readonly fg: string;
|
|
141
|
+
readonly border: "transparent";
|
|
142
|
+
readonly ring: "transparent";
|
|
143
|
+
};
|
|
144
|
+
readonly focus: {
|
|
145
|
+
readonly bg: "transparent";
|
|
146
|
+
readonly fg: string;
|
|
147
|
+
readonly border: "transparent";
|
|
148
|
+
readonly ring: ContextMenuFocusRing;
|
|
149
|
+
};
|
|
150
|
+
readonly disabled: {
|
|
151
|
+
readonly bg: "transparent";
|
|
152
|
+
readonly fg: string;
|
|
153
|
+
readonly border: "transparent";
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
readonly groupLabel: {
|
|
157
|
+
readonly fg: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
export {};
|
|
161
|
+
//# sourceMappingURL=createContextMenuTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createContextMenuTokens.d.ts","sourceRoot":"","sources":["../../src/factories/createContextMenuTokens.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,Q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gB,CAAC;YACxB,MAAM,EAAE,gBAAgB,CAAC;YACzB,OAAO,EAAE,gBAAgB,CAAC;YAC1B,QAAQ,EAAE,gBAAgB,CAAC;YAC3B,MAAM,EAAE,uBAAuB,CAAC;SACjC,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,QAAQ,uBAAuB;;;;;;;;;;;yBAjExD,MAAM;yBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHR,CAAC;AAEd,eAAO,MAAM,oCAAoC,GAAI,gCAKlD,yBAAyB;;;;;;;;;;;yBA3Hb,MAAM;yBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6IjB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export const createContextMenuTokens = (config) => ({
|
|
2
|
+
content: {
|
|
3
|
+
bg: config.contentBg,
|
|
4
|
+
border: config.contentBorder,
|
|
5
|
+
shadow: config.contentShadow,
|
|
6
|
+
},
|
|
7
|
+
item: {
|
|
8
|
+
default: config.itemDefault,
|
|
9
|
+
hover: config.itemHover,
|
|
10
|
+
active: {
|
|
11
|
+
...config.itemActive,
|
|
12
|
+
ring: 'transparent',
|
|
13
|
+
},
|
|
14
|
+
pressed: config.itemPressed,
|
|
15
|
+
focus: {
|
|
16
|
+
ring: config.itemFocusRing,
|
|
17
|
+
},
|
|
18
|
+
disabled: config.itemDisabled,
|
|
19
|
+
danger: config.itemDanger,
|
|
20
|
+
},
|
|
21
|
+
trigger: {
|
|
22
|
+
default: {
|
|
23
|
+
bg: 'transparent',
|
|
24
|
+
fg: config.triggerDefaultFg,
|
|
25
|
+
border: 'transparent',
|
|
26
|
+
},
|
|
27
|
+
hover: {
|
|
28
|
+
bg: config.triggerHoverBg,
|
|
29
|
+
fg: config.triggerHoverFg,
|
|
30
|
+
border: 'transparent',
|
|
31
|
+
ring: 'transparent',
|
|
32
|
+
},
|
|
33
|
+
focus: {
|
|
34
|
+
bg: 'transparent',
|
|
35
|
+
fg: config.triggerFocusFg,
|
|
36
|
+
border: 'transparent',
|
|
37
|
+
ring: config.triggerFocusRing,
|
|
38
|
+
},
|
|
39
|
+
disabled: {
|
|
40
|
+
bg: 'transparent',
|
|
41
|
+
fg: config.triggerDisabledFg,
|
|
42
|
+
border: 'transparent',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
groupLabel: {
|
|
46
|
+
fg: config.groupLabelFg,
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
export const createContextMenuTokensFromSemantics = ({ focus, menu, shadow, text, }) => createContextMenuTokens({
|
|
50
|
+
contentBg: menu.background,
|
|
51
|
+
contentBorder: menu.border,
|
|
52
|
+
contentShadow: shadow.lg,
|
|
53
|
+
itemDefault: menu.item.default,
|
|
54
|
+
itemHover: menu.item.hover,
|
|
55
|
+
itemActive: menu.item.active,
|
|
56
|
+
itemPressed: menu.item.pressed,
|
|
57
|
+
itemFocusRing: focus.ring,
|
|
58
|
+
itemDisabled: menu.item.disabled,
|
|
59
|
+
itemDanger: menu.item.danger,
|
|
60
|
+
triggerDefaultFg: text.interactive,
|
|
61
|
+
triggerHoverBg: menu.item.hover.bg,
|
|
62
|
+
triggerHoverFg: text.interactiveHover,
|
|
63
|
+
triggerFocusFg: text.interactive,
|
|
64
|
+
triggerFocusRing: focus.ring,
|
|
65
|
+
triggerDisabledFg: text.disabled,
|
|
66
|
+
groupLabelFg: text.secondary,
|
|
67
|
+
});
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
type FormFieldStatus = {
|
|
2
|
+
fg: string;
|
|
3
|
+
};
|
|
4
|
+
export type FormFieldThemeSources = {
|
|
5
|
+
radius: {
|
|
6
|
+
full: number;
|
|
7
|
+
};
|
|
8
|
+
spacing: {
|
|
9
|
+
readonly [key: number]: number;
|
|
10
|
+
};
|
|
11
|
+
typography: {
|
|
12
|
+
size: {
|
|
13
|
+
xs: number;
|
|
14
|
+
sm: number;
|
|
15
|
+
md: number;
|
|
16
|
+
lg: number;
|
|
17
|
+
};
|
|
18
|
+
lineHeight: {
|
|
19
|
+
xs: number;
|
|
20
|
+
sm: number;
|
|
21
|
+
md: number;
|
|
22
|
+
lg: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
status: {
|
|
26
|
+
error: FormFieldStatus;
|
|
27
|
+
success: FormFieldStatus;
|
|
28
|
+
warning: FormFieldStatus;
|
|
29
|
+
info: FormFieldStatus;
|
|
30
|
+
};
|
|
31
|
+
text: {
|
|
32
|
+
primary: string;
|
|
33
|
+
secondary: string;
|
|
34
|
+
muted: string;
|
|
35
|
+
disabled: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const createFormFieldTokensFromTheme: ({ radius, spacing, typography, status, text, }: FormFieldThemeSources) => {
|
|
39
|
+
readonly label: {
|
|
40
|
+
readonly fg: string;
|
|
41
|
+
};
|
|
42
|
+
readonly optional: {
|
|
43
|
+
readonly fg: string;
|
|
44
|
+
};
|
|
45
|
+
readonly labelInfo: {
|
|
46
|
+
readonly fg: string;
|
|
47
|
+
readonly border: string;
|
|
48
|
+
readonly radius: number;
|
|
49
|
+
};
|
|
50
|
+
readonly description: {
|
|
51
|
+
readonly fg: string;
|
|
52
|
+
};
|
|
53
|
+
readonly helperText: {
|
|
54
|
+
readonly default: {
|
|
55
|
+
readonly fg: string;
|
|
56
|
+
};
|
|
57
|
+
readonly error: {
|
|
58
|
+
readonly fg: string;
|
|
59
|
+
};
|
|
60
|
+
readonly success: {
|
|
61
|
+
readonly fg: string;
|
|
62
|
+
};
|
|
63
|
+
readonly warning: {
|
|
64
|
+
readonly fg: string;
|
|
65
|
+
};
|
|
66
|
+
readonly info: {
|
|
67
|
+
readonly fg: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly requiredMark: {
|
|
71
|
+
readonly fg: string;
|
|
72
|
+
};
|
|
73
|
+
readonly disabled: {
|
|
74
|
+
readonly labelFg: string;
|
|
75
|
+
readonly descriptionFg: string;
|
|
76
|
+
readonly helperTextFg: string;
|
|
77
|
+
};
|
|
78
|
+
readonly size: {
|
|
79
|
+
readonly sm: {
|
|
80
|
+
readonly gap: number;
|
|
81
|
+
readonly horizontalGap: number;
|
|
82
|
+
readonly labelFontSize: number;
|
|
83
|
+
readonly labelLineHeight: number;
|
|
84
|
+
readonly descriptionFontSize: number;
|
|
85
|
+
readonly descriptionLineHeight: number;
|
|
86
|
+
readonly helperTextFontSize: number;
|
|
87
|
+
readonly helperTextLineHeight: number;
|
|
88
|
+
readonly optionalFontSize: number;
|
|
89
|
+
readonly optionalLineHeight: number;
|
|
90
|
+
readonly labelInfoSize: number;
|
|
91
|
+
readonly labelInfoFontSize: number;
|
|
92
|
+
};
|
|
93
|
+
readonly md: {
|
|
94
|
+
readonly gap: number;
|
|
95
|
+
readonly horizontalGap: number;
|
|
96
|
+
readonly labelFontSize: number;
|
|
97
|
+
readonly labelLineHeight: number;
|
|
98
|
+
readonly descriptionFontSize: number;
|
|
99
|
+
readonly descriptionLineHeight: number;
|
|
100
|
+
readonly helperTextFontSize: number;
|
|
101
|
+
readonly helperTextLineHeight: number;
|
|
102
|
+
readonly optionalFontSize: number;
|
|
103
|
+
readonly optionalLineHeight: number;
|
|
104
|
+
readonly labelInfoSize: number;
|
|
105
|
+
readonly labelInfoFontSize: number;
|
|
106
|
+
};
|
|
107
|
+
readonly lg: {
|
|
108
|
+
readonly gap: number;
|
|
109
|
+
readonly horizontalGap: number;
|
|
110
|
+
readonly labelFontSize: number;
|
|
111
|
+
readonly labelLineHeight: number;
|
|
112
|
+
readonly descriptionFontSize: number;
|
|
113
|
+
readonly descriptionLineHeight: number;
|
|
114
|
+
readonly helperTextFontSize: number;
|
|
115
|
+
readonly helperTextLineHeight: number;
|
|
116
|
+
readonly optionalFontSize: number;
|
|
117
|
+
readonly optionalLineHeight: number;
|
|
118
|
+
readonly labelInfoSize: number;
|
|
119
|
+
readonly labelInfoFontSize: number;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=createFormFieldTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFormFieldTokens.d.ts","sourceRoot":"","sources":["../../src/factories/createFormFieldTokens.ts"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,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;CACH,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,gDAM5C,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGX,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export const createFormFieldTokensFromTheme = ({ radius, spacing, typography, status, text, }) => ({
|
|
2
|
+
label: {
|
|
3
|
+
fg: text.primary,
|
|
4
|
+
},
|
|
5
|
+
optional: {
|
|
6
|
+
fg: text.secondary,
|
|
7
|
+
},
|
|
8
|
+
labelInfo: {
|
|
9
|
+
fg: text.secondary,
|
|
10
|
+
border: text.secondary,
|
|
11
|
+
radius: radius.full,
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
fg: text.secondary,
|
|
15
|
+
},
|
|
16
|
+
helperText: {
|
|
17
|
+
default: {
|
|
18
|
+
fg: text.muted,
|
|
19
|
+
},
|
|
20
|
+
error: {
|
|
21
|
+
fg: status.error.fg,
|
|
22
|
+
},
|
|
23
|
+
success: {
|
|
24
|
+
fg: status.success.fg,
|
|
25
|
+
},
|
|
26
|
+
warning: {
|
|
27
|
+
fg: status.warning.fg,
|
|
28
|
+
},
|
|
29
|
+
info: {
|
|
30
|
+
fg: status.info.fg,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
requiredMark: {
|
|
34
|
+
fg: status.error.fg,
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
labelFg: text.disabled,
|
|
38
|
+
descriptionFg: text.disabled,
|
|
39
|
+
helperTextFg: text.disabled,
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
gap: spacing[1],
|
|
44
|
+
horizontalGap: spacing[3],
|
|
45
|
+
labelFontSize: typography.size.sm,
|
|
46
|
+
labelLineHeight: typography.lineHeight.sm,
|
|
47
|
+
descriptionFontSize: typography.size.xs,
|
|
48
|
+
descriptionLineHeight: typography.lineHeight.xs,
|
|
49
|
+
helperTextFontSize: typography.size.xs,
|
|
50
|
+
helperTextLineHeight: typography.lineHeight.xs,
|
|
51
|
+
optionalFontSize: typography.size.xs,
|
|
52
|
+
optionalLineHeight: typography.lineHeight.xs,
|
|
53
|
+
labelInfoSize: spacing[4],
|
|
54
|
+
labelInfoFontSize: typography.size.xs,
|
|
55
|
+
},
|
|
56
|
+
md: {
|
|
57
|
+
gap: spacing[2],
|
|
58
|
+
horizontalGap: spacing[4],
|
|
59
|
+
labelFontSize: typography.size.md,
|
|
60
|
+
labelLineHeight: typography.lineHeight.md,
|
|
61
|
+
descriptionFontSize: typography.size.sm,
|
|
62
|
+
descriptionLineHeight: typography.lineHeight.sm,
|
|
63
|
+
helperTextFontSize: typography.size.sm,
|
|
64
|
+
helperTextLineHeight: typography.lineHeight.sm,
|
|
65
|
+
optionalFontSize: typography.size.xs,
|
|
66
|
+
optionalLineHeight: typography.lineHeight.xs,
|
|
67
|
+
labelInfoSize: spacing[4],
|
|
68
|
+
labelInfoFontSize: typography.size.xs,
|
|
69
|
+
},
|
|
70
|
+
lg: {
|
|
71
|
+
gap: spacing[3],
|
|
72
|
+
horizontalGap: spacing[5],
|
|
73
|
+
labelFontSize: typography.size.lg,
|
|
74
|
+
labelLineHeight: typography.lineHeight.lg,
|
|
75
|
+
descriptionFontSize: typography.size.md,
|
|
76
|
+
descriptionLineHeight: typography.lineHeight.md,
|
|
77
|
+
helperTextFontSize: typography.size.md,
|
|
78
|
+
helperTextLineHeight: typography.lineHeight.md,
|
|
79
|
+
optionalFontSize: typography.size.sm,
|
|
80
|
+
optionalLineHeight: typography.lineHeight.sm,
|
|
81
|
+
labelInfoSize: spacing[5],
|
|
82
|
+
labelInfoFontSize: typography.size.sm,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
});
|
|
@@ -27,6 +27,43 @@ type ModalTokensConfig = {
|
|
|
27
27
|
spacing8: number;
|
|
28
28
|
spacing10: number;
|
|
29
29
|
};
|
|
30
|
+
export type ModalThemeSemantics = {
|
|
31
|
+
closeButtonHoverBg?: string;
|
|
32
|
+
closeButtonPressedBg?: string;
|
|
33
|
+
focus: {
|
|
34
|
+
ring: ModalFocusRing;
|
|
35
|
+
};
|
|
36
|
+
overlay: {
|
|
37
|
+
backdrop: string;
|
|
38
|
+
modal: {
|
|
39
|
+
bg: string;
|
|
40
|
+
border: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
radius: {
|
|
44
|
+
lg: number;
|
|
45
|
+
full: number;
|
|
46
|
+
};
|
|
47
|
+
shadow: {
|
|
48
|
+
xl: string;
|
|
49
|
+
};
|
|
50
|
+
spacing: {
|
|
51
|
+
1: number;
|
|
52
|
+
3: number;
|
|
53
|
+
4: number;
|
|
54
|
+
8: number;
|
|
55
|
+
10: number;
|
|
56
|
+
};
|
|
57
|
+
surface: {
|
|
58
|
+
hover: string;
|
|
59
|
+
pressed: string;
|
|
60
|
+
};
|
|
61
|
+
text: {
|
|
62
|
+
primary: string;
|
|
63
|
+
secondary: string;
|
|
64
|
+
disabled: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
30
67
|
export declare const createModalTokens: (config: ModalTokensConfig) => {
|
|
31
68
|
readonly overlay: {
|
|
32
69
|
readonly bg: string;
|
|
@@ -108,5 +145,86 @@ export declare const createModalTokens: (config: ModalTokensConfig) => {
|
|
|
108
145
|
readonly openDuration: "180ms";
|
|
109
146
|
};
|
|
110
147
|
};
|
|
148
|
+
export declare const createModalTokensFromSemantics: ({ closeButtonHoverBg, closeButtonPressedBg, focus, overlay, radius, shadow, spacing, surface, text, }: ModalThemeSemantics) => {
|
|
149
|
+
readonly overlay: {
|
|
150
|
+
readonly bg: string;
|
|
151
|
+
readonly blur: 4;
|
|
152
|
+
readonly animationDuration: "180ms";
|
|
153
|
+
};
|
|
154
|
+
readonly content: {
|
|
155
|
+
readonly bg: string;
|
|
156
|
+
readonly fg: string;
|
|
157
|
+
readonly border: string;
|
|
158
|
+
readonly shadow: string;
|
|
159
|
+
readonly borderWidth: 1;
|
|
160
|
+
readonly radius: number;
|
|
161
|
+
readonly padding: number;
|
|
162
|
+
readonly gap: number;
|
|
163
|
+
readonly minWidth: 320;
|
|
164
|
+
readonly maxHeight: "90vh";
|
|
165
|
+
readonly nativeMaxHeight: "90%";
|
|
166
|
+
readonly viewportMargin: number;
|
|
167
|
+
readonly topOffset: number;
|
|
168
|
+
readonly zIndexOffset: "1";
|
|
169
|
+
readonly animationDuration: "180ms";
|
|
170
|
+
readonly size: {
|
|
171
|
+
readonly sm: 400;
|
|
172
|
+
readonly md: 560;
|
|
173
|
+
readonly lg: 720;
|
|
174
|
+
readonly xl: 960;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
readonly title: {
|
|
178
|
+
readonly fg: string;
|
|
179
|
+
};
|
|
180
|
+
readonly description: {
|
|
181
|
+
readonly fg: string;
|
|
182
|
+
};
|
|
183
|
+
readonly header: {
|
|
184
|
+
readonly gap: number;
|
|
185
|
+
readonly paddingBottom: number;
|
|
186
|
+
readonly textGap: number;
|
|
187
|
+
};
|
|
188
|
+
readonly body: {
|
|
189
|
+
readonly paddingBottom: number;
|
|
190
|
+
};
|
|
191
|
+
readonly footer: {
|
|
192
|
+
readonly gap: number;
|
|
193
|
+
readonly paddingTop: number;
|
|
194
|
+
};
|
|
195
|
+
readonly closeButton: {
|
|
196
|
+
readonly size: 32;
|
|
197
|
+
readonly iconSize: 16;
|
|
198
|
+
readonly radius: number;
|
|
199
|
+
readonly default: {
|
|
200
|
+
readonly bg: "transparent";
|
|
201
|
+
readonly fg: string;
|
|
202
|
+
readonly border: "transparent";
|
|
203
|
+
};
|
|
204
|
+
readonly hover: {
|
|
205
|
+
readonly bg: string;
|
|
206
|
+
readonly fg: string;
|
|
207
|
+
readonly border: "transparent";
|
|
208
|
+
};
|
|
209
|
+
readonly pressed: {
|
|
210
|
+
readonly bg: string;
|
|
211
|
+
readonly fg: string;
|
|
212
|
+
readonly border: "transparent";
|
|
213
|
+
};
|
|
214
|
+
readonly focus: {
|
|
215
|
+
readonly ring: ModalFocusRing;
|
|
216
|
+
};
|
|
217
|
+
readonly disabled: {
|
|
218
|
+
readonly bg: "transparent";
|
|
219
|
+
readonly fg: string;
|
|
220
|
+
readonly border: "transparent";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
readonly motion: {
|
|
224
|
+
readonly closeDuration: "150ms";
|
|
225
|
+
readonly easing: "cubic-bezier(0.22, 1, 0.36, 1)";
|
|
226
|
+
readonly openDuration: "180ms";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
111
229
|
export {};
|
|
112
230
|
//# sourceMappingURL=createModalTokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createModalTokens.d.ts","sourceRoot":"","sources":["../../src/factories/createModalTokens.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,cAAc,CAAC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