@humain/ui 2.4.2 → 2.4.4

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 (159) hide show
  1. package/dist/index194.js +6 -8
  2. package/dist/index194.js.map +1 -1
  3. package/dist/index225.js +1 -1
  4. package/dist/index225.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 +1 -1
  12. package/dist/wc/AIMermaidDiagram.js +1 -1
  13. package/dist/wc/AIMessage.js +1 -1
  14. package/dist/wc/AIScrollButton.js +4 -4
  15. package/dist/wc/AIToolCall.js +5 -5
  16. package/dist/wc/AppSidebar.constants.js +1 -1
  17. package/dist/wc/AvatarFallback.js +5 -5
  18. package/dist/wc/CheckboxIndicator.js +7 -7
  19. package/dist/wc/CollapsiblePanel.js +1 -1
  20. package/dist/wc/DialogTrigger.js +9 -9
  21. package/dist/wc/DropdownMenu.js +16 -16
  22. package/dist/wc/MenuSubmenuTrigger.js +31 -31
  23. package/dist/wc/PopoverDescription.js +30 -30
  24. package/dist/wc/PrehydrationScript.js +1 -1
  25. package/dist/wc/Select.js +18 -18
  26. package/dist/wc/SelectSeparator.js +72 -72
  27. package/dist/wc/SelectSeparator.js.map +1 -1
  28. package/dist/wc/Tabs.js +18 -18
  29. package/dist/wc/TooltipProvider.js +9 -9
  30. package/dist/wc/chart.js +1 -1
  31. package/dist/wc/chunk-75Z2AOVW.js +39 -39
  32. package/dist/wc/chunk-OSK3NFVY.js +32 -32
  33. package/dist/wc/command.js +4 -4
  34. package/dist/wc/form-field.js +1 -1
  35. package/dist/wc/form-fieldset.js +5 -5
  36. package/dist/wc/hf-accordion-card.js +4 -4
  37. package/dist/wc/hf-accordion.js +6 -6
  38. package/dist/wc/hf-ai-feedback-bar.js +5 -5
  39. package/dist/wc/hf-ai-reasoning-block.js +6 -6
  40. package/dist/wc/hf-ai-system-message.js +1 -1
  41. package/dist/wc/hf-ai-tool-run.js +1 -1
  42. package/dist/wc/hf-app-sidebar.js +1 -1
  43. package/dist/wc/hf-app-sidebar.js.map +1 -1
  44. package/dist/wc/hf-area-chart.js +15 -15
  45. package/dist/wc/hf-autocomplete.js +36 -36
  46. package/dist/wc/hf-bar-chart.js +4 -4
  47. package/dist/wc/hf-calendar.js +4 -4
  48. package/dist/wc/hf-carousel.js +1 -1
  49. package/dist/wc/hf-context-menu.js +8 -8
  50. package/dist/wc/hf-donut-chart.js +10 -10
  51. package/dist/wc/hf-empty-state.js +87 -88
  52. package/dist/wc/hf-empty-state.js.map +1 -1
  53. package/dist/wc/hf-history.js +4 -4
  54. package/dist/wc/hf-horizontal-bar-chart.js +7 -7
  55. package/dist/wc/hf-hover-card.js +6 -6
  56. package/dist/wc/hf-line-chart.js +4 -4
  57. package/dist/wc/hf-metric-card.js +5 -5
  58. package/dist/wc/hf-metric-item.js +8 -8
  59. package/dist/wc/hf-metric-item.js.map +1 -1
  60. package/dist/wc/hf-nav-account-menu.js +4 -4
  61. package/dist/wc/hf-notification-panel.js +2 -2
  62. package/dist/wc/hf-pie-chart.js +17 -17
  63. package/dist/wc/hf-radar-chart.js +16 -16
  64. package/dist/wc/hf-section-header.js +6 -6
  65. package/dist/wc/hf-sheet.js +1 -1
  66. package/dist/wc/hf-sparkline-chart.js +5 -5
  67. package/dist/wc/hf-steps.js +6 -6
  68. package/dist/wc/journeyDiagram-3NMN7TZE.js +10 -10
  69. package/dist/wc/pieDiagram-E7YTZNPT.js +16 -16
  70. package/dist/wc/popupStateMapping.js +53 -53
  71. package/dist/wc/popupStateMapping.js.map +1 -1
  72. package/dist/wc/selection-group.js +1 -1
  73. package/dist/wc/selection-group.js.map +1 -1
  74. package/dist/wc/{useOpenChangeComplete.js → stateAttributesMapping.js} +21 -21
  75. package/dist/wc/stateAttributesMapping.js.map +1 -0
  76. package/dist/wc/stateDiagram-D77RDMKH.js +3 -3
  77. package/dist/wc/timeline-definition-24CTP7MA.js +19 -19
  78. package/dist/wc/useCollapsiblePanel.js +3 -3
  79. package/dist/wc/usePopupHandleStore.js +4 -4
  80. package/dist/wc/useScrollLock.js +1 -1
  81. package/dist/wc/vendor/recharts.js +525 -524
  82. package/dist/wc/vendor/recharts.js.map +1 -1
  83. package/dist/wc/xychartDiagram-S5SC5T6Z.js +6 -6
  84. package/dist/wc-react/AIClarificationCard.js +1 -1
  85. package/dist/wc-react/AIContainer.js +1 -1
  86. package/dist/wc-react/AIForm.js +17 -17
  87. package/dist/wc-react/AIInput.js +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-app-sidebar.js +1 -1
  120. package/dist/wc-react/hf-app-sidebar.js.map +1 -1
  121. package/dist/wc-react/hf-autocomplete.js +37 -37
  122. package/dist/wc-react/hf-calendar.js +4 -4
  123. package/dist/wc-react/hf-carousel.js +1 -1
  124. package/dist/wc-react/hf-context-menu.js +8 -8
  125. package/dist/wc-react/hf-data-table.js +1 -1
  126. package/dist/wc-react/hf-empty-state.js +87 -88
  127. package/dist/wc-react/hf-empty-state.js.map +1 -1
  128. package/dist/wc-react/hf-history.js +4 -4
  129. package/dist/wc-react/hf-hover-card.js +6 -6
  130. package/dist/wc-react/hf-metric-item.js +6 -6
  131. package/dist/wc-react/hf-metric-item.js.map +1 -1
  132. package/dist/wc-react/hf-nav-account-menu.js +4 -4
  133. package/dist/wc-react/hf-notification-panel.js +2 -2
  134. package/dist/wc-react/hf-section-header.js +6 -6
  135. package/dist/wc-react/hf-sheet.js +1 -1
  136. package/dist/wc-react/hf-steps.js +5 -5
  137. package/dist/wc-react/journeyDiagram-3NMN7TZE.js +10 -10
  138. package/dist/wc-react/pieDiagram-E7YTZNPT.js +16 -16
  139. package/dist/wc-react/popupStateMapping.js +54 -54
  140. package/dist/wc-react/popupStateMapping.js.map +1 -1
  141. package/dist/wc-react/selection-group.js +1 -1
  142. package/dist/wc-react/selection-group.js.map +1 -1
  143. package/dist/wc-react/{useOpenChangeComplete.js → stateAttributesMapping.js} +19 -19
  144. package/dist/wc-react/stateAttributesMapping.js.map +1 -0
  145. package/dist/wc-react/stateDiagram-D77RDMKH.js +3 -3
  146. package/dist/wc-react/timeline-definition-24CTP7MA.js +19 -19
  147. package/dist/wc-react/useCollapsiblePanel.js +3 -3
  148. package/dist/wc-react/usePopupHandleStore.js +3 -3
  149. package/dist/wc-react/useScrollLock.js +1 -1
  150. package/dist/wc-react/vendor/recharts.js +525 -524
  151. package/dist/wc-react/vendor/recharts.js.map +1 -1
  152. package/dist/wc-react/xychartDiagram-S5SC5T6Z.js +6 -6
  153. package/package.json +1 -1
  154. package/skills/humain-ui/SKILL.md +1 -1
  155. package/skills/humain-ui-wc/SKILL.md +1 -1
  156. package/skills/humain-ui-wc.skill +0 -0
  157. package/skills/humain-ui.skill +0 -0
  158. package/dist/wc/useOpenChangeComplete.js.map +0 -1
  159. package/dist/wc-react/useOpenChangeComplete.js.map +0 -1
@@ -26,22 +26,22 @@ import { t as Ln } from "./useLabelableId.js";
26
26
  import { t as fr } from "./FieldTooltip.js";
27
27
  import { n as mr, t as gr } from "./field-props.js";
28
28
  import { a as hr, c as br, i as vr, l as xr, n as Cr, o as Ir, r as yr, s as Er, t as Pr } from "./form-field.js";
29
+ import { a as Le, c as Rr, d as wr, f as Vr, l as Sr, m as Tr, n as Ar, o as gt, p as Mr, s as vt, t as Or, u as Wt } from "./resolveValueLabel.js";
30
+ import { n as kn } from "./useTimeout.js";
31
+ import { a as _n, n as Nr, o as Fr, r as Lr } from "./useScrollLock.js";
32
+ import { a as kr, n as _r, r as Dn } from "./stateAttributesMapping.js";
33
+ import { n as Dr, r as Hr, t as qr } from "./usePositioner.js";
34
+ import { n as Br, t as zr } from "./useTypeahead.js";
29
35
  import { t as Jt } from "./useButton.js";
30
- import { a as Rr, o as wr, t as kn } from "./useOpenChangeComplete.js";
31
- import { t as Vr } from "./Badge.js";
32
- import { n as _n } from "./useTimeout.js";
33
- import { a as Le, c as Sr, d as Tr, f as Ar, l as Mr, m as Or, n as Nr, o as gt, p as Fr, s as vt, t as Lr, u as Wt } from "./resolveValueLabel.js";
34
- import { a as Dn, n as kr, o as _r, r as Dr } from "./useScrollLock.js";
35
- import { n as Hr, r as qr, t as Br } from "./usePositioner.js";
36
- import { n as zr, t as Gr } from "./useTypeahead.js";
37
- import { t as Kr } from "./getPseudoElementBounds.js";
38
- import { t as Ur } from "./inertValue.js";
39
- import { t as jr } from "./useAnchoredPopupScrollLock.js";
36
+ import { t as Gr } from "./getPseudoElementBounds.js";
37
+ import { t as Kr } from "./inertValue.js";
38
+ import { t as Ur } from "./useAnchoredPopupScrollLock.js";
39
+ import { t as jr } from "./Badge.js";
40
40
  import * as o from "react";
41
41
  import Qt from "react";
42
42
  import { createRoot as Wr } from "react-dom/client";
43
- import * as $r from "react-dom";
44
43
  import { Fragment as Hn, jsx as f, jsxs as ae } from "react/jsx-runtime";
44
+ import * as $r from "react-dom";
45
45
  function Qr(e, t, n, u, b, C, y, m, v, s = 2) {
46
46
  const c = Wo(n.current, {
47
47
  event: e,
@@ -92,7 +92,7 @@ var l = {
92
92
  const { selectedValue: t, selectionMode: n } = e;
93
93
  return t == null ? !1 : n === "multiple" && Array.isArray(t) ? t.length > 0 : !0;
94
94
  },
95
- hasNullItemLabel: (e, t) => t ? Lr(e.items) : !1,
95
+ hasNullItemLabel: (e, t) => t ? Or(e.items) : !1,
96
96
  open: (e) => e.open,
97
97
  mounted: (e) => e.mounted,
98
98
  forceMounted: (e) => e.forceMounted,
@@ -178,7 +178,7 @@ var $n = /* @__PURE__ */ Symbol("none"), $t = {
178
178
  index: -1
179
179
  };
180
180
  function es(e) {
181
- const { id: t, onOpenChangeComplete: n, defaultSelectedValue: u = null, selectedValue: b, onSelectedValueChange: C, defaultInputValue: y, inputValue: m, open: v, defaultOpen: s = !1, selectionMode: c, onItemHighlighted: D, name: H, form: F, disabled: W = !1, readOnly: x = !1, required: L = !1, inputRef: h, grid: M = !1, items: r, filteredItems: q, filter: $, openOnInputClick: V = !0, autoHighlight: B = !1, keepHighlight: S = !1, highlightItemOnHover: G = !0, loopFocus: P = !0, itemToStringLabel: g, itemToStringValue: R, isItemEqualToValue: O = Sr, virtualized: ne = !1, inline: Q = !1, fillInputOnItemPress: J = !0, modal: N = !1, limit: Y = -1, autoComplete: ce = "list", formAutoComplete: Pe, locale: oe, submitOnItemClick: Ae = !1 } = e, { clearErrors: me } = lr(), { setDirty: T, validityData: re, setFilled: se, name: Me, disabled: Oe, setTouched: Je, setFocused: De, validationMode: He, validation: ve } = Zt(), qe = Sn(), le = Ln({ id: t }), z = Wn({ locale: oe }), [de, pe] = o.useState(!1), [Re, E] = o.useState(null), w = o.useRef([]), ue = o.useRef([]), Be = o.useRef(null), p = o.useRef(null), A = o.useRef(null), ge = o.useRef(null), we = o.useRef(null), Qe = o.useRef(!0), Ne = o.useRef(!1), ee = o.useRef(null), xe = o.useRef(null), ze = o.useRef(null), Ve = o.useRef($t), Ge = o.useRef(null), Fe = o.useRef([]), tn = o.useRef(null), Se = Oe || W, Ye = Me ?? H, he = c === "multiple", Xe = c === "single", ot = m !== void 0 || y !== void 0, Ce = r !== void 0, Ct = q !== void 0;
181
+ const { id: t, onOpenChangeComplete: n, defaultSelectedValue: u = null, selectedValue: b, onSelectedValueChange: C, defaultInputValue: y, inputValue: m, open: v, defaultOpen: s = !1, selectionMode: c, onItemHighlighted: D, name: H, form: F, disabled: W = !1, readOnly: x = !1, required: L = !1, inputRef: h, grid: M = !1, items: r, filteredItems: q, filter: $, openOnInputClick: V = !0, autoHighlight: B = !1, keepHighlight: S = !1, highlightItemOnHover: G = !0, loopFocus: P = !0, itemToStringLabel: g, itemToStringValue: R, isItemEqualToValue: O = Rr, virtualized: ne = !1, inline: Q = !1, fillInputOnItemPress: J = !0, modal: N = !1, limit: Y = -1, autoComplete: ce = "list", formAutoComplete: Pe, locale: oe, submitOnItemClick: Ae = !1 } = e, { clearErrors: me } = lr(), { setDirty: T, validityData: re, setFilled: se, name: Me, disabled: Oe, setTouched: Je, setFocused: De, validationMode: He, validation: ve } = Zt(), qe = Sn(), le = Ln({ id: t }), z = Wn({ locale: oe }), [de, pe] = o.useState(!1), [Re, E] = o.useState(null), w = o.useRef([]), ue = o.useRef([]), Be = o.useRef(null), p = o.useRef(null), A = o.useRef(null), ge = o.useRef(null), we = o.useRef(null), Qe = o.useRef(!0), Ne = o.useRef(!1), ee = o.useRef(null), xe = o.useRef(null), ze = o.useRef(null), Ve = o.useRef($t), Ge = o.useRef(null), Fe = o.useRef([]), tn = o.useRef(null), Se = Oe || W, Ye = Me ?? H, he = c === "multiple", Xe = c === "single", ot = m !== void 0 || y !== void 0, Ce = r !== void 0, Ct = q !== void 0;
182
182
  let fe;
183
183
  B === "always" ? fe = "always" : fe = B ? "input-change" : !1;
184
184
  const [k, io] = Kt({
@@ -200,7 +200,7 @@ function es(e) {
200
200
  default: s,
201
201
  name: "Combobox",
202
202
  state: "open"
203
- }), rt = Nr(r), Te = Re ?? String(Ie).trim(), on = Xe ? Le(k, g) : "", rn = Xe && !de && Te !== "" && on.length === Te.length && z.contains(on, Te), st = rn ? "" : Te, sn = Ce && Ct && rn, it = o.useMemo(() => r ? rt ? r.flatMap((i) => i.items) : r : At, [r, rt]), pt = o.useMemo(() => {
203
+ }), rt = Ar(r), Te = Re ?? String(Ie).trim(), on = Xe ? Le(k, g) : "", rn = Xe && !de && Te !== "" && on.length === Te.length && z.contains(on, Te), st = rn ? "" : Te, sn = Ce && Ct && rn, it = o.useMemo(() => r ? rt ? r.flatMap((i) => i.items) : r : At, [r, rt]), pt = o.useMemo(() => {
204
204
  if (q && !sn) return q;
205
205
  if (!r) return At;
206
206
  if (rt) {
@@ -311,7 +311,7 @@ function es(e) {
311
311
  R,
312
312
  c,
313
313
  k
314
- ]), co = ie(D), an = ie(n), ln = a(I, l.activeIndex), po = a(I, l.selectedIndex), It = a(I, l.positionerElement), un = a(I, l.listElement), ft = a(I, l.triggerElement), yt = a(I, l.inputElement), fo = a(I, l.inputGroupElement), be = a(I, l.inline), Ke = a(I, l.inputInsidePopup), mo = a(I, l.inputOwnsFormValue), go = dr(ft), { mounted: cn, setMounted: ho, transitionStatus: kt } = wr(Z), { openMethod: dn, triggerProps: _t } = Dr(Z), bo = ie(() => uo);
314
+ ]), co = ie(D), an = ie(n), ln = a(I, l.activeIndex), po = a(I, l.selectedIndex), It = a(I, l.positionerElement), un = a(I, l.listElement), ft = a(I, l.triggerElement), yt = a(I, l.inputElement), fo = a(I, l.inputGroupElement), be = a(I, l.inline), Ke = a(I, l.inputInsidePopup), mo = a(I, l.inputOwnsFormValue), go = dr(ft), { mounted: cn, setMounted: ho, transitionStatus: kt } = kr(Z), { openMethod: dn, triggerProps: _t } = Lr(Z), bo = ie(() => uo);
315
315
  ir(Ke ? go : p, le, at, bo, !Se, H);
316
316
  const pn = ie(() => {
317
317
  r ? ue.current = ye.map((i) => Le(i, g)) : I.set("forceMounted", !0);
@@ -373,7 +373,7 @@ function es(e) {
373
373
  return;
374
374
  }
375
375
  if (he) {
376
- const U = Array.isArray(k) ? k : [], te = Ar(U, d, O) ? Tr(U, d, O) : [...U, d];
376
+ const U = Array.isArray(k) ? k : [], te = Vr(U, d, O) ? wr(U, d, O) : [...U, d];
377
377
  if (Et(te, X), X.isCanceled || !(p.current && p.current.value.trim() !== "")) return;
378
378
  I.state.inputInsidePopup ? je("", j(Ze, X.event)) : mt(!1, X);
379
379
  } else {
@@ -395,7 +395,7 @@ function es(e) {
395
395
  p.current && p.current.value !== i && je(i, j(i === "" ? Ze : We));
396
396
  }
397
397
  }), Co = o.useMemo(() => be && It ? { current: It.closest('[role="dialog"]') } : Be, [be, It]);
398
- kn({
398
+ Dn({
399
399
  enabled: !e.actionsRef,
400
400
  open: Z,
401
401
  ref: Co,
@@ -500,7 +500,7 @@ function es(e) {
500
500
  }), Mt(r, () => {
501
501
  !Xe || ot || Ke || de || fn();
502
502
  });
503
- const Pt = Fr({
503
+ const Pt = Mr({
504
504
  open: be ? !0 : Z,
505
505
  onOpenChange: mt,
506
506
  elements: {
@@ -525,7 +525,7 @@ function es(e) {
525
525
  mn,
526
526
  un?.id,
527
527
  ce
528
- ]), hn = Dn(Pt, {
528
+ ]), hn = _n(Pt, {
529
529
  enabled: !x && !Se && V,
530
530
  event: "mousedown-only",
531
531
  toggle: !1,
@@ -542,7 +542,7 @@ function es(e) {
542
542
  const d = Ot(i);
543
543
  return !$e(ft, d) && !$e(xe.current, d) && !$e(ee.current, d) && !$e(fo, d);
544
544
  }
545
- }), ut = zr(Pt, {
545
+ }), ut = Br(Pt, {
546
546
  enabled: !x && !Se,
547
547
  id: le,
548
548
  listRef: w,
@@ -580,7 +580,7 @@ function es(e) {
580
580
  onFocus: void 0
581
581
  } : In;
582
582
  }, [ut.item]);
583
- Or(() => {
583
+ Tr(() => {
584
584
  I.update({
585
585
  inline: Q,
586
586
  popupProps: qt,
@@ -808,7 +808,7 @@ function Xn(e, t, n) {
808
808
  u && (e.state.selectionEventRef.current = n, u.click(), e.state.selectionEventRef.current = null);
809
809
  }
810
810
  var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
811
- const { render: u, className: b, nativeButton: C = !0, disabled: y = !1, id: m, style: v, ...s } = t, { state: c, disabled: D, setTouched: H, setFocused: F, validationMode: W, validation: x } = Zt(), { labelId: L } = Nn(), h = _e(), M = a(h, l.selectionMode), r = a(h, l.disabled), q = a(h, l.readOnly), $ = a(h, l.required), V = a(h, l.positionerElement), B = a(h, l.listElement), S = a(h, l.popupId), G = a(h, l.triggerProps), P = a(h, l.inputInsidePopup), g = a(h, l.id), R = a(h, l.labelId), O = a(h, l.open), ne = a(h, l.selectedValue), Q = a(h, l.activeIndex), J = a(h, l.selectedIndex), N = a(h, l.hasSelectedValue), Y = Nt(), ce = Un(), Pe = _n(), oe = D || r || y, Ae = Ft(), me = Yn(h);
811
+ const { render: u, className: b, nativeButton: C = !0, disabled: y = !1, id: m, style: v, ...s } = t, { state: c, disabled: D, setTouched: H, setFocused: F, validationMode: W, validation: x } = Zt(), { labelId: L } = Nn(), h = _e(), M = a(h, l.selectionMode), r = a(h, l.disabled), q = a(h, l.readOnly), $ = a(h, l.required), V = a(h, l.positionerElement), B = a(h, l.listElement), S = a(h, l.popupId), G = a(h, l.triggerProps), P = a(h, l.inputInsidePopup), g = a(h, l.id), R = a(h, l.labelId), O = a(h, l.open), ne = a(h, l.selectedValue), Q = a(h, l.activeIndex), J = a(h, l.selectedIndex), N = a(h, l.hasSelectedValue), Y = Nt(), ce = Un(), Pe = kn(), oe = D || r || y, Ae = Ft(), me = Yn(h);
812
812
  Ln({ id: P ? m : void 0 });
813
813
  const T = P ? m ?? g : m, re = Go(L, R);
814
814
  let se;
@@ -817,7 +817,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
817
817
  function Oe(z) {
818
818
  Me.current = z.pointerType;
819
819
  }
820
- const { reference: Je } = Gr(Y, {
820
+ const { reference: Je } = zr(Y, {
821
821
  enabled: !O && !q && !r && M === "single",
822
822
  listRef: h.state.labelsRef,
823
823
  activeIndex: Q,
@@ -826,7 +826,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
826
826
  const de = h.state.valuesRef.current[z];
827
827
  de !== void 0 && h.state.setSelectedValue(de, j(We));
828
828
  }
829
- }), { reference: De } = Dn(Y, {
829
+ }), { reference: De } = _n(Y, {
830
830
  enabled: !q && !r,
831
831
  event: "mousedown"
832
832
  }), { buttonRef: He, getButtonProps: ve } = Jt({
@@ -880,7 +880,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
880
880
  const E = h.state.triggerElement;
881
881
  if (!E) return;
882
882
  const w = Ot(Re), ue = h.state.positionerElement, Be = h.state.listElement;
883
- $e(E, w) || $e(ue, w) || $e(Be, w) || Kr(Re, E) || h.state.setOpen(!1, j(Bo, Re));
883
+ $e(E, w) || $e(ue, w) || $e(Be, w) || Gr(Re, E) || h.state.setOpen(!1, j(Bo, Re));
884
884
  }
885
885
  P && de.addEventListener("mouseup", pe, { once: !0 });
886
886
  },
@@ -1128,7 +1128,7 @@ function ds(e) {
1128
1128
  return n;
1129
1129
  }
1130
1130
  function ps() {
1131
- const e = _n(), t = o.useRef(null);
1131
+ const e = kn(), t = o.useRef(null);
1132
1132
  return o.useEffect(() => {
1133
1133
  if (Uo) return;
1134
1134
  const n = t.current;
@@ -1159,7 +1159,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1159
1159
  })
1160
1160
  }) : null;
1161
1161
  }), gs = /* @__PURE__ */ o.forwardRef(function(t, n) {
1162
- const { render: u, className: b, anchor: C, positionMethod: y, side: m, align: v, sideOffset: s, alignOffset: c, collisionBoundary: D = "clipping-ancestors", collisionPadding: H, arrowPadding: F, sticky: W, disableAnchorTracking: x = !1, collisionAvoidance: L = Qo, style: h, ...M } = t, r = _e(), q = Nt(), $ = fs(), V = a(r, l.modal), B = a(r, l.open), S = a(r, l.mounted), G = a(r, l.openMethod), P = a(r, l.positionerElement), g = a(r, l.triggerElement), R = a(r, l.inputElement), O = a(r, l.inputGroupElement), ne = a(r, l.inputInsidePopup), Q = a(r, l.transitionStatus), J = Ft(), N = qr({
1162
+ const { render: u, className: b, anchor: C, positionMethod: y, side: m, align: v, sideOffset: s, alignOffset: c, collisionBoundary: D = "clipping-ancestors", collisionPadding: H, arrowPadding: F, sticky: W, disableAnchorTracking: x = !1, collisionAvoidance: L = Qo, style: h, ...M } = t, r = _e(), q = Nt(), $ = fs(), V = a(r, l.modal), B = a(r, l.open), S = a(r, l.mounted), G = a(r, l.openMethod), P = a(r, l.positionerElement), g = a(r, l.triggerElement), R = a(r, l.inputElement), O = a(r, l.inputGroupElement), ne = a(r, l.inputInsidePopup), Q = a(r, l.transitionStatus), J = Ft(), N = Hr({
1163
1163
  anchor: C ?? (ne ? g : O ?? R),
1164
1164
  floatingRootContext: q,
1165
1165
  positionMethod: y,
@@ -1177,7 +1177,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1177
1177
  collisionAvoidance: L,
1178
1178
  lazyFlip: !0
1179
1179
  });
1180
- jr(B && V, G === "touch", P, g);
1180
+ Ur(B && V, G === "touch", P, g);
1181
1181
  const Y = {
1182
1182
  open: B,
1183
1183
  side: N.side,
@@ -1190,7 +1190,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1190
1190
  }, [r, N.side]);
1191
1191
  const ce = ie((oe) => {
1192
1192
  r.set("positionerElement", oe);
1193
- }), Pe = Br(t, Y, {
1193
+ }), Pe = qr(t, Y, {
1194
1194
  styles: N.positionerStyles,
1195
1195
  transitionStatus: Q,
1196
1196
  props: M,
@@ -1200,19 +1200,19 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1200
1200
  });
1201
1201
  return /* @__PURE__ */ ae(Zn.Provider, {
1202
1202
  value: N,
1203
- children: [S && V && /* @__PURE__ */ f(kr, {
1204
- inert: Ur(!B),
1203
+ children: [S && V && /* @__PURE__ */ f(Nr, {
1204
+ inert: Kr(!B),
1205
1205
  cutout: O ?? R ?? g
1206
1206
  }), Pe]
1207
1207
  });
1208
1208
  }), hs = {
1209
1209
  ...Jo,
1210
- ...Rr
1210
+ ..._r
1211
1211
  }, bs = /* @__PURE__ */ o.forwardRef(function(t, n) {
1212
1212
  const { render: u, className: b, style: C, initialFocus: y, finalFocus: m, ...v } = t, s = _e(), c = en(), D = Nt(), H = a(s, l.mounted), F = a(s, l.open), W = a(s, l.openMethod), x = a(s, l.popupProps), L = a(s, l.transitionStatus), h = a(s, l.inputInsidePopup), M = a(s, l.inputElement), r = a(s, l.modal), q = a(s, l.id), $ = Ft(), V = v.id ?? (h ? jn(q) : void 0);
1213
1213
  ke(() => (s.set("popupId", s.state.popupRef.current?.id || V), () => {
1214
1214
  s.set("popupId", void 0);
1215
- }), [s, V]), kn({
1215
+ }), [s, V]), Dn({
1216
1216
  open: F,
1217
1217
  ref: s.state.popupRef,
1218
1218
  onComplete() {
@@ -1239,7 +1239,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1239
1239
  W !== "touch" && ($e(s.state.listElement, O) || O === R.currentTarget) && s.state.inputRef.current?.focus();
1240
1240
  }
1241
1241
  },
1242
- Hr(L),
1242
+ Dr(L),
1243
1243
  v
1244
1244
  ],
1245
1245
  stateAttributesMapping: hs
@@ -1247,7 +1247,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1247
1247
  let P;
1248
1248
  m != null ? P = m : P = h ? void 0 : !1;
1249
1249
  const g = !h || r;
1250
- return /* @__PURE__ */ f(_r, {
1250
+ return /* @__PURE__ */ f(Fr, {
1251
1251
  context: D,
1252
1252
  disabled: !H,
1253
1253
  modal: g,
@@ -1398,7 +1398,7 @@ function oo(e) {
1398
1398
  });
1399
1399
  }
1400
1400
  function Ps(e) {
1401
- const { componentProps: t, forwardedRef: n } = e, u = _e(), b = a(u, l.isItemEqualToValue), { flatFilteredItems: C } = xt(), y = Mr(C, t.value ?? null, b);
1401
+ const { componentProps: t, forwardedRef: n } = e, u = _e(), b = a(u, l.isItemEqualToValue), { flatFilteredItems: C } = xt(), y = Sr(C, t.value ?? null, b);
1402
1402
  return /* @__PURE__ */ f(oo, {
1403
1403
  componentProps: t,
1404
1404
  forwardedRef: n,
@@ -1434,7 +1434,7 @@ var Rs = /* @__PURE__ */ o.memo(/* @__PURE__ */ o.forwardRef(function(t, n) {
1434
1434
  });
1435
1435
  });
1436
1436
  function Ss({ item: e, size: t, disabled: n, customRender: u, onRemove: b }) {
1437
- return u ? /* @__PURE__ */ f(Hn, { children: u(e, b) }) : /* @__PURE__ */ f(Vr, {
1437
+ return u ? /* @__PURE__ */ f(Hn, { children: u(e, b) }) : /* @__PURE__ */ f(jr, {
1438
1438
  size: Ts[t],
1439
1439
  variant: "outline",
1440
1440
  shape: "rounded",
@@ -13,8 +13,8 @@ import { t as Ct } from "./search.js";
13
13
  import { t as kt } from "./trash-2.js";
14
14
  import { n as Dt, t as Tt } from "./Avatar.js";
15
15
  import { t as St } from "./x.js";
16
- import { t as _t } from "./create-safe-context.js";
17
- import { c as zt, f as k, s as Ce } from "./_shared.js";
16
+ import { c as _t, f as k, s as Ce } from "./_shared.js";
17
+ import { t as zt } from "./create-safe-context.js";
18
18
  import { t as P } from "./button.js";
19
19
  import { t as Et } from "./Input2.js";
20
20
  import { a as Ot, i as $t, n as Pt, o as It, r as At } from "./Select.js";
@@ -302,7 +302,7 @@ function se({ onAddEvent: e, onExpand: t, onClose: n, className: a }) {
302
302
  });
303
303
  }
304
304
  se.displayName = "CalendarActions";
305
- var [mn, U] = _t("Calendar"), pn = [];
305
+ var [mn, U] = zt("Calendar"), pn = [];
306
306
  function We(e) {
307
307
  return `${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`;
308
308
  }
@@ -1659,7 +1659,7 @@ var J = {}, ft = class extends HTMLElement {
1659
1659
  }
1660
1660
  _setProp(e, t) {
1661
1661
  const n = J[e] || "string";
1662
- this._props[e] = zt(t, n), this._render();
1662
+ this._props[e] = _t(t, n), this._render();
1663
1663
  }
1664
1664
  _getProp(e) {
1665
1665
  if (e in this._props) return this._props[e];
@@ -3,8 +3,8 @@ import { t as xe } from "./chevron-left.js";
3
3
  import { t as we } from "./chevron-right.js";
4
4
  import { t as ve } from "./chevron-up.js";
5
5
  import { c as Ce, f as u, s as q } from "./_shared.js";
6
- import { t as ye } from "./use-controllable-state.js";
7
6
  import { t as K } from "./button.js";
7
+ import { t as ye } from "./use-controllable-state.js";
8
8
  import * as f from "react";
9
9
  import H from "react";
10
10
  import { createRoot as Ne } from "react-dom/client";
@@ -1,14 +1,14 @@
1
1
  import { t as M } from "./check.js";
2
2
  import { t as F } from "./chevron-right.js";
3
- import { t as $ } from "./create-safe-context.js";
4
- import { a as J, f as i, i as V, l as y, o as X, t as Y, u as q } from "./_shared.js";
3
+ import { a as $, f as i, i as J, l as y, o as V, t as X, u as Y } from "./_shared.js";
4
+ import { t as q } from "./create-safe-context.js";
5
5
  import { t as H } from "./use-controllable-state.js";
6
6
  import { t as Q } from "./Separator.js";
7
7
  import { a as U, c as N, d as Z, f as ee, h as te, l as v, m as oe, n as ne, o as ae, p as re, r as se, s as ie, t as ue, u as S } from "./MenuSubmenuTrigger.js";
8
8
  import * as p from "react";
9
9
  import f from "react";
10
10
  import { jsx as n, jsxs as h } from "react/jsx-runtime";
11
- var [de, P] = $("ContextMenu");
11
+ var [de, P] = q("ContextMenu");
12
12
  function x({ children: e, anchorPoint: t, open: o, defaultOpen: r = !1, onOpenChange: l }) {
13
13
  const [a, u] = p.useState({
14
14
  x: 0,
@@ -268,24 +268,24 @@ var le = Object.assign(x, {
268
268
  }), g = {
269
269
  open: "boolean",
270
270
  defaultOpen: "boolean"
271
- }, W = class extends Y {
271
+ }, W = class extends X {
272
272
  get propDefs() {
273
273
  return g;
274
274
  }
275
275
  static get observedAttributes() {
276
- return Object.keys(g).map(V);
276
+ return Object.keys(g).map(J);
277
277
  }
278
278
  _renderReact() {
279
279
  const e = this._readAllProps(), t = this._getSlot("trigger"), o = this._getDefaultSlot();
280
280
  return f.createElement(le, {
281
281
  open: e.open,
282
282
  defaultOpen: e.defaultOpen || !1,
283
- onOpenChange: (r) => J(this, "open-change", r)
283
+ onOpenChange: (r) => $(this, "open-change", r)
284
284
  }, t ? f.createElement(b, null, y(t)) : null, o ? f.createElement(C, null, y(o)) : null);
285
285
  }
286
286
  };
287
- X(W, g);
288
- q("hf-context-menu", W);
287
+ V(W, g);
288
+ Y("hf-context-menu", W);
289
289
  export {
290
290
  W as ContextMenuWC,
291
291
  W as default
@@ -13,8 +13,8 @@ import { a as io, i as so, n as yt, o as Se, r as ro, t as on } from "./table2.j
13
13
  import { t as lo } from "./Tooltip2.js";
14
14
  import * as E from "react";
15
15
  import Z from "react";
16
- import { flushSync as ao } from "react-dom";
17
16
  import { Fragment as Cn, jsx as F, jsxs as ee } from "react/jsx-runtime";
17
+ import { flushSync as ao } from "react-dom";
18
18
  var uo = [["path", {
19
19
  d: "m7 15 5 5 5-5",
20
20
  key: "1hf1tw"