@roku-ui/vue 0.20.0 → 0.22.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 (75) hide show
  1. package/README.md +33 -33
  2. package/dist/components/AppShell.vue.d.ts +55 -0
  3. package/dist/components/AspectRatio.vue.d.ts +11 -15
  4. package/dist/components/AutoHeightTransition.vue.d.ts +17 -0
  5. package/dist/components/Avatar.vue.d.ts +17 -22
  6. package/dist/components/Btn.vue.d.ts +21 -30
  7. package/dist/components/BtnGroup.vue.d.ts +5 -5
  8. package/dist/components/Calendar.vue.d.ts +40 -0
  9. package/dist/components/ChatContainer.vue.d.ts +3 -2
  10. package/dist/components/ChatMessage.vue.d.ts +11 -15
  11. package/dist/components/ChatSystem.vue.d.ts +10 -13
  12. package/dist/components/Checkbox.vue.d.ts +33 -0
  13. package/dist/components/Chip.vue.d.ts +12 -17
  14. package/dist/components/ColorInput.vue.d.ts +7 -5
  15. package/dist/components/ColorSwatch.vue.d.ts +3 -6
  16. package/dist/components/Drawer.vue.d.ts +7 -6
  17. package/dist/components/Dropzone.vue.d.ts +11 -10
  18. package/dist/components/FullscreenOverlay.vue.d.ts +10 -7
  19. package/dist/components/Image.vue.d.ts +7 -14
  20. package/dist/components/Indicator.vue.d.ts +10 -13
  21. package/dist/components/Menu.vue.d.ts +14 -9
  22. package/dist/components/MenuItem.vue.d.ts +8 -8
  23. package/dist/components/Modal.vue.d.ts +7 -6
  24. package/dist/components/Notification.vue.d.ts +21 -27
  25. package/dist/components/NotificationSystem.vue.d.ts +7 -13
  26. package/dist/components/Overlay.vue.d.ts +14 -13
  27. package/dist/components/Paper.vue.d.ts +16 -20
  28. package/dist/components/PinInput.vue.d.ts +105 -9
  29. package/dist/components/Popover.vue.d.ts +10 -6
  30. package/dist/components/Progress.vue.d.ts +6 -13
  31. package/dist/components/Rating.vue.d.ts +5 -5
  32. package/dist/components/RokuProvider.vue.d.ts +12 -12
  33. package/dist/components/SchemeSwitch.vue.d.ts +11 -6
  34. package/dist/components/ScrollArea.vue.d.ts +20 -18
  35. package/dist/components/Select.vue.d.ts +6 -10
  36. package/dist/components/SelectArea.vue.d.ts +6 -11
  37. package/dist/components/Slider.vue.d.ts +13 -5
  38. package/dist/components/Switch.vue.d.ts +14 -10
  39. package/dist/components/TabItem.vue.d.ts +10 -9
  40. package/dist/components/Tabs.vue.d.ts +9 -6
  41. package/dist/components/Tag.vue.d.ts +20 -21
  42. package/dist/components/TextField.vue.d.ts +9 -6
  43. package/dist/components/ThemeProvider.vue.d.ts +7 -8
  44. package/dist/components/Tooltip.vue.d.ts +10 -7
  45. package/dist/components/TreeList.vue.d.ts +58 -11
  46. package/dist/components/index.d.ts +4 -0
  47. package/dist/index.css +1 -1
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.js +4277 -3248
  50. package/dist/index.umd.cjs +1 -1
  51. package/dist/shared/index.d.ts +8 -8
  52. package/dist/test/demo/AppShellDemo.vue.d.ts +2 -0
  53. package/dist/test/demo/AvatarDemo.vue.d.ts +2 -0
  54. package/dist/test/demo/ButtonDemo.vue.d.ts +2 -0
  55. package/dist/test/demo/CalendarDemo.vue.d.ts +2 -0
  56. package/dist/test/demo/ChatDemo.vue.d.ts +2 -0
  57. package/dist/test/demo/FormDemo.vue.d.ts +2 -0
  58. package/dist/test/demo/LayoutDemo.vue.d.ts +2 -0
  59. package/dist/test/demo/MediaDemo.vue.d.ts +2 -0
  60. package/dist/test/demo/ModalDemo.vue.d.ts +2 -0
  61. package/dist/test/demo/NavigationDemo.vue.d.ts +2 -0
  62. package/dist/test/demo/NotificationDemo.vue.d.ts +2 -0
  63. package/dist/test/demo/PopoverDemo.vue.d.ts +1 -1
  64. package/dist/test/demo/RatingDemo.vue.d.ts +1 -1
  65. package/dist/test/demo/SelectAreaDemo.vue.d.ts +3 -1
  66. package/dist/test/demo/SelectDemo.vue.d.ts +1 -1
  67. package/dist/test/demo/SliderDemo.vue.d.ts +2 -0
  68. package/dist/test/demo/SwitchDemo.vue.d.ts +2 -0
  69. package/dist/test/demo/TagsDemo.vue.d.ts +1 -1
  70. package/dist/test/demo/TooltipDemo.vue.d.ts +2 -0
  71. package/dist/test/demo/WaterfallDemo.vue.d.ts +1 -1
  72. package/dist/types/index.d.ts +1 -0
  73. package/dist/utils/modals.d.ts +5 -3
  74. package/dist/utils/notifications.d.ts +3 -3
  75. package/package.json +24 -24
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # Max Min Vue
2
-
3
- ## Usage
4
-
5
- ### Install
6
-
7
- ```bash
8
- pnpm install
9
- ```
10
-
11
- ### Development
12
-
13
- ```bash
14
- pnpm dev
15
- ```
16
-
17
- ### Build
18
-
19
- ```bash
20
- pnpm build
21
- ```
22
-
23
- ### Lint
24
-
25
- ```bash
26
- pnpm lint
27
- ```
28
-
29
- ### Test
30
-
31
- ```bash
32
- pnpm test
33
- ```
1
+ # Max Min Vue
2
+
3
+ ## Usage
4
+
5
+ ### Install
6
+
7
+ ```bash
8
+ pnpm install
9
+ ```
10
+
11
+ ### Development
12
+
13
+ ```bash
14
+ pnpm dev
15
+ ```
16
+
17
+ ### Build
18
+
19
+ ```bash
20
+ pnpm build
21
+ ```
22
+
23
+ ### Lint
24
+
25
+ ```bash
26
+ pnpm lint
27
+ ```
28
+
29
+ ### Test
30
+
31
+ ```bash
32
+ pnpm test
33
+ ```
@@ -0,0 +1,55 @@
1
+ export interface AppShellProps {
2
+ headerHeight?: string;
3
+ footerHeight?: string;
4
+ navbarWidth?: string;
5
+ asideWidth?: string;
6
+ headerSpansNav?: boolean;
7
+ headerSpansAside?: boolean;
8
+ footerSpansNav?: boolean;
9
+ footerSpansAside?: boolean;
10
+ padding?: string | number;
11
+ gap?: string | number;
12
+ }
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: {
16
+ header?(_: {}): any;
17
+ header?(_: {}): any;
18
+ header?(_: {}): any;
19
+ header?(_: {}): any;
20
+ navbar?(_: {}): any;
21
+ navbar?(_: {}): any;
22
+ default?(_: {}): any;
23
+ default?(_: {}): any;
24
+ footer?(_: {}): any;
25
+ footer?(_: {}): any;
26
+ footer?(_: {}): any;
27
+ footer?(_: {}): any;
28
+ footer?(_: {}): any;
29
+ footer?(_: {}): any;
30
+ aside?(_: {}): any;
31
+ aside?(_: {}): any;
32
+ };
33
+ refs: {};
34
+ rootEl: HTMLDivElement;
35
+ };
36
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
+ declare const __VLS_component: import('vue').DefineComponent<AppShellProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellProps> & Readonly<{}>, {
38
+ headerHeight: string;
39
+ footerHeight: string;
40
+ navbarWidth: string;
41
+ asideWidth: string;
42
+ headerSpansNav: boolean;
43
+ headerSpansAside: boolean;
44
+ footerSpansNav: boolean;
45
+ footerSpansAside: boolean;
46
+ padding: string | number;
47
+ gap: string | number;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
+ export default _default;
51
+ type __VLS_WithTemplateSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -1,26 +1,22 @@
1
+ type __VLS_Props = {
2
+ ratio?: number;
3
+ width?: number | string;
4
+ maxWidth?: number | string;
5
+ height?: number | string;
6
+ maxHeight?: number | string;
7
+ };
1
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
2
10
  slots: {
3
11
  default?(_: {}): any;
4
12
  };
5
13
  refs: {};
6
- attrs: Partial<{}>;
14
+ rootEl: HTMLDivElement;
7
15
  };
8
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{
10
- ratio?: number;
11
- width?: number | string;
12
- maxWidth?: number | string;
13
- height?: number | string;
14
- maxHeight?: number | string;
15
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
- ratio?: number;
17
- width?: number | string;
18
- maxWidth?: number | string;
19
- height?: number | string;
20
- maxHeight?: number | string;
21
- }> & Readonly<{}>, {
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
18
  ratio: number;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
21
  export default _default;
26
22
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ 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>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -1,40 +1,35 @@
1
- import { Color, ContainerVariant, Rounded } from '../types';
2
1
  import { Component } from 'vue';
2
+ import { Color, ContainerVariant, Rounded } from '../types';
3
+ type __VLS_Props = {
4
+ is?: string | Component;
5
+ src?: string;
6
+ size?: 'sm' | 'md' | 'lg' | string | number;
7
+ name?: string;
8
+ variant?: ContainerVariant;
9
+ color?: Color;
10
+ rounded?: Rounded;
11
+ skeleton?: boolean;
12
+ };
3
13
  declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
4
15
  slots: {
5
16
  default?(_: {}): any;
6
17
  };
7
18
  refs: {
8
19
  img: unknown;
9
20
  };
10
- attrs: Partial<{}>;
21
+ rootEl: any;
11
22
  };
12
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- is?: string | Component;
15
- src?: string;
16
- size?: "sm" | "md" | "lg" | string | number;
17
- name?: string;
18
- variant?: ContainerVariant;
19
- color?: Color;
20
- rounded?: Rounded;
21
- skeleton?: boolean;
22
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
23
- is?: string | Component;
24
- src?: string;
25
- size?: "sm" | "md" | "lg" | string | number;
26
- name?: string;
27
- variant?: ContainerVariant;
28
- color?: Color;
29
- rounded?: Rounded;
30
- skeleton?: boolean;
31
- }> & Readonly<{}>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
32
25
  color: Color;
33
26
  is: string | Component;
34
27
  size: "sm" | "md" | "lg" | string | number;
35
28
  variant: ContainerVariant;
36
29
  rounded: Rounded;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ img: unknown;
32
+ }, any>;
38
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
34
  export default _default;
40
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,21 @@
1
- import { BtnVariant } from '../types';
2
1
  import { Component } from 'vue';
2
+ import { BtnVariant } from '../types';
3
+ type __VLS_Props = {
4
+ type?: 'button' | 'submit' | 'reset';
5
+ size?: 'sm' | 'md' | 'lg';
6
+ is?: string | Component;
7
+ icon?: boolean;
8
+ pressEffect?: 'translate' | 'scale';
9
+ variant?: BtnVariant;
10
+ hoverVariant?: BtnVariant;
11
+ color?: string;
12
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
13
+ disabled?: boolean;
14
+ skeleton?: boolean;
15
+ outlineColor?: string;
16
+ };
3
17
  declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
4
19
  slots: {
5
20
  leftSection?(_: {}): any;
6
21
  default?(_: {}): any;
@@ -9,36 +24,10 @@ declare function __VLS_template(): {
9
24
  refs: {
10
25
  btn: unknown;
11
26
  };
12
- attrs: Partial<{}>;
27
+ rootEl: any;
13
28
  };
14
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<{
16
- type?: "button" | "submit" | "reset";
17
- size?: "sm" | "md" | "lg";
18
- is?: string | Component;
19
- icon?: boolean;
20
- pressEffect?: "translate" | "scale";
21
- variant?: BtnVariant;
22
- hoverVariant?: BtnVariant;
23
- color?: string;
24
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
25
- disabled?: boolean;
26
- skeleton?: boolean;
27
- outlineColor?: string;
28
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
29
- type?: "button" | "submit" | "reset";
30
- size?: "sm" | "md" | "lg";
31
- is?: string | Component;
32
- icon?: boolean;
33
- pressEffect?: "translate" | "scale";
34
- variant?: BtnVariant;
35
- hoverVariant?: BtnVariant;
36
- color?: string;
37
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
38
- disabled?: boolean;
39
- skeleton?: boolean;
40
- outlineColor?: string;
41
- }> & Readonly<{}>, {
30
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
42
31
  type: "button" | "submit" | "reset";
43
32
  icon: boolean;
44
33
  is: string | Component;
@@ -46,7 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
46
35
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
47
36
  pressEffect: "translate" | "scale";
48
37
  disabled: boolean;
49
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
+ btn: unknown;
40
+ }, any>;
50
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
42
  export default _default;
52
43
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -3,7 +3,7 @@ type T = string | {
3
3
  label?: string;
4
4
  icon?: string;
5
5
  };
6
- declare let __VLS_typeProps: {
6
+ type __VLS_Props = {
7
7
  selections: T[];
8
8
  default?: T;
9
9
  color?: 'primary' | 'secondary' | 'tertiary' | 'error';
@@ -11,13 +11,13 @@ declare let __VLS_typeProps: {
11
11
  };
12
12
  type __VLS_PublicProps = {
13
13
  modelValue?: string | undefined;
14
- } & typeof __VLS_typeProps;
14
+ } & __VLS_Props;
15
15
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (modelValue: string | undefined) => any;
16
+ "update:modelValue": (value: string | undefined) => any;
17
17
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
- "onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
19
19
  }>, {
20
20
  color: "primary" | "secondary" | "tertiary" | "error";
21
21
  unselectable: boolean;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
23
  export default _default;
@@ -0,0 +1,40 @@
1
+ import { CalendarMode, Color } from '../types';
2
+ type __VLS_Props = {
3
+ modelValue?: Date | Date[] | {
4
+ start: Date;
5
+ end: Date;
6
+ };
7
+ mode?: CalendarMode;
8
+ minDate?: Date;
9
+ maxDate?: Date;
10
+ disabledDates?: Date[] | ((date: Date) => boolean);
11
+ showWeekNumbers?: boolean;
12
+ firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
13
+ locale?: string;
14
+ size?: 'sm' | 'md' | 'lg';
15
+ color?: Color;
16
+ variant?: 'default' | 'filled' | 'light';
17
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
18
+ animate?: boolean;
19
+ };
20
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:modelValue": (value: Date | Date[] | {
22
+ start: Date;
23
+ end: Date;
24
+ } | undefined) => any;
25
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: Date | Date[] | {
27
+ start: Date;
28
+ end: Date;
29
+ } | undefined) => any) | undefined;
30
+ }>, {
31
+ animate: boolean;
32
+ mode: CalendarMode;
33
+ color: Color;
34
+ size: "sm" | "md" | "lg";
35
+ variant: "default" | "filled" | "light";
36
+ rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
37
+ firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
38
+ locale: string;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
+ export default _default;
@@ -1,12 +1,13 @@
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
- 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>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
10
11
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
12
  export default _default;
12
13
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,31 +1,27 @@
1
1
  import { ContainerVariant } from '../types';
2
+ type __VLS_Props = {
3
+ avatar?: string;
4
+ position?: 'left' | 'right';
5
+ color?: string;
6
+ variant?: ContainerVariant;
7
+ withBorder?: boolean;
8
+ };
2
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
3
11
  slots: {
4
12
  avatar?(_: {}): any;
5
13
  default?(_: {}): any;
6
14
  };
7
15
  refs: {};
8
- attrs: Partial<{}>;
16
+ rootEl: HTMLDivElement;
9
17
  };
10
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{
12
- avatar?: string;
13
- position?: "left" | "right";
14
- color?: string;
15
- variant?: ContainerVariant;
16
- withBorder?: boolean;
17
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
- avatar?: string;
19
- position?: "left" | "right";
20
- color?: string;
21
- variant?: ContainerVariant;
22
- withBorder?: boolean;
23
- }> & Readonly<{}>, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
20
  color: string;
25
21
  position: "left" | "right";
26
22
  variant: ContainerVariant;
27
23
  withBorder: boolean;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
29
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
26
  export default _default;
31
27
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,27 +1,24 @@
1
1
  import { Color, ContainerVariant } from '../types';
2
+ type __VLS_Props = {
3
+ position?: 'left' | 'right';
4
+ color?: Color;
5
+ variant?: ContainerVariant;
6
+ withBorder?: boolean;
7
+ };
2
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
3
10
  slots: {
4
11
  default?(_: {}): any;
5
12
  };
6
13
  refs: {};
7
- attrs: Partial<{}>;
14
+ rootEl: HTMLDivElement;
8
15
  };
9
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{
11
- position?: "left" | "right";
12
- color?: Color;
13
- variant?: ContainerVariant;
14
- withBorder?: boolean;
15
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
- position?: "left" | "right";
17
- color?: Color;
18
- variant?: ContainerVariant;
19
- withBorder?: boolean;
20
- }> & Readonly<{}>, {
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
18
  color: Color;
22
19
  variant: ContainerVariant;
23
20
  withBorder: boolean;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
23
  export default _default;
27
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,33 @@
1
+ import { Component } from 'vue';
2
+ import { Color } from '../types';
3
+ type __VLS_Props = {
4
+ size?: 'sm' | 'md' | 'lg';
5
+ animate?: boolean;
6
+ label?: string;
7
+ id?: string;
8
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
9
+ color?: Color;
10
+ disabled?: boolean;
11
+ icon?: string | Component;
12
+ indeterminate?: boolean;
13
+ indeterminateIcon?: string | Component;
14
+ };
15
+ type __VLS_PublicProps = {
16
+ modelValue?: boolean;
17
+ } & __VLS_Props;
18
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (value: boolean) => any;
20
+ change: (args_0: boolean) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
+ onChange?: ((args_0: boolean) => any) | undefined;
24
+ }>, {
25
+ animate: boolean;
26
+ color: Color;
27
+ size: "sm" | "md" | "lg";
28
+ rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
29
+ indeterminate: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ wrapperRef: HTMLDivElement;
32
+ }, any>;
33
+ export default _default;
@@ -1,35 +1,30 @@
1
1
  import { Color, ContainerVariant } from '../types';
2
+ type __VLS_Props = {
3
+ is?: string | any;
4
+ src?: string;
5
+ size?: 'sm' | 'md' | 'lg' | string | number;
6
+ color?: Color;
7
+ variant?: ContainerVariant;
8
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
9
+ };
2
10
  declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
3
12
  slots: {
4
13
  leftSection?(_: {}): any;
5
14
  default?(_: {}): any;
6
15
  rightSection?(_: {}): any;
7
16
  };
8
17
  refs: {};
9
- attrs: Partial<{}>;
18
+ rootEl: HTMLSpanElement;
10
19
  };
11
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<{
13
- is?: string | any;
14
- src?: string;
15
- size?: "sm" | "md" | "lg" | string | number;
16
- color?: Color;
17
- variant?: ContainerVariant;
18
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
19
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
20
- is?: string | any;
21
- src?: string;
22
- size?: "sm" | "md" | "lg" | string | number;
23
- color?: Color;
24
- variant?: ContainerVariant;
25
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
26
- }> & Readonly<{}>, {
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
22
  color: Color;
28
23
  is: string | any;
29
24
  size: "sm" | "md" | "lg" | string | number;
30
25
  variant: ContainerVariant;
31
26
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
33
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
29
  export default _default;
35
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,15 +1,17 @@
1
- declare let __VLS_typeProps: {
1
+ type __VLS_Props = {
2
2
  label?: string;
3
3
  withBorder?: boolean;
4
4
  };
5
5
  type __VLS_PublicProps = {
6
6
  modelValue?: string;
7
- } & typeof __VLS_typeProps;
7
+ } & __VLS_Props;
8
8
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:modelValue": (modelValue: string) => any;
9
+ "update:modelValue": (value: string) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
12
  }>, {
13
13
  withBorder: boolean;
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ input: HTMLInputElement;
16
+ }, HTMLDivElement>;
15
17
  export default _default;
@@ -1,13 +1,10 @@
1
1
  import { Component } from 'vue';
2
- declare const _default: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
3
3
  color: string;
4
4
  is?: string | Component;
5
5
  withBorder?: boolean;
6
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
- color: string;
8
- is?: string | Component;
9
- withBorder?: boolean;
10
- }> & Readonly<{}>, {
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
8
  is: string | Component;
12
9
  withBorder: boolean;
13
10
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,27 +1,28 @@
1
- declare let __VLS_typeProps: {
1
+ type __VLS_Props = {
2
2
  persistent?: boolean;
3
3
  blur?: 'sm' | 'md' | 'lg' | boolean;
4
4
  position?: 'left' | 'right';
5
5
  };
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: boolean;
8
- } & typeof __VLS_typeProps;
8
+ } & __VLS_Props;
9
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
10
11
  slots: {
11
12
  default?(_: {}): any;
12
13
  };
13
14
  refs: {};
14
- attrs: Partial<{}>;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- "update:modelValue": (modelValue: boolean) => any;
19
+ "update:modelValue": (value: boolean) => any;
19
20
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
22
  }>, {
22
23
  position: "left" | "right";
23
- persistent: boolean;
24
24
  blur: "sm" | "md" | "lg" | boolean;
25
+ persistent: boolean;
25
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
28
  export default _default;