@hybr1d-tech/charizard 1.1.93 → 1.1.94
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 +11 -10
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -11651,22 +11651,23 @@ 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
|
|
11655
11656
|
}) => {
|
|
11656
|
-
const [
|
|
11657
|
+
const [r, i] = g0(
|
|
11657
11658
|
H4.machine({
|
|
11658
11659
|
id: l,
|
|
11659
11660
|
collapsible: !0,
|
|
11660
|
-
value: l ? [l] : [],
|
|
11661
|
-
multiple: t
|
|
11661
|
+
value: s ? g.Children.toArray(e).filter((u) => g.isValidElement(u)).map((u) => u.props.eventKey) : l ? [l] : [],
|
|
11662
|
+
multiple: t || s
|
|
11662
11663
|
})
|
|
11663
|
-
),
|
|
11664
|
+
), o = H4.connect(r, i, f0);
|
|
11664
11665
|
return g.useEffect(() => {
|
|
11665
|
-
J2.setState({ api:
|
|
11666
|
-
}, [
|
|
11667
|
-
const
|
|
11668
|
-
J2.getState().setActiveEventKey(
|
|
11669
|
-
}, [
|
|
11666
|
+
J2.setState({ api: o, state: r, send: i });
|
|
11667
|
+
}, [o, r, i]), g.useEffect(() => {
|
|
11668
|
+
const u = r.context.value || [];
|
|
11669
|
+
J2.getState().setActiveEventKey(u);
|
|
11670
|
+
}, [r]), /* @__PURE__ */ a.jsx("div", { ...o.getRootProps(), className: n, style: c, children: e });
|
|
11670
11671
|
};
|
|
11671
11672
|
_4.Item = ({ eventKey: e, children: l }) => {
|
|
11672
11673
|
const n = J2((c) => c.api);
|