@knitify/vue 0.0.9 → 2.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 +111 -0
- package/dist/index.es.js +4490 -221
- 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 +15 -0
- package/dist/types/components/Avatar/KAvatarGroup.vue.d.ts +11 -0
- package/dist/types/components/Avatar/types.d.ts +130 -0
- package/dist/types/components/Badge/types.d.ts +2 -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/KChatDivider.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatMessage.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatMessageActions.vue.d.ts +18 -0
- package/dist/types/components/Chat/KChatMessages.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatNotice.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 +140 -0
- package/dist/types/components/ChatDock/KChatDock.vue.d.ts +45 -0
- package/dist/types/components/ChatDock/KChatDockItem.vue.d.ts +11 -0
- package/dist/types/components/ChatDock/KChatDockPanel.vue.d.ts +11 -0
- package/dist/types/components/ChatDock/KChatWindow.vue.d.ts +27 -0
- package/dist/types/components/ChatDock/KMessenger.vue.d.ts +23 -0
- package/dist/types/components/ChatDock/keys.d.ts +98 -0
- package/dist/types/components/ChatDock/messenger-types.d.ts +280 -0
- package/dist/types/components/ChatDock/store-keys.d.ts +7 -0
- package/dist/types/components/ChatDock/types.d.ts +134 -0
- package/dist/types/components/ChatDock/useChatDock.d.ts +11 -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 +31 -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 +49 -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/Spinner/KSpinner.vue.d.ts +6 -0
- package/dist/types/components/Spinner/types.d.ts +13 -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 +56 -0
- package/dist/types/components/types.d.ts +31 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types.d.ts +1 -0
- package/dist/types/utils/useDocumentEvent.d.ts +19 -0
- package/dist/types/utils/useExclusive.d.ts +13 -0
- package/dist/types/utils/useTopmost.d.ts +17 -0
- package/dist/web-types.json +5107 -0
- package/package.json +22 -6
- 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
package/package.json
CHANGED
|
@@ -1,29 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knitify/vue",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Vue 3 components for Knitify, the core UI library of the Knitware ecosystem.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"keywords": [],
|
|
8
8
|
"main": "dist/index.umd.js",
|
|
9
9
|
"module": "dist/index.es.js",
|
|
10
10
|
"types": "dist/types/index.d.ts",
|
|
11
|
+
"web-types": "./dist/web-types.json",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/index.es.js",
|
|
16
|
+
"require": "./dist/index.umd.js"
|
|
17
|
+
},
|
|
18
|
+
"./dist/web-types.json": "./dist/web-types.json",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
11
21
|
"files": [
|
|
12
22
|
"dist"
|
|
13
23
|
],
|
|
14
24
|
"devDependencies": {
|
|
15
25
|
"@storybook/vue3-vite": "^10.4.0",
|
|
16
26
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
27
|
+
"npm-run-all": "^4.1.5",
|
|
17
28
|
"storybook": "^10.4.0",
|
|
18
29
|
"typescript": "^5.9.3",
|
|
19
30
|
"vite": "^7.3.1",
|
|
20
31
|
"vue": "^3.5.12",
|
|
32
|
+
"vue-component-meta": "^3.3.11",
|
|
21
33
|
"vue-router": "^4.0.3",
|
|
22
34
|
"vue-tsc": "^3.2.5",
|
|
23
|
-
"@knitify/core": "
|
|
35
|
+
"@knitify/core": "2.0.0"
|
|
24
36
|
},
|
|
25
37
|
"peerDependencies": {
|
|
26
|
-
"@knitify/core": "^
|
|
38
|
+
"@knitify/core": "^2.0.0",
|
|
27
39
|
"vue": "^3.5.12",
|
|
28
40
|
"vue-router": "^4.0.3"
|
|
29
41
|
},
|
|
@@ -33,8 +45,12 @@
|
|
|
33
45
|
"scripts": {
|
|
34
46
|
"dev": "vite --mode development",
|
|
35
47
|
"build": "vite build",
|
|
36
|
-
"compile": "vite build && vue-tsc --declaration --emitDeclarationOnly",
|
|
48
|
+
"compile": "vite build && vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly && npm run build:web-types",
|
|
49
|
+
"compile:watch": "npm-run-all --parallel compile:watch:js compile:watch:dts",
|
|
50
|
+
"compile:watch:js": "vite build --watch",
|
|
51
|
+
"compile:watch:dts": "vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --watch",
|
|
37
52
|
"storybook": "storybook dev -p 6006",
|
|
38
|
-
"storybook:build": "storybook build"
|
|
53
|
+
"storybook:build": "storybook build",
|
|
54
|
+
"build:web-types": "node scripts/build-web-types.mjs"
|
|
39
55
|
}
|
|
40
56
|
}
|
|
@@ -1,104 +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("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
-
__isFragment?: never;
|
|
14
|
-
__isTeleport?: never;
|
|
15
|
-
__isSuspense?: never;
|
|
16
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../components/Badge/types.js").KBadgeProps> & 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 () => {
|
|
17
|
-
$slots: {
|
|
18
|
-
default?: (props: {}) => any;
|
|
19
|
-
};
|
|
20
|
-
});
|
|
21
|
-
tags: string[];
|
|
22
|
-
argTypes: {
|
|
23
|
-
variant: {
|
|
24
|
-
control: "select";
|
|
25
|
-
options: string[];
|
|
26
|
-
};
|
|
27
|
-
size: {
|
|
28
|
-
control: "select";
|
|
29
|
-
options: string[];
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
render: (args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
33
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
34
|
-
P: {};
|
|
35
|
-
B: {};
|
|
36
|
-
D: {};
|
|
37
|
-
C: {};
|
|
38
|
-
M: {};
|
|
39
|
-
Defaults: {};
|
|
40
|
-
}, Readonly<import("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
41
|
-
__isFragment?: never;
|
|
42
|
-
__isTeleport?: never;
|
|
43
|
-
__isSuspense?: never;
|
|
44
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../components/Badge/types.js").KBadgeProps> & 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 () => {
|
|
45
|
-
$slots: {
|
|
46
|
-
default?: (props: {}) => any;
|
|
47
|
-
};
|
|
48
|
-
})>) => {
|
|
49
|
-
components: {
|
|
50
|
-
KBadge: {
|
|
51
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
52
|
-
P: {};
|
|
53
|
-
B: {};
|
|
54
|
-
D: {};
|
|
55
|
-
C: {};
|
|
56
|
-
M: {};
|
|
57
|
-
Defaults: {};
|
|
58
|
-
}, Readonly<import("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
59
|
-
__isFragment?: never;
|
|
60
|
-
__isTeleport?: never;
|
|
61
|
-
__isSuspense?: never;
|
|
62
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../components/Badge/types.js").KBadgeProps> & 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
|
-
$slots: {
|
|
64
|
-
default?: (props: {}) => any;
|
|
65
|
-
};
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
setup(this: void): {
|
|
69
|
-
args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
70
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/Badge/types.js").KBadgeProps> & 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("../components/Badge/types.js").KBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
78
|
-
__isFragment?: never;
|
|
79
|
-
__isTeleport?: never;
|
|
80
|
-
__isSuspense?: never;
|
|
81
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../components/Badge/types.js").KBadgeProps> & 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
|
-
default?: (props: {}) => any;
|
|
84
|
-
};
|
|
85
|
-
})>;
|
|
86
|
-
};
|
|
87
|
-
template: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
export default meta;
|
|
91
|
-
type Story = StoryObj<typeof meta>;
|
|
92
|
-
export declare const Default: Story;
|
|
93
|
-
export declare const Brand: Story;
|
|
94
|
-
export declare const Success: Story;
|
|
95
|
-
export declare const Info: Story;
|
|
96
|
-
export declare const Attention: Story;
|
|
97
|
-
export declare const Danger: Story;
|
|
98
|
-
export declare const Pill: Story;
|
|
99
|
-
export declare const Subtle: Story;
|
|
100
|
-
export declare const SubtlePill: Story;
|
|
101
|
-
export declare const Small: Story;
|
|
102
|
-
export declare const Large: Story;
|
|
103
|
-
export declare const AllVariants: Story;
|
|
104
|
-
export declare const AllVariantsSubtle: Story;
|
|
@@ -1,117 +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").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
-
__isFragment?: never;
|
|
14
|
-
__isTeleport?: never;
|
|
15
|
-
__isSuspense?: never;
|
|
16
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KButtonProps> & 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 () => {
|
|
17
|
-
$slots: import("../index.js").KButtonSlots;
|
|
18
|
-
});
|
|
19
|
-
tags: string[];
|
|
20
|
-
argTypes: {
|
|
21
|
-
variant: {
|
|
22
|
-
control: "select";
|
|
23
|
-
options: string[];
|
|
24
|
-
};
|
|
25
|
-
type: {
|
|
26
|
-
control: "select";
|
|
27
|
-
options: string[];
|
|
28
|
-
};
|
|
29
|
-
outline: {
|
|
30
|
-
control: "boolean";
|
|
31
|
-
};
|
|
32
|
-
ghost: {
|
|
33
|
-
control: "boolean";
|
|
34
|
-
};
|
|
35
|
-
rounded: {
|
|
36
|
-
control: "boolean";
|
|
37
|
-
};
|
|
38
|
-
expanded: {
|
|
39
|
-
control: "boolean";
|
|
40
|
-
};
|
|
41
|
-
disabled: {
|
|
42
|
-
control: "boolean";
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
render: (args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
46
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
47
|
-
P: {};
|
|
48
|
-
B: {};
|
|
49
|
-
D: {};
|
|
50
|
-
C: {};
|
|
51
|
-
M: {};
|
|
52
|
-
Defaults: {};
|
|
53
|
-
}, Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
54
|
-
__isFragment?: never;
|
|
55
|
-
__isTeleport?: never;
|
|
56
|
-
__isSuspense?: never;
|
|
57
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KButtonProps> & 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 () => {
|
|
58
|
-
$slots: import("../index.js").KButtonSlots;
|
|
59
|
-
})>) => {
|
|
60
|
-
components: {
|
|
61
|
-
KButton: {
|
|
62
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
63
|
-
P: {};
|
|
64
|
-
B: {};
|
|
65
|
-
D: {};
|
|
66
|
-
C: {};
|
|
67
|
-
M: {};
|
|
68
|
-
Defaults: {};
|
|
69
|
-
}, Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
70
|
-
__isFragment?: never;
|
|
71
|
-
__isTeleport?: never;
|
|
72
|
-
__isSuspense?: never;
|
|
73
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KButtonProps> & 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 () => {
|
|
74
|
-
$slots: import("../index.js").KButtonSlots;
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
setup(this: void): {
|
|
78
|
-
args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
79
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
80
|
-
P: {};
|
|
81
|
-
B: {};
|
|
82
|
-
D: {};
|
|
83
|
-
C: {};
|
|
84
|
-
M: {};
|
|
85
|
-
Defaults: {};
|
|
86
|
-
}, Readonly<import("../index.js").KButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
87
|
-
__isFragment?: never;
|
|
88
|
-
__isTeleport?: never;
|
|
89
|
-
__isSuspense?: never;
|
|
90
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KButtonProps> & 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 () => {
|
|
91
|
-
$slots: import("../index.js").KButtonSlots;
|
|
92
|
-
})>;
|
|
93
|
-
};
|
|
94
|
-
template: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
export default meta;
|
|
98
|
-
type Story = StoryObj<typeof meta>;
|
|
99
|
-
export declare const Default: Story;
|
|
100
|
-
export declare const Brand: Story;
|
|
101
|
-
export declare const Success: Story;
|
|
102
|
-
export declare const Info: Story;
|
|
103
|
-
export declare const Attention: Story;
|
|
104
|
-
export declare const Danger: Story;
|
|
105
|
-
export declare const Outline: Story;
|
|
106
|
-
export declare const OutlineBrand: Story;
|
|
107
|
-
export declare const Ghost: Story;
|
|
108
|
-
export declare const GhostBrand: Story;
|
|
109
|
-
export declare const Rounded: Story;
|
|
110
|
-
export declare const Expanded: Story;
|
|
111
|
-
export declare const Disabled: Story;
|
|
112
|
-
export declare const AsLink: Story;
|
|
113
|
-
export declare const AsRouterLink: Story;
|
|
114
|
-
export declare const AllVariants: Story;
|
|
115
|
-
export declare const AllVariantsOutline: Story;
|
|
116
|
-
export declare const AllVariantsGhost: Story;
|
|
117
|
-
export declare const AllStyles: Story;
|
|
@@ -1,84 +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").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
-
__isFragment?: never;
|
|
14
|
-
__isTeleport?: never;
|
|
15
|
-
__isSuspense?: never;
|
|
16
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KContainerProps> & 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 () => {
|
|
17
|
-
$slots: {
|
|
18
|
-
default?: (props: {}) => any;
|
|
19
|
-
};
|
|
20
|
-
});
|
|
21
|
-
tags: string[];
|
|
22
|
-
render: (args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
23
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
24
|
-
P: {};
|
|
25
|
-
B: {};
|
|
26
|
-
D: {};
|
|
27
|
-
C: {};
|
|
28
|
-
M: {};
|
|
29
|
-
Defaults: {};
|
|
30
|
-
}, Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
31
|
-
__isFragment?: never;
|
|
32
|
-
__isTeleport?: never;
|
|
33
|
-
__isSuspense?: never;
|
|
34
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KContainerProps> & 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 () => {
|
|
35
|
-
$slots: {
|
|
36
|
-
default?: (props: {}) => any;
|
|
37
|
-
};
|
|
38
|
-
})>) => {
|
|
39
|
-
components: {
|
|
40
|
-
KContainer: {
|
|
41
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
42
|
-
P: {};
|
|
43
|
-
B: {};
|
|
44
|
-
D: {};
|
|
45
|
-
C: {};
|
|
46
|
-
M: {};
|
|
47
|
-
Defaults: {};
|
|
48
|
-
}, Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
49
|
-
__isFragment?: never;
|
|
50
|
-
__isTeleport?: never;
|
|
51
|
-
__isSuspense?: never;
|
|
52
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KContainerProps> & 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 () => {
|
|
53
|
-
$slots: {
|
|
54
|
-
default?: (props: {}) => any;
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
setup(this: void): {
|
|
59
|
-
args: import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
60
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
61
|
-
P: {};
|
|
62
|
-
B: {};
|
|
63
|
-
D: {};
|
|
64
|
-
C: {};
|
|
65
|
-
M: {};
|
|
66
|
-
Defaults: {};
|
|
67
|
-
}, Readonly<import("../index.js").KContainerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
68
|
-
__isFragment?: never;
|
|
69
|
-
__isTeleport?: never;
|
|
70
|
-
__isSuspense?: never;
|
|
71
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../index.js").KContainerProps> & 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 () => {
|
|
72
|
-
$slots: {
|
|
73
|
-
default?: (props: {}) => any;
|
|
74
|
-
};
|
|
75
|
-
})>;
|
|
76
|
-
};
|
|
77
|
-
template: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export default meta;
|
|
81
|
-
type Story = StoryObj<typeof meta>;
|
|
82
|
-
export declare const Default: Story;
|
|
83
|
-
export declare const Glassy: Story;
|
|
84
|
-
export declare const WithRichContent: Story;
|
|
@@ -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;
|