@noya-app/noya-designsystem 0.1.59 → 0.1.60
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
[34mCLI[39m Target: esnext
|
|
8
8
|
[34mCJS[39m Build start
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m378.
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m786.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m400.
|
|
14
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m786.
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m378.31 KB[39m
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m786.25 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 211ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m400.86 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m786.11 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 213ms
|
|
16
16
|
DTS Build start
|
|
17
17
|
Browserslist: caniuse-lite is outdated. Please run:
|
|
18
18
|
npx update-browserslist-db@latest
|
|
@@ -20,8 +20,8 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
20
20
|
|
|
21
21
|
Rebuilding...
|
|
22
22
|
|
|
23
|
-
Done in
|
|
23
|
+
Done in 693ms.
|
|
24
24
|
|
|
25
|
-
DTS ⚡️ Build success in
|
|
25
|
+
DTS ⚡️ Build success in 6959ms
|
|
26
26
|
DTS dist/index.d.ts 96.96 KB
|
|
27
27
|
DTS dist/index.d.mts 96.96 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -452,6 +452,7 @@ var import_react8 = require("react");
|
|
|
452
452
|
|
|
453
453
|
// ../noya-react-utils/src/hooks/useIsomorphicLayoutEffect.ts
|
|
454
454
|
var React5 = __toESM(require("react"));
|
|
455
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React5.useLayoutEffect : React5.useEffect;
|
|
455
456
|
|
|
456
457
|
// ../noya-react-utils/src/hooks/useLateReference.ts
|
|
457
458
|
var import_react9 = require("react");
|
|
@@ -528,7 +529,7 @@ var noop2 = () => {
|
|
|
528
529
|
};
|
|
529
530
|
function useStableCallback(callback) {
|
|
530
531
|
const callbackRef = (0, import_react16.useRef)(callback || noop2);
|
|
531
|
-
(
|
|
532
|
+
useIsomorphicLayoutEffect(() => {
|
|
532
533
|
callbackRef.current = callback || noop2;
|
|
533
534
|
}, [callback]);
|
|
534
535
|
return (0, import_react16.useCallback)(
|