@hina-ui/vue 1.1.0 → 1.3.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 (175) hide show
  1. package/dist/index.js +1062 -528
  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/alert-dialog/AlertDialog.vue.d.ts +4 -0
  5. package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts.map +1 -1
  6. package/dist/types/components/alert-dialog/alert-dialog.variants.d.ts +5 -0
  7. package/dist/types/components/alert-dialog/alert-dialog.variants.d.ts.map +1 -0
  8. package/dist/types/components/alert-dialog/composables/useAlertDialogConfirm.d.ts +9 -0
  9. package/dist/types/components/alert-dialog/composables/useAlertDialogConfirm.d.ts.map +1 -0
  10. package/dist/types/components/alert-dialog/composables/useConfirmDelay.d.ts +3 -0
  11. package/dist/types/components/alert-dialog/composables/useConfirmDelay.d.ts.map +1 -0
  12. package/dist/types/components/anchor/Anchor.vue.d.ts.map +1 -1
  13. package/dist/types/components/avatar/AvatarGroup.vue.d.ts.map +1 -1
  14. package/dist/types/components/avatar/utils/children.d.ts +3 -0
  15. package/dist/types/components/avatar/utils/children.d.ts.map +1 -0
  16. package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts +32 -29
  17. package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts.map +1 -1
  18. package/dist/types/components/code-block/CodeBlock.vue.d.ts.map +1 -1
  19. package/dist/types/components/code-block/code-block.variants.d.ts +6 -0
  20. package/dist/types/components/code-block/code-block.variants.d.ts.map +1 -0
  21. package/dist/types/components/code-block/composables/useCodeHighlight.d.ts +7 -0
  22. package/dist/types/components/code-block/composables/useCodeHighlight.d.ts.map +1 -0
  23. package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts.map +1 -1
  24. package/dist/types/components/combobox/Combobox.vue.d.ts +38 -38
  25. package/dist/types/components/combobox/Combobox.vue.d.ts.map +1 -1
  26. package/dist/types/components/combobox/ComboboxList.vue.d.ts +22 -15
  27. package/dist/types/components/combobox/ComboboxList.vue.d.ts.map +1 -1
  28. package/dist/types/components/dialog/Dialog.vue.d.ts +22 -16
  29. package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
  30. package/dist/types/components/dialog/dialog.variants.d.ts +32 -2
  31. package/dist/types/components/dialog/dialog.variants.d.ts.map +1 -1
  32. package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +18 -6
  33. package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
  34. package/dist/types/components/highlight/Highlight.vue.d.ts +2 -0
  35. package/dist/types/components/highlight/Highlight.vue.d.ts.map +1 -1
  36. package/dist/types/components/highlight/composables/useHighlightMotion.d.ts +10 -0
  37. package/dist/types/components/highlight/composables/useHighlightMotion.d.ts.map +1 -0
  38. package/dist/types/components/image/ImageGroup.vue.d.ts.map +1 -1
  39. package/dist/types/components/image/composables/useImageGroupState.d.ts +7 -0
  40. package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -0
  41. package/dist/types/components/input/Input.vue.d.ts +3 -3
  42. package/dist/types/components/input/Input.vue.d.ts.map +1 -1
  43. package/dist/types/components/input/InputBase.vue.d.ts +3 -3
  44. package/dist/types/components/input/InputBase.vue.d.ts.map +1 -1
  45. package/dist/types/components/input/input.variants.d.ts +52 -6
  46. package/dist/types/components/input/input.variants.d.ts.map +1 -1
  47. package/dist/types/components/input-group/InputGroup.vue.d.ts +3 -3
  48. package/dist/types/components/input-group/InputGroup.vue.d.ts.map +1 -1
  49. package/dist/types/components/input-group/context.d.ts +2 -1
  50. package/dist/types/components/input-group/context.d.ts.map +1 -1
  51. package/dist/types/components/input-group/input-group.variants.d.ts +13 -1
  52. package/dist/types/components/input-group/input-group.variants.d.ts.map +1 -1
  53. package/dist/types/components/lightbox/LightboxThumbs.vue.d.ts.map +1 -1
  54. package/dist/types/components/listbox/Listbox.vue.d.ts +36 -29
  55. package/dist/types/components/listbox/Listbox.vue.d.ts.map +1 -1
  56. package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts +31 -0
  57. package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts.map +1 -0
  58. package/dist/types/components/listbox/listbox.variants.d.ts +19 -1
  59. package/dist/types/components/listbox/listbox.variants.d.ts.map +1 -1
  60. package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts +41 -43
  61. package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
  62. package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts +27 -0
  63. package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts.map +1 -0
  64. package/dist/types/components/multi-select/MultiSelect.vue.d.ts +39 -41
  65. package/dist/types/components/multi-select/MultiSelect.vue.d.ts.map +1 -1
  66. package/dist/types/components/number-input/NumberInput.vue.d.ts +3 -3
  67. package/dist/types/components/number-input/NumberInput.vue.d.ts.map +1 -1
  68. package/dist/types/components/number-input/number-input.variants.d.ts +10 -1
  69. package/dist/types/components/number-input/number-input.variants.d.ts.map +1 -1
  70. package/dist/types/components/password-input/PasswordInput.vue.d.ts +3 -3
  71. package/dist/types/components/password-input/PasswordInput.vue.d.ts.map +1 -1
  72. package/dist/types/components/popover/Popover.vue.d.ts +19 -6
  73. package/dist/types/components/popover/Popover.vue.d.ts.map +1 -1
  74. package/dist/types/components/popover/PopoverContent.vue.d.ts +29 -0
  75. package/dist/types/components/popover/PopoverContent.vue.d.ts.map +1 -0
  76. package/dist/types/components/popover/composables/usePopoverCloseFocus.d.ts +2 -0
  77. package/dist/types/components/popover/composables/usePopoverCloseFocus.d.ts.map +1 -0
  78. package/dist/types/components/radio-group/RadioGroup.vue.d.ts +32 -29
  79. package/dist/types/components/radio-group/RadioGroup.vue.d.ts.map +1 -1
  80. package/dist/types/components/scroll-area/ScrollArea.vue.d.ts.map +1 -1
  81. package/dist/types/components/scroll-area/composables/useScrollFocus.d.ts +17 -0
  82. package/dist/types/components/scroll-area/composables/useScrollFocus.d.ts.map +1 -0
  83. package/dist/types/components/scroll-area/scroll-restore.d.ts +0 -1
  84. package/dist/types/components/scroll-area/scroll-restore.d.ts.map +1 -1
  85. package/dist/types/components/search-input/SearchInput.vue.d.ts +3 -3
  86. package/dist/types/components/search-input/SearchInput.vue.d.ts.map +1 -1
  87. package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts +30 -30
  88. package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts.map +1 -1
  89. package/dist/types/components/select/Select.vue.d.ts +41 -37
  90. package/dist/types/components/select/Select.vue.d.ts.map +1 -1
  91. package/dist/types/components/select/SelectList.vue.d.ts +22 -15
  92. package/dist/types/components/select/SelectList.vue.d.ts.map +1 -1
  93. package/dist/types/components/select/composables/useClearTransition.d.ts +10 -0
  94. package/dist/types/components/select/composables/useClearTransition.d.ts.map +1 -0
  95. package/dist/types/components/select/select.variants.d.ts +16 -0
  96. package/dist/types/components/select/select.variants.d.ts.map +1 -1
  97. package/dist/types/components/select/types.d.ts +7 -7
  98. package/dist/types/components/select/types.d.ts.map +1 -1
  99. package/dist/types/components/tabs/TabsTrigger.vue.d.ts.map +1 -1
  100. package/dist/types/components/textarea/Textarea.vue.d.ts.map +1 -1
  101. package/dist/types/components/textarea/composables/useTextareaSizing.d.ts +27 -0
  102. package/dist/types/components/textarea/composables/useTextareaSizing.d.ts.map +1 -0
  103. package/dist/types/components/textarea/textarea.variants.d.ts +9 -6
  104. package/dist/types/components/textarea/textarea.variants.d.ts.map +1 -1
  105. package/dist/types/lib/anchored-overlay.d.ts +23 -0
  106. package/dist/types/lib/anchored-overlay.d.ts.map +1 -0
  107. package/dist/types/lib/caret.d.ts +0 -4
  108. package/dist/types/lib/caret.d.ts.map +1 -1
  109. package/dist/types/lib/collapse.d.ts +2 -0
  110. package/dist/types/lib/collapse.d.ts.map +1 -1
  111. package/dist/types/lib/field-focus.d.ts +0 -4
  112. package/dist/types/lib/field-focus.d.ts.map +1 -1
  113. package/package.json +1 -1
  114. package/src/components/accordion/AccordionContent.vue +2 -11
  115. package/src/components/alert-dialog/AlertDialog.vue +24 -36
  116. package/src/components/alert-dialog/alert-dialog.variants.ts +17 -0
  117. package/src/components/alert-dialog/composables/useAlertDialogConfirm.ts +29 -0
  118. package/src/components/alert-dialog/composables/useConfirmDelay.ts +37 -0
  119. package/src/components/anchor/Anchor.vue +1 -0
  120. package/src/components/avatar/AvatarGroup.vue +3 -8
  121. package/src/components/avatar/utils/children.ts +7 -0
  122. package/src/components/checkbox-group/CheckboxGroup.vue +3 -3
  123. package/src/components/code-block/CodeBlock.vue +15 -30
  124. package/src/components/code-block/code-block.variants.ts +21 -0
  125. package/src/components/code-block/composables/useCodeHighlight.ts +30 -0
  126. package/src/components/collapsible/CollapsibleContent.vue +2 -11
  127. package/src/components/combobox/Combobox.vue +3 -3
  128. package/src/components/combobox/ComboboxList.vue +3 -3
  129. package/src/components/dialog/Dialog.vue +70 -39
  130. package/src/components/dialog/dialog.variants.ts +9 -3
  131. package/src/components/dropdown-menu/DropdownMenu.vue +16 -4
  132. package/src/components/highlight/Highlight.vue +5 -4
  133. package/src/components/highlight/composables/useHighlightMotion.ts +22 -0
  134. package/src/components/image/ImageGroup.vue +2 -30
  135. package/src/components/image/composables/useImageGroupState.ts +35 -0
  136. package/src/components/input/Input.vue +3 -3
  137. package/src/components/input/InputBase.vue +5 -5
  138. package/src/components/input/input.variants.ts +13 -3
  139. package/src/components/input-group/InputGroup.vue +11 -4
  140. package/src/components/input-group/context.ts +2 -1
  141. package/src/components/input-group/input-group.variants.ts +8 -1
  142. package/src/components/lightbox/LightboxThumbs.vue +1 -0
  143. package/src/components/listbox/Listbox.vue +26 -29
  144. package/src/components/listbox/ListboxOptionContent.vue +28 -0
  145. package/src/components/listbox/listbox.variants.ts +6 -1
  146. package/src/components/multi-combobox/MultiCombobox.vue +14 -52
  147. package/src/components/multi-combobox/composables/useMultiCombobox.ts +63 -0
  148. package/src/components/multi-select/MultiSelect.vue +3 -4
  149. package/src/components/number-input/NumberInput.vue +8 -7
  150. package/src/components/number-input/number-input.variants.ts +5 -1
  151. package/src/components/password-input/PasswordInput.vue +3 -3
  152. package/src/components/popover/Popover.vue +21 -5
  153. package/src/components/popover/PopoverContent.vue +25 -0
  154. package/src/components/popover/composables/usePopoverCloseFocus.ts +17 -0
  155. package/src/components/radio-group/RadioGroup.vue +3 -3
  156. package/src/components/scroll-area/ScrollArea.vue +7 -5
  157. package/src/components/scroll-area/composables/useScrollFocus.ts +39 -0
  158. package/src/components/scroll-area/scroll-restore.ts +0 -5
  159. package/src/components/search-input/SearchInput.vue +3 -3
  160. package/src/components/segmented-control/SegmentedControl.vue +9 -4
  161. package/src/components/select/Select.vue +68 -25
  162. package/src/components/select/SelectList.vue +3 -3
  163. package/src/components/select/composables/useClearTransition.ts +25 -0
  164. package/src/components/select/select.variants.ts +24 -0
  165. package/src/components/select/types.ts +10 -8
  166. package/src/components/tabs/TabsTrigger.vue +6 -1
  167. package/src/components/textarea/Textarea.vue +2 -41
  168. package/src/components/textarea/composables/useTextareaSizing.ts +54 -0
  169. package/src/components/textarea/textarea.variants.ts +5 -4
  170. package/src/lib/anchored-overlay.ts +110 -0
  171. package/src/lib/caret.ts +0 -4
  172. package/src/lib/collapse.ts +21 -1
  173. package/src/lib/field-focus.ts +0 -4
  174. package/src/styles/interaction.css +4 -2
  175. package/src/styles/typography.css +9 -4
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionContent.vue"],"names":[],"mappings":"AAwCE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAwDxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/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":"AccordionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionContent.vue"],"names":[],"mappings":"AA8BE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAgDxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/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"}
@@ -2,6 +2,7 @@ type __VLS_Props = {
2
2
  title: string;
3
3
  description?: string;
4
4
  confirmText?: string;
5
+ confirmDelay?: number;
5
6
  cancelText?: string;
6
7
  tone?: 'accent' | 'danger';
7
8
  size?: 'sm' | 'md';
@@ -21,13 +22,16 @@ type __VLS_Slots = {} & {
21
22
  };
22
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
24
  cancel: () => any;
25
+ error: (error: unknown) => any;
24
26
  "update:open": (value: boolean | undefined) => any;
25
27
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
28
  onCancel?: (() => any) | undefined;
29
+ onError?: ((error: unknown) => any) | undefined;
27
30
  "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
28
31
  }>, {
29
32
  size: "sm" | "md";
30
33
  tone: "accent" | "danger";
34
+ confirmDelay: number;
31
35
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
36
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
37
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"AlertDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/alert-dialog/AlertDialog.vue"],"names":[],"mappings":"AA6IE,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC/B,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA+BN,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4SxD,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KA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,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;;;UA7UH,IAAI,GAAG,IAAI;UADX,QAAQ,GAAG,QAAQ;kBAFX,MAAM;6EAoVzB,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,5 @@
1
+ export declare const alertDialogHeader: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex min-w-0 flex-col gap-1.5 px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
2
+ export declare const alertDialogContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
3
+ export declare const alertDialogActions: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex justify-end gap-(--hn-inline-gap) px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
4
+ export declare const alertDialogCountdown: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "tabular-nums", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
5
+ //# sourceMappingURL=alert-dialog.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/alert-dialog/alert-dialog.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,4MAE5B,CAAA;AAEF,eAAO,MAAM,kBAAkB,8KAE7B,CAAA;AAEF,eAAO,MAAM,kBAAkB,qNAE7B,CAAA;AAEF,eAAO,MAAM,oBAAoB,yKAE/B,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { type Ref } from 'vue';
2
+ export declare function useAlertDialogConfirm(props: {
3
+ onConfirm?: () => unknown;
4
+ }, open: Ref<boolean | undefined>, onError: (error: unknown) => void, blocked?: () => boolean): {
5
+ busy: Ref<boolean, boolean>;
6
+ guard: (event: Event) => void;
7
+ confirm: () => Promise<void>;
8
+ };
9
+ //# sourceMappingURL=useAlertDialogConfirm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAlertDialogConfirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/composables/useAlertDialogConfirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAEnC,wBAAgB,qBAAqB,CACnC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;CAAE,EACpC,IAAI,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,EACjC,OAAO,GAAE,MAAM,OAAqB;;mBAId,KAAK;;EAkB5B"}
@@ -0,0 +1,3 @@
1
+ import { type Ref } from 'vue';
2
+ export declare function useConfirmDelay(open: Ref<boolean | undefined>, delay: () => number): Ref<number, number>;
3
+ //# sourceMappingURL=useConfirmDelay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfirmDelay.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/composables/useConfirmDelay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAErE,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAK,EAAE,MAAM,MAAM,uBAkClF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/anchor/Anchor.vue"],"names":[],"mappings":"AAqFE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAID,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA6HJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/anchor/Anchor.vue"],"names":[],"mappings":"AAsFE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAID,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA+HJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/AvatarGroup.vue"],"names":[],"mappings":"AA8CE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA4EJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"AvatarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/AvatarGroup.vue"],"names":[],"mappings":"AA0CE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsEJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,3 @@
1
+ import { type VNode } from 'vue';
2
+ export declare function flattenChildren(nodes: VNode[] | undefined): VNode[];
3
+ //# sourceMappingURL=children.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"children.d.ts","sourceRoot":"","sources":["../../../../../src/components/avatar/utils/children.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,KAAK,CAAA;AAE1C,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,SAAS,GAAG,KAAK,EAAE,CAInE"}
@@ -1,36 +1,39 @@
1
1
  import type { CheckboxVariants } from '../checkbox/checkbox.variants';
2
2
  import type { SelectOption } from '../select/types';
3
3
  import { type CheckboxGroupVariants } from './checkbox-group.variants';
4
- type __VLS_Props = {
5
- options: SelectOption[];
6
- orientation?: CheckboxGroupVariants['orientation'];
7
- size?: CheckboxVariants['size'];
8
- controlPlacement?: CheckboxVariants['controlPlacement'];
9
- block?: boolean;
10
- disabled?: boolean;
11
- invalid?: boolean;
12
- class?: string;
13
- };
14
- type __VLS_Slots = {
15
- option(props: {
16
- option: SelectOption;
17
- }): unknown;
18
- };
19
- type __VLS_ModelProps = {
20
- modelValue?: Array<string | number>;
4
+ 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<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
6
+ options: T[];
7
+ orientation?: CheckboxGroupVariants["orientation"];
8
+ size?: CheckboxVariants["size"];
9
+ controlPlacement?: CheckboxVariants["controlPlacement"];
10
+ block?: boolean;
11
+ disabled?: boolean;
12
+ invalid?: boolean;
13
+ class?: string;
14
+ } & {
15
+ modelValue?: Array<string | number>;
16
+ }) & {
17
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
18
+ }> & (typeof globalThis extends {
19
+ __VLS_PROPS_FALLBACK: infer P;
20
+ } ? P : {});
21
+ expose: (exposed: {}) => void;
22
+ attrs: any;
23
+ slots: {
24
+ option?(props: {
25
+ option: T;
26
+ }): unknown;
27
+ };
28
+ emit: (event: "update:modelValue", value: (string | number)[]) => void;
29
+ }>) => import("vue").VNode & {
30
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
21
31
  };
22
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
- declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- "update:modelValue": (value: (string | number)[]) => any;
25
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
27
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
32
  declare const _default: typeof __VLS_export;
30
33
  export default _default;
31
- type __VLS_WithSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
35
+ [K in keyof T]: T[K];
36
+ } : {
37
+ [K in keyof T as K]: T[K];
38
+ }) & {};
36
39
  //# sourceMappingURL=CheckboxGroup.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox-group/CheckboxGroup.vue"],"names":[],"mappings":"AA0EE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAA;IAClD,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAC/B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,CAAA;IACvD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAWF,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,CAAC;AAO1E,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CACnC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqGxD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AA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BAtH2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;;EA0HzD,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/CodeBlock.vue"],"names":[],"mappings":"AA6EE,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiJN,QAAA,MAAM,YAAY;cAnJD,OAAO;6EAsJtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/CodeBlock.vue"],"names":[],"mappings":"AAmEE,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsHN,QAAA,MAAM,YAAY;cAxHD,OAAO;6EA2HtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,6 @@
1
+ export declare const codeBlock: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative flex min-h-0 min-w-0 flex-col", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
2
+ export declare const codeBlockArea: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "hn-pre min-h-0 grow p-0", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
3
+ export declare const codeBlockContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "hn-pre-content m-0 w-max min-w-full", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
4
+ export declare const codeBlockActions: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "absolute top-2 end-2 flex items-center gap-2", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
5
+ export declare const codeBlockLabel: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-faint font-mono text-xs select-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
6
+ //# sourceMappingURL=code-block.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-block.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/code-block.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,mMAEpB,CAAA;AAEF,eAAO,MAAM,aAAa,oLAExB,CAAA;AAEF,eAAO,MAAM,gBAAgB,gMAE3B,CAAA;AAEF,eAAO,MAAM,gBAAgB,yMAE3B,CAAA;AAEF,eAAO,MAAM,cAAc,qMAEzB,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { ThemedToken } from 'shiki/core';
2
+ export declare function useCodeHighlight(props: {
3
+ code: string;
4
+ lang?: string;
5
+ html?: string;
6
+ }): import("vue").ShallowRef<ThemedToken[][] | null, ThemedToken[][] | null>;
7
+ //# sourceMappingURL=useCodeHighlight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCodeHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/code-block/composables/useCodeHighlight.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAI7C,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,4EAwBrF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/collapsible/CollapsibleContent.vue"],"names":[],"mappings":"AAyCE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAuDxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/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":"CollapsibleContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/collapsible/CollapsibleContent.vue"],"names":[],"mappings":"AA+BE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA+CxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/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,44 +1,44 @@
1
1
  import { type InputVariants } from '../input/input.variants';
2
2
  import { type SelectItems, type SelectOption } from '../select/types';
3
- type __VLS_Props = {
4
- options: SelectItems;
5
- placeholder?: string;
6
- ignoreFilter?: boolean;
7
- clearable?: boolean;
8
- variant?: InputVariants['variant'];
9
- size?: InputVariants['size'];
10
- disabled?: boolean;
11
- invalid?: boolean;
12
- class?: string;
13
- };
14
- type __VLS_Slots = {
15
- option(props: {
16
- option: SelectOption;
17
- }): unknown;
18
- };
19
- type __VLS_ModelProps = {
20
- modelValue?: string | number | null;
21
- 'search'?: string;
22
- 'open'?: boolean;
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
+ placeholder?: string;
7
+ ignoreFilter?: boolean;
8
+ clearable?: boolean;
9
+ variant?: InputVariants["variant"];
10
+ size?: InputVariants["size"];
11
+ disabled?: boolean;
12
+ invalid?: boolean;
13
+ class?: string;
14
+ } & {
15
+ modelValue?: string | number | null;
16
+ search?: string;
17
+ open?: boolean;
18
+ }) & {
19
+ onClear?: (() => any) | undefined;
20
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
22
+ "onUpdate:search"?: ((value: string) => any) | undefined;
23
+ }> & (typeof globalThis extends {
24
+ __VLS_PROPS_FALLBACK: infer P;
25
+ } ? P : {});
26
+ expose: (exposed: {}) => void;
27
+ attrs: any;
28
+ slots: {
29
+ option?(props: {
30
+ option: T;
31
+ }): unknown;
32
+ };
33
+ emit: ((evt: "clear") => void) & (((event: "update:open", value: boolean) => void) & ((event: "update:modelValue", value: string | number | null | undefined) => void) & ((event: "update:search", value: string) => void));
34
+ }>) => import("vue").VNode & {
35
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
23
36
  };
24
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
25
- declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- clear: () => any;
27
- "update:open": (value: boolean) => any;
28
- "update:modelValue": (value: string | number | null | undefined) => any;
29
- "update:search": (value: string) => any;
30
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
- onClear?: (() => any) | undefined;
32
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
33
- "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
34
- "onUpdate:search"?: ((value: string) => any) | undefined;
35
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
39
- type __VLS_WithSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
39
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
40
+ [K in keyof T]: T[K];
41
+ } : {
42
+ [K in keyof T as K]: T[K];
43
+ }) & {};
44
44
  //# sourceMappingURL=Combobox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/Combobox.vue"],"names":[],"mappings":"AA+JE,OAAO,EAOL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAKrF,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AASF,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,CAAC;AA8C1E,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAOF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyPxD,QAAA,MAAM,UAAU;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAA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,qNAAoC;EAEvC,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"}
@@ -1,20 +1,27 @@
1
1
  import { type SelectItems, type SelectOption } from '../select/types';
2
- type __VLS_Props = {
3
- options: SelectItems;
4
- keyboard?: boolean;
5
- };
6
- type __VLS_Slots = {
7
- option(props: {
8
- option: SelectOption;
9
- }): unknown;
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
+ options: SelectItems<T>;
5
+ keyboard?: boolean;
6
+ }> & (typeof globalThis extends {
7
+ __VLS_PROPS_FALLBACK: infer P;
8
+ } ? P : {});
9
+ expose: (exposed: {}) => void;
10
+ attrs: any;
11
+ slots: {
12
+ option?(props: {
13
+ option: T;
14
+ }): unknown;
15
+ };
16
+ emit: {};
17
+ }>) => import("vue").VNode & {
18
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
10
19
  };
11
- 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>;
12
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
20
  declare const _default: typeof __VLS_export;
14
21
  export default _default;
15
- type __VLS_WithSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
22
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
23
+ [K in keyof T]: T[K];
24
+ } : {
25
+ [K in keyof T as K]: T[K];
26
+ }) & {};
20
27
  //# sourceMappingURL=ComboboxList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/ComboboxList.vue"],"names":[],"mappings":"AAoHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAKpF,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAKhE,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,CAAC;AAuV1E,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":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/ComboboxList.vue"],"names":[],"mappings":"AAoHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,i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' | 'md' | 'lg';
5
- placement?: 'center' | 'bottom';
5
+ size?: DialogVariants['size'];
6
+ placement?: 'center' | 'top' | 'bottom';
7
+ header?: boolean;
8
+ closable?: boolean;
6
9
  locked?: boolean;
7
10
  class?: string;
8
11
  };
9
- declare function close(): void;
12
+ type __VLS_Slots = {
13
+ default?(): unknown;
14
+ icon?(): unknown;
15
+ title?(): unknown;
16
+ body?(props: {
17
+ close: () => void;
18
+ }): unknown;
19
+ content?(props: {
20
+ close: () => void;
21
+ }): unknown;
22
+ footer?(props: {
23
+ close: () => void;
24
+ }): unknown;
25
+ };
10
26
  type __VLS_ModelProps = {
11
27
  'open'?: boolean;
12
28
  };
13
29
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
- declare var __VLS_14: {}, __VLS_83: {
15
- close: typeof close;
16
- }, __VLS_85: {
17
- close: typeof close;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_14) => any;
21
- } & {
22
- content?: (props: typeof __VLS_83) => any;
23
- } & {
24
- footer?: (props: typeof __VLS_85) => any;
25
- };
26
30
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
31
  "update:open": (value: boolean | undefined) => any;
28
32
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
33
  "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
30
34
  }>, {
31
- size: "sm" | "md" | "lg";
35
+ size: "md" | "sm" | "lg" | "xl" | "2xl";
36
+ header: boolean;
37
+ closable: boolean;
32
38
  locked: boolean;
33
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog.vue"],"names":[],"mappings":"AA+HE,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,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -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,28 +1,40 @@
1
1
  type __VLS_Props = {
2
2
  label?: string;
3
+ anchor?: HTMLElement | null;
4
+ modal?: boolean;
5
+ dir?: 'ltr' | 'rtl';
3
6
  side?: 'top' | 'right' | 'bottom' | 'left';
4
7
  align?: 'start' | 'center' | 'end';
5
8
  sideOffset?: number;
6
9
  class?: string;
7
10
  };
11
+ type __VLS_Slots = {
12
+ default?(): unknown;
13
+ content?(): unknown;
14
+ };
8
15
  type __VLS_ModelProps = {
9
16
  'open'?: boolean;
10
17
  };
11
18
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_14: {}, __VLS_34: {};
13
- type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_14) => any;
15
- } & {
16
- content?: (props: typeof __VLS_34) => any;
17
- };
18
19
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
20
  "update:open": (value: boolean | undefined) => any;
21
+ escapeKeyDown: (event: KeyboardEvent) => any;
22
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
23
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
24
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
25
+ closeAutoFocus: (event: Event) => any;
20
26
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
27
  "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
28
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
29
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
30
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
31
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
32
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
22
33
  }>, {
23
34
  side: "top" | "right" | "bottom" | "left";
24
35
  align: "start" | "center" | "end";
25
36
  sideOffset: number;
37
+ modal: boolean;
26
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
39
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
40
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/DropdownMenu.vue"],"names":[],"mappings":"AAkFE,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiBN,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA2HxD,QAAA,IAAI,QAAQ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CAAE,CAAC;AAalE,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+IxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;UAjLH,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;WAClC,OAAO,GAAG,QAAQ,GAAG,KAAK;gBACrB,MAAM;WAJX,OAAO;6EAuLnB,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,11 +1,13 @@
1
1
  type __VLS_Props = {
2
2
  id?: string;
3
+ axis?: 'x' | 'y' | 'both';
3
4
  as?: 'div' | 'li';
4
5
  class?: string;
5
6
  };
6
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
8
  as: "div" | "li";
8
9
  id: string;
10
+ axis: "x" | "y" | "both";
9
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const _default: typeof __VLS_export;
11
13
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Highlight.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/highlight/Highlight.vue"],"names":[],"mappings":"AAyCE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAwDN,QAAA,MAAM,YAAY;QA1DP,KAAK,GAAG,IAAI;QADZ,MAAM;6EA8Df,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Highlight.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/highlight/Highlight.vue"],"names":[],"mappings":"AAyCE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,CAAA;IACzB,EAAE,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2DN,QAAA,MAAM,YAAY;QA7DP,KAAK,GAAG,IAAI;QAFZ,MAAM;UACJ,GAAG,GAAG,GAAG,GAAG,MAAM;6EAiE7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}