brutx-ui-vue 0.9.7 → 0.9.9

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 (221) hide show
  1. package/dist/chunks/{AccordionContent-CB1FhY6J.js → AccordionContent-BP8XrwIx.js} +15 -16
  2. package/dist/chunks/{AlertDescription--g0juUsk.js → AlertDescription-B3f7NHHQ.js} +2 -1
  3. package/dist/chunks/{AlertDialogCancel-DXBjaQOy.js → AlertDialogCancel-CG-fZMiS.js} +1 -1
  4. package/dist/chunks/{AuthCard-DmUp4761.js → AuthCard-DAk6Q3n2.js} +2 -2
  5. package/dist/chunks/{AvatarFallback-XHhqvLLl.js → AvatarFallback-D0QK2v6h.js} +4 -5
  6. package/dist/chunks/{Backtop-C0dv95GB.js → Backtop-DBubMyq3.js} +2 -2
  7. package/dist/chunks/{BrutalistHero-DYf-QOqz.js → BrutalistHero-C2yBfDVL.js} +2 -2
  8. package/dist/chunks/{Button-UuduRGTk.js → Button-CQH3jyWY.js} +43 -30
  9. package/dist/chunks/{Card-DSO1PnPd.js → Card-BbuXTMF2.js} +2 -2
  10. package/dist/chunks/{Card3D-Cif05TB8.js → Card3D-COE-PpwE.js} +6 -5
  11. package/dist/chunks/{Cascader-B3r5-pva.js → Cascader-B9zMvT7J.js} +2 -2
  12. package/dist/chunks/{ChatContainer-CtIYx6SP.js → ChatContainer-DxI1-cmJ.js} +19 -11
  13. package/dist/chunks/{ColorModeSwitcher-BySSzyzW.js → ColorModeSwitcher-BfODyloh.js} +2 -2
  14. package/dist/chunks/{ColorPicker-WsvdNWAG.js → ColorPicker-BV26AO0E.js} +173 -180
  15. package/dist/chunks/{Combobox-CeqXGYgx.js → Combobox-C2ofWZgq.js} +2 -2
  16. package/dist/chunks/{CommandItem-BV531Ar9.js → CommandItem-Dw9_4gxY.js} +10 -7
  17. package/dist/chunks/{CommandShortcut-3GbB6Ein.js → CommandShortcut-DhzQhH2k.js} +3 -3
  18. package/dist/chunks/{CookieConsent-CMfUoupC.js → CookieConsent-Bo6vtorq.js} +2 -2
  19. package/dist/chunks/Counter-31XZDA73.js +210 -0
  20. package/dist/chunks/{DashboardShell-ClWWXba9.js → DashboardShell-C9QDHVsG.js} +1 -1
  21. package/dist/chunks/{DataTable-D11IIsq_.js → DataTable-v6odfpSY.js} +171 -127
  22. package/dist/chunks/{DescriptionsItem-D1aF-T7B.js → DescriptionsItem-D4XARnKw.js} +9 -5
  23. package/dist/chunks/{DialogContent-D2qrMldz.js → DialogContent-Z0m9vo4R.js} +1 -1
  24. package/dist/chunks/{DialogDescription-CfCXGTBn.js → DialogDescription-DrSqSwMT.js} +1 -1
  25. package/dist/chunks/{DropdownMenuSubContent-Ckj44RIf.js → DropdownMenuSubContent-DSIimQoJ.js} +4 -4
  26. package/dist/chunks/{FeedbackForm-C4SDtnqu.js → FeedbackForm-Bj38uGf-.js} +2 -2
  27. package/dist/chunks/{FooterSection-ToS_S5lc.js → FooterSection-Cv2eQQXH.js} +3 -3
  28. package/dist/chunks/{HeaderSection-BHNc4MMw.js → HeaderSection-Dm7MhNWk.js} +7 -2
  29. package/dist/chunks/{Image-lqwvaj3I.js → Image-DQGjNrw9.js} +1 -1
  30. package/dist/chunks/{KanbanBoard-DVNOkmzM.js → KanbanBoard-CsmS0Sr-.js} +2 -2
  31. package/dist/chunks/{NoiseBackground-DMmhOuH6.js → NoiseBackground-MyEeaFgH.js} +1 -1
  32. package/dist/chunks/{NumberInput-CVcDnKxX.js → NumberInput-CFt8MTPz.js} +51 -36
  33. package/dist/chunks/{Pagination-3nC44bpq.js → Pagination-D94MJ-5i.js} +1 -1
  34. package/dist/chunks/{Popconfirm-DajAlkbJ.js → Popconfirm-DG62odoW.js} +2 -2
  35. package/dist/chunks/{PopoverContent-DHbLlAZi.js → PopoverContent-BR4RHXYa.js} +1 -1
  36. package/dist/chunks/{PricingSection-DdkZ5HIl.js → PricingSection-DkEGF-aq.js} +2 -2
  37. package/dist/chunks/{ScratchCard-CImGMiua.js → ScratchCard-ndvLtKC8.js} +1 -1
  38. package/dist/chunks/{ScrollArea-sBvpdClp.js → ScrollArea-Fzn_EgqQ.js} +18 -22
  39. package/dist/chunks/{SelectItem-FgG999e-.js → SelectItem-B541Rhqy.js} +4 -4
  40. package/dist/chunks/{SelectSeparator-BjLte7Ek.js → SelectSeparator-B4kviEmv.js} +1 -1
  41. package/dist/chunks/{SheetDescription-Zd6RfCCP.js → SheetDescription-BHq2-j1C.js} +1 -0
  42. package/dist/chunks/{Slider-_2MKTv0Y.js → Slider-DxFWq588.js} +31 -14
  43. package/dist/chunks/{Stepper-wUY0TEOT.js → Stepper-D49v7iMb.js} +32 -23
  44. package/dist/chunks/{SubMenu-B3R80Jvm.js → SubMenu-oD7qBrtZ.js} +42 -14
  45. package/dist/chunks/{Tabs-G3iqaAUt.js → Tabs-5NGmdnfd.js} +1 -1
  46. package/dist/chunks/{ToastContainer-A2drzzuz.js → ToastContainer-DnN_ODER.js} +5 -5
  47. package/dist/chunks/{Tour-Ba-Np-dh.js → Tour-BZGKQNf7.js} +1 -1
  48. package/dist/chunks/{Transfer-rgzTNzty.js → Transfer-BcLrawvV.js} +2 -2
  49. package/dist/chunks/{TreeSelect-CDI74xVq.js → TreeSelect-Dt2UiMnG.js} +3 -3
  50. package/dist/chunks/{TreeView-CdSGVx0E.js → TreeView-B7ETE04q.js} +9 -10
  51. package/dist/chunks/{UploadFileList-BwiKoZz6.js → UploadFileList-CWrGZQo3.js} +2 -2
  52. package/dist/chunks/{Watermark-C0x6abRB.js → Watermark-D7VB39cd.js} +1 -1
  53. package/dist/chunks/{calendar-mlrDCSZg.js → calendar-CEKwjlLo.js} +2 -2
  54. package/dist/chunks/{carousel-CC9vE08L.js → carousel-5zxBv91A.js} +3 -3
  55. package/dist/chunks/{code-block-D78YWMrX.js → code-block-BJoWlko2.js} +66 -61
  56. package/dist/chunks/{date-CEjFRzNr.js → date-CJcu94DA.js} +26 -17
  57. package/dist/chunks/{date-picker--wrTdWPA.js → date-picker-BJqcquOb.js} +77 -73
  58. package/dist/chunks/{env-Blte_yub.js → env-CvRqOgSF.js} +7 -1
  59. package/dist/chunks/{floating-animation-classes-CTHbi2Bu.js → floating-animation-classes-BpG5LmZa.js} +1 -0
  60. package/dist/chunks/{form-DZoSwhHH.js → form-BMVZ-Mdq.js} +6 -3
  61. package/dist/chunks/{functional-CN2_I2sz.js → functional-ZVsrDRu9.js} +61 -61
  62. package/dist/chunks/plugin-CHaCenTo.js +16 -0
  63. package/dist/chunks/{tree-variants-D0dVGpxo.js → tree-variants-DlN-XSM-.js} +1 -1
  64. package/dist/chunks/{useInfiniteScroll-PKwo2qMf.js → useInfiniteScroll-Bj0Hy8eF.js} +25 -16
  65. package/dist/chunks/{useMessage-DXR-nOoc.js → useMessage-DSUQYEbg.js} +4 -3
  66. package/dist/components/accordion/accordion-variants.d.ts.map +1 -1
  67. package/dist/components/accordion/index.js +1 -1
  68. package/dist/components/alert/Alert.vue.d.ts.map +1 -1
  69. package/dist/components/alert/index.js +1 -1
  70. package/dist/components/alert-dialog/index.js +1 -1
  71. package/dist/components/auth-card/index.js +1 -1
  72. package/dist/components/avatar/AvatarImage.vue.d.ts.map +1 -1
  73. package/dist/components/avatar/index.js +1 -1
  74. package/dist/components/backtop/index.js +1 -1
  75. package/dist/components/brutalist-hero/index.js +1 -1
  76. package/dist/components/button/Button.vue.d.ts +2 -2
  77. package/dist/components/button/Button.vue.d.ts.map +1 -1
  78. package/dist/components/button/index.js +1 -1
  79. package/dist/components/calendar/index.js +1 -1
  80. package/dist/components/card/index.js +1 -1
  81. package/dist/components/card-3d/Card3D.vue.d.ts.map +1 -1
  82. package/dist/components/card-3d/index.js +1 -1
  83. package/dist/components/carousel/index.js +1 -1
  84. package/dist/components/cascader/index.js +1 -1
  85. package/dist/components/chat-bubble/ChatContainer.vue.d.ts.map +1 -1
  86. package/dist/components/chat-bubble/chat-bubble-variants.d.ts.map +1 -1
  87. package/dist/components/chat-bubble/index.js +1 -1
  88. package/dist/components/code-block/CodeBlock.vue.d.ts.map +1 -1
  89. package/dist/components/code-block/index.js +1 -1
  90. package/dist/components/code-block/prism-languages.d.ts.map +1 -1
  91. package/dist/components/color-mode-switcher/index.js +1 -1
  92. package/dist/components/color-picker/ColorPicker.vue.d.ts +1 -1
  93. package/dist/components/color-picker/ColorPicker.vue.d.ts.map +1 -1
  94. package/dist/components/color-picker/ColorPickerInput.vue.d.ts.map +1 -1
  95. package/dist/components/color-picker/index.js +1 -1
  96. package/dist/components/combobox/index.js +1 -1
  97. package/dist/components/command/CommandInput.vue.d.ts.map +1 -1
  98. package/dist/components/command/index.js +2 -2
  99. package/dist/components/cookie-consent/index.js +1 -1
  100. package/dist/components/counter/Counter.vue.d.ts.map +1 -1
  101. package/dist/components/counter/index.js +1 -1
  102. package/dist/components/dashboard-shell/index.js +1 -1
  103. package/dist/components/data-table/DataTable.vue.d.ts.map +1 -1
  104. package/dist/components/data-table/DataTableColumnFilter.vue.d.ts.map +1 -1
  105. package/dist/components/data-table/index.js +1 -1
  106. package/dist/components/date-picker/DatePicker.vue.d.ts.map +1 -1
  107. package/dist/components/date-picker/DatePickerPanel.vue.d.ts.map +1 -1
  108. package/dist/components/date-picker/DatePickerRange.vue.d.ts.map +1 -1
  109. package/dist/components/date-picker/index.js +1 -1
  110. package/dist/components/descriptions/DescriptionsItem.vue.d.ts +5 -1
  111. package/dist/components/descriptions/DescriptionsItem.vue.d.ts.map +1 -1
  112. package/dist/components/descriptions/index.js +1 -1
  113. package/dist/components/dialog/functional.d.ts.map +1 -1
  114. package/dist/components/dialog/index.js +3 -3
  115. package/dist/components/dropdown-menu/index.js +1 -1
  116. package/dist/components/feedback-form/index.js +1 -1
  117. package/dist/components/footer-section/FooterSection.vue.d.ts.map +1 -1
  118. package/dist/components/footer-section/index.js +1 -1
  119. package/dist/components/form/FormConditional.vue.d.ts.map +1 -1
  120. package/dist/components/form/index.js +1 -1
  121. package/dist/components/header-section/HeaderSection.vue.d.ts.map +1 -1
  122. package/dist/components/header-section/index.js +1 -1
  123. package/dist/components/image/index.js +1 -1
  124. package/dist/components/infinite-scroll/index.js +1 -1
  125. package/dist/components/infinite-scroll/useInfiniteScroll.d.ts.map +1 -1
  126. package/dist/components/kanban/index.js +1 -1
  127. package/dist/components/menu/Menu.vue.d.ts.map +1 -1
  128. package/dist/components/menu/SubMenu.vue.d.ts.map +1 -1
  129. package/dist/components/menu/index.js +1 -1
  130. package/dist/components/menu/menu-types.d.ts +2 -0
  131. package/dist/components/menu/menu-types.d.ts.map +1 -1
  132. package/dist/components/message/index.js +1 -1
  133. package/dist/components/noise-background/index.js +1 -1
  134. package/dist/components/number-input/NumberInput.vue.d.ts.map +1 -1
  135. package/dist/components/number-input/index.js +1 -1
  136. package/dist/components/pagination/index.js +1 -1
  137. package/dist/components/popconfirm/index.js +1 -1
  138. package/dist/components/popover/index.js +1 -1
  139. package/dist/components/pricing-section/index.js +1 -1
  140. package/dist/components/scratch-card/index.js +1 -1
  141. package/dist/components/scroll-area/index.js +1 -1
  142. package/dist/components/scroll-area/scroll-area-variants.d.ts.map +1 -1
  143. package/dist/components/select/index.js +2 -2
  144. package/dist/components/sheet/index.js +1 -1
  145. package/dist/components/sheet/sheet-variants.d.ts.map +1 -1
  146. package/dist/components/slider/Slider.vue.d.ts.map +1 -1
  147. package/dist/components/slider/index.js +1 -1
  148. package/dist/components/stepper/Stepper.vue.d.ts.map +1 -1
  149. package/dist/components/stepper/index.js +1 -1
  150. package/dist/components/tabs/index.js +1 -1
  151. package/dist/components/toast/index.js +1 -1
  152. package/dist/components/tour/index.js +1 -1
  153. package/dist/components/transfer/index.js +1 -1
  154. package/dist/components/tree-select/index.js +1 -1
  155. package/dist/components/tree-view/index.js +1 -1
  156. package/dist/components/tree-view/tree-view-utils.d.ts.map +1 -1
  157. package/dist/components/upload/Upload.vue.d.ts +1 -1
  158. package/dist/components/upload/Upload.vue.d.ts.map +1 -1
  159. package/dist/components/upload/index.js +1 -1
  160. package/dist/components/upload/upload-types.d.ts +1 -1
  161. package/dist/components/upload/upload-types.d.ts.map +1 -1
  162. package/dist/components/watermark/index.js +1 -1
  163. package/dist/composables/destroyFallbacks.js +1 -1
  164. package/dist/composables/useAudioEngine.js +1 -1
  165. package/dist/composables/useCanvasInteraction.d.ts.map +1 -1
  166. package/dist/composables/useCanvasInteraction.js +49 -27
  167. package/dist/composables/useClipboard.js +1 -1
  168. package/dist/composables/useColorHistory.js +1 -1
  169. package/dist/composables/useColorPicker.d.ts +2 -0
  170. package/dist/composables/useColorPicker.d.ts.map +1 -1
  171. package/dist/composables/useColorPicker.js +32 -24
  172. package/dist/composables/useDataTableFilter.d.ts.map +1 -1
  173. package/dist/composables/useDataTableFilter.js +6 -4
  174. package/dist/composables/useDataTablePagination.d.ts.map +1 -1
  175. package/dist/composables/useDataTablePagination.js +24 -20
  176. package/dist/composables/useDataTableSelection.d.ts.map +1 -1
  177. package/dist/composables/useDataTableSelection.js +1 -1
  178. package/dist/composables/useDatePicker.d.ts.map +1 -1
  179. package/dist/composables/useDatePicker.js +2 -2
  180. package/dist/composables/useDebounce.d.ts +2 -2
  181. package/dist/composables/useDebounce.d.ts.map +1 -1
  182. package/dist/composables/useDialog.js +1 -1
  183. package/dist/composables/useDialogEnhanced.d.ts.map +1 -1
  184. package/dist/composables/useDialogEnhanced.js +45 -18
  185. package/dist/composables/useGlitchEffect.d.ts.map +1 -1
  186. package/dist/composables/useGlitchEffect.js +5 -1
  187. package/dist/composables/useKanban.d.ts.map +1 -1
  188. package/dist/composables/useKanban.js +5 -1
  189. package/dist/composables/useMessage.d.ts.map +1 -1
  190. package/dist/composables/useMessage.js +1 -1
  191. package/dist/composables/useMessageBox.d.ts.map +1 -1
  192. package/dist/composables/useMessageBox.js +9 -7
  193. package/dist/composables/useReducedMotion.js +1 -1
  194. package/dist/composables/useStepper.d.ts.map +1 -1
  195. package/dist/composables/useStepper.js +26 -23
  196. package/dist/composables/useTheme.d.ts.map +1 -1
  197. package/dist/composables/useTheme.js +25 -24
  198. package/dist/composables/useToast.js +1 -1
  199. package/dist/directives/loading.js +1 -1
  200. package/dist/index.js +213 -202
  201. package/dist/lib/date.d.ts +2 -0
  202. package/dist/lib/date.d.ts.map +1 -1
  203. package/dist/lib/defaults.d.ts +6 -0
  204. package/dist/lib/defaults.d.ts.map +1 -1
  205. package/dist/lib/devtools-plugin.d.ts +6 -37
  206. package/dist/lib/devtools-plugin.d.ts.map +1 -1
  207. package/dist/lib/env.d.ts.map +1 -1
  208. package/dist/lib/floating-animation-classes.d.ts +1 -1
  209. package/dist/lib/floating-animation-classes.d.ts.map +1 -1
  210. package/dist/lib/theme-variables.d.ts.map +1 -1
  211. package/dist/lib/tree-variants.d.ts +1 -1
  212. package/dist/lib/tree-variants.d.ts.map +1 -1
  213. package/dist/plugin.d.ts +0 -1
  214. package/dist/plugin.d.ts.map +1 -1
  215. package/dist/styles.css +1 -1
  216. package/dist/test-utils/a11y.d.ts.map +1 -1
  217. package/dist/vitest.browser.setup.d.ts.map +1 -1
  218. package/dist/vitest.setup.d.ts.map +1 -1
  219. package/package.json +1 -1
  220. package/dist/chunks/Counter-hM305rfh.js +0 -210
  221. package/dist/chunks/plugin-oGQ0IQs4.js +0 -13
@@ -50,20 +50,19 @@ var D = /* @__PURE__ */ c({
50
50
  ]
51
51
  } },
52
52
  defaultVariants: { variant: "default" }
53
- }), k = E([
53
+ }), k = "hover:bg-brutal-muted hover:shadow-brutal-sm hover:-translate-y-0.5", A = E([
54
54
  "flex flex-1 items-center justify-between py-4 px-6",
55
55
  "text-left font-black tracking-wide transition-all",
56
- n,
57
- "hover:shadow-brutal-sm hover:-translate-y-0.5"
56
+ n
58
57
  ], {
59
58
  variants: { variant: {
60
- default: "hover:bg-brutal-muted",
61
- flat: "hover:bg-brutal-muted",
62
- ghost: "hover:bg-brutal-muted",
59
+ default: k,
60
+ flat: k,
61
+ ghost: k,
63
62
  interactive: "hover:bg-brutal-muted"
64
63
  } },
65
64
  defaultVariants: { variant: "default" }
66
- }), A = E("border-t-3 border-brutal p-6 bg-brutal-bg text-brutal-fg", {
65
+ }), j = E("border-t-3 border-brutal p-6 bg-brutal-bg text-brutal-fg", {
67
66
  variants: { variant: {
68
67
  default: "",
69
68
  flat: "bg-brutal-muted/30",
@@ -71,7 +70,7 @@ var D = /* @__PURE__ */ c({
71
70
  interactive: "hover:bg-brutal-muted/20"
72
71
  } },
73
72
  defaultVariants: { variant: "default" }
74
- }), j = Symbol("accordionItem"), M = /* @__PURE__ */ c({
73
+ }), M = Symbol("accordionItem"), N = /* @__PURE__ */ c({
75
74
  __name: "AccordionItem",
76
75
  props: {
77
76
  variant: { default: "default" },
@@ -87,12 +86,12 @@ var D = /* @__PURE__ */ c({
87
86
  let { class: e, variant: t, ...r } = n;
88
87
  return r;
89
88
  })), o = i(() => e(O({ variant: n.variant }), n.class));
90
- return p(j, { variant: h(n, "variant") }), (e, t) => (f(), a(g(x), u(g(r), { class: o.value }), {
89
+ return p(M, { variant: h(n, "variant") }), (e, t) => (f(), a(g(x), u(g(r), { class: o.value }), {
91
90
  default: _(() => [m(e.$slots, "default")]),
92
91
  _: 3
93
92
  }, 16, ["class"]));
94
93
  }
95
- }), N = /* @__PURE__ */ c({
94
+ }), P = /* @__PURE__ */ c({
96
95
  __name: "AccordionTrigger",
97
96
  props: {
98
97
  asChild: { type: Boolean },
@@ -101,10 +100,10 @@ var D = /* @__PURE__ */ c({
101
100
  iconSize: { default: "lg" }
102
101
  },
103
102
  setup(t) {
104
- let n = t, o = l(j, { variant: i(() => void 0) }), c = w(i(() => {
103
+ let n = t, o = l(M, { variant: i(() => void 0) }), c = w(i(() => {
105
104
  let { class: e, iconSize: t, ...r } = n;
106
105
  return r;
107
- })), p = i(() => e(k({ variant: o.variant.value }), "[&[data-state=open]>svg]:rotate-180", n.class)), h = i(() => e(r({ size: n.iconSize }), "shrink-0 transition-transform duration-200 border-3 border-brutal rounded-brutal bg-brutal-bg p-0.5 shadow-brutal-sm"));
106
+ })), p = i(() => e(A({ variant: o.variant.value }), "[&[data-state=open]>svg]:rotate-180", n.class)), h = i(() => e(r({ size: n.iconSize }), "shrink-0 transition-transform duration-200 border-3 border-brutal rounded-brutal bg-brutal-bg p-0.5 shadow-brutal-sm"));
108
107
  return (e, t) => (f(), a(g(b), { class: "flex !m-0" }, {
109
108
  default: _(() => [s(g(C), u(g(c), { class: p.value }), {
110
109
  default: _(() => [m(e.$slots, "default"), m(e.$slots, "icon", {}, () => [s(g(v), { class: d(h.value) }, null, 8, ["class"])])]),
@@ -113,7 +112,7 @@ var D = /* @__PURE__ */ c({
113
112
  _: 3
114
113
  }));
115
114
  }
116
- }), P = /* @__PURE__ */ c({
115
+ }), F = /* @__PURE__ */ c({
117
116
  __name: "AccordionContent",
118
117
  props: {
119
118
  forceMount: { type: Boolean },
@@ -122,10 +121,10 @@ var D = /* @__PURE__ */ c({
122
121
  class: {}
123
122
  },
124
123
  setup(t) {
125
- let n = t, r = l(j, { variant: i(() => void 0) }), s = i(() => {
124
+ let n = t, r = l(M, { variant: i(() => void 0) }), s = i(() => {
126
125
  let { class: e, ...t } = n;
127
126
  return t;
128
- }), c = i(() => e(A({ variant: r.variant.value }), n.class));
127
+ }), c = i(() => e(j({ variant: r.variant.value }), n.class));
129
128
  return (e, t) => (f(), a(g(y), u(s.value, { class: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
130
129
  default: _(() => [o("div", { class: d(c.value) }, [m(e.$slots, "default")], 2)]),
131
130
  _: 3
@@ -133,4 +132,4 @@ var D = /* @__PURE__ */ c({
133
132
  }
134
133
  });
135
134
  //#endregion
136
- export { A as a, D as c, j as i, N as n, O as o, M as r, k as s, P as t };
135
+ export { j as a, D as c, M as i, P as n, O as o, N as r, A as s, F as t };
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { t } from "./icon-size-variants-nPLFCnI7.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-UuduRGTk.js";
4
+ import { t as r } from "./Button-CQH3jyWY.js";
5
5
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, renderSlot as f, unref as p, useSlots as m, withCtx as h } from "vue";
6
6
  import { X as g } from "@lucide/vue";
7
7
  import { Primitive as _ } from "reka-ui";
@@ -50,6 +50,7 @@ var y = v([
50
50
  p(v).actions ? (d(), s("div", b, [f(e.$slots, "actions")])) : o("", !0),
51
51
  l.closable ? (d(), a(r, {
52
52
  key: 1,
53
+ type: "button",
53
54
  variant: "ghost",
54
55
  size: "icon",
55
56
  class: "absolute right-3 top-3 h-8 w-8",
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { t } from "./button-variants-BLYYjo0C.js";
3
3
  import { a as n, i as r, r as i, t as a } from "./modal-variants-CyL0Kxke.js";
4
- import { t as o } from "./floating-animation-classes-CTHbi2Bu.js";
4
+ import { t as o } from "./floating-animation-classes-BpG5LmZa.js";
5
5
  import { computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, renderSlot as h, unref as g, withCtx as _ } from "vue";
6
6
  import { AlertDialogAction as v, AlertDialogCancel as y, AlertDialogContent as b, AlertDialogDescription as x, AlertDialogOverlay as S, AlertDialogPortal as C, AlertDialogTitle as w, useForwardProps as T } from "reka-ui";
7
7
  import { cva as E } from "class-variance-authority";
@@ -1,10 +1,10 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { t } from "./icon-size-variants-nPLFCnI7.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-UuduRGTk.js";
4
+ import { t as r } from "./Button-CQH3jyWY.js";
5
5
  import { t as i } from "./Label-B3416ZVX.js";
6
6
  import { t as a } from "./Input-Cgt7mldw.js";
7
- import { t as o } from "./Card-DSO1PnPd.js";
7
+ import { t as o } from "./Card-BbuXTMF2.js";
8
8
  import { i as s, n as c, r as l, t as u } from "./CardFooter-qWuhvRh2.js";
9
9
  import { t as d } from "./CardContent-BMUyIIpB.js";
10
10
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, ref as S, toDisplayString as C, unref as w, useId as T, withCtx as E, withModifiers as D } from "vue";
@@ -82,17 +82,16 @@ var y = v(["relative flex shrink-0 overflow-hidden", "border-3 border-brutal"],
82
82
  class: {}
83
83
  },
84
84
  setup(t) {
85
- let a = t, o = n(() => e("aspect-square h-full w-full object-cover", a.class));
86
- return (e, n) => t.src ? (u(), r(p(g), {
87
- key: 0,
85
+ let i = t, a = n(() => e("aspect-square h-full w-full object-cover", i.class));
86
+ return (e, n) => (u(), r(p(g), {
88
87
  src: t.src,
89
88
  alt: t.alt,
90
- class: l(o.value)
89
+ class: l(a.value)
91
90
  }, null, 8, [
92
91
  "src",
93
92
  "alt",
94
93
  "class"
95
- ])) : i("", !0);
94
+ ]));
96
95
  }
97
96
  }), E = /* @__PURE__ */ s({
98
97
  __name: "AvatarFallback",
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
- import { c as t, m as n } from "./env-Blte_yub.js";
3
- import { t as r } from "./Button-UuduRGTk.js";
2
+ import { c as t, m as n } from "./env-CvRqOgSF.js";
3
+ import { t as r } from "./Button-CQH3jyWY.js";
4
4
  import { useThrottle as i } from "../composables/useThrottle.js";
5
5
  import { Transition as a, computed as o, createBlock as s, createCommentVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, onMounted as m, openBlock as h, ref as g, renderSlot as _, unref as v, watch as y, withCtx as b } from "vue";
6
6
  import { ArrowUp as x } from "@lucide/vue";
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { t } from "./icon-size-variants-nPLFCnI7.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-UuduRGTk.js";
4
+ import { t as r } from "./Button-CQH3jyWY.js";
5
5
  import { t as i } from "./Badge-CHXf0ZM1.js";
6
- import { t as a } from "./Card-DSO1PnPd.js";
6
+ import { t as a } from "./Card-BbuXTMF2.js";
7
7
  import { t as o } from "./CardContent-BMUyIIpB.js";
8
8
  import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
9
9
  import { ArrowRight as y, Sparkles as b } from "@lucide/vue";
@@ -5,12 +5,12 @@ import { useLocale as r } from "../composables/useLocale.js";
5
5
  import { p as i } from "./defaults-BrqEfXpQ.js";
6
6
  import { useGlitchEffect as a } from "../composables/useGlitchEffect.js";
7
7
  import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
9
- import { Loader2 as b } from "@lucide/vue";
10
- import { Primitive as x } from "reka-ui";
8
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, defineComponent as p, normalizeClass as m, onMounted as h, onUpdated as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
9
+ import { Loader2 as C } from "@lucide/vue";
10
+ import { Primitive as w } from "reka-ui";
11
11
  //#endregion
12
12
  //#region src/components/button/Button.vue
13
- var S = /*#__PURE__*/ o(/* @__PURE__ */ p({
13
+ var T = /*#__PURE__*/ o(/* @__PURE__ */ p({
14
14
  __name: "Button",
15
15
  props: {
16
16
  variant: { default: "default" },
@@ -45,59 +45,72 @@ var S = /*#__PURE__*/ o(/* @__PURE__ */ p({
45
45
  class: { default: void 0 }
46
46
  },
47
47
  setup(i, { expose: o }) {
48
- let p = i, { t: S } = r(), C = c(() => p.disabled || p.loading), { isGlitching: w, onMouseEnter: T, onMouseLeave: E, onClick: D, play: O, stop: k } = a({
48
+ let p = i, { t: T } = r(), E = c(() => p.disabled || p.loading), { isGlitching: D, onMouseEnter: O, onMouseLeave: k, onClick: A, play: j, stop: M } = a({
49
49
  trigger: () => p.glitchTrigger,
50
50
  interval: () => p.glitchInterval,
51
- disabled: C
52
- }), A = c(() => e(t({
51
+ disabled: E
52
+ }), N = c(() => e(t({
53
53
  variant: p.variant,
54
54
  size: p.size,
55
55
  effect: p.effect,
56
56
  glitchSpeed: p.glitchSpeed,
57
57
  glitchDirection: p.glitchDirection
58
- }), p.effect === "glitch" && w.value ? "is-glitching" : "", p.asChild && C.value && "pointer-events-none", p.class)), j = {
58
+ }), p.effect === "glitch" && D.value ? "is-glitching" : "", p.asChild && E.value && "pointer-events-none", p.class)), P = {
59
59
  sm: "sm",
60
60
  default: "default",
61
61
  lg: "lg",
62
62
  xl: "xl",
63
63
  icon: "default"
64
- }, M = c(() => e(n({ size: j[p.size] }), "animate-spin")), N = c(() => p.pendingText ?? S("submitButton.submitting")), P = c(() => p.type === "submit" && p.loading && !!N.value);
65
- function F() {
66
- p.effect === "glitch" && T();
64
+ }, F = c(() => e(n({ size: P[p.size] }), "animate-spin")), I = c(() => p.pendingText ?? T("submitButton.submitting")), L = c(() => p.type === "submit" && p.loading && !!I.value);
65
+ function R() {
66
+ p.effect === "glitch" && O();
67
67
  }
68
- function I() {
69
- p.effect === "glitch" && E();
68
+ function z() {
69
+ p.effect === "glitch" && k();
70
70
  }
71
- function L() {
72
- p.effect === "glitch" && D();
71
+ function B(e) {
72
+ if (E.value) {
73
+ e.preventDefault(), e.stopPropagation();
74
+ return;
75
+ }
76
+ p.effect === "glitch" && A();
73
77
  }
74
- return o({
75
- play: O,
76
- stop: k
77
- }), (e, t) => (h(), l(v(x), {
78
+ let V = v(null), H = v("");
79
+ function U() {
80
+ let e = V.value?.$el;
81
+ e instanceof HTMLElement && (H.value = e.textContent?.trim() ?? "");
82
+ }
83
+ return h(U), g(U), o({
84
+ play: j,
85
+ stop: M
86
+ }), (e, t) => (_(), l(x(w), {
87
+ ref_key: "rootEl",
88
+ ref: V,
78
89
  as: i.asChild ? void 0 : "button",
79
90
  "as-child": i.asChild,
80
- class: m(A.value),
91
+ class: m(N.value),
81
92
  type: i.type,
82
- disabled: !i.asChild && C.value,
83
- "aria-disabled": i.asChild && C.value ? !0 : void 0,
93
+ "data-text": H.value,
94
+ disabled: !i.asChild && E.value,
95
+ "aria-disabled": i.asChild && E.value ? !0 : void 0,
84
96
  "aria-busy": i.loading || void 0,
85
97
  "aria-pressed": i.pressed,
86
98
  "aria-expanded": i.expanded,
87
- onMouseenter: F,
88
- onMouseleave: I,
89
- onClick: L
99
+ onMouseenter: R,
100
+ onMouseleave: z,
101
+ onClick: B
90
102
  }, {
91
- default: y(() => [i.loading ? (h(), l(v(b), {
103
+ default: S(() => [i.loading ? (_(), l(x(C), {
92
104
  key: 0,
93
- class: m(M.value)
94
- }, null, 8, ["class"])) : u("", !0), g(e.$slots, "default", {}, () => [P.value ? (h(), d(s, { key: 0 }, [f(_(N.value), 1)], 64)) : u("", !0)], !0)]),
105
+ class: m(F.value)
106
+ }, null, 8, ["class"])) : u("", !0), y(e.$slots, "default", {}, () => [L.value ? (_(), d(s, { key: 0 }, [f(b(I.value), 1)], 64)) : u("", !0)], !0)]),
95
107
  _: 3
96
108
  }, 8, [
97
109
  "as",
98
110
  "as-child",
99
111
  "class",
100
112
  "type",
113
+ "data-text",
101
114
  "disabled",
102
115
  "aria-disabled",
103
116
  "aria-busy",
@@ -105,6 +118,6 @@ var S = /*#__PURE__*/ o(/* @__PURE__ */ p({
105
118
  "aria-expanded"
106
119
  ]));
107
120
  }
108
- }), [["__scopeId", "data-v-42460e15"]]);
121
+ }), [["__scopeId", "data-v-b6f917c2"]]);
109
122
  //#endregion
110
- export { S as t };
123
+ export { T as t };
@@ -20,8 +20,8 @@ var u = l([
20
20
  n,
21
21
  "cursor-pointer"
22
22
  ],
23
- primary: "shadow-brutal-primary border-[var(--brutal-primary)]",
24
- secondary: "shadow-brutal-secondary border-[var(--brutal-secondary)]"
23
+ primary: "shadow-brutal-primary border-brutal-primary",
24
+ secondary: "shadow-brutal-secondary border-brutal-secondary"
25
25
  },
26
26
  padding: {
27
27
  none: "p-0",
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { useLocale as t } from "../composables/useLocale.js";
3
3
  import { d as n } from "./defaults-BrqEfXpQ.js";
4
- import { o as r } from "./env-Blte_yub.js";
4
+ import { o as r } from "./env-CvRqOgSF.js";
5
5
  import { useReducedMotion as i } from "../composables/useReducedMotion.js";
6
6
  import { computed as a, createElementBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, normalizeStyle as d, onMounted as f, openBlock as p, ref as m, renderSlot as h, unref as g, watch as _ } from "vue";
7
7
  import { cva as v } from "class-variance-authority";
@@ -64,11 +64,12 @@ var y = 4, b = v([
64
64
  });
65
65
  let M = m(0), N = m(0), P = (e) => {
66
66
  if (v.disabled || O.value) return;
67
- let t = w.value?.getBoundingClientRect();
68
- if (!t) return;
67
+ let t = w.value, n = t?.getBoundingClientRect();
68
+ if (!t || !n || n.width <= 0 || n.height <= 0) return;
69
+ let r = n.width, i = n.height;
69
70
  D.value = !0;
70
- let n = (e.clientX - t.left) / t.width - C, r = (e.clientY - t.top) / t.height - C;
71
- T.value = -r * v.maxRotation, E.value = n * v.maxRotation, M.value = -n * v.shadowOffset + j.value, N.value = -r * v.shadowOffset + j.value;
71
+ let a = (e.clientX - n.left) / r - C, o = (e.clientY - n.top) / i - C;
72
+ !Number.isFinite(a) || !Number.isFinite(o) || (T.value = -o * v.maxRotation, E.value = a * v.maxRotation, M.value = -a * v.shadowOffset + j.value, N.value = -o * v.shadowOffset + j.value);
72
73
  }, F = () => {
73
74
  D.value = !1, T.value = 0, E.value = 0, M.value = j.value, N.value = j.value;
74
75
  };
@@ -2,8 +2,8 @@ import { n as e } from "./utils-CUXX1zll.js";
2
2
  import { n as t } from "./brutal-interaction-variants-BAheBvSg.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
4
  import { t as r } from "./Checkbox-BJKxAvEj.js";
5
- import { n as i } from "./floating-animation-classes-CTHbi2Bu.js";
6
- import { t as a } from "./PopoverContent-DHbLlAZi.js";
5
+ import { n as i } from "./floating-animation-classes-BpG5LmZa.js";
6
+ import { t as a } from "./PopoverContent-BR4RHXYa.js";
7
7
  import { useSelectableTrigger as o } from "../composables/useSelectableTrigger.js";
8
8
  import { useSelectionDisplayText as s } from "../composables/useSelectionDisplayText.js";
9
9
  import { useClearableSelection as ee } from "../composables/useClearableSelection.js";
@@ -12,7 +12,7 @@ var w = C([
12
12
  ], {
13
13
  variants: {
14
14
  variant: {
15
- sent: "bg-brutal-primary text-brutal-primary-foreground ml-auto",
15
+ sent: "ml-auto",
16
16
  received: "bg-brutal-bg text-brutal-fg mr-auto",
17
17
  system: "bg-brutal-muted text-brutal-fg mx-auto text-center italic border-dashed shadow-none text-xs"
18
18
  },
@@ -27,15 +27,23 @@ var w = C([
27
27
  lg: "px-5 py-3.5 text-base"
28
28
  }
29
29
  },
30
- compoundVariants: [{
31
- variant: "sent",
32
- color: "primary",
33
- class: "shadow-brutal-primary"
34
- }, {
35
- variant: "sent",
36
- color: "accent",
37
- class: "bg-brutal-accent text-brutal-accent-foreground"
38
- }],
30
+ compoundVariants: [
31
+ {
32
+ variant: "sent",
33
+ color: "default",
34
+ class: "bg-brutal-primary text-brutal-primary-foreground"
35
+ },
36
+ {
37
+ variant: "sent",
38
+ color: "primary",
39
+ class: "bg-brutal-primary text-brutal-primary-foreground shadow-brutal-primary"
40
+ },
41
+ {
42
+ variant: "sent",
43
+ color: "accent",
44
+ class: "bg-brutal-accent text-brutal-accent-foreground"
45
+ }
46
+ ],
39
47
  defaultVariants: {
40
48
  variant: "received",
41
49
  color: "default",
@@ -187,7 +195,7 @@ var w = C([
187
195
  let t = [], n = [], r = "", i = "", a = null, o = f.groupInterval * I;
188
196
  for (let s of e) {
189
197
  let e = s.timestamp, c = null;
190
- e instanceof Date ? c = e : typeof e == "string" && e && (c = new Date(e));
198
+ e instanceof Date ? c = e : typeof e == "string" && e && (c = new Date(e)), c && Number.isNaN(c.getTime()) && (c = null);
191
199
  let l = c ? m(c) : "", u = l !== i, d = c !== null && a !== null && !u && c.getTime() - a.getTime() > o;
192
200
  u ? (n.length > 0 && t.push({
193
201
  label: r,
@@ -1,7 +1,7 @@
1
1
  import { useLocale as e } from "../composables/useLocale.js";
2
- import { t } from "./Button-UuduRGTk.js";
2
+ import { t } from "./Button-CQH3jyWY.js";
3
3
  import { useTheme as n } from "../composables/useTheme.js";
4
- import { a as r, n as i, t as a } from "./SelectItem-FgG999e-.js";
4
+ import { a as r, n as i, t as a } from "./SelectItem-B541Rhqy.js";
5
5
  import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, renderList as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
6
6
  import { Monitor as b, Moon as x, Sun as S } from "@lucide/vue";
7
7
  import { SelectRoot as C, SelectValue as w } from "reka-ui";