@televet/kibble-ui 4.0.0-beta.94 → 4.0.0-beta.97

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 (191) hide show
  1. package/dist/chunks/{alert.types-DeHWvQla.js → alert.types-DEe0eEG4.js} +3 -3
  2. package/dist/chunks/{alert.types-DeHWvQla.js.map → alert.types-DEe0eEG4.js.map} +1 -1
  3. package/dist/chunks/{avatar.component-CV_95YCj.js → avatar.component-CvE1vv5L.js} +5 -5
  4. package/dist/chunks/{avatar.component-CV_95YCj.js.map → avatar.component-CvE1vv5L.js.map} +1 -1
  5. package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js → avatarGroup.component-SoAj9p5n.js} +2 -2
  6. package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js.map → avatarGroup.component-SoAj9p5n.js.map} +1 -1
  7. package/dist/chunks/{buttonGroup.component-BJl5t4CV.js → buttonGroup.component-Bp2YbVtj.js} +2 -2
  8. package/dist/chunks/{buttonGroup.component-BJl5t4CV.js.map → buttonGroup.component-Bp2YbVtj.js.map} +1 -1
  9. package/dist/chunks/{characterCounter.component-C4sKYWJ2.js → characterCounter.component-Lya4VMgB.js} +2 -2
  10. package/dist/chunks/{characterCounter.component-C4sKYWJ2.js.map → characterCounter.component-Lya4VMgB.js.map} +1 -1
  11. package/dist/chunks/{checkbox.component-BpSGOInE.js → checkbox.component-PmkaXzNs.js} +7 -7
  12. package/dist/chunks/{checkbox.component-BpSGOInE.js.map → checkbox.component-PmkaXzNs.js.map} +1 -1
  13. package/dist/chunks/{checkbox.records-CTlAD-2Q.js → checkbox.records-Ds6SvFdm.js} +4 -4
  14. package/dist/chunks/{checkbox.records-CTlAD-2Q.js.map → checkbox.records-Ds6SvFdm.js.map} +1 -1
  15. package/dist/chunks/{checkboxGroup.component-B154cVx5.js → checkboxGroup.component-DXWrZuhZ.js} +3 -3
  16. package/dist/chunks/{checkboxGroup.component-B154cVx5.js.map → checkboxGroup.component-DXWrZuhZ.js.map} +1 -1
  17. package/dist/chunks/{conversationCard.component-DCpGDLwc.js → conversationCard.component-D3WN8rhl.js} +7 -7
  18. package/dist/chunks/{conversationCard.component-DCpGDLwc.js.map → conversationCard.component-D3WN8rhl.js.map} +1 -1
  19. package/dist/chunks/{datePicker.component-DSEMVYWG.js → datePicker.component-BSzcmQ9c.js} +7 -7
  20. package/dist/chunks/{datePicker.component-DSEMVYWG.js.map → datePicker.component-BSzcmQ9c.js.map} +1 -1
  21. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js → dialog-trigger-Crrp0YGG.js} +5 -5
  22. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js.map → dialog-trigger-Crrp0YGG.js.map} +1 -1
  23. package/dist/chunks/{heading.component-BHha3j1I.js → heading.component-73t_EqZx.js} +2 -2
  24. package/dist/chunks/{heading.component-BHha3j1I.js.map → heading.component-73t_EqZx.js.map} +1 -1
  25. package/dist/chunks/{index-C_AXAeNS.js → index-B3d3tRic.js} +4 -4
  26. package/dist/chunks/{index-C_AXAeNS.js.map → index-B3d3tRic.js.map} +1 -1
  27. package/dist/chunks/{index-Cbkb_94C.js → index-BBxAd1xM.js} +3 -3
  28. package/dist/chunks/{index-Cbkb_94C.js.map → index-BBxAd1xM.js.map} +1 -1
  29. package/dist/chunks/{index-CJLttzPM.js → index-BODNpj2d.js} +3 -3
  30. package/dist/chunks/{index-CJLttzPM.js.map → index-BODNpj2d.js.map} +1 -1
  31. package/dist/chunks/{index-cSjUS7Xj.js → index-BRBNqTA7.js} +3 -3
  32. package/dist/chunks/{index-cSjUS7Xj.js.map → index-BRBNqTA7.js.map} +1 -1
  33. package/dist/chunks/{index-Bff1r_rH.js → index-BpQwMKfa.js} +2 -2
  34. package/dist/chunks/{index-Bff1r_rH.js.map → index-BpQwMKfa.js.map} +1 -1
  35. package/dist/chunks/{index-DVNjUEDJ.js → index-C-m6RNXT.js} +4 -4
  36. package/dist/chunks/{index-DVNjUEDJ.js.map → index-C-m6RNXT.js.map} +1 -1
  37. package/dist/chunks/{index-OpolRlgD.js → index-CX3yrbBD.js} +3 -3
  38. package/dist/chunks/{index-OpolRlgD.js.map → index-CX3yrbBD.js.map} +1 -1
  39. package/dist/chunks/{index-DUY19L6M.js → index-CYHDITxm.js} +3196 -1649
  40. package/dist/chunks/index-CYHDITxm.js.map +1 -0
  41. package/dist/chunks/{index-Bz8HDeWA.js → index-Cd-5e4RS.js} +2 -2
  42. package/dist/chunks/{index-Bz8HDeWA.js.map → index-Cd-5e4RS.js.map} +1 -1
  43. package/dist/chunks/index-ClcMgyeA.js +10 -0
  44. package/dist/chunks/index-ClcMgyeA.js.map +1 -0
  45. package/dist/chunks/{index-YtNA0Ueo.js → index-Ztgrae6O.js} +49 -49
  46. package/dist/chunks/{index-YtNA0Ueo.js.map → index-Ztgrae6O.js.map} +1 -1
  47. package/dist/chunks/{index-L197Dry5.js → index-mndLieJA.js} +4 -4
  48. package/dist/chunks/{index-L197Dry5.js.map → index-mndLieJA.js.map} +1 -1
  49. package/dist/chunks/{menu.component-D38vU6MX.js → menu.component-CYoNg8cG.js} +8 -8
  50. package/dist/chunks/{menu.component-D38vU6MX.js.map → menu.component-CYoNg8cG.js.map} +1 -1
  51. package/dist/chunks/{modal.types-mGxpGfVt.js → modal.types-hyW2Nhp9.js} +4 -4
  52. package/dist/chunks/{modal.types-mGxpGfVt.js.map → modal.types-hyW2Nhp9.js.map} +1 -1
  53. package/dist/chunks/{pinInput.types-CD_tKvQm.js → pinInput.types-DI4tGMSB.js} +6 -6
  54. package/dist/chunks/{pinInput.types-CD_tKvQm.js.map → pinInput.types-DI4tGMSB.js.map} +1 -1
  55. package/dist/chunks/{popover-root-provider-BErev2-N.js → popover-root-provider-R2bRQ-xz.js} +4 -4
  56. package/dist/chunks/{popover-root-provider-BErev2-N.js.map → popover-root-provider-R2bRQ-xz.js.map} +1 -1
  57. package/dist/chunks/{popover.component-CDvn34mM.js → popover.component-BnIYkGYM.js} +2 -2
  58. package/dist/chunks/{popover.component-CDvn34mM.js.map → popover.component-BnIYkGYM.js.map} +1 -1
  59. package/dist/chunks/{popover.component-DBDBFljk.js → popover.component-CV6ZJKNL.js} +7 -8
  60. package/dist/chunks/{popover.component-DBDBFljk.js.map → popover.component-CV6ZJKNL.js.map} +1 -1
  61. package/dist/chunks/{popover.recipe-DlJtOeLy.js → popover.recipe-DDKba5kq.js} +4 -4
  62. package/dist/chunks/{popover.recipe-DlJtOeLy.js.map → popover.recipe-DDKba5kq.js.map} +1 -1
  63. package/dist/chunks/{radio.records-4ih1q8nO.js → radio.records-muLWVHhG.js} +4 -4
  64. package/dist/chunks/{radio.records-4ih1q8nO.js.map → radio.records-muLWVHhG.js.map} +1 -1
  65. package/dist/chunks/{radioGroup.component-DJsYK4YT.js → radioGroup.component-BUFZGQ-P.js} +7 -7
  66. package/dist/chunks/{radioGroup.component-DJsYK4YT.js.map → radioGroup.component-BUFZGQ-P.js.map} +1 -1
  67. package/dist/chunks/{ratingDots.component-BdUvoShh.js → ratingDots.component-CtmqAmV5.js} +3 -3
  68. package/dist/chunks/{ratingDots.component-BdUvoShh.js.map → ratingDots.component-CtmqAmV5.js.map} +1 -1
  69. package/dist/chunks/{render-strategy-CHp7lb6C.js → render-strategy-D5Z6LZ1V.js} +2 -2
  70. package/dist/chunks/{render-strategy-CHp7lb6C.js.map → render-strategy-D5Z6LZ1V.js.map} +1 -1
  71. package/dist/chunks/{select.component-BNMyz5Nm.js → select.component-Fq8Hh2MP.js} +9 -9
  72. package/dist/chunks/{select.component-BNMyz5Nm.js.map → select.component-Fq8Hh2MP.js.map} +1 -1
  73. package/dist/chunks/{sortableList.component-BKthQS8R.js → sortableList.component-Dl8iDhRd.js} +3 -3
  74. package/dist/chunks/{sortableList.component-BKthQS8R.js.map → sortableList.component-Dl8iDhRd.js.map} +1 -1
  75. package/dist/chunks/{spinner.component-CzTRzWbL.js → spinner.component-katjnJzv.js} +2 -2
  76. package/dist/chunks/{spinner.component-CzTRzWbL.js.map → spinner.component-katjnJzv.js.map} +1 -1
  77. package/dist/chunks/{styledAvatar.types-DXwe2DPH.js → styledAvatar.types-C8U-V56j.js} +2 -2
  78. package/dist/chunks/{styledAvatar.types-DXwe2DPH.js.map → styledAvatar.types-C8U-V56j.js.map} +1 -1
  79. package/dist/chunks/{switch.component-DVHjLc9H.js → switch.component-U2g70Pc5.js} +6 -6
  80. package/dist/chunks/{switch.component-DVHjLc9H.js.map → switch.component-U2g70Pc5.js.map} +1 -1
  81. package/dist/chunks/{tabs.component-b8VxTs-T.js → tabs.component-P5GKt5Sv.js} +5 -5
  82. package/dist/chunks/{tabs.component-b8VxTs-T.js.map → tabs.component-P5GKt5Sv.js.map} +1 -1
  83. package/dist/chunks/{tagBlock.component-CfxiQgjI.js → tagBlock.component-CF3z8rKF.js} +5 -5
  84. package/dist/chunks/{tagBlock.component-CfxiQgjI.js.map → tagBlock.component-CF3z8rKF.js.map} +1 -1
  85. package/dist/chunks/{text.component-DJW--Vty.js → text.component-DKtdjH7k.js} +2 -2
  86. package/dist/chunks/{text.component-DJW--Vty.js.map → text.component-DKtdjH7k.js.map} +1 -1
  87. package/dist/chunks/{textInput.component-evu71Hys.js → textInput.component-DSVsTHqO.js} +6 -6
  88. package/dist/chunks/{textInput.component-evu71Hys.js.map → textInput.component-DSVsTHqO.js.map} +1 -1
  89. package/dist/chunks/{textarea.component-CZQMAMYT.js → textarea.component-Cbo5Vs-6.js} +6 -6
  90. package/dist/chunks/{textarea.component-CZQMAMYT.js.map → textarea.component-Cbo5Vs-6.js.map} +1 -1
  91. package/dist/chunks/theme-BFbOz0Jj.js +2 -0
  92. package/dist/chunks/theme-BFbOz0Jj.js.map +1 -0
  93. package/dist/chunks/theme-BOK659O0.js +5 -0
  94. package/dist/chunks/theme-BOK659O0.js.map +1 -0
  95. package/dist/chunks/{theme.provider-VIWx5x9g.js → theme.provider-BHh_9yV5.js} +1138 -2678
  96. package/dist/chunks/theme.provider-BHh_9yV5.js.map +1 -0
  97. package/dist/chunks/theme.provider-Ey-yIBM6.js +24 -0
  98. package/dist/chunks/theme.provider-Ey-yIBM6.js.map +1 -0
  99. package/dist/chunks/{timePicker.component-Bk6YAjmJ.js → timePicker.component-BSuNH0Ze.js} +3 -3
  100. package/dist/chunks/{timePicker.component-Bk6YAjmJ.js.map → timePicker.component-BSuNH0Ze.js.map} +1 -1
  101. package/dist/chunks/{timePicker.component-CoQ_s8Vc.js → timePicker.component-D_0jwXVM.js} +2 -2
  102. package/dist/chunks/{timePicker.component-CoQ_s8Vc.js.map → timePicker.component-D_0jwXVM.js.map} +1 -1
  103. package/dist/chunks/{timeRange.component-BJRcb-HV.js → timeRange.component-SMQArMaf.js} +2 -2
  104. package/dist/chunks/{timeRange.component-BJRcb-HV.js.map → timeRange.component-SMQArMaf.js.map} +1 -1
  105. package/dist/chunks/{timeRange.component-BwJfza8q.js → timeRange.component-bC1TS9T0.js} +2 -2
  106. package/dist/chunks/{timeRange.component-BwJfza8q.js.map → timeRange.component-bC1TS9T0.js.map} +1 -1
  107. package/dist/chunks/{timestamp.component-DLqT7x-O.js → timestamp.component-DAa3tXHL.js} +3 -3
  108. package/dist/chunks/{timestamp.component-DLqT7x-O.js.map → timestamp.component-DAa3tXHL.js.map} +1 -1
  109. package/dist/chunks/{toaster.records-Bb46MMbZ.js → toaster.records-DcadVT_W.js} +2 -2
  110. package/dist/chunks/{toaster.records-Bb46MMbZ.js.map → toaster.records-DcadVT_W.js.map} +1 -1
  111. package/dist/chunks/{tooltip.component-Cr_en1NQ.js → tooltip.component-XxpjNATA.js} +3 -3
  112. package/dist/chunks/{tooltip.component-Cr_en1NQ.js.map → tooltip.component-XxpjNATA.js.map} +1 -1
  113. package/dist/chunks/{typography.records-H4aA5AOA.js → typography.records-DDZuRT8J.js} +2 -2
  114. package/dist/chunks/{typography.records-H4aA5AOA.js.map → typography.records-DDZuRT8J.js.map} +1 -1
  115. package/dist/chunks/{use-field-context-Cm3grEyV.js → use-field-context-BZaIHuSQ.js} +2 -2
  116. package/dist/chunks/{use-field-context-Cm3grEyV.js.map → use-field-context-BZaIHuSQ.js.map} +1 -1
  117. package/dist/chunks/{use-locale-context-BiiNTYMT.js → use-locale-context-BNU4MHrO.js} +71 -71
  118. package/dist/chunks/{use-locale-context-BiiNTYMT.js.map → use-locale-context-BNU4MHrO.js.map} +1 -1
  119. package/dist/chunks/{withFormControl-l2C92-pT.js → withFormControl-BJbzRb4N.js} +6 -6
  120. package/dist/chunks/{withFormControl-l2C92-pT.js.map → withFormControl-BJbzRb4N.js.map} +1 -1
  121. package/dist/chunks/{withTruncation-CQ7mmyn9.js → withTruncation-CR8pGwFg.js} +2 -2
  122. package/dist/chunks/{withTruncation-CQ7mmyn9.js.map → withTruncation-CR8pGwFg.js.map} +1 -1
  123. package/dist/cjs/chakra/index.cjs +1 -1
  124. package/dist/cjs/chakra/index.cjs.map +1 -1
  125. package/dist/cjs/components/Popover/index.cjs +1 -1
  126. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  127. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  128. package/dist/cjs/components/index.cjs +1 -1
  129. package/dist/cjs/hooks/useColorMode/index.cjs +1 -1
  130. package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
  131. package/dist/cjs/index.cjs +1 -1
  132. package/dist/cjs/shared/index.cjs +1 -1
  133. package/dist/cjs/shared/types/index.cjs +1 -1
  134. package/dist/cjs/shared/types/index.cjs.map +1 -1
  135. package/dist/cjs/theme/index.cjs +1 -1
  136. package/dist/esm/chakra/index.js +165 -162
  137. package/dist/esm/chakra/index.js.map +1 -1
  138. package/dist/esm/components/Alert/index.js +1 -1
  139. package/dist/esm/components/Avatar/index.js +1 -1
  140. package/dist/esm/components/AvatarGroup/index.js +1 -1
  141. package/dist/esm/components/ButtonGroup/index.js +1 -1
  142. package/dist/esm/components/CharacterCounter/index.js +1 -1
  143. package/dist/esm/components/Checkbox/index.js +1 -1
  144. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  145. package/dist/esm/components/ConversationCard/index.js +1 -1
  146. package/dist/esm/components/DatePicker/index.js +1 -1
  147. package/dist/esm/components/Heading/index.js +1 -1
  148. package/dist/esm/components/Menu/index.js +1 -1
  149. package/dist/esm/components/Modal/index.js +1 -1
  150. package/dist/esm/components/PinInput/index.js +1 -1
  151. package/dist/esm/components/Popover/index.js +1 -1
  152. package/dist/esm/components/RadioGroup/index.js +1 -1
  153. package/dist/esm/components/RatingDots/index.js +1 -1
  154. package/dist/esm/components/Select/index.js +1 -1
  155. package/dist/esm/components/SortableList/index.js +1 -1
  156. package/dist/esm/components/Spinner/index.js +1 -1
  157. package/dist/esm/components/StyledAvatar/index.js +1 -1
  158. package/dist/esm/components/Switch/index.js +1 -1
  159. package/dist/esm/components/Tabs/index.js +1 -1
  160. package/dist/esm/components/TagBlock/index.js +1 -1
  161. package/dist/esm/components/Text/index.js +1 -1
  162. package/dist/esm/components/TextInput/index.js +1 -1
  163. package/dist/esm/components/Textarea/index.js +1 -1
  164. package/dist/esm/components/TimePicker/index.js +1 -1
  165. package/dist/esm/components/TimeRange/index.js +1 -1
  166. package/dist/esm/components/Timestamp/index.js +1 -1
  167. package/dist/esm/components/Toast/index.js +1 -1
  168. package/dist/esm/components/Tooltip/index.js +1 -1
  169. package/dist/esm/components/index.js +30 -30
  170. package/dist/esm/hooks/useColorMode/index.js +8 -6
  171. package/dist/esm/hooks/useColorMode/index.js.map +1 -1
  172. package/dist/esm/index.js +75 -72
  173. package/dist/esm/index.js.map +1 -1
  174. package/dist/esm/shared/index.js +8 -6
  175. package/dist/esm/shared/index.js.map +1 -1
  176. package/dist/esm/shared/types/index.js +5 -3
  177. package/dist/esm/shared/types/index.js.map +1 -1
  178. package/dist/esm/theme/index.js +4 -3
  179. package/dist/types/chakra/index.d.ts +1 -1
  180. package/dist/types/hooks/useColorMode/index.d.ts +3 -2
  181. package/dist/types/shared/types/theme.d.ts +1 -0
  182. package/dist/types/theme/index.d.ts +1 -1
  183. package/dist/types/theme/providers/theme.provider.d.ts +1 -1
  184. package/dist/types/theme/theme.config.d.ts +3 -2
  185. package/package.json +1 -21
  186. package/dist/chunks/index-DUY19L6M.js.map +0 -1
  187. package/dist/chunks/index-iaug4k6v.js +0 -8
  188. package/dist/chunks/index-iaug4k6v.js.map +0 -1
  189. package/dist/chunks/theme.provider-Dj8NjgPW.js +0 -26
  190. package/dist/chunks/theme.provider-Dj8NjgPW.js.map +0 -1
  191. package/dist/chunks/theme.provider-VIWx5x9g.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
2
- import { b2 as mt, G as pt, b3 as yt, a6 as Je, T as ht, b4 as re, b5 as Oe, b6 as vt, b7 as ie, aF as He, b8 as xt, K as wt, a1 as bt, c as Ot, al as St, an as Et, r as Re, e as Qe, E as Rt, b9 as At, l as Tt, ba as _t, a7 as Pt, F as Nt } from "./index-YtNA0Ueo.js";
2
+ import { ar as mt, G as pt, as as yt, a6 as Je, T as ht, at as re, au as be, av as vt, aw as ie, ax as He, ay as xt, K as wt, a1 as Ot, c as bt, al as St, an as Et, r as Re, e as Qe, E as Rt, az as At, l as Tt, aA as _t, a7 as Pt, F as Nt } from "./index-Ztgrae6O.js";
3
3
  import Ze, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as zt, cloneElement as Ut, useCallback as Ft } from "react";
4
4
  var fe = { exports: {} }, N = {};
5
5
  /**
@@ -570,24 +570,24 @@ function Zt(e, t = {}) {
570
570
  }), v = (h) => {
571
571
  const x = ie(h) ? h(y()) : h;
572
572
  if (!x) return;
573
- const R = x.map((O) => {
574
- const T = e.implementations?.actions?.[O];
575
- return T || He(`[zag-js] No implementation found for action "${JSON.stringify(O)}"`), T;
573
+ const R = x.map((b) => {
574
+ const T = e.implementations?.actions?.[b];
575
+ return T || He(`[zag-js] No implementation found for action "${JSON.stringify(b)}"`), T;
576
576
  });
577
- for (const O of R)
578
- O?.(y());
579
- }, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), b = (h) => {
577
+ for (const b of R)
578
+ b?.(y());
579
+ }, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), O = (h) => {
580
580
  const x = ie(h) ? h(y()) : h;
581
581
  if (!x) return;
582
582
  const R = x.map((T) => {
583
583
  const P = e.implementations?.effects?.[T];
584
584
  return P || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), P;
585
- }), O = [];
585
+ }), b = [];
586
586
  for (const T of R) {
587
587
  const P = T?.(y());
588
- P && O.push(P);
588
+ P && b.push(P);
589
589
  }
590
- return () => O.forEach((T) => T?.());
590
+ return () => b.forEach((T) => T?.());
591
591
  }, E = (h) => xt(h).find((x) => {
592
592
  let R = !x.guard;
593
593
  return wt(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
@@ -606,11 +606,11 @@ function Zt(e, t = {}) {
606
606
  defaultValue: e.initialState({ prop: c }),
607
607
  onChange(h, x) {
608
608
  x && (s.current.get(x)?.(), s.current.delete(x)), x && v(e.states[x]?.exit), v(g.current?.actions);
609
- const R = b(e.states[h]?.effects);
610
- if (R && s.current.set(h, R), x === Oe) {
609
+ const R = O(e.states[h]?.effects);
610
+ if (R && s.current.set(h, R), x === be) {
611
611
  v(e.entry);
612
- const O = b(e.effects);
613
- O && s.current.set(Oe, O);
612
+ const b = O(e.effects);
613
+ b && s.current.set(be, b);
614
614
  }
615
615
  v(e.states[h]?.entry);
616
616
  }
@@ -619,8 +619,8 @@ function Zt(e, t = {}) {
619
619
  queueMicrotask(() => {
620
620
  const R = D.current === re.Started;
621
621
  D.current = re.Started, n(R ? "rehydrating..." : "initializing...");
622
- const O = _.current ?? A.initial;
623
- A.invoke(O, R ? A.get() : Oe);
622
+ const b = _.current ?? A.initial;
623
+ A.invoke(b, R ? A.get() : be);
624
624
  });
625
625
  const h = s.current, x = A.ref.current;
626
626
  return () => {
@@ -638,13 +638,13 @@ function Zt(e, t = {}) {
638
638
  // @ts-ignore
639
639
  e.states[x].on?.[h.type] ?? // @ts-ignore
640
640
  e.on?.[h.type]
641
- ), O = E(R);
642
- if (!O) return;
643
- g.current = O;
644
- const T = O.target ?? x;
645
- n("transition", O);
641
+ ), b = E(R);
642
+ if (!b) return;
643
+ g.current = b;
644
+ const T = b.target ?? x;
645
+ n("transition", b);
646
646
  const P = T !== x;
647
- P ? ve.flushSync(() => A.set(T)) : O.reenter && !P ? A.invoke(x, x) : v(O.actions ?? []);
647
+ P ? ve.flushSync(() => A.set(T)) : b.reenter && !P ? A.invoke(x, x) : v(b.actions ?? []);
648
648
  });
649
649
  };
650
650
  return e.watch?.(y()), {
@@ -674,7 +674,7 @@ function Ie(e) {
674
674
  ve.flushSync(() => e());
675
675
  });
676
676
  }
677
- var br = Kt((e) => e);
677
+ var Or = Kt((e) => e);
678
678
  function tn(...e) {
679
679
  return (t) => {
680
680
  const r = [];
@@ -705,7 +705,7 @@ const Se = (e) => {
705
705
  return null;
706
706
  const u = nn(f);
707
707
  return Ut(f, {
708
- ...bt(l, f.props),
708
+ ...Ot(l, f.props),
709
709
  ref: n ? tn(n, u) : u
710
710
  });
711
711
  })
@@ -722,7 +722,7 @@ const Se = (e) => {
722
722
  return e.has(n) || e.set(n, Se(n)), e.get(n);
723
723
  }
724
724
  });
725
- }, Or = rn(), [Sr, Er] = Ne({
725
+ }, br = rn(), [Sr, Er] = Ne({
726
726
  name: "PresenceContext",
727
727
  hookName: "usePresenceContext",
728
728
  providerName: "<PresenceProvider />"
@@ -753,7 +753,7 @@ function sn(e, t) {
753
753
  }
754
754
  };
755
755
  }
756
- var cn = Ot({
756
+ var cn = bt({
757
757
  props({ props: e }) {
758
758
  return { ...e, present: !!e.present };
759
759
  },
@@ -1091,7 +1091,7 @@ const vn = async (e, t, r) => {
1091
1091
  fn: v
1092
1092
  } = f[p], {
1093
1093
  x: w,
1094
- y: b,
1094
+ y: O,
1095
1095
  data: E,
1096
1096
  reset: S
1097
1097
  } = await v({
@@ -1108,7 +1108,7 @@ const vn = async (e, t, r) => {
1108
1108
  floating: t
1109
1109
  }
1110
1110
  });
1111
- g = w ?? g, a = b ?? a, d = {
1111
+ g = w ?? g, a = O ?? a, d = {
1112
1112
  ...d,
1113
1113
  [y]: {
1114
1114
  ...d[y],
@@ -1157,7 +1157,7 @@ async function ce(e, t) {
1157
1157
  y: o,
1158
1158
  width: l.floating.width,
1159
1159
  height: l.floating.height
1160
- } : l.reference, b = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(b)) ? await (c.getScale == null ? void 0 : c.getScale(b)) || {
1160
+ } : l.reference, O = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(O)) ? await (c.getScale == null ? void 0 : c.getScale(O)) || {
1161
1161
  x: 1,
1162
1162
  y: 1
1163
1163
  } : {
@@ -1166,7 +1166,7 @@ async function ce(e, t) {
1166
1166
  }, S = he(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
1167
1167
  elements: f,
1168
1168
  rect: w,
1169
- offsetParent: b,
1169
+ offsetParent: O,
1170
1170
  strategy: u
1171
1171
  }) : w);
1172
1172
  return {
@@ -1197,15 +1197,15 @@ const xn = (e) => ({
1197
1197
  const a = rt(g), i = {
1198
1198
  x: r,
1199
1199
  y: n
1200
- }, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
1201
- let _ = A ? A[b] : 0;
1202
- (!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[b] || c.floating[m]);
1203
- const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, O = _ / 2 - p[m] / 2 + D, T = Te(x, O, R), P = !u.arrow && te(o) != null && O !== T && c.reference[m] / 2 - (O < x ? M : h) - p[m] / 2 < 0, H = P ? O < x ? O - x : O - R : 0;
1200
+ }, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", O = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
1201
+ let _ = A ? A[O] : 0;
1202
+ (!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[O] || c.floating[m]);
1203
+ const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, b = _ / 2 - p[m] / 2 + D, T = Te(x, b, R), P = !u.arrow && te(o) != null && b !== T && c.reference[m] / 2 - (b < x ? M : h) - p[m] / 2 < 0, H = P ? b < x ? b - x : b - R : 0;
1204
1204
  return {
1205
1205
  [d]: i[d] + H,
1206
1206
  data: {
1207
1207
  [d]: T,
1208
- centerOffset: O - T - H,
1208
+ centerOffset: b - T - H,
1209
1209
  ...P && {
1210
1210
  alignmentOffset: H
1211
1211
  }
@@ -1237,26 +1237,26 @@ const xn = (e) => ({
1237
1237
  } = Y(e, t);
1238
1238
  if ((r = c.arrow) != null && r.alignmentOffset)
1239
1239
  return {};
1240
- const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] : mn(f)), A = m !== "none";
1240
+ const v = G(o), w = I(f), O = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (O || !p ? [ye(f)] : mn(f)), A = m !== "none";
1241
1241
  !i && A && S.push(...yn(f, p, m, E));
1242
1242
  const _ = [f, ...S], D = await ce(t, y), V = [];
1243
1243
  let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
1244
1244
  if (g && V.push(D[v]), a) {
1245
- const O = gn(o, l, E);
1246
- V.push(D[O[0]], D[O[1]]);
1245
+ const b = gn(o, l, E);
1246
+ V.push(D[b[0]], D[b[1]]);
1247
1247
  }
1248
1248
  if (M = [...M, {
1249
1249
  placement: o,
1250
1250
  overflows: V
1251
- }], !V.every((O) => O <= 0)) {
1251
+ }], !V.every((b) => b <= 0)) {
1252
1252
  var h, x;
1253
- const O = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[O];
1253
+ const b = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[b];
1254
1254
  if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
1255
1255
  // overflows the main axis.
1256
1256
  M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
1257
1257
  return {
1258
1258
  data: {
1259
- index: O,
1259
+ index: b,
1260
1260
  overflows: M
1261
1261
  },
1262
1262
  reset: {
@@ -1306,7 +1306,7 @@ function je(e, t) {
1306
1306
  function Be(e) {
1307
1307
  return un.some((t) => e[t] >= 0);
1308
1308
  }
1309
- const bn = function(e) {
1309
+ const On = function(e) {
1310
1310
  return e === void 0 && (e = {}), {
1311
1311
  name: "hide",
1312
1312
  options: e,
@@ -1348,7 +1348,7 @@ const bn = function(e) {
1348
1348
  }
1349
1349
  };
1350
1350
  };
1351
- async function On(e, t) {
1351
+ async function bn(e, t) {
1352
1352
  const {
1353
1353
  placement: r,
1354
1354
  platform: n,
@@ -1386,7 +1386,7 @@ const Sn = function(e) {
1386
1386
  y: c,
1387
1387
  placement: l,
1388
1388
  middlewareData: f
1389
- } = t, u = await On(t, e);
1389
+ } = t, u = await bn(t, e);
1390
1390
  return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
1391
1391
  x: o + u.x,
1392
1392
  y: c + u.y,
@@ -1428,12 +1428,12 @@ const Sn = function(e) {
1428
1428
  }, g = await ce(t, u), a = I(G(o)), i = Ce(a);
1429
1429
  let d = s[i], m = s[a];
1430
1430
  if (c) {
1431
- const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], b = d - g[v];
1432
- d = Te(w, d, b);
1431
+ const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], O = d - g[v];
1432
+ d = Te(w, d, O);
1433
1433
  }
1434
1434
  if (l) {
1435
- const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], b = m - g[v];
1436
- m = Te(w, m, b);
1435
+ const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], O = m - g[v];
1436
+ m = Te(w, m, O);
1437
1437
  }
1438
1438
  const p = f.fn({
1439
1439
  ...t,
@@ -1481,12 +1481,12 @@ const Sn = function(e) {
1481
1481
  ...p
1482
1482
  };
1483
1483
  if (u) {
1484
- const b = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[b] + y.mainAxis, S = c.reference[i] + c.reference[b] - y.mainAxis;
1484
+ const O = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[O] + y.mainAxis, S = c.reference[i] + c.reference[O] - y.mainAxis;
1485
1485
  d < E ? d = E : d > S && (d = S);
1486
1486
  }
1487
1487
  if (s) {
1488
1488
  var v, w;
1489
- const b = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[b] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[b] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
1489
+ const O = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[O] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[O] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
1490
1490
  m < S ? m = S : m > A && (m = A);
1491
1491
  }
1492
1492
  return {
@@ -1516,9 +1516,9 @@ const Sn = function(e) {
1516
1516
  } = c.floating;
1517
1517
  let y, v;
1518
1518
  a === "top" || a === "bottom" ? (y = a, v = i === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = i === "end" ? "top" : "bottom");
1519
- const w = p - g.top - g.bottom, b = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], b), A = !t.middlewareData.shift;
1519
+ const w = p - g.top - g.bottom, O = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], O), A = !t.middlewareData.shift;
1520
1520
  let _ = E, D = S;
1521
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = b), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
1521
+ if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = O), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
1522
1522
  const M = k(g.left, 0), h = k(g.right, 0), x = k(g.top, 0), R = k(g.bottom, 0);
1523
1523
  d ? D = m - 2 * (M !== 0 || h !== 0 ? M + h : k(g.left, g.right)) : _ = p - 2 * (x !== 0 || R !== 0 ? x + R : k(g.top, g.bottom));
1524
1524
  }
@@ -1607,7 +1607,7 @@ function ee(e) {
1607
1607
  function F(e) {
1608
1608
  return $(e).getComputedStyle(e);
1609
1609
  }
1610
- function be(e) {
1610
+ function Oe(e) {
1611
1611
  return U(e) ? {
1612
1612
  scrollLeft: e.scrollLeft,
1613
1613
  scrollTop: e.scrollTop
@@ -1695,8 +1695,8 @@ function Q(e, t, r, n) {
1695
1695
  const i = $(c), d = n && U(n) ? $(n) : n;
1696
1696
  let m = i, p = Pe(m);
1697
1697
  for (; p && n && d !== m; ) {
1698
- const y = Z(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
- u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
1698
+ const y = Z(p), v = p.getBoundingClientRect(), w = F(p), O = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
+ u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += O, s += E, m = $(p), p = Pe(m);
1700
1700
  }
1701
1701
  }
1702
1702
  return he({
@@ -1707,7 +1707,7 @@ function Q(e, t, r, n) {
1707
1707
  });
1708
1708
  }
1709
1709
  function Ve(e, t) {
1710
- const r = be(e).scrollLeft;
1710
+ const r = Oe(e).scrollLeft;
1711
1711
  return t ? t.left + r : Q(B(e)).left + r;
1712
1712
  }
1713
1713
  function at(e, t, r) {
@@ -1736,7 +1736,7 @@ function Cn(e) {
1736
1736
  scrollTop: 0
1737
1737
  }, s = W(1);
1738
1738
  const g = W(0), a = j(n);
1739
- if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
1739
+ if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = Oe(n)), j(n))) {
1740
1740
  const d = Q(n);
1741
1741
  s = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1742
1742
  }
@@ -1752,7 +1752,7 @@ function Dn(e) {
1752
1752
  return Array.from(e.getClientRects());
1753
1753
  }
1754
1754
  function Mn(e) {
1755
- const t = B(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1755
+ const t = B(e), r = Oe(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1756
1756
  let l = -r.scrollLeft + Ve(e);
1757
1757
  const f = -r.scrollTop;
1758
1758
  return F(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
@@ -1858,7 +1858,7 @@ function zn(e, t, r) {
1858
1858
  };
1859
1859
  const u = W(0);
1860
1860
  if (n || !n && !c)
1861
- if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
1861
+ if ((ne(t) !== "body" || le(o)) && (f = Oe(t)), n) {
1862
1862
  const i = Q(t, !0, c, t);
1863
1863
  u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
1864
1864
  } else o && (u.x = Ve(o));
@@ -1946,7 +1946,7 @@ function Wn(e, t) {
1946
1946
  } = s;
1947
1947
  if (f || t(), !i || !d)
1948
1948
  return;
1949
- const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), b = {
1949
+ const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), O = {
1950
1950
  rootMargin: -m + "px " + -p + "px " + -y + "px " + -v + "px",
1951
1951
  threshold: k(0, X(1, u)) || 1
1952
1952
  };
@@ -1964,12 +1964,12 @@ function Wn(e, t) {
1964
1964
  }
1965
1965
  try {
1966
1966
  r = new IntersectionObserver(S, {
1967
- ...b,
1967
+ ...O,
1968
1968
  // Handle <iframe>s
1969
1969
  root: o.ownerDocument
1970
1970
  });
1971
1971
  } catch {
1972
- r = new IntersectionObserver(S, b);
1972
+ r = new IntersectionObserver(S, O);
1973
1973
  }
1974
1974
  r.observe(e);
1975
1975
  }
@@ -1994,8 +1994,8 @@ function jn(e, t, r, n) {
1994
1994
  l && (d = new ResizeObserver((v) => {
1995
1995
  let [w] = v;
1996
1996
  w && w.target === s && d && (d.unobserve(t), cancelAnimationFrame(i), i = requestAnimationFrame(() => {
1997
- var b;
1998
- (b = d) == null || b.observe(t);
1997
+ var O;
1998
+ (O = d) == null || O.observe(t);
1999
1999
  })), r();
2000
2000
  }), s && !u && d.observe(s), d.observe(t));
2001
2001
  let m, p = u ? Q(e) : null;
@@ -2011,7 +2011,7 @@ function jn(e, t, r, n) {
2011
2011
  }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
2012
2012
  };
2013
2013
  }
2014
- const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = bn, Xn = xn, Jn = Rn, Qn = (e, t, r) => {
2014
+ const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = On, Xn = xn, Jn = Rn, Qn = (e, t, r) => {
2015
2015
  const n = /* @__PURE__ */ new Map(), o = {
2016
2016
  platform: In,
2017
2017
  ...r
@@ -2204,9 +2204,9 @@ function mr(e, t, r = {}) {
2204
2204
  s?.(p), g?.({ placed: !0 });
2205
2205
  const y = Nt(t), v = Xe(y, p.x), w = Xe(y, p.y);
2206
2206
  t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2207
- const b = t.firstElementChild;
2208
- if (b) {
2209
- const E = Qe(b);
2207
+ const O = t.firstElementChild;
2208
+ if (O) {
2209
+ const E = Qe(O);
2210
2210
  t.style.setProperty("--z-index", E.zIndex);
2211
2211
  }
2212
2212
  }, i = async () => {
@@ -2284,7 +2284,7 @@ export {
2284
2284
  Ne as c,
2285
2285
  Pr as d,
2286
2286
  Tr as e,
2287
- Or as f,
2287
+ br as f,
2288
2288
  _r as g,
2289
2289
  tn as h,
2290
2290
  qt as i,
@@ -2292,10 +2292,10 @@ export {
2292
2292
  Zt as k,
2293
2293
  Ar as l,
2294
2294
  Sr as m,
2295
- br as n,
2295
+ Or as n,
2296
2296
  an as o,
2297
2297
  ve as r,
2298
2298
  Rr as s,
2299
2299
  Er as u
2300
2300
  };
2301
- //# sourceMappingURL=use-locale-context-BiiNTYMT.js.map
2301
+ //# sourceMappingURL=use-locale-context-BNU4MHrO.js.map