@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,37 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
multiple: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
placeholder: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
multiple: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
placeholder: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
modelValue: string | unknown[];
|
|
35
|
+
placeholder: string;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
multiple: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
placeholder: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: string;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
mode: {
|
|
3
|
+
type: import('vue').PropType<"click" | "hover">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
offset: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
placement: {
|
|
15
|
+
type: import('vue').PropType<import('../../types').AnchorPosition>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
mode: {
|
|
22
|
+
type: import('vue').PropType<"click" | "hover">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
offset: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
options: {
|
|
30
|
+
type: ArrayConstructor;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
placement: {
|
|
34
|
+
type: import('vue').PropType<import('../../types').AnchorPosition>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
offset: number;
|
|
39
|
+
mode: "click" | "hover";
|
|
40
|
+
options: unknown[];
|
|
41
|
+
placement: import('../../types').AnchorPosition;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AnchorPosition } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
mode: {
|
|
5
|
+
type: PropType<"click" | "hover">;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
offset: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
placement: {
|
|
17
|
+
type: PropType<AnchorPosition>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
schema: {
|
|
3
|
+
type: import('vue').PropType<import('zod').ZodType>;
|
|
4
|
+
required: boolean;
|
|
5
|
+
};
|
|
6
|
+
state: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
schema: {
|
|
14
|
+
type: import('vue').PropType<import('zod').ZodType>;
|
|
15
|
+
required: boolean;
|
|
16
|
+
};
|
|
17
|
+
state: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ZodSchema } from 'zod';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
schema: {
|
|
5
|
+
type: PropType<ZodSchema>;
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
state: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
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
|
+
name: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
name: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
fillColor: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
height: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
type: import('vue').PropType<import('../../types').IconName>;
|
|
12
|
+
required: boolean;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
fillColor: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
height: {
|
|
26
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
name: {
|
|
30
|
+
type: import('vue').PropType<import('../../types').IconName>;
|
|
31
|
+
required: boolean;
|
|
32
|
+
};
|
|
33
|
+
width: {
|
|
34
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
height: string | number;
|
|
39
|
+
width: string | number;
|
|
40
|
+
fillColor: string;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IconName } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
fillColor: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
height: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
name: {
|
|
13
|
+
type: PropType<IconName>;
|
|
14
|
+
required: boolean;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
hasError: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
hasError: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
hasError: boolean;
|
|
25
|
+
modelValue: string;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
as: {
|
|
3
|
+
type: import('vue').PropType<import('../../types').LinkType>;
|
|
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<import('../../types').LinkType>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
as: import('../../types').LinkType;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
activeTab: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
activeTab: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
activeTab: string;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
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
|
+
variant: {
|
|
12
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
13
|
+
default: string;
|
|
14
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: import('vue').PropType<import('../../types').Size>;
|
|
25
|
+
default: import('../../types').Size;
|
|
26
|
+
validator: (size: import('../../types').Size) => boolean;
|
|
27
|
+
};
|
|
28
|
+
variant: {
|
|
29
|
+
type: import('vue').PropType<import('../../types').Variant>;
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (variant: import('../../types').Variant) => boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
size: import('../../types').Size;
|
|
37
|
+
variant: import('../../types').Variant;
|
|
38
|
+
modelValue: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Size, Variant } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<Size>;
|
|
10
|
+
default: Size;
|
|
11
|
+
validator: (size: Size) => boolean;
|
|
12
|
+
};
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<Variant>;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (variant: Variant) => boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const styles: import('../../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
fontSize: "0.5rem";
|
|
5
|
+
};
|
|
6
|
+
sm: {
|
|
7
|
+
fontSize: "0.75rem";
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
fontSize: "0.875rem";
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
fontSize: "1rem";
|
|
14
|
+
};
|
|
15
|
+
xl: {
|
|
16
|
+
fontSize: "1.25rem";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
variant: {
|
|
20
|
+
solid: {
|
|
21
|
+
border: "none";
|
|
22
|
+
backgroundColor: {
|
|
23
|
+
base: "neutrals.100";
|
|
24
|
+
_dark: "neutrals.900";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
ghost: {
|
|
28
|
+
border: "none";
|
|
29
|
+
backgroundColor: "transparent";
|
|
30
|
+
};
|
|
31
|
+
outlined: {
|
|
32
|
+
backgroundColor: "transparent";
|
|
33
|
+
border: "1px solid transparent";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export { styles };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
hasError: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
hasError: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
hasError: boolean;
|
|
23
|
+
modelValue: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
export default _default;
|
|
File without changes
|