@dolanske/vui 1.0.0 → 1.0.1

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 (59) hide show
  1. package/dist/components/Accordion/Accordion.vue.d.ts +3 -2
  2. package/dist/components/Accordion/AccordionGroup.vue.d.ts +5 -2
  3. package/dist/components/Alert/Alert.vue.d.ts +3 -2
  4. package/dist/components/Avatar/Avatar.vue.d.ts +3 -2
  5. package/dist/components/Badge/Badge.vue.d.ts +3 -2
  6. package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +3 -2
  7. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
  8. package/dist/components/Button/Button.vue.d.ts +3 -2
  9. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +3 -2
  10. package/dist/components/Calendar/Calendar.vue.d.ts +6 -6
  11. package/dist/components/Card/Card.vue.d.ts +4 -3
  12. package/dist/components/Checkbox/Checkbox.vue.d.ts +7 -6
  13. package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +2 -1
  14. package/dist/components/Divider/Divider.vue.d.ts +3 -2
  15. package/dist/components/Drawer/Drawer.vue.d.ts +6 -5
  16. package/dist/components/Dropdown/Dropdown.vue.d.ts +66 -3
  17. package/dist/components/Dropdown/DropdownItem.vue.d.ts +3 -2
  18. package/dist/components/Dropdown/DropdownTitle.vue.d.ts +6 -6
  19. package/dist/components/Flex/Flex.vue.d.ts +3 -2
  20. package/dist/components/Grid/Grid.vue.d.ts +3 -2
  21. package/dist/components/Input/Color.vue.d.ts +11 -0
  22. package/dist/components/Input/Counter.vue.d.ts +5 -5
  23. package/dist/components/Input/Dropzone.vue.d.ts +95 -10
  24. package/dist/components/Input/File.vue.d.ts +4 -3
  25. package/dist/components/Input/Input.vue.d.ts +7 -6
  26. package/dist/components/Input/Password.vue.d.ts +1 -1
  27. package/dist/components/Input/Textarea.vue.d.ts +7 -6
  28. package/dist/components/Kbd/Kbd.vue.d.ts +1 -1
  29. package/dist/components/Kbd/KbdGroup.vue.d.ts +2 -1
  30. package/dist/components/Modal/Confirm.vue.d.ts +6 -5
  31. package/dist/components/Modal/Modal.vue.d.ts +6 -5
  32. package/dist/components/OTP/OTP.vue.d.ts +7 -6
  33. package/dist/components/OTP/OTPItem.vue.d.ts +1 -1
  34. package/dist/components/Pagination/Pagination.vue.d.ts +3 -2
  35. package/dist/components/Popout/Popout.vue.d.ts +3 -2
  36. package/dist/components/Progress/Progress.vue.d.ts +5 -5
  37. package/dist/components/Radio/Radio.vue.d.ts +7 -6
  38. package/dist/components/Radio/RadioGroup.vue.d.ts +7 -6
  39. package/dist/components/Select/Select.vue.d.ts +4 -8
  40. package/dist/components/Sheet/Sheet.vue.d.ts +6 -5
  41. package/dist/components/Sidebar/Sidebar.vue.d.ts +70 -0
  42. package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -1
  43. package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
  44. package/dist/components/Switch/Switch.vue.d.ts +7 -6
  45. package/dist/components/Table/Cell.vue.d.ts +5 -2
  46. package/dist/components/Table/Head.vue.d.ts +3 -2
  47. package/dist/components/Table/Root.vue.d.ts +3 -2
  48. package/dist/components/Table/table.d.ts +2 -2
  49. package/dist/components/Tabs/Tab.vue.d.ts +3 -2
  50. package/dist/components/Tabs/Tabs.vue.d.ts +8 -7
  51. package/dist/components/Toast/toast.d.ts +6 -6
  52. package/dist/components/Tooltip/Tooltip.vue.d.ts +2 -1
  53. package/dist/index.d.ts +4 -1
  54. package/dist/internal/Backdrop/Backdrop.vue.d.ts +3 -2
  55. package/dist/{style.css → vui.css} +1 -1
  56. package/dist/vui.js +5938 -5502
  57. package/package.json +17 -17
  58. package/src/components/Tabs/Tabs.vue +3 -2
  59. package/src/index.ts +4 -0
@@ -0,0 +1,70 @@
1
+ type __VLS_Props = Props;
2
+ interface Props {
3
+ width?: number;
4
+ /**
5
+ * Controls wether the sidebar is displayed in full size, or a small version
6
+ */
7
+ mini?: boolean;
8
+ /**
9
+ * Allow sidebar showing up, when user hovers at very left of the screen. The
10
+ * sidebar will apear over content, not pushing anything over
11
+ */
12
+ appear?: boolean;
13
+ /**
14
+ * Add edges of background around sidebar
15
+ */
16
+ floaty?: boolean;
17
+ }
18
+ type __VLS_PublicProps = {
19
+ modelValue?: boolean;
20
+ } & __VLS_Props;
21
+ declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
23
+ slots: {
24
+ header?(_: {
25
+ mini: boolean;
26
+ floaty: boolean;
27
+ width: number;
28
+ open: import('vue').ModelRef<boolean, string, boolean, boolean>;
29
+ close: () => false;
30
+ }): any;
31
+ default?(_: {
32
+ mini: boolean;
33
+ floaty: boolean;
34
+ width: number;
35
+ open: import('vue').ModelRef<boolean, string, boolean, boolean>;
36
+ close: () => false;
37
+ }): any;
38
+ footer?(_: {
39
+ mini: boolean;
40
+ floaty: boolean;
41
+ width: number;
42
+ open: import('vue').ModelRef<boolean, string, boolean, boolean>;
43
+ close: () => false;
44
+ }): any;
45
+ };
46
+ refs: {
47
+ wrap: HTMLDivElement;
48
+ sidebar: HTMLElement;
49
+ };
50
+ rootEl: HTMLDivElement;
51
+ };
52
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
53
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
+ "update:modelValue": (value: boolean) => any;
55
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
57
+ }>, {
58
+ width: number;
59
+ mini: boolean;
60
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
61
+ wrap: HTMLDivElement;
62
+ sidebar: HTMLElement;
63
+ }, HTMLDivElement>;
64
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
+ export default _default;
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
@@ -4,5 +4,5 @@ interface Props {
4
4
  height?: string | number;
5
5
  circle?: boolean;
6
6
  }
7
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
8
  export default _default;
@@ -2,5 +2,5 @@ import { Sizes } from '../../shared/types';
2
2
  interface Props {
3
3
  size?: Sizes;
4
4
  }
5
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
6
  export default _default;
@@ -3,21 +3,22 @@ interface Props {
3
3
  disabled?: boolean;
4
4
  accent?: boolean;
5
5
  }
6
- declare let __VLS_typeProps: Props;
6
+ type __VLS_Props = Props;
7
7
  type __VLS_PublicProps = {
8
8
  modelValue?: boolean;
9
- } & typeof __VLS_typeProps;
9
+ } & __VLS_Props;
10
10
  declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
11
12
  slots: Readonly<Record<string, any>> & Record<string, any>;
12
13
  refs: {};
13
- attrs: Partial<{}>;
14
+ rootEl: HTMLDivElement;
14
15
  };
15
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- "update:modelValue": (modelValue: boolean) => any;
18
+ "update:modelValue": (value: boolean) => any;
18
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
23
  export default _default;
23
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  default?(_: {}): any;
4
5
  context?(_: {}): any;
@@ -6,10 +7,12 @@ declare function __VLS_template(): {
6
7
  refs: {
7
8
  context: HTMLDivElement;
8
9
  };
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLTableCellElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
14
+ context: HTMLDivElement;
15
+ }, HTMLTableCellElement>;
13
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
17
  export default _default;
15
18
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -12,14 +12,15 @@ interface Props {
12
12
  sort?: boolean;
13
13
  }
14
14
  declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
15
16
  slots: {
16
17
  default?(_: {}): any;
17
18
  };
18
19
  refs: {};
19
- attrs: Partial<{}>;
20
+ rootEl: HTMLTableCellElement;
20
21
  };
21
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
23
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
25
  export default _default;
25
26
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -21,16 +21,17 @@ interface Props {
21
21
  outerBorder?: boolean;
22
22
  }
23
23
  declare function __VLS_template(): {
24
+ attrs: Partial<{}>;
24
25
  slots: {
25
26
  header?(_: {}): any;
26
27
  body?(_: {}): any;
27
28
  pagination?(_: {}): any;
28
29
  };
29
30
  refs: {};
30
- attrs: Partial<{}>;
31
+ rootEl: HTMLDivElement;
31
32
  };
32
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
36
  export default _default;
36
37
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -36,11 +36,11 @@ export declare function defineTable<const Dataset extends any[]>(computedDataset
36
36
  headers: Readonly<Ref<readonly {
37
37
  readonly label: string;
38
38
  readonly sortToggle: () => void;
39
- readonly sortKey?: ("asc" | "desc") | undefined;
39
+ readonly sortKey?: "asc" | "desc" | undefined;
40
40
  }[], readonly {
41
41
  readonly label: string;
42
42
  readonly sortToggle: () => void;
43
- readonly sortKey?: ("asc" | "desc") | undefined;
43
+ readonly sortKey?: "asc" | "desc" | undefined;
44
44
  }[]>>;
45
45
  pagination: ComputedRef<import('../Pagination/pagination').Pagination>;
46
46
  canPrevPage: ComputedRef<boolean>;
@@ -4,14 +4,15 @@ export interface TabProps {
4
4
  icon?: string;
5
5
  }
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: {
8
9
  default?(_: {}): any;
9
10
  };
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: HTMLButtonElement;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<TabProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_component: import('vue').DefineComponent<TabProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
15
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
17
  export default _default;
17
18
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,15 +1,16 @@
1
- import { TabProps } from './Tab.vue';
2
1
  import { VNode } from 'vue';
2
+ import { TabProps } from './Tab.vue';
3
3
  interface Props {
4
4
  variant?: 'default' | 'filled';
5
5
  expand?: boolean;
6
6
  disabled?: boolean;
7
7
  }
8
- declare let __VLS_typeProps: Props;
8
+ type __VLS_Props = Props;
9
9
  type __VLS_PublicProps = {
10
10
  modelValue?: any;
11
- } & typeof __VLS_typeProps;
11
+ } & __VLS_Props;
12
12
  declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
13
14
  slots: Readonly<{
14
15
  default: () => Array<VNode & {
15
16
  props: TabProps;
@@ -27,17 +28,17 @@ declare function __VLS_template(): {
27
28
  tabs: HTMLDivElement;
28
29
  underline: HTMLDivElement;
29
30
  };
30
- attrs: Partial<{}>;
31
+ rootEl: HTMLDivElement;
31
32
  };
32
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
34
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
- "update:modelValue": (modelValue: any) => any;
35
+ "update:modelValue": (value: any) => any;
35
36
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
36
- "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
37
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
37
38
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
39
  tabs: HTMLDivElement;
39
40
  underline: HTMLDivElement;
40
- }, any>;
41
+ }, HTMLDivElement>;
41
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
43
  export default _default;
43
44
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -49,7 +49,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
49
49
  expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
50
50
  }) => any) | undefined;
51
51
  name?: string | undefined;
52
- template?: (string | object) | undefined;
52
+ template?: string | object | undefined;
53
53
  render?: Function | undefined;
54
54
  components?: Record<string, Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>> | undefined;
55
55
  directives?: Record<string, import('vue').Directive<any, any, string, string>> | undefined;
@@ -60,7 +60,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
60
60
  serverPrefetch?: (() => void | Promise<any>) | undefined;
61
61
  compilerOptions?: {
62
62
  isCustomElement?: ((tag: string) => boolean) | undefined;
63
- whitespace?: ("preserve" | "condense") | undefined;
63
+ whitespace?: "preserve" | "condense" | undefined;
64
64
  comments?: boolean | undefined;
65
65
  delimiters?: [string, string] | undefined;
66
66
  } | undefined;
@@ -112,7 +112,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
112
112
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
113
113
  FILTERS?: boolean | "suppress-warning" | undefined;
114
114
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
115
- MODE?: (2 | 3 | ((comp: Component | null) => 2 | 3)) | undefined;
115
+ MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
116
116
  } | undefined;
117
117
  data?: ((this: any, vm: any) => any) | undefined;
118
118
  computed?: import('vue').ComputedOptions | undefined;
@@ -179,7 +179,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
179
179
  expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
180
180
  }) => any) | undefined;
181
181
  name?: string | undefined;
182
- template?: (string | object) | undefined;
182
+ template?: string | object | undefined;
183
183
  render?: Function | undefined;
184
184
  components?: Record<string, Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>> | undefined;
185
185
  directives?: Record<string, import('vue').Directive<any, any, string, string>> | undefined;
@@ -190,7 +190,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
190
190
  serverPrefetch?: (() => void | Promise<any>) | undefined;
191
191
  compilerOptions?: {
192
192
  isCustomElement?: ((tag: string) => boolean) | undefined;
193
- whitespace?: ("preserve" | "condense") | undefined;
193
+ whitespace?: "preserve" | "condense" | undefined;
194
194
  comments?: boolean | undefined;
195
195
  delimiters?: [string, string] | undefined;
196
196
  } | undefined;
@@ -242,7 +242,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
242
242
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
243
243
  FILTERS?: boolean | "suppress-warning" | undefined;
244
244
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
245
- MODE?: (2 | 3 | ((comp: Component | null) => 2 | 3)) | undefined;
245
+ MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
246
246
  } | undefined;
247
247
  data?: ((this: any, vm: any) => any) | undefined;
248
248
  computed?: import('vue').ComputedOptions | undefined;
@@ -10,6 +10,7 @@ interface Props {
10
10
  delay?: number;
11
11
  }
12
12
  declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
13
14
  slots: {
14
15
  default?(_: {}): any;
15
16
  tooltip?(_: {}): any;
@@ -17,7 +18,7 @@ declare function __VLS_template(): {
17
18
  refs: {
18
19
  popoutAnchor: HTMLDivElement;
19
20
  };
20
- attrs: Partial<{}>;
21
+ rootEl: any;
21
22
  };
22
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
24
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ import { default as DropdownItem } from './components/Dropdown/DropdownItem.vue'
18
18
  import { default as DropdownTitle } from './components/Dropdown/DropdownTitle.vue';
19
19
  import { default as Flex } from './components/Flex/Flex.vue';
20
20
  import { default as Grid } from './components/Grid/Grid.vue';
21
+ import { default as Color } from './components/Input/Color.vue';
21
22
  import { default as Counter } from './components/Input/Counter.vue';
22
23
  import { default as Dropzone } from './components/Input/Dropzone.vue';
23
24
  import { default as File } from './components/Input/File.vue';
@@ -38,6 +39,7 @@ import { default as Radio } from './components/Radio/Radio.vue';
38
39
  import { default as RadioGroup } from './components/Radio/RadioGroup.vue';
39
40
  import { default as Select } from './components/Select/Select.vue';
40
41
  import { default as Sheet } from './components/Sheet/Sheet.vue';
42
+ import { default as Sidebar } from './components/Sidebar/Sidebar.vue';
41
43
  import { default as Skeleton } from './components/Skeleton/Skeleton.vue';
42
44
  import { default as Spinner } from './components/Spinner/Spinner.vue';
43
45
  import { default as Switch } from './components/Switch/Switch.vue';
@@ -49,5 +51,6 @@ import { default as Toasts } from './components/Toast/Toasts.vue';
49
51
  import { default as Tooltip } from './components/Tooltip/Tooltip.vue';
50
52
  import { default as Backdrop } from './internal/Backdrop/Backdrop.vue';
51
53
  import { searchString } from './shared/helpers';
54
+ import { setColorTheme, theme } from './shared/theme';
52
55
  import * as Table from './components/Table';
53
- export { Accordion, AccordionGroup, Alert, Avatar, Backdrop, Badge, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Confirm, CopyClipboard, Counter, defineTable, Divider, Drawer, Dropdown, DropdownItem, DropdownTitle, Dropzone, File, Flex, Grid, Input, Kbd, KbdGroup, Modal, OTP, OTPItem, paginate, Pagination, Password, Popout, Progress, pushToast, Radio, RadioGroup, removeToast, searchString, Select, Sheet, Skeleton, Spinner, Switch, Tab, Table, Tabs, Textarea, Toasts, Tooltip, };
56
+ export { Accordion, AccordionGroup, Alert, Avatar, Backdrop, Badge, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Color, Confirm, CopyClipboard, Counter, defineTable, Divider, Drawer, Dropdown, DropdownItem, DropdownTitle, Dropzone, File, Flex, Grid, Input, Kbd, KbdGroup, Modal, OTP, OTPItem, paginate, Pagination, Password, Popout, Progress, pushToast, Radio, RadioGroup, removeToast, searchString, Select, setColorTheme, Sheet, Sidebar, Skeleton, Spinner, Switch, Tab, Table, Tabs, Textarea, theme, Toasts, Tooltip, };
@@ -1,16 +1,17 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  default?(_: {}): any;
4
5
  };
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: HTMLDivElement;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
11
  close: () => any;
11
12
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
12
13
  onClose?: (() => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
16
  export default _default;
16
17
  type __VLS_WithTemplateSlots<T, S> = T & {