@dronico/droni-kit 1.9.1 → 1.10.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/CHANGELOG.md +8 -0
- package/dist/droni-kit.cjs.js +26 -26
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +637 -352
- package/dist/index.d.ts +3 -2
- package/dist/stories/Widgets/DuiNavbar.stories.d.ts +65 -0
- package/dist/stories/Widgets/DuiNavbar.vue.d.ts +32 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as DuiButton } from './stories/Forms/DuiButton.vue';
|
|
2
2
|
import { default as DuiInput } from './stories/Forms/DuiInput.vue';
|
|
3
3
|
import { default as DuiTextarea } from './stories/Forms/DuiTextarea.vue';
|
|
4
|
-
import { default as DuiAction } from './stories/Elements/DuiAction.vue';
|
|
5
4
|
import { default as DuiSelect } from './stories/Forms/DuiSelect.vue';
|
|
6
5
|
import { default as DuiAlert } from './stories/Elements/DuiAlert.vue';
|
|
7
6
|
import { default as DuiTable } from './stories/Elements/DuiTable.vue';
|
|
8
|
-
|
|
7
|
+
import { default as DuiAction } from './stories/Elements/DuiAction.vue';
|
|
8
|
+
import { default as DuiNavbar } from './stories/Widgets/DuiNavbar.vue';
|
|
9
|
+
export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiSelect, DuiAlert, DuiTable, DuiNavbar };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DuiNavbar.vue').DuiNavbarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
6
|
+
size: "s" | "m" | "l";
|
|
7
|
+
items: import('./DuiNavbar.vue').NavbarItem[];
|
|
8
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<import('./DuiNavbar.vue').DuiNavbarProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
16
|
+
size: "s" | "m" | "l";
|
|
17
|
+
items: import('./DuiNavbar.vue').NavbarItem[];
|
|
18
|
+
}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./DuiNavbar.vue').DuiNavbarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
23
|
+
size: "s" | "m" | "l";
|
|
24
|
+
items: import('./DuiNavbar.vue').NavbarItem[];
|
|
25
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
26
|
+
$slots: {
|
|
27
|
+
brand?(_: {}): any;
|
|
28
|
+
actions?(_: {}): any;
|
|
29
|
+
actions?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
tags: string[];
|
|
33
|
+
argTypes: {
|
|
34
|
+
size: {
|
|
35
|
+
control: {
|
|
36
|
+
type: "select";
|
|
37
|
+
};
|
|
38
|
+
options: string[];
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
items: {
|
|
42
|
+
control: {
|
|
43
|
+
type: "object";
|
|
44
|
+
};
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
parameters: {
|
|
49
|
+
docs: {
|
|
50
|
+
description: {
|
|
51
|
+
component: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const SmallSize: Story;
|
|
60
|
+
export declare const LargeSize: Story;
|
|
61
|
+
export declare const SimpleNavbar: Story;
|
|
62
|
+
export declare const DarkMode: Story;
|
|
63
|
+
export declare const MobileView: Story;
|
|
64
|
+
export declare const WithoutIcons: Story;
|
|
65
|
+
export declare const MinimalNavbar: Story;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface NavbarItem {
|
|
2
|
+
label: string;
|
|
3
|
+
to?: string | object;
|
|
4
|
+
icon?: string;
|
|
5
|
+
children?: NavbarItem[];
|
|
6
|
+
}
|
|
7
|
+
export interface DuiNavbarProps {
|
|
8
|
+
items?: NavbarItem[];
|
|
9
|
+
size?: 's' | 'm' | 'l';
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
brand?(_: {}): any;
|
|
15
|
+
actions?(_: {}): any;
|
|
16
|
+
actions?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<DuiNavbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DuiNavbarProps> & Readonly<{}>, {
|
|
23
|
+
size: "s" | "m" | "l";
|
|
24
|
+
items: NavbarItem[];
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|