@hybr1d-tech/charizard 1.1.10 → 1.1.12

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
@@ -12507,10 +12507,12 @@ const Uf = "_headerClass_z1shj_1", Qf = {
12507
12507
  };
12508
12508
  k4.Item = ({ eventKey: e, children: l }) => {
12509
12509
  const n = e1((c) => c.api);
12510
- return /* @__PURE__ */ t.jsx("div", { ...n.getItemProps({ value: e }), children: l });
12510
+ if (n) return /* @__PURE__ */ t.jsx("div", { ...n.getItemProps({ value: e }), children: l });
12511
12511
  };
12512
12512
  k4.Header = ({ eventKey: e, children: l, customClasses: n, customStyle: c }) => {
12513
- const a = e1((d) => d.api), s = e1((d) => d.setActiveEventKey), { onClick: r, ...i } = a.getItemTriggerProps({ value: e }), o = (d) => {
12513
+ const a = e1((d) => d.api);
12514
+ if (!a) return;
12515
+ const s = e1((d) => d.setActiveEventKey), { onClick: r, ...i } = a.getItemTriggerProps({ value: e }), o = (d) => {
12514
12516
  r(d);
12515
12517
  const m = e1.getState().activeEventKey || [], v = m.includes(e) ? m.filter((h) => h !== e) : [...m, e];
12516
12518
  s(v);