@humain/ui 2.4.1 → 2.4.3

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 (157) hide show
  1. package/dist/index150.js +1 -1
  2. package/dist/index150.js.map +1 -1
  3. package/dist/index194.js +6 -8
  4. package/dist/index194.js.map +1 -1
  5. package/dist/index24.js +1 -1
  6. package/dist/index24.js.map +1 -1
  7. package/dist/styles.css +1 -1
  8. package/dist/wc/AIClarificationCard.js +1 -1
  9. package/dist/wc/AIContainer.js +1 -1
  10. package/dist/wc/AIForm.js +17 -17
  11. package/dist/wc/AIInput.js +32 -32
  12. package/dist/wc/AIInput.js.map +1 -1
  13. package/dist/wc/AIMermaidDiagram.js +1 -1
  14. package/dist/wc/AIMessage.js +1 -1
  15. package/dist/wc/AIScrollButton.js +4 -4
  16. package/dist/wc/AIToolCall.js +5 -5
  17. package/dist/wc/AppSidebar.constants.js +1 -1
  18. package/dist/wc/AvatarFallback.js +5 -5
  19. package/dist/wc/CheckboxIndicator.js +7 -7
  20. package/dist/wc/CollapsiblePanel.js +1 -1
  21. package/dist/wc/DialogTrigger.js +9 -9
  22. package/dist/wc/DropdownMenu.js +16 -16
  23. package/dist/wc/MenuSubmenuTrigger.js +31 -31
  24. package/dist/wc/PopoverDescription.js +30 -30
  25. package/dist/wc/PrehydrationScript.js +1 -1
  26. package/dist/wc/Select.js +18 -18
  27. package/dist/wc/SelectSeparator.js +72 -72
  28. package/dist/wc/SelectSeparator.js.map +1 -1
  29. package/dist/wc/Tabs.js +18 -18
  30. package/dist/wc/TooltipProvider.js +9 -9
  31. package/dist/wc/chart.js +1 -1
  32. package/dist/wc/chunk-75Z2AOVW.js +39 -39
  33. package/dist/wc/chunk-OSK3NFVY.js +32 -32
  34. package/dist/wc/command.js +4 -4
  35. package/dist/wc/form-field.js +1 -1
  36. package/dist/wc/form-fieldset.js +5 -5
  37. package/dist/wc/hf-accordion-card.js +4 -4
  38. package/dist/wc/hf-accordion.js +6 -6
  39. package/dist/wc/hf-ai-feedback-bar.js +5 -5
  40. package/dist/wc/hf-ai-reasoning-block.js +6 -6
  41. package/dist/wc/hf-ai-system-message.js +1 -1
  42. package/dist/wc/hf-ai-tool-run.js +1 -1
  43. package/dist/wc/hf-area-chart.js +15 -15
  44. package/dist/wc/hf-autocomplete.js +36 -36
  45. package/dist/wc/hf-bar-chart.js +4 -4
  46. package/dist/wc/hf-calendar.js +4 -4
  47. package/dist/wc/hf-carousel.js +1 -1
  48. package/dist/wc/hf-context-menu.js +8 -8
  49. package/dist/wc/hf-donut-chart.js +10 -10
  50. package/dist/wc/hf-empty-state.js +87 -88
  51. package/dist/wc/hf-empty-state.js.map +1 -1
  52. package/dist/wc/hf-history.js +4 -4
  53. package/dist/wc/hf-horizontal-bar-chart.js +7 -7
  54. package/dist/wc/hf-hover-card.js +6 -6
  55. package/dist/wc/hf-line-chart.js +4 -4
  56. package/dist/wc/hf-metric-card.js +5 -5
  57. package/dist/wc/hf-metric-item.js +8 -8
  58. package/dist/wc/hf-metric-item.js.map +1 -1
  59. package/dist/wc/hf-nav-account-menu.js +4 -4
  60. package/dist/wc/hf-notification-panel.js +2 -2
  61. package/dist/wc/hf-pie-chart.js +17 -17
  62. package/dist/wc/hf-radar-chart.js +16 -16
  63. package/dist/wc/hf-section-header.js +6 -6
  64. package/dist/wc/hf-sheet.js +1 -1
  65. package/dist/wc/hf-sparkline-chart.js +5 -5
  66. package/dist/wc/hf-steps.js +6 -6
  67. package/dist/wc/journeyDiagram-3NMN7TZE.js +10 -10
  68. package/dist/wc/pieDiagram-E7YTZNPT.js +16 -16
  69. package/dist/wc/popupStateMapping.js +53 -53
  70. package/dist/wc/popupStateMapping.js.map +1 -1
  71. package/dist/wc/selection-group.js +1 -1
  72. package/dist/wc/selection-group.js.map +1 -1
  73. package/dist/wc/{useOpenChangeComplete.js → stateAttributesMapping.js} +21 -21
  74. package/dist/wc/stateAttributesMapping.js.map +1 -0
  75. package/dist/wc/stateDiagram-D77RDMKH.js +3 -3
  76. package/dist/wc/timeline-definition-24CTP7MA.js +19 -19
  77. package/dist/wc/useCollapsiblePanel.js +3 -3
  78. package/dist/wc/usePopupHandleStore.js +4 -4
  79. package/dist/wc/useScrollLock.js +1 -1
  80. package/dist/wc/vendor/recharts.js +525 -524
  81. package/dist/wc/vendor/recharts.js.map +1 -1
  82. package/dist/wc/xychartDiagram-S5SC5T6Z.js +6 -6
  83. package/dist/wc-react/AIClarificationCard.js +1 -1
  84. package/dist/wc-react/AIContainer.js +1 -1
  85. package/dist/wc-react/AIForm.js +17 -17
  86. package/dist/wc-react/AIInput.js +2 -2
  87. package/dist/wc-react/AIInput.js.map +1 -1
  88. package/dist/wc-react/AIMermaidDiagram.js +1 -1
  89. package/dist/wc-react/AIMessage.js +1 -1
  90. package/dist/wc-react/AIScrollButton.js +4 -4
  91. package/dist/wc-react/AIToolCall.js +5 -5
  92. package/dist/wc-react/AppSidebar.constants.js +1 -1
  93. package/dist/wc-react/AvatarFallback.js +5 -5
  94. package/dist/wc-react/CheckboxIndicator.js +7 -7
  95. package/dist/wc-react/CollapsiblePanel.js +1 -1
  96. package/dist/wc-react/DialogTrigger.js +9 -9
  97. package/dist/wc-react/DropdownMenu.js +16 -16
  98. package/dist/wc-react/FloatingPortalLite.js +3 -3
  99. package/dist/wc-react/MenuSubmenuTrigger.js +31 -31
  100. package/dist/wc-react/PopoverDescription.js +31 -31
  101. package/dist/wc-react/PrehydrationScript.js +1 -1
  102. package/dist/wc-react/Select.js +18 -18
  103. package/dist/wc-react/SelectSeparator.js +71 -70
  104. package/dist/wc-react/SelectSeparator.js.map +1 -1
  105. package/dist/wc-react/Tabs.js +18 -18
  106. package/dist/wc-react/TooltipProvider.js +9 -9
  107. package/dist/wc-react/chart.js +1 -1
  108. package/dist/wc-react/chunk-75Z2AOVW.js +39 -39
  109. package/dist/wc-react/chunk-OSK3NFVY.js +32 -32
  110. package/dist/wc-react/command.js +4 -4
  111. package/dist/wc-react/form-field.js +1 -1
  112. package/dist/wc-react/form-fieldset.js +77 -77
  113. package/dist/wc-react/hf-accordion-card.js +4 -4
  114. package/dist/wc-react/hf-accordion.js +6 -6
  115. package/dist/wc-react/hf-ai-feedback-bar.js +5 -5
  116. package/dist/wc-react/hf-ai-reasoning-block.js +6 -6
  117. package/dist/wc-react/hf-ai-system-message.js +1 -1
  118. package/dist/wc-react/hf-ai-tool-run.js +1 -1
  119. package/dist/wc-react/hf-autocomplete.js +37 -37
  120. package/dist/wc-react/hf-calendar.js +4 -4
  121. package/dist/wc-react/hf-carousel.js +1 -1
  122. package/dist/wc-react/hf-context-menu.js +8 -8
  123. package/dist/wc-react/hf-data-table.js +1 -1
  124. package/dist/wc-react/hf-empty-state.js +87 -88
  125. package/dist/wc-react/hf-empty-state.js.map +1 -1
  126. package/dist/wc-react/hf-history.js +4 -4
  127. package/dist/wc-react/hf-hover-card.js +6 -6
  128. package/dist/wc-react/hf-metric-item.js +6 -6
  129. package/dist/wc-react/hf-metric-item.js.map +1 -1
  130. package/dist/wc-react/hf-nav-account-menu.js +4 -4
  131. package/dist/wc-react/hf-notification-panel.js +2 -2
  132. package/dist/wc-react/hf-section-header.js +6 -6
  133. package/dist/wc-react/hf-sheet.js +1 -1
  134. package/dist/wc-react/hf-steps.js +5 -5
  135. package/dist/wc-react/journeyDiagram-3NMN7TZE.js +10 -10
  136. package/dist/wc-react/pieDiagram-E7YTZNPT.js +16 -16
  137. package/dist/wc-react/popupStateMapping.js +54 -54
  138. package/dist/wc-react/popupStateMapping.js.map +1 -1
  139. package/dist/wc-react/selection-group.js +1 -1
  140. package/dist/wc-react/selection-group.js.map +1 -1
  141. package/dist/wc-react/{useOpenChangeComplete.js → stateAttributesMapping.js} +19 -19
  142. package/dist/wc-react/stateAttributesMapping.js.map +1 -0
  143. package/dist/wc-react/stateDiagram-D77RDMKH.js +3 -3
  144. package/dist/wc-react/timeline-definition-24CTP7MA.js +19 -19
  145. package/dist/wc-react/useCollapsiblePanel.js +3 -3
  146. package/dist/wc-react/usePopupHandleStore.js +3 -3
  147. package/dist/wc-react/useScrollLock.js +1 -1
  148. package/dist/wc-react/vendor/recharts.js +525 -524
  149. package/dist/wc-react/vendor/recharts.js.map +1 -1
  150. package/dist/wc-react/xychartDiagram-S5SC5T6Z.js +6 -6
  151. package/package.json +1 -1
  152. package/skills/humain-ui/SKILL.md +1 -1
  153. package/skills/humain-ui-wc/SKILL.md +1 -1
  154. package/skills/humain-ui-wc.skill +0 -0
  155. package/skills/humain-ui.skill +0 -0
  156. package/dist/wc/useOpenChangeComplete.js.map +0 -1
  157. package/dist/wc-react/useOpenChangeComplete.js.map +0 -1
@@ -7,11 +7,11 @@ import { t as B } from "./useBaseUiId.js";
7
7
  import { O as q, R as G, _ as Y, a as z, d as J, f as Q, g as X, h as Z, i as $, j as ee, m as te, n as oe, o as ne, p as se, s as re, t as ae, u as ie, x as le } from "./popupStateMapping.js";
8
8
  import { n as ue, r as pe } from "./shadowDom.js";
9
9
  import { a as ce } from "./composite2.js";
10
- import { t as _ } from "./useButton.js";
11
- import { a as de, t as ge } from "./useOpenChangeComplete.js";
12
- import { a as fe, i as me, n as Se, o as Pe, t as Ce } from "./useScrollLock.js";
10
+ import { a as de, i as ge, n as fe, o as me, t as Se } from "./useScrollLock.js";
11
+ import { n as Pe, r as Ce } from "./stateAttributesMapping.js";
13
12
  import { n as he, r as De, t as Re } from "./store.js";
14
13
  import { t as Oe } from "./usePopupHandleStore.js";
14
+ import { t as _ } from "./useButton.js";
15
15
  import { t as Ie } from "./inertValue.js";
16
16
  var c = /* @__PURE__ */ U(K(), 1), j = /* @__PURE__ */ c.createContext(void 0);
17
17
  function R(e) {
@@ -69,13 +69,13 @@ function be() {
69
69
  }
70
70
  var xe = {
71
71
  ...ae,
72
- ...de,
72
+ ...Pe,
73
73
  nestedDialogOpen(e) {
74
74
  return e ? { "data-nested-dialog-open": "" } : null;
75
75
  }
76
76
  }, I = L(), Je = /* @__PURE__ */ c.forwardRef(function(t, n) {
77
77
  const { render: a, className: d, style: g, finalFocus: i, initialFocus: u, ...s } = t, o = R(), m = o.useState("descriptionElementId"), P = o.useState("disablePointerDismissal"), S = o.useState("floatingRootContext"), p = o.useState("popupProps"), r = o.useState("modal"), f = o.useState("mounted"), C = o.useState("nested"), h = o.useState("nestedOpenDialogCount"), D = o.useState("open"), b = o.useState("openMethod"), l = o.useState("titleElementId"), O = o.useState("transitionStatus"), v = o.useState("role"), T = S.useState("floatingId");
78
- be(), ge({
78
+ be(), Ce({
79
79
  open: D,
80
80
  ref: o.context.popupRef,
81
81
  onComplete() {
@@ -112,7 +112,7 @@ var xe = {
112
112
  ],
113
113
  stateAttributesMapping: xe
114
114
  });
115
- return /* @__PURE__ */ (0, I.jsx)(Pe, {
115
+ return /* @__PURE__ */ (0, I.jsx)(me, {
116
116
  context: S,
117
117
  openInteractionType: b,
118
118
  disabled: !f,
@@ -130,7 +130,7 @@ var xe = {
130
130
  children: /* @__PURE__ */ (0, I.jsxs)(q, {
131
131
  ref: n,
132
132
  ...d,
133
- children: [i && u === !0 && /* @__PURE__ */ (0, I.jsx)(Se, {
133
+ children: [i && u === !0 && /* @__PURE__ */ (0, I.jsx)(fe, {
134
134
  ref: g.context.internalBackdropRef,
135
135
  inert: Ie(!s)
136
136
  }), t.children]
@@ -164,7 +164,7 @@ function Ee({ store: e, parentContext: t, isDrawer: n }) {
164
164
  },
165
165
  escapeKey: S
166
166
  });
167
- return Ce(a && g === !0, i), e.useContextCallback("onNestedDialogOpen", (r, f) => {
167
+ return Se(a && g === !0, i), e.useContextCallback("onNestedDialogOpen", (r, f) => {
168
168
  o(r), P(f);
169
169
  }), V(() => (t?.onNestedDialogOpen && (a ? t.onNestedDialogOpen(s + 1, m + (n ? 1 : 0)) : t.onNestedDialogOpen(0, 0)), () => {
170
170
  t?.onNestedDialogOpen && a && t.onNestedDialogOpen(0, 0);
@@ -286,7 +286,7 @@ var Ze = /* @__PURE__ */ c.forwardRef(function(t, n) {
286
286
  const r = B(s), f = p.useState("floatingRootContext"), C = p.useState("isOpenedByTrigger", r), h = p.useState("triggerPopupId", r), D = c.useRef(null), { registerTrigger: b, isMountedByThisTrigger: l } = Y(r, D, p, { payload: o }), { getButtonProps: O, buttonRef: v } = _({
287
287
  disabled: i,
288
288
  native: u
289
- }), T = fe(f), x = me(() => p.select("open"), (k) => {
289
+ }), T = de(f), x = ge(() => p.select("open"), (k) => {
290
290
  p.set("openMethod", k);
291
291
  }), w = {
292
292
  disabled: i,
@@ -11,14 +11,14 @@ import { r as Ke } from "./createBaseUIEventDetails.js";
11
11
  import { t as We } from "./useBaseUiId.js";
12
12
  import { D as $e, E as Je, H as Ye, I as A, T as Qe, _ as Ve, r as U, w as Xe } from "./popupStateMapping.js";
13
13
  import { n as q } from "./shadowDom.js";
14
- import { i as Ze, t as et } from "./useButton.js";
15
- import { t as tt } from "./CompositeItem.js";
16
14
  import { n as $ } from "./useTimeout.js";
17
- import { n as ot, t as nt } from "./safePolygon.js";
18
- import { a as rt } from "./useScrollLock.js";
19
- import { t as st } from "./usePopupHandleStore.js";
20
- import { t as at } from "./useFocus.js";
21
- import { t as it } from "./getPseudoElementBounds.js";
15
+ import { n as Ze, t as et } from "./safePolygon.js";
16
+ import { a as tt } from "./useScrollLock.js";
17
+ import { t as ot } from "./usePopupHandleStore.js";
18
+ import { t as nt } from "./useFocus.js";
19
+ import { i as rt, t as st } from "./useButton.js";
20
+ import { t as at } from "./getPseudoElementBounds.js";
21
+ import { t as it } from "./CompositeItem.js";
22
22
  import { t as ut } from "./Separator.js";
23
23
  import { t as dt } from "./useTriggerFocusGuards.js";
24
24
  import { t as ct } from "./Kbd.js";
@@ -47,9 +47,9 @@ function Tt(e) {
47
47
  ]);
48
48
  }
49
49
  var t = Oe(), It = Ye(function(o, n) {
50
- const { render: r, className: a, style: i, disabled: f = !1, nativeButton: D = !0, id: N, openOnHover: x, delay: pe = 100, closeDelay: C = 0, handle: le, payload: me, ...fe } = o, ge = gt(!0), s = st(le) ?? ge?.store;
50
+ const { render: r, className: a, style: i, disabled: f = !1, nativeButton: D = !0, id: N, openOnHover: x, delay: pe = 100, closeDelay: C = 0, handle: le, payload: me, ...fe } = o, ge = gt(!0), s = ot(le) ?? ge?.store;
51
51
  if (!s) throw new Error(Ue(85));
52
- const c = We(N), xe = s.useState("isTriggerActive", c), j = s.useState("floatingRootContext"), p = s.useState("isOpenedByTrigger", c), be = s.useState("triggerPopupId", c), v = u.useRef(null), m = Rt(), we = Ze(!0), _ = Je(), h = u.useMemo(() => _ ?? new $e(), [_]), Me = Xe(h), ve = Qe(), { registerTrigger: he, isMountedByThisTrigger: F } = Ve(c, v, s, {
52
+ const c = We(N), xe = s.useState("isTriggerActive", c), j = s.useState("floatingRootContext"), p = s.useState("isOpenedByTrigger", c), be = s.useState("triggerPopupId", c), v = u.useRef(null), m = Rt(), we = rt(!0), _ = Je(), h = u.useMemo(() => _ ?? new $e(), [_]), Me = Xe(h), ve = Qe(), { registerTrigger: he, isMountedByThisTrigger: F } = Ve(c, v, s, {
53
53
  payload: me,
54
54
  closeDelay: C,
55
55
  parent: m,
@@ -57,7 +57,7 @@ var t = Oe(), It = Ye(function(o, n) {
57
57
  floatingNodeId: Me,
58
58
  floatingParentNodeId: ve,
59
59
  keyboardEventRelay: we?.relayKeyboardEvent
60
- }), l = m.type === "menubar", ye = s.useState("disabled"), b = f || ye || l && m.context.disabled, { getButtonProps: De, buttonRef: Ne } = et({
60
+ }), l = m.type === "menubar", ye = s.useState("disabled"), b = f || ye || l && m.context.disabled, { getButtonProps: De, buttonRef: Ne } = st({
61
61
  disabled: b,
62
62
  native: D
63
63
  });
@@ -72,7 +72,7 @@ var t = Oe(), It = Ye(function(o, n) {
72
72
  if (!g.current) return;
73
73
  O.clear(), s.context.allowMouseUpTriggerRef.current = !1;
74
74
  const M = w.target;
75
- q(g.current, M) || q(s.select("positionerElement"), M) || M === g.current || M != null && Y(M) === s.select("rootId") || it(w, g.current) || h.events.emit("close", {
75
+ q(g.current, M) || q(s.select("positionerElement"), M) || M === g.current || M != null && Y(M) === s.select("rootId") || at(w, g.current) || h.events.emit("close", {
76
76
  domEvent: w,
77
77
  reason: Ke
78
78
  });
@@ -84,9 +84,9 @@ var t = Oe(), It = Ye(function(o, n) {
84
84
  T,
85
85
  s
86
86
  ]);
87
- const I = l && m.context.hasSubmenuOpen, je = ot(j, {
87
+ const I = l && m.context.hasSubmenuOpen, je = Ze(j, {
88
88
  enabled: (x ?? I) && !b && (!l || I && !F),
89
- handleClose: nt({ blockPointerEvents: !l }),
89
+ handleClose: et({ blockPointerEvents: !l }),
90
90
  mouseOnly: !0,
91
91
  move: !1,
92
92
  restMs: m.type === void 0 ? pe : void 0,
@@ -95,13 +95,13 @@ var t = Oe(), It = Ye(function(o, n) {
95
95
  externalTree: h,
96
96
  isActiveTrigger: xe,
97
97
  isClosing: () => s.select("transitionStatus") === "ending"
98
- }), Te = St(p, s.select("lastOpenChangeReason")), E = rt(j, {
98
+ }), Te = St(p, s.select("lastOpenChangeReason")), E = tt(j, {
99
99
  enabled: !b,
100
100
  event: p && l ? "click" : "mousedown",
101
101
  toggle: !0,
102
102
  ignoreMouse: !1,
103
103
  stickIfOpen: m.type === void 0 ? Te : !1
104
- }), z = at(j, { enabled: !b && I }), Ie = Tt({
104
+ }), z = nt(j, { enabled: !b && I }), Ie = Tt({
105
105
  open: p,
106
106
  enabled: l,
107
107
  mouseDownAction: "open"
@@ -139,7 +139,7 @@ var t = Oe(), It = Ye(function(o, n) {
139
139
  ref: B,
140
140
  props: G
141
141
  });
142
- return l ? /* @__PURE__ */ (0, t.jsx)(tt, {
142
+ return l ? /* @__PURE__ */ (0, t.jsx)(it, {
143
143
  tag: "button",
144
144
  render: r,
145
145
  className: a,
@@ -11,17 +11,17 @@ import { $ as ut, C as lt, D as ct, N as dt, O as pt, P as ft, R as gt, S as mt,
11
11
  import { t as ve } from "./useCompositeListItem.js";
12
12
  import { t as Nt } from "./CompositeList.js";
13
13
  import { a as At } from "./composite2.js";
14
- import { n as Ft, t as Dt } from "./useButton.js";
15
- import { t as Lt } from "./ToolbarRootContext.js";
16
- import { a as _t, n as jt, o as je, t as Se } from "./useOpenChangeComplete.js";
17
14
  import { n as Pe } from "./useTimeout.js";
18
- import { n as Bt, r as Ut, t as Ht } from "./safePolygon.js";
19
- import { a as Vt, n as Gt, o as Kt, r as Yt } from "./useScrollLock.js";
20
- import { n as Wt, r as qt, t as Xt } from "./usePositioner.js";
21
- import { r as $t, t as Jt } from "./store.js";
22
- import { n as zt, t as Qt } from "./useTypeahead.js";
23
- import { t as Zt } from "./inertValue.js";
24
- import { t as en } from "./useAnchoredPopupScrollLock.js";
15
+ import { n as Ft, r as Dt, t as Lt } from "./safePolygon.js";
16
+ import { a as _t, n as jt, o as Bt, r as Ut } from "./useScrollLock.js";
17
+ import { a as je, i as Ht, n as Vt, r as Se } from "./stateAttributesMapping.js";
18
+ import { n as Gt, r as Kt, t as Yt } from "./usePositioner.js";
19
+ import { r as Wt, t as qt } from "./store.js";
20
+ import { n as Xt, t as $t } from "./useTypeahead.js";
21
+ import { n as Jt, t as zt } from "./useButton.js";
22
+ import { t as Qt } from "./inertValue.js";
23
+ import { t as Zt } from "./useAnchoredPopupScrollLock.js";
24
+ import { t as en } from "./ToolbarRootContext.js";
25
25
  var o = /* @__PURE__ */ Ze(et(), 1), Be = /* @__PURE__ */ o.createContext(void 0);
26
26
  function fe(e) {
27
27
  const n = o.useContext(Be);
@@ -72,7 +72,7 @@ function on(e) {
72
72
  const R = m.initialCursorPointRef.current;
73
73
  if (m.initialCursorPointRef.current = null, h && R && Math.abs(u.clientX - R.x) <= 1 && Math.abs(u.clientY - R.y) <= 1 || h && !it && u.button === 2) return;
74
74
  }
75
- d.current && v.context.allowMouseUpTriggerRef.current && (!h || u.button === 2) && s.type === "regular-item" && Ft(d.current, u, { detail: 1 });
75
+ d.current && v.context.allowMouseUpTriggerRef.current && (!h || u.button === 2) && s.type === "regular-item" && Jt(d.current, u, { detail: 1 });
76
76
  }
77
77
  }), [
78
78
  n,
@@ -91,7 +91,7 @@ function on(e) {
91
91
  }
92
92
  var Te = { type: "regular-item" };
93
93
  function he(e) {
94
- const { closeOnClick: n, disabled: i, highlighted: b, id: P, store: v, typingRef: f = v.context.typingRef, nativeButton: d, itemMetadata: s, nodeId: c } = e, g = o.useRef(null), { getButtonProps: m, buttonRef: h } = Dt({
94
+ const { closeOnClick: n, disabled: i, highlighted: b, id: P, store: v, typingRef: f = v.context.typingRef, nativeButton: d, itemMetadata: s, nodeId: c } = e, g = o.useRef(null), { getButtonProps: m, buttonRef: h } = zt({
95
95
  disabled: i,
96
96
  focusableWhenDisabled: !0,
97
97
  native: d,
@@ -123,7 +123,7 @@ var Fe = /* @__PURE__ */ (function(e) {
123
123
  checked(e) {
124
124
  return e ? { [Fe.checked]: "" } : { [Fe.unchecked]: "" };
125
125
  },
126
- ..._t
126
+ ...Vt
127
127
  }, L = tt(), $n = /* @__PURE__ */ o.forwardRef(function(n, i) {
128
128
  const { render: b, className: P, id: v, label: f, nativeButton: d = !1, disabled: s = !1, closeOnClick: c = !1, checked: g, defaultChecked: m, onCheckedChange: h, style: u, ...R } = n, y = ve({
129
129
  guess: !0,
@@ -265,7 +265,7 @@ var zn = /* @__PURE__ */ o.forwardRef(function(n, i) {
265
265
  ]
266
266
  });
267
267
  }), eo = /* @__PURE__ */ o.forwardRef(function(n, i) {
268
- const { render: b, className: P, style: v, finalFocus: f, ...d } = n, { store: s } = Q(), { side: c, align: g } = fe(), m = Lt(!0) != null, h = s.useState("open"), u = s.useState("transitionStatus"), R = s.useState("popupProps"), y = s.useState("mounted"), I = s.useState("instantType"), a = s.useState("activeTriggerElement"), l = s.useState("parent"), r = s.useState("lastOpenChangeReason"), T = s.useState("rootId"), k = s.useState("floatingRootContext"), t = s.useState("floatingTreeRoot"), w = s.useState("closeDelay"), C = s.useState("hoverEnabled"), F = s.useState("disabled"), M = s.useState("openMethod"), x = l.type === "context-menu";
268
+ const { render: b, className: P, style: v, finalFocus: f, ...d } = n, { store: s } = Q(), { side: c, align: g } = fe(), m = en(!0) != null, h = s.useState("open"), u = s.useState("transitionStatus"), R = s.useState("popupProps"), y = s.useState("mounted"), I = s.useState("instantType"), a = s.useState("activeTriggerElement"), l = s.useState("parent"), r = s.useState("lastOpenChangeReason"), T = s.useState("rootId"), k = s.useState("floatingRootContext"), t = s.useState("floatingTreeRoot"), w = s.useState("closeDelay"), C = s.useState("hoverEnabled"), F = s.useState("disabled"), M = s.useState("openMethod"), x = l.type === "context-menu";
269
269
  Se({
270
270
  open: h,
271
271
  ref: s.context.popupRef,
@@ -279,7 +279,7 @@ var zn = /* @__PURE__ */ o.forwardRef(function(n, i) {
279
279
  return t.events.on("close", A), () => {
280
280
  t.events.off("close", A);
281
281
  };
282
- }, [t.events, s]), Ut(k, {
282
+ }, [t.events, s]), Dt(k, {
283
283
  enabled: C && !F && !x && l.type !== "menubar",
284
284
  closeDelay: w
285
285
  });
@@ -303,13 +303,13 @@ var zn = /* @__PURE__ */ o.forwardRef(function(n, i) {
303
303
  { onKeyDown(A) {
304
304
  m && At.has(A.key) && A.stopPropagation();
305
305
  } },
306
- Wt(u),
306
+ Gt(u),
307
307
  d,
308
308
  { "data-rootownerid": T }
309
309
  ]
310
310
  });
311
311
  let B = l.type === void 0 || x;
312
- return (a || l.type === "menubar" && r !== "outside-press") && (B = !0), /* @__PURE__ */ (0, L.jsx)(Kt, {
312
+ return (a || l.type === "menubar" && r !== "outside-press") && (B = !0), /* @__PURE__ */ (0, L.jsx)(Bt, {
313
313
  context: k,
314
314
  openInteractionType: M,
315
315
  modal: x,
@@ -339,12 +339,12 @@ var to = /* @__PURE__ */ o.forwardRef(function(n, i) {
339
339
  })
340
340
  }) : null;
341
341
  }), no = /* @__PURE__ */ o.forwardRef(function(n, i) {
342
- const { anchor: b, positionMethod: P = "absolute", className: v, render: f, side: d, align: s, sideOffset: c = 0, alignOffset: g = 0, collisionBoundary: m = "clipping-ancestors", collisionPadding: h = 5, arrowPadding: u = 5, sticky: R = !1, disableAnchorTracking: y = !1, collisionAvoidance: I = dt, style: a, ...l } = n, { store: r } = Q(), T = rn(), k = Ee(!0), t = r.useState("parent"), w = r.useState("floatingRootContext"), C = r.useState("floatingTreeRoot"), F = r.useState("mounted"), M = r.useState("open"), x = r.useState("modal"), E = r.useState("openMethod"), N = r.useState("activeTriggerElement"), j = r.useState("transitionStatus"), B = r.useState("positionerElement"), A = r.useState("instantType"), Z = r.useState("adaptiveOrigin"), S = r.useState("lastOpenChangeReason"), H = r.useState("floatingNodeId"), ue = r.useState("floatingParentNodeId"), le = w.useState("domReferenceElement"), ee = o.useRef(null), $ = jt(B);
342
+ const { anchor: b, positionMethod: P = "absolute", className: v, render: f, side: d, align: s, sideOffset: c = 0, alignOffset: g = 0, collisionBoundary: m = "clipping-ancestors", collisionPadding: h = 5, arrowPadding: u = 5, sticky: R = !1, disableAnchorTracking: y = !1, collisionAvoidance: I = dt, style: a, ...l } = n, { store: r } = Q(), T = rn(), k = Ee(!0), t = r.useState("parent"), w = r.useState("floatingRootContext"), C = r.useState("floatingTreeRoot"), F = r.useState("mounted"), M = r.useState("open"), x = r.useState("modal"), E = r.useState("openMethod"), N = r.useState("activeTriggerElement"), j = r.useState("transitionStatus"), B = r.useState("positionerElement"), A = r.useState("instantType"), Z = r.useState("adaptiveOrigin"), S = r.useState("lastOpenChangeReason"), H = r.useState("floatingNodeId"), ue = r.useState("floatingParentNodeId"), le = w.useState("domReferenceElement"), ee = o.useRef(null), $ = Ht(B);
343
343
  let te = b, J = c, ae = g, ne = s, V = I;
344
344
  t.type === "context-menu" && (te = b ?? t.context?.anchor, ne = ne ?? "start", !d && ne !== "center" && (ae = n.alignOffset ?? 2, J = n.sideOffset ?? -5));
345
345
  let G = d, oe = ne;
346
346
  t.type === "menu" ? (G = G ?? "inline-end", oe = oe ?? "start", V = n.collisionAvoidance ?? ft) : t.type === "menubar" && (G = G ?? (t.context.orientation === "vertical" ? "inline-end" : "bottom"), oe = oe ?? "start");
347
- const se = t.type === "context-menu", K = qt({
347
+ const se = t.type === "context-menu", K = Kt({
348
348
  anchor: te,
349
349
  floatingRootContext: w,
350
350
  positionMethod: k ? "fixed" : P,
@@ -450,8 +450,8 @@ var to = /* @__PURE__ */ o.forwardRef(function(n, i) {
450
450
  nested: t.type === "menu",
451
451
  instant: A
452
452
  }, ce = t.type === "menubar" && t.context.modal;
453
- en(M && (ce || x && S !== "trigger-hover"), E === "touch", B, N);
454
- const be = Xt(n, ge, {
453
+ Zt(M && (ce || x && S !== "trigger-hover"), E === "touch", B, N);
454
+ const be = Yt(n, ge, {
455
455
  styles: K.positionerStyles,
456
456
  transitionStatus: j,
457
457
  props: l,
@@ -462,9 +462,9 @@ var to = /* @__PURE__ */ o.forwardRef(function(n, i) {
462
462
  let Y = null;
463
463
  return t.type === "menubar" ? Y = t.context.contentElement : t.type === void 0 && (Y = N), /* @__PURE__ */ (0, L.jsxs)(Be.Provider, {
464
464
  value: K,
465
- children: [Ce && /* @__PURE__ */ (0, L.jsx)(Gt, {
465
+ children: [Ce && /* @__PURE__ */ (0, L.jsx)(jt, {
466
466
  ref: t.type === "context-menu" || t.type === "nested-context-menu" ? t.context.internalBackdropRef : null,
467
- inert: Zt(!M),
467
+ inert: Qt(!M),
468
468
  cutout: Y
469
469
  }), /* @__PURE__ */ (0, L.jsx)(mt, {
470
470
  id: H,
@@ -600,7 +600,7 @@ function cn(e) {
600
600
  return n;
601
601
  }
602
602
  var dn = {
603
- ...$t,
603
+ ...Wt,
604
604
  disabled: (e) => e.parent.type === "menubar" && e.parent.context.disabled || e.disabled,
605
605
  modal: (e) => (e.parent.type === void 0 || e.parent.type === "context-menu") && (e.modal ?? !0),
606
606
  openMethod: (e) => e.openMethod,
@@ -664,7 +664,7 @@ function fn() {
664
664
  }
665
665
  function gn() {
666
666
  return {
667
- ...Jt(),
667
+ ...qt(),
668
668
  disabled: !1,
669
669
  modal: !0,
670
670
  openMethod: null,
@@ -712,7 +712,7 @@ var mn = ht(function(n) {
712
712
  parent: k
713
713
  });
714
714
  t.useControlledProp("openProp", b), t.useControlledProp("triggerIdProp", R), t.useContextCallback("onOpenChangeComplete", v);
715
- const w = Ae(), C = Ae(), F = t.useState("floatingTreeRoot"), M = Ot(F), x = vt(), E = t.useState("open"), N = t.useState("activeTriggerElement"), j = t.useState("positionerElement"), B = t.useState("hoverEnabled"), A = t.useState("disabled"), Z = t.useState("lastOpenChangeReason"), S = t.useState("parent"), H = t.useState("activeIndex"), ue = t.useState("payload"), le = t.useState("floatingParentNodeId"), ee = o.useRef(null), $ = o.useRef(S.type !== "context-menu"), te = Pe(), J = o.useRef(!0), ae = Pe(), ne = le != null, { openMethod: V, triggerProps: G } = Yt(E);
715
+ const w = Ae(), C = Ae(), F = t.useState("floatingTreeRoot"), M = Ot(F), x = vt(), E = t.useState("open"), N = t.useState("activeTriggerElement"), j = t.useState("positionerElement"), B = t.useState("hoverEnabled"), A = t.useState("disabled"), Z = t.useState("lastOpenChangeReason"), S = t.useState("parent"), H = t.useState("activeIndex"), ue = t.useState("payload"), le = t.useState("floatingParentNodeId"), ee = o.useRef(null), $ = o.useRef(S.type !== "context-menu"), te = Pe(), J = o.useRef(!0), ae = Pe(), ne = le != null, { openMethod: V, triggerProps: G } = Ut(E);
716
716
  t.useSyncedValues({
717
717
  disabled: d,
718
718
  highlightItemOnHover: I,
@@ -808,7 +808,7 @@ var mn = ht(function(n) {
808
808
  externalTree: ne ? F : void 0
809
809
  }), be = nt(), Ce = o.useCallback((p) => {
810
810
  t.select("activeIndex") !== p && t.set("activeIndex", p);
811
- }, [t]), Y = zt(K, {
811
+ }, [t]), Y = Xt(K, {
812
812
  enabled: !A,
813
813
  listRef: t.context.itemDomElements,
814
814
  activeIndex: H,
@@ -824,7 +824,7 @@ var mn = ht(function(n) {
824
824
  focusItemOnHover: I
825
825
  }), D = o.useCallback((p) => {
826
826
  t.context.typingRef.current = p;
827
- }, [t]), O = Qt(K, {
827
+ }, [t]), O = $t(K, {
828
828
  enabled: !A,
829
829
  listRef: t.context.itemLabels,
830
830
  elementsRef: t.context.itemDomElements,
@@ -945,9 +945,9 @@ var hn = { "aria-expanded": void 0 }, io = /* @__PURE__ */ o.forwardRef(function
945
945
  nativeButton: s,
946
946
  itemMetadata: Z,
947
947
  nodeId: I?.context.nodeId
948
- }), ue = a.useState("hoverEnabled"), le = Bt(T, {
948
+ }), ue = a.useState("hoverEnabled"), le = Ft(T, {
949
949
  enabled: ue && c && !j,
950
- handleClose: Ht({ blockPointerEvents: !0 }),
950
+ handleClose: Lt({ blockPointerEvents: !0 }),
951
951
  mouseOnly: !0,
952
952
  move: !0,
953
953
  restMs: g,
@@ -960,7 +960,7 @@ var hn = { "aria-expanded": void 0 }, io = /* @__PURE__ */ o.forwardRef(function
960
960
  externalTree: k,
961
961
  isClosing: () => a.select("transitionStatus") === "ending",
962
962
  guardStaleOpen: !0
963
- }), ee = Vt(T, {
963
+ }), ee = _t(T, {
964
964
  enabled: !j,
965
965
  event: "mousedown",
966
966
  toggle: !c,
@@ -7,17 +7,17 @@ import { l as ce, t as ue, w as pe } from "./createBaseUIEventDetails.js";
7
7
  import { t as Y } from "./useBaseUiId.js";
8
8
  import { C as le, I as Q, O as de, P as ge, R as fe, S as me, _ as Pe, a as he, d as ve, f as Ce, g as Se, h as Te, i as xe, j as Ie, l as Re, m as ye, n as Oe, o as Ee, p as Me, r as Fe, s as be, u as ke, w as we, x as je } from "./popupStateMapping.js";
9
9
  import { a as _e } from "./composite2.js";
10
- import { t as Ae } from "./useButton.js";
11
- import { t as He } from "./ToolbarRootContext.js";
12
- import { n as Be, t as Ne } from "./useOpenChangeComplete.js";
13
- import { t as Ge } from "./useTimeout.js";
14
- import { n as Le, r as Ue, t as Ve } from "./safePolygon.js";
15
- import { a as Ke, i as qe, n as De, o as We } from "./useScrollLock.js";
16
- import { n as Ye, r as ze, t as Je } from "./usePositioner.js";
17
- import { n as Qe, r as Xe, t as Ze } from "./store.js";
18
- import { t as $e } from "./usePopupHandleStore.js";
19
- import { t as et } from "./inertValue.js";
20
- import { t as tt } from "./useAnchoredPopupScrollLock.js";
10
+ import { t as Ae } from "./useTimeout.js";
11
+ import { n as He, r as Be, t as Ne } from "./safePolygon.js";
12
+ import { a as Ge, i as Le, n as Ue, o as Ve } from "./useScrollLock.js";
13
+ import { i as Ke, r as qe } from "./stateAttributesMapping.js";
14
+ import { n as De, r as We, t as Ye } from "./usePositioner.js";
15
+ import { n as ze, r as Je, t as Qe } from "./store.js";
16
+ import { t as Xe } from "./usePopupHandleStore.js";
17
+ import { t as Ze } from "./useButton.js";
18
+ import { t as $e } from "./inertValue.js";
19
+ import { t as et } from "./useAnchoredPopupScrollLock.js";
20
+ import { t as tt } from "./ToolbarRootContext.js";
21
21
  import { t as ot } from "./useTriggerFocusGuards.js";
22
22
  var a = /* @__PURE__ */ Z(oe(), 1), $ = /* @__PURE__ */ a.createContext(void 0);
23
23
  function E(e) {
@@ -26,7 +26,7 @@ function E(e) {
26
26
  return t;
27
27
  }
28
28
  var nt = /* @__PURE__ */ Z(ne(), 1), st = {
29
- ...Xe,
29
+ ...Je,
30
30
  disabled: (e) => e.disabled,
31
31
  instantType: (e) => e.instantType,
32
32
  openMethod: (e) => e.openMethod,
@@ -64,7 +64,7 @@ var nt = /* @__PURE__ */ Z(ne(), 1), st = {
64
64
  };
65
65
  function at(e, t, n, r = !1) {
66
66
  const c = {
67
- ...Ze(),
67
+ ...Qe(),
68
68
  disabled: !1,
69
69
  modal: !1,
70
70
  focusManagerModal: !1,
@@ -79,7 +79,7 @@ function at(e, t, n, r = !1) {
79
79
  adaptiveOrigin: void 0,
80
80
  ...e
81
81
  };
82
- return c.open && e?.mounted === void 0 && (c.mounted = !0), c.floatingRootContext = Qe(t, n, r), c;
82
+ return c.open && e?.mounted === void 0 && (c.mounted = !0), c.floatingRootContext = ze(t, n, r), c;
83
83
  }
84
84
  function it(e) {
85
85
  return {
@@ -88,7 +88,7 @@ function it(e) {
88
88
  onOpenChangeComplete: void 0,
89
89
  triggerFocusTargetRef: /* @__PURE__ */ a.createRef(),
90
90
  beforeContentFocusGuardRef: /* @__PURE__ */ a.createRef(),
91
- stickIfOpenTimeout: new Ge(),
91
+ stickIfOpenTimeout: new Ae(),
92
92
  triggerElements: e
93
93
  };
94
94
  }
@@ -151,26 +151,26 @@ function ut({ store: e, modal: t }) {
151
151
  }), null;
152
152
  }
153
153
  var Lt = /* @__PURE__ */ a.forwardRef(function(t, n) {
154
- const { render: r, className: c, style: P, disabled: i = !1, nativeButton: g = !0, handle: l, payload: o, openOnHover: s = !1, delay: f = 300, closeDelay: x = 0, id: R, ...h } = t, y = E(!0), u = $e(l) ?? y;
154
+ const { render: r, className: c, style: P, disabled: i = !1, nativeButton: g = !0, handle: l, payload: o, openOnHover: s = !1, delay: f = 300, closeDelay: x = 0, id: R, ...h } = t, y = E(!0), u = Xe(l) ?? y;
155
155
  if (!u) throw new Error(K(74));
156
156
  const m = Y(R), A = u.useState("isTriggerActive", m), p = u.useState("floatingRootContext"), M = u.useState("isOpenedByTrigger", m), F = u.useState("triggerPopupId", m), T = a.useRef(null), { registerTrigger: O, isMountedByThisTrigger: v } = Pe(m, T, u, {
157
157
  payload: o,
158
158
  disabled: i,
159
159
  openOnHover: s,
160
160
  closeDelay: x
161
- }), I = u.useState("openChangeReason"), b = u.useState("stickIfOpen"), H = u.useState("openMethod"), B = u.useState("focusManagerModal"), k = Le(p, {
161
+ }), I = u.useState("openChangeReason"), b = u.useState("stickIfOpen"), H = u.useState("openMethod"), B = u.useState("focusManagerModal"), k = He(p, {
162
162
  enabled: !i && s && (H !== "touch" || I !== "trigger-press"),
163
163
  mouseOnly: !0,
164
164
  move: !1,
165
- handleClose: Ve(),
165
+ handleClose: Ne(),
166
166
  restMs: f,
167
167
  delay: { close: x },
168
168
  triggerElementRef: T,
169
169
  isActiveTrigger: A,
170
170
  isClosing: () => u.select("transitionStatus") === "ending"
171
- }), N = Ke(p, { stickIfOpen: b }), w = qe(() => u.select("open"), (S) => {
171
+ }), N = Ge(p, { stickIfOpen: b }), w = Le(() => u.select("open"), (S) => {
172
172
  u.set("openMethod", S);
173
- }), G = u.useState("triggerProps", v), { getButtonProps: j, buttonRef: _ } = Ae({
173
+ }), G = u.useState("triggerProps", v), { getButtonProps: j, buttonRef: _ } = Ze({
174
174
  disabled: i,
175
175
  native: g
176
176
  }), C = { open(S) {
@@ -236,7 +236,7 @@ function lt() {
236
236
  return e;
237
237
  }
238
238
  var Vt = /* @__PURE__ */ a.forwardRef(function(t, n) {
239
- const { render: r, className: c, style: P, anchor: i, positionMethod: g, side: l, align: o, sideOffset: s, alignOffset: f, collisionBoundary: x = "clipping-ancestors", collisionPadding: R, arrowPadding: h, sticky: y, disableAnchorTracking: u = !1, collisionAvoidance: m = ge, ...A } = t, p = E(), M = pt(), F = we(), T = p.useState("floatingRootContext"), O = p.useState("mounted"), v = p.useState("open"), I = p.useState("openChangeReason"), b = p.useState("activeTriggerElement"), H = p.useState("modal"), B = p.useState("openMethod"), k = p.useState("positionerElement"), N = p.useState("instantType"), w = p.useState("transitionStatus"), G = p.useState("adaptiveOrigin"), j = a.useRef(null), _ = Be(k), C = ze({
239
+ const { render: r, className: c, style: P, anchor: i, positionMethod: g, side: l, align: o, sideOffset: s, alignOffset: f, collisionBoundary: x = "clipping-ancestors", collisionPadding: R, arrowPadding: h, sticky: y, disableAnchorTracking: u = !1, collisionAvoidance: m = ge, ...A } = t, p = E(), M = pt(), F = we(), T = p.useState("floatingRootContext"), O = p.useState("mounted"), v = p.useState("open"), I = p.useState("openChangeReason"), b = p.useState("activeTriggerElement"), H = p.useState("modal"), B = p.useState("openMethod"), k = p.useState("positionerElement"), N = p.useState("instantType"), w = p.useState("transitionStatus"), G = p.useState("adaptiveOrigin"), j = a.useRef(null), _ = Ke(k), C = We({
240
240
  anchor: i,
241
241
  floatingRootContext: T,
242
242
  positionMethod: g,
@@ -272,14 +272,14 @@ var Vt = /* @__PURE__ */ a.forwardRef(function(t, n) {
272
272
  p
273
273
  ]);
274
274
  const U = H === !0 && I !== "trigger-hover";
275
- tt(v && U, B === "touch", k, b);
275
+ et(v && U, B === "touch", k, b);
276
276
  const D = p.useStateSetter("positionerElement"), W = {
277
277
  open: v,
278
278
  side: C.side,
279
279
  align: C.align,
280
280
  anchorHidden: C.anchorHidden,
281
281
  instant: N
282
- }, V = Je(t, W, {
282
+ }, V = Ye(t, W, {
283
283
  styles: C.positionerStyles,
284
284
  transitionStatus: w,
285
285
  props: A,
@@ -289,8 +289,8 @@ var Vt = /* @__PURE__ */ a.forwardRef(function(t, n) {
289
289
  });
290
290
  return /* @__PURE__ */ (0, d.jsxs)(te.Provider, {
291
291
  value: C,
292
- children: [O && U && /* @__PURE__ */ (0, d.jsx)(De, {
293
- inert: et(!v),
292
+ children: [O && U && /* @__PURE__ */ (0, d.jsx)(Ue, {
293
+ inert: $e(!v),
294
294
  cutout: b
295
295
  }), /* @__PURE__ */ (0, d.jsx)(me, {
296
296
  id: F,
@@ -308,14 +308,14 @@ function gt() {
308
308
  };
309
309
  }
310
310
  var Kt = /* @__PURE__ */ a.forwardRef(function(t, n) {
311
- const { render: r, className: c, style: P, initialFocus: i, finalFocus: g, ...l } = t, o = E(), s = lt(), f = He(!0) != null, { context: x, hasClosePart: R } = gt(), h = o.useState("open"), y = o.useState("openMethod"), u = o.useState("instantType"), m = o.useState("transitionStatus"), A = o.useState("popupProps"), p = o.useState("titleElementId"), M = o.useState("descriptionElementId"), F = o.useState("modal"), T = o.useState("mounted"), O = o.useState("openChangeReason"), v = o.useState("activeTriggerElement"), I = o.useState("floatingRootContext"), b = I.useState("floatingId"), H = o.useState("disabled"), B = o.useState("openOnHover"), k = o.useState("closeDelay");
312
- Ne({
311
+ const { render: r, className: c, style: P, initialFocus: i, finalFocus: g, ...l } = t, o = E(), s = lt(), f = tt(!0) != null, { context: x, hasClosePart: R } = gt(), h = o.useState("open"), y = o.useState("openMethod"), u = o.useState("instantType"), m = o.useState("transitionStatus"), A = o.useState("popupProps"), p = o.useState("titleElementId"), M = o.useState("descriptionElementId"), F = o.useState("modal"), T = o.useState("mounted"), O = o.useState("openChangeReason"), v = o.useState("activeTriggerElement"), I = o.useState("floatingRootContext"), b = I.useState("floatingId"), H = o.useState("disabled"), B = o.useState("openOnHover"), k = o.useState("closeDelay");
312
+ qe({
313
313
  open: h,
314
314
  ref: o.context.popupRef,
315
315
  onComplete() {
316
316
  h && o.context.onOpenChangeComplete?.(!0);
317
317
  }
318
- }), Ue(I, {
318
+ }), Be(I, {
319
319
  enabled: B && !H,
320
320
  closeDelay: k
321
321
  });
@@ -346,12 +346,12 @@ var Kt = /* @__PURE__ */ a.forwardRef(function(t, n) {
346
346
  f && _e.has(C.key) && C.stopPropagation();
347
347
  }
348
348
  },
349
- Ye(m),
349
+ De(m),
350
350
  l
351
351
  ],
352
352
  stateAttributesMapping: Oe
353
353
  });
354
- return /* @__PURE__ */ (0, d.jsx)(We, {
354
+ return /* @__PURE__ */ (0, d.jsx)(Ve, {
355
355
  context: I,
356
356
  openInteractionType: y,
357
357
  modal: w,
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./vendor/react.js";
2
- import { at as s } from "./vendor/recharts.js";
2
+ import { Ot as s } from "./vendor/recharts.js";
3
3
  import { u as i } from "./useRenderElement.js";
4
4
  import { t as o } from "./CSPContext.js";
5
5
  var u = s();