@vellira-ui/tokens 2.25.0 → 2.26.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/css/tokens.css +1217 -870
- package/dist/dark/components/button.d.ts +53 -53
- package/dist/dark/components/button.d.ts.map +1 -1
- package/dist/dark/components/button.js +58 -60
- package/dist/dark/components/checkbox.d.ts +17 -13
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +21 -10
- package/dist/dark/components/contextMenu.d.ts +89 -0
- package/dist/dark/components/contextMenu.d.ts.map +1 -0
- package/dist/dark/components/contextMenu.js +52 -0
- package/dist/dark/components/dropdown.d.ts +33 -13
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +30 -27
- package/dist/dark/components/formField.d.ts +2 -2
- package/dist/dark/components/formField.js +1 -1
- package/dist/dark/components/index.d.ts +1 -1
- package/dist/dark/components/index.d.ts.map +1 -1
- package/dist/dark/components/index.js +1 -1
- package/dist/dark/components/input.d.ts +26 -26
- package/dist/dark/components/input.js +11 -11
- package/dist/dark/components/modal.d.ts +21 -4
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +18 -4
- package/dist/dark/components/radio.d.ts +24 -19
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +19 -19
- package/dist/dark/components/select.d.ts +24 -14
- package/dist/dark/components/select.d.ts.map +1 -1
- package/dist/dark/components/select.js +31 -24
- package/dist/dark/components/tabs.d.ts +17 -12
- package/dist/dark/components/tabs.d.ts.map +1 -1
- package/dist/dark/components/tabs.js +9 -8
- package/dist/dark/components/tooltip.d.ts +2 -1
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +7 -7
- package/dist/dark/semantic/action.d.ts +30 -30
- package/dist/dark/semantic/action.d.ts.map +1 -1
- package/dist/dark/semantic/action.js +45 -45
- package/dist/dark/semantic/border.d.ts +5 -5
- package/dist/dark/semantic/border.d.ts.map +1 -1
- package/dist/dark/semantic/border.js +5 -5
- package/dist/dark/semantic/control.d.ts +21 -16
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +24 -19
- package/dist/dark/semantic/divider.d.ts +3 -3
- package/dist/dark/semantic/divider.js +3 -3
- package/dist/dark/semantic/focus.d.ts +6 -2
- package/dist/dark/semantic/focus.d.ts.map +1 -1
- package/dist/dark/semantic/focus.js +6 -2
- package/dist/dark/semantic/icons.d.ts +10 -11
- package/dist/dark/semantic/icons.d.ts.map +1 -1
- package/dist/dark/semantic/icons.js +10 -11
- package/dist/dark/semantic/index.d.ts +3 -0
- package/dist/dark/semantic/index.d.ts.map +1 -1
- package/dist/dark/semantic/index.js +3 -0
- package/dist/dark/{components → semantic}/menu.d.ts +14 -19
- package/dist/dark/semantic/menu.d.ts.map +1 -0
- package/dist/dark/semantic/menu.js +47 -0
- package/dist/dark/semantic/navigation.d.ts +8 -8
- package/dist/dark/semantic/navigation.d.ts.map +1 -1
- package/dist/dark/semantic/navigation.js +5 -4
- package/dist/dark/semantic/overlay.d.ts +17 -0
- package/dist/dark/semantic/overlay.d.ts.map +1 -0
- package/dist/dark/semantic/overlay.js +19 -0
- package/dist/dark/semantic/shadow.d.ts +8 -0
- package/dist/dark/semantic/shadow.d.ts.map +1 -0
- package/dist/dark/semantic/shadow.js +7 -0
- package/dist/dark/semantic/skeleton.d.ts +2 -2
- package/dist/dark/semantic/skeleton.js +2 -2
- package/dist/dark/semantic/status.d.ts +12 -8
- package/dist/dark/semantic/status.d.ts.map +1 -1
- package/dist/dark/semantic/status.js +12 -8
- package/dist/dark/semantic/surface.d.ts +4 -4
- package/dist/dark/semantic/surface.d.ts.map +1 -1
- package/dist/dark/semantic/surface.js +4 -4
- package/dist/dark/semantic/text.d.ts +6 -5
- package/dist/dark/semantic/text.d.ts.map +1 -1
- package/dist/dark/semantic/text.js +6 -5
- package/dist/generated/token-types.d.ts +5 -5
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +565 -132
- package/dist/highContrast/components/button.d.ts +70 -70
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +68 -69
- package/dist/highContrast/components/checkbox.d.ts +19 -15
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +22 -12
- package/dist/highContrast/components/contextMenu.d.ts +89 -0
- package/dist/highContrast/components/contextMenu.d.ts.map +1 -0
- package/dist/highContrast/components/contextMenu.js +52 -0
- package/dist/highContrast/components/dropdown.d.ts +45 -25
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +28 -37
- package/dist/highContrast/components/formField.d.ts +5 -5
- package/dist/highContrast/components/formField.js +2 -2
- package/dist/highContrast/components/index.d.ts +1 -1
- package/dist/highContrast/components/index.d.ts.map +1 -1
- package/dist/highContrast/components/index.js +1 -1
- package/dist/highContrast/components/input.d.ts +29 -29
- package/dist/highContrast/components/input.d.ts.map +1 -1
- package/dist/highContrast/components/input.js +16 -17
- package/dist/highContrast/components/modal.d.ts +22 -5
- package/dist/highContrast/components/modal.d.ts.map +1 -1
- package/dist/highContrast/components/modal.js +19 -6
- package/dist/highContrast/components/radio.d.ts +27 -22
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +20 -20
- package/dist/highContrast/components/select.d.ts +27 -17
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +31 -30
- package/dist/highContrast/components/tabs.d.ts +21 -16
- package/dist/highContrast/components/tabs.d.ts.map +1 -1
- package/dist/highContrast/components/tabs.js +18 -15
- package/dist/highContrast/components/tooltip.d.ts +3 -2
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +7 -7
- package/dist/highContrast/semantic/action.d.ts +48 -38
- package/dist/highContrast/semantic/action.d.ts.map +1 -1
- package/dist/highContrast/semantic/action.js +58 -49
- package/dist/highContrast/semantic/border.d.ts +4 -4
- package/dist/highContrast/semantic/border.d.ts.map +1 -1
- package/dist/highContrast/semantic/border.js +4 -4
- package/dist/highContrast/semantic/control.d.ts +23 -28
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +24 -29
- package/dist/highContrast/semantic/divider.d.ts +2 -2
- package/dist/highContrast/semantic/divider.js +2 -2
- package/dist/highContrast/semantic/focus.d.ts +6 -2
- package/dist/highContrast/semantic/focus.d.ts.map +1 -1
- package/dist/highContrast/semantic/focus.js +6 -2
- package/dist/highContrast/semantic/icons.d.ts +10 -11
- package/dist/highContrast/semantic/icons.d.ts.map +1 -1
- package/dist/highContrast/semantic/icons.js +11 -12
- package/dist/highContrast/semantic/index.d.ts +4 -0
- package/dist/highContrast/semantic/index.d.ts.map +1 -1
- package/dist/highContrast/semantic/index.js +4 -0
- package/dist/highContrast/{components → semantic}/menu.d.ts +20 -25
- package/dist/highContrast/semantic/menu.d.ts.map +1 -0
- package/dist/highContrast/semantic/menu.js +47 -0
- package/dist/highContrast/semantic/navigation.d.ts +14 -25
- package/dist/highContrast/semantic/navigation.d.ts.map +1 -1
- package/dist/highContrast/semantic/navigation.js +12 -23
- package/dist/highContrast/semantic/overlay.d.ts +17 -0
- package/dist/highContrast/semantic/overlay.d.ts.map +1 -0
- package/dist/highContrast/semantic/overlay.js +19 -0
- package/dist/highContrast/semantic/shadow.d.ts +8 -0
- package/dist/highContrast/semantic/shadow.d.ts.map +1 -0
- package/dist/highContrast/semantic/shadow.js +7 -0
- package/dist/highContrast/semantic/skeleton.d.ts +1 -1
- package/dist/highContrast/semantic/skeleton.js +1 -1
- package/dist/highContrast/semantic/status.d.ts +17 -13
- package/dist/highContrast/semantic/status.d.ts.map +1 -1
- package/dist/highContrast/semantic/status.js +17 -13
- package/dist/highContrast/semantic/surface.d.ts +6 -6
- package/dist/highContrast/semantic/surface.d.ts.map +1 -1
- package/dist/highContrast/semantic/surface.js +7 -7
- package/dist/highContrast/semantic/text.d.ts +7 -6
- package/dist/highContrast/semantic/text.d.ts.map +1 -1
- package/dist/highContrast/semantic/text.js +7 -6
- package/dist/light/components/button.d.ts +49 -49
- package/dist/light/components/button.d.ts.map +1 -1
- package/dist/light/components/button.js +62 -64
- package/dist/light/components/checkbox.d.ts +18 -14
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +16 -12
- package/dist/light/components/contextMenu.d.ts +89 -0
- package/dist/light/components/contextMenu.d.ts.map +1 -0
- package/dist/light/components/contextMenu.js +52 -0
- package/dist/light/components/dropdown.d.ts +38 -18
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +21 -31
- package/dist/light/components/formField.d.ts +7 -7
- package/dist/light/components/formField.js +1 -1
- package/dist/light/components/index.d.ts +1 -1
- package/dist/light/components/index.d.ts.map +1 -1
- package/dist/light/components/index.js +1 -1
- package/dist/light/components/input.d.ts +31 -31
- package/dist/light/components/input.d.ts.map +1 -1
- package/dist/light/components/input.js +14 -15
- package/dist/light/components/modal.d.ts +25 -8
- package/dist/light/components/modal.d.ts.map +1 -1
- package/dist/light/components/modal.js +19 -6
- package/dist/light/components/radio.d.ts +23 -18
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +21 -21
- package/dist/light/components/select.d.ts +28 -18
- package/dist/light/components/select.d.ts.map +1 -1
- package/dist/light/components/select.js +31 -26
- package/dist/light/components/tabs.d.ts +20 -15
- package/dist/light/components/tabs.d.ts.map +1 -1
- package/dist/light/components/tabs.js +14 -13
- package/dist/light/components/tooltip.d.ts +3 -2
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +7 -7
- package/dist/light/semantic/action.d.ts +30 -28
- package/dist/light/semantic/action.d.ts.map +1 -1
- package/dist/light/semantic/action.js +38 -36
- package/dist/light/semantic/border.d.ts +4 -4
- package/dist/light/semantic/border.d.ts.map +1 -1
- package/dist/light/semantic/border.js +4 -4
- package/dist/light/semantic/control.d.ts +18 -13
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +18 -13
- package/dist/light/semantic/divider.d.ts +3 -3
- package/dist/light/semantic/divider.js +3 -3
- package/dist/light/semantic/focus.d.ts +6 -2
- package/dist/light/semantic/focus.d.ts.map +1 -1
- package/dist/light/semantic/focus.js +6 -2
- package/dist/light/semantic/icons.d.ts +10 -11
- package/dist/light/semantic/icons.d.ts.map +1 -1
- package/dist/light/semantic/icons.js +10 -11
- package/dist/light/semantic/index.d.ts +3 -0
- package/dist/light/semantic/index.d.ts.map +1 -1
- package/dist/light/semantic/index.js +3 -0
- package/dist/light/{components → semantic}/menu.d.ts +17 -22
- package/dist/light/semantic/menu.d.ts.map +1 -0
- package/dist/light/semantic/menu.js +47 -0
- package/dist/light/semantic/navigation.d.ts +13 -9
- package/dist/light/semantic/navigation.d.ts.map +1 -1
- package/dist/light/semantic/navigation.js +15 -9
- package/dist/light/semantic/overlay.d.ts +17 -0
- package/dist/light/semantic/overlay.d.ts.map +1 -0
- package/dist/light/semantic/overlay.js +19 -0
- package/dist/light/semantic/shadow.d.ts +8 -0
- package/dist/light/semantic/shadow.d.ts.map +1 -0
- package/dist/light/semantic/shadow.js +7 -0
- package/dist/light/semantic/skeleton.d.ts +2 -2
- package/dist/light/semantic/skeleton.js +2 -2
- package/dist/light/semantic/status.d.ts +14 -10
- package/dist/light/semantic/status.d.ts.map +1 -1
- package/dist/light/semantic/status.js +14 -10
- package/dist/light/semantic/surface.d.ts +6 -6
- package/dist/light/semantic/surface.d.ts.map +1 -1
- package/dist/light/semantic/surface.js +7 -7
- package/dist/light/semantic/text.d.ts +7 -5
- package/dist/light/semantic/text.d.ts.map +1 -1
- package/dist/light/semantic/text.js +7 -5
- package/dist/primitives/colors.d.ts +3 -5
- package/dist/primitives/colors.d.ts.map +1 -1
- package/dist/primitives/colors.js +3 -5
- package/package.json +1 -1
- package/dist/dark/components/menu.d.ts.map +0 -1
- package/dist/dark/components/menu.js +0 -47
- package/dist/highContrast/components/menu.d.ts.map +0 -1
- package/dist/highContrast/components/menu.js +0 -48
- package/dist/light/components/menu.d.ts.map +0 -1
- package/dist/light/components/menu.js +0 -48
|
@@ -19,35 +19,35 @@ export declare const button: {
|
|
|
19
19
|
};
|
|
20
20
|
readonly outline: {
|
|
21
21
|
readonly default: {
|
|
22
|
-
readonly
|
|
22
|
+
readonly bg: "transparent";
|
|
23
|
+
readonly fg: "#5037C8";
|
|
23
24
|
readonly border: "#6346E8";
|
|
24
|
-
readonly bg: string;
|
|
25
25
|
};
|
|
26
26
|
readonly hover: {
|
|
27
|
-
readonly bg: "#
|
|
28
|
-
readonly fg: "#
|
|
27
|
+
readonly bg: "#F4F3FF";
|
|
28
|
+
readonly fg: "#402C9F";
|
|
29
29
|
readonly border: "#5037C8";
|
|
30
30
|
};
|
|
31
31
|
readonly pressed: {
|
|
32
|
-
readonly bg: "#
|
|
33
|
-
readonly fg: "#
|
|
32
|
+
readonly bg: "#E9E6FF";
|
|
33
|
+
readonly fg: "#342580";
|
|
34
34
|
readonly border: "#402C9F";
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
readonly ghost: {
|
|
38
38
|
readonly default: {
|
|
39
|
-
readonly fg: "#
|
|
39
|
+
readonly fg: "#5037C8";
|
|
40
|
+
readonly bg: "transparent";
|
|
40
41
|
readonly border: "transparent";
|
|
41
|
-
readonly bg: string;
|
|
42
42
|
};
|
|
43
43
|
readonly hover: {
|
|
44
44
|
readonly bg: "#F4F3FF";
|
|
45
|
-
readonly fg: "#
|
|
45
|
+
readonly fg: "#402C9F";
|
|
46
46
|
readonly border: "transparent";
|
|
47
47
|
};
|
|
48
48
|
readonly pressed: {
|
|
49
|
-
readonly bg: "#
|
|
50
|
-
readonly fg: "#
|
|
49
|
+
readonly bg: "#E9E6FF";
|
|
50
|
+
readonly fg: "#342580";
|
|
51
51
|
readonly border: "transparent";
|
|
52
52
|
};
|
|
53
53
|
};
|
|
@@ -72,17 +72,17 @@ export declare const button: {
|
|
|
72
72
|
};
|
|
73
73
|
readonly outline: {
|
|
74
74
|
readonly default: {
|
|
75
|
+
readonly bg: "transparent";
|
|
75
76
|
readonly fg: "#0B7D95";
|
|
76
77
|
readonly border: "#0B7D95";
|
|
77
|
-
readonly bg: string;
|
|
78
78
|
};
|
|
79
79
|
readonly hover: {
|
|
80
|
-
readonly bg: "#
|
|
80
|
+
readonly bg: "#F2FDFF";
|
|
81
81
|
readonly fg: "#0A6175";
|
|
82
82
|
readonly border: "#0A6175";
|
|
83
83
|
};
|
|
84
84
|
readonly pressed: {
|
|
85
|
-
readonly bg: "#
|
|
85
|
+
readonly bg: "#D9FBFF";
|
|
86
86
|
readonly fg: "#094C5E";
|
|
87
87
|
readonly border: "#094C5E";
|
|
88
88
|
};
|
|
@@ -90,16 +90,16 @@ export declare const button: {
|
|
|
90
90
|
readonly ghost: {
|
|
91
91
|
readonly default: {
|
|
92
92
|
readonly fg: "#0B7D95";
|
|
93
|
+
readonly bg: "transparent";
|
|
93
94
|
readonly border: "transparent";
|
|
94
|
-
readonly bg: string;
|
|
95
95
|
};
|
|
96
96
|
readonly hover: {
|
|
97
|
-
readonly bg: "#
|
|
97
|
+
readonly bg: "#F2FDFF";
|
|
98
98
|
readonly fg: "#0A6175";
|
|
99
99
|
readonly border: "transparent";
|
|
100
100
|
};
|
|
101
101
|
readonly pressed: {
|
|
102
|
-
readonly bg: "#
|
|
102
|
+
readonly bg: "#D9FBFF";
|
|
103
103
|
readonly fg: "#094C5E";
|
|
104
104
|
readonly border: "transparent";
|
|
105
105
|
};
|
|
@@ -108,52 +108,52 @@ export declare const button: {
|
|
|
108
108
|
readonly close: {
|
|
109
109
|
readonly solid: {
|
|
110
110
|
readonly default: {
|
|
111
|
-
readonly bg: "#
|
|
112
|
-
readonly fg: "#
|
|
113
|
-
readonly border: "#
|
|
111
|
+
readonly bg: "#D4CEE8";
|
|
112
|
+
readonly fg: "#231F31";
|
|
113
|
+
readonly border: "#D4CEE8";
|
|
114
114
|
};
|
|
115
115
|
readonly hover: {
|
|
116
|
-
readonly bg: "#
|
|
117
|
-
readonly fg: "#
|
|
118
|
-
readonly border: "#
|
|
116
|
+
readonly bg: "#BBB2D2";
|
|
117
|
+
readonly fg: "#181521";
|
|
118
|
+
readonly border: "#BBB2D2";
|
|
119
119
|
};
|
|
120
120
|
readonly pressed: {
|
|
121
|
-
readonly bg: "#
|
|
122
|
-
readonly fg: "#
|
|
123
|
-
readonly border: "#
|
|
121
|
+
readonly bg: "#958CB0";
|
|
122
|
+
readonly fg: "#FFFFFF";
|
|
123
|
+
readonly border: "#958CB0";
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
readonly outline: {
|
|
127
127
|
readonly default: {
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
128
|
+
readonly bg: "transparent";
|
|
129
|
+
readonly fg: "#3D3754";
|
|
130
|
+
readonly border: "#958CB0";
|
|
131
131
|
};
|
|
132
132
|
readonly hover: {
|
|
133
|
-
readonly bg: "#
|
|
134
|
-
readonly fg: "#
|
|
135
|
-
readonly border: "#
|
|
133
|
+
readonly bg: "#F4F1FB";
|
|
134
|
+
readonly fg: "#2F2A42";
|
|
135
|
+
readonly border: "#6B6386";
|
|
136
136
|
};
|
|
137
137
|
readonly pressed: {
|
|
138
|
-
readonly bg: "#
|
|
139
|
-
readonly fg: "#
|
|
140
|
-
readonly border: "#
|
|
138
|
+
readonly bg: "#EEE8FA";
|
|
139
|
+
readonly fg: "#231F31";
|
|
140
|
+
readonly border: "#4F4867";
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
readonly ghost: {
|
|
144
144
|
readonly default: {
|
|
145
|
-
readonly fg: "#
|
|
145
|
+
readonly fg: "#3D3754";
|
|
146
|
+
readonly bg: "transparent";
|
|
146
147
|
readonly border: "transparent";
|
|
147
|
-
readonly bg: string;
|
|
148
148
|
};
|
|
149
149
|
readonly hover: {
|
|
150
|
-
readonly bg: "#
|
|
151
|
-
readonly fg: "#
|
|
150
|
+
readonly bg: "#F4F1FB";
|
|
151
|
+
readonly fg: "#2F2A42";
|
|
152
152
|
readonly border: "transparent";
|
|
153
153
|
};
|
|
154
154
|
readonly pressed: {
|
|
155
|
-
readonly bg: "#
|
|
156
|
-
readonly fg: "#
|
|
155
|
+
readonly bg: "#EEE8FA";
|
|
156
|
+
readonly fg: "#231F31";
|
|
157
157
|
readonly border: "transparent";
|
|
158
158
|
};
|
|
159
159
|
};
|
|
@@ -178,29 +178,29 @@ export declare const button: {
|
|
|
178
178
|
};
|
|
179
179
|
readonly outline: {
|
|
180
180
|
readonly default: {
|
|
181
|
+
readonly bg: "transparent";
|
|
181
182
|
readonly fg: "#BE123C";
|
|
182
|
-
readonly border: "#
|
|
183
|
-
readonly bg: string;
|
|
183
|
+
readonly border: "#E11D48";
|
|
184
184
|
};
|
|
185
185
|
readonly hover: {
|
|
186
|
-
readonly bg: "#
|
|
186
|
+
readonly bg: "#FFF1F2";
|
|
187
187
|
readonly fg: "#9F1239";
|
|
188
|
-
readonly border: "#
|
|
188
|
+
readonly border: "#BE123C";
|
|
189
189
|
};
|
|
190
190
|
readonly pressed: {
|
|
191
191
|
readonly bg: "#FFE4E6";
|
|
192
192
|
readonly fg: "#881337";
|
|
193
|
-
readonly border: "#
|
|
193
|
+
readonly border: "#9F1239";
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
readonly ghost: {
|
|
197
197
|
readonly default: {
|
|
198
198
|
readonly fg: "#BE123C";
|
|
199
|
+
readonly bg: "transparent";
|
|
199
200
|
readonly border: "transparent";
|
|
200
|
-
readonly bg: string;
|
|
201
201
|
};
|
|
202
202
|
readonly hover: {
|
|
203
|
-
readonly bg: "#
|
|
203
|
+
readonly bg: "#FFF1F2";
|
|
204
204
|
readonly fg: "#9F1239";
|
|
205
205
|
readonly border: "transparent";
|
|
206
206
|
};
|
|
@@ -213,7 +213,7 @@ export declare const button: {
|
|
|
213
213
|
};
|
|
214
214
|
readonly disabled: {
|
|
215
215
|
readonly bg: "#F4F1FB";
|
|
216
|
-
readonly fg: "#
|
|
216
|
+
readonly fg: "#958CB0";
|
|
217
217
|
readonly border: "#E4DDF4";
|
|
218
218
|
};
|
|
219
219
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/light/components/button.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/light/components/button.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkMT,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { colors } from '../../primitives/colors.js';
|
|
1
2
|
import { action } from '../semantic/action.js';
|
|
2
3
|
import { border } from '../semantic/border.js';
|
|
3
4
|
import { status } from '../semantic/status.js';
|
|
@@ -5,6 +6,7 @@ import { surface } from '../semantic/surface.js';
|
|
|
5
6
|
import { text } from '../semantic/text.js';
|
|
6
7
|
const transparent = {
|
|
7
8
|
bg: 'transparent',
|
|
9
|
+
border: 'transparent',
|
|
8
10
|
};
|
|
9
11
|
export const button = {
|
|
10
12
|
primary: {
|
|
@@ -15,36 +17,35 @@ export const button = {
|
|
|
15
17
|
},
|
|
16
18
|
outline: {
|
|
17
19
|
default: {
|
|
18
|
-
|
|
19
|
-
fg:
|
|
20
|
-
border:
|
|
20
|
+
bg: 'transparent',
|
|
21
|
+
fg: colors.primary[700],
|
|
22
|
+
border: colors.primary[600],
|
|
21
23
|
},
|
|
22
24
|
hover: {
|
|
23
|
-
bg:
|
|
24
|
-
fg:
|
|
25
|
-
border:
|
|
25
|
+
bg: action.primary.subtle.bg,
|
|
26
|
+
fg: colors.primary[800],
|
|
27
|
+
border: colors.primary[700],
|
|
26
28
|
},
|
|
27
29
|
pressed: {
|
|
28
|
-
bg:
|
|
29
|
-
fg:
|
|
30
|
-
border:
|
|
30
|
+
bg: action.primary.muted.bg,
|
|
31
|
+
fg: colors.primary[900],
|
|
32
|
+
border: colors.primary[800],
|
|
31
33
|
},
|
|
32
34
|
},
|
|
33
35
|
ghost: {
|
|
34
36
|
default: {
|
|
35
37
|
...transparent,
|
|
36
|
-
fg:
|
|
37
|
-
border: 'transparent',
|
|
38
|
+
fg: colors.primary[700],
|
|
38
39
|
},
|
|
39
40
|
hover: {
|
|
41
|
+
...transparent,
|
|
40
42
|
bg: action.primary.subtle.bg,
|
|
41
|
-
fg:
|
|
42
|
-
border: 'transparent',
|
|
43
|
+
fg: colors.primary[800],
|
|
43
44
|
},
|
|
44
45
|
pressed: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
...transparent,
|
|
47
|
+
bg: action.primary.muted.bg,
|
|
48
|
+
fg: colors.primary[900],
|
|
48
49
|
},
|
|
49
50
|
},
|
|
50
51
|
},
|
|
@@ -56,36 +57,35 @@ export const button = {
|
|
|
56
57
|
},
|
|
57
58
|
outline: {
|
|
58
59
|
default: {
|
|
59
|
-
|
|
60
|
-
fg:
|
|
61
|
-
border:
|
|
60
|
+
bg: 'transparent',
|
|
61
|
+
fg: colors.secondary[700],
|
|
62
|
+
border: colors.secondary[700],
|
|
62
63
|
},
|
|
63
64
|
hover: {
|
|
64
|
-
bg:
|
|
65
|
-
fg:
|
|
66
|
-
border:
|
|
65
|
+
bg: action.secondary.subtle.bg,
|
|
66
|
+
fg: colors.secondary[800],
|
|
67
|
+
border: colors.secondary[800],
|
|
67
68
|
},
|
|
68
69
|
pressed: {
|
|
69
|
-
bg:
|
|
70
|
-
fg:
|
|
71
|
-
border:
|
|
70
|
+
bg: action.secondary.muted.bg,
|
|
71
|
+
fg: colors.secondary[900],
|
|
72
|
+
border: colors.secondary[900],
|
|
72
73
|
},
|
|
73
74
|
},
|
|
74
75
|
ghost: {
|
|
75
76
|
default: {
|
|
76
77
|
...transparent,
|
|
77
|
-
fg:
|
|
78
|
-
border: 'transparent',
|
|
78
|
+
fg: colors.secondary[700],
|
|
79
79
|
},
|
|
80
80
|
hover: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
...transparent,
|
|
82
|
+
bg: action.secondary.subtle.bg,
|
|
83
|
+
fg: colors.secondary[800],
|
|
84
84
|
},
|
|
85
85
|
pressed: {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
...transparent,
|
|
87
|
+
bg: action.secondary.muted.bg,
|
|
88
|
+
fg: colors.secondary[900],
|
|
89
89
|
},
|
|
90
90
|
},
|
|
91
91
|
},
|
|
@@ -97,36 +97,35 @@ export const button = {
|
|
|
97
97
|
},
|
|
98
98
|
outline: {
|
|
99
99
|
default: {
|
|
100
|
-
|
|
101
|
-
fg:
|
|
102
|
-
border:
|
|
100
|
+
bg: 'transparent',
|
|
101
|
+
fg: colors.vellira[700],
|
|
102
|
+
border: colors.vellira[400],
|
|
103
103
|
},
|
|
104
104
|
hover: {
|
|
105
|
-
bg:
|
|
106
|
-
fg:
|
|
107
|
-
border:
|
|
105
|
+
bg: action.close.subtle.bg,
|
|
106
|
+
fg: colors.vellira[800],
|
|
107
|
+
border: colors.vellira[500],
|
|
108
108
|
},
|
|
109
109
|
pressed: {
|
|
110
|
-
bg:
|
|
111
|
-
fg:
|
|
112
|
-
border:
|
|
110
|
+
bg: action.close.muted.bg,
|
|
111
|
+
fg: colors.vellira[900],
|
|
112
|
+
border: colors.vellira[600],
|
|
113
113
|
},
|
|
114
114
|
},
|
|
115
115
|
ghost: {
|
|
116
116
|
default: {
|
|
117
117
|
...transparent,
|
|
118
118
|
fg: text.primary,
|
|
119
|
-
border: 'transparent',
|
|
120
119
|
},
|
|
121
120
|
hover: {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
...transparent,
|
|
122
|
+
bg: action.close.subtle.bg,
|
|
123
|
+
fg: colors.vellira[800],
|
|
125
124
|
},
|
|
126
125
|
pressed: {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
...transparent,
|
|
127
|
+
bg: action.close.muted.bg,
|
|
128
|
+
fg: colors.vellira[900],
|
|
130
129
|
},
|
|
131
130
|
},
|
|
132
131
|
},
|
|
@@ -138,36 +137,35 @@ export const button = {
|
|
|
138
137
|
},
|
|
139
138
|
outline: {
|
|
140
139
|
default: {
|
|
141
|
-
|
|
142
|
-
fg:
|
|
143
|
-
border:
|
|
140
|
+
bg: 'transparent',
|
|
141
|
+
fg: status.error.fg,
|
|
142
|
+
border: status.error.border,
|
|
144
143
|
},
|
|
145
144
|
hover: {
|
|
146
145
|
bg: status.error.bg,
|
|
147
|
-
fg:
|
|
148
|
-
border:
|
|
146
|
+
fg: colors.error[800],
|
|
147
|
+
border: colors.error[700],
|
|
149
148
|
},
|
|
150
149
|
pressed: {
|
|
151
|
-
bg:
|
|
152
|
-
fg:
|
|
153
|
-
border:
|
|
150
|
+
bg: action.danger.muted.bg,
|
|
151
|
+
fg: colors.error[900],
|
|
152
|
+
border: colors.error[800],
|
|
154
153
|
},
|
|
155
154
|
},
|
|
156
155
|
ghost: {
|
|
157
156
|
default: {
|
|
158
157
|
...transparent,
|
|
159
|
-
fg:
|
|
160
|
-
border: 'transparent',
|
|
158
|
+
fg: status.error.fg,
|
|
161
159
|
},
|
|
162
160
|
hover: {
|
|
161
|
+
...transparent,
|
|
163
162
|
bg: status.error.bg,
|
|
164
|
-
fg:
|
|
165
|
-
border: 'transparent',
|
|
163
|
+
fg: colors.error[800],
|
|
166
164
|
},
|
|
167
165
|
pressed: {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
...transparent,
|
|
167
|
+
bg: action.danger.muted.bg,
|
|
168
|
+
fg: colors.error[900],
|
|
171
169
|
},
|
|
172
170
|
},
|
|
173
171
|
},
|
|
@@ -1,42 +1,46 @@
|
|
|
1
1
|
export declare const checkbox: {
|
|
2
2
|
readonly default: {
|
|
3
|
-
readonly bg: "#
|
|
4
|
-
readonly fg: "#
|
|
5
|
-
readonly border: "#
|
|
3
|
+
readonly bg: "#FFFFFF";
|
|
4
|
+
readonly fg: "#3D3754";
|
|
5
|
+
readonly border: "#BBB2D2";
|
|
6
6
|
};
|
|
7
7
|
readonly hover: {
|
|
8
8
|
readonly bg: "#F4F3FF";
|
|
9
|
-
readonly fg: "#
|
|
9
|
+
readonly fg: "#402C9F";
|
|
10
10
|
readonly border: "#5037C8";
|
|
11
11
|
};
|
|
12
12
|
readonly checked: {
|
|
13
13
|
readonly default: {
|
|
14
|
+
readonly labelFg: "#5037C8";
|
|
14
15
|
readonly bg: "#6346E8";
|
|
15
16
|
readonly fg: "#FFFFFF";
|
|
16
17
|
readonly border: "#6346E8";
|
|
17
18
|
};
|
|
18
19
|
readonly hover: {
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
20
|
+
readonly labelFg: "#402C9F";
|
|
21
|
+
readonly bg: "#5037C8";
|
|
22
|
+
readonly fg: "#FFFFFF";
|
|
23
|
+
readonly border: "#5037C8";
|
|
22
24
|
};
|
|
23
25
|
readonly pressed: {
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
26
|
+
readonly labelFg: "#342580";
|
|
27
|
+
readonly bg: "#402C9F";
|
|
28
|
+
readonly fg: "#FFFFFF";
|
|
29
|
+
readonly border: "#402C9F";
|
|
27
30
|
};
|
|
28
31
|
};
|
|
29
32
|
readonly focus: {
|
|
30
33
|
readonly ring: "#5037C8";
|
|
31
34
|
};
|
|
32
35
|
readonly disabled: {
|
|
33
|
-
readonly bg: "#
|
|
34
|
-
readonly fg: "#
|
|
35
|
-
readonly border: "#
|
|
36
|
+
readonly bg: "#F4F1FB";
|
|
37
|
+
readonly fg: "#958CB0";
|
|
38
|
+
readonly border: "#E4DDF4";
|
|
36
39
|
};
|
|
37
40
|
readonly error: {
|
|
38
|
-
readonly fg: "#
|
|
41
|
+
readonly fg: "#BE123C";
|
|
39
42
|
readonly border: "#E11D48";
|
|
43
|
+
readonly ring: "#F43F5E";
|
|
40
44
|
};
|
|
41
45
|
};
|
|
42
46
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/light/components/checkbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/light/components/checkbox.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCX,CAAC"}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { border } from '../semantic/border.js';
|
|
2
1
|
import { control } from '../semantic/control.js';
|
|
3
2
|
import { focus } from '../semantic/focus.js';
|
|
4
3
|
import { status } from '../semantic/status.js';
|
|
5
|
-
import { surface } from '../semantic/surface.js';
|
|
6
4
|
import { text } from '../semantic/text.js';
|
|
7
5
|
export const checkbox = {
|
|
8
6
|
default: control.default,
|
|
9
7
|
hover: control.hover,
|
|
10
8
|
checked: {
|
|
11
|
-
default:
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
default: {
|
|
10
|
+
...control.selected.default,
|
|
11
|
+
labelFg: text.interactive,
|
|
12
|
+
},
|
|
13
|
+
hover: {
|
|
14
|
+
...control.selected.hover,
|
|
15
|
+
labelFg: text.interactiveHover,
|
|
16
|
+
},
|
|
17
|
+
pressed: {
|
|
18
|
+
...control.selected.active,
|
|
19
|
+
labelFg: text.interactiveActive,
|
|
20
|
+
},
|
|
14
21
|
},
|
|
15
22
|
focus: {
|
|
16
|
-
ring: focus.ring,
|
|
17
|
-
},
|
|
18
|
-
disabled: {
|
|
19
|
-
bg: surface.subtle,
|
|
20
|
-
fg: text.disabled,
|
|
21
|
-
border: border.muted,
|
|
23
|
+
ring: focus.ring.color,
|
|
22
24
|
},
|
|
25
|
+
disabled: control.disabled,
|
|
23
26
|
error: {
|
|
24
27
|
fg: status.error.fg,
|
|
25
|
-
border: status.error.
|
|
28
|
+
border: status.error.border,
|
|
29
|
+
ring: status.error.ring,
|
|
26
30
|
},
|
|
27
31
|
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export declare const contextMenu: {
|
|
2
|
+
readonly content: {
|
|
3
|
+
readonly bg: "#FFFFFF";
|
|
4
|
+
readonly border: "#E4DDF4";
|
|
5
|
+
readonly shadow: "0 12px 40px rgba(24, 21, 33, 0.16), 0 2px 8px rgba(24, 21, 33, 0.1)";
|
|
6
|
+
};
|
|
7
|
+
readonly item: {
|
|
8
|
+
readonly default: {
|
|
9
|
+
readonly bg: "transparent";
|
|
10
|
+
readonly fg: "#3D3754";
|
|
11
|
+
};
|
|
12
|
+
readonly hover: {
|
|
13
|
+
readonly bg: "#F4F1FB";
|
|
14
|
+
readonly fg: "#3D3754";
|
|
15
|
+
};
|
|
16
|
+
readonly active: {
|
|
17
|
+
readonly ring: "transparent";
|
|
18
|
+
readonly bg: "#EEE8FA";
|
|
19
|
+
readonly fg: "#3D3754";
|
|
20
|
+
};
|
|
21
|
+
readonly pressed: {
|
|
22
|
+
readonly bg: "#E4DDF4";
|
|
23
|
+
readonly fg: "#3D3754";
|
|
24
|
+
};
|
|
25
|
+
readonly focus: {
|
|
26
|
+
readonly ring: {
|
|
27
|
+
readonly color: "#5037C8";
|
|
28
|
+
readonly width: "2px";
|
|
29
|
+
readonly shadow: "0 0 8px rgba(99, 70, 232, 0.14)";
|
|
30
|
+
readonly offset: "#FFFFFF";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly disabled: {
|
|
34
|
+
readonly bg: "transparent";
|
|
35
|
+
readonly fg: "#958CB0";
|
|
36
|
+
};
|
|
37
|
+
readonly danger: {
|
|
38
|
+
readonly default: {
|
|
39
|
+
readonly bg: "transparent";
|
|
40
|
+
readonly fg: "#BE123C";
|
|
41
|
+
};
|
|
42
|
+
readonly hover: {
|
|
43
|
+
readonly bg: "#FFF1F2";
|
|
44
|
+
readonly fg: "#BE123C";
|
|
45
|
+
};
|
|
46
|
+
readonly active: {
|
|
47
|
+
readonly bg: "#FFE4E6";
|
|
48
|
+
readonly fg: "#9F1239";
|
|
49
|
+
};
|
|
50
|
+
readonly disabled: {
|
|
51
|
+
readonly bg: "transparent";
|
|
52
|
+
readonly fg: "#958CB0";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly trigger: {
|
|
57
|
+
readonly default: {
|
|
58
|
+
readonly bg: "transparent";
|
|
59
|
+
readonly fg: "#5037C8";
|
|
60
|
+
readonly border: "transparent";
|
|
61
|
+
};
|
|
62
|
+
readonly hover: {
|
|
63
|
+
readonly bg: "#F4F1FB";
|
|
64
|
+
readonly fg: "#402C9F";
|
|
65
|
+
readonly border: "transparent";
|
|
66
|
+
readonly ring: "transparent";
|
|
67
|
+
};
|
|
68
|
+
readonly focus: {
|
|
69
|
+
readonly bg: "transparent";
|
|
70
|
+
readonly fg: "#5037C8";
|
|
71
|
+
readonly border: "transparent";
|
|
72
|
+
readonly ring: {
|
|
73
|
+
readonly color: "#5037C8";
|
|
74
|
+
readonly width: "2px";
|
|
75
|
+
readonly shadow: "0 0 8px rgba(99, 70, 232, 0.14)";
|
|
76
|
+
readonly offset: "#FFFFFF";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly disabled: {
|
|
80
|
+
readonly bg: "transparent";
|
|
81
|
+
readonly fg: "#958CB0";
|
|
82
|
+
readonly border: "transparent";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly groupLabel: {
|
|
86
|
+
readonly fg: "#6B6386";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=contextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/light/components/contextMenu.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDd,CAAC"}
|