@hina-ui/vue 1.0.0 → 1.2.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 (162) hide show
  1. package/dist/index.js +769 -331
  2. package/dist/index.js.map +1 -1
  3. package/dist/types/components/accordion/AccordionContent.vue.d.ts.map +1 -1
  4. package/dist/types/components/avatar/AvatarGroup.vue.d.ts.map +1 -1
  5. package/dist/types/components/avatar/utils/children.d.ts +3 -0
  6. package/dist/types/components/avatar/utils/children.d.ts.map +1 -0
  7. package/dist/types/components/checkbox/Checkbox.vue.d.ts +2 -0
  8. package/dist/types/components/checkbox/Checkbox.vue.d.ts.map +1 -1
  9. package/dist/types/components/checkbox/checkbox.variants.d.ts +75 -2
  10. package/dist/types/components/checkbox/checkbox.variants.d.ts.map +1 -1
  11. package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts +32 -27
  12. package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts.map +1 -1
  13. package/dist/types/components/checkbox-group/checkbox-group.variants.d.ts +34 -0
  14. package/dist/types/components/checkbox-group/checkbox-group.variants.d.ts.map +1 -1
  15. package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts.map +1 -1
  16. package/dist/types/components/combobox/Combobox.vue.d.ts +38 -38
  17. package/dist/types/components/combobox/Combobox.vue.d.ts.map +1 -1
  18. package/dist/types/components/combobox/ComboboxList.vue.d.ts +22 -15
  19. package/dist/types/components/combobox/ComboboxList.vue.d.ts.map +1 -1
  20. package/dist/types/components/date-picker/DatePicker.vue.d.ts.map +1 -1
  21. package/dist/types/components/date-range-picker/DateRangePicker.vue.d.ts.map +1 -1
  22. package/dist/types/components/date-time-picker/DateTimePicker.vue.d.ts.map +1 -1
  23. package/dist/types/components/dialog/Dialog.vue.d.ts +22 -16
  24. package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
  25. package/dist/types/components/dialog/dialog.variants.d.ts +32 -2
  26. package/dist/types/components/dialog/dialog.variants.d.ts.map +1 -1
  27. package/dist/types/components/form-field/FormField.vue.d.ts +7 -4
  28. package/dist/types/components/form-field/FormField.vue.d.ts.map +1 -1
  29. package/dist/types/components/form-field/form-field.variants.d.ts +73 -1
  30. package/dist/types/components/form-field/form-field.variants.d.ts.map +1 -1
  31. package/dist/types/components/form-field/types.d.ts +6 -0
  32. package/dist/types/components/form-field/types.d.ts.map +1 -0
  33. package/dist/types/components/form-layout/FormLayout.vue.d.ts +2 -1
  34. package/dist/types/components/form-layout/FormLayout.vue.d.ts.map +1 -1
  35. package/dist/types/components/form-layout/context.d.ts +7 -0
  36. package/dist/types/components/form-layout/context.d.ts.map +1 -0
  37. package/dist/types/components/image/ImageGroup.vue.d.ts.map +1 -1
  38. package/dist/types/components/image/composables/useImageGroupState.d.ts +7 -0
  39. package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -0
  40. package/dist/types/components/input/Input.vue.d.ts +3 -3
  41. package/dist/types/components/input/Input.vue.d.ts.map +1 -1
  42. package/dist/types/components/input/InputBase.vue.d.ts +3 -3
  43. package/dist/types/components/input/InputBase.vue.d.ts.map +1 -1
  44. package/dist/types/components/input/input.variants.d.ts +53 -7
  45. package/dist/types/components/input/input.variants.d.ts.map +1 -1
  46. package/dist/types/components/input-group/InputGroup.vue.d.ts +3 -3
  47. package/dist/types/components/input-group/InputGroup.vue.d.ts.map +1 -1
  48. package/dist/types/components/input-group/context.d.ts +2 -1
  49. package/dist/types/components/input-group/context.d.ts.map +1 -1
  50. package/dist/types/components/input-group/input-group.variants.d.ts +13 -1
  51. package/dist/types/components/input-group/input-group.variants.d.ts.map +1 -1
  52. package/dist/types/components/listbox/Listbox.vue.d.ts +36 -29
  53. package/dist/types/components/listbox/Listbox.vue.d.ts.map +1 -1
  54. package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts +31 -0
  55. package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts.map +1 -0
  56. package/dist/types/components/listbox/listbox.variants.d.ts +19 -1
  57. package/dist/types/components/listbox/listbox.variants.d.ts.map +1 -1
  58. package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts +41 -43
  59. package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
  60. package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts +27 -0
  61. package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts.map +1 -0
  62. package/dist/types/components/multi-select/MultiSelect.vue.d.ts +39 -41
  63. package/dist/types/components/multi-select/MultiSelect.vue.d.ts.map +1 -1
  64. package/dist/types/components/number-input/NumberInput.vue.d.ts +3 -3
  65. package/dist/types/components/number-input/NumberInput.vue.d.ts.map +1 -1
  66. package/dist/types/components/number-input/number-input.variants.d.ts +10 -1
  67. package/dist/types/components/number-input/number-input.variants.d.ts.map +1 -1
  68. package/dist/types/components/password-input/PasswordInput.vue.d.ts +3 -3
  69. package/dist/types/components/password-input/PasswordInput.vue.d.ts.map +1 -1
  70. package/dist/types/components/radio-group/RadioGroup.vue.d.ts +32 -27
  71. package/dist/types/components/radio-group/RadioGroup.vue.d.ts.map +1 -1
  72. package/dist/types/components/scroll-area/scroll-restore.d.ts +0 -1
  73. package/dist/types/components/scroll-area/scroll-restore.d.ts.map +1 -1
  74. package/dist/types/components/search-input/SearchInput.vue.d.ts +3 -3
  75. package/dist/types/components/search-input/SearchInput.vue.d.ts.map +1 -1
  76. package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts +30 -30
  77. package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts.map +1 -1
  78. package/dist/types/components/select/Select.vue.d.ts +41 -37
  79. package/dist/types/components/select/Select.vue.d.ts.map +1 -1
  80. package/dist/types/components/select/SelectList.vue.d.ts +22 -15
  81. package/dist/types/components/select/SelectList.vue.d.ts.map +1 -1
  82. package/dist/types/components/select/composables/useClearTransition.d.ts +10 -0
  83. package/dist/types/components/select/composables/useClearTransition.d.ts.map +1 -0
  84. package/dist/types/components/select/select.variants.d.ts +16 -0
  85. package/dist/types/components/select/select.variants.d.ts.map +1 -1
  86. package/dist/types/components/select/types.d.ts +7 -7
  87. package/dist/types/components/select/types.d.ts.map +1 -1
  88. package/dist/types/components/switch/Switch.vue.d.ts +3 -0
  89. package/dist/types/components/switch/Switch.vue.d.ts.map +1 -1
  90. package/dist/types/components/tags-input/TagsInput.vue.d.ts.map +1 -1
  91. package/dist/types/components/textarea/Textarea.vue.d.ts.map +1 -1
  92. package/dist/types/components/textarea/composables/useTextareaSizing.d.ts +27 -0
  93. package/dist/types/components/textarea/composables/useTextareaSizing.d.ts.map +1 -0
  94. package/dist/types/components/textarea/textarea.variants.d.ts +9 -6
  95. package/dist/types/components/textarea/textarea.variants.d.ts.map +1 -1
  96. package/dist/types/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
  97. package/dist/types/index.d.ts +1 -0
  98. package/dist/types/index.d.ts.map +1 -1
  99. package/dist/types/lib/caret.d.ts +0 -4
  100. package/dist/types/lib/caret.d.ts.map +1 -1
  101. package/dist/types/lib/collapse.d.ts +2 -0
  102. package/dist/types/lib/collapse.d.ts.map +1 -1
  103. package/dist/types/lib/field-focus.d.ts +0 -4
  104. package/dist/types/lib/field-focus.d.ts.map +1 -1
  105. package/package.json +1 -1
  106. package/src/components/accordion/AccordionContent.vue +2 -11
  107. package/src/components/avatar/AvatarGroup.vue +3 -8
  108. package/src/components/avatar/utils/children.ts +7 -0
  109. package/src/components/checkbox/Checkbox.vue +25 -4
  110. package/src/components/checkbox/checkbox.variants.ts +34 -3
  111. package/src/components/checkbox-group/CheckboxGroup.vue +14 -5
  112. package/src/components/checkbox-group/checkbox-group.variants.ts +9 -0
  113. package/src/components/collapsible/CollapsibleContent.vue +2 -11
  114. package/src/components/combobox/Combobox.vue +4 -3
  115. package/src/components/combobox/ComboboxList.vue +3 -3
  116. package/src/components/date-picker/DatePicker.vue +1 -0
  117. package/src/components/date-range-picker/DateRangePicker.vue +1 -0
  118. package/src/components/date-time-picker/DateTimePicker.vue +1 -0
  119. package/src/components/dialog/Dialog.vue +70 -39
  120. package/src/components/dialog/dialog.variants.ts +9 -3
  121. package/src/components/form-field/FormField.vue +82 -37
  122. package/src/components/form-field/form-field.variants.ts +39 -0
  123. package/src/components/form-field/types.ts +5 -0
  124. package/src/components/form-layout/FormLayout.vue +13 -7
  125. package/src/components/form-layout/context.ts +19 -0
  126. package/src/components/image/ImageGroup.vue +2 -30
  127. package/src/components/image/composables/useImageGroupState.ts +35 -0
  128. package/src/components/input/Input.vue +3 -3
  129. package/src/components/input/InputBase.vue +6 -5
  130. package/src/components/input/input.variants.ts +19 -5
  131. package/src/components/input-group/InputGroup.vue +16 -5
  132. package/src/components/input-group/context.ts +2 -1
  133. package/src/components/input-group/input-group.variants.ts +8 -1
  134. package/src/components/listbox/Listbox.vue +26 -29
  135. package/src/components/listbox/ListboxOptionContent.vue +28 -0
  136. package/src/components/listbox/listbox.variants.ts +6 -1
  137. package/src/components/multi-combobox/MultiCombobox.vue +15 -52
  138. package/src/components/multi-combobox/composables/useMultiCombobox.ts +63 -0
  139. package/src/components/multi-select/MultiSelect.vue +4 -4
  140. package/src/components/number-input/NumberInput.vue +9 -7
  141. package/src/components/number-input/number-input.variants.ts +5 -1
  142. package/src/components/password-input/PasswordInput.vue +3 -3
  143. package/src/components/radio-group/RadioGroup.vue +29 -8
  144. package/src/components/scroll-area/scroll-restore.ts +0 -5
  145. package/src/components/search-input/SearchInput.vue +3 -3
  146. package/src/components/segmented-control/SegmentedControl.vue +3 -3
  147. package/src/components/select/Select.vue +69 -25
  148. package/src/components/select/SelectList.vue +3 -3
  149. package/src/components/select/composables/useClearTransition.ts +25 -0
  150. package/src/components/select/select.variants.ts +24 -0
  151. package/src/components/select/types.ts +10 -8
  152. package/src/components/switch/Switch.vue +26 -4
  153. package/src/components/tags-input/TagsInput.vue +1 -0
  154. package/src/components/textarea/Textarea.vue +3 -41
  155. package/src/components/textarea/composables/useTextareaSizing.ts +54 -0
  156. package/src/components/textarea/textarea.variants.ts +6 -5
  157. package/src/components/tree-select/TreeSelect.vue +1 -0
  158. package/src/index.ts +1 -0
  159. package/src/lib/caret.ts +0 -4
  160. package/src/lib/collapse.ts +21 -1
  161. package/src/lib/field-focus.ts +0 -4
  162. package/src/styles/interaction.css +6 -4
@@ -2,25 +2,35 @@ import { type VariantProps } from '../../lib/tv';
2
2
  export declare const dialogWrapper: import("tailwind-variants").TVReturnType<{
3
3
  placement: {
4
4
  center: "place-items-center p-4";
5
+ top: "items-start justify-items-center p-4";
5
6
  bottom: "items-end justify-items-center p-4";
6
7
  auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
7
8
  };
8
- }, undefined, "", {
9
+ }, undefined, "pointer-events-none fixed inset-0 z-(--hn-z-overlay) grid", {
9
10
  placement: {
10
11
  center: "place-items-center p-4";
12
+ top: "items-start justify-items-center p-4";
11
13
  bottom: "items-end justify-items-center p-4";
12
14
  auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
13
15
  };
14
16
  }, undefined, import("tailwind-variants").TVReturnTypeLike<{
15
17
  placement: {
16
18
  center: "place-items-center p-4";
19
+ top: "items-start justify-items-center p-4";
17
20
  bottom: "items-end justify-items-center p-4";
18
21
  auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
19
22
  };
20
23
  }, undefined>>;
21
24
  export declare const dialogCard: import("tailwind-variants").TVReturnType<{
25
+ padded: {
26
+ true: "gap-4 py-(--hn-panel-p)";
27
+ };
28
+ fitViewport: {
29
+ true: "max-h-[calc(100dvh-2rem)]";
30
+ };
22
31
  placement: {
23
32
  center: "hn-anim-modal";
33
+ top: "hn-anim-sheet-top";
24
34
  bottom: "hn-anim-sheet-bottom";
25
35
  auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
26
36
  };
@@ -28,10 +38,19 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
28
38
  sm: "max-w-sm";
29
39
  md: "max-w-md";
30
40
  lg: "max-w-xl";
41
+ xl: "max-w-2xl";
42
+ '2xl': "max-w-4xl";
43
+ };
44
+ }, undefined, "pointer-events-auto flex w-full flex-col shadow-lg outline-none", {
45
+ padded: {
46
+ true: "gap-4 py-(--hn-panel-p)";
47
+ };
48
+ fitViewport: {
49
+ true: "max-h-[calc(100dvh-2rem)]";
31
50
  };
32
- }, undefined, "", {
33
51
  placement: {
34
52
  center: "hn-anim-modal";
53
+ top: "hn-anim-sheet-top";
35
54
  bottom: "hn-anim-sheet-bottom";
36
55
  auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
37
56
  };
@@ -39,10 +58,19 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
39
58
  sm: "max-w-sm";
40
59
  md: "max-w-md";
41
60
  lg: "max-w-xl";
61
+ xl: "max-w-2xl";
62
+ '2xl': "max-w-4xl";
42
63
  };
43
64
  }, undefined, import("tailwind-variants").TVReturnTypeLike<{
65
+ padded: {
66
+ true: "gap-4 py-(--hn-panel-p)";
67
+ };
68
+ fitViewport: {
69
+ true: "max-h-[calc(100dvh-2rem)]";
70
+ };
44
71
  placement: {
45
72
  center: "hn-anim-modal";
73
+ top: "hn-anim-sheet-top";
46
74
  bottom: "hn-anim-sheet-bottom";
47
75
  auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
48
76
  };
@@ -50,6 +78,8 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
50
78
  sm: "max-w-sm";
51
79
  md: "max-w-md";
52
80
  lg: "max-w-xl";
81
+ xl: "max-w-2xl";
82
+ '2xl': "max-w-4xl";
53
83
  };
54
84
  }, undefined>>;
55
85
  export type DialogVariants = VariantProps<typeof dialogCard>;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/dialog.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;cAUxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAerB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/dialog.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;cAWxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBrB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import type { FormFieldLayoutProps } from './types';
2
+ type __VLS_Props = FormFieldLayoutProps & {
2
3
  name?: string;
3
4
  label?: string;
4
5
  description?: string;
@@ -7,13 +8,15 @@ type __VLS_Props = {
7
8
  disabled?: boolean;
8
9
  class?: string;
9
10
  };
10
- declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {};
11
+ declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
11
12
  type __VLS_Slots = {} & {
12
13
  label?: (props: typeof __VLS_1) => any;
13
14
  } & {
14
- default?: (props: typeof __VLS_9) => any;
15
+ description?: (props: typeof __VLS_9) => any;
15
16
  } & {
16
- description?: (props: typeof __VLS_11) => any;
17
+ default?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ description?: (props: typeof __VLS_13) => any;
17
20
  };
18
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1 +1 @@
1
- {"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form-field/FormField.vue"],"names":[],"mappings":"AA2HE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA6JJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOpD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form-field/FormField.vue"],"names":[],"mappings":"AA+JE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAcnD,KAAK,WAAW,GAAG,oBAAoB,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiNN,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACrF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOpD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,13 +1,85 @@
1
- export declare const formFieldRoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex min-w-0 flex-col gap-1.5", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
1
+ export declare const formFieldRoot: import("tailwind-variants").TVReturnType<{
2
+ orientation: {
3
+ vertical: "";
4
+ horizontal: "";
5
+ responsive: "@container/hn-form-field";
6
+ };
7
+ }, undefined, "min-w-0", {
8
+ orientation: {
9
+ vertical: "";
10
+ horizontal: "";
11
+ responsive: "@container/hn-form-field";
12
+ };
13
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
14
+ orientation: {
15
+ vertical: "";
16
+ horizontal: "";
17
+ responsive: "@container/hn-form-field";
18
+ };
19
+ }, undefined>>;
20
+ export declare const formFieldLayout: import("tailwind-variants").TVReturnType<{
21
+ orientation: {
22
+ vertical: "";
23
+ horizontal: "grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
24
+ responsive: "@min-[32rem]/hn-form-field:grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
25
+ };
26
+ }, undefined, "grid min-w-0 grid-cols-1 items-start gap-x-6 gap-y-1.5", {
27
+ orientation: {
28
+ vertical: "";
29
+ horizontal: "grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
30
+ responsive: "@min-[32rem]/hn-form-field:grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
31
+ };
32
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
33
+ orientation: {
34
+ vertical: "";
35
+ horizontal: "grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
36
+ responsive: "@min-[32rem]/hn-form-field:grid-cols-[var(--hn-form-label-width)_minmax(0,1fr)]";
37
+ };
38
+ }, undefined>>;
39
+ export declare const formFieldContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex min-w-0 flex-col gap-1.5", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
40
+ export declare const formFieldControl: import("tailwind-variants").TVReturnType<{
41
+ orientation: {
42
+ vertical: "";
43
+ horizontal: "grid min-h-[var(--hn-control-h-md)] items-center";
44
+ responsive: "@min-[32rem]/hn-form-field:grid @min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)] @min-[32rem]/hn-form-field:items-center";
45
+ };
46
+ }, undefined, "min-w-0", {
47
+ orientation: {
48
+ vertical: "";
49
+ horizontal: "grid min-h-[var(--hn-control-h-md)] items-center";
50
+ responsive: "@min-[32rem]/hn-form-field:grid @min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)] @min-[32rem]/hn-form-field:items-center";
51
+ };
52
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
53
+ orientation: {
54
+ vertical: "";
55
+ horizontal: "grid min-h-[var(--hn-control-h-md)] items-center";
56
+ responsive: "@min-[32rem]/hn-form-field:grid @min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)] @min-[32rem]/hn-form-field:items-center";
57
+ };
58
+ }, undefined>>;
2
59
  export declare const formFieldLabel: import("tailwind-variants").TVReturnType<{
60
+ orientation: {
61
+ vertical: "";
62
+ horizontal: "min-h-[var(--hn-control-h-md)]";
63
+ responsive: "@min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)]";
64
+ };
3
65
  disabled: {
4
66
  true: "text-disabled";
5
67
  };
6
68
  }, undefined, "text-fg inline-flex items-center gap-1 text-sm font-medium", {
69
+ orientation: {
70
+ vertical: "";
71
+ horizontal: "min-h-[var(--hn-control-h-md)]";
72
+ responsive: "@min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)]";
73
+ };
7
74
  disabled: {
8
75
  true: "text-disabled";
9
76
  };
10
77
  }, undefined, import("tailwind-variants").TVReturnTypeLike<{
78
+ orientation: {
79
+ vertical: "";
80
+ horizontal: "min-h-[var(--hn-control-h-md)]";
81
+ responsive: "@min-[32rem]/hn-form-field:min-h-[var(--hn-control-h-md)]";
82
+ };
11
83
  disabled: {
12
84
  true: "text-disabled";
13
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/form-field/form-field.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,0LAExB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;cAOzB,CAAA;AAEF,eAAO,MAAM,aAAa,6KAExB,CAAA;AAEF,eAAO,MAAM,oBAAoB,+KAE/B,CAAA;AAEF,eAAO,MAAM,gBAAgB,qLAE3B,CAAA"}
1
+ {"version":3,"file":"form-field.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/form-field/form-field.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;cASxB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;cAS1B,CAAA;AAEF,eAAO,MAAM,gBAAgB,0LAE3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;cAU3B,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,CAAA;AAEF,eAAO,MAAM,aAAa,6KAExB,CAAA;AAEF,eAAO,MAAM,oBAAoB,+KAE/B,CAAA;AAEF,eAAO,MAAM,gBAAgB,qLAE3B,CAAA"}
@@ -0,0 +1,6 @@
1
+ export interface FormFieldLayoutProps {
2
+ orientation?: 'vertical' | 'horizontal' | 'responsive';
3
+ descriptionPlacement?: 'label' | 'control';
4
+ labelWidth?: string | number;
5
+ }
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/form-field/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,YAAY,CAAA;IACtD,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC7B"}
@@ -1,5 +1,6 @@
1
+ import type { FormFieldLayoutProps } from '../form-field/types';
1
2
  import { type FormLayoutVariants } from './form-layout.variants';
2
- type __VLS_Props = {
3
+ type __VLS_Props = FormFieldLayoutProps & {
3
4
  legend?: string;
4
5
  description?: string;
5
6
  columns?: FormLayoutVariants['columns'];
@@ -1 +1 @@
1
- {"version":3,"file":"FormLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form-layout/FormLayout.vue"],"names":[],"mappings":"AAkEE,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAA;AAI/B,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2EN,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FormLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form-layout/FormLayout.vue"],"names":[],"mappings":"AAuEE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAG/D,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAA;AAI/B,KAAK,WAAW,GAAG,oBAAoB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA+ER,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type ComputedRef } from 'vue';
2
+ import type { FormFieldLayoutProps } from '../form-field/types';
3
+ type FieldLayout = ComputedRef<Required<FormFieldLayoutProps>>;
4
+ export declare function useFormFieldLayout(props: FormFieldLayoutProps): FieldLayout;
5
+ export declare function provideFormLayout(layout: FieldLayout): void;
6
+ export {};
7
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/form-layout/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,WAAW,EAAqB,MAAM,KAAK,CAAA;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,KAAK,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAA;AAG9D,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,WAAW,CAQ3E;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,QAEpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/ImageGroup.vue"],"names":[],"mappings":"AAqDE,KAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAmExC,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ImageGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/ImageGroup.vue"],"names":[],"mappings":"AAuBE,KAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAyCxC,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { LightboxItem } from '../../lightbox/types';
2
+ export declare function useImageGroupState(): {
3
+ items: import("vue").ComputedRef<LightboxItem[]>;
4
+ open: import("vue").ShallowRef<boolean, boolean>;
5
+ index: import("vue").ShallowRef<number, number>;
6
+ };
7
+ //# sourceMappingURL=useImageGroupState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useImageGroupState.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImageGroupState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,wBAAgB,kBAAkB;;;;EA8BjC"}
@@ -1,7 +1,7 @@
1
- import type { InputVariants } from './input.variants';
1
+ import type { TextInputVariants } from './input.variants';
2
2
  type __VLS_Props = {
3
- variant?: InputVariants['variant'];
4
- size?: InputVariants['size'];
3
+ variant?: TextInputVariants['variant'];
4
+ size?: TextInputVariants['size'];
5
5
  clearable?: boolean;
6
6
  loading?: boolean;
7
7
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.vue"],"names":[],"mappings":"AAgDE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIrD,KAAK,WAAW,GAA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iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAaJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgFxD,QAAA,IAAuB,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,QAAA,MAAM,UAAU;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
- import { type InputVariants } from './input.variants';
1
+ import { type TextInputVariants } from './input.variants';
2
2
  type __VLS_Props = {
3
- variant?: InputVariants['variant'];
4
- size?: InputVariants['size'];
3
+ variant?: TextInputVariants['variant'];
4
+ size?: TextInputVariants['size'];
5
5
  clearable?: boolean;
6
6
  loading?: boolean;
7
7
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"InputBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/InputBase.vue"],"names":[],"m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AAA;CACD,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { type VariantProps } from '../../lib/tv';
2
2
  export declare const inputHost: import("tailwind-variants").TVReturnType<{
3
3
  variant: {
4
- primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
5
- secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
4
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
5
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
6
6
  };
7
7
  size: {
8
8
  sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
@@ -11,8 +11,8 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
11
11
  };
12
12
  }, undefined, string[], {
13
13
  variant: {
14
- primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
15
- secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
14
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
15
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
16
16
  };
17
17
  size: {
18
18
  sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
@@ -21,8 +21,8 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
21
21
  };
22
22
  }, undefined, import("tailwind-variants").TVReturnTypeLike<{
23
23
  variant: {
24
- primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
25
- secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
24
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
25
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
26
26
  };
27
27
  size: {
28
28
  sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
@@ -30,6 +30,51 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
30
30
  lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
31
31
  };
32
32
  }, undefined>>;
33
+ export declare const textInputHost: import("tailwind-variants").TVReturnType<{
34
+ variant: {
35
+ bare: "rounded-none border-0 bg-transparent shadow-none outline-none";
36
+ };
37
+ }, undefined, undefined, {
38
+ variant: {
39
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
40
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
41
+ };
42
+ size: {
43
+ sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
44
+ md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
45
+ lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
46
+ };
47
+ }, undefined, import("tailwind-variants").TVReturnType<{
48
+ variant: {
49
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
50
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
51
+ };
52
+ size: {
53
+ sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
54
+ md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
55
+ lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
56
+ };
57
+ }, undefined, string[], {
58
+ variant: {
59
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
60
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
61
+ };
62
+ size: {
63
+ sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
64
+ md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
65
+ lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
66
+ };
67
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
68
+ variant: {
69
+ primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
70
+ secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
71
+ };
72
+ size: {
73
+ sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
74
+ md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
75
+ lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
76
+ };
77
+ }, undefined>>>;
33
78
  export declare const inputControl: import("tailwind-variants").TVReturnType<{
34
79
  leading: {
35
80
  true: "ps-0";
@@ -57,5 +102,6 @@ export declare const inputAction: import("tailwind-variants").TVReturnType<{} |
57
102
  export declare const inputIndicator: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "cursor-pointer outline-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
58
103
  export declare const inputActionSlot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex shrink-0 items-stretch self-stretch", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
59
104
  export type InputVariants = VariantProps<typeof inputHost>;
60
- export declare const inputEmbedded: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex min-w-0 flex-1 items-stretch", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
105
+ export type TextInputVariants = VariantProps<typeof textInputHost>;
106
+ export declare const inputEmbedded: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
61
107
  //# sourceMappingURL=input.variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input/input.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBpB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;cAavB,CAAA;AAEF,eAAO,MAAM,cAAc,mKAKzB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAMtB,CAAA;AAEF,eAAO,MAAM,cAAc,wLAEzB,CAAA;AAEF,eAAO,MAAM,eAAe,qMAE1B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA;AAE1D,eAAO,MAAM,aAAa,8LAExB,CAAA"}
1
+ {"version":3,"file":"input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input/input.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBpB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAOxB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;cAavB,CAAA;AAEF,eAAO,MAAM,cAAc,mKAKzB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAMtB,CAAA;AAEF,eAAO,MAAM,cAAc,wLAEzB,CAAA;AAEF,eAAO,MAAM,eAAe,qMAE1B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA;AAC1D,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAA;AAElE,eAAO,MAAM,aAAa,mKAMxB,CAAA"}
@@ -1,7 +1,7 @@
1
- import { type InputVariants } from '../input/input.variants';
1
+ import { type TextInputVariants } from '../input/input.variants';
2
2
  type __VLS_Props = {
3
- variant?: InputVariants['variant'];
4
- size?: InputVariants['size'];
3
+ variant?: TextInputVariants['variant'];
4
+ size?: TextInputVariants['size'];
5
5
  disabled?: boolean;
6
6
  invalid?: boolean;
7
7
  class?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/InputGroup.vue"],"names":[],"mappings":"AAyCE,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAA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K,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type ComputedRef } from 'vue';
2
- import type { InputVariants } from '../input/input.variants';
2
+ import type { InputVariants, TextInputVariants } from '../input/input.variants';
3
3
  export interface InputGroupContext {
4
+ variant?: ComputedRef<TextInputVariants['variant']>;
4
5
  size: ComputedRef<InputVariants['size']>;
5
6
  disabled: ComputedRef<boolean>;
6
7
  invalid: ComputedRef<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,WAAW,EAAqB,MAAM,KAAK,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAA;IACxC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC9B;AAID,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,QAE3D;AAED,wBAAgB,gBAAgB,6BAE/B"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,WAAW,EAAqB,MAAM,KAAK,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAE/E,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IACnD,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAA;IACxC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC9B;AAID,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,QAE3D;AAED,wBAAgB,gBAAgB,6BAE/B"}
@@ -1,3 +1,15 @@
1
- export declare const inputGroup: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
1
+ export declare const inputGroup: import("tailwind-variants").TVReturnType<{
2
+ divided: {
3
+ true: "[&>*+*]:border-s [&>*+*]:border-s-line";
4
+ };
5
+ }, undefined, string[], {
6
+ divided: {
7
+ true: "[&>*+*]:border-s [&>*+*]:border-s-line";
8
+ };
9
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
10
+ divided: {
11
+ true: "[&>*+*]:border-s [&>*+*]:border-s-line";
12
+ };
13
+ }, undefined>>;
2
14
  export declare const inputGroupAddon: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-muted flex shrink-0 items-center gap-2 px-[var(--hn-input-px)] whitespace-nowrap [&>svg]:size-[var(--hn-input-icon)]", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
3
15
  //# sourceMappingURL=input-group.variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-group.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/input-group.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mKAMrB,CAAA;AAEF,eAAO,MAAM,eAAe,sRAE1B,CAAA"}
1
+ {"version":3,"file":"input-group.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/input-group.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;cAarB,CAAA;AAEF,eAAO,MAAM,eAAe,sRAE1B,CAAA"}
@@ -1,35 +1,42 @@
1
1
  import { type SelectItems, type SelectOption } from '../select/types';
2
2
  import { type ListboxVariants } from './listbox.variants';
3
- type __VLS_Props = {
4
- options: SelectItems;
5
- multiple?: boolean;
6
- maxHeight?: string;
7
- variant?: ListboxVariants['variant'];
8
- disabled?: boolean;
9
- class?: string;
10
- };
11
- type __VLS_Slots = {
12
- option(props: {
13
- option: SelectOption;
14
- }): unknown;
15
- };
16
- type __VLS_ModelProps = {
17
- modelValue?: string | number | null | Array<string | number>;
3
+ declare const __VLS_export: <T extends SelectOption = SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
5
+ options: SelectItems<T>;
6
+ multiple?: boolean;
7
+ maxHeight?: string;
8
+ padded?: boolean;
9
+ variant?: ListboxVariants["variant"];
10
+ disabled?: boolean;
11
+ class?: string;
12
+ } & {
13
+ modelValue?: string | number | null | Array<string | number>;
14
+ }) & {
15
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null | undefined) => any) | undefined;
16
+ }> & (typeof globalThis extends {
17
+ __VLS_PROPS_FALLBACK: infer P;
18
+ } ? P : {});
19
+ expose: (exposed: {}) => void;
20
+ attrs: any;
21
+ slots: {
22
+ option?(props: {
23
+ option: T;
24
+ selected: boolean;
25
+ }): unknown;
26
+ trailing?(props: {
27
+ option: T;
28
+ selected: boolean;
29
+ }): unknown;
30
+ };
31
+ emit: (event: "update:modelValue", value: string | number | (string | number)[] | null | undefined) => void;
32
+ }>) => import("vue").VNode & {
33
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
18
34
  };
19
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
20
- declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- "update:modelValue": (value: string | number | (string | number)[] | null | undefined) => any;
22
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null | undefined) => any) | undefined;
24
- }>, {
25
- maxHeight: string;
26
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
35
  declare const _default: typeof __VLS_export;
29
36
  export default _default;
30
- type __VLS_WithSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
37
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
38
+ [K in keyof T]: T[K];
39
+ } : {
40
+ [K in keyof T as K]: T[K];
41
+ }) & {};
35
42
  //# sourceMappingURL=Listbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Listbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/Listbox.vue"],"names":[],"mappings":"AAwHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACpF,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAIlF,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,WAAW,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CAC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AAE,WAAW,GAAG,mBAAmB,CAAC;iBAlSzC,WAAW,CAAC,CAAC,CAAC;mBACZ,OAAO;oBACN,MAAM;iBACT,OAAO;kBACN,eAAe,CAAC,SAAS,CAAC;mBACzB,OAAO;gBACV,MAAM;;qBAuBP,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;;;KAqQ+B,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBApRQ;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;yBACxC;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;;EAuR3D,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { SelectOption } from '../select/types';
2
+ declare const __VLS_export: <T extends SelectOption = SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
4
+ option: T;
5
+ }> & (typeof globalThis extends {
6
+ __VLS_PROPS_FALLBACK: infer P;
7
+ } ? P : {});
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {
11
+ option?(props: {
12
+ option: T;
13
+ selected: boolean;
14
+ }): unknown;
15
+ trailing?(props: {
16
+ option: T;
17
+ selected: boolean;
18
+ }): unknown;
19
+ };
20
+ emit: {};
21
+ }>) => import("vue").VNode & {
22
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
23
+ };
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
27
+ [K in keyof T]: T[K];
28
+ } : {
29
+ [K in keyof T as K]: T[K];
30
+ }) & {};
31
+ //# sourceMappingURL=ListboxOptionContent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListboxOptionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/ListboxOptionContent.vue"],"names":[],"mappings":"AAiCE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA8FO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;gBA5FxB,CAAC;MA4F0C,GAAG,CAAC,OAAO,UAAU,SAA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