@vellira-ui/tokens 2.27.0 → 2.29.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 +403 -85
- package/dist/dark/components/button.d.ts +15 -15
- package/dist/dark/components/button.js +1 -1
- package/dist/dark/components/checkbox.d.ts +29 -19
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +112 -14
- package/dist/dark/components/radio.d.ts +35 -25
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +117 -27
- package/dist/factories/createButtonPalette.d.ts.map +1 -0
- package/dist/factories/createCheckboxPalette.d.ts +19 -0
- package/dist/factories/createCheckboxPalette.d.ts.map +1 -0
- package/dist/factories/createCheckboxPalette.js +6 -0
- package/dist/factories/createRadioPalette.d.ts +19 -0
- package/dist/factories/createRadioPalette.d.ts.map +1 -0
- package/dist/factories/createRadioPalette.js +6 -0
- package/dist/factories/index.d.ts +4 -0
- package/dist/factories/index.d.ts.map +1 -0
- package/dist/factories/index.js +3 -0
- package/dist/generated/token-types.d.ts +4 -4
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +536 -112
- package/dist/highContrast/components/button.d.ts +15 -15
- package/dist/highContrast/components/button.js +1 -1
- package/dist/highContrast/components/checkbox.d.ts +29 -19
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +112 -20
- package/dist/highContrast/components/radio.d.ts +35 -25
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +117 -27
- package/dist/light/components/button.d.ts +15 -15
- package/dist/light/components/button.js +1 -1
- package/dist/light/components/checkbox.d.ts +29 -19
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +112 -14
- package/dist/light/components/radio.d.ts +35 -25
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +117 -27
- package/package.json +1 -1
- package/dist/utils/createButtonPalette.d.ts.map +0 -1
- /package/dist/{utils → factories}/createButtonPalette.d.ts +0 -0
- /package/dist/{utils → factories}/createButtonPalette.js +0 -0
|
@@ -10,25 +10,35 @@ export declare const checkbox: {
|
|
|
10
10
|
readonly fg: "#B8A8FF";
|
|
11
11
|
readonly border: "#B8A8FF";
|
|
12
12
|
};
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
readonly
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
readonly primary: {
|
|
14
|
+
readonly ring: string;
|
|
15
|
+
readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
16
|
+
readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
17
|
+
readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
18
|
+
};
|
|
19
|
+
readonly neutral: {
|
|
20
|
+
readonly ring: string;
|
|
21
|
+
readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
22
|
+
readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
23
|
+
readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
24
|
+
};
|
|
25
|
+
readonly success: {
|
|
26
|
+
readonly ring: string;
|
|
27
|
+
readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
28
|
+
readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
29
|
+
readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
30
|
+
};
|
|
31
|
+
readonly warning: {
|
|
32
|
+
readonly ring: string;
|
|
33
|
+
readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
34
|
+
readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
35
|
+
readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
36
|
+
};
|
|
37
|
+
readonly danger: {
|
|
38
|
+
readonly ring: string;
|
|
39
|
+
readonly default: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
40
|
+
readonly hover: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
41
|
+
readonly pressed: import("../../factories/createCheckboxPalette.js").CheckboxState;
|
|
32
42
|
};
|
|
33
43
|
readonly focus: {
|
|
34
44
|
readonly ring: "#B8A8FF";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/dark/components/checkbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/dark/components/checkbox.ts"],"names":[],"mappings":"AAuHA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCX,CAAC"}
|
|
@@ -1,9 +1,116 @@
|
|
|
1
|
+
import { createCheckboxPalette } from '../../factories/createCheckboxPalette.js';
|
|
2
|
+
import { colors } from '../../primitives/colors.js';
|
|
1
3
|
import { border } from '../semantic/border.js';
|
|
2
4
|
import { control } from '../semantic/control.js';
|
|
3
5
|
import { focus } from '../semantic/focus.js';
|
|
4
6
|
import { status } from '../semantic/status.js';
|
|
5
7
|
import { surface } from '../semantic/surface.js';
|
|
6
8
|
import { text } from '../semantic/text.js';
|
|
9
|
+
const primary = createCheckboxPalette({
|
|
10
|
+
ring: colors.primary[400],
|
|
11
|
+
default: {
|
|
12
|
+
bg: colors.primary[600],
|
|
13
|
+
fg: colors.primary[50],
|
|
14
|
+
border: colors.primary[600],
|
|
15
|
+
labelFg: colors.primary[400],
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
bg: colors.primary[700],
|
|
19
|
+
fg: colors.primary[200],
|
|
20
|
+
border: colors.primary[700],
|
|
21
|
+
labelFg: colors.primary[400],
|
|
22
|
+
},
|
|
23
|
+
pressed: {
|
|
24
|
+
bg: colors.primary[800],
|
|
25
|
+
fg: colors.primary[300],
|
|
26
|
+
border: colors.primary[800],
|
|
27
|
+
labelFg: colors.primary[500],
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const neutral = createCheckboxPalette({
|
|
31
|
+
ring: colors.vellira[400],
|
|
32
|
+
default: {
|
|
33
|
+
bg: colors.vellira[200],
|
|
34
|
+
fg: colors.vellira[950],
|
|
35
|
+
border: colors.vellira[200],
|
|
36
|
+
labelFg: colors.vellira[200],
|
|
37
|
+
},
|
|
38
|
+
hover: {
|
|
39
|
+
bg: colors.vellira[300],
|
|
40
|
+
fg: colors.vellira[900],
|
|
41
|
+
border: colors.vellira[300],
|
|
42
|
+
labelFg: colors.vellira[300],
|
|
43
|
+
},
|
|
44
|
+
pressed: {
|
|
45
|
+
bg: colors.vellira[400],
|
|
46
|
+
fg: colors.vellira[800],
|
|
47
|
+
border: colors.vellira[400],
|
|
48
|
+
labelFg: colors.vellira[400],
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
const success = createCheckboxPalette({
|
|
52
|
+
ring: colors.success[500],
|
|
53
|
+
default: {
|
|
54
|
+
bg: colors.success[500],
|
|
55
|
+
fg: colors.success[950],
|
|
56
|
+
border: colors.success[500],
|
|
57
|
+
labelFg: colors.success[400],
|
|
58
|
+
},
|
|
59
|
+
hover: {
|
|
60
|
+
bg: colors.success[600],
|
|
61
|
+
fg: colors.success[900],
|
|
62
|
+
border: colors.success[600],
|
|
63
|
+
labelFg: colors.success[500],
|
|
64
|
+
},
|
|
65
|
+
pressed: {
|
|
66
|
+
bg: colors.success[700],
|
|
67
|
+
fg: colors.success[800],
|
|
68
|
+
border: colors.success[700],
|
|
69
|
+
labelFg: colors.success[600],
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
const warning = createCheckboxPalette({
|
|
73
|
+
ring: colors.warning[500],
|
|
74
|
+
default: {
|
|
75
|
+
bg: colors.warning[500],
|
|
76
|
+
fg: colors.warning[950],
|
|
77
|
+
border: colors.warning[500],
|
|
78
|
+
labelFg: colors.warning[400],
|
|
79
|
+
},
|
|
80
|
+
hover: {
|
|
81
|
+
bg: colors.warning[600],
|
|
82
|
+
fg: colors.warning[900],
|
|
83
|
+
border: colors.warning[600],
|
|
84
|
+
labelFg: colors.warning[500],
|
|
85
|
+
},
|
|
86
|
+
pressed: {
|
|
87
|
+
bg: colors.warning[700],
|
|
88
|
+
fg: colors.warning[800],
|
|
89
|
+
border: colors.warning[700],
|
|
90
|
+
labelFg: colors.warning[600],
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
const danger = createCheckboxPalette({
|
|
94
|
+
ring: colors.error[500],
|
|
95
|
+
default: {
|
|
96
|
+
bg: colors.error[700],
|
|
97
|
+
fg: colors.error[50],
|
|
98
|
+
border: colors.error[700],
|
|
99
|
+
labelFg: colors.error[400],
|
|
100
|
+
},
|
|
101
|
+
hover: {
|
|
102
|
+
bg: colors.error[800],
|
|
103
|
+
fg: colors.error[200],
|
|
104
|
+
border: colors.error[800],
|
|
105
|
+
labelFg: colors.error[500],
|
|
106
|
+
},
|
|
107
|
+
pressed: {
|
|
108
|
+
bg: colors.error[900],
|
|
109
|
+
fg: colors.error[300],
|
|
110
|
+
border: colors.error[900],
|
|
111
|
+
labelFg: colors.error[600],
|
|
112
|
+
},
|
|
113
|
+
});
|
|
7
114
|
export const checkbox = {
|
|
8
115
|
default: {
|
|
9
116
|
bg: surface.elevated,
|
|
@@ -14,20 +121,11 @@ export const checkbox = {
|
|
|
14
121
|
...control.hover,
|
|
15
122
|
labelFg: text.interactiveHover,
|
|
16
123
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
hover: {
|
|
23
|
-
...control.selected.hover,
|
|
24
|
-
labelFg: text.interactiveHover,
|
|
25
|
-
},
|
|
26
|
-
pressed: {
|
|
27
|
-
...control.selected.active,
|
|
28
|
-
labelFg: text.interactiveActive,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
124
|
+
primary,
|
|
125
|
+
neutral,
|
|
126
|
+
success,
|
|
127
|
+
warning,
|
|
128
|
+
danger,
|
|
31
129
|
focus: {
|
|
32
130
|
ring: focus.ring.color,
|
|
33
131
|
},
|
|
@@ -14,31 +14,35 @@ export declare const radio: {
|
|
|
14
14
|
readonly fg: "#B8A8FF";
|
|
15
15
|
readonly border: "#B8A8FF";
|
|
16
16
|
};
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
readonly
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
readonly
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
17
|
+
readonly primary: {
|
|
18
|
+
readonly ring: string;
|
|
19
|
+
readonly default: import("../../factories/createRadioPalette.js").RadioState;
|
|
20
|
+
readonly hover: import("../../factories/createRadioPalette.js").RadioState;
|
|
21
|
+
readonly pressed: import("../../factories/createRadioPalette.js").RadioState;
|
|
22
|
+
};
|
|
23
|
+
readonly neutral: {
|
|
24
|
+
readonly ring: string;
|
|
25
|
+
readonly default: import("../../factories/createRadioPalette.js").RadioState;
|
|
26
|
+
readonly hover: import("../../factories/createRadioPalette.js").RadioState;
|
|
27
|
+
readonly pressed: import("../../factories/createRadioPalette.js").RadioState;
|
|
28
|
+
};
|
|
29
|
+
readonly success: {
|
|
30
|
+
readonly ring: string;
|
|
31
|
+
readonly default: import("../../factories/createRadioPalette.js").RadioState;
|
|
32
|
+
readonly hover: import("../../factories/createRadioPalette.js").RadioState;
|
|
33
|
+
readonly pressed: import("../../factories/createRadioPalette.js").RadioState;
|
|
34
|
+
};
|
|
35
|
+
readonly warning: {
|
|
36
|
+
readonly ring: string;
|
|
37
|
+
readonly default: import("../../factories/createRadioPalette.js").RadioState;
|
|
38
|
+
readonly hover: import("../../factories/createRadioPalette.js").RadioState;
|
|
39
|
+
readonly pressed: import("../../factories/createRadioPalette.js").RadioState;
|
|
40
|
+
};
|
|
41
|
+
readonly danger: {
|
|
42
|
+
readonly ring: string;
|
|
43
|
+
readonly default: import("../../factories/createRadioPalette.js").RadioState;
|
|
44
|
+
readonly hover: import("../../factories/createRadioPalette.js").RadioState;
|
|
45
|
+
readonly pressed: import("../../factories/createRadioPalette.js").RadioState;
|
|
42
46
|
};
|
|
43
47
|
readonly focus: {
|
|
44
48
|
readonly ring: "#B8A8FF";
|
|
@@ -55,5 +59,11 @@ export declare const radio: {
|
|
|
55
59
|
readonly fg: "#6B6386";
|
|
56
60
|
readonly border: "#3D3754";
|
|
57
61
|
};
|
|
62
|
+
readonly selectedDisabled: {
|
|
63
|
+
readonly bg: "#2F2A42";
|
|
64
|
+
readonly fg: "#6B6386";
|
|
65
|
+
readonly border: "#3D3754";
|
|
66
|
+
readonly labelFg: "#6B6386";
|
|
67
|
+
};
|
|
58
68
|
};
|
|
59
69
|
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/dark/components/radio.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/dark/components/radio.ts"],"names":[],"mappings":"AAsHA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCR,CAAC"}
|
|
@@ -1,40 +1,124 @@
|
|
|
1
|
+
import { createRadioPalette } from '../../factories/createRadioPalette.js';
|
|
1
2
|
import { colors } from '../../primitives/colors.js';
|
|
2
3
|
import { border } from '../semantic/border.js';
|
|
3
4
|
import { control } from '../semantic/control.js';
|
|
4
5
|
import { focus } from '../semantic/focus.js';
|
|
5
6
|
import { status } from '../semantic/status.js';
|
|
6
|
-
import { surface } from '../semantic/surface.js';
|
|
7
7
|
import { text } from '../semantic/text.js';
|
|
8
|
+
const primary = createRadioPalette({
|
|
9
|
+
ring: colors.primary[400],
|
|
10
|
+
default: {
|
|
11
|
+
bg: colors.primary[950],
|
|
12
|
+
fg: colors.primary[300],
|
|
13
|
+
border: colors.primary[500],
|
|
14
|
+
labelFg: colors.primary[400],
|
|
15
|
+
},
|
|
16
|
+
hover: {
|
|
17
|
+
bg: colors.primary[900],
|
|
18
|
+
fg: colors.primary[200],
|
|
19
|
+
border: colors.primary[400],
|
|
20
|
+
labelFg: colors.primary[400],
|
|
21
|
+
},
|
|
22
|
+
pressed: {
|
|
23
|
+
bg: colors.primary[950],
|
|
24
|
+
fg: colors.primary[400],
|
|
25
|
+
border: colors.primary[600],
|
|
26
|
+
labelFg: colors.primary[500],
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
const neutral = createRadioPalette({
|
|
30
|
+
ring: colors.vellira[400],
|
|
31
|
+
default: {
|
|
32
|
+
bg: colors.vellira[950],
|
|
33
|
+
fg: colors.vellira[200],
|
|
34
|
+
border: colors.vellira[300],
|
|
35
|
+
labelFg: colors.vellira[200],
|
|
36
|
+
},
|
|
37
|
+
hover: {
|
|
38
|
+
bg: colors.vellira[900],
|
|
39
|
+
fg: colors.vellira[100],
|
|
40
|
+
border: colors.vellira[200],
|
|
41
|
+
labelFg: colors.vellira[300],
|
|
42
|
+
},
|
|
43
|
+
pressed: {
|
|
44
|
+
bg: colors.vellira[950],
|
|
45
|
+
fg: colors.vellira[300],
|
|
46
|
+
border: colors.vellira[400],
|
|
47
|
+
labelFg: colors.vellira[400],
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
const success = createRadioPalette({
|
|
51
|
+
ring: colors.success[500],
|
|
52
|
+
default: {
|
|
53
|
+
bg: colors.success[950],
|
|
54
|
+
fg: colors.success[500],
|
|
55
|
+
border: colors.success[500],
|
|
56
|
+
labelFg: colors.success[400],
|
|
57
|
+
},
|
|
58
|
+
hover: {
|
|
59
|
+
bg: colors.success[900],
|
|
60
|
+
fg: colors.success[400],
|
|
61
|
+
border: colors.success[400],
|
|
62
|
+
labelFg: colors.success[500],
|
|
63
|
+
},
|
|
64
|
+
pressed: {
|
|
65
|
+
bg: colors.success[950],
|
|
66
|
+
fg: colors.success[600],
|
|
67
|
+
border: colors.success[600],
|
|
68
|
+
labelFg: colors.success[600],
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
const warning = createRadioPalette({
|
|
72
|
+
ring: colors.warning[500],
|
|
73
|
+
default: {
|
|
74
|
+
bg: colors.warning[950],
|
|
75
|
+
fg: colors.warning[500],
|
|
76
|
+
border: colors.warning[500],
|
|
77
|
+
labelFg: colors.warning[400],
|
|
78
|
+
},
|
|
79
|
+
hover: {
|
|
80
|
+
bg: colors.warning[900],
|
|
81
|
+
fg: colors.warning[400],
|
|
82
|
+
border: colors.warning[400],
|
|
83
|
+
labelFg: colors.warning[500],
|
|
84
|
+
},
|
|
85
|
+
pressed: {
|
|
86
|
+
bg: colors.warning[950],
|
|
87
|
+
fg: colors.warning[600],
|
|
88
|
+
border: colors.warning[600],
|
|
89
|
+
labelFg: colors.warning[600],
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
const danger = createRadioPalette({
|
|
93
|
+
ring: colors.error[500],
|
|
94
|
+
default: {
|
|
95
|
+
bg: colors.error[950],
|
|
96
|
+
fg: colors.error[400],
|
|
97
|
+
border: colors.error[500],
|
|
98
|
+
labelFg: colors.error[400],
|
|
99
|
+
},
|
|
100
|
+
hover: {
|
|
101
|
+
bg: colors.error[900],
|
|
102
|
+
fg: colors.error[300],
|
|
103
|
+
border: colors.error[400],
|
|
104
|
+
labelFg: colors.error[500],
|
|
105
|
+
},
|
|
106
|
+
pressed: {
|
|
107
|
+
bg: colors.error[950],
|
|
108
|
+
fg: colors.error[500],
|
|
109
|
+
border: colors.error[600],
|
|
110
|
+
labelFg: colors.error[600],
|
|
111
|
+
},
|
|
112
|
+
});
|
|
8
113
|
export const radio = {
|
|
9
114
|
default: control.default,
|
|
10
115
|
hover: control.hover,
|
|
11
116
|
pressed: control.active,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
labelFg: text.brand,
|
|
18
|
-
},
|
|
19
|
-
hover: {
|
|
20
|
-
bg: surface.hover,
|
|
21
|
-
fg: colors.primary[200],
|
|
22
|
-
border: colors.primary[400],
|
|
23
|
-
labelFg: text.interactiveHover,
|
|
24
|
-
},
|
|
25
|
-
pressed: {
|
|
26
|
-
bg: surface.active,
|
|
27
|
-
fg: colors.primary[400],
|
|
28
|
-
border: colors.primary[600],
|
|
29
|
-
labelFg: text.brand,
|
|
30
|
-
},
|
|
31
|
-
disabled: {
|
|
32
|
-
bg: surface.disabled,
|
|
33
|
-
fg: text.disabled,
|
|
34
|
-
border: border.disabled,
|
|
35
|
-
labelFg: text.disabled,
|
|
36
|
-
},
|
|
37
|
-
},
|
|
117
|
+
primary,
|
|
118
|
+
neutral,
|
|
119
|
+
success,
|
|
120
|
+
warning,
|
|
121
|
+
danger,
|
|
38
122
|
focus: {
|
|
39
123
|
ring: focus.ring.color,
|
|
40
124
|
border: border.focus,
|
|
@@ -45,4 +129,10 @@ export const radio = {
|
|
|
45
129
|
ring: status.error.ring,
|
|
46
130
|
},
|
|
47
131
|
disabled: control.disabled,
|
|
132
|
+
selectedDisabled: {
|
|
133
|
+
bg: control.disabled.bg,
|
|
134
|
+
fg: text.disabled,
|
|
135
|
+
border: border.disabled,
|
|
136
|
+
labelFg: text.disabled,
|
|
137
|
+
},
|
|
48
138
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createButtonPalette.d.ts","sourceRoot":"","sources":["../../src/factories/createButtonPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE;QACL,OAAO,EAAE,WAAW,CAAC;QACrB,KAAK,EAAE,WAAW,CAAC;QACnB,OAAO,EAAE,WAAW,CAAC;KACtB,CAAC;IAEF,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,eAAO,MAAM,mBAAmB,GAAI,sJAejC,mBAAmB;;;iBA1CT,WAAW;eACb,WAAW;iBACT,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHX,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type CheckboxState = {
|
|
2
|
+
bg: string;
|
|
3
|
+
fg: string;
|
|
4
|
+
border: string;
|
|
5
|
+
labelFg: string;
|
|
6
|
+
};
|
|
7
|
+
export type CheckboxPaletteConfig = {
|
|
8
|
+
ring: string;
|
|
9
|
+
default: CheckboxState;
|
|
10
|
+
hover: CheckboxState;
|
|
11
|
+
pressed: CheckboxState;
|
|
12
|
+
};
|
|
13
|
+
export declare const createCheckboxPalette: ({ ring, default: defaultState, hover, pressed, }: CheckboxPaletteConfig) => {
|
|
14
|
+
readonly ring: string;
|
|
15
|
+
readonly default: CheckboxState;
|
|
16
|
+
readonly hover: CheckboxState;
|
|
17
|
+
readonly pressed: CheckboxState;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=createCheckboxPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCheckboxPalette.d.ts","sourceRoot":"","sources":["../../src/factories/createCheckboxPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,kDAKnC,qBAAqB;;;;;CAMX,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type RadioState = {
|
|
2
|
+
bg: string;
|
|
3
|
+
fg: string;
|
|
4
|
+
border: string;
|
|
5
|
+
labelFg: string;
|
|
6
|
+
};
|
|
7
|
+
export type RadioPaletteConfig = {
|
|
8
|
+
ring: string;
|
|
9
|
+
default: RadioState;
|
|
10
|
+
hover: RadioState;
|
|
11
|
+
pressed: RadioState;
|
|
12
|
+
};
|
|
13
|
+
export declare const createRadioPalette: ({ ring, default: defaultState, hover, pressed, }: RadioPaletteConfig) => {
|
|
14
|
+
readonly ring: string;
|
|
15
|
+
readonly default: RadioState;
|
|
16
|
+
readonly hover: RadioState;
|
|
17
|
+
readonly pressed: RadioState;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=createRadioPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRadioPalette.d.ts","sourceRoot":"","sources":["../../src/factories/createRadioPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kDAKhC,kBAAkB;;;;;CAMR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC"}
|