@velkymx/vibeui 0.5.2 → 0.5.4

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.
@@ -126,12 +126,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
126
126
  label: string;
127
127
  disabled: boolean;
128
128
  value: string | number | boolean;
129
+ inline: boolean;
129
130
  validationState: ValidationState;
130
131
  validationMessage: string;
131
132
  validationRules: ValidatorFunction | ValidationRule[];
132
133
  validateOn: "blur" | "change";
133
134
  helpText: string;
134
- inline: boolean;
135
135
  indeterminate: boolean;
136
136
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
137
137
  export default _default;
@@ -125,11 +125,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
125
  required: boolean;
126
126
  label: string;
127
127
  disabled: boolean;
128
+ inline: boolean;
128
129
  validationState: ValidationState;
129
130
  validationMessage: string;
130
131
  validationRules: ValidatorFunction | ValidationRule[];
131
132
  validateOn: "blur" | "change";
132
133
  helpText: string;
133
- inline: boolean;
134
134
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
135
135
  export default _default;
@@ -142,6 +142,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
142
142
  label: string;
143
143
  disabled: boolean;
144
144
  placeholder: string;
145
+ theme: "snow" | "bubble";
145
146
  height: string;
146
147
  readonly: boolean;
147
148
  validationState: ValidationState;
@@ -149,7 +150,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
149
150
  validationRules: ValidatorFunction | ValidationRule[];
150
151
  validateOn: "blur" | "change";
151
152
  helpText: string;
152
- theme: "snow" | "bubble";
153
153
  toolbar: string | boolean | unknown[];
154
154
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
155
155
  editorContainer: HTMLDivElement;
@@ -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[];
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-bafec986]{width:100%}.datatable-info[data-v-bafec986]{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-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}