@hybr1d-tech/charizard 1.1.2 → 1.1.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.
- package/dist/hybr1d-ui.js +16 -5
- package/dist/hybr1d-ui.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -3350,7 +3350,6 @@ function Hb({
|
|
|
3350
3350
|
},
|
|
3351
3351
|
formatGroupLabel: o,
|
|
3352
3352
|
menuPlacement: u,
|
|
3353
|
-
menuPortalTarget: document.body,
|
|
3354
3353
|
menuPosition: "fixed",
|
|
3355
3354
|
...h
|
|
3356
3355
|
}
|
|
@@ -9450,7 +9449,6 @@ function R7(e) {
|
|
|
9450
9449
|
onChange: d,
|
|
9451
9450
|
"data-variant": c,
|
|
9452
9451
|
"data-divider": r,
|
|
9453
|
-
menuPortalTarget: document.body,
|
|
9454
9452
|
menuPosition: "fixed",
|
|
9455
9453
|
...o
|
|
9456
9454
|
}
|
|
@@ -12453,13 +12451,26 @@ function xx({
|
|
|
12453
12451
|
...t
|
|
12454
12452
|
}) {
|
|
12455
12453
|
const [s, r] = i0(K4.machine({ ...t, id: g.useId() })), i = K4.connect(s, r, d0);
|
|
12456
|
-
|
|
12454
|
+
g.useEffect(() => {
|
|
12457
12455
|
t.checked !== void 0 && i.setChecked(t.checked);
|
|
12458
|
-
}, [t.checked])
|
|
12456
|
+
}, [t.checked]);
|
|
12457
|
+
const o = (d) => {
|
|
12458
|
+
d.stopPropagation();
|
|
12459
|
+
};
|
|
12460
|
+
return /* @__PURE__ */ a.jsxs("div", { children: [
|
|
12459
12461
|
/* @__PURE__ */ a.jsxs("div", { className: G2.container, children: [
|
|
12460
12462
|
/* @__PURE__ */ a.jsxs("label", { className: G2.labelContainer, ...i.getRootProps(), children: [
|
|
12461
12463
|
/* @__PURE__ */ a.jsx("input", { ...i.getHiddenInputProps() }),
|
|
12462
|
-
/* @__PURE__ */ a.jsx(
|
|
12464
|
+
/* @__PURE__ */ a.jsx(
|
|
12465
|
+
"span",
|
|
12466
|
+
{
|
|
12467
|
+
onClick: o,
|
|
12468
|
+
onTouchStart: o,
|
|
12469
|
+
className: G2.sliderContainer,
|
|
12470
|
+
...i.getControlProps(),
|
|
12471
|
+
children: /* @__PURE__ */ a.jsx("span", { className: G2.slider, ...i.getThumbProps() })
|
|
12472
|
+
}
|
|
12473
|
+
),
|
|
12463
12474
|
e && /* @__PURE__ */ a.jsx("div", { className: q(G2.label, "zap-content-medium"), ...i.getLabelProps(), children: e })
|
|
12464
12475
|
] }),
|
|
12465
12476
|
!!n && /* @__PURE__ */ a.jsx(
|