1mpacto-react-ui 0.1.6 → 0.1.7

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/index.mjs CHANGED
@@ -24568,8 +24568,8 @@ const B$ = "_ripple_8mt4p_355", R$ = "_active_8mt4p_362", nn = {
24568
24568
  $ && $.remove(), I.appendChild(A), setTimeout(() => {
24569
24569
  A.remove();
24570
24570
  }, 500);
24571
- }, b = (D) => {
24572
- typeof g == "function" && g(D);
24571
+ }, b = (D, I) => {
24572
+ typeof g == "function" && g(D, I);
24573
24573
  };
24574
24574
  return O.useEffect(() => {
24575
24575
  function D() {
@@ -24586,9 +24586,9 @@ const B$ = "_ripple_8mt4p_355", R$ = "_active_8mt4p_362", nn = {
24586
24586
  if ((v != null && v[n] || t) && D >= 0) {
24587
24587
  E(D);
24588
24588
  const I = m == null ? void 0 : m.find((A) => A.id === (v == null ? void 0 : v[n]));
24589
- v != null && v[n] && I && !t && f && b(I);
24589
+ v != null && v[n] && I && !t && f && b(I, "mounted");
24590
24590
  }
24591
- D < 0 && f && b(m[0]);
24591
+ D < 0 && f && b(m[0], "mounted");
24592
24592
  }, [JSON.stringify(t), JSON.stringify(v == null ? void 0 : v[n])]), /* @__PURE__ */ N("div", { className: `${nn["container-tabs"]} ${c ? "1ru-opacity-50" : ""} ${a ?? ""}`, children: /* @__PURE__ */ ne(
24593
24593
  "div",
24594
24594
  {
@@ -24609,7 +24609,7 @@ const B$ = "_ripple_8mt4p_355", R$ = "_active_8mt4p_362", nn = {
24609
24609
  ${x === I ? nn.active : ""}`,
24610
24610
  disabled: c,
24611
24611
  onClick: (A) => {
24612
- y.isContainer.includes(s) || B(A), x != I && b(D);
24612
+ y.isContainer.includes(s) || B(A), x != I && b(D, "change");
24613
24613
  },
24614
24614
  children: D.label
24615
24615
  },
@@ -47629,7 +47629,7 @@ const RX = ({
47629
47629
  ] })
47630
47630
  ]
47631
47631
  }
47632
- ), XU = "0.1.6", cx = {
47632
+ ), XU = "0.1.7", cx = {
47633
47633
  version: XU
47634
47634
  }, ZU = ({ label: e }) => ({
47635
47635
  tinymceScriptSrc: `https://unpkg.com/1mpacto-react-ui@${cx.version}/dist/tinymce/js/tinymce/tinymce.min.js`,