@purpurds/tabs 5.27.2 → 5.27.4
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/LICENSE.txt +2 -2
- package/dist/tabs.cjs.js +2 -2
- package/dist/tabs.cjs.js.map +1 -1
- package/dist/tabs.es.js +3 -3
- package/dist/tabs.es.js.map +1 -1
- package/package.json +6 -6
- package/src/tabs.stories.tsx +2 -0
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, {
|
|
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",
|