@purpurds/tabs 5.27.3 → 5.27.5

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
@@ -1,6 +1,6 @@
1
1
  import { jsx as T, jsxs as ee } from "react/jsx-runtime";
2
2
  import * as me from "react";
3
- import E, { useMemo as H, createElement as g, createContext as ne, useContext as _e, useCallback as U, forwardRef as w, Children as P, isValidElement as K, Fragment as qe, cloneElement as se, useLayoutEffect as Le, useEffect as N, useRef as R, useState as O, useReducer as Ue } from "react";
3
+ import E, { createContext as ne, useMemo as H, createElement as g, useContext as _e, useCallback as U, forwardRef as w, Children as P, isValidElement as K, cloneElement as se, Fragment as qe, useLayoutEffect as Le, useEffect as N, useRef as R, useState as O, useReducer as Ue } from "react";
4
4
  import { flushSync as Ve } from "react-dom";
5
5
  function Be(e) {
6
6
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -303,12 +303,12 @@ let ct = 0;
303
303
  function Ie(e) {
304
304
  const [t, n] = me.useState(ot());
305
305
  return oe(() => {
306
- n(
306
+ e || n(
307
307
  (o) => o ?? String(ct++)
308
308
  );
309
309
  }, [
310
310
  e
311
- ]), t ? `radix-${t}` : "";
311
+ ]), e || (t ? `radix-${t}` : "");
312
312
  }
313
313
  const st = [
314
314
  "a",