@rebnd/ui 0.0.3 → 0.0.4
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/README.md +5 -3
- package/dist/index.d.ts +11 -0
- package/dist/src/assets/constants/components.d.ts +3 -0
- package/dist/src/components/RAvatar/RAvatar.d.ts +13 -13
- package/dist/src/components/RAvatar/utils/avatar.props.d.ts +7 -6
- package/dist/src/components/RAvatar/utils/avatar.style.d.ts +14 -10
- package/dist/src/components/RAvatarGroup/RAvatarGroup.d.ts +7 -7
- package/dist/src/components/RAvatarGroup/utils/avatar-group.props.d.ts +4 -3
- package/dist/src/components/RAvatarGroup/utils/avatar-group.style.d.ts +2 -1
- package/dist/src/components/RBadge/RBadge.d.ts +13 -13
- package/dist/src/components/RBadge/utils/badge.props.d.ts +8 -7
- package/dist/src/components/RBadge/utils/badge.style.d.ts +35 -66
- package/dist/src/components/RButton/RButton.d.ts +33 -13
- package/dist/src/components/RButton/utils/button.props.d.ts +16 -7
- package/dist/src/components/RButton/utils/button.style.d.ts +92 -38
- package/dist/src/components/RButtonGroup/RButtonGroup.d.ts +62 -0
- package/dist/src/components/RButtonGroup/utils/button-group.props.d.ts +30 -0
- package/dist/src/components/RButtonGroup/utils/button-group.style.d.ts +123 -0
- package/dist/src/components/RCheckbox/RCheckbox.d.ts +62 -0
- package/dist/src/components/RCheckbox/utils/checkbox.props.d.ts +27 -0
- package/dist/src/components/RCheckbox/utils/checkbox.style.d.ts +38 -0
- package/dist/src/components/RCheckboxGroup/RCheckboxGroup.d.ts +80 -0
- package/dist/src/components/RCheckboxGroup/utils/checkbox-group.props.d.ts +37 -0
- package/dist/src/components/RCheckboxGroup/utils/checkbox-group.style.d.ts +35 -0
- package/dist/src/components/RFormGroup/RFormGroup.d.ts +8 -2
- package/dist/src/components/RInput/RInput.d.ts +19 -3
- package/dist/src/components/RInput/utils/input.props.d.ts +7 -0
- package/dist/src/components/RInput/utils/input.style.d.ts +24 -2
- package/dist/src/components/RInputPassword/RInputPassword.d.ts +22 -0
- package/dist/src/components/RInputPassword/utils/input-password.props.d.ts +8 -0
- package/dist/src/components/RInputPassword/utils/input-password.style.d.ts +4 -0
- package/dist/src/components/RModal/RModal.d.ts +65 -0
- package/dist/src/components/RModal/utils/modal.props.d.ts +30 -0
- package/dist/src/components/RModal/utils/modal.style.d.ts +3 -0
- package/dist/src/components/RRadio/RRadio.d.ts +60 -0
- package/dist/src/components/RRadio/utils/radio.props.d.ts +27 -0
- package/dist/src/components/RRadio/utils/radio.style.d.ts +64 -0
- package/dist/src/components/RRadioGroup/RRadioGroup.d.ts +78 -0
- package/dist/src/components/RRadioGroup/utils/radio-group.props.d.ts +37 -0
- package/dist/src/components/RRadioGroup/utils/radio-group.style.d.ts +35 -0
- package/dist/src/components/RSwitch/RSwitch.d.ts +86 -0
- package/dist/src/components/RSwitch/utils/switch.props.d.ts +39 -0
- package/dist/src/components/RSwitch/utils/switch.style.d.ts +142 -0
- package/dist/src/components/RTabs/RTabs.d.ts +14 -14
- package/dist/src/components/RTabs/utils/tabs.props.d.ts +8 -6
- package/dist/src/components/RTabs/utils/tabs.style.d.ts +26 -10
- package/dist/src/components/RTextArea/RTextArea.d.ts +21 -1
- package/dist/src/components/RTextArea/utils/text-area.props.d.ts +11 -0
- package/dist/src/components/RTextArea/utils/text-area.style.d.ts +30 -2
- package/dist/src/components/RToast/RToast.d.ts +70 -0
- package/dist/src/components/RToast/utils/toast.props.d.ts +33 -0
- package/dist/src/components/RToast/utils/toast.style.d.ts +4 -0
- package/dist/src/components/RToastRenderer/RToastRenderer.d.ts +31 -0
- package/dist/src/components/RToastRenderer/utils/toast-renderer.props.d.ts +14 -0
- package/dist/src/components/RToastRenderer/utils/toast-renderer.style.d.ts +21 -0
- package/dist/src/components/RToggle/RToggle.d.ts +62 -0
- package/dist/src/components/RToggle/utils/toggle.props.d.ts +29 -0
- package/dist/src/components/RToggle/utils/toggle.style.d.ts +2 -0
- package/dist/src/composables/useModal.d.ts +8 -0
- package/dist/src/composables/useToast.d.ts +4 -0
- package/dist/src/theme/animations.d.ts +9 -0
- package/dist/src/theme/borders.d.ts +24 -0
- package/dist/src/theme/colors.d.ts +3696 -233
- package/dist/src/theme/fonts.d.ts +46 -0
- package/dist/src/theme/index.d.ts +2 -2
- package/dist/src/theme/radii.d.ts +24 -0
- package/dist/src/theme/semantic-tokens.d.ts +777 -35
- package/dist/src/theme/sizes.d.ts +21 -0
- package/dist/src/theme/spacing.d.ts +30 -0
- package/dist/src/theme/tokens.d.ts +3845 -232
- package/dist/src/types/component.d.ts +44 -14
- package/dist/src/types/index.d.ts +2 -3
- package/dist/src/utils/array.d.ts +3 -0
- package/dist/src/utils/regex.d.ts +2 -1
- package/dist/src/utils/string.d.ts +2 -1
- package/dist/styles.css +3274 -820
- package/dist/ui.js +14213 -1881
- package/dist/ui.umd.cjs +5 -2
- package/package.json +41 -43
|
@@ -1,100 +1,154 @@
|
|
|
1
1
|
declare const _default: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
2
|
color: {
|
|
3
|
-
|
|
3
|
+
primary: {
|
|
4
4
|
backgroundColor: {
|
|
5
|
-
base: "
|
|
6
|
-
_hover: "
|
|
5
|
+
base: "primary.850";
|
|
6
|
+
_hover: "primary.800";
|
|
7
|
+
_on: "primary.pressed";
|
|
7
8
|
};
|
|
8
9
|
outlineColor: {
|
|
9
|
-
_focus: "
|
|
10
|
+
_focus: "primary.ring";
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
secondary: {
|
|
13
14
|
backgroundColor: {
|
|
14
|
-
base: "
|
|
15
|
-
_hover: "
|
|
15
|
+
base: "secondary.850";
|
|
16
|
+
_hover: "secondary.800";
|
|
17
|
+
_on: "secondary.pressed";
|
|
16
18
|
};
|
|
17
19
|
outlineColor: {
|
|
18
|
-
_focus: "
|
|
20
|
+
_focus: "secondary.ring";
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
|
-
|
|
23
|
+
success: {
|
|
22
24
|
backgroundColor: {
|
|
23
|
-
base: "
|
|
24
|
-
_hover: "
|
|
25
|
+
base: "success.850";
|
|
26
|
+
_hover: "success.800";
|
|
27
|
+
_on: "success.pressed";
|
|
25
28
|
};
|
|
26
29
|
outlineColor: {
|
|
27
|
-
_focus: "
|
|
30
|
+
_focus: "success.ring";
|
|
28
31
|
};
|
|
29
32
|
};
|
|
30
|
-
|
|
33
|
+
warning: {
|
|
31
34
|
backgroundColor: {
|
|
32
|
-
base: "
|
|
33
|
-
_hover: "
|
|
35
|
+
base: "warning.850";
|
|
36
|
+
_hover: "warning.800";
|
|
37
|
+
_on: "warning.pressed";
|
|
34
38
|
};
|
|
35
39
|
outlineColor: {
|
|
36
|
-
_focus: "
|
|
40
|
+
_focus: "warning.ring";
|
|
37
41
|
};
|
|
38
42
|
};
|
|
39
|
-
|
|
43
|
+
error: {
|
|
40
44
|
backgroundColor: {
|
|
41
|
-
base: "
|
|
42
|
-
_hover: "
|
|
45
|
+
base: "error.850";
|
|
46
|
+
_hover: "error.800";
|
|
47
|
+
_on: "error.pressed";
|
|
43
48
|
};
|
|
44
49
|
outlineColor: {
|
|
45
|
-
_focus: "
|
|
50
|
+
_focus: "error.ring";
|
|
46
51
|
};
|
|
47
52
|
};
|
|
48
|
-
|
|
53
|
+
info: {
|
|
49
54
|
backgroundColor: {
|
|
50
|
-
base: "
|
|
51
|
-
_hover: "
|
|
55
|
+
base: "info.850";
|
|
56
|
+
_hover: "info.800";
|
|
57
|
+
_on: "info.pressed";
|
|
52
58
|
};
|
|
53
59
|
outlineColor: {
|
|
54
|
-
_focus: "
|
|
60
|
+
_focus: "info.ring";
|
|
55
61
|
};
|
|
56
62
|
};
|
|
57
63
|
};
|
|
58
64
|
size: {
|
|
59
65
|
xs: {
|
|
60
|
-
fontSize: "0.625rem";
|
|
61
66
|
paddingInline: "0.75rem";
|
|
62
|
-
paddingBlock: "
|
|
67
|
+
paddingBlock: "vs";
|
|
63
68
|
};
|
|
64
69
|
sm: {
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
paddingInline: "sm";
|
|
71
|
+
paddingBlock: "vs";
|
|
67
72
|
};
|
|
68
73
|
md: {
|
|
69
|
-
fontSize: "1rem";
|
|
70
74
|
paddingInline: "1.25rem";
|
|
75
|
+
paddingBlock: "0.625rem";
|
|
71
76
|
};
|
|
72
77
|
lg: {
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
paddingInline: "md";
|
|
79
|
+
paddingBlock: "0.75rem";
|
|
75
80
|
};
|
|
76
81
|
xl: {
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
paddingInline: "1.75rem";
|
|
83
|
+
paddingBlock: "0.875rem";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
radius: {
|
|
87
|
+
sharp: {
|
|
88
|
+
borderRadius: "sharp";
|
|
89
|
+
};
|
|
90
|
+
xs: {
|
|
91
|
+
borderRadius: "xs";
|
|
92
|
+
};
|
|
93
|
+
sm: {
|
|
94
|
+
borderRadius: "sm";
|
|
95
|
+
};
|
|
96
|
+
md: {
|
|
97
|
+
borderRadius: "md";
|
|
98
|
+
};
|
|
99
|
+
lg: {
|
|
100
|
+
borderRadius: "lg";
|
|
101
|
+
};
|
|
102
|
+
pill: {
|
|
103
|
+
borderRadius: "pill";
|
|
79
104
|
};
|
|
80
105
|
};
|
|
81
106
|
variant: {
|
|
82
|
-
|
|
107
|
+
ghost: {
|
|
108
|
+
backgroundColor: {
|
|
109
|
+
base: "transparent";
|
|
110
|
+
};
|
|
83
111
|
outline: {
|
|
84
112
|
base: "none";
|
|
85
113
|
};
|
|
86
114
|
};
|
|
87
|
-
|
|
115
|
+
outline: {
|
|
88
116
|
backgroundColor: {
|
|
89
117
|
base: "transparent";
|
|
90
118
|
};
|
|
119
|
+
};
|
|
120
|
+
solid: {
|
|
91
121
|
outline: {
|
|
92
122
|
base: "none";
|
|
93
123
|
};
|
|
94
124
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
base: "
|
|
125
|
+
soft: {
|
|
126
|
+
outline: {
|
|
127
|
+
base: "none";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
surface: {};
|
|
131
|
+
};
|
|
132
|
+
loading: {
|
|
133
|
+
true: {
|
|
134
|
+
'& > svg': {
|
|
135
|
+
animation: "spin 1s linear infinite";
|
|
136
|
+
visibility: "visible";
|
|
137
|
+
opacity: number;
|
|
138
|
+
};
|
|
139
|
+
'& > span': {
|
|
140
|
+
visibility: "hidden";
|
|
141
|
+
opacity: number;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
false: {
|
|
145
|
+
'& > svg': {
|
|
146
|
+
visibility: "hidden";
|
|
147
|
+
opacity: number;
|
|
148
|
+
};
|
|
149
|
+
'& > span': {
|
|
150
|
+
visibility: "visible";
|
|
151
|
+
opacity: number;
|
|
98
152
|
};
|
|
99
153
|
};
|
|
100
154
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
color: {
|
|
3
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
4
|
+
default: import('../../types').Color;
|
|
5
|
+
validator(color: import('../../types').Color): boolean;
|
|
6
|
+
};
|
|
7
|
+
orientation: {
|
|
8
|
+
type: import('vue').PropType<import('../../types').Orientation>;
|
|
9
|
+
default: import('../../types').Orientation;
|
|
10
|
+
validator(orientation: import('../../types').Orientation): boolean;
|
|
11
|
+
};
|
|
12
|
+
radius: {
|
|
13
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
14
|
+
default: import('../../types').Rounded;
|
|
15
|
+
validator: (radii: import('../../types').Rounded) => boolean;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: import('vue').PropType<import('../../types').ButtonSize>;
|
|
19
|
+
default: import('../../types').ButtonSize;
|
|
20
|
+
validator(size: import('../../types').ButtonSize): boolean;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
24
|
+
default: import('../../types').Variant;
|
|
25
|
+
validator(variant: import('../../types').Variant): boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
color: {
|
|
31
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
32
|
+
default: import('../../types').Color;
|
|
33
|
+
validator(color: import('../../types').Color): boolean;
|
|
34
|
+
};
|
|
35
|
+
orientation: {
|
|
36
|
+
type: import('vue').PropType<import('../../types').Orientation>;
|
|
37
|
+
default: import('../../types').Orientation;
|
|
38
|
+
validator(orientation: import('../../types').Orientation): boolean;
|
|
39
|
+
};
|
|
40
|
+
radius: {
|
|
41
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
42
|
+
default: import('../../types').Rounded;
|
|
43
|
+
validator: (radii: import('../../types').Rounded) => boolean;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: import('vue').PropType<import('../../types').ButtonSize>;
|
|
47
|
+
default: import('../../types').ButtonSize;
|
|
48
|
+
validator(size: import('../../types').ButtonSize): boolean;
|
|
49
|
+
};
|
|
50
|
+
variant: {
|
|
51
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
52
|
+
default: import('../../types').Variant;
|
|
53
|
+
validator(variant: import('../../types').Variant): boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
color: import('../../types').Color;
|
|
57
|
+
size: import('../../types').ButtonSize;
|
|
58
|
+
variant: import('../../types').Variant;
|
|
59
|
+
radius: import('../../types').Rounded;
|
|
60
|
+
orientation: import('../../types').Orientation;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ButtonSize, Color, Orientation, Rounded, Variant } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
color: {
|
|
5
|
+
type: PropType<Color>;
|
|
6
|
+
default: Color;
|
|
7
|
+
validator(color: Color): boolean;
|
|
8
|
+
};
|
|
9
|
+
orientation: {
|
|
10
|
+
type: PropType<Orientation>;
|
|
11
|
+
default: Orientation;
|
|
12
|
+
validator(orientation: Orientation): boolean;
|
|
13
|
+
};
|
|
14
|
+
radius: {
|
|
15
|
+
type: PropType<Rounded>;
|
|
16
|
+
default: Rounded;
|
|
17
|
+
validator: (radii: Rounded) => boolean;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<ButtonSize>;
|
|
21
|
+
default: ButtonSize;
|
|
22
|
+
validator(size: ButtonSize): boolean;
|
|
23
|
+
};
|
|
24
|
+
variant: {
|
|
25
|
+
type: PropType<Variant>;
|
|
26
|
+
default: Variant;
|
|
27
|
+
validator(variant: Variant): boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
declare const wrapper: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
color: {
|
|
3
|
+
primary: {
|
|
4
|
+
border: "1px solid";
|
|
5
|
+
borderColor: "primary.border";
|
|
6
|
+
};
|
|
7
|
+
secondary: {
|
|
8
|
+
border: "1px solid";
|
|
9
|
+
borderColor: "secondary.border";
|
|
10
|
+
};
|
|
11
|
+
success: {
|
|
12
|
+
border: "1px solid";
|
|
13
|
+
borderColor: "success.border";
|
|
14
|
+
};
|
|
15
|
+
warning: {
|
|
16
|
+
border: "1px solid";
|
|
17
|
+
borderColor: "warning.border";
|
|
18
|
+
};
|
|
19
|
+
error: {
|
|
20
|
+
border: "1px solid";
|
|
21
|
+
borderColor: "error.border";
|
|
22
|
+
};
|
|
23
|
+
info: {
|
|
24
|
+
border: "1px solid";
|
|
25
|
+
borderColor: "info.border";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
orientation: {
|
|
29
|
+
horizontal: {
|
|
30
|
+
flexDir: "row";
|
|
31
|
+
};
|
|
32
|
+
vertical: {
|
|
33
|
+
flexDir: "column";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
radius: {
|
|
37
|
+
sharp: {
|
|
38
|
+
borderRadius: "sharp";
|
|
39
|
+
};
|
|
40
|
+
xs: {
|
|
41
|
+
borderRadius: "xs";
|
|
42
|
+
'& > *:first-child': {
|
|
43
|
+
borderStartStartRadius: "xs";
|
|
44
|
+
borderEndStartRadius: "xs";
|
|
45
|
+
};
|
|
46
|
+
'& > *:last-child': {
|
|
47
|
+
borderStartEndRadius: "xs";
|
|
48
|
+
borderEndEndRadius: "xs";
|
|
49
|
+
};
|
|
50
|
+
'& > *:not(:first-child):not(:last-child)': {
|
|
51
|
+
borderRadius: "0";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
sm: {
|
|
55
|
+
borderRadius: "sm";
|
|
56
|
+
'& > *:first-child': {
|
|
57
|
+
borderStartStartRadius: "sm";
|
|
58
|
+
borderEndStartRadius: "sm";
|
|
59
|
+
};
|
|
60
|
+
'& > *:last-child': {
|
|
61
|
+
borderStartEndRadius: "sm";
|
|
62
|
+
borderEndEndRadius: "sm";
|
|
63
|
+
};
|
|
64
|
+
'& > *:not(:first-child):not(:last-child)': {
|
|
65
|
+
borderRadius: "0";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
md: {
|
|
69
|
+
borderRadius: "md";
|
|
70
|
+
'& > *:first-child': {
|
|
71
|
+
borderStartStartRadius: "md";
|
|
72
|
+
borderEndStartRadius: "md";
|
|
73
|
+
};
|
|
74
|
+
'& > *:last-child': {
|
|
75
|
+
borderStartEndRadius: "md";
|
|
76
|
+
borderEndEndRadius: "md";
|
|
77
|
+
};
|
|
78
|
+
'& > *:not(:first-child):not(:last-child)': {
|
|
79
|
+
borderRadius: "0";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
lg: {
|
|
83
|
+
borderRadius: "lg";
|
|
84
|
+
'& > *:first-child': {
|
|
85
|
+
borderStartStartRadius: "lg";
|
|
86
|
+
borderEndStartRadius: "lg";
|
|
87
|
+
};
|
|
88
|
+
'& > *:last-child': {
|
|
89
|
+
borderStartEndRadius: "lg";
|
|
90
|
+
borderEndEndRadius: "lg";
|
|
91
|
+
};
|
|
92
|
+
'& > *:not(:first-child):not(:last-child)': {
|
|
93
|
+
borderRadius: "0";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
pill: {
|
|
97
|
+
borderRadius: "pill";
|
|
98
|
+
'& > *:first-child': {
|
|
99
|
+
borderStartStartRadius: "pill";
|
|
100
|
+
borderEndStartRadius: "pill";
|
|
101
|
+
};
|
|
102
|
+
'& > *:last-child': {
|
|
103
|
+
borderStartEndRadius: "pill";
|
|
104
|
+
borderEndEndRadius: "pill";
|
|
105
|
+
};
|
|
106
|
+
'& > *:not(:first-child):not(:last-child)': {
|
|
107
|
+
borderRadius: "0";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
variant: {
|
|
112
|
+
ghost: {
|
|
113
|
+
border: "transparent";
|
|
114
|
+
};
|
|
115
|
+
soft: {
|
|
116
|
+
border: "transparent";
|
|
117
|
+
};
|
|
118
|
+
surface: {};
|
|
119
|
+
solid: {};
|
|
120
|
+
outline: {};
|
|
121
|
+
};
|
|
122
|
+
}>;
|
|
123
|
+
export { wrapper };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { SlotsType, VNode } from 'vue';
|
|
2
|
+
interface Slots {
|
|
3
|
+
label?: () => VNode[];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
value: {
|
|
7
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: (ArrayConstructor | BooleanConstructor | StringConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
indeterminate: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
placement: {
|
|
19
|
+
type: import('vue').PropType<import('../../types').Placement>;
|
|
20
|
+
default: import('../../types').Placement;
|
|
21
|
+
validator: (placement: import('../../types').Placement) => boolean;
|
|
22
|
+
};
|
|
23
|
+
radius: {
|
|
24
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
25
|
+
default: import('../../types').Rounded;
|
|
26
|
+
validator: (radii: import('../../types').Rounded) => boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
value: {
|
|
32
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: (ArrayConstructor | BooleanConstructor | StringConstructor)[];
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
indeterminate: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
placement: {
|
|
44
|
+
type: import('vue').PropType<import('../../types').Placement>;
|
|
45
|
+
default: import('../../types').Placement;
|
|
46
|
+
validator: (placement: import('../../types').Placement) => boolean;
|
|
47
|
+
};
|
|
48
|
+
radius: {
|
|
49
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
50
|
+
default: import('../../types').Rounded;
|
|
51
|
+
validator: (radii: import('../../types').Rounded) => boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
radius: import('../../types').Rounded;
|
|
57
|
+
value: string | boolean;
|
|
58
|
+
placement: import('../../types').Placement;
|
|
59
|
+
modelValue: string | boolean | unknown[];
|
|
60
|
+
indeterminate: boolean;
|
|
61
|
+
}, SlotsType<Slots>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Placement, Rounded } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
value: {
|
|
5
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: (ArrayConstructor | BooleanConstructor | StringConstructor)[];
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
indeterminate: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
placement: {
|
|
17
|
+
type: PropType<Placement>;
|
|
18
|
+
default: Placement;
|
|
19
|
+
validator: (placement: Placement) => boolean;
|
|
20
|
+
};
|
|
21
|
+
radius: {
|
|
22
|
+
type: PropType<Rounded>;
|
|
23
|
+
default: Rounded;
|
|
24
|
+
validator: (radii: Rounded) => boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const control: string;
|
|
2
|
+
declare const checkIcon: string;
|
|
3
|
+
declare const wrapper: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
4
|
+
placement: {
|
|
5
|
+
before: {
|
|
6
|
+
flexDirection: "row-reverse";
|
|
7
|
+
justifyContent: "start";
|
|
8
|
+
};
|
|
9
|
+
after: {
|
|
10
|
+
flexDirection: "row";
|
|
11
|
+
justifyContent: "end";
|
|
12
|
+
};
|
|
13
|
+
hidden: {};
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
declare const input: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
17
|
+
radius: {
|
|
18
|
+
sharp: {
|
|
19
|
+
borderRadius: "sharp";
|
|
20
|
+
};
|
|
21
|
+
xs: {
|
|
22
|
+
borderRadius: "xs";
|
|
23
|
+
};
|
|
24
|
+
sm: {
|
|
25
|
+
borderRadius: "sm";
|
|
26
|
+
};
|
|
27
|
+
md: {
|
|
28
|
+
borderRadius: "md";
|
|
29
|
+
};
|
|
30
|
+
lg: {
|
|
31
|
+
borderRadius: "lg";
|
|
32
|
+
};
|
|
33
|
+
pill: {
|
|
34
|
+
borderRadius: "pill";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
export { checkIcon, control, input, wrapper };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
legend: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: ArrayConstructor[];
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
orientation: {
|
|
12
|
+
type: import('vue').PropType<import('../../types/component.ts').Orientation>;
|
|
13
|
+
default: import('../../types/component.ts').Orientation;
|
|
14
|
+
validator: (orientation: import('../../types/component.ts').Orientation) => boolean;
|
|
15
|
+
};
|
|
16
|
+
placement: {
|
|
17
|
+
type: import('vue').PropType<import('../../types/component.ts').Placement>;
|
|
18
|
+
default: import('../../types/component.ts').Placement;
|
|
19
|
+
validator: (placement: import('../../types/component.ts').Placement) => boolean;
|
|
20
|
+
};
|
|
21
|
+
radius: {
|
|
22
|
+
type: import('vue').PropType<import('../../types/component.ts').Rounded>;
|
|
23
|
+
default: import('../../types/component.ts').Rounded;
|
|
24
|
+
validator: (radii: import('../../types/component.ts').Rounded) => boolean;
|
|
25
|
+
};
|
|
26
|
+
showSelectAll: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
variant: {
|
|
31
|
+
type: import('vue').PropType<import('../../types/component.ts').RadioGroupType>;
|
|
32
|
+
default: import('../../types/component.ts').RadioGroupType;
|
|
33
|
+
validator: (variant: import('../../types/component.ts').RadioGroupType) => boolean;
|
|
34
|
+
};
|
|
35
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
legend: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: ArrayConstructor[];
|
|
44
|
+
required: boolean;
|
|
45
|
+
};
|
|
46
|
+
orientation: {
|
|
47
|
+
type: import('vue').PropType<import('../../types/component.ts').Orientation>;
|
|
48
|
+
default: import('../../types/component.ts').Orientation;
|
|
49
|
+
validator: (orientation: import('../../types/component.ts').Orientation) => boolean;
|
|
50
|
+
};
|
|
51
|
+
placement: {
|
|
52
|
+
type: import('vue').PropType<import('../../types/component.ts').Placement>;
|
|
53
|
+
default: import('../../types/component.ts').Placement;
|
|
54
|
+
validator: (placement: import('../../types/component.ts').Placement) => boolean;
|
|
55
|
+
};
|
|
56
|
+
radius: {
|
|
57
|
+
type: import('vue').PropType<import('../../types/component.ts').Rounded>;
|
|
58
|
+
default: import('../../types/component.ts').Rounded;
|
|
59
|
+
validator: (radii: import('../../types/component.ts').Rounded) => boolean;
|
|
60
|
+
};
|
|
61
|
+
showSelectAll: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
variant: {
|
|
66
|
+
type: import('vue').PropType<import('../../types/component.ts').RadioGroupType>;
|
|
67
|
+
default: import('../../types/component.ts').RadioGroupType;
|
|
68
|
+
validator: (variant: import('../../types/component.ts').RadioGroupType) => boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & Readonly<{
|
|
71
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>, {
|
|
73
|
+
legend: string;
|
|
74
|
+
variant: import('../../types/component.ts').RadioGroupType;
|
|
75
|
+
radius: import('../../types/component.ts').Rounded;
|
|
76
|
+
placement: import('../../types/component.ts').Placement;
|
|
77
|
+
orientation: import('../../types/component.ts').Orientation;
|
|
78
|
+
showSelectAll: boolean;
|
|
79
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Orientation, Placement, RadioGroupType, Rounded } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
legend: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: ArrayConstructor[];
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
orientation: {
|
|
13
|
+
type: PropType<Orientation>;
|
|
14
|
+
default: Orientation;
|
|
15
|
+
validator: (orientation: Orientation) => boolean;
|
|
16
|
+
};
|
|
17
|
+
placement: {
|
|
18
|
+
type: PropType<Placement>;
|
|
19
|
+
default: Placement;
|
|
20
|
+
validator: (placement: Placement) => boolean;
|
|
21
|
+
};
|
|
22
|
+
radius: {
|
|
23
|
+
type: PropType<Rounded>;
|
|
24
|
+
default: Rounded;
|
|
25
|
+
validator: (radii: Rounded) => boolean;
|
|
26
|
+
};
|
|
27
|
+
showSelectAll: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
variant: {
|
|
32
|
+
type: PropType<RadioGroupType>;
|
|
33
|
+
default: RadioGroupType;
|
|
34
|
+
validator: (variant: RadioGroupType) => boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|