@vanjana/vue-ui 0.1.62 → 0.1.85
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/theme-light.css +1 -1
- package/dist/types/components/chip-group.vue.d.ts +40 -0
- package/dist/types/components/chip-selector.vue.d.ts +24 -0
- package/dist/types/components/chip.vue.d.ts +2 -2
- package/dist/types/components/dialog.vue.d.ts +2 -2
- package/dist/types/components/editable-label.vue.d.ts +13 -0
- package/dist/types/components/form/form-field.vue.d.ts +2 -2
- package/dist/types/components/form/input-select.vue.d.ts +1 -1
- package/dist/types/components/form/input-slider.vue.d.ts +2 -2
- package/dist/types/components/form/input-text-area.vue.d.ts +2 -2
- package/dist/types/components/form/input-text.vue.d.ts +2 -2
- package/dist/types/components/form/input.vue.d.ts +1 -1
- package/dist/types/components/form/textarea.vue.d.ts +1 -1
- package/dist/types/components/index.d.ts +10 -2
- package/dist/types/components/notification/notification.vue.d.ts +13 -0
- package/dist/types/components/notification/notifications.vue.d.ts +3 -0
- package/dist/types/components/paginator.vue.d.ts +1 -1
- package/dist/types/components/radio.vue.d.ts +15 -0
- package/dist/types/components/shell/shell-navigation-item.vue.d.ts +1 -1
- package/dist/types/components/shell/shell.vue.d.ts +4 -2
- package/dist/types/components/skeleton.vue.d.ts +8 -0
- package/dist/types/components/slider.vue.d.ts +2 -2
- package/dist/types/config.d.ts +2 -0
- package/dist/types/model/FormFieldProps.d.ts +2 -1
- package/dist/types/model/Icons.d.ts +43 -3
- package/dist/types/services/index.d.ts +2 -1
- package/dist/types/services/notification.service.d.ts +62 -0
- package/dist/types/stories/components/chip-group.stories.d.ts +48 -0
- package/dist/types/stories/components/chip-selector.stories.d.ts +38 -0
- package/dist/types/stories/components/chip.stories.d.ts +2 -2
- package/dist/types/stories/components/compact.stories.d.ts +2 -2
- package/dist/types/stories/components/dialog.stories.d.ts +5 -5
- package/dist/types/stories/components/editable-label.stories.d.ts +30 -0
- package/dist/types/stories/components/form-field.stories.d.ts +27 -2
- package/dist/types/stories/components/input.stories.d.ts +1 -1
- package/dist/types/stories/components/notification.stories.d.ts +44 -0
- package/dist/types/stories/components/radio.stories.d.ts +65 -0
- package/dist/types/stories/components/shell.stories.d.ts +4 -0
- package/dist/types/stories/components/skeleton.stories.d.ts +30 -0
- package/dist/types/stories/components/textarea.stories.d.ts +1 -1
- package/dist/vanjana-vue-ui.es.js +1943 -1522
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +3 -2
- package/themes/common/_components.scss +4 -0
- package/themes/common/_mixins.scss +1 -1
- package/themes/common/components/_checkbox.scss +43 -9
- package/themes/common/components/_radio.scss +59 -0
- package/themes/common/components/_shell.scss +25 -28
- package/themes/common/components/_skeleton.scss +31 -0
- package/themes/common/components/form/_form-field.scss +39 -2
- package/themes/common/components/form/_input.scss +1 -1
- package/themes/common/components/notification/_notification.scss +39 -0
- package/themes/light/theme.scss +27 -13
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<import("../../components/chip-group.vue").ChipGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
dismiss: (item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any;
|
|
6
|
+
"update:items": (items: import("../../components/chip-group.vue").ChipGroupItem[]) => any;
|
|
7
|
+
reorder: (items: import("../../components/chip-group.vue").ChipGroupItem[]) => any;
|
|
8
|
+
"chip-click": (item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("../../components/chip-group.vue").ChipGroupProps> & Readonly<{
|
|
10
|
+
onDismiss?: ((item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any) | undefined;
|
|
11
|
+
"onUpdate:items"?: ((items: import("../../components/chip-group.vue").ChipGroupItem[]) => any) | undefined;
|
|
12
|
+
onReorder?: ((items: import("../../components/chip-group.vue").ChipGroupItem[]) => any) | undefined;
|
|
13
|
+
"onChip-click"?: ((item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
dismissable: boolean;
|
|
16
|
+
items: import("../../components/chip-group.vue").ChipGroupItem[];
|
|
17
|
+
itemKey: string;
|
|
18
|
+
itemLabel: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
tags: string[];
|
|
21
|
+
argTypes: {
|
|
22
|
+
items: {
|
|
23
|
+
control: "object";
|
|
24
|
+
};
|
|
25
|
+
label: {
|
|
26
|
+
control: "text";
|
|
27
|
+
};
|
|
28
|
+
hint: {
|
|
29
|
+
control: "text";
|
|
30
|
+
};
|
|
31
|
+
dismissable: {
|
|
32
|
+
control: "boolean";
|
|
33
|
+
};
|
|
34
|
+
color: {
|
|
35
|
+
control: "text";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default meta;
|
|
40
|
+
type Story = StoryObj<typeof meta>;
|
|
41
|
+
export declare const Default: Story;
|
|
42
|
+
export declare const WithObjects: Story;
|
|
43
|
+
export declare const WithAddButton: Story;
|
|
44
|
+
export declare const DragAndDropDemo: Story;
|
|
45
|
+
export declare const EmptyState: Story;
|
|
46
|
+
export declare const ColoredChips: Story;
|
|
47
|
+
export declare const NonDismissable: Story;
|
|
48
|
+
export declare const ClickableChips: Story;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<import("../../public-api.js").ChipSelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:items": (value: string[]) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("../../public-api.js").ChipSelectorProps> & Readonly<{
|
|
7
|
+
"onUpdate:items"?: ((value: string[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
label: string;
|
|
10
|
+
items: string[];
|
|
11
|
+
hint: string;
|
|
12
|
+
addButtonText: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
tags: string[];
|
|
15
|
+
argTypes: {
|
|
16
|
+
label: {
|
|
17
|
+
control: "text";
|
|
18
|
+
};
|
|
19
|
+
hint: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
dialogTitle: {
|
|
23
|
+
control: "text";
|
|
24
|
+
};
|
|
25
|
+
addButtonText: {
|
|
26
|
+
control: "text";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default meta;
|
|
31
|
+
type Story = StoryObj<typeof meta>;
|
|
32
|
+
export declare const Default: Story;
|
|
33
|
+
export declare const EmptyState: Story;
|
|
34
|
+
export declare const WithPreselected: Story;
|
|
35
|
+
export declare const EthnicityExample: Story;
|
|
36
|
+
export declare const HairTraitsExample: Story;
|
|
37
|
+
export declare const MultipleSelectors: Story;
|
|
38
|
+
export declare const AllOptionsSelected: Story;
|
|
@@ -6,14 +6,14 @@ declare const meta: {
|
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string | number | Record<string, unknown> | undefined) => any;
|
|
8
8
|
} & {
|
|
9
|
-
"update:modelValue": (v: unknown) => any;
|
|
10
9
|
click: () => any;
|
|
10
|
+
"update:modelValue": (v: unknown) => any;
|
|
11
11
|
dismiss: (v: unknown) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<import("../../components/chip.vue").ChipProps & {
|
|
13
13
|
modelValue?: string | number | Record<string, unknown>;
|
|
14
14
|
}> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
|
|
16
15
|
onClick?: (() => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
|
|
17
17
|
onDismiss?: ((v: unknown) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
@@ -5,16 +5,16 @@ declare const meta: {
|
|
|
5
5
|
type: "text" | "password" | "email" | "number";
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
input: (value: string | number) => any;
|
|
8
|
-
"update:modelValue": (value: string | number) => any;
|
|
9
8
|
blur: (value: FocusEvent) => any;
|
|
10
9
|
focus: (value: FocusEvent) => any;
|
|
10
|
+
"update:modelValue": (value: string | number) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
|
|
12
12
|
type: "text" | "password" | "email" | "number";
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
onInput?: ((value: string | number) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
15
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
17
16
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
@@ -15,14 +15,14 @@ declare const meta: {
|
|
|
15
15
|
closeOnBackdrop?: boolean;
|
|
16
16
|
closeOnEscape?: boolean;
|
|
17
17
|
}> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
18
|
onCancel?: (() => any) | undefined;
|
|
20
19
|
onClose?: (() => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
onConfirm?: (() => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
-
"update:modelValue": (value: boolean) => any;
|
|
24
23
|
cancel: () => any;
|
|
25
24
|
close: () => any;
|
|
25
|
+
"update:modelValue": (value: boolean) => any;
|
|
26
26
|
confirm: () => any;
|
|
27
27
|
}, import("vue").PublicProps, {
|
|
28
28
|
modelValue: boolean;
|
|
@@ -52,9 +52,9 @@ declare const meta: {
|
|
|
52
52
|
closeOnBackdrop?: boolean;
|
|
53
53
|
closeOnEscape?: boolean;
|
|
54
54
|
}> & Readonly<{
|
|
55
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
56
55
|
onCancel?: (() => any) | undefined;
|
|
57
56
|
onClose?: (() => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
58
58
|
onConfirm?: (() => any) | undefined;
|
|
59
59
|
}>, {}, {}, {}, {}, {
|
|
60
60
|
modelValue: boolean;
|
|
@@ -81,14 +81,14 @@ declare const meta: {
|
|
|
81
81
|
closeOnBackdrop?: boolean;
|
|
82
82
|
closeOnEscape?: boolean;
|
|
83
83
|
}> & Readonly<{
|
|
84
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
85
84
|
onCancel?: (() => any) | undefined;
|
|
86
85
|
onClose?: (() => any) | undefined;
|
|
86
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
87
87
|
onConfirm?: (() => any) | undefined;
|
|
88
88
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
89
|
-
"update:modelValue": (value: boolean) => any;
|
|
90
89
|
cancel: () => any;
|
|
91
90
|
close: () => any;
|
|
91
|
+
"update:modelValue": (value: boolean) => any;
|
|
92
92
|
confirm: () => any;
|
|
93
93
|
}, string, {
|
|
94
94
|
modelValue: boolean;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
showIcon?: boolean;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
edit: (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
showIcon?: boolean;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
tags: string[];
|
|
18
|
+
argTypes: {
|
|
19
|
+
modelValue: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
showIcon: {
|
|
23
|
+
control: "boolean";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Default: Story;
|
|
30
|
+
export declare const WithLongText: Story;
|
|
@@ -5,16 +5,16 @@ declare const meta: {
|
|
|
5
5
|
type: "text" | "password" | "email" | "number";
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
input: (value: string | number) => any;
|
|
8
|
-
"update:modelValue": (value: string | number) => any;
|
|
9
8
|
blur: (value: FocusEvent) => any;
|
|
10
9
|
focus: (value: FocusEvent) => any;
|
|
10
|
+
"update:modelValue": (value: string | number) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
|
|
12
12
|
type: "text" | "password" | "email" | "number";
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
onInput?: ((value: string | number) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
15
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
17
16
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
@@ -50,3 +50,28 @@ export declare const LabelPositionComparison: Story;
|
|
|
50
50
|
* Configure all form fields to use outline labels by default
|
|
51
51
|
*/
|
|
52
52
|
export declare const GlobalConfigOutline: Story;
|
|
53
|
+
/**
|
|
54
|
+
* Appearance: Bordered (default)
|
|
55
|
+
* The input has a border outline around it.
|
|
56
|
+
*/
|
|
57
|
+
export declare const AppearanceBordered: Story;
|
|
58
|
+
/**
|
|
59
|
+
* Appearance: Underlined
|
|
60
|
+
* The input has an underline instead of a border with reduced padding.
|
|
61
|
+
*/
|
|
62
|
+
export declare const AppearanceUnderlined: Story;
|
|
63
|
+
/**
|
|
64
|
+
* Appearance: Comparison
|
|
65
|
+
* Side-by-side comparison of bordered vs underlined
|
|
66
|
+
*/
|
|
67
|
+
export declare const AppearanceComparison: Story;
|
|
68
|
+
/**
|
|
69
|
+
* Appearance: Underlined with Outline Labels
|
|
70
|
+
* Combination of underlined appearance with outline label position
|
|
71
|
+
*/
|
|
72
|
+
export declare const AppearanceUnderlinedWithOutlineLabels: Story;
|
|
73
|
+
/**
|
|
74
|
+
* Global Config: Underlined
|
|
75
|
+
* Configure all form fields to use underlined appearance by default
|
|
76
|
+
*/
|
|
77
|
+
export declare const GlobalConfigUnderlined: Story;
|
|
@@ -24,9 +24,9 @@ declare const meta: {
|
|
|
24
24
|
} & {
|
|
25
25
|
modelValue?: string | number;
|
|
26
26
|
}> & Readonly<{
|
|
27
|
-
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
28
27
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
28
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
30
30
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
tags: string[];
|
|
32
32
|
argTypes: {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
render: () => {
|
|
6
|
+
components: {
|
|
7
|
+
Notifications: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
Button: import("vue").DefineComponent<{
|
|
9
|
+
label?: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
primary?: boolean;
|
|
12
|
+
secondary?: boolean;
|
|
13
|
+
tertiary?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
+
label?: string;
|
|
17
|
+
icon?: string;
|
|
18
|
+
primary?: boolean;
|
|
19
|
+
secondary?: boolean;
|
|
20
|
+
tertiary?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
};
|
|
24
|
+
setup(this: void): {
|
|
25
|
+
showInfo: () => void;
|
|
26
|
+
showSuccess: () => void;
|
|
27
|
+
showWarning: () => void;
|
|
28
|
+
showError: () => void;
|
|
29
|
+
showCustomDuration: () => void;
|
|
30
|
+
showMultiple: () => void;
|
|
31
|
+
clearAll: () => void;
|
|
32
|
+
};
|
|
33
|
+
template: string;
|
|
34
|
+
};
|
|
35
|
+
tags: string[];
|
|
36
|
+
};
|
|
37
|
+
export default meta;
|
|
38
|
+
type Story = StoryObj<typeof meta>;
|
|
39
|
+
export declare const Default: Story;
|
|
40
|
+
export declare const InfoNotification: Story;
|
|
41
|
+
export declare const SuccessNotification: Story;
|
|
42
|
+
export declare const WarningNotification: Story;
|
|
43
|
+
export declare const ErrorNotification: Story;
|
|
44
|
+
export declare const MultipleNotifications: Story;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import("vue").DefineComponent<{
|
|
4
|
+
label?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
+
label?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
} & {
|
|
14
|
+
modelValue?: boolean;
|
|
15
|
+
}> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const Default: () => {
|
|
21
|
+
components: {
|
|
22
|
+
Radio: import("vue").DefineComponent<{
|
|
23
|
+
label?: string;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
} & {
|
|
26
|
+
modelValue?: boolean;
|
|
27
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
label?: string;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
} & {
|
|
33
|
+
modelValue?: boolean;
|
|
34
|
+
}> & Readonly<{
|
|
35
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
};
|
|
38
|
+
setup(): {
|
|
39
|
+
checked: import("vue").Ref<boolean, boolean>;
|
|
40
|
+
};
|
|
41
|
+
template: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const Checked: () => {
|
|
44
|
+
components: {
|
|
45
|
+
Radio: import("vue").DefineComponent<{
|
|
46
|
+
label?: string;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
} & {
|
|
49
|
+
modelValue?: boolean;
|
|
50
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
53
|
+
label?: string;
|
|
54
|
+
disabled?: boolean;
|
|
55
|
+
} & {
|
|
56
|
+
modelValue?: boolean;
|
|
57
|
+
}> & Readonly<{
|
|
58
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
59
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
};
|
|
61
|
+
setup(): {
|
|
62
|
+
checked: import("vue").Ref<boolean, boolean>;
|
|
63
|
+
};
|
|
64
|
+
template: string;
|
|
65
|
+
};
|
|
@@ -28,6 +28,8 @@ declare const meta: {
|
|
|
28
28
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
29
29
|
$slots: {
|
|
30
30
|
'header-actions'?: (props: {}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
'navigation-fixed'?: (props: {}) => any;
|
|
31
33
|
} & {
|
|
32
34
|
default?: (props: {}) => any;
|
|
33
35
|
};
|
|
@@ -62,6 +64,8 @@ declare const meta: {
|
|
|
62
64
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
63
65
|
$slots: {
|
|
64
66
|
'header-actions'?: (props: {}) => any;
|
|
67
|
+
} & {
|
|
68
|
+
'navigation-fixed'?: (props: {}) => any;
|
|
65
69
|
} & {
|
|
66
70
|
default?: (props: {}) => any;
|
|
67
71
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
width?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
borderRadius?: string;
|
|
8
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
borderRadius?: string;
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
tags: string[];
|
|
14
|
+
argTypes: {
|
|
15
|
+
width: {
|
|
16
|
+
control: "text";
|
|
17
|
+
};
|
|
18
|
+
height: {
|
|
19
|
+
control: "text";
|
|
20
|
+
};
|
|
21
|
+
borderRadius: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default meta;
|
|
27
|
+
type Story = StoryObj<typeof meta>;
|
|
28
|
+
export declare const Line: Story;
|
|
29
|
+
export declare const AvatarAndLines: Story;
|
|
30
|
+
export declare const CardsGrid: Story;
|
|
@@ -24,9 +24,9 @@ declare const meta: {
|
|
|
24
24
|
} & {
|
|
25
25
|
modelValue?: string;
|
|
26
26
|
}> & Readonly<{
|
|
27
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
28
27
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
28
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
30
30
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
tags: string[];
|
|
32
32
|
argTypes: {
|