@vellira-ui/tokens 2.22.5 → 2.24.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 +120 -78
- package/dist/dark/components/checkbox.d.ts +3 -3
- package/dist/dark/components/checkbox.js +1 -1
- package/dist/dark/components/dropdown.d.ts +1 -1
- package/dist/dark/components/input.d.ts +1 -1
- package/dist/dark/components/menu.d.ts +1 -1
- package/dist/dark/components/radio.d.ts +21 -5
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +19 -3
- package/dist/dark/semantic/control.d.ts +7 -2
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +7 -2
- package/dist/dark/semantic/status.d.ts +1 -1
- package/dist/dark/semantic/status.js +1 -1
- package/dist/dark/theme.d.ts +5 -3
- package/dist/dark/theme.d.ts.map +1 -1
- package/dist/generated/token-types.d.ts +7 -7
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +64 -0
- package/dist/highContrast/components/button.d.ts +4 -4
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +4 -5
- package/dist/highContrast/components/checkbox.d.ts +5 -5
- package/dist/highContrast/components/formField.d.ts +1 -1
- package/dist/highContrast/components/formField.js +1 -1
- package/dist/highContrast/components/input.d.ts +2 -2
- package/dist/highContrast/components/radio.d.ts +23 -7
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +22 -6
- package/dist/highContrast/components/select.d.ts +2 -2
- package/dist/highContrast/components/tabs.d.ts +1 -1
- package/dist/highContrast/components/tooltip.d.ts +1 -1
- package/dist/highContrast/semantic/action.d.ts +1 -1
- package/dist/highContrast/semantic/action.js +7 -7
- package/dist/highContrast/semantic/control.d.ts +10 -5
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +8 -3
- package/dist/highContrast/semantic/navigation.d.ts +1 -1
- package/dist/highContrast/semantic/status.d.ts +2 -2
- package/dist/highContrast/semantic/status.js +2 -2
- package/dist/highContrast/semantic/surface.d.ts +1 -1
- package/dist/highContrast/semantic/surface.js +1 -1
- package/dist/highContrast/semantic/text.d.ts +2 -1
- package/dist/highContrast/semantic/text.d.ts.map +1 -1
- package/dist/highContrast/semantic/text.js +3 -3
- package/dist/highContrast/theme.d.ts +5 -3
- package/dist/highContrast/theme.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/light/components/checkbox.d.ts +4 -4
- package/dist/light/components/dropdown.d.ts +3 -3
- package/dist/light/components/formField.d.ts +2 -2
- package/dist/light/components/input.d.ts +3 -3
- package/dist/light/components/menu.d.ts +1 -1
- package/dist/light/components/radio.d.ts +18 -2
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +17 -1
- package/dist/light/components/select.d.ts +2 -2
- package/dist/light/components/tabs.d.ts +1 -1
- package/dist/light/components/tooltip.d.ts +1 -1
- package/dist/light/semantic/action.js +17 -17
- package/dist/light/semantic/control.d.ts +8 -3
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +8 -3
- package/dist/light/semantic/status.d.ts +2 -2
- package/dist/light/semantic/status.js +2 -2
- package/dist/light/semantic/text.d.ts +2 -2
- package/dist/light/semantic/text.js +2 -2
- package/dist/light/theme.d.ts +5 -3
- package/dist/light/theme.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts +5 -3
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/tokens/typography.js +5 -3
- package/package.json +2 -2
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { border } from '../semantic/border.js';
|
|
2
2
|
import { control } from '../semantic/control.js';
|
|
3
3
|
import { focus } from '../semantic/focus.js';
|
|
4
|
+
import { status } from '../semantic/status.js';
|
|
4
5
|
import { surface } from '../semantic/surface.js';
|
|
5
6
|
import { text } from '../semantic/text.js';
|
|
6
7
|
export const radio = {
|
|
7
8
|
default: {
|
|
8
|
-
bg: surface.
|
|
9
|
+
bg: surface.default,
|
|
9
10
|
fg: text.primary,
|
|
10
|
-
border: border.
|
|
11
|
+
border: border.default,
|
|
11
12
|
},
|
|
12
13
|
hover: control.hover,
|
|
14
|
+
pressed: control.active,
|
|
13
15
|
checked: {
|
|
14
16
|
default: {
|
|
15
17
|
...control.selected.default,
|
|
@@ -19,10 +21,24 @@ export const radio = {
|
|
|
19
21
|
...control.selected.hover,
|
|
20
22
|
fg: text.brand,
|
|
21
23
|
},
|
|
22
|
-
pressed:
|
|
24
|
+
pressed: {
|
|
25
|
+
...control.selected.active,
|
|
26
|
+
fg: text.brand,
|
|
27
|
+
},
|
|
28
|
+
disabled: {
|
|
29
|
+
bg: surface.subtle,
|
|
30
|
+
fg: text.disabled,
|
|
31
|
+
border: border.default,
|
|
32
|
+
},
|
|
23
33
|
},
|
|
24
34
|
focus: {
|
|
25
35
|
ring: focus.ring,
|
|
36
|
+
border: border.focus,
|
|
37
|
+
},
|
|
38
|
+
invalid: {
|
|
39
|
+
bg: surface.default,
|
|
40
|
+
fg: text.inverse,
|
|
41
|
+
border: status.error.border,
|
|
26
42
|
},
|
|
27
43
|
disabled: {
|
|
28
44
|
bg: surface.subtle,
|
|
@@ -9,11 +9,16 @@ export declare const control: {
|
|
|
9
9
|
readonly fg: "#B8A8FF";
|
|
10
10
|
readonly border: "#B8A8FF";
|
|
11
11
|
};
|
|
12
|
+
readonly active: {
|
|
13
|
+
readonly bg: "#E9E6FF";
|
|
14
|
+
readonly fg: "#342580";
|
|
15
|
+
readonly border: "#402C9F";
|
|
16
|
+
};
|
|
12
17
|
readonly selected: {
|
|
13
18
|
readonly default: {
|
|
14
|
-
readonly bg: "#
|
|
19
|
+
readonly bg: "#9B7CFF";
|
|
15
20
|
readonly fg: "#FFFFFF";
|
|
16
|
-
readonly border: "#
|
|
21
|
+
readonly border: "#9B7CFF";
|
|
17
22
|
};
|
|
18
23
|
readonly hover: {
|
|
19
24
|
readonly bg: "#5037C8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/control.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/control.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCV,CAAC"}
|
|
@@ -13,11 +13,16 @@ export const control = {
|
|
|
13
13
|
fg: text.brand,
|
|
14
14
|
border: colors.primary[300],
|
|
15
15
|
},
|
|
16
|
+
active: {
|
|
17
|
+
bg: colors.primary[100],
|
|
18
|
+
fg: colors.primary[900],
|
|
19
|
+
border: colors.primary[800],
|
|
20
|
+
},
|
|
16
21
|
selected: {
|
|
17
22
|
default: {
|
|
18
|
-
bg: colors.primary[
|
|
23
|
+
bg: colors.primary[400],
|
|
19
24
|
fg: text.inverse,
|
|
20
|
-
border: colors.primary[
|
|
25
|
+
border: colors.primary[400],
|
|
21
26
|
},
|
|
22
27
|
hover: {
|
|
23
28
|
bg: colors.primary[700],
|
package/dist/dark/theme.d.ts
CHANGED
|
@@ -212,10 +212,12 @@ export declare const darkTheme: {
|
|
|
212
212
|
readonly semibold: "700";
|
|
213
213
|
};
|
|
214
214
|
readonly lineHeight: {
|
|
215
|
-
readonly
|
|
215
|
+
readonly xs: 16;
|
|
216
|
+
readonly sm: 20;
|
|
216
217
|
readonly md: 24;
|
|
217
|
-
readonly lg:
|
|
218
|
-
readonly xl:
|
|
218
|
+
readonly lg: 28;
|
|
219
|
+
readonly xl: 32;
|
|
220
|
+
readonly xxl: 40;
|
|
219
221
|
};
|
|
220
222
|
};
|
|
221
223
|
readonly zIndex: {
|
package/dist/dark/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/dark/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/dark/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYZ,CAAC"}
|