@rebnd/ui 0.0.1
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/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/index.d.ts +542 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/assets/constants/icons.d.ts +3 -0
- package/dist/src/components/RAccordion/RAccordion.d.ts +27 -0
- package/dist/src/components/RAccordion/utils/accordion.props.d.ts +14 -0
- package/dist/src/components/RAccordion/utils/accordion.style.d.ts +2 -0
- package/dist/src/components/RAvatar/RAvatar.d.ts +48 -0
- package/dist/src/components/RAvatar/utils/avatar.props.d.ts +24 -0
- package/dist/src/components/RAvatar/utils/avatar.style.d.ts +45 -0
- package/dist/src/components/RAvatarGroup/RAvatarGroup.d.ts +27 -0
- package/dist/src/components/RAvatarGroup/utils/avatar-group.props.d.ts +14 -0
- package/dist/src/components/RAvatarGroup/utils/avatar-group.style.d.ts +5 -0
- package/dist/src/components/RBadge/RBadge.d.ts +69 -0
- package/dist/src/components/RBadge/utils/badge.props.d.ts +33 -0
- package/dist/src/components/RBadge/utils/badge.style.d.ts +117 -0
- package/dist/src/components/RBreadcrumb/RBreadcrumb.d.ts +26 -0
- package/dist/src/components/RBreadcrumb/utils/breadcrumb.props.d.ts +13 -0
- package/dist/src/components/RBreadcrumb/utils/breadcrumb.style.d.ts +2 -0
- package/dist/src/components/RButton/RButton.d.ts +51 -0
- package/dist/src/components/RButton/utils/button.props.d.ts +25 -0
- package/dist/src/components/RButton/utils/button.style.d.ts +102 -0
- package/dist/src/components/RCard/RCard.d.ts +16 -0
- package/dist/src/components/RCard/utils/card.props.d.ts +8 -0
- package/dist/src/components/RCard/utils/card.style.d.ts +2 -0
- package/dist/src/components/RCombobox/RCombobox.d.ts +37 -0
- package/dist/src/components/RCombobox/utils/combobox.props.d.ts +15 -0
- package/dist/src/components/RCombobox/utils/combobox.style.d.ts +1 -0
- package/dist/src/components/RDropdown/RDropdown.d.ts +43 -0
- package/dist/src/components/RDropdown/utils/dropdown.props.d.ts +21 -0
- package/dist/src/components/RDropdown/utils/dropdown.style.d.ts +2 -0
- package/dist/src/components/RForm/RForm.d.ts +24 -0
- package/dist/src/components/RForm/utils/form.props.d.ts +13 -0
- package/dist/src/components/RForm/utils/form.style.d.ts +2 -0
- package/dist/src/components/RFormGroup/RFormGroup.d.ts +16 -0
- package/dist/src/components/RFormGroup/utils/form-group.props.d.ts +7 -0
- package/dist/src/components/RFormGroup/utils/form-group.style.d.ts +2 -0
- package/dist/src/components/RIcon/RIcon.d.ts +42 -0
- package/dist/src/components/RIcon/utils/icon.props.d.ts +21 -0
- package/dist/src/components/RIcon/utils/icon.style.d.ts +2 -0
- package/dist/src/components/RInput/RInput.d.ts +27 -0
- package/dist/src/components/RInput/utils/input.props.d.ts +11 -0
- package/dist/src/components/RInput/utils/input.style.d.ts +2 -0
- package/dist/src/components/RLink/RLink.d.ts +16 -0
- package/dist/src/components/RLink/utils/link.props.d.ts +9 -0
- package/dist/src/components/RLink/utils/link.style.d.ts +2 -0
- package/dist/src/components/RTab/RTab.d.ts +24 -0
- package/dist/src/components/RTab/utils/tab.props.d.ts +11 -0
- package/dist/src/components/RTab/utils/tab.style.d.ts +2 -0
- package/dist/src/components/RTabs/RTabs.d.ts +40 -0
- package/dist/src/components/RTabs/utils/tabs.props.d.ts +19 -0
- package/dist/src/components/RTabs/utils/tabs.style.d.ts +37 -0
- package/dist/src/components/RTextArea/RTextArea.d.ts +25 -0
- package/dist/src/components/RTextArea/utils/text-area.props.d.ts +11 -0
- package/dist/src/components/RTextArea/utils/text-area.style.d.ts +2 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/theme/animations.d.ts +6 -0
- package/dist/src/theme/colors.d.ts +248 -0
- package/dist/src/theme/global-css.d.ts +2 -0
- package/dist/src/theme/index.d.ts +5 -0
- package/dist/src/theme/keyframes.d.ts +2 -0
- package/dist/src/theme/semantic-tokens.d.ts +133 -0
- package/dist/src/theme/shadows.d.ts +59 -0
- package/dist/src/theme/tokens.d.ts +313 -0
- package/dist/src/types/component.d.ts +26 -0
- package/dist/src/types/form.d.ts +8 -0
- package/dist/src/types/index.d.ts +3 -0
- package/dist/src/utils/components.d.ts +4 -0
- package/dist/src/utils/errorHandler.d.ts +4 -0
- package/dist/src/utils/object.d.ts +2 -0
- package/dist/src/utils/regex.d.ts +5 -0
- package/dist/src/utils/string.d.ts +4 -0
- package/dist/src/utils/test.d.ts +2 -0
- package/dist/styles.css +1886 -0
- package/dist/ui.js +2577 -0
- package/dist/ui.umd.cjs +3 -0
- package/package.json +69 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AccordionDisclosure } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
details: {
|
|
5
|
+
type: PropType<AccordionDisclosure[]>;
|
|
6
|
+
required: boolean;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
multiple: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
name: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
validator: (name: string) => boolean;
|
|
11
|
+
};
|
|
12
|
+
src: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
validator: (src: string) => boolean;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
18
|
+
default: import('../../types').Size;
|
|
19
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
color: {
|
|
25
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
26
|
+
default: import('../../types').Color;
|
|
27
|
+
validator: (color: import('../../types').Color) => boolean;
|
|
28
|
+
};
|
|
29
|
+
name: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
validator: (name: string) => boolean;
|
|
33
|
+
};
|
|
34
|
+
src: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
validator: (src: string) => boolean;
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
40
|
+
default: import('../../types').Size;
|
|
41
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
color: import('../../types').Color;
|
|
45
|
+
name: string;
|
|
46
|
+
size: import('../../types').Size;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Color, Size } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
color: {
|
|
5
|
+
type: PropType<Color>;
|
|
6
|
+
default: Color;
|
|
7
|
+
validator: (color: Color) => boolean;
|
|
8
|
+
};
|
|
9
|
+
name: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (name: string) => boolean;
|
|
13
|
+
};
|
|
14
|
+
src: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
validator: (src: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: PropType<Size>;
|
|
20
|
+
default: Size;
|
|
21
|
+
validator: (size: Size) => boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const avatar: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
color: {
|
|
3
|
+
error: {
|
|
4
|
+
backgroundColor: "error";
|
|
5
|
+
};
|
|
6
|
+
info: {
|
|
7
|
+
backgroundColor: "info";
|
|
8
|
+
};
|
|
9
|
+
primary: {
|
|
10
|
+
backgroundColor: "primary";
|
|
11
|
+
};
|
|
12
|
+
secondary: {
|
|
13
|
+
backgroundColor: "secondary";
|
|
14
|
+
};
|
|
15
|
+
success: {
|
|
16
|
+
backgroundColor: "success";
|
|
17
|
+
};
|
|
18
|
+
warning: {
|
|
19
|
+
backgroundColor: "warning";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
xs: {
|
|
24
|
+
width: "24px";
|
|
25
|
+
height: "24px";
|
|
26
|
+
};
|
|
27
|
+
sm: {
|
|
28
|
+
width: "32px";
|
|
29
|
+
height: "32px";
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
width: "40px";
|
|
33
|
+
height: "40px";
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
width: "48px";
|
|
37
|
+
height: "48px";
|
|
38
|
+
};
|
|
39
|
+
xl: {
|
|
40
|
+
width: "56px";
|
|
41
|
+
height: "56px";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
export { avatar };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
max: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
8
|
+
default: import('../../types').Size;
|
|
9
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
10
|
+
};
|
|
11
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
max: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
20
|
+
default: import('../../types').Size;
|
|
21
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
max: number;
|
|
25
|
+
size: import('../../types').Size;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Size } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
max: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<Size>;
|
|
10
|
+
default: Size;
|
|
11
|
+
validator: (size: Size) => boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
as: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
color: {
|
|
7
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
8
|
+
default: import('../../types').Color;
|
|
9
|
+
validator: (color: import('../../types').Color) => boolean;
|
|
10
|
+
};
|
|
11
|
+
cx: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
rounded: {
|
|
16
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (radius: string) => boolean;
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
22
|
+
default: import('../../types').Size;
|
|
23
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
24
|
+
};
|
|
25
|
+
variant: {
|
|
26
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
27
|
+
default: import('../../types').Variant;
|
|
28
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
as: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
39
|
+
default: import('../../types').Color;
|
|
40
|
+
validator: (color: import('../../types').Color) => boolean;
|
|
41
|
+
};
|
|
42
|
+
cx: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
rounded: {
|
|
47
|
+
type: import('vue').PropType<import('../../types').Rounded>;
|
|
48
|
+
default: string;
|
|
49
|
+
validator: (radius: string) => boolean;
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
53
|
+
default: import('../../types').Size;
|
|
54
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
55
|
+
};
|
|
56
|
+
variant: {
|
|
57
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
58
|
+
default: import('../../types').Variant;
|
|
59
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
color: import('../../types').Color;
|
|
63
|
+
cx: string;
|
|
64
|
+
rounded: import('../../types').Rounded;
|
|
65
|
+
size: import('../../types').Size;
|
|
66
|
+
variant: import('../../types').Variant;
|
|
67
|
+
as: string;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Color, Rounded, Size, Variant } from '../../../types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
as: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
color: {
|
|
9
|
+
type: PropType<Color>;
|
|
10
|
+
default: Color;
|
|
11
|
+
validator: (color: Color) => boolean;
|
|
12
|
+
};
|
|
13
|
+
cx: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
rounded: {
|
|
18
|
+
type: PropType<Rounded>;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (radius: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: PropType<Size>;
|
|
24
|
+
default: Size;
|
|
25
|
+
validator: (size: Size) => boolean;
|
|
26
|
+
};
|
|
27
|
+
variant: {
|
|
28
|
+
type: PropType<Variant>;
|
|
29
|
+
default: Variant;
|
|
30
|
+
validator: (variant: Variant) => boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const _default: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
color: {
|
|
3
|
+
info: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
base: "info.lighter";
|
|
6
|
+
_dark: "info.darker";
|
|
7
|
+
};
|
|
8
|
+
color: {
|
|
9
|
+
base: "info";
|
|
10
|
+
_dark: "info.lighter";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
error: {
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
base: "error.lighter";
|
|
16
|
+
_dark: "error.darker";
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
base: "error";
|
|
20
|
+
_dark: "error.lighter";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
primary: {
|
|
24
|
+
backgroundColor: {
|
|
25
|
+
base: "primary.lighter";
|
|
26
|
+
_dark: "primary.darker";
|
|
27
|
+
};
|
|
28
|
+
color: {
|
|
29
|
+
base: "primary";
|
|
30
|
+
_dark: "primary.lighter";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
secondary: {
|
|
34
|
+
backgroundColor: {
|
|
35
|
+
base: "secondary.lighter";
|
|
36
|
+
_dark: "secondary.darker";
|
|
37
|
+
};
|
|
38
|
+
color: {
|
|
39
|
+
base: "secondary";
|
|
40
|
+
_dark: "secondary.lighter";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
success: {
|
|
44
|
+
backgroundColor: {
|
|
45
|
+
base: "success.lighter";
|
|
46
|
+
_dark: "success.darker";
|
|
47
|
+
};
|
|
48
|
+
color: {
|
|
49
|
+
base: "success";
|
|
50
|
+
_dark: "success.lighter";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
warning: {
|
|
54
|
+
backgroundColor: {
|
|
55
|
+
base: "warning.lighter";
|
|
56
|
+
_dark: "warning.darker";
|
|
57
|
+
};
|
|
58
|
+
color: {
|
|
59
|
+
base: "warning";
|
|
60
|
+
_dark: "warning.lighter";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
rounded: {
|
|
65
|
+
none: {
|
|
66
|
+
borderRadius: "none";
|
|
67
|
+
};
|
|
68
|
+
xs: {
|
|
69
|
+
borderRadius: "xs";
|
|
70
|
+
};
|
|
71
|
+
sm: {
|
|
72
|
+
borderRadius: "sm";
|
|
73
|
+
};
|
|
74
|
+
md: {
|
|
75
|
+
borderRadius: "md";
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
borderRadius: "lg";
|
|
79
|
+
};
|
|
80
|
+
xl: {
|
|
81
|
+
borderRadius: "xl";
|
|
82
|
+
};
|
|
83
|
+
full: {
|
|
84
|
+
borderRadius: "full";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
size: {
|
|
88
|
+
xs: {
|
|
89
|
+
fontSize: "0.5rem";
|
|
90
|
+
};
|
|
91
|
+
sm: {
|
|
92
|
+
fontSize: "0.75rem";
|
|
93
|
+
};
|
|
94
|
+
md: {
|
|
95
|
+
fontSize: "0.875rem";
|
|
96
|
+
};
|
|
97
|
+
lg: {
|
|
98
|
+
fontSize: "1rem";
|
|
99
|
+
};
|
|
100
|
+
xl: {
|
|
101
|
+
fontSize: "1.25rem";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
variant: {
|
|
105
|
+
solid: {
|
|
106
|
+
outline: "none";
|
|
107
|
+
};
|
|
108
|
+
ghost: {
|
|
109
|
+
backgroundColor: "transparent";
|
|
110
|
+
};
|
|
111
|
+
outlined: {
|
|
112
|
+
backgroundColor: "transparent";
|
|
113
|
+
outline: "1px solid transparent";
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
max: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
separator: {
|
|
8
|
+
type: import('vue').PropType<import('../../types').IconName>;
|
|
9
|
+
default: import('../../types').IconName;
|
|
10
|
+
};
|
|
11
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
max: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
separator: {
|
|
19
|
+
type: import('vue').PropType<import('../../types').IconName>;
|
|
20
|
+
default: import('../../types').IconName;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
max: number;
|
|
24
|
+
separator: import('../../types').IconName;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IconName } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
max: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
separator: {
|
|
9
|
+
type: PropType<IconName>;
|
|
10
|
+
default: IconName;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
size: {
|
|
8
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
9
|
+
default: import('../../types').Size;
|
|
10
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
11
|
+
};
|
|
12
|
+
type: {
|
|
13
|
+
type: import('vue').PropType<import('../../types').ButtonType>;
|
|
14
|
+
default: import('../../types').ButtonType;
|
|
15
|
+
validator: (type: import('../../types').ButtonType) => boolean;
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
19
|
+
default: import('../../types').Variant;
|
|
20
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
color: {
|
|
26
|
+
type: import('vue').PropType<import('../../types').Color>;
|
|
27
|
+
default: import('../../types').Color;
|
|
28
|
+
validator: (color: import('../../types').Color) => boolean;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
32
|
+
default: import('../../types').Size;
|
|
33
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
34
|
+
};
|
|
35
|
+
type: {
|
|
36
|
+
type: import('vue').PropType<import('../../types').ButtonType>;
|
|
37
|
+
default: import('../../types').ButtonType;
|
|
38
|
+
validator: (type: import('../../types').ButtonType) => boolean;
|
|
39
|
+
};
|
|
40
|
+
variant: {
|
|
41
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
42
|
+
default: import('../../types').Variant;
|
|
43
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
color: import('../../types').Color;
|
|
47
|
+
type: import('../../types').ButtonType;
|
|
48
|
+
size: import('../../types').Size;
|
|
49
|
+
variant: import('../../types').Variant;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ButtonType, Color, Size, Variant } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
color: {
|
|
5
|
+
type: PropType<Color>;
|
|
6
|
+
default: Color;
|
|
7
|
+
validator: (color: Color) => boolean;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: PropType<Size>;
|
|
11
|
+
default: Size;
|
|
12
|
+
validator: (size: Size) => boolean;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
type: PropType<ButtonType>;
|
|
16
|
+
default: ButtonType;
|
|
17
|
+
validator: (type: ButtonType) => boolean;
|
|
18
|
+
};
|
|
19
|
+
variant: {
|
|
20
|
+
type: PropType<Variant>;
|
|
21
|
+
default: Variant;
|
|
22
|
+
validator: (variant: Variant) => boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
declare const _default: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
color: {
|
|
3
|
+
error: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
base: "error";
|
|
6
|
+
_hover: "error.darker";
|
|
7
|
+
};
|
|
8
|
+
outlineColor: {
|
|
9
|
+
_focus: "error.darker";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
info: {
|
|
13
|
+
backgroundColor: {
|
|
14
|
+
base: "info";
|
|
15
|
+
_hover: "info.darker";
|
|
16
|
+
};
|
|
17
|
+
outlineColor: {
|
|
18
|
+
_focus: "info.darker";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
primary: {
|
|
22
|
+
backgroundColor: {
|
|
23
|
+
base: "primary";
|
|
24
|
+
_hover: "primary.darker";
|
|
25
|
+
};
|
|
26
|
+
outlineColor: {
|
|
27
|
+
_focus: "primary.darker";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
secondary: {
|
|
31
|
+
backgroundColor: {
|
|
32
|
+
base: "secondary";
|
|
33
|
+
_hover: "secondary.darker";
|
|
34
|
+
};
|
|
35
|
+
outlineColor: {
|
|
36
|
+
_focus: "secondary.darker";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
success: {
|
|
40
|
+
backgroundColor: {
|
|
41
|
+
base: "success";
|
|
42
|
+
_hover: "success.darker";
|
|
43
|
+
};
|
|
44
|
+
outlineColor: {
|
|
45
|
+
_focus: "success.darker";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
warning: {
|
|
49
|
+
backgroundColor: {
|
|
50
|
+
base: "warning";
|
|
51
|
+
_hover: "warning.darker";
|
|
52
|
+
};
|
|
53
|
+
outlineColor: {
|
|
54
|
+
_focus: "warning.darker";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
size: {
|
|
59
|
+
xs: {
|
|
60
|
+
fontSize: "0.625rem";
|
|
61
|
+
paddingInline: "0.75rem";
|
|
62
|
+
paddingBlock: "0.375rem";
|
|
63
|
+
};
|
|
64
|
+
sm: {
|
|
65
|
+
fontSize: "0.875rem";
|
|
66
|
+
paddingInline: "1rem";
|
|
67
|
+
};
|
|
68
|
+
md: {
|
|
69
|
+
fontSize: "1rem";
|
|
70
|
+
paddingInline: "1.25rem";
|
|
71
|
+
};
|
|
72
|
+
lg: {
|
|
73
|
+
fontSize: "1.125rem";
|
|
74
|
+
paddingInline: "1.75rem";
|
|
75
|
+
};
|
|
76
|
+
xl: {
|
|
77
|
+
fontSize: "1.25rem";
|
|
78
|
+
paddingInline: "2rem";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
variant: {
|
|
82
|
+
solid: {
|
|
83
|
+
outline: {
|
|
84
|
+
base: "none";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
ghost: {
|
|
88
|
+
backgroundColor: {
|
|
89
|
+
base: "transparent";
|
|
90
|
+
};
|
|
91
|
+
outline: {
|
|
92
|
+
base: "none";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
outlined: {
|
|
96
|
+
backgroundColor: {
|
|
97
|
+
base: "transparent";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
102
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
as: {
|
|
3
|
+
type: import('vue').PropType<keyof HTMLElementTagNameMap>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
as: {
|
|
10
|
+
type: import('vue').PropType<keyof HTMLElementTagNameMap>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
as: keyof HTMLElementTagNameMap;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|