@hybr1d-tech/charizard 1.1.93 → 1.1.95
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 +12 -10
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -11651,22 +11651,24 @@ const Vq = "_headerClass_z1shj_1", Bq = {
|
|
|
11651
11651
|
defaultActiveKey: l,
|
|
11652
11652
|
customClasses: n,
|
|
11653
11653
|
customStyle: c,
|
|
11654
|
-
isMulti: t = !1
|
|
11654
|
+
isMulti: t = !1,
|
|
11655
|
+
isOpenAll: s = !1,
|
|
11656
|
+
allEventKeys: r = []
|
|
11655
11657
|
}) => {
|
|
11656
|
-
const [
|
|
11658
|
+
const [i, o] = g0(
|
|
11657
11659
|
H4.machine({
|
|
11658
11660
|
id: l,
|
|
11659
11661
|
collapsible: !0,
|
|
11660
|
-
value: l ? [l] : [],
|
|
11661
|
-
multiple: t
|
|
11662
|
+
value: s ? r.map(String) : l ? [l] : [],
|
|
11663
|
+
multiple: t || s
|
|
11662
11664
|
})
|
|
11663
|
-
),
|
|
11665
|
+
), u = H4.connect(i, o, f0);
|
|
11664
11666
|
return g.useEffect(() => {
|
|
11665
|
-
J2.setState({ api:
|
|
11666
|
-
}, [
|
|
11667
|
-
const
|
|
11668
|
-
J2.getState().setActiveEventKey(
|
|
11669
|
-
}, [
|
|
11667
|
+
J2.setState({ api: u, state: i, send: o });
|
|
11668
|
+
}, [u, i, o]), g.useEffect(() => {
|
|
11669
|
+
const m = i.context.value || [];
|
|
11670
|
+
J2.getState().setActiveEventKey(m);
|
|
11671
|
+
}, [i]), /* @__PURE__ */ a.jsx("div", { ...u.getRootProps(), className: n, style: c, children: e });
|
|
11670
11672
|
};
|
|
11671
11673
|
_4.Item = ({ eventKey: e, children: l }) => {
|
|
11672
11674
|
const n = J2((c) => c.api);
|