@brumaombra/ui-vintage 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js} +6 -5
  2. package/dist/{BackgroundGrid-Cxvbtefm.js → BackgroundGrid-BJDDcLzF.js} +1 -1
  3. package/dist/{Busy-1BeD2TRH.js → Busy-BaCc_Jo8.js} +2 -1
  4. package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-BklOxtD-.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js} +18 -11
  5. package/dist/Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js +30 -0
  6. package/dist/{Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js → CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js} +3 -8
  7. package/dist/{CardFooter.vue_vue_type_script_setup_true_lang-B1eS9wge.js → CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js} +1 -19
  8. package/dist/CardText.vue_vue_type_script_setup_true_lang-DbDhSd3h.js +22 -0
  9. package/dist/{Collection-Coi6nyvb.js → Collection-4P3HQ4uU.js} +1 -1
  10. package/dist/{ConfigProvider-D2O0Jles.js → ConfigProvider-DYO65bNW.js} +1 -1
  11. package/dist/DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js +88 -0
  12. package/dist/{DialogClose-DDtZ0Em0.js → DialogClose-DxCTEp0d.js} +2 -2
  13. package/dist/{DialogPortal-D81oXsCY.js → DialogPortal-BiMJAKLg.js} +1 -1
  14. package/dist/{DialogTitle-CLuntLBB.js → DialogTitle-jKgSCoXM.js} +10 -6
  15. package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-BMXrxvBF.js → DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js} +23 -14
  16. package/dist/{DialogTrigger-CjJ8QNL_.js → DialogTrigger-Cb3rLcid.js} +3 -3
  17. package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-BYKX6WRQ.js +59 -0
  18. package/dist/{FocusScope-DYbCtSNc.js → FocusScope-mzbqk6Y_.js} +8 -14
  19. package/dist/HugeiconsIcon.vue-By2RXWWz.js +111 -0
  20. package/dist/{Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js → Input.vue_vue_type_script_setup_true_lang-BdjbS5s7.js} +1 -1
  21. package/dist/{Label.vue_vue_type_script_setup_true_lang-pMIzCHzV.js → Label.vue_vue_type_script_setup_true_lang-CdLIMAdF.js} +2 -2
  22. package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +21 -0
  23. package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-CDy30mYg.js +159 -0
  24. package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-0jX2tmdb.js +59 -0
  25. package/dist/LandingShell.vue_vue_type_script_setup_true_lang-BXwdQR24.js +49 -0
  26. package/dist/LanguageFlag.vue_vue_type_script_setup_true_lang-CgszKeNv.js +68 -0
  27. package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-CGhFcsF-.js +61 -0
  28. package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-DwyQjtZ3.js +53 -0
  29. package/dist/MessageToast-uKrMyOZf.js +79 -0
  30. package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-Ce5VmA0n.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js} +4 -3
  31. package/dist/{PopoverTrigger.vue_vue_type_script_setup_true_lang-DFZJvU_P.js → PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js} +11 -8
  32. package/dist/{PopperContent-h-thLTz8.js → PopperContent-DUJ8a4i0.js} +4 -4
  33. package/dist/Presence-CTmUEdMR.js +168 -0
  34. package/dist/Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js +188 -0
  35. package/dist/{Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js → Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js} +1 -1
  36. package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-Csr3nKnG.js → SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js} +6 -18
  37. package/dist/{Slider.vue_vue_type_script_setup_true_lang-C_CsSGAt.js → Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js} +10 -9
  38. package/dist/{Switch.vue_vue_type_script_setup_true_lang-BG6nkPSO.js → Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js} +7 -6
  39. package/dist/{Teleport-CV0tKbq5.js → Teleport-DTOwRCqx.js} +7 -185
  40. package/dist/TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js +51 -0
  41. package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js} +9 -6
  42. package/dist/{VisuallyHiddenInput-1G1IEkBL.js → VisuallyHiddenInput-D5eipDQU.js} +1 -1
  43. package/dist/alert-dialog.js +7 -7
  44. package/dist/alert.js +8 -18
  45. package/dist/background-grid.js +1 -1
  46. package/dist/badge.js +9 -36
  47. package/dist/breadcrumb.js +159 -0
  48. package/dist/busy-indicator.js +1 -1
  49. package/dist/busy.js +1 -1
  50. package/dist/button.js +11 -7
  51. package/dist/calendar.js +1 -1
  52. package/dist/card-grid.js +58 -0
  53. package/dist/card.js +9 -6
  54. package/dist/chip.js +47 -0
  55. package/dist/color-tokens-D9BviGPK.js +40 -0
  56. package/dist/command.js +17 -33
  57. package/dist/components/card-grid/CardGrid.vue.d.ts +88 -0
  58. package/dist/components/card-grid/index.d.ts +2 -0
  59. package/dist/components/chip/Chip.vue.d.ts +17 -0
  60. package/dist/components/chip/index.d.ts +2 -0
  61. package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +11 -8
  62. package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +12 -2
  63. package/dist/components/data-list/DataList.vue.d.ts +21 -0
  64. package/dist/components/data-list/DataListItem.vue.d.ts +21 -0
  65. package/dist/components/data-list/DataListLabel.vue.d.ts +21 -0
  66. package/dist/components/data-list/DataListText.vue.d.ts +21 -0
  67. package/dist/components/data-list/DataListValue.vue.d.ts +21 -0
  68. package/dist/components/data-list/index.d.ts +5 -0
  69. package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +73 -0
  70. package/dist/components/empty-state-card/index.d.ts +2 -0
  71. package/dist/components/info-card/InfoCard.vue.d.ts +46 -0
  72. package/dist/components/info-card/index.d.ts +2 -0
  73. package/dist/components/landing/index.d.ts +6 -0
  74. package/dist/components/landing/landing-content/LandingContent.vue.d.ts +21 -0
  75. package/dist/components/landing/landing-content/index.d.ts +2 -0
  76. package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +39 -0
  77. package/dist/components/landing/landing-footer/index.d.ts +3 -0
  78. package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +32 -0
  79. package/dist/components/landing/landing-navbar/index.d.ts +2 -0
  80. package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +31 -0
  81. package/dist/components/landing/landing-shell/index.d.ts +2 -0
  82. package/dist/components/language-flag/LanguageFlag.vue.d.ts +14 -0
  83. package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +2 -0
  84. package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +2 -0
  85. package/dist/components/language-flag/index.d.ts +4 -0
  86. package/dist/components/language-selector/LanguageSelector.vue.d.ts +35 -0
  87. package/dist/components/language-selector/index.d.ts +3 -0
  88. package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +36 -0
  89. package/dist/components/load-more-button/index.d.ts +2 -0
  90. package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +55 -0
  91. package/dist/components/loading-state-card/index.d.ts +2 -0
  92. package/dist/components/message-dialog/message-dialog-state.d.ts +9 -7
  93. package/dist/components/message-toast/MessageToast.vue.d.ts +2 -0
  94. package/dist/components/message-toast/index.d.ts +2 -0
  95. package/dist/components/message-toast/message-toast-state.d.ts +18 -0
  96. package/dist/components/page-header/PageHeader.vue.d.ts +48 -0
  97. package/dist/components/page-header/index.d.ts +2 -0
  98. package/dist/components/progress-component/ProgressComponent.vue.d.ts +47 -0
  99. package/dist/components/progress-component/index.d.ts +2 -0
  100. package/dist/components/single-value-card/SingleValueCard.vue.d.ts +40 -0
  101. package/dist/components/single-value-card/index.d.ts +2 -0
  102. package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +2 -2
  103. package/dist/components/text-link/TextLink.vue.d.ts +35 -0
  104. package/dist/components/text-link/index.d.ts +2 -0
  105. package/dist/components/theme-selector/ThemeSelector.vue.d.ts +2 -0
  106. package/dist/components/theme-selector/index.d.ts +2 -0
  107. package/dist/components/ui/alert/Alert.vue.d.ts +2 -2
  108. package/dist/components/ui/alert/index.d.ts +6 -5
  109. package/dist/components/ui/badge/Badge.vue.d.ts +7 -20
  110. package/dist/components/ui/badge/index.d.ts +0 -5
  111. package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
  112. package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
  113. package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
  114. package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
  115. package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
  116. package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
  117. package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
  118. package/dist/components/ui/breadcrumb/index.d.ts +7 -0
  119. package/dist/components/ui/button/index.d.ts +6 -6
  120. package/dist/components/ui/card/Card.vue.d.ts +3 -0
  121. package/dist/components/ui/card/CardText.vue.d.ts +21 -0
  122. package/dist/components/ui/card/index.d.ts +1 -0
  123. package/dist/components/ui/date-picker/DatePicker.vue.d.ts +2 -0
  124. package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +27 -0
  125. package/dist/components/ui/date-time-picker/index.d.ts +2 -0
  126. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +1 -4
  127. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +4 -1
  128. package/dist/components/ui/field/index.d.ts +4 -4
  129. package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
  130. package/dist/components/ui/progress/index.d.ts +1 -0
  131. package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
  132. package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
  133. package/dist/components/ui/scroll-area/index.d.ts +2 -0
  134. package/dist/components/ui/select/SelectItemContent.vue.d.ts +15 -0
  135. package/dist/components/ui/select/SelectValueContent.vue.d.ts +16 -0
  136. package/dist/components/ui/select/index.d.ts +2 -0
  137. package/dist/components/ui/sidebar/index.d.ts +4 -4
  138. package/dist/components/ui/table/Table.vue.d.ts +21 -0
  139. package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
  140. package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
  141. package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
  142. package/dist/components/ui/table/TableEmpty.vue.d.ts +24 -0
  143. package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
  144. package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
  145. package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
  146. package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
  147. package/dist/components/ui/table/index.d.ts +9 -0
  148. package/dist/components/ui/tabs/Tabs.vue.d.ts +28 -0
  149. package/dist/components/ui/tabs/TabsContent.vue.d.ts +22 -0
  150. package/dist/components/ui/tabs/TabsList.vue.d.ts +22 -0
  151. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
  152. package/dist/components/ui/tabs/index.d.ts +4 -0
  153. package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
  154. package/dist/components/ui/textarea/index.d.ts +1 -0
  155. package/dist/components/ui/time-picker/TimePicker.vue.d.ts +21 -0
  156. package/dist/components/ui/time-picker/index.d.ts +2 -0
  157. package/dist/confirm-dialog.js +15 -11
  158. package/dist/createContext-BabAT1K8.js +19 -0
  159. package/dist/dashboard-shell.js +89 -39
  160. package/dist/data-list.js +97 -0
  161. package/dist/date-picker.js +3 -82
  162. package/dist/date-time-picker.js +140 -0
  163. package/dist/dialog.js +32 -37
  164. package/dist/empty-state-card.js +5 -0
  165. package/dist/error-page.js +9 -7
  166. package/dist/field.js +2 -2
  167. package/dist/getActiveElement-Bmy6QsUb.js +9 -0
  168. package/dist/i18n/en.json.d.ts +57 -0
  169. package/dist/i18n/it.json.d.ts +57 -0
  170. package/dist/i18n.js +148 -0
  171. package/dist/{index-qGMU40e1.js → index-DDJjWaIl.js} +64 -0
  172. package/dist/{index-Cq9Ekgtb.js → index-Dw56kNV0.js} +10 -10
  173. package/dist/index.min-CZ9FIOXr.js +23 -0
  174. package/dist/info-card.js +65 -0
  175. package/dist/input.js +1 -1
  176. package/dist/label.js +1 -1
  177. package/dist/landing-content.js +5 -0
  178. package/dist/landing-footer.js +5 -0
  179. package/dist/landing-navbar.js +5 -0
  180. package/dist/landing-shell.js +5 -0
  181. package/dist/landing.js +11 -0
  182. package/dist/language-flag.js +7 -0
  183. package/dist/language-selector.js +123 -0
  184. package/dist/lib/color-tokens.d.ts +6 -0
  185. package/dist/lib/i18n.d.ts +222 -0
  186. package/dist/load-more-button.js +5 -0
  187. package/dist/loading-state-card.js +5 -0
  188. package/dist/message-dialog.js +34 -18
  189. package/dist/message-toast.js +103 -0
  190. package/dist/native-select.js +1 -1
  191. package/dist/nullish-D3tMkl6i.js +6 -0
  192. package/dist/page-header.js +57 -0
  193. package/dist/popover.js +4 -4
  194. package/dist/progress-component.js +51 -0
  195. package/dist/progress.js +4 -0
  196. package/dist/scroll-area.js +1080 -0
  197. package/dist/select.js +149 -53
  198. package/dist/separator.js +1 -1
  199. package/dist/sheet.js +3 -3
  200. package/dist/sidebar.js +10 -9
  201. package/dist/single-value-card.js +64 -0
  202. package/dist/slider-form-component.js +2 -2
  203. package/dist/slider.js +1 -1
  204. package/dist/style.css +1012 -175
  205. package/dist/switch-form-component.js +2 -2
  206. package/dist/switch.js +1 -1
  207. package/dist/table.js +193 -0
  208. package/dist/tabs.js +658 -0
  209. package/dist/text-link.js +39 -0
  210. package/dist/textarea.js +37 -0
  211. package/dist/theme-selector.js +159 -0
  212. package/dist/time-picker.js +5 -0
  213. package/dist/tooltip.js +2 -2
  214. package/dist/{useDirection-SIyEYNxv.js → useDirection-B2bMgzzV.js} +1 -1
  215. package/dist/{useFocusGuards-WYWvpJy2.js → useFocusGuards-2C1jyYW5.js} +1 -1
  216. package/dist/{useFormControl-CyoJwp9r.js → useFormControl-DZ4LnB9F.js} +1 -1
  217. package/dist/{useForwardExpose-BiRQH8eO.js → useForwardExpose-BcX3VRdS.js} +1 -1
  218. package/dist/{useForwardPropsEmits-DmumnZO5.js → useForwardPropsEmits-GlUGKcIz.js} +1 -17
  219. package/dist/useId-CF6wz41D.js +16 -0
  220. package/dist/useNonce-CWj1JlPB.js +12 -0
  221. package/dist/{usePrimitiveElement-Bk3ZOslv.js → usePrimitiveElement-BCpwlakH.js} +1 -1
  222. package/dist/{useSize-BLYTFgnQ.js → useSize-DUgGY9t1.js} +1 -1
  223. package/dist/{useTypeahead-KTl4-oeq.js → useTypeahead-4RK0Emcv.js} +2 -2
  224. package/dist/{utils-BXBXPGDA.js → utils-DbR1EZn-.js} +1 -1
  225. package/dist/utils-hdwtyAF3.js +44 -0
  226. package/package.json +119 -2
  227. package/dist/HugeiconsIcon.vue-BJ-_Wtmk.js +0 -124
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, unref, mergeProps, nextTick, withModifiers, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, createElementBlock, normalizeClass } from "vue";
2
- import { b as useEmitAsProps, c as createContext, u as useForwardPropsEmits } from "./useForwardPropsEmits-DmumnZO5.js";
3
- import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
4
- import { a as DialogContent_default, c as DialogDescription_default, D as DialogOverlay_default, b as DialogRoot_default, d as DialogTitle_default } from "./DialogTitle-CLuntLBB.js";
5
- import { T as Teleport_default } from "./Teleport-CV0tKbq5.js";
2
+ import { b as useEmitAsProps, u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
3
+ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
4
+ import { a as DialogContent_default, c as DialogDescription_default, D as DialogOverlay_default, b as DialogRoot_default, d as DialogTitle_default } from "./DialogTitle-jKgSCoXM.js";
5
+ import { c as createContext } from "./createContext-BabAT1K8.js";
6
+ import { T as Teleport_default } from "./Teleport-DTOwRCqx.js";
6
7
  import { c as cn } from "./utils-Bz4m9VPB.js";
7
- import { r as reactiveOmit } from "./index-qGMU40e1.js";
8
+ import { r as reactiveOmit } from "./index-DDJjWaIl.js";
8
9
  const [injectAlertDialogContentContext, provideAlertDialogContentContext] = createContext("AlertDialogContent");
9
10
  var AlertDialogContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
10
11
  __name: "AlertDialogContent",
@@ -4,7 +4,7 @@ const _sfc_main = {};
4
4
  const _hoisted_1 = { class: "pointer-events-none absolute inset-0 z-0 overflow-hidden" };
5
5
  function _sfc_render(_ctx, _cache) {
6
6
  return openBlock(), createElementBlock("div", _hoisted_1, _cache[0] || (_cache[0] = [
7
- createElementVNode("div", { class: "absolute inset-0 bg-[linear-gradient(to_right,#80808012_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:18px_18px] dark:bg-[linear-gradient(to_right,#ffffff0d_1px,transparent_1px),linear-gradient(to_bottom,#ffffff0d_1px,transparent_1px)]" }, null, -1)
7
+ createElementVNode("div", { class: "absolute inset-0 bg-[linear-gradient(to_right,#80808012_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:20px_20px] dark:bg-[linear-gradient(to_right,#ffffff0d_1px,transparent_1px),linear-gradient(to_bottom,#ffffff0d_1px,transparent_1px)]" }, null, -1)
8
8
  ]));
9
9
  }
10
10
  const BackgroundGrid = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createVNode, toDisplayString, createCommentVNode } from "vue";
2
- import { H as HugeiconsIcon, S as SK } from "./HugeiconsIcon.vue-BJ-_Wtmk.js";
2
+ import { b as SK } from "./index.min-CZ9FIOXr.js";
3
+ import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
3
4
  import { c as cn } from "./utils-Bz4m9VPB.js";
4
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
5
6
  const _hoisted_1 = {
@@ -1,16 +1,18 @@
1
1
  import { ref, computed, watch, defineComponent, toRefs, onMounted, openBlock, createBlock, unref, withCtx, renderSlot, createElementVNode, toDisplayString, withKeys, withModifiers, createTextVNode, nextTick, mergeProps, normalizeProps, guardReactiveProps, toRaw, createElementBlock, Fragment, createVNode, renderList, isRef } from "vue";
2
- import { u as useVModel, i as createReusableTemplate } from "./index-Cq9Ekgtb.js";
3
- import { c as createContext, u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-DmumnZO5.js";
2
+ import { a as useVModel, i as createReusableTemplate } from "./index-Dw56kNV0.js";
3
+ import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-GlUGKcIz.js";
4
4
  import { c as cn } from "./utils-Bz4m9VPB.js";
5
- import { _ as _sfc_main$c, a as _sfc_main$d } from "./NativeSelectOption.vue_vue_type_script_setup_true_lang-Ce5VmA0n.js";
6
- import { r as reactiveOmit } from "./index-qGMU40e1.js";
5
+ import { _ as _sfc_main$c, a as _sfc_main$d } from "./NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js";
6
+ import { r as reactiveOmit } from "./index-DDJjWaIl.js";
7
7
  import { buttonVariants } from "./button.js";
8
- import { H as HugeiconsIcon, N as Nn, m as mn } from "./HugeiconsIcon.vue-BJ-_Wtmk.js";
8
+ import { N as Nn, m as mn } from "./index.min-CZ9FIOXr.js";
9
+ import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
9
10
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
10
11
  import { u as useKbd } from "./useKbd-JjFOu4f7.js";
11
- import { u as usePrimitiveElement } from "./usePrimitiveElement-Bk3ZOslv.js";
12
- import { u as useDirection } from "./useDirection-SIyEYNxv.js";
13
- import { i as injectConfigProviderContext } from "./ConfigProvider-D2O0Jles.js";
12
+ import { u as usePrimitiveElement } from "./usePrimitiveElement-BCpwlakH.js";
13
+ import { c as createContext } from "./createContext-BabAT1K8.js";
14
+ import { u as useDirection } from "./useDirection-B2bMgzzV.js";
15
+ import { i as injectConfigProviderContext } from "./ConfigProvider-DYO65bNW.js";
14
16
  function $2b4dce13dd5a17fa$export$842a2cf37af977e1(amount, numerator) {
15
17
  return amount - numerator * Math.floor(amount / numerator);
16
18
  }
@@ -472,6 +474,9 @@ function $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) {
472
474
  let millisecond = date.getUTCMilliseconds();
473
475
  return new $35ea8db9cb2ccb90$export$d3b7288e7994edea(year < 1 ? "BC" : "AD", year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);
474
476
  }
477
+ function $11d87f3f76e88657$export$e57ff100d91bd4b9(date, timeZone) {
478
+ return $11d87f3f76e88657$export$1b96692a1ba042ac(date.getTime(), timeZone);
479
+ }
475
480
  function $11d87f3f76e88657$export$93522d1a439f3617(dateTime) {
476
481
  return new $35ea8db9cb2ccb90$export$99faa760c7908e4f(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);
477
482
  }
@@ -3722,7 +3727,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3722
3727
  return openBlock(), createBlock(unref(CalendarNext_default), mergeProps({
3723
3728
  "data-slot": "calendar-next-button",
3724
3729
  class: unref(cn)(
3725
- unref(buttonVariants)({ variant: "outline" }),
3730
+ unref(buttonVariants)({ variant: "secondary" }),
3726
3731
  "size-7 min-h-10 bg-transparent p-0 text-(--text-secondary-light) hover:text-(--text-primary-light) dark:text-(--text-secondary-dark) dark:hover:text-(--text-primary-dark)",
3727
3732
  props.class
3728
3733
  )
@@ -3756,7 +3761,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3756
3761
  return openBlock(), createBlock(unref(CalendarPrev_default), mergeProps({
3757
3762
  "data-slot": "calendar-prev-button",
3758
3763
  class: unref(cn)(
3759
- unref(buttonVariants)({ variant: "outline" }),
3764
+ unref(buttonVariants)({ variant: "secondary" }),
3760
3765
  "size-7 min-h-10 bg-transparent p-0 text-(--text-secondary-light) hover:text-(--text-primary-light) dark:text-(--text-secondary-dark) dark:hover:text-(--text-primary-dark)",
3761
3766
  props.class
3762
3767
  )
@@ -3789,5 +3794,7 @@ export {
3789
3794
  _sfc_main$1 as j,
3790
3795
  _sfc_main as k,
3791
3796
  $14e0f24ef4ac5c92$export$aa8b41735afcabd2 as l,
3792
- $fb18d541ea1ad717$export$ad991b66133851cf as m
3797
+ $fb18d541ea1ad717$export$ad991b66133851cf as m,
3798
+ $11d87f3f76e88657$export$93522d1a439f3617 as n,
3799
+ $11d87f3f76e88657$export$e57ff100d91bd4b9 as o
3793
3800
  };
@@ -0,0 +1,30 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
+ import { g as getSurfaceToneClasses } from "./color-tokens-D9BviGPK.js";
3
+ import { c as cn } from "./utils-Bz4m9VPB.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "Card",
6
+ props: {
7
+ color: {},
8
+ class: {}
9
+ },
10
+ setup(__props) {
11
+ const props = __props;
12
+ const colorClasses = computed(() => {
13
+ if (!props.color || props.color === "default") {
14
+ return "border border-border bg-card text-card-foreground";
15
+ }
16
+ return getSurfaceToneClasses(props.color);
17
+ });
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createElementBlock("div", {
20
+ "data-slot": "card",
21
+ class: normalizeClass(unref(cn)("flex flex-col gap-6 rounded py-6 transition-colors duration-300 ease-in-out", colorClasses.value, props.class))
22
+ }, [
23
+ renderSlot(_ctx.$slots, "default")
24
+ ], 2);
25
+ };
26
+ }
27
+ });
28
+ export {
29
+ _sfc_main as _
30
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as cn } from "./utils-Bz4m9VPB.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "Card",
4
+ __name: "CardContent",
5
5
  props: {
6
6
  class: {}
7
7
  },
@@ -9,13 +9,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  const props = __props;
10
10
  return (_ctx, _cache) => {
11
11
  return openBlock(), createElementBlock("div", {
12
- "data-slot": "card",
13
- class: normalizeClass(
14
- unref(cn)(
15
- "bg-card text-card-foreground flex flex-col gap-6 rounded border border-border py-6 transition-colors duration-300 ease-in-out",
16
- props.class
17
- )
18
- )
12
+ "data-slot": "card-content",
13
+ class: normalizeClass(unref(cn)("flex flex-col gap-4 px-6", props.class))
19
14
  }, [
20
15
  renderSlot(_ctx.$slots, "default")
21
16
  ], 2);
@@ -1,22 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as cn } from "./utils-Bz4m9VPB.js";
3
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
- __name: "CardContent",
5
- props: {
6
- class: {}
7
- },
8
- setup(__props) {
9
- const props = __props;
10
- return (_ctx, _cache) => {
11
- return openBlock(), createElementBlock("div", {
12
- "data-slot": "card-content",
13
- class: normalizeClass(unref(cn)("flex flex-col gap-4 px-6", props.class))
14
- }, [
15
- renderSlot(_ctx.$slots, "default")
16
- ], 2);
17
- };
18
- }
19
- });
20
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
21
4
  __name: "CardFooter",
22
5
  props: {
@@ -35,6 +18,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
18
  }
36
19
  });
37
20
  export {
38
- _sfc_main$1 as _,
39
- _sfc_main as a
21
+ _sfc_main as _
40
22
  };
@@ -0,0 +1,22 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
+ import { c as cn } from "./utils-Bz4m9VPB.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "CardText",
5
+ props: {
6
+ class: {}
7
+ },
8
+ setup(__props) {
9
+ const props = __props;
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createElementBlock("p", {
12
+ "data-slot": "card-text",
13
+ class: normalizeClass(unref(cn)("text-sm text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)]", props.class))
14
+ }, [
15
+ renderSlot(_ctx.$slots, "default")
16
+ ], 2);
17
+ };
18
+ }
19
+ });
20
+ export {
21
+ _sfc_main as _
22
+ };
@@ -1,5 +1,5 @@
1
1
  import { S as Slot } from "./Primitive-D3IcFg81.js";
2
- import { u as usePrimitiveElement } from "./usePrimitiveElement-Bk3ZOslv.js";
2
+ import { u as usePrimitiveElement } from "./usePrimitiveElement-BCpwlakH.js";
3
3
  import { ref, provide, inject, defineComponent, watch, h, watchEffect, markRaw, computed } from "vue";
4
4
  const ITEM_DATA_ATTR = "data-reka-collection-item";
5
5
  function useCollection(options = {}) {
@@ -1,4 +1,4 @@
1
- import { c as createContext } from "./useForwardPropsEmits-DmumnZO5.js";
1
+ import { c as createContext } from "./createContext-BabAT1K8.js";
2
2
  import "vue";
3
3
  const [injectConfigProviderContext] = createContext("ConfigProvider");
4
4
  export {
@@ -0,0 +1,88 @@
1
+ import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createTextVNode, toDisplayString } from "vue";
2
+ import { $ as $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3, l as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, m as $fb18d541ea1ad717$export$ad991b66133851cf, _ as _sfc_main$5 } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js";
3
+ import { f as cL } from "./index.min-CZ9FIOXr.js";
4
+ import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
5
+ import { c as cn } from "./utils-Bz4m9VPB.js";
6
+ import { Button as _sfc_main$3 } from "./button.js";
7
+ import { _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$4 } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js";
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "DatePicker",
10
+ props: {
11
+ defaultValue: {},
12
+ modelValue: {},
13
+ minValue: {},
14
+ maxValue: {},
15
+ placeholder: { default: "Pick a date" },
16
+ disabled: { type: Boolean, default: false },
17
+ class: {},
18
+ contentClass: {}
19
+ },
20
+ emits: ["update:modelValue"],
21
+ setup(__props, { emit: __emit }) {
22
+ const props = __props;
23
+ const emits = __emit;
24
+ const internalDate = ref(props.defaultValue);
25
+ const isControlled = computed(() => props.modelValue !== void 0);
26
+ const date = computed({
27
+ get: () => isControlled.value ? props.modelValue : internalDate.value,
28
+ set: (value) => {
29
+ if (!isControlled.value)
30
+ internalDate.value = value;
31
+ emits("update:modelValue", value);
32
+ }
33
+ });
34
+ const defaultPlaceholder = computed(() => date.value ?? $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3($14e0f24ef4ac5c92$export$aa8b41735afcabd2()));
35
+ const formatter = new $fb18d541ea1ad717$export$ad991b66133851cf("en-US", {
36
+ dateStyle: "long"
37
+ });
38
+ return (_ctx, _cache) => {
39
+ return openBlock(), createBlock(unref(_sfc_main$1), null, {
40
+ default: withCtx(({ close }) => [
41
+ createVNode(unref(_sfc_main$2), { "as-child": "" }, {
42
+ default: withCtx(() => [
43
+ createVNode(unref(_sfc_main$3), {
44
+ variant: "secondary",
45
+ disabled: _ctx.disabled,
46
+ class: normalizeClass(unref(cn)("h-[52px] w-[240px] justify-start text-left font-normal enabled:active:scale-100", !date.value && "text-muted-foreground", props.class))
47
+ }, {
48
+ default: withCtx(() => [
49
+ createVNode(unref(HugeiconsIcon), {
50
+ icon: unref(cL),
51
+ class: "size-4"
52
+ }, null, 8, ["icon"]),
53
+ createTextVNode(" " + toDisplayString(date.value ? unref(formatter).format(date.value.toDate(unref($14e0f24ef4ac5c92$export$aa8b41735afcabd2)())) : _ctx.placeholder), 1)
54
+ ]),
55
+ _: 1
56
+ }, 8, ["disabled", "class"])
57
+ ]),
58
+ _: 1
59
+ }),
60
+ createVNode(unref(_sfc_main$4), {
61
+ class: normalizeClass(unref(cn)("w-auto p-0", props.contentClass)),
62
+ align: "start"
63
+ }, {
64
+ default: withCtx(() => [
65
+ createVNode(unref(_sfc_main$5), {
66
+ modelValue: date.value,
67
+ "onUpdate:modelValue": [
68
+ _cache[0] || (_cache[0] = ($event) => date.value = $event),
69
+ close
70
+ ],
71
+ "default-placeholder": defaultPlaceholder.value,
72
+ "min-value": props.minValue,
73
+ "max-value": props.maxValue,
74
+ layout: "month-and-year",
75
+ "initial-focus": ""
76
+ }, null, 8, ["modelValue", "default-placeholder", "min-value", "max-value", "onUpdate:modelValue"])
77
+ ]),
78
+ _: 2
79
+ }, 1032, ["class"])
80
+ ]),
81
+ _: 1
82
+ });
83
+ };
84
+ }
85
+ });
86
+ export {
87
+ _sfc_main as _
88
+ };
@@ -1,6 +1,6 @@
1
- import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
1
+ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
2
2
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
3
- import { i as injectDialogRootContext } from "./DialogTitle-CLuntLBB.js";
3
+ import { i as injectDialogRootContext } from "./DialogTitle-jKgSCoXM.js";
4
4
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
5
5
  var DialogClose_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6
6
  __name: "DialogClose",
@@ -1,4 +1,4 @@
1
- import { T as Teleport_default } from "./Teleport-CV0tKbq5.js";
1
+ import { T as Teleport_default } from "./Teleport-DTOwRCqx.js";
2
2
  import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
3
3
  var DialogPortal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
4
4
  __name: "DialogPortal",
@@ -1,11 +1,15 @@
1
- import { c as createContext, b as useEmitAsProps } from "./useForwardPropsEmits-DmumnZO5.js";
2
- import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
3
- import { u as useId, D as DismissableLayer_default, P as Presence_default } from "./Teleport-CV0tKbq5.js";
4
- import { g as getActiveElement, F as FocusScope_default, a as useHideOthers, u as useBodyScrollLock } from "./FocusScope-DYbCtSNc.js";
5
- import { g as getOpenState } from "./utils-BXBXPGDA.js";
1
+ import { b as useEmitAsProps } from "./useForwardPropsEmits-GlUGKcIz.js";
2
+ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
3
+ import { P as Presence_default } from "./Presence-CTmUEdMR.js";
4
+ import { F as FocusScope_default, u as useHideOthers, a as useBodyScrollLock } from "./FocusScope-mzbqk6Y_.js";
5
+ import { g as getActiveElement } from "./getActiveElement-Bmy6QsUb.js";
6
+ import { u as useId } from "./useId-CF6wz41D.js";
7
+ import { D as DismissableLayer_default } from "./Teleport-DTOwRCqx.js";
8
+ import { g as getOpenState } from "./utils-DbR1EZn-.js";
6
9
  import { defineComponent, ref, toRefs, renderSlot, unref, onMounted, openBlock, createBlock, withCtx, createVNode, mergeProps, createCommentVNode } from "vue";
7
10
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
8
- import { u as useVModel } from "./index-Cq9Ekgtb.js";
11
+ import { c as createContext } from "./createContext-BabAT1K8.js";
12
+ import { a as useVModel } from "./index-Dw56kNV0.js";
9
13
  const [injectDialogRootContext, provideDialogRootContext] = createContext("DialogRoot");
10
14
  var DialogRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
11
15
  inheritAttrs: false,
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, createElementVNode, createCommentVNode, createElementBlock, normalizeClass } from "vue";
2
- import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-DmumnZO5.js";
3
- import { b as DialogRoot_default, D as DialogOverlay_default, a as DialogContent_default, c as DialogDescription_default, d as DialogTitle_default } from "./DialogTitle-CLuntLBB.js";
4
- import { H as HugeiconsIcon, a as dp } from "./HugeiconsIcon.vue-BJ-_Wtmk.js";
5
- import { D as DialogClose_default } from "./DialogClose-DDtZ0Em0.js";
6
- import { D as DialogPortal_default } from "./DialogPortal-D81oXsCY.js";
2
+ import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-GlUGKcIz.js";
3
+ import { b as DialogRoot_default, D as DialogOverlay_default, a as DialogContent_default, c as DialogDescription_default, d as DialogTitle_default } from "./DialogTitle-jKgSCoXM.js";
4
+ import { D as DialogClose_default } from "./DialogClose-DxCTEp0d.js";
5
+ import { D as DialogPortal_default } from "./DialogPortal-BiMJAKLg.js";
7
6
  import { c as cn } from "./utils-Bz4m9VPB.js";
8
- import { r as reactiveOmit } from "./index-qGMU40e1.js";
7
+ import { Button as _sfc_main$6 } from "./button.js";
8
+ import { r as reactiveOmit } from "./index-DDJjWaIl.js";
9
9
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10
10
  __name: "Dialog",
11
11
  props: {
@@ -41,7 +41,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
41
41
  const delegatedProps = reactiveOmit(props, "class");
42
42
  return (_ctx, _cache) => {
43
43
  return openBlock(), createBlock(unref(DialogOverlay_default), mergeProps({ "data-slot": "dialog-overlay" }, unref(delegatedProps), {
44
- class: unref(cn)("fixed inset-0 z-50 bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", props.class)
44
+ class: unref(cn)("fixed inset-0 isolate z-50 bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", props.class)
45
45
  }), {
46
46
  default: withCtx(() => [
47
47
  renderSlot(_ctx.$slots, "default")
@@ -62,7 +62,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
62
62
  asChild: { type: Boolean },
63
63
  as: {},
64
64
  class: {},
65
- showCloseButton: { type: Boolean, default: true }
65
+ showCloseButton: { type: Boolean, default: false }
66
66
  },
67
67
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
68
68
  setup(__props, { emit: __emit }) {
@@ -76,20 +76,29 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
76
76
  createVNode(_sfc_main$4),
77
77
  createVNode(unref(DialogContent_default), mergeProps({ "data-slot": "dialog-content" }, { ..._ctx.$attrs, ...unref(forwarded) }, {
78
78
  class: unref(cn)(
79
- "bg-card text-card-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-[95%] max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-0 overflow-hidden rounded border border-border shadow-2xl duration-200 sm:max-w-lg",
79
+ "bg-card text-card-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded border border-border p-6 outline-none duration-200 sm:max-w-[425px]",
80
80
  props.class
81
81
  )
82
82
  }), {
83
83
  default: withCtx(() => [
84
84
  renderSlot(_ctx.$slots, "default"),
85
- _ctx.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
85
+ props.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
86
86
  key: 0,
87
87
  "data-slot": "dialog-close",
88
- class: "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded border border-border bg-card p-1 text-muted-foreground opacity-80 transition-all duration-200 hover:bg-accent hover:text-foreground hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
88
+ "as-child": ""
89
89
  }, {
90
90
  default: withCtx(() => [
91
- createVNode(unref(HugeiconsIcon), { icon: unref(dp) }, null, 8, ["icon"]),
92
- _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
91
+ createVNode(unref(_sfc_main$6), {
92
+ variant: "ghost",
93
+ size: "icon-sm",
94
+ class: "absolute top-4 right-4 p-0.5"
95
+ }, {
96
+ default: withCtx(() => _cache[0] || (_cache[0] = [
97
+ createElementVNode("span", { "aria-hidden": "true" }, "X", -1),
98
+ createElementVNode("span", { class: "sr-only" }, "Close", -1)
99
+ ])),
100
+ _: 1
101
+ })
93
102
  ]),
94
103
  _: 1
95
104
  })) : createCommentVNode("", true)
@@ -135,7 +144,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
135
144
  return (_ctx, _cache) => {
136
145
  return openBlock(), createElementBlock("div", {
137
146
  "data-slot": "dialog-header",
138
- class: normalizeClass(unref(cn)("flex flex-col gap-1.5 text-center sm:text-left", props.class))
147
+ class: normalizeClass(unref(cn)("flex flex-col gap-1.5", props.class))
139
148
  }, [
140
149
  renderSlot(_ctx.$slots, "default")
141
150
  ], 2);
@@ -1,7 +1,7 @@
1
- import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
2
- import { u as useId } from "./Teleport-CV0tKbq5.js";
1
+ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
2
+ import { u as useId } from "./useId-CF6wz41D.js";
3
3
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
4
- import { i as injectDialogRootContext } from "./DialogTitle-CLuntLBB.js";
4
+ import { i as injectDialogRootContext } from "./DialogTitle-jKgSCoXM.js";
5
5
  import { defineComponent, onMounted, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
6
6
  var DialogTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
7
7
  __name: "DialogTrigger",
@@ -0,0 +1,59 @@
1
+ import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, toDisplayString, createCommentVNode, renderSlot } from "vue";
2
+ import { useI18n } from "vue-i18n";
3
+ import { u as u7 } from "./index.min-CZ9FIOXr.js";
4
+ import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
5
+ import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
6
+ import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
7
+ const _hoisted_1 = { class: "flex items-center justify-center text-4xl text-[var(--text-secondary-light)] opacity-40 dark:text-[var(--text-secondary-dark)]" };
8
+ const _hoisted_2 = {
9
+ key: 0,
10
+ class: "text-sm font-bold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)] md:text-lg"
11
+ };
12
+ const _hoisted_3 = {
13
+ key: 1,
14
+ class: "max-w-md text-xs text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)] md:text-sm"
15
+ };
16
+ const _hoisted_4 = { key: 2 };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ __name: "EmptyStateCard",
19
+ props: {
20
+ icon: { type: [Object, Array], default: () => u7 },
21
+ title: { type: String, default: "" },
22
+ description: { type: String, default: "" },
23
+ titleKey: { type: String, default: "" },
24
+ descriptionKey: { type: String, default: "" }
25
+ },
26
+ setup(__props) {
27
+ const props = __props;
28
+ const { t } = useI18n();
29
+ const hasCustomCopy = computed(() => Boolean(props.title || props.description || props.titleKey || props.descriptionKey));
30
+ const resolvedTitle = computed(() => props.title || (props.titleKey ? t(props.titleKey) : "") || (!hasCustomCopy.value ? t("ui.common.empty.title") : "") || (!hasCustomCopy.value ? "Nothing here yet" : ""));
31
+ const resolvedDescription = computed(() => props.description || (props.descriptionKey ? t(props.descriptionKey) : "") || (!hasCustomCopy.value ? t("ui.common.empty.description") : "") || (!hasCustomCopy.value ? "There is no content to show right now." : ""));
32
+ return (_ctx, _cache) => {
33
+ return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex flex-col items-center justify-center px-4 py-8 text-center md:py-12" }, {
34
+ default: withCtx(() => [
35
+ createVNode(unref(_sfc_main$2), { class: "flex flex-col items-center justify-center !p-0 text-center" }, {
36
+ default: withCtx(() => [
37
+ createElementVNode("div", _hoisted_1, [
38
+ createVNode(unref(HugeiconsIcon), {
39
+ icon: props.icon,
40
+ class: "size-10"
41
+ }, null, 8, ["icon"])
42
+ ]),
43
+ resolvedTitle.value ? (openBlock(), createElementBlock("h3", _hoisted_2, toDisplayString(resolvedTitle.value), 1)) : createCommentVNode("", true),
44
+ resolvedDescription.value ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(resolvedDescription.value), 1)) : createCommentVNode("", true),
45
+ _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_4, [
46
+ renderSlot(_ctx.$slots, "action")
47
+ ])) : createCommentVNode("", true)
48
+ ]),
49
+ _: 3
50
+ })
51
+ ]),
52
+ _: 3
53
+ });
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ _sfc_main as _
59
+ };
@@ -1,16 +1,11 @@
1
- import { i as injectConfigProviderContext } from "./ConfigProvider-D2O0Jles.js";
1
+ import { i as injectConfigProviderContext } from "./ConfigProvider-DYO65bNW.js";
2
2
  import { computed, ref, watch, nextTick, onUnmounted, defineComponent, reactive, watchEffect, openBlock, createBlock, unref, withCtx, renderSlot } from "vue";
3
- import { b as useEventListener, a as unrefElement } from "./index-Cq9Ekgtb.js";
4
- import { h as tryOnBeforeUnmount, j as createSharedComposable, i as isClient, k as isIOS, l as createGlobalState } from "./index-qGMU40e1.js";
5
- import { d as defu } from "./Teleport-CV0tKbq5.js";
6
- import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
3
+ import { c as useEventListener, u as unrefElement } from "./index-Dw56kNV0.js";
4
+ import { h as tryOnBeforeUnmount, j as createSharedComposable, i as isClient, k as isIOS, l as createGlobalState } from "./index-DDJjWaIl.js";
5
+ import { d as defu } from "./Teleport-DTOwRCqx.js";
6
+ import { g as getActiveElement } from "./getActiveElement-Bmy6QsUb.js";
7
+ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
7
8
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
8
- function getActiveElement() {
9
- let activeElement = document.activeElement;
10
- if (activeElement == null) return null;
11
- while (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;
12
- return activeElement;
13
- }
14
9
  const useBodyLockStackCount = createSharedComposable(() => {
15
10
  const map = ref(/* @__PURE__ */ new Map());
16
11
  const initialOverflow = ref();
@@ -448,7 +443,6 @@ var FocusScope_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
448
443
  var FocusScope_default = FocusScope_vue_vue_type_script_setup_true_lang_default;
449
444
  export {
450
445
  FocusScope_default as F,
451
- useHideOthers as a,
452
- getActiveElement as g,
453
- useBodyScrollLock as u
446
+ useBodyScrollLock as a,
447
+ useHideOthers as u
454
448
  };