@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 +15 -23
- package/dist/hybr1d-ui.umd.cjs +13 -13
- package/dist/index.d.ts +6 -7
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
12461
|
-
}, [
|
|
12462
|
-
/* @__PURE__ */ t.jsxs("label", { className: Z2.container, ...
|
|
12463
|
-
/* @__PURE__ */ t.jsx("input", { ...
|
|
12464
|
-
/* @__PURE__ */ t.jsx("span", { className: Z2.sliderContainer, ...
|
|
12465
|
-
e && /* @__PURE__ */ t.jsx("div", { className: x(Z2.label, "zap-content-medium"), ...
|
|
12466
|
-
!!
|
|
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
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
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:
|
|
12470
|
+
content: n.content,
|
|
12471
|
+
...n,
|
|
12472
|
+
id: a
|
|
12481
12473
|
}
|
|
12482
12474
|
)
|
|
12483
12475
|
] }),
|