@hybr1d-tech/charizard 1.1.94 → 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 CHANGED
@@ -11652,22 +11652,23 @@ const Vq = "_headerClass_z1shj_1", Bq = {
11652
11652
  customClasses: n,
11653
11653
  customStyle: c,
11654
11654
  isMulti: t = !1,
11655
- isOpenAll: s = !1
11655
+ isOpenAll: s = !1,
11656
+ allEventKeys: r = []
11656
11657
  }) => {
11657
- const [r, i] = g0(
11658
+ const [i, o] = g0(
11658
11659
  H4.machine({
11659
11660
  id: l,
11660
11661
  collapsible: !0,
11661
- value: s ? g.Children.toArray(e).filter((u) => g.isValidElement(u)).map((u) => u.props.eventKey) : l ? [l] : [],
11662
+ value: s ? r.map(String) : l ? [l] : [],
11662
11663
  multiple: t || s
11663
11664
  })
11664
- ), o = H4.connect(r, i, f0);
11665
+ ), u = H4.connect(i, o, f0);
11665
11666
  return g.useEffect(() => {
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 });
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 });
11671
11672
  };
11672
11673
  _4.Item = ({ eventKey: e, children: l }) => {
11673
11674
  const n = J2((c) => c.api);