solid-baseui 0.1.0-alpha.1 → 0.1.0-alpha.2

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 (189) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +51 -20
  3. package/dist/lib/client/DialogHandle-DluOK_7u.js +521 -0
  4. package/dist/lib/client/DialogPopup-CfEb3F54.js +138 -0
  5. package/dist/lib/client/FieldControl-eDe-Jnp9.js +142 -0
  6. package/dist/lib/client/{FieldRootContext-izCEh80D.js → FieldRootContext-D3fuVjs3.js} +1 -1
  7. package/dist/lib/client/{FocusManager-NP1uPXTi.js → FocusManager-q7z7PMV1.js} +92 -89
  8. package/dist/lib/client/{InternalBackdrop-cSK13gaM.js → InternalBackdrop-B8_lfUvf.js} +1 -1
  9. package/dist/lib/client/{MenuSubmenuTrigger-yfncqM-D.js → MenuSubmenuTrigger-DMb5CwTF.js} +386 -386
  10. package/dist/lib/client/{PopupHandle-CQI6Om1Z.js → PopupHandle-DyX5gY1e.js} +17 -11
  11. package/dist/lib/client/{PopupStore-Du0O57fL.js → PopupStore-BjRwcvbG.js} +91 -88
  12. package/dist/lib/client/PopupViewport-BanYHrD-.js +154 -0
  13. package/dist/lib/client/{TriggerFocusGuards-Cs8LVBj5.js → TriggerFocusGuards-Fzspp3Y1.js} +2 -2
  14. package/dist/lib/client/accordion/index.js +1 -1
  15. package/dist/lib/client/{accordion-BFeZFpJZ.js → accordion-CA2DfX67.js} +144 -144
  16. package/dist/lib/client/alert-dialog/index.js +1 -1
  17. package/dist/lib/client/{alert-dialog-BxGUF8_Q.js → alert-dialog-Bup88Dpx.js} +2 -2
  18. package/dist/lib/client/autocomplete/index.js +1 -1
  19. package/dist/lib/client/{autocomplete-C9QA98XD.js → autocomplete-oyy_uRpU.js} +2 -2
  20. package/dist/lib/client/avatar/index.js +1 -1
  21. package/dist/lib/client/avatar-DNZ4fnBd.js +191 -0
  22. package/dist/lib/client/button/index.js +1 -1
  23. package/dist/lib/client/button-BJZYmCVv.js +88 -0
  24. package/dist/lib/client/checkbox/index.js +1 -1
  25. package/dist/lib/client/checkbox-group/index.js +1 -1
  26. package/dist/lib/client/{checkbox-group-CwMDoSTK.js → checkbox-group-DGyrciZJ.js} +1 -1
  27. package/dist/lib/client/checkbox-sQHYTbpB.js +425 -0
  28. package/dist/lib/client/collapsible/index.js +1 -1
  29. package/dist/lib/client/collapsible-BENbFFCc.js +230 -0
  30. package/dist/lib/client/combobox/index.js +1 -1
  31. package/dist/lib/client/{combobox-6DhOdzit.js → combobox-BGH8QLXH.js} +143 -141
  32. package/dist/lib/client/compositeNavigation-DCt1sQon.js +82 -0
  33. package/dist/lib/client/{constants-cOVxAoxB.js → constants-ByOMFJAe.js} +100 -100
  34. package/dist/lib/client/context-menu/index.js +1 -1
  35. package/dist/lib/client/context-menu-xQ1sBCET.js +220 -0
  36. package/dist/lib/client/{createAnchorPositioning-D96gu-Dz.js → createAnchorPositioning-DCXIApS1.js} +1 -1
  37. package/dist/lib/client/{createAnchoredPopupScrollLock-Cx0cbh1_.js → createAnchoredPopupScrollLock-BxKpJbCE.js} +2 -2
  38. package/dist/lib/client/{createClickInteraction-CTaIFBiV.js → createClickInteraction-BeBsTqtY.js} +1 -1
  39. package/dist/lib/client/{createFocusInteraction--s9_qBf3.js → createFocusInteraction-DQPWkZe2.js} +7 -7
  40. package/dist/lib/client/{createPopupAutoResize-Dn-stj-8.js → createPopupAutoResize-CSNpMz5v.js} +3 -3
  41. package/dist/lib/client/dialog/index.js +1 -1
  42. package/dist/lib/client/{dialog-B9tR9X48.js → dialog-C0EF0a5u.js} +2 -2
  43. package/dist/lib/client/{dom-BEAeQ9Eb.js → dom-lDdayFF_.js} +25 -15
  44. package/dist/lib/client/drawer/index.js +1 -1
  45. package/dist/lib/client/{drawer-dyr3_sKQ.js → drawer-uKoNBwDU.js} +519 -518
  46. package/dist/lib/client/field/index.js +1 -1
  47. package/dist/lib/client/{field-CjUAjp1m.js → field-DIMrgpBW.js} +144 -144
  48. package/dist/lib/client/form/index.js +1 -1
  49. package/dist/lib/client/form-Bqq8wSLY.js +109 -0
  50. package/dist/lib/client/index.js +34 -34
  51. package/dist/lib/client/input/index.js +1 -1
  52. package/dist/lib/client/{input-_QHvSSqM.js → input-YthuKwIE.js} +1 -1
  53. package/dist/lib/client/internals/composeEventHandlers.js +14 -8
  54. package/dist/lib/client/internals/field-root-context/index.js +2 -2
  55. package/dist/lib/client/{mergeStyleValue-DhTA9Nwe.js → isSolidAccessor-BH_FevwH.js} +1 -12
  56. package/dist/lib/client/menu/index.js +1 -1
  57. package/dist/lib/client/{menu-DLqUBmMK.js → menu-4rNLN6aX.js} +79 -79
  58. package/dist/lib/client/menubar/index.js +1 -1
  59. package/dist/lib/client/menubar-nFQGtNmY.js +163 -0
  60. package/dist/lib/client/mergeStyleValue-Dcd36yxZ.js +12 -0
  61. package/dist/lib/client/navigation-menu/index.js +1 -1
  62. package/dist/lib/client/{navigation-menu-mVHV41Ky.js → navigation-menu-BbRyun3a.js} +284 -284
  63. package/dist/lib/client/number-field/index.js +1 -1
  64. package/dist/lib/client/{number-field-DusLw_0X.js → number-field-hT_H0hVu.js} +356 -356
  65. package/dist/lib/client/otp-field/index.js +1 -1
  66. package/dist/lib/client/otp-field-lsy2iGID.js +584 -0
  67. package/dist/lib/client/popover/index.js +1 -1
  68. package/dist/lib/client/{popover-Cv7xn0nW.js → popover-Cmvmuf1L.js} +250 -248
  69. package/dist/lib/client/{popupStateMapping-C6jQ_LKo.js → popupStateMapping-nhukB8NK.js} +51 -51
  70. package/dist/lib/client/preview-card/index.js +1 -1
  71. package/dist/lib/client/{preview-card-FTN_aafM.js → preview-card-Dtu8AnBN.js} +168 -168
  72. package/dist/lib/client/radio/index.js +1 -1
  73. package/dist/lib/client/{radio-DA_oZhQT.js → radio-CeCU-Qqi.js} +77 -77
  74. package/dist/lib/client/radio-group/index.js +1 -1
  75. package/dist/lib/client/radio-group-NbuJvjQe.js +195 -0
  76. package/dist/lib/client/{safePolygon-DJG0VIVo.js → safePolygon-DVAR5dQD.js} +70 -70
  77. package/dist/lib/client/scroll-area/index.js +1 -1
  78. package/dist/lib/client/scroll-area-DqbvoAd7.js +717 -0
  79. package/dist/lib/client/{scrollable-SRNYlhF7.js → scrollable-BVaDUXng.js} +12 -12
  80. package/dist/lib/client/select/index.js +1 -1
  81. package/dist/lib/client/{select-DSPJt7Rk.js → select-Dad51Xbn.js} +635 -634
  82. package/dist/lib/client/slider/index.js +1 -1
  83. package/dist/lib/client/slider-CLSKFq_M.js +927 -0
  84. package/dist/lib/client/switch/index.js +1 -1
  85. package/dist/lib/client/{switch-CPl7QHKI.js → switch-Bzuu5EIg.js} +61 -61
  86. package/dist/lib/client/tabs/index.js +1 -1
  87. package/dist/lib/client/{tabs-Bn4rZDyZ.js → tabs-DWiBDv8D.js} +252 -249
  88. package/dist/lib/client/toast/index.js +1 -1
  89. package/dist/lib/client/{toast-7LdqZWOs.js → toast-DmtPJW2k.js} +353 -353
  90. package/dist/lib/client/toggle/index.js +1 -1
  91. package/dist/lib/client/{toggle-CsC37e3e.js → toggle-CAe-Z8Xn.js} +33 -33
  92. package/dist/lib/client/toggle-group/index.js +1 -1
  93. package/dist/lib/client/{toggle-group-DSWb9HxN.js → toggle-group-BbQg5s-m.js} +44 -44
  94. package/dist/lib/client/toolbar/index.js +1 -1
  95. package/dist/lib/client/{toolbar-DcCi3HNp.js → toolbar-BXT_g-oX.js} +218 -218
  96. package/dist/lib/client/tooltip/index.js +1 -1
  97. package/dist/lib/client/{tooltip-D-PkGco9.js → tooltip-h2r2_Xuo.js} +250 -249
  98. package/dist/lib/client/{useFilteredItems-B7z2CGMV.js → useFilteredItems-BX0BEuSI.js} +850 -819
  99. package/dist/lib/server/{DialogHandle-nJSSy_jM.js → DialogHandle-BGIISmG7.js} +16 -16
  100. package/dist/lib/server/{DialogPopup-Da1aIxVA.js → DialogPopup-C2ZDGf42.js} +4 -4
  101. package/dist/lib/server/{FieldControl-BDeNR3ug.js → FieldControl-CDMMyvuj.js} +6 -6
  102. package/dist/lib/server/{FieldRootContext-IC-LWzVp.js → FieldRootContext-Bfpna6gA.js} +3 -3
  103. package/dist/lib/server/{FocusManager-1LfoCsya.js → FocusManager-D-xgblGs.js} +9 -3
  104. package/dist/lib/server/{InternalBackdrop-C_iDPVR-.js → InternalBackdrop-D_2zAWnl.js} +1 -1
  105. package/dist/lib/server/{MenuSubmenuTrigger-rR8ZN7YR.js → MenuSubmenuTrigger-BMQKlOvU.js} +50 -50
  106. package/dist/lib/server/{PopupHandle-Ct6wywmP.js → PopupHandle-QNj4mED2.js} +14 -5
  107. package/dist/lib/server/{PopupStore-kHjFPiQ5.js → PopupStore-evylvVnN.js} +5 -2
  108. package/dist/lib/server/{PopupViewport-DftN5VUp.js → PopupViewport-BDttjORN.js} +37 -27
  109. package/dist/lib/server/{TriggerFocusGuards-CvoGfft9.js → TriggerFocusGuards-B9GNbLrL.js} +2 -2
  110. package/dist/lib/server/accordion/index.js +7 -7
  111. package/dist/lib/server/alert-dialog/index.js +2 -2
  112. package/dist/lib/server/autocomplete/index.js +2 -2
  113. package/dist/lib/server/avatar/index.js +3 -3
  114. package/dist/lib/server/button/index.js +6 -6
  115. package/dist/lib/server/checkbox/index.js +7 -7
  116. package/dist/lib/server/checkbox-group/index.js +1 -1
  117. package/dist/lib/server/collapsible/index.js +6 -6
  118. package/dist/lib/server/combobox/index.js +18 -18
  119. package/dist/lib/server/{compositeNavigation-BRVT1C38.js → compositeNavigation-D5jKM4yk.js} +32 -1
  120. package/dist/lib/server/{constants-D7ciIzsV.js → constants-ByqXubhO.js} +2 -2
  121. package/dist/lib/server/context-menu/index.js +9 -9
  122. package/dist/lib/server/{createAnchorPositioning-B5Y0WEev.js → createAnchorPositioning-DrQYe7RS.js} +1 -1
  123. package/dist/lib/server/{createAnchoredPopupScrollLock-DFuUrykR.js → createAnchoredPopupScrollLock-q6gnOSmv.js} +2 -2
  124. package/dist/lib/server/{createClickInteraction-BYsMgvup.js → createClickInteraction-D7oc1Vco.js} +1 -1
  125. package/dist/lib/server/{createFocusInteraction-DMyKsniI.js → createFocusInteraction-DFKr4G7a.js} +1 -1
  126. package/dist/lib/server/{createPopupAutoResize-ImBjwdj_.js → createPopupAutoResize-Cg0-lLf4.js} +1 -1
  127. package/dist/lib/server/dialog/index.js +2 -2
  128. package/dist/lib/server/{dom-Crg_2R-j.js → dom-D8_aB1yy.js} +14 -1
  129. package/dist/lib/server/drawer/index.js +38 -34
  130. package/dist/lib/server/field/index.js +6 -6
  131. package/dist/lib/server/form/index.js +2 -2
  132. package/dist/lib/server/input/index.js +1 -1
  133. package/dist/lib/server/internals/composeEventHandlers.js +15 -9
  134. package/dist/lib/server/internals/field-root-context/index.js +1 -1
  135. package/dist/lib/server/{mergeStyleValue-BwJ10_X2.js → isSolidAccessor-CZpzAH5l.js} +1 -20
  136. package/dist/lib/server/menu/index.js +17 -17
  137. package/dist/lib/server/menubar/index.js +4 -4
  138. package/dist/lib/server/mergeStyleValue-DecVaoac.js +20 -0
  139. package/dist/lib/server/navigation-menu/index.js +21 -21
  140. package/dist/lib/server/number-field/index.js +21 -21
  141. package/dist/lib/server/otp-field/index.js +8 -8
  142. package/dist/lib/server/popover/index.js +27 -26
  143. package/dist/lib/server/{popupStateMapping-B2KsiiLb.js → popupStateMapping-VHqr6M4H.js} +1 -1
  144. package/dist/lib/server/preview-card/index.js +16 -16
  145. package/dist/lib/server/radio/index.js +6 -6
  146. package/dist/lib/server/radio-group/index.js +5 -5
  147. package/dist/lib/server/{safePolygon-C1GNJbKR.js → safePolygon-B8QtiIZ3.js} +1 -1
  148. package/dist/lib/server/scroll-area/index.js +18 -18
  149. package/dist/lib/server/{scrollable-CjsSxbGr.js → scrollable-C9Pgq8T5.js} +1 -1
  150. package/dist/lib/server/select/index.js +39 -38
  151. package/dist/lib/server/slider/index.js +14 -14
  152. package/dist/lib/server/switch/index.js +9 -9
  153. package/dist/lib/server/tabs/index.js +12 -8
  154. package/dist/lib/server/toast/index.js +32 -32
  155. package/dist/lib/server/toggle/index.js +7 -7
  156. package/dist/lib/server/toggle-group/index.js +2 -2
  157. package/dist/lib/server/toolbar/index.js +14 -14
  158. package/dist/lib/server/tooltip/index.js +32 -27
  159. package/dist/lib/server/{useFilteredItems-DCxq20Is.js → useFilteredItems-BmhL0nf1.js} +181 -137
  160. package/dist/lib/types/accordion/trigger/AccordionTrigger.d.ts +7 -7
  161. package/dist/lib/types/combobox/chip/ComboboxChip.d.ts +2 -0
  162. package/dist/lib/types/combobox/root/ComboboxRoot.d.ts +6 -1
  163. package/dist/lib/types/combobox/store/ComboboxStore.d.ts +1 -0
  164. package/dist/lib/types/combobox/utils/handleInputPress.d.ts +1 -1
  165. package/dist/lib/types/field/control/FieldControl.d.ts +5 -5
  166. package/dist/lib/types/internals/composeEventHandlers.d.ts +9 -2
  167. package/dist/lib/types/internals/field-root-context/FieldRootContext.d.ts +1 -0
  168. package/dist/lib/types/internals/overlay/dom.d.ts +2 -0
  169. package/dist/lib/types/number-field/input/NumberFieldInput.d.ts +5 -5
  170. package/dist/lib/types/slider/track/SliderTrack.d.ts +2 -2
  171. package/dist/lib/types/toolbar/link/ToolbarLink.d.ts +10 -3
  172. package/dist/lib/types/toolbar/root/ToolbarRoot.d.ts +10 -4
  173. package/package.json +1 -1
  174. package/dist/lib/client/DialogHandle-BGyIbcvg.js +0 -521
  175. package/dist/lib/client/DialogPopup-Df7MC358.js +0 -138
  176. package/dist/lib/client/FieldControl-C0PATyKV.js +0 -142
  177. package/dist/lib/client/PopupViewport-IS4XU03s.js +0 -152
  178. package/dist/lib/client/avatar-BQoEzzav.js +0 -191
  179. package/dist/lib/client/button-akYS6FyY.js +0 -88
  180. package/dist/lib/client/checkbox-DOXtzBhA.js +0 -425
  181. package/dist/lib/client/collapsible-t8YReaIp.js +0 -230
  182. package/dist/lib/client/compositeNavigation-sxniYTc7.js +0 -58
  183. package/dist/lib/client/context-menu-CplDpqmi.js +0 -220
  184. package/dist/lib/client/form-6Ne_bWQX.js +0 -109
  185. package/dist/lib/client/menubar-DhPRUQZ6.js +0 -163
  186. package/dist/lib/client/otp-field-D-B9tZzF.js +0 -584
  187. package/dist/lib/client/radio-group-CWtQxWDl.js +0 -195
  188. package/dist/lib/client/scroll-area-NCr49LkD.js +0 -717
  189. package/dist/lib/client/slider-CWq9hxFf.js +0 -927
@@ -4,22 +4,22 @@ import { getStateAttributesProps as n } from "./internals/getStateAttributesProp
4
4
  import { d as r } from "./reasons-Co5CzjKq.js";
5
5
  import { n as i, t as a } from "./resolveStyle-XcgAuaKR.js";
6
6
  import { createChangeEventDetails as o } from "./internals/createBaseUIEventDetails.js";
7
- import { composeEventHandlers as s } from "./internals/composeEventHandlers.js";
8
- import { a as c } from "./dom-BEAeQ9Eb.js";
9
- import { t as l } from "./PopupViewport-IS4XU03s.js";
10
- import { t as u } from "./createAnchorPositioning-D96gu-Dz.js";
11
- import { c as d, i as f, n as p, r as m, s as h, t as g } from "./FloatingTree-23B7KKPD.js";
12
- import { a as _, n as v, o as y, r as b, t as x } from "./PopupStore-Du0O57fL.js";
13
- import { t as S } from "./createFocusInteraction--s9_qBf3.js";
14
- import { n as C, r as w, t as T } from "./safePolygon-DJG0VIVo.js";
15
- import { a as ee, n as te, o as E, r as D } from "./popupStateMapping-C6jQ_LKo.js";
16
- import { i as ne, n as O, r as re, t as k } from "./PopupHandle-CQI6Om1Z.js";
17
- import { t as A } from "./setRef-fXF6OIo3.js";
7
+ import { composeEventHandlers as s, liveEventHandler as c } from "./internals/composeEventHandlers.js";
8
+ import { o as l } from "./dom-lDdayFF_.js";
9
+ import { t as u } from "./PopupViewport-BanYHrD-.js";
10
+ import { t as d } from "./createAnchorPositioning-DCXIApS1.js";
11
+ import { c as f, i as p, n as m, r as h, s as g, t as _ } from "./FloatingTree-23B7KKPD.js";
12
+ import { a as v, n as y, o as b, r as x, t as S } from "./PopupStore-BjRwcvbG.js";
13
+ import { t as C } from "./createFocusInteraction-DQPWkZe2.js";
14
+ import { n as w, r as T, t as E } from "./safePolygon-DVAR5dQD.js";
15
+ import { a as ee, n as D, o as O, r as k } from "./popupStateMapping-nhukB8NK.js";
16
+ import { i as te, n as A, r as ne, t as re } from "./PopupHandle-DyX5gY1e.js";
17
+ import { t as ie } from "./setRef-fXF6OIo3.js";
18
18
  import { n as j } from "./DirectionContext-BwMabICS.js";
19
- import { claimElement as ie, createComponent as M, getNextElement as N, memo as P, mergeProps as F, runHydrationEvents as I, spread as L, template as R } from "@solidjs/web";
20
- import { $REFRESH as ae, Show as oe, createContext as z, createEffect as B, createMemo as V, createSignal as H, createUniqueId as U, omit as W, onCleanup as G, untrack as K, useContext as q } from "solid-js";
19
+ import { claimElement as ae, createComponent as M, getNextElement as N, memo as P, mergeProps as F, runHydrationEvents as I, spread as L, template as R } from "@solidjs/web";
20
+ import { $REFRESH as z, Show as B, createContext as V, createEffect as H, createMemo as U, createSignal as W, createUniqueId as G, omit as K, onCleanup as q, untrack as J, useContext as Y } from "solid-js";
21
21
  //#region src/internals/overlay/inlineRect.ts
22
- function J(e, t, n, r) {
22
+ function X(e, t, n, r) {
23
23
  return {
24
24
  left: e,
25
25
  top: t,
@@ -31,7 +31,7 @@ function J(e, t, n, r) {
31
31
  height: r - t
32
32
  };
33
33
  }
34
- function se(e) {
34
+ function oe(e) {
35
35
  return {
36
36
  left: e.left,
37
37
  top: e.top,
@@ -41,10 +41,10 @@ function se(e) {
41
41
  height: e.height
42
42
  };
43
43
  }
44
- function Y(e) {
44
+ function se(e) {
45
45
  let t = [], n, r = Infinity, i = Infinity, a = -Infinity, o = -Infinity;
46
46
  for (let s of Array.from(e).sort((e, t) => e.top - t.top)) {
47
- let e = se(s);
47
+ let e = oe(s);
48
48
  if (r = Math.min(r, e.left), i = Math.min(i, e.top), a = Math.max(a, e.right), o = Math.max(o, e.bottom), !n || e.top - n.top > n.height / 2) t.push(e);
49
49
  else {
50
50
  let n = t[t.length - 1];
@@ -54,14 +54,14 @@ function Y(e) {
54
54
  }
55
55
  return {
56
56
  lines: t,
57
- fallback: J(r, i, a, o)
57
+ fallback: X(r, i, a, o)
58
58
  };
59
59
  }
60
60
  function ce(e, t, n) {
61
61
  return e.findIndex((e) => t > e.left - 2 && t < e.right + 2 && n > e.top - 2 && n < e.bottom + 2);
62
62
  }
63
63
  function le(e, t, n) {
64
- let { lines: r } = Y(e.getClientRects());
64
+ let { lines: r } = se(e.getClientRects());
65
65
  if (r.length < 2) return;
66
66
  let i = ce(r, t, n);
67
67
  return {
@@ -72,24 +72,24 @@ function le(e, t, n) {
72
72
  };
73
73
  }
74
74
  function ue(e, t, n) {
75
- let { lines: r, fallback: i } = Y(e.getClientRects());
75
+ let { lines: r, fallback: i } = se(e.getClientRects());
76
76
  if (r.length < 2) return null;
77
77
  if (n?.lineIndex != null && r[n.lineIndex]) {
78
78
  let e = r[n.lineIndex];
79
- return J(e.left, e.top, e.right, e.bottom);
79
+ return X(e.left, e.top, e.right, e.bottom);
80
80
  }
81
81
  if (n) {
82
82
  let e = ce(r, n.x, n.y);
83
83
  if (e !== -1) {
84
84
  let t = r[e];
85
- return J(t.left, t.top, t.right, t.bottom);
85
+ return X(t.left, t.top, t.right, t.bottom);
86
86
  }
87
87
  }
88
88
  if (r.length === 2 && r[0].left > r[1].right && n) return i;
89
89
  let a = t[0];
90
90
  if (a === "t" || a === "b") {
91
91
  let e = r[0], t = r[r.length - 1], n = a === "t" ? e : t;
92
- return J(n.left, e.top, n.right, t.bottom);
92
+ return X(n.left, e.top, n.right, t.bottom);
93
93
  }
94
94
  let o = a === "l", s = r[0].left, c = r[0].right, l = o ? Infinity : -Infinity, u = r[0], d = r[0];
95
95
  for (let e of r) {
@@ -97,13 +97,13 @@ function ue(e, t, n) {
97
97
  let t = o ? e.left : e.right;
98
98
  o && t < l || !o && t > l ? (l = t, u = e, d = e) : t === l && (d = e);
99
99
  }
100
- return J(s, u.top, c, d.bottom);
100
+ return X(s, u.top, c, d.bottom);
101
101
  }
102
102
  function de(e) {
103
- return "contextElement" in e && e.contextElement ? e.contextElement : c(e) ? e : void 0;
103
+ return "contextElement" in e && e.contextElement ? e.contextElement : l(e) ? e : void 0;
104
104
  }
105
105
  function fe() {
106
- let [e, t] = H();
106
+ let [e, t] = W();
107
107
  return {
108
108
  coords: e,
109
109
  clear: () => t(void 0),
@@ -133,7 +133,7 @@ function fe() {
133
133
  }
134
134
  //#endregion
135
135
  //#region src/preview-card/store/PreviewCardStore.ts
136
- var pe = class extends x {
136
+ var pe = class extends S {
137
137
  inlineRect = fe();
138
138
  constructor(e) {
139
139
  super(e), this.tree = e.tree, this.set("closeDelay", 300);
@@ -150,11 +150,11 @@ var pe = class extends x {
150
150
  let n = t.event;
151
151
  return e && t.reason === "trigger-hover" && t.trigger && "clientX" in n && "clientY" in n && this.inlineRect.coords()?.element !== t.trigger && this.inlineRect.update(t.trigger, n.clientX, n.clientY), super.setOpen(e, t);
152
152
  }
153
- }, me = class extends O {
153
+ }, me = class extends A {
154
154
  inlineRect = fe();
155
- tree = new m();
155
+ tree = new h();
156
156
  constructor() {
157
- super(), this.context.floatingRoot = new b({
157
+ super(), this.context.floatingRoot = new x({
158
158
  triggerElements: this.context.triggerElements,
159
159
  onOpenChange: () => void 0
160
160
  });
@@ -163,9 +163,9 @@ var pe = class extends x {
163
163
  return null;
164
164
  }
165
165
  transitionStatus() {}
166
- }, he = Symbol("PreviewCardRootContext"), ge = z(he);
167
- function X(e = !1) {
168
- let t = q(ge);
166
+ }, he = Symbol("PreviewCardRootContext"), ge = V(he);
167
+ function Z(e = !1) {
168
+ let t = Y(ge);
169
169
  if (t === he) {
170
170
  if (e) return;
171
171
  throw Error("Base UI: PreviewCardRootContext is missing. PreviewCard parts must be placed within <PreviewCard.Root>.");
@@ -175,7 +175,7 @@ function X(e = !1) {
175
175
  //#endregion
176
176
  //#region src/preview-card/root/PreviewCardRoot.tsx
177
177
  function _e(e) {
178
- let t = d(), n = h(), i = t ?? new m(), a = U(), s = U(), c = K(() => e.open !== void 0), l = K(() => e.triggerId !== void 0), u = new pe({
178
+ let t = f(), n = g(), i = t ?? new h(), a = G(), s = G(), c = J(() => e.open !== void 0), l = J(() => e.triggerId !== void 0), u = new pe({
179
179
  controlledOpen: () => c ? e.open : void 0,
180
180
  controlledTriggerId: () => l ? e.triggerId : void 0,
181
181
  floatingId: s,
@@ -186,21 +186,21 @@ function _e(e) {
186
186
  tree: i
187
187
  });
188
188
  u.update({
189
- open: c ? !!K(() => e.open) : !!K(() => e.defaultOpen),
190
- activeTriggerId: K(() => e.defaultTriggerId ?? null)
189
+ open: c ? !!J(() => e.open) : !!J(() => e.defaultOpen),
190
+ activeTriggerId: J(() => e.defaultTriggerId ?? null)
191
191
  });
192
- let v = u.access((e) => e.payload), b = f({
192
+ let d = u.access((e) => e.payload), y = p({
193
193
  tree: i,
194
194
  id: a,
195
195
  parentId: n,
196
196
  context: () => u.context.floatingRoot
197
- }), x = _(u, () => u.track().popupElement, { onUnmount: u.inlineRect.clear }), S = {
197
+ }), x = v(u, () => u.track().popupElement, { onUnmount: u.inlineRect.clear }), S = {
198
198
  store: u,
199
199
  tree: i,
200
200
  presence: x
201
201
  };
202
- u.configureTriggerUnmount({ closeOnActiveTriggerUnmount: !0 }), re(() => e.handle, u);
203
- let C = y({
202
+ u.configureTriggerUnmount({ closeOnActiveTriggerUnmount: !0 }), ne(() => e.handle, u);
203
+ let C = b({
204
204
  context: u.context.floatingRoot,
205
205
  tree: () => i
206
206
  });
@@ -208,11 +208,11 @@ function _e(e) {
208
208
  activeTriggerProps: { onKeyDown: C.onKeyDown },
209
209
  inactiveTriggerProps: { onKeyDown: C.onKeyDown },
210
210
  popupProps: { onKeyDown: C.onKeyDown }
211
- }), B(() => ({
211
+ }), H(() => ({
212
212
  open: u.open(),
213
213
  activeTriggerId: u.activeTriggerId()
214
214
  }), (e) => {
215
- K(() => u.reconcileTriggers()), e.open && e.activeTriggerId == null && u.state.payload !== void 0 && u.set("payload", void 0);
215
+ J(() => u.reconcileTriggers()), e.open && e.activeTriggerId == null && u.state.payload !== void 0 && u.set("payload", void 0);
216
216
  });
217
217
  let w = {
218
218
  unmount: x.forceUnmount,
@@ -220,22 +220,22 @@ function _e(e) {
220
220
  u.setOpen(!1, o(r));
221
221
  }
222
222
  };
223
- B(() => e.actionsRef, (e) => {
223
+ H(() => e.actionsRef, (e) => {
224
224
  e?.(w);
225
225
  });
226
226
  function T() {
227
- let t = V(() => e.children), n = K(t), r = n;
228
- return typeof n == "function" && (r = n.name === "bound read" && Object.prototype.hasOwnProperty.call(n, ae) ? P(() => t()) : K(() => n({ payload: v }))), r;
227
+ let t = U(() => e.children), n = J(t), r = n;
228
+ return typeof n == "function" && (r = n.name === "bound read" && Object.prototype.hasOwnProperty.call(n, z) ? P(() => t()) : J(() => n({ payload: d }))), r;
229
229
  }
230
- return G(() => u.clearInteractionProps()), M(ge, {
230
+ return q(() => u.clearInteractionProps()), M(ge, {
231
231
  value: S,
232
232
  get children() {
233
- return M(p, {
233
+ return M(m, {
234
234
  value: i,
235
235
  get children() {
236
- return M(g, {
236
+ return M(_, {
237
237
  get value() {
238
- return b.id ?? null;
238
+ return y.id ?? null;
239
239
  },
240
240
  get children() {
241
241
  return M(T, {});
@@ -250,74 +250,74 @@ function _e(e) {
250
250
  //#region src/preview-card/trigger/PreviewCardTrigger.tsx
251
251
  var ve = /* @__PURE__ */ R("<a>");
252
252
  function ye(e) {
253
- let r = X(!0), o = e;
254
- if (!r && !K(() => o.handle)) throw Error("Base UI: <PreviewCard.Trigger> must be either used within a <PreviewCard.Root> component or provided with a handle.");
255
- let c = e, l = `base-ui-${U()}`, u = V(() => o.id || l), d = V(() => o.delay ?? 600), f = V(() => o.closeDelay ?? 300), [p, m] = H(null, { ownedWrite: !0 }), h = ne(() => o.handle), g = V(() => h() ?? r?.store), _ = V(() => {
256
- let e = g();
257
- return !!(e?.open() && e.activeTriggerId() === u());
258
- }), y = V(() => ({ open: _() })), b = t(e, () => y(), (e) => (() => {
253
+ let r = Z(!0), o = e;
254
+ if (!r && !J(() => o.handle)) throw Error("Base UI: <PreviewCard.Trigger> must be either used within a <PreviewCard.Root> component or provided with a handle.");
255
+ let l = e, u = `base-ui-${G()}`, d = U(() => o.id || u), f = U(() => o.delay ?? 600), p = U(() => o.closeDelay ?? 300), [m, h] = W(null, { ownedWrite: !0 }), g = te(() => o.handle), _ = U(() => g() ?? r?.store), v = U(() => {
256
+ let e = _();
257
+ return !!(e?.open() && e.activeTriggerId() === d());
258
+ }), b = U(() => ({ open: v() })), x = t(e, () => b(), (e) => (() => {
259
259
  var t = N(ve);
260
- return ie(t), L(t, e, !1), I(), t;
261
- })()), x = V(() => i(e.class, y())), S = V(() => a(e.style, y())), C = V(() => n(y(), ee)), w = W(c, "render", "class", "closeDelay", "delay", "handle", "id", "onBlur", "onFocus", "onKeyDown", "onMouseEnter", "onMouseMove", "onPointerLeave", "payload", "ref", "style"), T;
262
- v(g, u, p, () => ({
260
+ return ae(t), L(t, e, !1), I(), t;
261
+ })()), S = U(() => i(e.class, b())), C = U(() => a(e.style, b())), w = U(() => n(b(), ee)), T = K(l, "render", "class", "closeDelay", "delay", "handle", "id", "onBlur", "onFocus", "onKeyDown", "onMouseEnter", "onMouseMove", "onPointerLeave", "payload", "ref", "style"), E;
262
+ y(_, d, m, () => ({
263
263
  payload: o.payload,
264
- closeDelay: f()
264
+ closeDelay: p()
265
265
  }));
266
- function te(e) {
267
- g()?.inlineRect.clear(), T?.onFocus(e);
266
+ function D(e) {
267
+ _()?.inlineRect.clear(), E?.onFocus(e);
268
268
  }
269
- function E(e) {
270
- T?.onBlur(e);
269
+ function O(e) {
270
+ E?.onBlur(e);
271
271
  }
272
- function D() {
273
- T?.onPointerLeave();
272
+ function k() {
273
+ E?.onPointerLeave();
274
274
  }
275
- function O(e) {
276
- _() || g()?.inlineRect.update(e.currentTarget, e.clientX, e.clientY);
275
+ function A(e) {
276
+ v() || _()?.inlineRect.update(e.currentTarget, e.clientX, e.clientY);
277
277
  }
278
- function re(e) {
279
- let t = g(), n = t?.state[t.activeTriggerId() === u() ? "activeTriggerProps" : "inactiveTriggerProps"].onKeyDown;
278
+ function ne(e) {
279
+ let t = _(), n = t?.state[t.activeTriggerId() === d() ? "activeTriggerProps" : "inactiveTriggerProps"].onKeyDown;
280
280
  typeof n == "function" && n(e);
281
281
  }
282
- let k = s(() => o.onFocus, () => te), A = s(() => o.onBlur, () => E), j = s(() => o.onPointerLeave, () => D), P = s(() => o.onMouseEnter, () => O), R = s(() => o.onMouseMove, () => O), ae = s(() => o.onKeyDown, () => re);
283
- return [M(oe, {
282
+ let re = s(c(() => o.onFocus), D), ie = s(c(() => o.onBlur), O), j = s(c(() => o.onPointerLeave), k), P = s(c(() => o.onMouseEnter), A), R = s(c(() => o.onMouseMove), A), z = s(c(() => o.onKeyDown), ne);
283
+ return [M(B, {
284
284
  keyed: !0,
285
285
  get when() {
286
- return g();
286
+ return _();
287
287
  },
288
288
  children: (e) => M(be, {
289
289
  store: e,
290
- id: u,
291
- element: p,
292
- delay: d,
293
- closeDelay: f,
294
- setFocusHandlers: (e) => T = e
290
+ id: d,
291
+ element: m,
292
+ delay: f,
293
+ closeDelay: p,
294
+ setFocusHandlers: (e) => E = e
295
295
  })
296
- }), M(b, F({
297
- ref: [((e) => m(e)), o.ref],
296
+ }), M(x, F({
297
+ ref: [((e) => h(e)), o.ref],
298
298
  get id() {
299
- return u();
299
+ return d();
300
300
  },
301
301
  get class() {
302
- return x();
302
+ return S();
303
303
  },
304
304
  get style() {
305
- return S();
305
+ return C();
306
306
  },
307
- onBlur: A,
308
- onFocus: k,
309
- onKeyDown: ae,
307
+ onBlur: ie,
308
+ onFocus: re,
309
+ onKeyDown: z,
310
310
  onMouseEnter: P,
311
311
  onMouseMove: R,
312
312
  onPointerLeave: j
313
- }, C, w))];
313
+ }, w, T))];
314
314
  }
315
315
  function be(e) {
316
- let t = K(() => e.store), n = K(() => e.id), r = K(() => e.element), i = K(() => e.delay), a = K(() => e.closeDelay), o = K(() => e.setFocusHandlers);
317
- return o(S({
316
+ let t = J(() => e.store), n = J(() => e.id), r = J(() => e.element), i = J(() => e.delay), a = J(() => e.closeDelay), o = J(() => e.setFocusHandlers);
317
+ return o(C({
318
318
  context: t.context.floatingRoot,
319
319
  delay: i
320
- })), G(() => o(void 0)), w({
320
+ })), q(() => o(void 0)), T({
321
321
  context: t.context.floatingRoot,
322
322
  reference: r,
323
323
  floating: () => t.isTriggerActive(n()) ? t.floatingElement() : null,
@@ -326,31 +326,31 @@ function be(e) {
326
326
  open: i(),
327
327
  close: a()
328
328
  }),
329
- handleClose: () => T(),
329
+ handleClose: () => E(),
330
330
  mouseOnly: () => !0
331
331
  }), null;
332
332
  }
333
333
  //#endregion
334
334
  //#region src/preview-card/portal/PreviewCardPortalContext.ts
335
- var xe = Symbol("PreviewCardPortalContext"), Z = z(xe);
336
- function Se() {
337
- let e = q(Z);
335
+ var xe = Symbol("PreviewCardPortalContext"), Se = V(xe);
336
+ function Ce() {
337
+ let e = Y(Se);
338
338
  if (e === xe) throw Error("Base UI: <PreviewCard.Portal> is missing.");
339
339
  return e;
340
340
  }
341
341
  //#endregion
342
342
  //#region src/preview-card/portal/PreviewCardPortal.tsx
343
- function Ce(e) {
344
- let t = X(), n = e, r = e, o = V(() => n.keepMounted ?? !1), s = V(() => t.presence.mounted() || o()), c = {}, l = V(() => i(e.class, c)), u = V(() => a(e.style, c)), d = W(r, "render", "class", "container", "keepMounted", "ref", "style"), f = { keepMounted: o };
345
- return M(oe, {
343
+ function we(e) {
344
+ let t = Z(), n = e, r = e, o = U(() => n.keepMounted ?? !1), s = U(() => t.presence.mounted() || o()), c = {}, l = U(() => i(e.class, c)), u = U(() => a(e.style, c)), d = K(r, "render", "class", "container", "keepMounted", "ref", "style"), f = { keepMounted: o };
345
+ return M(B, {
346
346
  get when() {
347
347
  return s();
348
348
  },
349
349
  get children() {
350
- return M(Z, {
350
+ return M(Se, {
351
351
  value: f,
352
352
  get children() {
353
- return M(E, F({
353
+ return M(O, F({
354
354
  get render() {
355
355
  return e.render;
356
356
  },
@@ -359,7 +359,7 @@ function Ce(e) {
359
359
  },
360
360
  lite: !0,
361
361
  ref: (e) => {
362
- n.ref && A(n.ref, e);
362
+ n.ref && ie(n.ref, e);
363
363
  },
364
364
  get class() {
365
365
  return l();
@@ -389,22 +389,22 @@ function Q(e, t) {
389
389
  }
390
390
  //#endregion
391
391
  //#region src/preview-card/utils/stateAttributesMapping.ts
392
- var we = te, Te = D, Ee = { activationDirection: (e) => e ? { "data-activation-direction": e } : null }, De = Symbol("PreviewCardPositionerContext"), Oe = z(De);
392
+ var Te = D, Ee = k, De = { activationDirection: (e) => e ? { "data-activation-direction": e } : null }, Oe = Symbol("PreviewCardPositionerContext"), ke = V(Oe);
393
393
  function $() {
394
- let e = q(Oe);
395
- if (e === De) throw Error("Base UI: <PreviewCard.Positioner> is missing.");
394
+ let e = Y(ke);
395
+ if (e === Oe) throw Error("Base UI: <PreviewCard.Positioner> is missing.");
396
396
  return e;
397
397
  }
398
398
  //#endregion
399
399
  //#region src/preview-card/positioner/PreviewCardPositioner.tsx
400
- var ke = /* @__PURE__ */ R("<div>");
401
- function Ae(e) {
402
- let r = X();
403
- Se();
404
- let o = j(), s = e, c = e, l = V(() => {
400
+ var Ae = /* @__PURE__ */ R("<div>");
401
+ function je(e) {
402
+ let r = Z();
403
+ Ce();
404
+ let o = j(), s = e, c = e, l = U(() => {
405
405
  let e = s.anchor;
406
406
  return typeof e == "function" ? e() : e && "current" in e ? e.current : e ?? r.store.context.floatingRoot.referenceElement();
407
- }), d = u({
407
+ }), u = d({
408
408
  reference: l,
409
409
  floating: () => r.store.track().positionerElement,
410
410
  mounted: r.presence.mounted,
@@ -426,25 +426,25 @@ function Ae(e) {
426
426
  disableAnchorTracking: () => s.disableAnchorTracking ?? !1,
427
427
  inlineMiddleware: () => r.store.inlineRect.middleware,
428
428
  adaptiveOriginMiddleware: () => r.store.track().adaptiveOriginMiddleware
429
- }), f = C(() => r.store.open(), () => d.state().isPositioned), p = V(() => ({
429
+ }), f = w(() => r.store.open(), () => u.state().isPositioned), p = U(() => ({
430
430
  open: r.store.open(),
431
- side: d.renderedSide(),
432
- align: d.renderedAlign(),
433
- anchorHidden: d.anchorHidden(),
431
+ side: u.renderedSide(),
432
+ align: u.renderedAlign(),
433
+ anchorHidden: u.anchorHidden(),
434
434
  instant: r.store.track().instantType ?? (f() ? "initial" : void 0)
435
435
  })), m = t(e, () => p(), (e) => (() => {
436
- var t = N(ke);
436
+ var t = N(Ae);
437
437
  return L(t, e, !1), I(), t;
438
- })()), h = V(() => i(e.class, p())), g = V(() => Q({
439
- ...d.styles(),
438
+ })()), h = U(() => i(e.class, p())), g = U(() => Q({
439
+ ...u.styles(),
440
440
  "pointer-events": r.store.open() ? void 0 : "none"
441
- }, a(e.style, p()))), _ = V(() => n(p(), we)), v = W(c, "align", "alignOffset", "anchor", "arrowPadding", "render", "class", "collisionAvoidance", "collisionBoundary", "collisionPadding", "disableAnchorTracking", "positionMethod", "ref", "side", "sideOffset", "sticky", "style"), y = null;
442
- return B(() => d.state().placement, (e) => {
441
+ }, a(e.style, p()))), _ = U(() => n(p(), Te)), v = K(c, "align", "alignOffset", "anchor", "arrowPadding", "render", "class", "collisionAvoidance", "collisionBoundary", "collisionPadding", "disableAnchorTracking", "positionMethod", "ref", "side", "sideOffset", "sticky", "style"), y = null;
442
+ return H(() => u.state().placement, (e) => {
443
443
  r.store.context.floatingRoot.context.data.placement = e;
444
- }), G(() => {
444
+ }), q(() => {
445
445
  delete r.store.context.floatingRoot.context.data.placement, r.store.state.positionerElement === y && r.store.setPositionerElement(null);
446
- }), M(Oe, {
447
- value: d,
446
+ }), M(ke, {
447
+ value: u,
448
448
  get children() {
449
449
  return M(m, F({
450
450
  ref: [((e) => {
@@ -466,52 +466,52 @@ function Ae(e) {
466
466
  }
467
467
  //#endregion
468
468
  //#region src/preview-card/popup/PreviewCardPopup.tsx
469
- var je = /* @__PURE__ */ R("<div>");
470
- function Me(e) {
471
- let r = X(), o = $(), c = e, l = e, u = V(() => ({
469
+ var Me = /* @__PURE__ */ R("<div>");
470
+ function Ne(e) {
471
+ let r = Z(), o = $(), l = e, u = e, d = U(() => ({
472
472
  open: r.store.open(),
473
473
  side: o.renderedSide(),
474
474
  align: o.renderedAlign(),
475
475
  instant: r.store.track().instantType,
476
476
  transitionStatus: r.store.track().transitionStatus
477
- })), d = t(e, () => u(), (e) => (() => {
478
- var t = N(je);
477
+ })), f = t(e, () => d(), (e) => (() => {
478
+ var t = N(Me);
479
479
  return L(t, e, !1), I(), t;
480
- })()), f = V(() => i(e.class, u())), p = V(() => a(e.style, u())), m = V(() => n(u(), Te)), h = W(l, "render", "class", "onKeyDown", "ref", "style"), g = s(() => c.onKeyDown, () => (e) => {
480
+ })()), p = U(() => i(e.class, d())), m = U(() => a(e.style, d())), h = U(() => n(d(), Ee)), g = K(u, "render", "class", "onKeyDown", "ref", "style"), _ = s(c(() => l.onKeyDown), (e) => {
481
481
  let t = r.store.state.popupProps.onKeyDown;
482
482
  typeof t == "function" && t(e);
483
- }), _ = null;
484
- return G(() => {
485
- r.store.state.popupElement === _ && r.store.setPopupElement(null);
486
- }), M(d, F({
483
+ }), v = null;
484
+ return q(() => {
485
+ r.store.state.popupElement === v && r.store.setPopupElement(null);
486
+ }), M(f, F({
487
487
  ref: [((e) => {
488
- _ = e, r.store.setPopupElement(e);
489
- }), c.ref],
488
+ v = e, r.store.setPopupElement(e);
489
+ }), l.ref],
490
490
  tabIndex: -1,
491
491
  "data-base-ui-focusable": "",
492
492
  get class() {
493
- return f();
493
+ return p();
494
494
  },
495
495
  get style() {
496
- return p();
496
+ return m();
497
497
  },
498
- onKeyDown: g
499
- }, m, h));
498
+ onKeyDown: _
499
+ }, h, g));
500
500
  }
501
501
  //#endregion
502
502
  //#region src/preview-card/arrow/PreviewCardArrow.tsx
503
- var Ne = /* @__PURE__ */ R("<div>");
504
- function Pe(e) {
505
- let r = X(), o = $(), s = e, c = e, l = V(() => ({
503
+ var Pe = /* @__PURE__ */ R("<div>");
504
+ function Fe(e) {
505
+ let r = Z(), o = $(), s = e, c = e, l = U(() => ({
506
506
  open: r.store.open(),
507
507
  side: o.renderedSide(),
508
508
  align: o.renderedAlign(),
509
509
  uncentered: o.arrowUncentered()
510
510
  })), u = t(e, () => l(), (e) => (() => {
511
- var t = N(Ne);
511
+ var t = N(Pe);
512
512
  return L(t, e, !1), I(), t;
513
- })()), d = V(() => i(e.class, l())), f = V(() => Q(o.arrowStyles(), a(e.style, l()))), p = V(() => n(l(), we)), m = W(c, "render", "class", "ref", "style"), h = null;
514
- return G(() => {
513
+ })()), d = U(() => i(e.class, l())), f = U(() => Q(o.arrowStyles(), a(e.style, l()))), p = U(() => n(l(), Te)), m = K(c, "render", "class", "ref", "style"), h = null;
514
+ return q(() => {
515
515
  h && o.setArrowElement(null);
516
516
  }), M(u, F({
517
517
  ref: [((e) => {
@@ -528,19 +528,19 @@ function Pe(e) {
528
528
  }
529
529
  //#endregion
530
530
  //#region src/preview-card/backdrop/PreviewCardBackdrop.tsx
531
- var Fe = /* @__PURE__ */ R("<div>");
532
- function Ie(e) {
533
- let r = X(), o = e, s = e, c = V(() => ({
531
+ var Ie = /* @__PURE__ */ R("<div>");
532
+ function Le(e) {
533
+ let r = Z(), o = e, s = e, c = U(() => ({
534
534
  open: r.store.open(),
535
535
  transitionStatus: r.store.track().transitionStatus
536
536
  })), l = t(e, () => c(), (e) => (() => {
537
- var t = N(Fe);
537
+ var t = N(Ie);
538
538
  return L(t, e, !1), I(), t;
539
- })()), u = V(() => i(e.class, c())), d = V(() => Q({
539
+ })()), u = U(() => i(e.class, c())), d = U(() => Q({
540
540
  "pointer-events": "none",
541
541
  "user-select": "none",
542
542
  "-webkit-user-select": "none"
543
- }, a(e.style, c()))), f = V(() => n(c(), Te)), p = W(s, "render", "class", "ref", "style");
543
+ }, a(e.style, c()))), f = U(() => n(c(), Ee)), p = K(s, "render", "class", "ref", "style");
544
544
  return M(l, F({
545
545
  ref: [o.ref],
546
546
  role: "presentation",
@@ -557,18 +557,18 @@ function Ie(e) {
557
557
  }
558
558
  //#endregion
559
559
  //#region src/preview-card/viewport/PreviewCardViewport.tsx
560
- var Le = /* @__PURE__ */ R("<div>");
561
- function Re(e) {
562
- let r = X(), o = $(), s = j(), c = e, u = e, [d, f] = H({
560
+ var Re = /* @__PURE__ */ R("<div>");
561
+ function ze(e) {
562
+ let r = Z(), o = $(), s = j(), c = e, l = e, [d, f] = W({
563
563
  activationDirection: void 0,
564
564
  transitioning: !1
565
- }, { ownedWrite: !0 }), p = V(() => ({
565
+ }, { ownedWrite: !0 }), p = U(() => ({
566
566
  ...d(),
567
567
  instant: r.store.track().instantType
568
568
  })), m = t(e, () => p(), (e) => (() => {
569
- var t = N(Le);
569
+ var t = N(Re);
570
570
  return L(t, e, !1), I(), t;
571
- })()), h = V(() => i(e.class, p())), g = V(() => a(e.style, p())), _ = V(() => n(p(), Ee)), v = W(u, "render", "children", "class", "ref", "style");
571
+ })()), h = U(() => i(e.class, p())), g = U(() => a(e.style, p())), _ = U(() => n(p(), De)), v = K(l, "render", "children", "class", "ref", "style");
572
572
  return M(m, F({
573
573
  ref: [c.ref],
574
574
  get class() {
@@ -578,7 +578,7 @@ function Re(e) {
578
578
  return g();
579
579
  }
580
580
  }, _, v, { get children() {
581
- return M(l, {
581
+ return M(u, {
582
582
  get store() {
583
583
  return r.store;
584
584
  },
@@ -597,7 +597,7 @@ function Re(e) {
597
597
  }
598
598
  //#endregion
599
599
  //#region src/preview-card/store/PreviewCardHandle.ts
600
- var ze = class extends k {
600
+ var Be = class extends re {
601
601
  constructor() {
602
602
  super("PreviewCard", !0, new me());
603
603
  }
@@ -611,22 +611,22 @@ var ze = class extends k {
611
611
  return this.attachedStore?.open() ?? !1;
612
612
  }
613
613
  };
614
- function Be() {
615
- return new ze();
614
+ function Ve() {
615
+ return new Be();
616
616
  }
617
617
  //#endregion
618
618
  //#region src/preview-card/index.parts.ts
619
- var Ve = /* @__PURE__ */ e({
620
- Arrow: () => Pe,
621
- Backdrop: () => Ie,
622
- Handle: () => ze,
623
- Popup: () => Me,
624
- Portal: () => Ce,
625
- Positioner: () => Ae,
619
+ var He = /* @__PURE__ */ e({
620
+ Arrow: () => Fe,
621
+ Backdrop: () => Le,
622
+ Handle: () => Be,
623
+ Popup: () => Ne,
624
+ Portal: () => we,
625
+ Positioner: () => je,
626
626
  Root: () => _e,
627
627
  Trigger: () => ye,
628
- Viewport: () => Re,
629
- createHandle: () => Be
628
+ Viewport: () => ze,
629
+ createHandle: () => Ve
630
630
  });
631
631
  //#endregion
632
- export { Ve as t };
632
+ export { He as t };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../radio-DA_oZhQT.js";
1
+ import { t as e } from "../radio-CeCU-Qqi.js";
2
2
  export { e as Radio };