@purpurds/tabs 8.19.0 → 8.20.0

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/tabs.es.js CHANGED
@@ -176,7 +176,7 @@ function rt(e) {
176
176
  });
177
177
  return t.displayName = `${e}.SlotClone`, t;
178
178
  }
179
- var ot = Symbol("radix.slottable");
179
+ var ot = /* @__PURE__ */ Symbol("radix.slottable");
180
180
  function st(e) {
181
181
  return a.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ot;
182
182
  }
@@ -214,7 +214,9 @@ function at(e) {
214
214
  const u = e + "CollectionItemSlot", d = "data-radix-collection-item", _ = /* @__PURE__ */ se(u), g = O.forwardRef(
215
215
  (C, v) => {
216
216
  const { scope: y, children: R, ...h } = C, b = O.useRef(null), T = Z(v, b), E = n(u, y);
217
- return O.useEffect(() => (E.itemMap.set(b, { ref: b, ...h }), () => void E.itemMap.delete(b))), /* @__PURE__ */ m(_, { [d]: "", ref: T, children: R });
217
+ return O.useEffect(() => (E.itemMap.set(b, { ref: b, ...h }), () => {
218
+ E.itemMap.delete(b);
219
+ })), /* @__PURE__ */ m(_, { [d]: "", ref: T, children: R });
218
220
  }
219
221
  );
220
222
  g.displayName = u;
@@ -265,7 +267,7 @@ var dt = [
265
267
  ], L = dt.reduce((e, t) => {
266
268
  const r = /* @__PURE__ */ se(`Primitive.${t}`), o = a.forwardRef((s, n) => {
267
269
  const { asChild: c, ...i } = s, f = c ? r : t;
268
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(f, { ...i, ref: n });
270
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(f, { ...i, ref: n });
269
271
  });
270
272
  return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
271
273
  }, {});