@equal-experts/kuat-vue 0.4.2 → 0.5.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 (89) hide show
  1. package/README.md +60 -142
  2. package/dist/FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js +119 -0
  3. package/dist/FieldTitle.vue_vue_type_script_setup_true_lang-Bu8UIwRT.js +108 -0
  4. package/dist/KuatSelect.vue_vue_type_script_setup_true_lang-DP66U_wg.js +493 -0
  5. package/dist/Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js +38 -0
  6. package/dist/accordion.js +7 -6
  7. package/dist/alert-dialog.js +13 -12
  8. package/dist/badge.js +4 -3
  9. package/dist/button-group.js +7 -6
  10. package/dist/button.js +4 -3
  11. package/dist/checkbox.d.ts +3 -0
  12. package/dist/checkbox.js +10 -0
  13. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +13 -0
  14. package/dist/components/ui/checkbox/CheckboxField.vue.d.ts +68 -0
  15. package/dist/components/ui/checkbox/constants.d.ts +4 -0
  16. package/dist/components/ui/checkbox/index.d.ts +4 -0
  17. package/dist/components/ui/field/Field.vue.d.ts +48 -0
  18. package/dist/components/ui/field/FieldContent.vue.d.ts +26 -0
  19. package/dist/components/ui/field/FieldDescription.vue.d.ts +26 -0
  20. package/dist/components/ui/field/FieldError.vue.d.ts +33 -0
  21. package/dist/components/ui/field/FieldGroup.vue.d.ts +26 -0
  22. package/dist/components/ui/field/FieldLabel.vue.d.ts +26 -0
  23. package/dist/components/ui/field/FieldLegend.vue.d.ts +43 -0
  24. package/dist/components/ui/field/FieldSeparator.vue.d.ts +26 -0
  25. package/dist/components/ui/field/FieldSet.vue.d.ts +26 -0
  26. package/dist/components/ui/field/FieldTitle.vue.d.ts +26 -0
  27. package/dist/components/ui/field/constants.d.ts +4 -0
  28. package/dist/components/ui/field/index.d.ts +12 -0
  29. package/dist/components/ui/input/Input.vue.d.ts +34 -0
  30. package/dist/components/ui/input/constants.d.ts +2 -0
  31. package/dist/components/ui/input/index.d.ts +3 -0
  32. package/dist/components/ui/radio/RadioField.vue.d.ts +58 -0
  33. package/dist/components/ui/radio/RadioGroup.vue.d.ts +31 -0
  34. package/dist/components/ui/radio/RadioGroupItem.vue.d.ts +22 -0
  35. package/dist/components/ui/radio/constants.d.ts +4 -0
  36. package/dist/components/ui/radio/index.d.ts +5 -0
  37. package/dist/components/ui/select/KuatSelect.vue.d.ts +104 -0
  38. package/dist/components/ui/select/Select.vue.d.ts +28 -0
  39. package/dist/components/ui/select/SelectContent.vue.d.ts +52 -0
  40. package/dist/components/ui/select/SelectGroup.vue.d.ts +22 -0
  41. package/dist/components/ui/select/SelectItem.vue.d.ts +40 -0
  42. package/dist/components/ui/select/SelectLabel.vue.d.ts +27 -0
  43. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
  44. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
  45. package/dist/components/ui/select/SelectSeparator.vue.d.ts +18 -0
  46. package/dist/components/ui/select/SelectTrigger.vue.d.ts +72 -0
  47. package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
  48. package/dist/components/ui/select/constants.d.ts +18 -0
  49. package/dist/components/ui/select/index.d.ts +13 -0
  50. package/dist/components/ui/switch/Switch.vue.d.ts +13 -0
  51. package/dist/components/ui/switch/SwitchField.vue.d.ts +68 -0
  52. package/dist/components/ui/switch/constants.d.ts +4 -0
  53. package/dist/components/ui/switch/index.d.ts +4 -0
  54. package/dist/components/ui/textarea/Textarea.vue.d.ts +24 -0
  55. package/dist/components/ui/textarea/constants.d.ts +2 -0
  56. package/dist/components/ui/textarea/index.d.ts +3 -0
  57. package/dist/components/ui/toggle/Toggle.vue.d.ts +42 -0
  58. package/dist/components/ui/toggle/constants.d.ts +4 -0
  59. package/dist/components/ui/toggle/index.d.ts +3 -0
  60. package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +45 -0
  61. package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +49 -0
  62. package/dist/components/ui/toggle-group/constants.d.ts +2 -0
  63. package/dist/components/ui/toggle-group/index.d.ts +4 -0
  64. package/dist/constants-4SN0MW4f.js +61 -0
  65. package/dist/constants-BpzIL1jq.js +141 -0
  66. package/dist/constants-CXAkjttx.js +5 -0
  67. package/dist/constants-CpIWAssv.js +32 -0
  68. package/dist/constants-D_fYMnOg.js +154 -0
  69. package/dist/constants-Ils7NSfg.js +131 -0
  70. package/dist/field.d.ts +3 -0
  71. package/dist/field.js +19 -0
  72. package/dist/index.d.ts +18 -0
  73. package/dist/index.js +781 -721
  74. package/dist/input.d.ts +3 -0
  75. package/dist/input.js +8 -0
  76. package/dist/radio.d.ts +3 -0
  77. package/dist/radio.js +11 -0
  78. package/dist/select.d.ts +3 -0
  79. package/dist/select.js +19 -0
  80. package/dist/style.css +1 -1
  81. package/dist/switch.d.ts +1 -0
  82. package/dist/switch.js +7 -0
  83. package/dist/textarea.d.ts +3 -0
  84. package/dist/textarea.js +8 -0
  85. package/dist/toggle-group.d.ts +5 -0
  86. package/dist/toggle-group.js +71 -0
  87. package/dist/toggle.d.ts +3 -0
  88. package/dist/toggle.js +10 -0
  89. package/package.json +47 -11
@@ -0,0 +1,104 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectContentProps, SelectRootProps } from 'reka-ui';
3
+ import { SelectItems, SelectLines, SelectSize } from './constants';
4
+
5
+ declare function __VLS_template(): {
6
+ default?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectRootProps<import('reka-ui').AcceptableValue> & {
9
+ class?: HTMLAttributes["class"];
10
+ triggerClass?: HTMLAttributes["class"];
11
+ contentClass?: HTMLAttributes["class"];
12
+ items?: SelectItems;
13
+ placeholder?: string;
14
+ size?: SelectSize;
15
+ lines?: SelectLines;
16
+ label?: string;
17
+ prepend?: string;
18
+ decoration?: string;
19
+ invalid?: boolean;
20
+ position?: SelectContentProps["position"];
21
+ maxHeight?: number | string;
22
+ emptyText?: string;
23
+ }>, {
24
+ items: () => never[];
25
+ placeholder: string;
26
+ size: string;
27
+ lines: string;
28
+ label: undefined;
29
+ prepend: undefined;
30
+ decoration: undefined;
31
+ invalid: boolean;
32
+ position: string;
33
+ maxHeight: number;
34
+ emptyText: string;
35
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (value: string) => void;
37
+ "update:open": (open: boolean) => void;
38
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectRootProps<import('reka-ui').AcceptableValue> & {
39
+ class?: HTMLAttributes["class"];
40
+ triggerClass?: HTMLAttributes["class"];
41
+ contentClass?: HTMLAttributes["class"];
42
+ items?: SelectItems;
43
+ placeholder?: string;
44
+ size?: SelectSize;
45
+ lines?: SelectLines;
46
+ label?: string;
47
+ prepend?: string;
48
+ decoration?: string;
49
+ invalid?: boolean;
50
+ position?: SelectContentProps["position"];
51
+ maxHeight?: number | string;
52
+ emptyText?: string;
53
+ }>, {
54
+ items: () => never[];
55
+ placeholder: string;
56
+ size: string;
57
+ lines: string;
58
+ label: undefined;
59
+ prepend: undefined;
60
+ decoration: undefined;
61
+ invalid: boolean;
62
+ position: string;
63
+ maxHeight: number;
64
+ emptyText: string;
65
+ }>>> & Readonly<{
66
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
67
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
68
+ }>, {
69
+ label: string;
70
+ size: SelectSize;
71
+ placeholder: string;
72
+ items: SelectItems;
73
+ position: "item-aligned" | "popper";
74
+ maxHeight: number | string;
75
+ prepend: string;
76
+ decoration: string;
77
+ lines: SelectLines;
78
+ invalid: boolean;
79
+ emptyText: string;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
82
+ export default _default;
83
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
84
+ type __VLS_TypePropsToRuntimeProps<T> = {
85
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
86
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
87
+ } : {
88
+ type: import('vue').PropType<T[K]>;
89
+ required: true;
90
+ };
91
+ };
92
+ type __VLS_WithDefaults<P, D> = {
93
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
94
+ default: D[K];
95
+ }> : P[K];
96
+ };
97
+ type __VLS_Prettify<T> = {
98
+ [K in keyof T]: T[K];
99
+ } & {};
100
+ type __VLS_WithTemplateSlots<T, S> = T & {
101
+ new (): {
102
+ $slots: S;
103
+ };
104
+ };
@@ -0,0 +1,28 @@
1
+ import { SelectRootProps } from 'reka-ui';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectRootProps<import('reka-ui').AcceptableValue>>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (...args: any[]) => void;
8
+ "update:open": (...args: any[]) => void;
9
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectRootProps<import('reka-ui').AcceptableValue>>>> & Readonly<{
10
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,52 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectContentProps } from 'reka-ui';
3
+ import { SelectSize } from './constants';
4
+
5
+ declare function __VLS_template(): {
6
+ default?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectContentProps & {
9
+ class?: HTMLAttributes["class"];
10
+ size?: SelectSize;
11
+ maxHeight?: string | number;
12
+ }>, {
13
+ position: string;
14
+ size: string;
15
+ maxHeight: number;
16
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectContentProps & {
17
+ class?: HTMLAttributes["class"];
18
+ size?: SelectSize;
19
+ maxHeight?: string | number;
20
+ }>, {
21
+ position: string;
22
+ size: string;
23
+ maxHeight: number;
24
+ }>>> & Readonly<{}>, {
25
+ size: SelectSize;
26
+ position: "item-aligned" | "popper";
27
+ maxHeight: string | number;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,22 @@
1
+ import { SelectGroupProps } from 'reka-ui';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectGroupProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectGroupProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,40 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectItemProps } from 'reka-ui';
3
+
4
+ declare function __VLS_template(): {
5
+ prepend?(_: {}): any;
6
+ default?(_: {}): any;
7
+ description?(_: {}): any;
8
+ decoration?(_: {}): any;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectItemProps<import('reka-ui').AcceptableValue> & {
11
+ class?: HTMLAttributes["class"];
12
+ prepend?: string;
13
+ description?: string;
14
+ decoration?: string;
15
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ select: (...args: any[]) => void;
17
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectItemProps<import('reka-ui').AcceptableValue> & {
18
+ class?: HTMLAttributes["class"];
19
+ prepend?: string;
20
+ description?: string;
21
+ decoration?: string;
22
+ }>>> & Readonly<{
23
+ onSelect?: ((...args: any[]) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,27 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectLabelProps } from 'reka-ui';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectLabelProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectLabelProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectScrollDownButtonProps } from 'reka-ui';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectScrollDownButtonProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectScrollDownButtonProps & {
7
+ class?: HTMLAttributes["class"];
8
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectScrollUpButtonProps } from 'reka-ui';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectScrollUpButtonProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectScrollUpButtonProps & {
7
+ class?: HTMLAttributes["class"];
8
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectSeparatorProps } from 'reka-ui';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectSeparatorProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectSeparatorProps & {
7
+ class?: HTMLAttributes["class"];
8
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
@@ -0,0 +1,72 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectTriggerProps } from 'reka-ui';
3
+ import { SelectLines, SelectSize } from './constants';
4
+
5
+ declare function __VLS_template(): {
6
+ prepend?(_: {}): any;
7
+ label?(_: {}): any;
8
+ default?(_: {}): any;
9
+ decoration?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectTriggerProps & {
12
+ class?: HTMLAttributes["class"];
13
+ size?: SelectSize;
14
+ lines?: SelectLines;
15
+ label?: string;
16
+ prepend?: string;
17
+ decoration?: string;
18
+ invalid?: boolean;
19
+ }>, {
20
+ size: string;
21
+ lines: string;
22
+ label: undefined;
23
+ prepend: undefined;
24
+ decoration: undefined;
25
+ invalid: boolean;
26
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectTriggerProps & {
27
+ class?: HTMLAttributes["class"];
28
+ size?: SelectSize;
29
+ lines?: SelectLines;
30
+ label?: string;
31
+ prepend?: string;
32
+ decoration?: string;
33
+ invalid?: boolean;
34
+ }>, {
35
+ size: string;
36
+ lines: string;
37
+ label: undefined;
38
+ prepend: undefined;
39
+ decoration: undefined;
40
+ invalid: boolean;
41
+ }>>> & Readonly<{}>, {
42
+ label: string;
43
+ size: SelectSize;
44
+ prepend: string;
45
+ decoration: string;
46
+ lines: SelectLines;
47
+ invalid: boolean;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
50
+ export default _default;
51
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
+ type __VLS_TypePropsToRuntimeProps<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: import('vue').PropType<T[K]>;
57
+ required: true;
58
+ };
59
+ };
60
+ type __VLS_WithDefaults<P, D> = {
61
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
+ default: D[K];
63
+ }> : P[K];
64
+ };
65
+ type __VLS_Prettify<T> = {
66
+ [K in keyof T]: T[K];
67
+ } & {};
68
+ type __VLS_WithTemplateSlots<T, S> = T & {
69
+ new (): {
70
+ $slots: S;
71
+ };
72
+ };
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectValueProps } from 'reka-ui';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectValueProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SelectValueProps & {
7
+ class?: HTMLAttributes["class"];
8
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ export declare const SELECT_SIZES: readonly ["regular", "large", "small", "mini"];
2
+ export type SelectSize = (typeof SELECT_SIZES)[number];
3
+ export declare const SELECT_LINES: readonly ["single", "double"];
4
+ export type SelectLines = (typeof SELECT_LINES)[number];
5
+ export interface SelectItemOption {
6
+ value: string;
7
+ label: string;
8
+ description?: string;
9
+ disabled?: boolean;
10
+ prepend?: string;
11
+ decoration?: string;
12
+ }
13
+ export interface SelectItemGroup {
14
+ label: string;
15
+ items: SelectItemOption[];
16
+ }
17
+ export type SelectItems = Array<SelectItemOption | SelectItemGroup>;
18
+ export declare function isSelectItemGroup(item: SelectItemOption | SelectItemGroup): item is SelectItemGroup;
@@ -0,0 +1,13 @@
1
+ export { default as KuatSelect } from './KuatSelect.vue';
2
+ export { default as Select } from './Select.vue';
3
+ export { default as SelectContent } from './SelectContent.vue';
4
+ export { default as SelectGroup } from './SelectGroup.vue';
5
+ export { default as SelectItem } from './SelectItem.vue';
6
+ export { default as SelectLabel } from './SelectLabel.vue';
7
+ export { default as SelectScrollDownButton } from './SelectScrollDownButton.vue';
8
+ export { default as SelectScrollUpButton } from './SelectScrollUpButton.vue';
9
+ export { default as SelectSeparator } from './SelectSeparator.vue';
10
+ export { default as SelectTrigger } from './SelectTrigger.vue';
11
+ export { default as SelectValue } from './SelectValue.vue';
12
+ export { SELECT_LINES, SELECT_SIZES } from './constants';
13
+ export type { SelectItemGroup, SelectItemOption, SelectItems, SelectLines, SelectSize, } from './constants';
@@ -0,0 +1,13 @@
1
+
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ modelValue: import('vue').PropType<boolean>;
4
+ class: {
5
+ type: import('vue').PropType<any>;
6
+ };
7
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ modelValue: import('vue').PropType<boolean>;
9
+ class: {
10
+ type: import('vue').PropType<any>;
11
+ };
12
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
@@ -0,0 +1,68 @@
1
+ import { SwitchFieldAppearance, SwitchFieldLayout } from './constants';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<boolean>;
5
+ disabled: {
6
+ type: import('vue').PropType<boolean>;
7
+ };
8
+ label: {
9
+ type: import('vue').PropType<string>;
10
+ required: true;
11
+ };
12
+ class: {
13
+ type: import('vue').PropType<any>;
14
+ };
15
+ id: {
16
+ type: import('vue').PropType<string>;
17
+ };
18
+ secondaryText: {
19
+ type: import('vue').PropType<string>;
20
+ };
21
+ appearance: {
22
+ type: import('vue').PropType<"plain" | "card">;
23
+ default: string;
24
+ };
25
+ layout: {
26
+ type: import('vue').PropType<"inline" | "block">;
27
+ default: string;
28
+ };
29
+ flipped: {
30
+ type: import('vue').PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
+ modelValue: import('vue').PropType<boolean>;
35
+ disabled: {
36
+ type: import('vue').PropType<boolean>;
37
+ };
38
+ label: {
39
+ type: import('vue').PropType<string>;
40
+ required: true;
41
+ };
42
+ class: {
43
+ type: import('vue').PropType<any>;
44
+ };
45
+ id: {
46
+ type: import('vue').PropType<string>;
47
+ };
48
+ secondaryText: {
49
+ type: import('vue').PropType<string>;
50
+ };
51
+ appearance: {
52
+ type: import('vue').PropType<"plain" | "card">;
53
+ default: string;
54
+ };
55
+ layout: {
56
+ type: import('vue').PropType<"inline" | "block">;
57
+ default: string;
58
+ };
59
+ flipped: {
60
+ type: import('vue').PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ }>> & Readonly<{}>, {
64
+ appearance: SwitchFieldAppearance;
65
+ layout: SwitchFieldLayout;
66
+ flipped: boolean;
67
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare const SWITCH_FIELD_APPEARANCES: readonly ["plain", "card"];
2
+ export type SwitchFieldAppearance = (typeof SWITCH_FIELD_APPEARANCES)[number];
3
+ export declare const SWITCH_FIELD_LAYOUTS: readonly ["inline", "block"];
4
+ export type SwitchFieldLayout = (typeof SWITCH_FIELD_LAYOUTS)[number];
@@ -0,0 +1,4 @@
1
+ export { default as Switch } from './Switch.vue';
2
+ export { default as SwitchField } from './SwitchField.vue';
3
+ export { SWITCH_FIELD_APPEARANCES, SWITCH_FIELD_LAYOUTS } from './constants';
4
+ export type { SwitchFieldAppearance, SwitchFieldLayout } from './constants';
@@ -0,0 +1,24 @@
1
+ import { TextareaResize } from './constants';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string>;
5
+ class: {
6
+ type: import('vue').PropType<any>;
7
+ };
8
+ resize: {
9
+ type: import('vue').PropType<"vertical" | "horizontal" | "none" | "both">;
10
+ default: string;
11
+ };
12
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ modelValue: import('vue').PropType<string>;
14
+ class: {
15
+ type: import('vue').PropType<any>;
16
+ };
17
+ resize: {
18
+ type: import('vue').PropType<"vertical" | "horizontal" | "none" | "both">;
19
+ default: string;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ resize: TextareaResize;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export declare const TEXTAREA_RESIZE: readonly ["none", "vertical", "horizontal", "both"];
2
+ export type TextareaResize = (typeof TEXTAREA_RESIZE)[number];
@@ -0,0 +1,3 @@
1
+ export { default as Textarea } from './Textarea.vue';
2
+ export { TEXTAREA_RESIZE } from './constants';
3
+ export type { TextareaResize } from './constants';
@@ -0,0 +1,42 @@
1
+ import { ToggleSize, ToggleSkin } from './constants';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ modelValue: import('vue').PropType<boolean>;
8
+ size: {
9
+ type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
10
+ default: string;
11
+ };
12
+ class: {
13
+ type: import('vue').PropType<any>;
14
+ };
15
+ skin: {
16
+ type: import('vue').PropType<"ghost" | "outlined">;
17
+ default: string;
18
+ };
19
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ modelValue: import('vue').PropType<boolean>;
21
+ size: {
22
+ type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
23
+ default: string;
24
+ };
25
+ class: {
26
+ type: import('vue').PropType<any>;
27
+ };
28
+ skin: {
29
+ type: import('vue').PropType<"ghost" | "outlined">;
30
+ default: string;
31
+ };
32
+ }>> & Readonly<{}>, {
33
+ size: ToggleSize;
34
+ skin: ToggleSkin;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,4 @@
1
+ export declare const TOGGLE_SIZES: readonly ["mini", "small", "regular", "large"];
2
+ export type ToggleSize = (typeof TOGGLE_SIZES)[number];
3
+ export declare const TOGGLE_SKINS: readonly ["outlined", "ghost"];
4
+ export type ToggleSkin = (typeof TOGGLE_SKINS)[number];
@@ -0,0 +1,3 @@
1
+ export { default as Toggle } from './Toggle.vue';
2
+ export { TOGGLE_SIZES, TOGGLE_SKINS } from './constants';
3
+ export type { ToggleSize, ToggleSkin } from './constants';