@knitify/vue 0.0.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -0
- package/dist/index.es.js +2586 -175
- package/dist/index.umd.js +1 -1
- package/dist/types/components/Accordion/KAccordion.vue.d.ts +11 -0
- package/dist/types/components/Accordion/KAccordionItem.vue.d.ts +22 -0
- package/dist/types/components/Accordion/keys.d.ts +2 -0
- package/dist/types/components/Accordion/types.d.ts +37 -0
- package/dist/types/components/Alert/KAlert.vue.d.ts +11 -0
- package/dist/types/components/Alert/types.d.ts +18 -0
- package/dist/types/components/Avatar/KAvatar.vue.d.ts +11 -0
- package/dist/types/components/Avatar/KAvatarGroup.vue.d.ts +11 -0
- package/dist/types/components/Avatar/types.d.ts +42 -0
- package/dist/types/components/Breadcrumb/KBreadcrumb.vue.d.ts +11 -0
- package/dist/types/components/Breadcrumb/KBreadcrumbItem.vue.d.ts +11 -0
- package/dist/types/components/Breadcrumb/types.d.ts +23 -0
- package/dist/types/components/Button/types.d.ts +15 -4
- package/dist/types/components/Calendar/KCalendar.vue.d.ts +34 -0
- package/dist/types/components/Calendar/types.d.ts +26 -0
- package/dist/types/components/Card/KCard.vue.d.ts +11 -0
- package/dist/types/components/Card/types.d.ts +26 -0
- package/dist/types/components/Chat/KChat.vue.d.ts +14 -0
- package/dist/types/components/Chat/KChatMessage.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatMessages.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatPrompt.vue.d.ts +30 -0
- package/dist/types/components/Chat/KChatShimmer.vue.d.ts +11 -0
- package/dist/types/components/Chat/keys.d.ts +2 -0
- package/dist/types/components/Chat/types.d.ts +50 -0
- package/dist/types/components/Checkbox/KCheckbox.vue.d.ts +20 -0
- package/dist/types/components/Checkbox/types.d.ts +23 -0
- package/dist/types/components/Collapse/KCollapse.vue.d.ts +32 -0
- package/dist/types/components/Collapse/types.d.ts +32 -0
- package/dist/types/components/Collapse/useCollapseSync.d.ts +29 -0
- package/dist/types/components/Drawer/KDrawer.vue.d.ts +34 -0
- package/dist/types/components/Drawer/types.d.ts +54 -0
- package/dist/types/components/Dropdown/KDropdown.vue.d.ts +28 -0
- package/dist/types/components/Dropdown/KDropdownItem.vue.d.ts +13 -0
- package/dist/types/components/Dropdown/KDropdownMenu.vue.d.ts +13 -0
- package/dist/types/components/Dropdown/types.d.ts +34 -0
- package/dist/types/components/FileTree/KFileTree.vue.d.ts +34 -0
- package/dist/types/components/FileTree/KFileTreeNode.vue.d.ts +20 -0
- package/dist/types/components/FileTree/types.d.ts +39 -0
- package/dist/types/components/Grid/KGrid.vue.d.ts +11 -0
- package/dist/types/components/Grid/KGridColumn.vue.d.ts +11 -0
- package/dist/types/components/Grid/KGridRow.vue.d.ts +19 -0
- package/dist/types/components/Grid/types.d.ts +41 -0
- package/dist/types/components/Grid/useGrid.d.ts +8 -0
- package/dist/types/components/Icon/types.d.ts +1 -1
- package/dist/types/components/Input/KInput.vue.d.ts +3 -1
- package/dist/types/components/Input/types.d.ts +8 -0
- package/dist/types/components/MenuList/KMenuList.vue.d.ts +11 -0
- package/dist/types/components/MenuList/KMenuListItem.vue.d.ts +11 -0
- package/dist/types/components/MenuList/types.d.ts +20 -0
- package/dist/types/components/Modal/KModal.vue.d.ts +36 -0
- package/dist/types/components/Modal/types.d.ts +57 -0
- package/dist/types/components/NotificationList/KNotificationList.vue.d.ts +11 -0
- package/dist/types/components/NotificationList/KNotificationListItem.vue.d.ts +11 -0
- package/dist/types/components/NotificationList/types.d.ts +36 -0
- package/dist/types/components/Popover/KPopover.vue.d.ts +28 -0
- package/dist/types/components/Popover/types.d.ts +24 -0
- package/dist/types/components/Popover/useOverlaySync.d.ts +35 -0
- package/dist/types/components/Progress/KProgress.vue.d.ts +11 -0
- package/dist/types/components/Progress/types.d.ts +19 -0
- package/dist/types/components/Radio/KRadio.vue.d.ts +20 -0
- package/dist/types/components/Radio/types.d.ts +20 -0
- package/dist/types/components/Select/KSelect.vue.d.ts +22 -0
- package/dist/types/components/Select/types.d.ts +30 -0
- package/dist/types/components/Table/KTable.vue.d.ts +11 -0
- package/dist/types/components/Table/types.d.ts +16 -0
- package/dist/types/components/Tabs/KTab.vue.d.ts +13 -0
- package/dist/types/components/Tabs/KTabPanel.vue.d.ts +13 -0
- package/dist/types/components/Tabs/KTabs.vue.d.ts +25 -0
- package/dist/types/components/Tabs/types.d.ts +35 -0
- package/dist/types/components/Toast/types.d.ts +20 -0
- package/dist/types/components/Toast/useToast.d.ts +20 -0
- package/dist/types/components/Toggle/KToggle.vue.d.ts +20 -0
- package/dist/types/components/Toggle/types.d.ts +8 -0
- package/dist/types/components/Tooltip/KTooltip.vue.d.ts +45 -0
- package/dist/types/components/Tooltip/types.d.ts +18 -0
- package/dist/types/components/Workspace/KWorkspace.vue.d.ts +30 -0
- package/dist/types/components/Workspace/types.d.ts +29 -0
- package/dist/types/components/index.d.ts +44 -0
- package/dist/types/components/types.d.ts +27 -0
- package/dist/types/types.d.ts +1 -0
- package/package.json +9 -5
- package/dist/types/stories/KBadge.stories.d.ts +0 -104
- package/dist/types/stories/KButton.stories.d.ts +0 -117
- package/dist/types/stories/KContainer.stories.d.ts +0 -84
- package/dist/types/stories/KInput.stories.d.ts +0 -172
- package/dist/types/stories/KNavbar.stories.d.ts +0 -67
- package/dist/types/stories/KNavbarMenu.stories.d.ts +0 -99
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: {
|
|
5
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KInputProps & {
|
|
6
|
-
modelValue?: string;
|
|
7
|
-
}> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
11
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
12
|
-
P: {};
|
|
13
|
-
B: {};
|
|
14
|
-
D: {};
|
|
15
|
-
C: {};
|
|
16
|
-
M: {};
|
|
17
|
-
Defaults: {};
|
|
18
|
-
}, Readonly<import("../index.js").KInputProps & {
|
|
19
|
-
modelValue?: string;
|
|
20
|
-
}> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, {}>;
|
|
23
|
-
__isFragment?: never;
|
|
24
|
-
__isTeleport?: never;
|
|
25
|
-
__isSuspense?: never;
|
|
26
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KInputProps & {
|
|
27
|
-
modelValue?: string;
|
|
28
|
-
}> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
32
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
33
|
-
$slots: import("../index.js").KInputSlots;
|
|
34
|
-
});
|
|
35
|
-
tags: string[];
|
|
36
|
-
argTypes: {
|
|
37
|
-
type: {
|
|
38
|
-
control: "text";
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
control: "boolean";
|
|
42
|
-
};
|
|
43
|
-
rounded: {
|
|
44
|
-
control: "boolean";
|
|
45
|
-
};
|
|
46
|
-
sunken: {
|
|
47
|
-
control: "boolean";
|
|
48
|
-
};
|
|
49
|
-
ghost: {
|
|
50
|
-
control: "boolean";
|
|
51
|
-
};
|
|
52
|
-
transparent: {
|
|
53
|
-
control: "boolean";
|
|
54
|
-
};
|
|
55
|
-
'onUpdate:modelValue': {
|
|
56
|
-
action: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
render: (args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
60
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KInputProps & {
|
|
61
|
-
modelValue?: string;
|
|
62
|
-
}> & Readonly<{
|
|
63
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
64
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
66
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
67
|
-
P: {};
|
|
68
|
-
B: {};
|
|
69
|
-
D: {};
|
|
70
|
-
C: {};
|
|
71
|
-
M: {};
|
|
72
|
-
Defaults: {};
|
|
73
|
-
}, Readonly<import("../index.js").KInputProps & {
|
|
74
|
-
modelValue?: string;
|
|
75
|
-
}> & Readonly<{
|
|
76
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
77
|
-
}>, {}, {}, {}, {}, {}>;
|
|
78
|
-
__isFragment?: never;
|
|
79
|
-
__isTeleport?: never;
|
|
80
|
-
__isSuspense?: never;
|
|
81
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KInputProps & {
|
|
82
|
-
modelValue?: string;
|
|
83
|
-
}> & Readonly<{
|
|
84
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
85
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
86
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
87
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
88
|
-
$slots: import("../index.js").KInputSlots;
|
|
89
|
-
})>) => {
|
|
90
|
-
components: {
|
|
91
|
-
KInput: {
|
|
92
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KInputProps & {
|
|
93
|
-
modelValue?: string;
|
|
94
|
-
}> & Readonly<{
|
|
95
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
96
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
98
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
99
|
-
P: {};
|
|
100
|
-
B: {};
|
|
101
|
-
D: {};
|
|
102
|
-
C: {};
|
|
103
|
-
M: {};
|
|
104
|
-
Defaults: {};
|
|
105
|
-
}, Readonly<import("../index.js").KInputProps & {
|
|
106
|
-
modelValue?: string;
|
|
107
|
-
}> & Readonly<{
|
|
108
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
109
|
-
}>, {}, {}, {}, {}, {}>;
|
|
110
|
-
__isFragment?: never;
|
|
111
|
-
__isTeleport?: never;
|
|
112
|
-
__isSuspense?: never;
|
|
113
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KInputProps & {
|
|
114
|
-
modelValue?: string;
|
|
115
|
-
}> & Readonly<{
|
|
116
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
117
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
118
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
119
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
120
|
-
$slots: import("../index.js").KInputSlots;
|
|
121
|
-
});
|
|
122
|
-
};
|
|
123
|
-
setup(this: void): {
|
|
124
|
-
args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
125
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KInputProps & {
|
|
126
|
-
modelValue?: string;
|
|
127
|
-
}> & Readonly<{
|
|
128
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
129
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
130
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
131
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
132
|
-
P: {};
|
|
133
|
-
B: {};
|
|
134
|
-
D: {};
|
|
135
|
-
C: {};
|
|
136
|
-
M: {};
|
|
137
|
-
Defaults: {};
|
|
138
|
-
}, Readonly<import("../index.js").KInputProps & {
|
|
139
|
-
modelValue?: string;
|
|
140
|
-
}> & Readonly<{
|
|
141
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
142
|
-
}>, {}, {}, {}, {}, {}>;
|
|
143
|
-
__isFragment?: never;
|
|
144
|
-
__isTeleport?: never;
|
|
145
|
-
__isSuspense?: never;
|
|
146
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KInputProps & {
|
|
147
|
-
modelValue?: string;
|
|
148
|
-
}> & Readonly<{
|
|
149
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
150
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
151
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
152
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
153
|
-
$slots: import("../index.js").KInputSlots;
|
|
154
|
-
})>;
|
|
155
|
-
value: import("vue").Ref<string, string>;
|
|
156
|
-
};
|
|
157
|
-
template: string;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
export default meta;
|
|
161
|
-
type Story = StoryObj<typeof meta>;
|
|
162
|
-
export declare const Default: Story;
|
|
163
|
-
export declare const WithPlaceholder: Story;
|
|
164
|
-
export declare const Disabled: Story;
|
|
165
|
-
export declare const Rounded: Story;
|
|
166
|
-
export declare const Sunken: Story;
|
|
167
|
-
export declare const Ghost: Story;
|
|
168
|
-
export declare const Transparent: Story;
|
|
169
|
-
export declare const WithPrefix: Story;
|
|
170
|
-
export declare const WithSuffix: Story;
|
|
171
|
-
export declare const WithBothAddons: Story;
|
|
172
|
-
export declare const AllVariants: Story;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: {
|
|
5
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KNavbarProps & {
|
|
6
|
-
expanded?: boolean;
|
|
7
|
-
}> & Readonly<{
|
|
8
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
9
|
-
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
"update:expanded": (value: boolean) => any;
|
|
12
|
-
} & {
|
|
13
|
-
toggle: (value: boolean) => any;
|
|
14
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
15
|
-
P: {};
|
|
16
|
-
B: {};
|
|
17
|
-
D: {};
|
|
18
|
-
C: {};
|
|
19
|
-
M: {};
|
|
20
|
-
Defaults: {};
|
|
21
|
-
}, Readonly<import("../index.js").KNavbarProps & {
|
|
22
|
-
expanded?: boolean;
|
|
23
|
-
}> & Readonly<{
|
|
24
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
25
|
-
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, {}>;
|
|
27
|
-
__isFragment?: never;
|
|
28
|
-
__isTeleport?: never;
|
|
29
|
-
__isSuspense?: never;
|
|
30
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KNavbarProps & {
|
|
31
|
-
expanded?: boolean;
|
|
32
|
-
}> & Readonly<{
|
|
33
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
34
|
-
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
"update:expanded": (value: boolean) => any;
|
|
37
|
-
} & {
|
|
38
|
-
toggle: (value: boolean) => any;
|
|
39
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
40
|
-
$slots: import("../index.js").KNavbarSlots;
|
|
41
|
-
});
|
|
42
|
-
tags: string[];
|
|
43
|
-
argTypes: {
|
|
44
|
-
fixed: {
|
|
45
|
-
control: "boolean";
|
|
46
|
-
};
|
|
47
|
-
hideToggle: {
|
|
48
|
-
control: "boolean";
|
|
49
|
-
};
|
|
50
|
-
'onUpdate:expanded': {
|
|
51
|
-
action: string;
|
|
52
|
-
};
|
|
53
|
-
onToggle: {
|
|
54
|
-
action: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
parameters: {
|
|
58
|
-
layout: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export default meta;
|
|
62
|
-
type Story = StoryObj<typeof meta>;
|
|
63
|
-
export declare const Default: Story;
|
|
64
|
-
export declare const Expanded: Story;
|
|
65
|
-
export declare const WithBrandSlot: Story;
|
|
66
|
-
export declare const WithFooterSlot: Story;
|
|
67
|
-
export declare const NoToggle: Story;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import type { MenuItem } from '../components/Navbar/types';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: {
|
|
6
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
7
|
-
P: {};
|
|
8
|
-
B: {};
|
|
9
|
-
D: {};
|
|
10
|
-
C: {};
|
|
11
|
-
M: {};
|
|
12
|
-
Defaults: {};
|
|
13
|
-
}, Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
|
-
__isFragment?: never;
|
|
15
|
-
__isTeleport?: never;
|
|
16
|
-
__isSuspense?: never;
|
|
17
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KNavbarMenuProps> & 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 () => {
|
|
18
|
-
$slots: {
|
|
19
|
-
item?: (props: {
|
|
20
|
-
item: MenuItem;
|
|
21
|
-
}) => any;
|
|
22
|
-
};
|
|
23
|
-
});
|
|
24
|
-
tags: string[];
|
|
25
|
-
parameters: {
|
|
26
|
-
layout: string;
|
|
27
|
-
};
|
|
28
|
-
render: (args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
29
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
30
|
-
P: {};
|
|
31
|
-
B: {};
|
|
32
|
-
D: {};
|
|
33
|
-
C: {};
|
|
34
|
-
M: {};
|
|
35
|
-
Defaults: {};
|
|
36
|
-
}, Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
37
|
-
__isFragment?: never;
|
|
38
|
-
__isTeleport?: never;
|
|
39
|
-
__isSuspense?: never;
|
|
40
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KNavbarMenuProps> & 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 () => {
|
|
41
|
-
$slots: {
|
|
42
|
-
item?: (props: {
|
|
43
|
-
item: MenuItem;
|
|
44
|
-
}) => any;
|
|
45
|
-
};
|
|
46
|
-
})>) => {
|
|
47
|
-
components: {
|
|
48
|
-
KNavbarMenu: {
|
|
49
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
50
|
-
P: {};
|
|
51
|
-
B: {};
|
|
52
|
-
D: {};
|
|
53
|
-
C: {};
|
|
54
|
-
M: {};
|
|
55
|
-
Defaults: {};
|
|
56
|
-
}, Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
57
|
-
__isFragment?: never;
|
|
58
|
-
__isTeleport?: never;
|
|
59
|
-
__isSuspense?: never;
|
|
60
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KNavbarMenuProps> & 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 () => {
|
|
61
|
-
$slots: {
|
|
62
|
-
item?: (props: {
|
|
63
|
-
item: MenuItem;
|
|
64
|
-
}) => any;
|
|
65
|
-
};
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
setup(this: void): {
|
|
69
|
-
args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
70
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
71
|
-
P: {};
|
|
72
|
-
B: {};
|
|
73
|
-
D: {};
|
|
74
|
-
C: {};
|
|
75
|
-
M: {};
|
|
76
|
-
Defaults: {};
|
|
77
|
-
}, Readonly<import("../index.js").KNavbarMenuProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
78
|
-
__isFragment?: never;
|
|
79
|
-
__isTeleport?: never;
|
|
80
|
-
__isSuspense?: never;
|
|
81
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KNavbarMenuProps> & 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 () => {
|
|
82
|
-
$slots: {
|
|
83
|
-
item?: (props: {
|
|
84
|
-
item: MenuItem;
|
|
85
|
-
}) => any;
|
|
86
|
-
};
|
|
87
|
-
})>;
|
|
88
|
-
};
|
|
89
|
-
template: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
export default meta;
|
|
93
|
-
type Story = StoryObj<typeof meta>;
|
|
94
|
-
export declare const Default: Story;
|
|
95
|
-
export declare const FlatItems: Story;
|
|
96
|
-
export declare const WithBadges: Story;
|
|
97
|
-
export declare const NestedItems: Story;
|
|
98
|
-
export declare const NoIcons: Story;
|
|
99
|
-
export declare const ClickHandlers: Story;
|