@hybr1d-tech/charizard 0.7.134 → 0.7.135

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.
package/dist/hybr1d-ui.js CHANGED
@@ -12447,37 +12447,29 @@ const Bf = "_container_9b798_1", Ff = "_sliderContainer_9b798_12", Lf = "_slider
12447
12447
  infoIconContainer: Vf,
12448
12448
  infoIcon: Hf
12449
12449
  };
12450
- function tx({
12451
- children: e,
12452
- errorMsg: l,
12453
- infoIcon: n,
12454
- info: c = "",
12455
- tooltipProps: a = {},
12456
- ...s
12457
- }) {
12458
- const r = q.useId(), [i, o] = q0(Q4.machine({ ...s, id: q.useId() })), u = Q4.connect(i, o, f0);
12450
+ function tx({ children: e, errorMsg: l, tooltipProps: n = {}, ...c }) {
12451
+ const a = q.useId(), [s, r] = q0(Q4.machine({ ...c, id: q.useId() })), i = Q4.connect(s, r, f0);
12459
12452
  return q.useEffect(() => {
12460
- s.checked !== void 0 && u.setChecked(s.checked);
12461
- }, [s.checked]), /* @__PURE__ */ t.jsxs("div", { children: [
12462
- /* @__PURE__ */ t.jsxs("label", { className: Z2.container, ...u.getRootProps(), children: [
12463
- /* @__PURE__ */ t.jsx("input", { ...u.getHiddenInputProps() }),
12464
- /* @__PURE__ */ t.jsx("span", { className: Z2.sliderContainer, ...u.getControlProps(), children: /* @__PURE__ */ t.jsx("span", { className: Z2.slider, ...u.getThumbProps() }) }),
12465
- e && /* @__PURE__ */ t.jsx("div", { className: x(Z2.label, "zap-content-medium"), ...u.getLabelProps(), children: e }),
12466
- !!c && /* @__PURE__ */ t.jsx(
12453
+ c.checked !== void 0 && i.setChecked(c.checked);
12454
+ }, [c.checked]), /* @__PURE__ */ t.jsxs("div", { children: [
12455
+ /* @__PURE__ */ t.jsxs("label", { className: Z2.container, ...i.getRootProps(), children: [
12456
+ /* @__PURE__ */ t.jsx("input", { ...i.getHiddenInputProps() }),
12457
+ /* @__PURE__ */ t.jsx("span", { className: Z2.sliderContainer, ...i.getControlProps(), children: /* @__PURE__ */ t.jsx("span", { className: Z2.slider, ...i.getThumbProps() }) }),
12458
+ e && /* @__PURE__ */ t.jsx("div", { className: x(Z2.label, "zap-content-medium"), ...i.getLabelProps(), children: e }),
12459
+ !!n.content && /* @__PURE__ */ t.jsx(
12467
12460
  B1,
12468
12461
  {
12469
- ...a,
12470
- id: r,
12471
12462
  trigger: /* @__PURE__ */ t.jsx(
12472
12463
  R,
12473
12464
  {
12474
- ...n,
12475
- path: (n == null ? void 0 : n.path) || f3,
12476
- spanClassName: x(Z2.infoIconContainer, n == null ? void 0 : n.spanClassName),
12477
- svgClassName: x(Z2.infoIcon, n == null ? void 0 : n.svgClassName)
12465
+ path: f3,
12466
+ spanClassName: Z2.infoIconContainer,
12467
+ svgClassName: Z2.infoIcon
12478
12468
  }
12479
12469
  ),
12480
- content: c
12470
+ content: n.content,
12471
+ ...n,
12472
+ id: a
12481
12473
  }
12482
12474
  )
12483
12475
  ] }),