@dronico/droni-kit 1.15.0 → 1.17.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/droni-kit.cjs.js +9 -9
  3. package/dist/droni-kit.css +1 -1
  4. package/dist/droni-kit.es.js +734 -466
  5. package/dist/index.d.ts +2 -1
  6. package/dist/stories/Elements/DuiAccordion.stories.d.ts +104 -0
  7. package/dist/stories/Elements/DuiAccordion.vue.d.ts +44 -0
  8. package/dist/stories/Elements/DuiBadge.stories.d.ts +124 -0
  9. package/dist/stories/Elements/DuiBadge.vue.d.ts +41 -0
  10. package/dist/stories/Elements/DuiDropdown.stories.d.ts +131 -0
  11. package/dist/stories/Elements/DuiDropdown.vue.d.ts +51 -0
  12. package/dist/stories/Elements/DuiDropdownItem.vue.d.ts +40 -0
  13. package/dist/stories/Elements/DuiDropdownSeparator.vue.d.ts +2 -0
  14. package/dist/stories/Elements/DuiEmptyState.stories.d.ts +99 -0
  15. package/dist/stories/Elements/DuiEmptyState.vue.d.ts +34 -0
  16. package/dist/stories/Elements/DuiPagination.stories.d.ts +98 -0
  17. package/dist/stories/Elements/DuiPagination.vue.d.ts +35 -0
  18. package/dist/stories/Elements/DuiSkeleton.stories.d.ts +54 -0
  19. package/dist/stories/Elements/DuiSkeleton.vue.d.ts +13 -0
  20. package/dist/stories/Elements/DuiTabs.stories.d.ts +95 -0
  21. package/dist/stories/Elements/DuiTabs.vue.d.ts +43 -0
  22. package/dist/stories/Elements/DuiToast.stories.d.ts +44 -0
  23. package/dist/stories/Elements/DuiToast.vue.d.ts +12 -0
  24. package/dist/stories/Elements/DuiTooltip.stories.d.ts +221 -0
  25. package/dist/stories/Elements/DuiTooltip.vue.d.ts +82 -0
  26. package/dist/stories/Elements/useToast.d.ts +41 -0
  27. package/dist/stories/Forms/DuiRadio.stories.d.ts +70 -0
  28. package/dist/stories/Forms/DuiRadio.vue.d.ts +34 -0
  29. package/dist/stories/Forms/DuiSwitch.stories.d.ts +252 -0
  30. package/dist/stories/Forms/DuiSwitch.vue.d.ts +108 -0
  31. package/package.json +1 -1
@@ -0,0 +1,34 @@
1
+ export interface DuiEmptyStateProps {
2
+ title?: string;
3
+ description?: string;
4
+ illustration?: string;
5
+ variant?: 'default' | 'bordered' | 'dashed';
6
+ size?: 'sm' | 'md' | 'lg';
7
+ align?: 'center' | 'left';
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ illustration?(_: {}): any;
13
+ description?(_: {}): any;
14
+ actions?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<DuiEmptyStateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DuiEmptyStateProps> & Readonly<{}>, {
21
+ variant: "default" | "bordered" | "dashed";
22
+ size: "sm" | "md" | "lg";
23
+ title: string;
24
+ description: string;
25
+ align: "center" | "left";
26
+ illustration: string;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,98 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('vue').DefineComponent<import('./DuiPagination.vue').DuiPaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ "update:modelValue": (page: number) => any;
6
+ change: (page: number) => any;
7
+ }, string, import('vue').PublicProps, Readonly<import('./DuiPagination.vue').DuiPaginationProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((page: number) => any) | undefined;
9
+ onChange?: ((page: number) => any) | undefined;
10
+ }>, {
11
+ variant: "solid" | "outline" | "ghost";
12
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
13
+ size: "sm" | "md" | "lg";
14
+ rounded: "full" | "md" | "none";
15
+ ariaLabel: string;
16
+ perPage: number;
17
+ siblingCount: number;
18
+ showBoundary: boolean;
19
+ showLabels: boolean;
20
+ prevLabel: string;
21
+ nextLabel: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
23
+ tags: string[];
24
+ argTypes: {
25
+ modelValue: {
26
+ control: {
27
+ type: "number";
28
+ };
29
+ description: string;
30
+ };
31
+ total: {
32
+ control: {
33
+ type: "number";
34
+ };
35
+ description: string;
36
+ };
37
+ perPage: {
38
+ control: {
39
+ type: "number";
40
+ };
41
+ description: string;
42
+ };
43
+ siblingCount: {
44
+ control: {
45
+ type: "number";
46
+ };
47
+ description: string;
48
+ };
49
+ color: {
50
+ control: {
51
+ type: "select";
52
+ };
53
+ options: string[];
54
+ description: string;
55
+ };
56
+ variant: {
57
+ control: {
58
+ type: "select";
59
+ };
60
+ options: string[];
61
+ description: string;
62
+ };
63
+ size: {
64
+ control: {
65
+ type: "select";
66
+ };
67
+ options: string[];
68
+ description: string;
69
+ };
70
+ rounded: {
71
+ control: {
72
+ type: "select";
73
+ };
74
+ options: string[];
75
+ description: string;
76
+ };
77
+ showLabels: {
78
+ control: {
79
+ type: "boolean";
80
+ };
81
+ description: string;
82
+ };
83
+ };
84
+ parameters: {
85
+ docs: {
86
+ description: {
87
+ component: string;
88
+ };
89
+ };
90
+ };
91
+ };
92
+ export default meta;
93
+ type Story = StoryObj<typeof meta>;
94
+ export declare const Default: Story;
95
+ export declare const Variants: Story;
96
+ export declare const Colors: Story;
97
+ export declare const LargePagination: Story;
98
+ export declare const Sizes: Story;
@@ -0,0 +1,35 @@
1
+ export interface DuiPaginationProps {
2
+ modelValue: number;
3
+ total: number;
4
+ perPage?: number;
5
+ siblingCount?: number;
6
+ showBoundary?: boolean;
7
+ color?: 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
8
+ variant?: 'solid' | 'outline' | 'ghost';
9
+ size?: 'sm' | 'md' | 'lg';
10
+ rounded?: 'full' | 'md' | 'none';
11
+ showLabels?: boolean;
12
+ prevLabel?: string;
13
+ nextLabel?: string;
14
+ ariaLabel?: string;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<DuiPaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ "update:modelValue": (page: number) => any;
18
+ change: (page: number) => any;
19
+ }, string, import('vue').PublicProps, Readonly<DuiPaginationProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((page: number) => any) | undefined;
21
+ onChange?: ((page: number) => any) | undefined;
22
+ }>, {
23
+ variant: "solid" | "outline" | "ghost";
24
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
25
+ size: "sm" | "md" | "lg";
26
+ rounded: "full" | "md" | "none";
27
+ ariaLabel: string;
28
+ perPage: number;
29
+ siblingCount: number;
30
+ showBoundary: boolean;
31
+ showLabels: boolean;
32
+ prevLabel: string;
33
+ nextLabel: string;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
35
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('vue').DefineComponent<import('./DuiSkeleton.vue').DuiSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./DuiSkeleton.vue').DuiSkeletonProps> & Readonly<{}>, {
5
+ variant: "text" | "circular" | "rectangular" | "rounded";
6
+ animation: "pulse" | "wave" | "none";
7
+ width: string | number;
8
+ height: string | number;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
10
+ tags: string[];
11
+ argTypes: {
12
+ variant: {
13
+ control: {
14
+ type: "select";
15
+ };
16
+ options: string[];
17
+ description: string;
18
+ };
19
+ width: {
20
+ control: {
21
+ type: "text";
22
+ };
23
+ description: string;
24
+ };
25
+ height: {
26
+ control: {
27
+ type: "text";
28
+ };
29
+ description: string;
30
+ };
31
+ animation: {
32
+ control: {
33
+ type: "select";
34
+ };
35
+ options: string[];
36
+ description: string;
37
+ };
38
+ };
39
+ parameters: {
40
+ docs: {
41
+ description: {
42
+ component: string;
43
+ };
44
+ };
45
+ };
46
+ };
47
+ export default meta;
48
+ type Story = StoryObj<typeof meta>;
49
+ export declare const Default: Story;
50
+ export declare const Variants: Story;
51
+ export declare const CardSkeleton: Story;
52
+ export declare const ListSkeleton: Story;
53
+ export declare const TableSkeleton: Story;
54
+ export declare const LoadingToggle: Story;
@@ -0,0 +1,13 @@
1
+ export interface DuiSkeletonProps {
2
+ variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
3
+ width?: string | number;
4
+ height?: string | number;
5
+ animation?: 'pulse' | 'wave' | 'none';
6
+ }
7
+ declare const _default: import('vue').DefineComponent<DuiSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DuiSkeletonProps> & Readonly<{}>, {
8
+ variant: "text" | "circular" | "rectangular" | "rounded";
9
+ animation: "pulse" | "wave" | "none";
10
+ width: string | number;
11
+ height: string | number;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
13
+ export default _default;
@@ -0,0 +1,95 @@
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('./DuiTabs.vue').DuiTabsProps> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7
+ onChange?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ "update:modelValue": (value: string) => any;
10
+ change: (value: string) => any;
11
+ }, import('vue').PublicProps, {
12
+ variant: "underline" | "pills" | "boxed";
13
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
14
+ size: "sm" | "md" | "lg";
15
+ ariaLabel: string;
16
+ fullWidth: boolean;
17
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
18
+ P: {};
19
+ B: {};
20
+ D: {};
21
+ C: {};
22
+ M: {};
23
+ Defaults: {};
24
+ }, Readonly<import('./DuiTabs.vue').DuiTabsProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
26
+ onChange?: ((value: string) => any) | undefined;
27
+ }>, {}, {}, {}, {}, {
28
+ variant: "underline" | "pills" | "boxed";
29
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
30
+ size: "sm" | "md" | "lg";
31
+ ariaLabel: string;
32
+ fullWidth: boolean;
33
+ }>;
34
+ __isFragment?: never;
35
+ __isTeleport?: never;
36
+ __isSuspense?: never;
37
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DuiTabs.vue').DuiTabsProps> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
39
+ onChange?: ((value: string) => any) | undefined;
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
41
+ "update:modelValue": (value: string) => any;
42
+ change: (value: string) => any;
43
+ }, string, {
44
+ variant: "underline" | "pills" | "boxed";
45
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
46
+ size: "sm" | "md" | "lg";
47
+ ariaLabel: string;
48
+ fullWidth: boolean;
49
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
50
+ $slots: Partial<Record<string, (_: {}) => any>>;
51
+ });
52
+ tags: string[];
53
+ argTypes: {
54
+ variant: {
55
+ control: {
56
+ type: "select";
57
+ };
58
+ options: string[];
59
+ description: string;
60
+ };
61
+ color: {
62
+ control: {
63
+ type: "select";
64
+ };
65
+ options: string[];
66
+ description: string;
67
+ };
68
+ size: {
69
+ control: {
70
+ type: "select";
71
+ };
72
+ options: string[];
73
+ description: string;
74
+ };
75
+ fullWidth: {
76
+ control: {
77
+ type: "boolean";
78
+ };
79
+ description: string;
80
+ };
81
+ };
82
+ parameters: {
83
+ docs: {
84
+ description: {
85
+ component: string;
86
+ };
87
+ };
88
+ };
89
+ };
90
+ export default meta;
91
+ type Story = StoryObj<typeof meta>;
92
+ export declare const Default: Story;
93
+ export declare const Pills: Story;
94
+ export declare const Boxed: Story;
95
+ export declare const Colors: Story;
@@ -0,0 +1,43 @@
1
+ export interface DuiTab {
2
+ label: string;
3
+ value: string;
4
+ icon?: string;
5
+ badge?: number | string;
6
+ disabled?: boolean;
7
+ }
8
+ export interface DuiTabsProps {
9
+ modelValue: string;
10
+ tabs: DuiTab[];
11
+ variant?: 'underline' | 'pills' | 'boxed';
12
+ color?: 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
13
+ size?: 'sm' | 'md' | 'lg';
14
+ fullWidth?: boolean;
15
+ ariaLabel?: string;
16
+ }
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: Partial<Record<string, (_: {}) => any>>;
20
+ refs: {};
21
+ rootEl: HTMLDivElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<DuiTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
25
+ "update:modelValue": (value: string) => any;
26
+ change: (value: string) => any;
27
+ }, string, import('vue').PublicProps, Readonly<DuiTabsProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
+ onChange?: ((value: string) => any) | undefined;
30
+ }>, {
31
+ variant: "underline" | "pills" | "boxed";
32
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
33
+ size: "sm" | "md" | "lg";
34
+ ariaLabel: string;
35
+ fullWidth: boolean;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,44 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('vue').DefineComponent<import('./DuiToast.vue').DuiToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./DuiToast.vue').DuiToastProps> & Readonly<{}>, {
5
+ zIndex: number;
6
+ position: import('./useToast').ToastPosition;
7
+ maxToasts: number;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ tags: string[];
10
+ argTypes: {
11
+ position: {
12
+ control: {
13
+ type: "select";
14
+ };
15
+ options: string[];
16
+ description: string;
17
+ };
18
+ maxToasts: {
19
+ control: {
20
+ type: "number";
21
+ };
22
+ description: string;
23
+ };
24
+ zIndex: {
25
+ control: {
26
+ type: "number";
27
+ };
28
+ description: string;
29
+ };
30
+ };
31
+ parameters: {
32
+ docs: {
33
+ description: {
34
+ component: string;
35
+ };
36
+ };
37
+ };
38
+ };
39
+ export default meta;
40
+ type Story = StoryObj<typeof meta>;
41
+ export declare const Default: Story;
42
+ export declare const WithTitles: Story;
43
+ export declare const Persistent: Story;
44
+ export declare const AllColors: Story;
@@ -0,0 +1,12 @@
1
+ import { ToastPosition } from './useToast';
2
+ export interface DuiToastProps {
3
+ position?: ToastPosition;
4
+ maxToasts?: number;
5
+ zIndex?: number;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<DuiToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DuiToastProps> & Readonly<{}>, {
8
+ zIndex: number;
9
+ position: ToastPosition;
10
+ maxToasts: number;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -0,0 +1,221 @@
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('./DuiTooltip.vue').DuiTooltipProps> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
7
+ onOpen?: ((source: "click" | "focus" | "hover" | "manual") => any) | undefined;
8
+ onClose?: ((source: "click" | "focus" | "hover" | "manual" | "outside") => any) | undefined;
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ "update:modelValue": (value: boolean) => any;
11
+ open: (source: "click" | "focus" | "hover" | "manual") => any;
12
+ close: (source: "click" | "focus" | "hover" | "manual" | "outside") => any;
13
+ }, import('vue').PublicProps, {
14
+ variant: import('./DuiTooltip.vue').TooltipVariant;
15
+ color: import('./DuiTooltip.vue').TooltipColor;
16
+ size: import('./DuiTooltip.vue').TooltipSize;
17
+ disabled: boolean;
18
+ rounded: import('./DuiTooltip.vue').TooltipRounded;
19
+ text: string;
20
+ modelValue: boolean;
21
+ zIndex: number;
22
+ fallbackTriggerText: string;
23
+ trigger: import('./DuiTooltip.vue').TooltipTrigger;
24
+ placement: import('./DuiTooltip.vue').TooltipPlacement;
25
+ interactive: boolean;
26
+ arrow: boolean;
27
+ showDelay: number;
28
+ hideDelay: number;
29
+ offset: number;
30
+ flip: boolean;
31
+ viewportPadding: number;
32
+ maxWidth: "xs" | "sm" | "md" | "lg" | "full" | number | string;
33
+ teleportTo: string;
34
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
35
+ triggerRef: HTMLSpanElement;
36
+ tooltipRef: HTMLDivElement;
37
+ }, any, import('vue').ComponentProvideOptions, {
38
+ P: {};
39
+ B: {};
40
+ D: {};
41
+ C: {};
42
+ M: {};
43
+ Defaults: {};
44
+ }, Readonly<import('./DuiTooltip.vue').DuiTooltipProps> & Readonly<{
45
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
46
+ onOpen?: ((source: "click" | "focus" | "hover" | "manual") => any) | undefined;
47
+ onClose?: ((source: "click" | "focus" | "hover" | "manual" | "outside") => any) | undefined;
48
+ }>, {}, {}, {}, {}, {
49
+ variant: import('./DuiTooltip.vue').TooltipVariant;
50
+ color: import('./DuiTooltip.vue').TooltipColor;
51
+ size: import('./DuiTooltip.vue').TooltipSize;
52
+ disabled: boolean;
53
+ rounded: import('./DuiTooltip.vue').TooltipRounded;
54
+ text: string;
55
+ modelValue: boolean;
56
+ zIndex: number;
57
+ fallbackTriggerText: string;
58
+ trigger: import('./DuiTooltip.vue').TooltipTrigger;
59
+ placement: import('./DuiTooltip.vue').TooltipPlacement;
60
+ interactive: boolean;
61
+ arrow: boolean;
62
+ showDelay: number;
63
+ hideDelay: number;
64
+ offset: number;
65
+ flip: boolean;
66
+ viewportPadding: number;
67
+ maxWidth: "xs" | "sm" | "md" | "lg" | "full" | number | string;
68
+ teleportTo: string;
69
+ }>;
70
+ __isFragment?: never;
71
+ __isTeleport?: never;
72
+ __isSuspense?: never;
73
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DuiTooltip.vue').DuiTooltipProps> & Readonly<{
74
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
75
+ onOpen?: ((source: "click" | "focus" | "hover" | "manual") => any) | undefined;
76
+ onClose?: ((source: "click" | "focus" | "hover" | "manual" | "outside") => any) | undefined;
77
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
78
+ "update:modelValue": (value: boolean) => any;
79
+ open: (source: "click" | "focus" | "hover" | "manual") => any;
80
+ close: (source: "click" | "focus" | "hover" | "manual" | "outside") => any;
81
+ }, string, {
82
+ variant: import('./DuiTooltip.vue').TooltipVariant;
83
+ color: import('./DuiTooltip.vue').TooltipColor;
84
+ size: import('./DuiTooltip.vue').TooltipSize;
85
+ disabled: boolean;
86
+ rounded: import('./DuiTooltip.vue').TooltipRounded;
87
+ text: string;
88
+ modelValue: boolean;
89
+ zIndex: number;
90
+ fallbackTriggerText: string;
91
+ trigger: import('./DuiTooltip.vue').TooltipTrigger;
92
+ placement: import('./DuiTooltip.vue').TooltipPlacement;
93
+ interactive: boolean;
94
+ arrow: boolean;
95
+ showDelay: number;
96
+ hideDelay: number;
97
+ offset: number;
98
+ flip: boolean;
99
+ viewportPadding: number;
100
+ maxWidth: "xs" | "sm" | "md" | "lg" | "full" | number | string;
101
+ teleportTo: string;
102
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
103
+ $slots: {
104
+ trigger?(_: {}): any;
105
+ default?(_: {}): any;
106
+ content?(_: {}): any;
107
+ };
108
+ });
109
+ tags: string[];
110
+ argTypes: {
111
+ text: {
112
+ control: {
113
+ type: "text";
114
+ };
115
+ defaultValue: string;
116
+ };
117
+ trigger: {
118
+ control: {
119
+ type: "select";
120
+ };
121
+ options: string[];
122
+ defaultValue: string;
123
+ };
124
+ placement: {
125
+ control: {
126
+ type: "select";
127
+ };
128
+ options: string[];
129
+ defaultValue: string;
130
+ };
131
+ variant: {
132
+ control: {
133
+ type: "select";
134
+ };
135
+ options: string[];
136
+ defaultValue: string;
137
+ };
138
+ color: {
139
+ control: {
140
+ type: "select";
141
+ };
142
+ options: string[];
143
+ defaultValue: string;
144
+ };
145
+ size: {
146
+ control: {
147
+ type: "select";
148
+ };
149
+ options: string[];
150
+ defaultValue: string;
151
+ };
152
+ rounded: {
153
+ control: {
154
+ type: "select";
155
+ };
156
+ options: string[];
157
+ defaultValue: string;
158
+ };
159
+ showDelay: {
160
+ control: {
161
+ type: "number";
162
+ };
163
+ defaultValue: number;
164
+ };
165
+ hideDelay: {
166
+ control: {
167
+ type: "number";
168
+ };
169
+ defaultValue: number;
170
+ };
171
+ offset: {
172
+ control: {
173
+ type: "number";
174
+ };
175
+ defaultValue: number;
176
+ };
177
+ maxWidth: {
178
+ control: {
179
+ type: "select";
180
+ };
181
+ options: string[];
182
+ defaultValue: string;
183
+ };
184
+ interactive: {
185
+ control: {
186
+ type: "boolean";
187
+ };
188
+ defaultValue: boolean;
189
+ };
190
+ arrow: {
191
+ control: {
192
+ type: "boolean";
193
+ };
194
+ defaultValue: boolean;
195
+ };
196
+ disabled: {
197
+ control: {
198
+ type: "boolean";
199
+ };
200
+ defaultValue: boolean;
201
+ };
202
+ flip: {
203
+ control: {
204
+ type: "boolean";
205
+ };
206
+ defaultValue: boolean;
207
+ };
208
+ zIndex: {
209
+ control: {
210
+ type: "number";
211
+ };
212
+ defaultValue: number;
213
+ };
214
+ };
215
+ };
216
+ export default meta;
217
+ type Story = StoryObj<typeof meta>;
218
+ export declare const Default: Story;
219
+ export declare const RichContent: Story;
220
+ export declare const Placements: Story;
221
+ export declare const ManualControl: Story;