@hybr1d-tech/charizard 1.1.2 → 1.1.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.
package/dist/hybr1d-ui.js CHANGED
@@ -12453,13 +12453,26 @@ function xx({
12453
12453
  ...t
12454
12454
  }) {
12455
12455
  const [s, r] = i0(K4.machine({ ...t, id: g.useId() })), i = K4.connect(s, r, d0);
12456
- return g.useEffect(() => {
12456
+ g.useEffect(() => {
12457
12457
  t.checked !== void 0 && i.setChecked(t.checked);
12458
- }, [t.checked]), /* @__PURE__ */ a.jsxs("div", { children: [
12458
+ }, [t.checked]);
12459
+ const o = (d) => {
12460
+ d.stopPropagation();
12461
+ };
12462
+ return /* @__PURE__ */ a.jsxs("div", { children: [
12459
12463
  /* @__PURE__ */ a.jsxs("div", { className: G2.container, children: [
12460
12464
  /* @__PURE__ */ a.jsxs("label", { className: G2.labelContainer, ...i.getRootProps(), children: [
12461
12465
  /* @__PURE__ */ a.jsx("input", { ...i.getHiddenInputProps() }),
12462
- /* @__PURE__ */ a.jsx("span", { className: G2.sliderContainer, ...i.getControlProps(), children: /* @__PURE__ */ a.jsx("span", { className: G2.slider, ...i.getThumbProps() }) }),
12466
+ /* @__PURE__ */ a.jsx(
12467
+ "span",
12468
+ {
12469
+ onClick: o,
12470
+ onTouchStart: o,
12471
+ className: G2.sliderContainer,
12472
+ ...i.getControlProps(),
12473
+ children: /* @__PURE__ */ a.jsx("span", { className: G2.slider, ...i.getThumbProps() })
12474
+ }
12475
+ ),
12463
12476
  e && /* @__PURE__ */ a.jsx("div", { className: q(G2.label, "zap-content-medium"), ...i.getLabelProps(), children: e })
12464
12477
  ] }),
12465
12478
  !!n && /* @__PURE__ */ a.jsx(