@equal-experts/kuat-vue 0.11.0 → 0.13.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 (157) hide show
  1. package/README.md +3 -1
  2. package/dist/{AccordionTrigger-BRz5PzEd.js → AccordionTrigger-BGVFRlgt.js} +1 -1
  3. package/dist/{AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js → AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DosgAcSM.js} +1 -1
  4. package/dist/{KuatSelect.vue_vue_type_script_setup_true_lang-DP66U_wg.js → KuatSelect.vue_vue_type_script_setup_true_lang-CT1xn9gs.js} +1 -1
  5. package/dist/accordion.js +1 -1
  6. package/dist/alert-dialog.js +1 -1
  7. package/dist/button-group.js +1 -1
  8. package/dist/checkbox.js +1 -1
  9. package/dist/{constants-Ils7NSfg.js → constants-BZKku54w.js} +1 -1
  10. package/dist/{constants-BpzIL1jq.js → constants-DC1CCNlp.js} +1 -1
  11. package/dist/{constants-D_fYMnOg.js → constants-DWBWMp2p.js} +1 -1
  12. package/dist/icon-button.js +12 -0
  13. package/dist/index-OELvcT-N.js +54 -0
  14. package/dist/{index-iz_NZI-V.js → index-Tp80OeHH.js} +1 -1
  15. package/dist/index-lZY__1xm.js +76 -0
  16. package/dist/index.js +1188 -392
  17. package/dist/radio.js +1 -1
  18. package/dist/select.js +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/switch.js +1 -1
  21. package/dist/toggle-group.js +1 -1
  22. package/package.json +5 -1
  23. package/dist/accordion.d.ts +0 -2
  24. package/dist/alert-dialog.d.ts +0 -2
  25. package/dist/badge.d.ts +0 -3
  26. package/dist/button-group.d.ts +0 -3
  27. package/dist/button.d.ts +0 -3
  28. package/dist/carousel.d.ts +0 -2
  29. package/dist/checkbox.d.ts +0 -3
  30. package/dist/components/ui/accordion/Accordion.vue.d.ts +0 -26
  31. package/dist/components/ui/accordion/AccordionContent.vue.d.ts +0 -27
  32. package/dist/components/ui/accordion/AccordionItem.vue.d.ts +0 -27
  33. package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +0 -28
  34. package/dist/components/ui/accordion/index.d.ts +0 -4
  35. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -26
  36. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -27
  37. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -27
  38. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -41
  39. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -27
  40. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -26
  41. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -26
  42. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -27
  43. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -22
  44. package/dist/components/ui/alert-dialog/index.d.ts +0 -9
  45. package/dist/components/ui/badge/Badge.vue.d.ts +0 -49
  46. package/dist/components/ui/badge/constants.d.ts +0 -4
  47. package/dist/components/ui/badge/index.d.ts +0 -14
  48. package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -34
  49. package/dist/components/ui/breadcrumb/index.d.ts +0 -2
  50. package/dist/components/ui/breadcrumb/types.d.ts +0 -8
  51. package/dist/components/ui/button/Button.vue.d.ts +0 -53
  52. package/dist/components/ui/button/constants.d.ts +0 -12
  53. package/dist/components/ui/button/index.d.ts +0 -12
  54. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +0 -43
  55. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +0 -32
  56. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -40
  57. package/dist/components/ui/button-group/constants.d.ts +0 -2
  58. package/dist/components/ui/button-group/index.d.ts +0 -14
  59. package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -59
  60. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -25
  61. package/dist/components/ui/carousel/CarouselItem.vue.d.ts +0 -32
  62. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -16
  63. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -16
  64. package/dist/components/ui/carousel/context.d.ts +0 -26
  65. package/dist/components/ui/carousel/index.d.ts +0 -7
  66. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +0 -13
  67. package/dist/components/ui/checkbox/CheckboxField.vue.d.ts +0 -68
  68. package/dist/components/ui/checkbox/constants.d.ts +0 -4
  69. package/dist/components/ui/checkbox/index.d.ts +0 -4
  70. package/dist/components/ui/content-card/ContentCard.vue.d.ts +0 -72
  71. package/dist/components/ui/content-card/index.d.ts +0 -1
  72. package/dist/components/ui/field/Field.vue.d.ts +0 -48
  73. package/dist/components/ui/field/FieldContent.vue.d.ts +0 -26
  74. package/dist/components/ui/field/FieldDescription.vue.d.ts +0 -26
  75. package/dist/components/ui/field/FieldError.vue.d.ts +0 -33
  76. package/dist/components/ui/field/FieldGroup.vue.d.ts +0 -26
  77. package/dist/components/ui/field/FieldLabel.vue.d.ts +0 -26
  78. package/dist/components/ui/field/FieldLegend.vue.d.ts +0 -43
  79. package/dist/components/ui/field/FieldSeparator.vue.d.ts +0 -26
  80. package/dist/components/ui/field/FieldSet.vue.d.ts +0 -26
  81. package/dist/components/ui/field/FieldTitle.vue.d.ts +0 -26
  82. package/dist/components/ui/field/constants.d.ts +0 -4
  83. package/dist/components/ui/field/index.d.ts +0 -12
  84. package/dist/components/ui/input/Input.vue.d.ts +0 -34
  85. package/dist/components/ui/input/constants.d.ts +0 -2
  86. package/dist/components/ui/input/index.d.ts +0 -3
  87. package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +0 -51
  88. package/dist/components/ui/kuat-carousel/KuatCarouselContent.vue.d.ts +0 -25
  89. package/dist/components/ui/kuat-carousel/KuatCarouselItem.vue.d.ts +0 -27
  90. package/dist/components/ui/kuat-carousel/KuatCarouselNext.vue.d.ts +0 -16
  91. package/dist/components/ui/kuat-carousel/KuatCarouselPrevious.vue.d.ts +0 -16
  92. package/dist/components/ui/kuat-carousel/index.d.ts +0 -6
  93. package/dist/components/ui/kuat-header/EELogo.vue.d.ts +0 -32
  94. package/dist/components/ui/kuat-header/KuatHeader.vue.d.ts +0 -55
  95. package/dist/components/ui/kuat-header/constants.d.ts +0 -4
  96. package/dist/components/ui/kuat-header/index.d.ts +0 -15
  97. package/dist/components/ui/kuat-logo-lockup/EELogoIcon.vue.d.ts +0 -18
  98. package/dist/components/ui/kuat-logo-lockup/KuatLogoLockup.vue.d.ts +0 -45
  99. package/dist/components/ui/kuat-logo-lockup/constants.d.ts +0 -4
  100. package/dist/components/ui/kuat-logo-lockup/index.d.ts +0 -4
  101. package/dist/components/ui/kuat-radial-progress/KuatRadialProgress.vue.d.ts +0 -52
  102. package/dist/components/ui/kuat-radial-progress/constants.d.ts +0 -4
  103. package/dist/components/ui/kuat-radial-progress/index.d.ts +0 -3
  104. package/dist/components/ui/radio/RadioField.vue.d.ts +0 -58
  105. package/dist/components/ui/radio/RadioGroup.vue.d.ts +0 -31
  106. package/dist/components/ui/radio/RadioGroupItem.vue.d.ts +0 -22
  107. package/dist/components/ui/radio/constants.d.ts +0 -4
  108. package/dist/components/ui/radio/index.d.ts +0 -5
  109. package/dist/components/ui/select/KuatSelect.vue.d.ts +0 -104
  110. package/dist/components/ui/select/Select.vue.d.ts +0 -28
  111. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -52
  112. package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -22
  113. package/dist/components/ui/select/SelectItem.vue.d.ts +0 -40
  114. package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -27
  115. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -18
  116. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -18
  117. package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -18
  118. package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -72
  119. package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
  120. package/dist/components/ui/select/constants.d.ts +0 -18
  121. package/dist/components/ui/select/index.d.ts +0 -13
  122. package/dist/components/ui/separator/Separator.vue.d.ts +0 -35
  123. package/dist/components/ui/separator/index.d.ts +0 -1
  124. package/dist/components/ui/sonner/KuatSonner.vue.d.ts +0 -54
  125. package/dist/components/ui/sonner/KuatSonnerContent.vue.d.ts +0 -53
  126. package/dist/components/ui/sonner/constants.d.ts +0 -2
  127. package/dist/components/ui/sonner/index.d.ts +0 -7
  128. package/dist/components/ui/sonner/toast.d.ts +0 -17
  129. package/dist/components/ui/switch/Switch.vue.d.ts +0 -13
  130. package/dist/components/ui/switch/SwitchField.vue.d.ts +0 -68
  131. package/dist/components/ui/switch/constants.d.ts +0 -4
  132. package/dist/components/ui/switch/index.d.ts +0 -4
  133. package/dist/components/ui/textarea/Textarea.vue.d.ts +0 -24
  134. package/dist/components/ui/textarea/constants.d.ts +0 -2
  135. package/dist/components/ui/textarea/index.d.ts +0 -3
  136. package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -42
  137. package/dist/components/ui/toggle/constants.d.ts +0 -4
  138. package/dist/components/ui/toggle/index.d.ts +0 -3
  139. package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +0 -45
  140. package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +0 -49
  141. package/dist/components/ui/toggle-group/constants.d.ts +0 -2
  142. package/dist/components/ui/toggle-group/index.d.ts +0 -4
  143. package/dist/field.d.ts +0 -3
  144. package/dist/index-A7umpmtg.js +0 -37
  145. package/dist/index.d.ts +0 -43
  146. package/dist/input.d.ts +0 -3
  147. package/dist/kuat-carousel.d.ts +0 -2
  148. package/dist/lib/utils.d.ts +0 -3
  149. package/dist/radio.d.ts +0 -3
  150. package/dist/select.d.ts +0 -3
  151. package/dist/sonner.d.ts +0 -1
  152. package/dist/style.css.d.ts +0 -2
  153. package/dist/switch.d.ts +0 -1
  154. package/dist/test/setup.d.ts +0 -1
  155. package/dist/textarea.d.ts +0 -3
  156. package/dist/toggle-group.d.ts +0 -5
  157. package/dist/toggle.d.ts +0 -3
@@ -1,52 +0,0 @@
1
- import { HTMLAttributes } from 'vue';
2
- import { KuatRadialProgressColor, KuatRadialProgressSize } from './constants';
3
-
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- /** Value from 0 to 100 */
6
- value: number;
7
- size?: KuatRadialProgressSize;
8
- /** Bar colour from Kuat palette */
9
- color?: KuatRadialProgressColor;
10
- /** When true, animate from 0 to value on mount */
11
- animate?: boolean;
12
- class?: HTMLAttributes["class"];
13
- }>, {
14
- size: string;
15
- color: string;
16
- animate: boolean;
17
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
- /** Value from 0 to 100 */
19
- value: number;
20
- size?: KuatRadialProgressSize;
21
- /** Bar colour from Kuat palette */
22
- color?: KuatRadialProgressColor;
23
- /** When true, animate from 0 to value on mount */
24
- animate?: boolean;
25
- class?: HTMLAttributes["class"];
26
- }>, {
27
- size: string;
28
- color: string;
29
- animate: boolean;
30
- }>>> & Readonly<{}>, {
31
- size: KuatRadialProgressSize;
32
- animate: boolean;
33
- color: KuatRadialProgressColor;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
- export default _default;
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToRuntimeProps<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
- type __VLS_WithDefaults<P, D> = {
46
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
- default: D[K];
48
- }> : P[K];
49
- };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
@@ -1,4 +0,0 @@
1
- export declare const KUAT_RADIAL_PROGRESS_SIZES: readonly ["mini", "small", "medium", "large"];
2
- export declare const KUAT_RADIAL_PROGRESS_COLORS: readonly ["default", "primary", "ee-blue", "tech-blue", "transform-teal", "equal-ember"];
3
- export type KuatRadialProgressSize = (typeof KUAT_RADIAL_PROGRESS_SIZES)[number];
4
- export type KuatRadialProgressColor = (typeof KUAT_RADIAL_PROGRESS_COLORS)[number];
@@ -1,3 +0,0 @@
1
- export { default as KuatRadialProgress } from './KuatRadialProgress.vue';
2
- export { KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './constants';
3
- export type { KuatRadialProgressSize, KuatRadialProgressColor } from './constants';
@@ -1,58 +0,0 @@
1
- import { HTMLAttributes } from 'vue';
2
- import { RadioFieldAppearance, RadioFieldLayout } from './constants';
3
-
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- class?: HTMLAttributes["class"];
6
- /** @deprecated Prefer composing `Field` + `RadioGroupItem` for new form layouts. */
7
- label: string;
8
- secondaryText?: string;
9
- appearance?: RadioFieldAppearance;
10
- layout?: RadioFieldLayout;
11
- flipped?: boolean;
12
- id?: string;
13
- disabled?: boolean;
14
- /** Must match a unique option value in the parent `RadioGroup`. */
15
- value: string;
16
- }>, {
17
- appearance: string;
18
- layout: string;
19
- flipped: boolean;
20
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
- class?: HTMLAttributes["class"];
22
- /** @deprecated Prefer composing `Field` + `RadioGroupItem` for new form layouts. */
23
- label: string;
24
- secondaryText?: string;
25
- appearance?: RadioFieldAppearance;
26
- layout?: RadioFieldLayout;
27
- flipped?: boolean;
28
- id?: string;
29
- disabled?: boolean;
30
- /** Must match a unique option value in the parent `RadioGroup`. */
31
- value: string;
32
- }>, {
33
- appearance: string;
34
- layout: string;
35
- flipped: boolean;
36
- }>>> & Readonly<{}>, {
37
- appearance: RadioFieldAppearance;
38
- layout: RadioFieldLayout;
39
- flipped: boolean;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
- export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
51
- type __VLS_WithDefaults<P, D> = {
52
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
- default: D[K];
54
- }> : P[K];
55
- };
56
- type __VLS_Prettify<T> = {
57
- [K in keyof T]: T[K];
58
- } & {};
@@ -1,31 +0,0 @@
1
- import { HTMLAttributes } from 'vue';
2
- import { RadioGroupRootProps } 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<RadioGroupRootProps & {
8
- class?: HTMLAttributes["class"];
9
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (payload: string) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RadioGroupRootProps & {
12
- class?: HTMLAttributes["class"];
13
- }>>> & Readonly<{
14
- "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
- export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
- type __VLS_WithTemplateSlots<T, S> = T & {
28
- new (): {
29
- $slots: S;
30
- };
31
- };
@@ -1,22 +0,0 @@
1
- import { HTMLAttributes } from 'vue';
2
- import { RadioGroupItemProps } from 'reka-ui';
3
-
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RadioGroupItemProps & {
5
- class?: HTMLAttributes["class"];
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- select: (event: import('reka-ui').RadioGroupItemSelectEvent) => void;
8
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RadioGroupItemProps & {
9
- class?: HTMLAttributes["class"];
10
- }>>> & Readonly<{
11
- onSelect?: ((event: import('reka-ui').RadioGroupItemSelectEvent) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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
- };
@@ -1,4 +0,0 @@
1
- export declare const RADIO_FIELD_APPEARANCES: readonly ["plain", "card"];
2
- export type RadioFieldAppearance = (typeof RADIO_FIELD_APPEARANCES)[number];
3
- export declare const RADIO_FIELD_LAYOUTS: readonly ["inline", "block"];
4
- export type RadioFieldLayout = (typeof RADIO_FIELD_LAYOUTS)[number];
@@ -1,5 +0,0 @@
1
- export { default as RadioGroup } from './RadioGroup.vue';
2
- export { default as RadioGroupItem } from './RadioGroupItem.vue';
3
- export { default as RadioField } from './RadioField.vue';
4
- export { RADIO_FIELD_APPEARANCES, RADIO_FIELD_LAYOUTS } from './constants';
5
- export type { RadioFieldAppearance, RadioFieldLayout } from './constants';
@@ -1,104 +0,0 @@
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
- };
@@ -1,28 +0,0 @@
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
- };
@@ -1,52 +0,0 @@
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
- };
@@ -1,22 +0,0 @@
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
- };
@@ -1,40 +0,0 @@
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
- };
@@ -1,27 +0,0 @@
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
- };
@@ -1,18 +0,0 @@
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
- };
@@ -1,18 +0,0 @@
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
- };
@@ -1,18 +0,0 @@
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
- };
@@ -1,72 +0,0 @@
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
- };
@@ -1,18 +0,0 @@
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
- };
@@ -1,18 +0,0 @@
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;
@@ -1,13 +0,0 @@
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';