@velkymx/vibeui 0.5.3 → 0.6.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 (32) hide show
  1. package/README.md +34 -744
  2. package/dist/components/VibeAccordion.vue.d.ts +36 -5
  3. package/dist/components/VibeAlert.vue.d.ts +19 -2
  4. package/dist/components/VibeCarousel.vue.d.ts +47 -6
  5. package/dist/components/VibeCollapse.vue.d.ts +9 -4
  6. package/dist/components/VibeDropdown.vue.d.ts +32 -5
  7. package/dist/components/VibeFormCheckbox.vue.d.ts +29 -21
  8. package/dist/components/VibeFormDatepicker.vue.d.ts +3 -2
  9. package/dist/components/VibeFormInput.vue.d.ts +4 -3
  10. package/dist/components/VibeFormRadio.vue.d.ts +32 -24
  11. package/dist/components/VibeFormSelect.vue.d.ts +46 -38
  12. package/dist/components/VibeFormSpinbutton.vue.d.ts +9 -8
  13. package/dist/components/VibeFormSwitch.vue.d.ts +16 -8
  14. package/dist/components/VibeFormTextarea.vue.d.ts +36 -28
  15. package/dist/components/VibeFormWysiwyg.vue.d.ts +4 -3
  16. package/dist/components/VibeModal.vue.d.ts +36 -5
  17. package/dist/components/VibeNav.vue.d.ts +39 -40
  18. package/dist/components/VibeNavbar.vue.d.ts +9 -0
  19. package/dist/components/VibeNavbarNav.vue.d.ts +13 -1
  20. package/dist/components/VibeOffcanvas.vue.d.ts +37 -6
  21. package/dist/components/VibePopover.vue.d.ts +31 -5
  22. package/dist/components/VibeScrollspy.vue.d.ts +9 -3
  23. package/dist/components/VibeTabContent.vue.d.ts +13 -3
  24. package/dist/components/VibeToast.vue.d.ts +41 -6
  25. package/dist/components/VibeTooltip.vue.d.ts +31 -5
  26. package/dist/composables/useId.d.ts +5 -0
  27. package/dist/index.d.ts +1 -0
  28. package/dist/types.d.ts +1 -0
  29. package/dist/vibeui.css +1 -1
  30. package/dist/vibeui.es.js +2036 -1520
  31. package/dist/vibeui.umd.js +1 -1
  32. package/package.json +4 -4
@@ -1,26 +1,22 @@
1
- import { Tag, NavItem } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- item?(_: {
6
- item: NavItem;
7
- index: number;
8
- }): any;
1
+ import { NavItem } from '../types';
2
+ interface BootstrapTab {
3
+ show: () => void;
4
+ dispose: () => void;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ items: {
8
+ type: () => NavItem[];
9
+ required: true;
9
10
  };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
- tabs: {
11
+ pills: {
16
12
  type: BooleanConstructor;
17
13
  default: boolean;
18
14
  };
19
- pills: {
15
+ tabs: {
20
16
  type: BooleanConstructor;
21
17
  default: boolean;
22
18
  };
23
- fill: {
19
+ vertical: {
24
20
  type: BooleanConstructor;
25
21
  default: boolean;
26
22
  };
@@ -28,31 +24,38 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
28
24
  type: BooleanConstructor;
29
25
  default: boolean;
30
26
  };
31
- vertical: {
27
+ fill: {
32
28
  type: BooleanConstructor;
33
29
  default: boolean;
34
30
  };
35
31
  tag: {
36
- type: () => Tag | "ul";
32
+ type: StringConstructor;
37
33
  default: string;
38
34
  };
35
+ }>, {
36
+ bsInstances: Map<HTMLElement, BootstrapTab>;
37
+ refresh: () => Promise<void>;
38
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ "component-error": (...args: any[]) => void;
40
+ "item-click": (...args: any[]) => void;
41
+ show: (...args: any[]) => void;
42
+ shown: (...args: any[]) => void;
43
+ hide: (...args: any[]) => void;
44
+ hidden: (...args: any[]) => void;
45
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
46
  items: {
40
47
  type: () => NavItem[];
41
48
  required: true;
42
49
  };
43
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- "component-error": (...args: any[]) => void;
45
- "item-click": (...args: any[]) => void;
46
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- tabs: {
50
+ pills: {
48
51
  type: BooleanConstructor;
49
52
  default: boolean;
50
53
  };
51
- pills: {
54
+ tabs: {
52
55
  type: BooleanConstructor;
53
56
  default: boolean;
54
57
  };
55
- fill: {
58
+ vertical: {
56
59
  type: BooleanConstructor;
57
60
  default: boolean;
58
61
  };
@@ -60,33 +63,29 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
60
63
  type: BooleanConstructor;
61
64
  default: boolean;
62
65
  };
63
- vertical: {
66
+ fill: {
64
67
  type: BooleanConstructor;
65
68
  default: boolean;
66
69
  };
67
70
  tag: {
68
- type: () => Tag | "ul";
71
+ type: StringConstructor;
69
72
  default: string;
70
73
  };
71
- items: {
72
- type: () => NavItem[];
73
- required: true;
74
- };
75
74
  }>> & Readonly<{
76
75
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
77
76
  "onItem-click"?: ((...args: any[]) => any) | undefined;
77
+ onShow?: ((...args: any[]) => any) | undefined;
78
+ onShown?: ((...args: any[]) => any) | undefined;
79
+ onHide?: ((...args: any[]) => any) | undefined;
80
+ onHidden?: ((...args: any[]) => any) | undefined;
78
81
  }>, {
79
82
  fill: boolean;
80
- tag: "ul" | Tag;
83
+ tag: string;
81
84
  vertical: boolean;
82
- tabs: boolean;
83
85
  pills: boolean;
86
+ tabs: boolean;
84
87
  justified: boolean;
85
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
86
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
88
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
89
+ navRef: unknown;
90
+ }, any>;
87
91
  export default _default;
88
- type __VLS_WithTemplateSlots<T, S> = T & {
89
- new (): {
90
- $slots: S;
91
- };
92
- };
@@ -14,6 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
14
14
  type: () => Variant | "dark" | "light";
15
15
  default: string;
16
16
  };
17
+ theme: {
18
+ type: () => "dark" | "light";
19
+ default: undefined;
20
+ };
17
21
  expand: {
18
22
  type: (StringConstructor | BooleanConstructor)[];
19
23
  default: string;
@@ -37,6 +41,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
37
41
  type: () => Variant | "dark" | "light";
38
42
  default: string;
39
43
  };
44
+ theme: {
45
+ type: () => "dark" | "light";
46
+ default: undefined;
47
+ };
40
48
  expand: {
41
49
  type: (StringConstructor | BooleanConstructor)[];
42
50
  default: string;
@@ -59,6 +67,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
59
67
  variant: Variant;
60
68
  tag: Tag;
61
69
  container: string | boolean;
70
+ theme: "light" | "dark";
62
71
  expand: string | boolean;
63
72
  position: NavbarPosition;
64
73
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { NavItem } from '../types';
1
+ import { NavItem, DropdownItem } from '../types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -6,6 +6,16 @@ declare function __VLS_template(): {
6
6
  item: NavItem;
7
7
  index: number;
8
8
  }): any;
9
+ item?(_: {
10
+ item: NavItem;
11
+ index: number;
12
+ }): any;
13
+ 'dropdown-item'?(_: {
14
+ item: NavItem;
15
+ child: DropdownItem;
16
+ index: number;
17
+ childIndex: number;
18
+ }): any;
9
19
  default?(_: {}): any;
10
20
  };
11
21
  refs: {};
@@ -24,6 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
24
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
35
  "component-error": (...args: any[]) => void;
26
36
  "item-click": (...args: any[]) => void;
37
+ "dropdown-item-click": (...args: any[]) => void;
27
38
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
39
  tag: {
29
40
  type: StringConstructor;
@@ -36,6 +47,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
36
47
  }>> & Readonly<{
37
48
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
38
49
  "onItem-click"?: ((...args: any[]) => any) | undefined;
50
+ "onDropdown-item-click"?: ((...args: any[]) => any) | undefined;
39
51
  }>, {
40
52
  tag: string;
41
53
  items: NavItem[];
@@ -1,18 +1,25 @@
1
1
  import { OffcanvasPlacement } from '../types';
2
+ interface BootstrapOffcanvas {
3
+ show: () => void;
4
+ hide: () => void;
5
+ dispose: () => void;
6
+ }
2
7
  declare function __VLS_template(): {
3
8
  attrs: Partial<{}>;
4
9
  slots: {
5
10
  header?(_: {}): any;
6
11
  default?(_: {}): any;
7
12
  };
8
- refs: {};
9
- rootEl: HTMLDivElement;
13
+ refs: {
14
+ offcanvasRef: HTMLDivElement;
15
+ };
16
+ rootEl: any;
10
17
  };
11
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
19
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
20
  id: {
14
21
  type: StringConstructor;
15
- required: true;
22
+ default: () => string;
16
23
  };
17
24
  modelValue: {
18
25
  type: BooleanConstructor;
@@ -34,7 +41,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
34
41
  type: BooleanConstructor;
35
42
  default: boolean;
36
43
  };
37
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ teleport: {
45
+ type: (StringConstructor | BooleanConstructor)[];
46
+ default: string;
47
+ };
48
+ }>, {
49
+ show: () => void | undefined;
50
+ hide: () => void | undefined;
51
+ bsInstance: import('vue').Ref<{
52
+ show: () => void;
53
+ hide: () => void;
54
+ dispose: () => void;
55
+ } | null, BootstrapOffcanvas | {
56
+ show: () => void;
57
+ hide: () => void;
58
+ dispose: () => void;
59
+ } | null>;
60
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
61
  "update:modelValue": (...args: any[]) => void;
39
62
  "component-error": (...args: any[]) => void;
40
63
  show: (...args: any[]) => void;
@@ -44,7 +67,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
44
67
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
68
  id: {
46
69
  type: StringConstructor;
47
- required: true;
70
+ default: () => string;
48
71
  };
49
72
  modelValue: {
50
73
  type: BooleanConstructor;
@@ -66,6 +89,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
66
89
  type: BooleanConstructor;
67
90
  default: boolean;
68
91
  };
92
+ teleport: {
93
+ type: (StringConstructor | BooleanConstructor)[];
94
+ default: string;
95
+ };
69
96
  }>> & Readonly<{
70
97
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
98
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
@@ -77,9 +104,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
77
104
  modelValue: boolean;
78
105
  scroll: boolean;
79
106
  title: string;
107
+ id: string;
108
+ teleport: string | boolean;
80
109
  placement: OffcanvasPlacement;
81
110
  backdrop: string | boolean;
82
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
111
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
112
+ offcanvasRef: HTMLDivElement;
113
+ }, any>;
83
114
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
84
115
  export default _default;
85
116
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,16 @@
1
1
  import { Placement } from '../types';
2
+ interface BootstrapPopover {
3
+ dispose: () => void;
4
+ setContent: (content: object) => void;
5
+ }
2
6
  declare function __VLS_template(): {
3
7
  attrs: Partial<{}>;
4
8
  slots: {
5
9
  default?(_: {}): any;
6
10
  };
7
- refs: {};
11
+ refs: {
12
+ popoverRef: HTMLSpanElement;
13
+ };
8
14
  rootEl: HTMLSpanElement;
9
15
  };
10
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -15,7 +21,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
15
21
  };
16
22
  content: {
17
23
  type: StringConstructor;
18
- required: true;
24
+ default: undefined;
25
+ };
26
+ text: {
27
+ type: StringConstructor;
28
+ default: undefined;
19
29
  };
20
30
  placement: {
21
31
  type: () => Placement;
@@ -29,7 +39,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
29
39
  type: BooleanConstructor;
30
40
  default: boolean;
31
41
  };
32
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ }>, {
43
+ bsInstance: import('vue').Ref<{
44
+ dispose: () => void;
45
+ setContent: (content: object) => void;
46
+ } | null, BootstrapPopover | {
47
+ dispose: () => void;
48
+ setContent: (content: object) => void;
49
+ } | null>;
50
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
51
  "component-error": (...args: any[]) => void;
34
52
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
53
  title: {
@@ -38,7 +56,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
38
56
  };
39
57
  content: {
40
58
  type: StringConstructor;
41
- required: true;
59
+ default: undefined;
60
+ };
61
+ text: {
62
+ type: StringConstructor;
63
+ default: undefined;
42
64
  };
43
65
  placement: {
44
66
  type: () => Placement;
@@ -57,9 +79,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
79
  }>, {
58
80
  html: boolean;
59
81
  title: string;
82
+ text: string;
60
83
  placement: Placement;
84
+ content: string;
61
85
  trigger: string;
62
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
86
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
87
+ popoverRef: HTMLSpanElement;
88
+ }, HTMLSpanElement>;
63
89
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
90
  export default _default;
65
91
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -4,7 +4,9 @@ declare function __VLS_template(): {
4
4
  slots: {
5
5
  default?(_: {}): any;
6
6
  };
7
- refs: {};
7
+ refs: {
8
+ scrollspyRef: unknown;
9
+ };
8
10
  rootEl: any;
9
11
  };
10
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -29,7 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
29
31
  type: () => Tag;
30
32
  default: string;
31
33
  };
32
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ }>, {
35
+ refresh: () => void;
36
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
37
  "component-error": (...args: any[]) => void;
34
38
  activate: (...args: any[]) => void;
35
39
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -61,7 +65,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
61
65
  offset: number;
62
66
  method: string;
63
67
  smoothScroll: boolean;
64
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
69
+ scrollspyRef: unknown;
70
+ }, any>;
65
71
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
72
  export default _default;
67
73
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -8,7 +8,9 @@ declare function __VLS_template(): {
8
8
  index: number;
9
9
  }): any;
10
10
  };
11
- refs: {};
11
+ refs: {
12
+ tabContentRef: unknown;
13
+ };
12
14
  rootEl: any;
13
15
  };
14
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -31,6 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
33
  };
32
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
35
  "component-error": (...args: any[]) => void;
36
+ shown: (...args: any[]) => void;
37
+ hide: (...args: any[]) => void;
38
+ hidden: (...args: any[]) => void;
34
39
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
40
  id: {
36
41
  type: StringConstructor;
@@ -50,11 +55,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
50
55
  };
51
56
  }>> & Readonly<{
52
57
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
58
+ onShown?: ((...args: any[]) => any) | undefined;
59
+ onHide?: ((...args: any[]) => any) | undefined;
60
+ onHidden?: ((...args: any[]) => any) | undefined;
53
61
  }>, {
62
+ fade: boolean;
54
63
  tag: Tag;
55
64
  id: string;
56
- fade: boolean;
57
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
65
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
66
+ tabContentRef: unknown;
67
+ }, any>;
58
68
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
69
  export default _default;
60
70
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,4 +1,9 @@
1
- import { Variant } from '../types';
1
+ import { Variant, ToastPlacement } from '../types';
2
+ interface BootstrapToast {
3
+ show: () => void;
4
+ hide: () => void;
5
+ dispose: () => void;
6
+ }
2
7
  declare function __VLS_template(): {
3
8
  attrs: Partial<{}>;
4
9
  slots: {
@@ -8,13 +13,13 @@ declare function __VLS_template(): {
8
13
  refs: {
9
14
  toastRef: HTMLDivElement;
10
15
  };
11
- rootEl: HTMLDivElement;
16
+ rootEl: any;
12
17
  };
13
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
19
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
20
  id: {
16
21
  type: StringConstructor;
17
- default: undefined;
22
+ default: () => string;
18
23
  };
19
24
  modelValue: {
20
25
  type: BooleanConstructor;
@@ -36,7 +41,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
36
41
  type: NumberConstructor;
37
42
  default: number;
38
43
  };
39
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ teleport: {
45
+ type: (StringConstructor | BooleanConstructor)[];
46
+ default: string;
47
+ };
48
+ placement: {
49
+ type: () => ToastPlacement;
50
+ default: string;
51
+ };
52
+ }>, {
53
+ show: () => void | undefined;
54
+ hide: () => void | undefined;
55
+ bsInstance: import('vue').Ref<{
56
+ show: () => void;
57
+ hide: () => void;
58
+ dispose: () => void;
59
+ } | null, BootstrapToast | {
60
+ show: () => void;
61
+ hide: () => void;
62
+ dispose: () => void;
63
+ } | null>;
64
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
65
  "update:modelValue": (...args: any[]) => void;
41
66
  "component-error": (...args: any[]) => void;
42
67
  show: (...args: any[]) => void;
@@ -46,7 +71,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
46
71
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
72
  id: {
48
73
  type: StringConstructor;
49
- default: undefined;
74
+ default: () => string;
50
75
  };
51
76
  modelValue: {
52
77
  type: BooleanConstructor;
@@ -68,6 +93,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
93
  type: NumberConstructor;
69
94
  default: number;
70
95
  };
96
+ teleport: {
97
+ type: (StringConstructor | BooleanConstructor)[];
98
+ default: string;
99
+ };
100
+ placement: {
101
+ type: () => ToastPlacement;
102
+ default: string;
103
+ };
71
104
  }>> & Readonly<{
72
105
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
73
106
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
@@ -80,11 +113,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
80
113
  modelValue: boolean;
81
114
  title: string;
82
115
  id: string;
116
+ teleport: string | boolean;
117
+ placement: ToastPlacement;
83
118
  autohide: boolean;
84
119
  delay: number;
85
120
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
86
121
  toastRef: HTMLDivElement;
87
- }, HTMLDivElement>;
122
+ }, any>;
88
123
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
89
124
  export default _default;
90
125
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,17 +1,27 @@
1
1
  import { Placement } from '../types';
2
+ interface BootstrapTooltip {
3
+ dispose: () => void;
4
+ setContent: (content: object) => void;
5
+ }
2
6
  declare function __VLS_template(): {
3
7
  attrs: Partial<{}>;
4
8
  slots: {
5
9
  default?(_: {}): any;
6
10
  };
7
- refs: {};
11
+ refs: {
12
+ tooltipRef: HTMLSpanElement;
13
+ };
8
14
  rootEl: HTMLSpanElement;
9
15
  };
10
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
17
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
18
  content: {
13
19
  type: StringConstructor;
14
- required: true;
20
+ default: undefined;
21
+ };
22
+ text: {
23
+ type: StringConstructor;
24
+ default: undefined;
15
25
  };
16
26
  placement: {
17
27
  type: () => Placement;
@@ -25,12 +35,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
25
35
  type: BooleanConstructor;
26
36
  default: boolean;
27
37
  };
28
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ }>, {
39
+ bsInstance: import('vue').Ref<{
40
+ dispose: () => void;
41
+ setContent: (content: object) => void;
42
+ } | null, BootstrapTooltip | {
43
+ dispose: () => void;
44
+ setContent: (content: object) => void;
45
+ } | null>;
46
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
47
  "component-error": (...args: any[]) => void;
30
48
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
49
  content: {
32
50
  type: StringConstructor;
33
- required: true;
51
+ default: undefined;
52
+ };
53
+ text: {
54
+ type: StringConstructor;
55
+ default: undefined;
34
56
  };
35
57
  placement: {
36
58
  type: () => Placement;
@@ -48,9 +70,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
48
70
  "onComponent-error"?: ((...args: any[]) => any) | undefined;
49
71
  }>, {
50
72
  html: boolean;
73
+ text: string;
51
74
  placement: Placement;
75
+ content: string;
52
76
  trigger: string;
53
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
78
+ tooltipRef: HTMLSpanElement;
79
+ }, HTMLSpanElement>;
54
80
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
81
  export default _default;
56
82
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Composable to generate a unique ID for a component instance.
3
+ * SSR-friendly by incorporating instance UID if available.
4
+ */
5
+ export declare function useId(prefix?: string): string;
package/dist/index.d.ts CHANGED
@@ -2,4 +2,5 @@ import { default as VibeUIPlugin } from './components';
2
2
  export * from './components';
3
3
  export * from './types';
4
4
  export * from './composables/useFormValidation';
5
+ export { useId } from './composables/useId';
5
6
  export default VibeUIPlugin;
package/dist/types.d.ts CHANGED
@@ -44,6 +44,7 @@ export interface NavItem {
44
44
  to?: string | object;
45
45
  active?: boolean;
46
46
  disabled?: boolean;
47
+ children?: DropdownItem[];
47
48
  }
48
49
  export interface PaginationItem {
49
50
  page: number;
package/dist/vibeui.css CHANGED
@@ -1 +1 @@
1
- .vibe-datatable[data-v-25bff6a6]{width:100%}.datatable-info[data-v-25bff6a6]{padding:.5rem 0;color:#6c757d}.input-group-vertical[data-v-fbee244e]{flex-direction:column}.input-group-vertical[data-v-fbee244e]>*{width:100%}.vibe-wysiwyg-container[data-v-8e6e81b0]{border:1px solid #ced4da;border-radius:.375rem}.vibe-wysiwyg-container.is-valid[data-v-8e6e81b0]{border-color:#198754}.vibe-wysiwyg-container.is-invalid[data-v-8e6e81b0]{border-color:#dc3545}.vibe-wysiwyg-container.disabled[data-v-8e6e81b0]{background-color:#e9ecef;opacity:.6;cursor:not-allowed}.vibe-wysiwyg-container[data-v-8e6e81b0] .ql-container{border:none;font-size:1rem}.vibe-wysiwyg-container[data-v-8e6e81b0] .ql-toolbar{border:none;border-bottom:1px solid #ced4da;border-top-left-radius:.375rem;border-top-right-radius:.375rem}.vibe-wysiwyg-container[data-v-8e6e81b0] .ql-editor{min-height:150px}
1
+ .vibe-datatable[data-v-d5aa8072]{width:100%}.datatable-info[data-v-d5aa8072]{padding:.5rem 0;color:#6c757d}.input-group-vertical[data-v-49746a62]{flex-direction:column}.input-group-vertical[data-v-49746a62]>*{width:100%}.vibe-wysiwyg-container[data-v-1ed73fd7]{border:1px solid #ced4da;border-radius:.375rem}.vibe-wysiwyg-container.is-valid[data-v-1ed73fd7]{border-color:#198754}.vibe-wysiwyg-container.is-invalid[data-v-1ed73fd7]{border-color:#dc3545}.vibe-wysiwyg-container.disabled[data-v-1ed73fd7]{background-color:#e9ecef;opacity:.6;cursor:not-allowed}.vibe-wysiwyg-container[data-v-1ed73fd7] .ql-container{border:none;font-size:1rem}.vibe-wysiwyg-container[data-v-1ed73fd7] .ql-toolbar{border:none;border-bottom:1px solid #ced4da;border-top-left-radius:.375rem;border-top-right-radius:.375rem}.vibe-wysiwyg-container[data-v-1ed73fd7] .ql-editor{min-height:150px}