brutx-ui-vue 0.9.8 → 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 (188) hide show
  1. package/dist/chunks/{AlertDescription--g0juUsk.js → AlertDescription-B3f7NHHQ.js} +2 -1
  2. package/dist/chunks/{AlertDialogCancel-DXBjaQOy.js → AlertDialogCancel-CG-fZMiS.js} +1 -1
  3. package/dist/chunks/{AuthCard-CLfIvsPF.js → AuthCard-DAk6Q3n2.js} +1 -1
  4. package/dist/chunks/{AvatarFallback-XHhqvLLl.js → AvatarFallback-D0QK2v6h.js} +4 -5
  5. package/dist/chunks/{Backtop-C0dv95GB.js → Backtop-DBubMyq3.js} +2 -2
  6. package/dist/chunks/{BrutalistHero-GC6JuTAI.js → BrutalistHero-C2yBfDVL.js} +1 -1
  7. package/dist/chunks/{Button-UuduRGTk.js → Button-CQH3jyWY.js} +43 -30
  8. package/dist/chunks/{Card3D-Cif05TB8.js → Card3D-COE-PpwE.js} +6 -5
  9. package/dist/chunks/{Cascader-B3r5-pva.js → Cascader-B9zMvT7J.js} +2 -2
  10. package/dist/chunks/{ChatContainer-DRhBWX4o.js → ChatContainer-DxI1-cmJ.js} +1 -1
  11. package/dist/chunks/{ColorModeSwitcher-RVMWkIfS.js → ColorModeSwitcher-BfODyloh.js} +2 -2
  12. package/dist/chunks/{ColorPicker-WsvdNWAG.js → ColorPicker-BV26AO0E.js} +173 -180
  13. package/dist/chunks/{Combobox-CeqXGYgx.js → Combobox-C2ofWZgq.js} +2 -2
  14. package/dist/chunks/{CommandItem-BV531Ar9.js → CommandItem-Dw9_4gxY.js} +10 -7
  15. package/dist/chunks/{CommandShortcut-3GbB6Ein.js → CommandShortcut-DhzQhH2k.js} +3 -3
  16. package/dist/chunks/{CookieConsent-NsvHl_gZ.js → CookieConsent-Bo6vtorq.js} +1 -1
  17. package/dist/chunks/Counter-31XZDA73.js +210 -0
  18. package/dist/chunks/{DashboardShell-ClWWXba9.js → DashboardShell-C9QDHVsG.js} +1 -1
  19. package/dist/chunks/{DataTable-CGxfdmGr.js → DataTable-v6odfpSY.js} +171 -127
  20. package/dist/chunks/{DescriptionsItem-D1aF-T7B.js → DescriptionsItem-D4XARnKw.js} +9 -5
  21. package/dist/chunks/{DialogContent-D2qrMldz.js → DialogContent-Z0m9vo4R.js} +1 -1
  22. package/dist/chunks/{DialogDescription-CfCXGTBn.js → DialogDescription-DrSqSwMT.js} +1 -1
  23. package/dist/chunks/{DropdownMenuSubContent-Ckj44RIf.js → DropdownMenuSubContent-DSIimQoJ.js} +4 -4
  24. package/dist/chunks/{FeedbackForm-BbqNPMnK.js → FeedbackForm-Bj38uGf-.js} +1 -1
  25. package/dist/chunks/{FooterSection-ToS_S5lc.js → FooterSection-Cv2eQQXH.js} +3 -3
  26. package/dist/chunks/{HeaderSection-CCmQTIPS.js → HeaderSection-Dm7MhNWk.js} +6 -1
  27. package/dist/chunks/{Image-lqwvaj3I.js → Image-DQGjNrw9.js} +1 -1
  28. package/dist/chunks/{KanbanBoard-DVNOkmzM.js → KanbanBoard-CsmS0Sr-.js} +2 -2
  29. package/dist/chunks/{NoiseBackground-DMmhOuH6.js → NoiseBackground-MyEeaFgH.js} +1 -1
  30. package/dist/chunks/{NumberInput-CVcDnKxX.js → NumberInput-CFt8MTPz.js} +51 -36
  31. package/dist/chunks/{Pagination-B9ve3vK2.js → Pagination-D94MJ-5i.js} +1 -1
  32. package/dist/chunks/{Popconfirm-DajAlkbJ.js → Popconfirm-DG62odoW.js} +2 -2
  33. package/dist/chunks/{PopoverContent-DHbLlAZi.js → PopoverContent-BR4RHXYa.js} +1 -1
  34. package/dist/chunks/{PricingSection-DVKnTUsG.js → PricingSection-DkEGF-aq.js} +1 -1
  35. package/dist/chunks/{ScratchCard-CImGMiua.js → ScratchCard-ndvLtKC8.js} +1 -1
  36. package/dist/chunks/{SelectItem-D-A3LuAd.js → SelectItem-B541Rhqy.js} +1 -1
  37. package/dist/chunks/{SelectSeparator-XL6nqi6Q.js → SelectSeparator-B4kviEmv.js} +1 -1
  38. package/dist/chunks/{SubMenu-B3R80Jvm.js → SubMenu-oD7qBrtZ.js} +42 -14
  39. package/dist/chunks/{ToastContainer-D8r-05Mo.js → ToastContainer-DnN_ODER.js} +1 -1
  40. package/dist/chunks/{Tour-Ba-Np-dh.js → Tour-BZGKQNf7.js} +1 -1
  41. package/dist/chunks/{Transfer-DHnGAnEB.js → Transfer-BcLrawvV.js} +1 -1
  42. package/dist/chunks/{TreeSelect-CDI74xVq.js → TreeSelect-Dt2UiMnG.js} +3 -3
  43. package/dist/chunks/{TreeView-DrI18G3O.js → TreeView-B7ETE04q.js} +2 -2
  44. package/dist/chunks/{UploadFileList-B8PZDonm.js → UploadFileList-CWrGZQo3.js} +1 -1
  45. package/dist/chunks/{Watermark-C0x6abRB.js → Watermark-D7VB39cd.js} +1 -1
  46. package/dist/chunks/{calendar-mlrDCSZg.js → calendar-CEKwjlLo.js} +2 -2
  47. package/dist/chunks/{carousel-iBio6ygy.js → carousel-5zxBv91A.js} +1 -1
  48. package/dist/chunks/{code-block-CvwtiX00.js → code-block-BJoWlko2.js} +66 -61
  49. package/dist/chunks/{date-CEjFRzNr.js → date-CJcu94DA.js} +26 -17
  50. package/dist/chunks/{date-picker-CFnMshAr.js → date-picker-BJqcquOb.js} +77 -73
  51. package/dist/chunks/{env-Blte_yub.js → env-CvRqOgSF.js} +7 -1
  52. package/dist/chunks/{floating-animation-classes-CTHbi2Bu.js → floating-animation-classes-BpG5LmZa.js} +1 -0
  53. package/dist/chunks/{form-CFHGIwd8.js → form-BMVZ-Mdq.js} +5 -2
  54. package/dist/chunks/{functional-DDO2c-ry.js → functional-ZVsrDRu9.js} +4 -4
  55. package/dist/chunks/plugin-CHaCenTo.js +16 -0
  56. package/dist/chunks/{tree-variants-D0dVGpxo.js → tree-variants-DlN-XSM-.js} +1 -1
  57. package/dist/chunks/{useInfiniteScroll-pXsyVd0x.js → useInfiniteScroll-Bj0Hy8eF.js} +1 -1
  58. package/dist/chunks/{useMessage-DXR-nOoc.js → useMessage-DSUQYEbg.js} +4 -3
  59. package/dist/components/alert/Alert.vue.d.ts.map +1 -1
  60. package/dist/components/alert/index.js +1 -1
  61. package/dist/components/alert-dialog/index.js +1 -1
  62. package/dist/components/auth-card/index.js +1 -1
  63. package/dist/components/avatar/AvatarImage.vue.d.ts.map +1 -1
  64. package/dist/components/avatar/index.js +1 -1
  65. package/dist/components/backtop/index.js +1 -1
  66. package/dist/components/brutalist-hero/index.js +1 -1
  67. package/dist/components/button/Button.vue.d.ts +2 -2
  68. package/dist/components/button/Button.vue.d.ts.map +1 -1
  69. package/dist/components/button/index.js +1 -1
  70. package/dist/components/calendar/index.js +1 -1
  71. package/dist/components/card-3d/Card3D.vue.d.ts.map +1 -1
  72. package/dist/components/card-3d/index.js +1 -1
  73. package/dist/components/carousel/index.js +1 -1
  74. package/dist/components/cascader/index.js +1 -1
  75. package/dist/components/chat-bubble/ChatContainer.vue.d.ts.map +1 -1
  76. package/dist/components/chat-bubble/index.js +1 -1
  77. package/dist/components/code-block/CodeBlock.vue.d.ts.map +1 -1
  78. package/dist/components/code-block/index.js +1 -1
  79. package/dist/components/color-mode-switcher/index.js +1 -1
  80. package/dist/components/color-picker/ColorPicker.vue.d.ts +1 -1
  81. package/dist/components/color-picker/ColorPicker.vue.d.ts.map +1 -1
  82. package/dist/components/color-picker/ColorPickerInput.vue.d.ts.map +1 -1
  83. package/dist/components/color-picker/index.js +1 -1
  84. package/dist/components/combobox/index.js +1 -1
  85. package/dist/components/command/CommandInput.vue.d.ts.map +1 -1
  86. package/dist/components/command/index.js +2 -2
  87. package/dist/components/cookie-consent/index.js +1 -1
  88. package/dist/components/counter/Counter.vue.d.ts.map +1 -1
  89. package/dist/components/counter/index.js +1 -1
  90. package/dist/components/dashboard-shell/index.js +1 -1
  91. package/dist/components/data-table/DataTable.vue.d.ts.map +1 -1
  92. package/dist/components/data-table/DataTableColumnFilter.vue.d.ts.map +1 -1
  93. package/dist/components/data-table/index.js +1 -1
  94. package/dist/components/date-picker/DatePicker.vue.d.ts.map +1 -1
  95. package/dist/components/date-picker/DatePickerPanel.vue.d.ts.map +1 -1
  96. package/dist/components/date-picker/DatePickerRange.vue.d.ts.map +1 -1
  97. package/dist/components/date-picker/index.js +1 -1
  98. package/dist/components/descriptions/DescriptionsItem.vue.d.ts +5 -1
  99. package/dist/components/descriptions/DescriptionsItem.vue.d.ts.map +1 -1
  100. package/dist/components/descriptions/index.js +1 -1
  101. package/dist/components/dialog/index.js +3 -3
  102. package/dist/components/dropdown-menu/index.js +1 -1
  103. package/dist/components/feedback-form/index.js +1 -1
  104. package/dist/components/footer-section/FooterSection.vue.d.ts.map +1 -1
  105. package/dist/components/footer-section/index.js +1 -1
  106. package/dist/components/form/FormConditional.vue.d.ts.map +1 -1
  107. package/dist/components/form/index.js +1 -1
  108. package/dist/components/header-section/HeaderSection.vue.d.ts.map +1 -1
  109. package/dist/components/header-section/index.js +1 -1
  110. package/dist/components/image/index.js +1 -1
  111. package/dist/components/infinite-scroll/index.js +1 -1
  112. package/dist/components/kanban/index.js +1 -1
  113. package/dist/components/menu/Menu.vue.d.ts.map +1 -1
  114. package/dist/components/menu/SubMenu.vue.d.ts.map +1 -1
  115. package/dist/components/menu/index.js +1 -1
  116. package/dist/components/menu/menu-types.d.ts +2 -0
  117. package/dist/components/menu/menu-types.d.ts.map +1 -1
  118. package/dist/components/message/index.js +1 -1
  119. package/dist/components/noise-background/index.js +1 -1
  120. package/dist/components/number-input/NumberInput.vue.d.ts.map +1 -1
  121. package/dist/components/number-input/index.js +1 -1
  122. package/dist/components/pagination/index.js +1 -1
  123. package/dist/components/popconfirm/index.js +1 -1
  124. package/dist/components/popover/index.js +1 -1
  125. package/dist/components/pricing-section/index.js +1 -1
  126. package/dist/components/scratch-card/index.js +1 -1
  127. package/dist/components/select/index.js +2 -2
  128. package/dist/components/toast/index.js +1 -1
  129. package/dist/components/tour/index.js +1 -1
  130. package/dist/components/transfer/index.js +1 -1
  131. package/dist/components/tree-select/index.js +1 -1
  132. package/dist/components/tree-view/index.js +1 -1
  133. package/dist/components/upload/index.js +1 -1
  134. package/dist/components/watermark/index.js +1 -1
  135. package/dist/composables/destroyFallbacks.js +1 -1
  136. package/dist/composables/useAudioEngine.js +1 -1
  137. package/dist/composables/useCanvasInteraction.js +1 -1
  138. package/dist/composables/useClipboard.js +1 -1
  139. package/dist/composables/useColorHistory.js +1 -1
  140. package/dist/composables/useColorPicker.d.ts +2 -0
  141. package/dist/composables/useColorPicker.d.ts.map +1 -1
  142. package/dist/composables/useColorPicker.js +32 -24
  143. package/dist/composables/useDataTableFilter.d.ts.map +1 -1
  144. package/dist/composables/useDataTableFilter.js +6 -4
  145. package/dist/composables/useDataTableSelection.d.ts.map +1 -1
  146. package/dist/composables/useDataTableSelection.js +1 -1
  147. package/dist/composables/useDatePicker.d.ts.map +1 -1
  148. package/dist/composables/useDatePicker.js +2 -2
  149. package/dist/composables/useDebounce.d.ts +2 -2
  150. package/dist/composables/useDebounce.d.ts.map +1 -1
  151. package/dist/composables/useDialog.js +1 -1
  152. package/dist/composables/useDialogEnhanced.d.ts.map +1 -1
  153. package/dist/composables/useDialogEnhanced.js +45 -18
  154. package/dist/composables/useGlitchEffect.d.ts.map +1 -1
  155. package/dist/composables/useGlitchEffect.js +5 -1
  156. package/dist/composables/useKanban.d.ts.map +1 -1
  157. package/dist/composables/useKanban.js +5 -1
  158. package/dist/composables/useMessage.d.ts.map +1 -1
  159. package/dist/composables/useMessage.js +1 -1
  160. package/dist/composables/useMessageBox.d.ts.map +1 -1
  161. package/dist/composables/useMessageBox.js +9 -7
  162. package/dist/composables/useReducedMotion.js +1 -1
  163. package/dist/composables/useStepper.d.ts.map +1 -1
  164. package/dist/composables/useStepper.js +26 -23
  165. package/dist/composables/useTheme.d.ts.map +1 -1
  166. package/dist/composables/useTheme.js +25 -24
  167. package/dist/composables/useToast.js +1 -1
  168. package/dist/directives/loading.js +1 -1
  169. package/dist/index.js +213 -202
  170. package/dist/lib/date.d.ts +2 -0
  171. package/dist/lib/date.d.ts.map +1 -1
  172. package/dist/lib/devtools-plugin.d.ts +6 -37
  173. package/dist/lib/devtools-plugin.d.ts.map +1 -1
  174. package/dist/lib/env.d.ts.map +1 -1
  175. package/dist/lib/floating-animation-classes.d.ts +1 -1
  176. package/dist/lib/floating-animation-classes.d.ts.map +1 -1
  177. package/dist/lib/theme-variables.d.ts.map +1 -1
  178. package/dist/lib/tree-variants.d.ts +1 -1
  179. package/dist/lib/tree-variants.d.ts.map +1 -1
  180. package/dist/plugin.d.ts +0 -1
  181. package/dist/plugin.d.ts.map +1 -1
  182. package/dist/styles.css +1 -1
  183. package/dist/test-utils/a11y.d.ts.map +1 -1
  184. package/dist/vitest.browser.setup.d.ts.map +1 -1
  185. package/dist/vitest.setup.d.ts.map +1 -1
  186. package/package.json +1 -1
  187. package/dist/chunks/Counter-hM305rfh.js +0 -210
  188. package/dist/chunks/plugin-oGQ0IQs4.js +0 -13
@@ -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,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 { t as i } from "./Label-B3416ZVX.js";
6
6
  import { t as a } from "./Input-Cgt7mldw.js";
7
7
  import { t as o } from "./Card-BbuXTMF2.js";
@@ -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,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 { t as i } from "./Badge-CHXf0ZM1.js";
6
6
  import { t as a } from "./Card-BbuXTMF2.js";
7
7
  import { t as o } from "./CardContent-BMUyIIpB.js";
@@ -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 };
@@ -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";
@@ -195,7 +195,7 @@ var w = C([
195
195
  let t = [], n = [], r = "", i = "", a = null, o = f.groupInterval * I;
196
196
  for (let s of e) {
197
197
  let e = s.timestamp, c = null;
198
- 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);
199
199
  let l = c ? m(c) : "", u = l !== i, d = c !== null && a !== null && !u && c.getTime() - a.getTime() > o;
200
200
  u ? (n.length > 0 && t.push({
201
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-D-A3LuAd.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";