@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,68 @@
1
+ import { CheckboxFieldAppearance, CheckboxFieldLayout } from './constants';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<boolean | "indeterminate">;
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 | "indeterminate">;
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: CheckboxFieldAppearance;
65
+ layout: CheckboxFieldLayout;
66
+ flipped: boolean;
67
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare const CHECKBOX_FIELD_APPEARANCES: readonly ["plain", "card"];
2
+ export type CheckboxFieldAppearance = (typeof CHECKBOX_FIELD_APPEARANCES)[number];
3
+ export declare const CHECKBOX_FIELD_LAYOUTS: readonly ["inline", "block"];
4
+ export type CheckboxFieldLayout = (typeof CHECKBOX_FIELD_LAYOUTS)[number];
@@ -0,0 +1,4 @@
1
+ export { default as Checkbox } from './Checkbox.vue';
2
+ export { default as CheckboxField } from './CheckboxField.vue';
3
+ export { CHECKBOX_FIELD_APPEARANCES, CHECKBOX_FIELD_LAYOUTS } from './constants';
4
+ export type { CheckboxFieldAppearance, CheckboxFieldLayout } from './constants';
@@ -0,0 +1,48 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { FieldOrientation } from './constants';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ class?: HTMLAttributes["class"];
9
+ orientation?: FieldOrientation;
10
+ as?: string;
11
+ }>, {
12
+ orientation: string;
13
+ as: string;
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ class?: HTMLAttributes["class"];
16
+ orientation?: FieldOrientation;
17
+ as?: string;
18
+ }>, {
19
+ orientation: string;
20
+ as: string;
21
+ }>>> & Readonly<{}>, {
22
+ orientation: FieldOrientation;
23
+ as: string;
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_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,33 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ type FieldIssue = {
4
+ message?: string;
5
+ } | undefined;
6
+ declare function __VLS_template(): {
7
+ default?(_: {}): any;
8
+ };
9
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ class?: HTMLAttributes["class"];
11
+ errors?: FieldIssue[] | FieldIssue;
12
+ issues?: FieldIssue[];
13
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ class?: HTMLAttributes["class"];
15
+ errors?: FieldIssue[] | FieldIssue;
16
+ issues?: FieldIssue[];
17
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,43 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { FieldLegendVariant } from './constants';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ class?: HTMLAttributes["class"];
9
+ variant?: FieldLegendVariant;
10
+ }>, {
11
+ variant: string;
12
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ class?: HTMLAttributes["class"];
14
+ variant?: FieldLegendVariant;
15
+ }>, {
16
+ variant: string;
17
+ }>>> & Readonly<{}>, {
18
+ variant: FieldLegendVariant;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ export default _default;
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToRuntimeProps<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,4 @@
1
+ export declare const FIELD_ORIENTATIONS: readonly ["responsive", "vertical", "horizontal"];
2
+ export type FieldOrientation = (typeof FIELD_ORIENTATIONS)[number];
3
+ export declare const FIELD_LEGEND_VARIANTS: readonly ["legend", "label"];
4
+ export type FieldLegendVariant = (typeof FIELD_LEGEND_VARIANTS)[number];
@@ -0,0 +1,12 @@
1
+ export { default as Field } from './Field.vue';
2
+ export { default as FieldContent } from './FieldContent.vue';
3
+ export { default as FieldDescription } from './FieldDescription.vue';
4
+ export { default as FieldError } from './FieldError.vue';
5
+ export { default as FieldGroup } from './FieldGroup.vue';
6
+ export { default as FieldLabel } from './FieldLabel.vue';
7
+ export { default as FieldLegend } from './FieldLegend.vue';
8
+ export { default as FieldSeparator } from './FieldSeparator.vue';
9
+ export { default as FieldSet } from './FieldSet.vue';
10
+ export { default as FieldTitle } from './FieldTitle.vue';
11
+ export { FIELD_LEGEND_VARIANTS, FIELD_ORIENTATIONS } from './constants';
12
+ export type { FieldLegendVariant, FieldOrientation } from './constants';
@@ -0,0 +1,34 @@
1
+ import { InputSize } from './constants';
2
+
3
+ declare function __VLS_template(): {
4
+ leftDecoration?(_: {}): any;
5
+ rightDecoration?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: import('vue').PropType<string>;
9
+ size: {
10
+ type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
11
+ default: string;
12
+ };
13
+ class: {
14
+ type: import('vue').PropType<any>;
15
+ };
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ modelValue: import('vue').PropType<string>;
18
+ size: {
19
+ type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
20
+ default: string;
21
+ };
22
+ class: {
23
+ type: import('vue').PropType<any>;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ size: InputSize;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,2 @@
1
+ export declare const INPUT_SIZES: readonly ["regular", "large", "small", "mini"];
2
+ export type InputSize = (typeof INPUT_SIZES)[number];
@@ -0,0 +1,3 @@
1
+ export { default as Input } from './Input.vue';
2
+ export { INPUT_SIZES } from './constants';
3
+ export type { InputSize } from './constants';
@@ -0,0 +1,58 @@
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
+ } & {};
@@ -0,0 +1,31 @@
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
+ };
@@ -0,0 +1,22 @@
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
+ };
@@ -0,0 +1,4 @@
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];
@@ -0,0 +1,5 @@
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';