@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
@@ -3,12 +3,12 @@ import { i as K, n as X, t as Z } from "./vendor/react.js";
3
3
  import { S as Y, b as B, m as J, w as Q, y as U } from "./vendor/recharts.js";
4
4
  import { t as tt } from "./dist.js";
5
5
  import { n as et } from "./utils.js";
6
- import { n as C, o as rt, s as it } from "./chart.js";
7
- import { t as ot } from "./use-reduced-motion.js";
8
- import { n as at } from "./chart-legend.js";
9
- import { t as st } from "./cartesian-chart-frame.js";
10
- import { a as nt, c as u, l as lt, n as ct, t as ht } from "./chart-data.js";
11
- import { c as dt, s as v } from "./_shared.js";
6
+ import { c as rt, s as C } from "./_shared.js";
7
+ import { n as v, o as it, s as ot } from "./chart.js";
8
+ import { t as at } from "./use-reduced-motion.js";
9
+ import { n as st } from "./chart-legend.js";
10
+ import { t as nt } from "./cartesian-chart-frame.js";
11
+ import { a as lt, c as u, l as ct, n as ht, t as dt } from "./chart-data.js";
12
12
  var s = /* @__PURE__ */ G(K(), 1), o = Z(), pt = tt("relative w-full", {
13
13
  variants: { size: {
14
14
  sm: "h-40",
@@ -23,7 +23,7 @@ var s = /* @__PURE__ */ G(K(), 1), o = Z(), pt = tt("relative w-full", {
23
23
  step: "step"
24
24
  };
25
25
  function y({ data: t, series: e, showYAxis: r = !1, showXAxis: h = !0, xAxisInterval: d = 0, showGrid: b = !0, legendPosition: k = "none", areaMode: c = "overlaid", fillStyle: p = "solid", curveType: j = "smooth", fillOpacity: A = 0.28, strokeWidth: T = 1.5, showDots: w = !1, yAxisTicks: f, yAxisFormat: m = (n) => n.toLocaleString(), showTooltip: E = !0, size: $, className: O, "aria-label": z, ...S }) {
26
- const n = ot(), g = s.useId().replace(/:/g, ""), { highlightedSeries: W, setHighlightedSeries: L, getOpacity: N, dimTransition: M } = at(n), P = s.useMemo(() => lt(t, e), [t, e]), _ = s.useMemo(() => e.map((a, i) => a.color || C[i % C.length]), [e]), D = s.useMemo(() => {
26
+ const n = at(), g = s.useId().replace(/:/g, ""), { highlightedSeries: W, setHighlightedSeries: L, getOpacity: N, dimTransition: M } = st(n), P = s.useMemo(() => ct(t, e), [t, e]), _ = s.useMemo(() => e.map((a, i) => a.color || v[i % v.length]), [e]), D = s.useMemo(() => {
27
27
  const a = {};
28
28
  return e.forEach((i, F) => {
29
29
  a[u(i.id)] = {
@@ -31,7 +31,7 @@ function y({ data: t, series: e, showYAxis: r = !1, showXAxis: h = !0, xAxisInte
31
31
  color: _[F]
32
32
  };
33
33
  }), a;
34
- }, [_, e]), V = s.useMemo(() => ct({
34
+ }, [_, e]), V = s.useMemo(() => ht({
35
35
  data: t,
36
36
  series: e,
37
37
  ticks: f,
@@ -45,14 +45,14 @@ function y({ data: t, series: e, showYAxis: r = !1, showXAxis: h = !0, xAxisInte
45
45
  e,
46
46
  m,
47
47
  f
48
- ]), H = ht(A * 100) / 100, I = nt(T, 1.5), R = c === "overlaid" ? void 0 : "area-stack", q = c === "expanded" ? "expand" : "none";
48
+ ]), H = dt(A * 100) / 100, I = lt(T, 1.5), R = c === "overlaid" ? void 0 : "area-stack", q = c === "expanded" ? "expand" : "none";
49
49
  return /* @__PURE__ */ (0, o.jsx)("div", {
50
50
  "data-slot": "area-chart",
51
51
  className: et(pt({ size: $ }), O),
52
52
  role: "img",
53
53
  "aria-label": z || "Area chart",
54
54
  ...S,
55
- children: /* @__PURE__ */ (0, o.jsx)(st, {
55
+ children: /* @__PURE__ */ (0, o.jsx)(nt, {
56
56
  config: D,
57
57
  series: e,
58
58
  legendPosition: k,
@@ -115,8 +115,8 @@ function y({ data: t, series: e, showYAxis: r = !1, showXAxis: h = !0, xAxisInte
115
115
  ticks: f,
116
116
  width: V
117
117
  }),
118
- E && /* @__PURE__ */ (0, o.jsx)(rt, {
119
- content: /* @__PURE__ */ (0, o.jsx)(it, {}),
118
+ E && /* @__PURE__ */ (0, o.jsx)(it, {
119
+ content: /* @__PURE__ */ (0, o.jsx)(ot, {}),
120
120
  cursor: n ? !1 : { stroke: "var(--border)" }
121
121
  }),
122
122
  e.map((a) => {
@@ -197,12 +197,12 @@ var mt = X(), l = {
197
197
  }
198
198
  _setProp(t, e) {
199
199
  const r = l[t] || "string";
200
- this._props[t] = dt(e, r), this._render();
200
+ this._props[t] = rt(e, r), this._render();
201
201
  }
202
202
  _getProp(t) {
203
203
  if (t in this._props) return this._props[t];
204
204
  const e = t.replace(/([A-Z])/g, "-$1").toLowerCase(), r = l[t] || "string";
205
- return v(this.getAttribute(e), r);
205
+ return C(this.getAttribute(e), r);
206
206
  }
207
207
  _render() {
208
208
  if (!this._root || !this._childrenContainer) return;
@@ -210,7 +210,7 @@ var mt = X(), l = {
210
210
  for (const [r, h] of Object.entries(l)) if (r in this._props) t[r] = this._props[r];
211
211
  else {
212
212
  const d = r.replace(/([A-Z])/g, "-$1").toLowerCase();
213
- t[r] = v(this.getAttribute(d), h);
213
+ t[r] = C(this.getAttribute(d), h);
214
214
  }
215
215
  const e = s.createElement(y, t, s.createElement("span", {
216
216
  ref: (r) => {
@@ -29,17 +29,17 @@ import { t as Nn } from "./useLabelableId.js";
29
29
  import { t as gr } from "./FieldTooltip.js";
30
30
  import { n as hr, t as br } from "./field-props.js";
31
31
  import { a as xr, c as vr, i as Cr, l as Ir, n as yr, o as Er, r as Pr, s as Rr, t as wr } from "./form-field.js";
32
+ import { a as Ne, c as Vr, d as Sr, f as Tr, l as Ar, m as Mr, n as Or, o as mt, p as jr, s as bt, t as Nr, u as Ut } from "./resolveValueLabel.js";
33
+ import { n as Fn } from "./useTimeout.js";
34
+ import { a as Ln, n as Fr, o as Lr, r as _r } from "./useScrollLock.js";
35
+ import { a as kr, n as Dr, r as _n } from "./stateAttributesMapping.js";
36
+ import { n as Hr, r as qr, t as Br } from "./usePositioner.js";
37
+ import { n as zr, t as Gr } from "./useTypeahead.js";
32
38
  import { t as Xt } from "./useButton.js";
33
- import { a as Vr, o as Sr, t as Fn } from "./useOpenChangeComplete.js";
34
- import { t as Tr } from "./Badge.js";
35
- import { n as Ln } from "./useTimeout.js";
36
- import { a as Ne, c as Ar, d as Mr, f as Or, l as jr, m as Nr, n as Fr, o as mt, p as Lr, s as bt, t as _r, u as Ut } from "./resolveValueLabel.js";
37
- import { a as _n, n as kr, o as Dr, r as Hr } from "./useScrollLock.js";
38
- import { n as qr, r as Br, t as zr } from "./usePositioner.js";
39
- import { n as Gr, t as Kr } from "./useTypeahead.js";
40
- import { t as Ur } from "./getPseudoElementBounds.js";
41
- import { t as Wr } from "./inertValue.js";
42
- import { t as $r } from "./useAnchoredPopupScrollLock.js";
39
+ import { t as Kr } from "./getPseudoElementBounds.js";
40
+ import { t as Ur } from "./inertValue.js";
41
+ import { t as Wr } from "./useAnchoredPopupScrollLock.js";
42
+ import { t as $r } from "./Badge.js";
43
43
  function Qr(e, t, n, c, b, C, y, m, x, s = 2) {
44
44
  const d = Qo(n.current, {
45
45
  event: e,
@@ -90,7 +90,7 @@ var u = {
90
90
  const { selectedValue: t, selectionMode: n } = e;
91
91
  return t == null ? !1 : n === "multiple" && Array.isArray(t) ? t.length > 0 : !0;
92
92
  },
93
- hasNullItemLabel: (e, t) => t ? _r(e.items) : !1,
93
+ hasNullItemLabel: (e, t) => t ? Nr(e.items) : !1,
94
94
  open: (e) => e.open,
95
95
  mounted: (e) => e.mounted,
96
96
  forceMounted: (e) => e.forceMounted,
@@ -176,7 +176,7 @@ var Un = /* @__PURE__ */ Symbol("none"), Wt = {
176
176
  index: -1
177
177
  }, i = Ao();
178
178
  function es(e) {
179
- const { id: t, onOpenChangeComplete: n, defaultSelectedValue: c = null, selectedValue: b, onSelectedValueChange: C, defaultInputValue: y, inputValue: m, open: x, defaultOpen: s = !1, selectionMode: d, onItemHighlighted: k, name: D, form: N, disabled: W = !1, readOnly: v = !1, required: F = !1, inputRef: h, grid: M = !1, items: r, filteredItems: H, filter: $, openOnInputClick: V = !0, autoHighlight: q = !1, keepHighlight: S = !1, highlightItemOnHover: z = !0, loopFocus: P = !0, itemToStringLabel: g, itemToStringValue: R, isItemEqualToValue: O = Ar, virtualized: ne = !1, inline: Q = !1, fillInputOnItemPress: J = !0, modal: j = !1, limit: Y = -1, autoComplete: ue = "list", formAutoComplete: Ee, locale: oe, submitOnItemClick: Te = !1 } = e, { clearErrors: fe } = cr(), { setDirty: T, validityData: re, setFilled: se, name: Ae, disabled: Me, setTouched: Ze, setFocused: _e, validationMode: ke, validation: be } = Yt(), De = Vn(), ae = Nn({ id: t }), B = Kn({ locale: oe }), [ce, de] = o.useState(!1), [Pe, E] = o.useState(null), w = o.useRef([]), le = o.useRef([]), He = o.useRef(null), f = o.useRef(null), A = o.useRef(null), me = o.useRef(null), Re = o.useRef(null), $e = o.useRef(!0), Oe = o.useRef(!1), ee = o.useRef(null), xe = o.useRef(null), qe = o.useRef(null), we = o.useRef(Wt), Be = o.useRef(null), je = o.useRef([]), Jt = o.useRef(null), Ve = Me || W, Qe = Ae ?? D, ge = d === "multiple", Ye = d === "single", nt = m !== void 0 || y !== void 0, ve = r !== void 0, vt = H !== void 0;
179
+ const { id: t, onOpenChangeComplete: n, defaultSelectedValue: c = null, selectedValue: b, onSelectedValueChange: C, defaultInputValue: y, inputValue: m, open: x, defaultOpen: s = !1, selectionMode: d, onItemHighlighted: k, name: D, form: N, disabled: W = !1, readOnly: v = !1, required: F = !1, inputRef: h, grid: M = !1, items: r, filteredItems: H, filter: $, openOnInputClick: V = !0, autoHighlight: q = !1, keepHighlight: S = !1, highlightItemOnHover: z = !0, loopFocus: P = !0, itemToStringLabel: g, itemToStringValue: R, isItemEqualToValue: O = Vr, virtualized: ne = !1, inline: Q = !1, fillInputOnItemPress: J = !0, modal: j = !1, limit: Y = -1, autoComplete: ue = "list", formAutoComplete: Ee, locale: oe, submitOnItemClick: Te = !1 } = e, { clearErrors: fe } = cr(), { setDirty: T, validityData: re, setFilled: se, name: Ae, disabled: Me, setTouched: Ze, setFocused: _e, validationMode: ke, validation: be } = Yt(), De = Vn(), ae = Nn({ id: t }), B = Kn({ locale: oe }), [ce, de] = o.useState(!1), [Pe, E] = o.useState(null), w = o.useRef([]), le = o.useRef([]), He = o.useRef(null), f = o.useRef(null), A = o.useRef(null), me = o.useRef(null), Re = o.useRef(null), $e = o.useRef(!0), Oe = o.useRef(!1), ee = o.useRef(null), xe = o.useRef(null), qe = o.useRef(null), we = o.useRef(Wt), Be = o.useRef(null), je = o.useRef([]), Jt = o.useRef(null), Ve = Me || W, Qe = Ae ?? D, ge = d === "multiple", Ye = d === "single", nt = m !== void 0 || y !== void 0, ve = r !== void 0, vt = H !== void 0;
180
180
  let pe;
181
181
  q === "always" ? pe = "always" : pe = q ? "input-change" : !1;
182
182
  const [L, ro] = zt({
@@ -198,7 +198,7 @@ function es(e) {
198
198
  default: s,
199
199
  name: "Combobox",
200
200
  state: "open"
201
- }), ot = Fr(r), Se = Pe ?? String(Ce).trim(), tn = Ye ? Ne(L, g) : "", nn = Ye && !ce && Se !== "" && tn.length === Se.length && B.contains(tn, Se), rt = nn ? "" : Se, on = ve && vt && nn, st = o.useMemo(() => r ? ot ? r.flatMap((a) => a.items) : r : Tt, [r, ot]), dt = o.useMemo(() => {
201
+ }), ot = Or(r), Se = Pe ?? String(Ce).trim(), tn = Ye ? Ne(L, g) : "", nn = Ye && !ce && Se !== "" && tn.length === Se.length && B.contains(tn, Se), rt = nn ? "" : Se, on = ve && vt && nn, st = o.useMemo(() => r ? ot ? r.flatMap((a) => a.items) : r : Tt, [r, ot]), dt = o.useMemo(() => {
202
202
  if (H && !on) return H;
203
203
  if (!r) return Tt;
204
204
  if (ot) {
@@ -309,7 +309,7 @@ function es(e) {
309
309
  R,
310
310
  d,
311
311
  L
312
- ]), lo = ie(k), rn = ie(n), sn = l(I, u.activeIndex), uo = l(I, u.selectedIndex), Ct = l(I, u.positionerElement), an = l(I, u.listElement), pt = l(I, u.triggerElement), It = l(I, u.inputElement), co = l(I, u.inputGroupElement), he = l(I, u.inline), ze = l(I, u.inputInsidePopup), po = l(I, u.inputOwnsFormValue), fo = fr(pt), { mounted: ln, setMounted: mo, transitionStatus: Ft } = Sr(Z), { openMethod: un, triggerProps: Lt } = Hr(Z), go = ie(() => ao);
312
+ ]), lo = ie(k), rn = ie(n), sn = l(I, u.activeIndex), uo = l(I, u.selectedIndex), Ct = l(I, u.positionerElement), an = l(I, u.listElement), pt = l(I, u.triggerElement), It = l(I, u.inputElement), co = l(I, u.inputGroupElement), he = l(I, u.inline), ze = l(I, u.inputInsidePopup), po = l(I, u.inputOwnsFormValue), fo = fr(pt), { mounted: ln, setMounted: mo, transitionStatus: Ft } = kr(Z), { openMethod: un, triggerProps: Lt } = _r(Z), go = ie(() => ao);
313
313
  lr(ze ? fo : f, ae, it, go, !Ve, D);
314
314
  const cn = ie(() => {
315
315
  r ? le.current = Ie.map((a) => Ne(a, g)) : I.set("forceMounted", !0);
@@ -371,7 +371,7 @@ function es(e) {
371
371
  return;
372
372
  }
373
373
  if (ge) {
374
- const K = Array.isArray(L) ? L : [], te = Or(K, p, O) ? Mr(K, p, O) : [...K, p];
374
+ const K = Array.isArray(L) ? L : [], te = Tr(K, p, O) ? Sr(K, p, O) : [...K, p];
375
375
  if (yt(te, X), X.isCanceled || !(f.current && f.current.value.trim() !== "")) return;
376
376
  I.state.inputInsidePopup ? Ke("", U(Xe, X.event)) : ft(!1, X);
377
377
  } else {
@@ -393,7 +393,7 @@ function es(e) {
393
393
  f.current && f.current.value !== a && Ke(a, U(a === "" ? Xe : Ue));
394
394
  }
395
395
  }), xo = o.useMemo(() => he && Ct ? { current: Ct.closest('[role="dialog"]') } : He, [he, Ct]);
396
- Fn({
396
+ _n({
397
397
  enabled: !e.actionsRef,
398
398
  open: Z,
399
399
  ref: xo,
@@ -498,7 +498,7 @@ function es(e) {
498
498
  }), At(r, () => {
499
499
  !Ye || nt || ze || ce || dn();
500
500
  });
501
- const Et = Lr({
501
+ const Et = jr({
502
502
  open: he ? !0 : Z,
503
503
  onOpenChange: ft,
504
504
  elements: {
@@ -523,7 +523,7 @@ function es(e) {
523
523
  pn,
524
524
  an?.id,
525
525
  ue
526
- ]), mn = _n(Et, {
526
+ ]), mn = Ln(Et, {
527
527
  enabled: !v && !Ve && V,
528
528
  event: "mousedown-only",
529
529
  toggle: !1,
@@ -540,7 +540,7 @@ function es(e) {
540
540
  const p = Mt(a);
541
541
  return !We(pt, p) && !We(xe.current, p) && !We(ee.current, p) && !We(co, p);
542
542
  }
543
- }), lt = Gr(Et, {
543
+ }), lt = zr(Et, {
544
544
  enabled: !v && !Ve,
545
545
  id: ae,
546
546
  listRef: w,
@@ -578,7 +578,7 @@ function es(e) {
578
578
  onFocus: void 0
579
579
  } : vn;
580
580
  }, [lt.item]);
581
- Nr(() => {
581
+ Mr(() => {
582
582
  I.update({
583
583
  inline: Q,
584
584
  popupProps: Dt,
@@ -806,7 +806,7 @@ function Qn(e, t, n) {
806
806
  c && (e.state.selectionEventRef.current = n, c.click(), e.state.selectionEventRef.current = null);
807
807
  }
808
808
  var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
809
- const { render: c, className: b, nativeButton: C = !0, disabled: y = !1, id: m, style: x, ...s } = t, { state: d, disabled: k, setTouched: D, setFocused: N, validationMode: W, validation: v } = Yt(), { labelId: F } = On(), h = Le(), M = l(h, u.selectionMode), r = l(h, u.disabled), H = l(h, u.readOnly), $ = l(h, u.required), V = l(h, u.positionerElement), q = l(h, u.listElement), S = l(h, u.popupId), z = l(h, u.triggerProps), P = l(h, u.inputInsidePopup), g = l(h, u.id), R = l(h, u.labelId), O = l(h, u.open), ne = l(h, u.selectedValue), Q = l(h, u.activeIndex), J = l(h, u.selectedIndex), j = l(h, u.hasSelectedValue), Y = Ot(), ue = zn(), Ee = Ln(), oe = k || r || y, Te = jt(), fe = $n(h);
809
+ const { render: c, className: b, nativeButton: C = !0, disabled: y = !1, id: m, style: x, ...s } = t, { state: d, disabled: k, setTouched: D, setFocused: N, validationMode: W, validation: v } = Yt(), { labelId: F } = On(), h = Le(), M = l(h, u.selectionMode), r = l(h, u.disabled), H = l(h, u.readOnly), $ = l(h, u.required), V = l(h, u.positionerElement), q = l(h, u.listElement), S = l(h, u.popupId), z = l(h, u.triggerProps), P = l(h, u.inputInsidePopup), g = l(h, u.id), R = l(h, u.labelId), O = l(h, u.open), ne = l(h, u.selectedValue), Q = l(h, u.activeIndex), J = l(h, u.selectedIndex), j = l(h, u.hasSelectedValue), Y = Ot(), ue = zn(), Ee = Fn(), oe = k || r || y, Te = jt(), fe = $n(h);
810
810
  Nn({ id: P ? m : void 0 });
811
811
  const T = P ? m ?? g : m, re = Ko(F, R);
812
812
  let se;
@@ -815,7 +815,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
815
815
  function Me(B) {
816
816
  Ae.current = B.pointerType;
817
817
  }
818
- const { reference: Ze } = Kr(Y, {
818
+ const { reference: Ze } = Gr(Y, {
819
819
  enabled: !O && !H && !r && M === "single",
820
820
  listRef: h.state.labelsRef,
821
821
  activeIndex: Q,
@@ -824,7 +824,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
824
824
  const ce = h.state.valuesRef.current[B];
825
825
  ce !== void 0 && h.state.setSelectedValue(ce, U(Ue));
826
826
  }
827
- }), { reference: _e } = _n(Y, {
827
+ }), { reference: _e } = Ln(Y, {
828
828
  enabled: !H && !r,
829
829
  event: "mousedown"
830
830
  }), { buttonRef: ke, getButtonProps: be } = Xt({
@@ -878,7 +878,7 @@ var rs = /* @__PURE__ */ o.forwardRef(function(t, n) {
878
878
  const E = h.state.triggerElement;
879
879
  if (!E) return;
880
880
  const w = Mt(Pe), le = h.state.positionerElement, He = h.state.listElement;
881
- We(E, w) || We(le, w) || We(He, w) || Ur(Pe, E) || h.state.setOpen(!1, U(zo, Pe));
881
+ We(E, w) || We(le, w) || We(He, w) || Kr(Pe, E) || h.state.setOpen(!1, U(zo, Pe));
882
882
  }
883
883
  P && ce.addEventListener("mouseup", de, { once: !0 });
884
884
  },
@@ -1126,7 +1126,7 @@ function ds(e) {
1126
1126
  return n;
1127
1127
  }
1128
1128
  function ps() {
1129
- const e = Ln(), t = o.useRef(null);
1129
+ const e = Fn(), t = o.useRef(null);
1130
1130
  return o.useEffect(() => {
1131
1131
  if (Wo) return;
1132
1132
  const n = t.current;
@@ -1157,7 +1157,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1157
1157
  })
1158
1158
  }) : null;
1159
1159
  }), gs = /* @__PURE__ */ o.forwardRef(function(t, n) {
1160
- const { render: c, className: b, anchor: C, positionMethod: y, side: m, align: x, sideOffset: s, alignOffset: d, collisionBoundary: k = "clipping-ancestors", collisionPadding: D, arrowPadding: N, sticky: W, disableAnchorTracking: v = !1, collisionAvoidance: F = Xo, style: h, ...M } = t, r = Le(), H = Ot(), $ = fs(), V = l(r, u.modal), q = l(r, u.open), S = l(r, u.mounted), z = l(r, u.openMethod), P = l(r, u.positionerElement), g = l(r, u.triggerElement), R = l(r, u.inputElement), O = l(r, u.inputGroupElement), ne = l(r, u.inputInsidePopup), Q = l(r, u.transitionStatus), J = jt(), j = Br({
1160
+ const { render: c, className: b, anchor: C, positionMethod: y, side: m, align: x, sideOffset: s, alignOffset: d, collisionBoundary: k = "clipping-ancestors", collisionPadding: D, arrowPadding: N, sticky: W, disableAnchorTracking: v = !1, collisionAvoidance: F = Xo, style: h, ...M } = t, r = Le(), H = Ot(), $ = fs(), V = l(r, u.modal), q = l(r, u.open), S = l(r, u.mounted), z = l(r, u.openMethod), P = l(r, u.positionerElement), g = l(r, u.triggerElement), R = l(r, u.inputElement), O = l(r, u.inputGroupElement), ne = l(r, u.inputInsidePopup), Q = l(r, u.transitionStatus), J = jt(), j = qr({
1161
1161
  anchor: C ?? (ne ? g : O ?? R),
1162
1162
  floatingRootContext: H,
1163
1163
  positionMethod: y,
@@ -1175,7 +1175,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1175
1175
  collisionAvoidance: F,
1176
1176
  lazyFlip: !0
1177
1177
  });
1178
- $r(q && V, z === "touch", P, g);
1178
+ Wr(q && V, z === "touch", P, g);
1179
1179
  const Y = {
1180
1180
  open: q,
1181
1181
  side: j.side,
@@ -1188,7 +1188,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1188
1188
  }, [r, j.side]);
1189
1189
  const ue = ie((oe) => {
1190
1190
  r.set("positionerElement", oe);
1191
- }), Ee = zr(t, Y, {
1191
+ }), Ee = Br(t, Y, {
1192
1192
  styles: j.positionerStyles,
1193
1193
  transitionStatus: Q,
1194
1194
  props: M,
@@ -1198,19 +1198,19 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1198
1198
  });
1199
1199
  return /* @__PURE__ */ (0, i.jsxs)(Yn.Provider, {
1200
1200
  value: j,
1201
- children: [S && V && /* @__PURE__ */ (0, i.jsx)(kr, {
1202
- inert: Wr(!q),
1201
+ children: [S && V && /* @__PURE__ */ (0, i.jsx)(Fr, {
1202
+ inert: Ur(!q),
1203
1203
  cutout: O ?? R ?? g
1204
1204
  }), Ee]
1205
1205
  });
1206
1206
  }), hs = {
1207
1207
  ...tr,
1208
- ...Vr
1208
+ ...Dr
1209
1209
  }, bs = /* @__PURE__ */ o.forwardRef(function(t, n) {
1210
1210
  const { render: c, className: b, style: C, initialFocus: y, finalFocus: m, ...x } = t, s = Le(), d = Zt(), k = Ot(), D = l(s, u.mounted), N = l(s, u.open), W = l(s, u.openMethod), v = l(s, u.popupProps), F = l(s, u.transitionStatus), h = l(s, u.inputInsidePopup), M = l(s, u.inputElement), r = l(s, u.modal), H = l(s, u.id), $ = jt(), V = x.id ?? (h ? Gn(H) : void 0);
1211
1211
  Fe(() => (s.set("popupId", s.state.popupRef.current?.id || V), () => {
1212
1212
  s.set("popupId", void 0);
1213
- }), [s, V]), Fn({
1213
+ }), [s, V]), _n({
1214
1214
  open: N,
1215
1215
  ref: s.state.popupRef,
1216
1216
  onComplete() {
@@ -1237,7 +1237,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1237
1237
  W !== "touch" && (We(s.state.listElement, O) || O === R.currentTarget) && s.state.inputRef.current?.focus();
1238
1238
  }
1239
1239
  },
1240
- qr(F),
1240
+ Hr(F),
1241
1241
  x
1242
1242
  ],
1243
1243
  stateAttributesMapping: hs
@@ -1245,7 +1245,7 @@ var ms = /* @__PURE__ */ o.forwardRef(function(t, n) {
1245
1245
  let P;
1246
1246
  m != null ? P = m : P = h ? void 0 : !1;
1247
1247
  const g = !h || r;
1248
- return /* @__PURE__ */ (0, i.jsx)(Dr, {
1248
+ return /* @__PURE__ */ (0, i.jsx)(Lr, {
1249
1249
  context: k,
1250
1250
  disabled: !D,
1251
1251
  modal: g,
@@ -1397,7 +1397,7 @@ function to(e) {
1397
1397
  });
1398
1398
  }
1399
1399
  function Rs(e) {
1400
- const { componentProps: t, forwardedRef: n } = e, c = Le(), b = l(c, u.isItemEqualToValue), { flatFilteredItems: C } = xt(), y = jr(C, t.value ?? null, b);
1400
+ const { componentProps: t, forwardedRef: n } = e, c = Le(), b = l(c, u.isItemEqualToValue), { flatFilteredItems: C } = xt(), y = Ar(C, t.value ?? null, b);
1401
1401
  return /* @__PURE__ */ (0, i.jsx)(to, {
1402
1402
  componentProps: t,
1403
1403
  forwardedRef: n,
@@ -1433,7 +1433,7 @@ var ws = /* @__PURE__ */ o.memo(/* @__PURE__ */ o.forwardRef(function(t, n) {
1433
1433
  });
1434
1434
  });
1435
1435
  function Ts({ item: e, size: t, disabled: n, customRender: c, onRemove: b }) {
1436
- return c ? /* @__PURE__ */ (0, i.jsx)(i.Fragment, { children: c(e, b) }) : /* @__PURE__ */ (0, i.jsx)(Tr, {
1436
+ return c ? /* @__PURE__ */ (0, i.jsx)(i.Fragment, { children: c(e, b) }) : /* @__PURE__ */ (0, i.jsx)($r, {
1437
1437
  size: As[t],
1438
1438
  variant: "outline",
1439
1439
  shape: "rounded",
@@ -1,7 +1,7 @@
1
1
  import { a as p } from "./rolldown-runtime.js";
2
2
  import { i as h, n as c } from "./vendor/react.js";
3
- import { t as d } from "./BarChart.js";
4
- import { c as u, s as o } from "./_shared.js";
3
+ import { c as d, s as o } from "./_shared.js";
4
+ import { t as u } from "./BarChart.js";
5
5
  var s = /* @__PURE__ */ p(h(), 1), _ = c(), i = {
6
6
  size: "string",
7
7
  data: "json",
@@ -53,7 +53,7 @@ var s = /* @__PURE__ */ p(h(), 1), _ = c(), i = {
53
53
  }
54
54
  _setProp(e, r) {
55
55
  const t = i[e] || "string";
56
- this._props[e] = u(r, t), this._render();
56
+ this._props[e] = d(r, t), this._render();
57
57
  }
58
58
  _getProp(e) {
59
59
  if (e in this._props) return this._props[e];
@@ -68,7 +68,7 @@ var s = /* @__PURE__ */ p(h(), 1), _ = c(), i = {
68
68
  const l = t.replace(/([A-Z])/g, "-$1").toLowerCase();
69
69
  e[t] = o(this.getAttribute(l), a);
70
70
  }
71
- const r = s.createElement(d, e, s.createElement("span", {
71
+ const r = s.createElement(u, e, s.createElement("span", {
72
72
  ref: (t) => {
73
73
  t && this._childrenContainer && t.replaceWith(this._childrenContainer);
74
74
  },
@@ -15,9 +15,9 @@ import { t as kt } from "./search.js";
15
15
  import { t as Dt } from "./trash-2.js";
16
16
  import { n as Tt, t as _t } from "./Avatar.js";
17
17
  import { t as St } from "./x.js";
18
- import { t as zt } from "./create-safe-context.js";
19
18
  import { n as M } from "./utils.js";
20
- import { c as Et, s as we } from "./_shared.js";
19
+ import { c as zt, s as we } from "./_shared.js";
20
+ import { t as Et } from "./create-safe-context.js";
21
21
  import { t as O } from "./button.js";
22
22
  import { t as Ot } from "./Input2.js";
23
23
  import { a as $t, i as Pt, n as It, o as At, r as Yt } from "./Select.js";
@@ -302,7 +302,7 @@ function ae({ onAddEvent: e, onExpand: t, onClose: n, className: s }) {
302
302
  });
303
303
  }
304
304
  ae.displayName = "CalendarActions";
305
- var [mn, V] = zt("Calendar"), pn = [];
305
+ var [mn, V] = Et("Calendar"), pn = [];
306
306
  function Ve(e) {
307
307
  return `${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`;
308
308
  }
@@ -1660,7 +1660,7 @@ var zn = bt(), H = {}, mt = class extends HTMLElement {
1660
1660
  }
1661
1661
  _setProp(e, t) {
1662
1662
  const n = H[e] || "string";
1663
- this._props[e] = Et(t, n), this._render();
1663
+ this._props[e] = zt(t, n), this._render();
1664
1664
  }
1665
1665
  _getProp(e) {
1666
1666
  if (e in this._props) return this._props[e];
@@ -6,8 +6,8 @@ import { t as Ce } from "./chevron-right.js";
6
6
  import { t as ye } from "./chevron-up.js";
7
7
  import { n as m } from "./utils.js";
8
8
  import { c as _e, s as F } from "./_shared.js";
9
- import { t as Ne } from "./use-controllable-state.js";
10
9
  import { t as Y } from "./button.js";
10
+ import { t as Ne } from "./use-controllable-state.js";
11
11
  var l = /* @__PURE__ */ he(ge(), 1), a = be(), K = [
12
12
  {
13
13
  id: "slide-1",
@@ -2,13 +2,13 @@ import { a as L } from "./rolldown-runtime.js";
2
2
  import { i as W, t as q } from "./vendor/react.js";
3
3
  import { t as C } from "./check.js";
4
4
  import { t as F } from "./chevron-right.js";
5
- import { t as J } from "./create-safe-context.js";
6
5
  import { n as i } from "./utils.js";
7
- import { a as V, i as X, l as b, o as Y, t as $, u as H } from "./_shared.js";
6
+ import { a as J, i as V, l as b, o as X, t as Y, u as $ } from "./_shared.js";
7
+ import { t as H } from "./create-safe-context.js";
8
8
  import { t as Q } from "./use-controllable-state.js";
9
9
  import { t as U } from "./Separator.js";
10
10
  import { a as Z, c as y, d as ee, f as te, h as oe, l as g, m as ne, n as ae, o as re, p as se, r as ie, s as ue, t as de, u as M } from "./MenuSubmenuTrigger.js";
11
- var d = /* @__PURE__ */ L(W(), 1), o = q(), [ce, N] = J("ContextMenu");
11
+ var d = /* @__PURE__ */ L(W(), 1), o = q(), [ce, N] = H("ContextMenu");
12
12
  function x({ children: e, anchorPoint: t, open: n, defaultOpen: r = !1, onOpenChange: p }) {
13
13
  const [a, u] = d.useState({
14
14
  x: 0,
@@ -268,24 +268,24 @@ var pe = Object.assign(x, {
268
268
  }), f = {
269
269
  open: "boolean",
270
270
  defaultOpen: "boolean"
271
- }, B = class extends $ {
271
+ }, B = class extends Y {
272
272
  get propDefs() {
273
273
  return f;
274
274
  }
275
275
  static get observedAttributes() {
276
- return Object.keys(f).map(X);
276
+ return Object.keys(f).map(V);
277
277
  }
278
278
  _renderReact() {
279
279
  const e = this._readAllProps(), t = this._getSlot("trigger"), n = this._getDefaultSlot();
280
280
  return d.createElement(pe, {
281
281
  open: e.open,
282
282
  defaultOpen: e.defaultOpen || !1,
283
- onOpenChange: (r) => V(this, "open-change", r)
283
+ onOpenChange: (r) => J(this, "open-change", r)
284
284
  }, t ? d.createElement(v, null, b(t)) : null, n ? d.createElement(h, null, b(n)) : null);
285
285
  }
286
286
  };
287
- Y(B, f);
288
- H("hf-context-menu", B);
287
+ X(B, f);
288
+ $("hf-context-menu", B);
289
289
  export {
290
290
  B as ContextMenuWC,
291
291
  B as default
@@ -1,11 +1,11 @@
1
1
  import { a as k } from "./rolldown-runtime.js";
2
2
  import { i as R, n as L, t as M } from "./vendor/react.js";
3
3
  import { t as S } from "./dist.js";
4
- import { n as G } from "./chart.js";
5
- import { a as d, i as $, o as _, t as F } from "./chart-data.js";
6
- import { c as Z, s as f } from "./_shared.js";
4
+ import { c as G, s as d } from "./_shared.js";
5
+ import { n as $ } from "./chart.js";
6
+ import { a as _, i as F, o as f, t as Z } from "./chart-data.js";
7
7
  import { t as q } from "./RadialChart.js";
8
- var c = /* @__PURE__ */ k(R(), 1), H = M(), g = G.slice(0, 3), Y = S("relative flex max-w-full items-center justify-center", {
8
+ var c = /* @__PURE__ */ k(R(), 1), H = M(), g = $.slice(0, 3), Y = S("relative flex max-w-full items-center justify-center", {
9
9
  variants: { size: {
10
10
  xs: "size-40",
11
11
  sm: "size-[200px]",
@@ -20,15 +20,15 @@ var c = /* @__PURE__ */ k(R(), 1), H = M(), g = G.slice(0, 3), Y = S("relative f
20
20
  lg: { dimension: 280 }
21
21
  };
22
22
  function b({ data: t, series: r, centerValue: e, centerLabel: a, legendPosition: o = "none", ringGap: y = 4, ringThickness: T, startAngle: E = 90, showTooltip: x = !0, size: h, className: A, "aria-label": z, ...N }) {
23
- const p = _(y, 4), m = $(E, 90), s = c.useMemo(() => t.map((l, i) => {
24
- const w = d(l.maxValue, 100), O = F(_(l.value) / w * 100);
23
+ const p = f(y, 4), m = F(E, 90), s = c.useMemo(() => t.map((l, i) => {
24
+ const w = _(l.maxValue, 100), O = Z(f(l.value) / w * 100);
25
25
  return {
26
26
  id: r?.[i]?.id || `ring_${i + 1}`,
27
27
  label: r?.[i]?.label || `Ring ${i + 1}`,
28
28
  value: O,
29
29
  color: l.color || g[i % g.length]
30
30
  };
31
- }), [t, r]), j = (C[h || "md"] ?? C.md).dimension / 2 - 4, D = e !== void 0 || a ? 30 : 10, P = Math.max(0, s.length - 1) * p, V = s.length > 0 ? Math.max(4, Math.floor((j - D - P) / s.length)) : 12, u = d(T, V);
31
+ }), [t, r]), j = (C[h || "md"] ?? C.md).dimension / 2 - 4, D = e !== void 0 || a ? 30 : 10, P = Math.max(0, s.length - 1) * p, V = s.length > 0 ? Math.max(4, Math.floor((j - D - P) / s.length)) : 12, u = _(T, V);
32
32
  return /* @__PURE__ */ (0, H.jsx)(q, {
33
33
  "data-slot": "donut-chart",
34
34
  data: s,
@@ -93,12 +93,12 @@ var I = L(), n = {
93
93
  }
94
94
  _setProp(t, r) {
95
95
  const e = n[t] || "string";
96
- this._props[t] = Z(r, e), this._render();
96
+ this._props[t] = G(r, e), this._render();
97
97
  }
98
98
  _getProp(t) {
99
99
  if (t in this._props) return this._props[t];
100
100
  const r = t.replace(/([A-Z])/g, "-$1").toLowerCase(), e = n[t] || "string";
101
- return f(this.getAttribute(r), e);
101
+ return d(this.getAttribute(r), e);
102
102
  }
103
103
  _render() {
104
104
  if (!this._root || !this._childrenContainer) return;
@@ -106,7 +106,7 @@ var I = L(), n = {
106
106
  for (const [e, a] of Object.entries(n)) if (e in this._props) t[e] = this._props[e];
107
107
  else {
108
108
  const o = e.replace(/([A-Z])/g, "-$1").toLowerCase();
109
- t[e] = f(this.getAttribute(o), a);
109
+ t[e] = d(this.getAttribute(o), a);
110
110
  }
111
111
  const r = c.createElement(b, t, c.createElement("span", {
112
112
  ref: (e) => {