@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.
@@ -7,12 +7,12 @@
7
7
  CLI Target: esnext
8
8
  CJS Build start
9
9
  ESM Build start
10
- ESM dist/index.mjs 378.24 KB
11
- ESM dist/index.mjs.map 786.16 KB
12
- ESM ⚡️ Build success in 198ms
13
- CJS dist/index.js 400.76 KB
14
- CJS dist/index.js.map 786.00 KB
15
- CJS ⚡️ Build success in 199ms
10
+ ESM dist/index.mjs 378.31 KB
11
+ ESM dist/index.mjs.map 786.25 KB
12
+ ESM ⚡️ Build success in 211ms
13
+ CJS dist/index.js 400.86 KB
14
+ CJS dist/index.js.map 786.11 KB
15
+ CJS ⚡️ 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 552ms.
23
+ Done in 693ms.
24
24
 
25
- DTS ⚡️ Build success in 6309ms
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
@@ -1,5 +1,11 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.1.60
4
+
5
+ ### Patch Changes
6
+
7
+ - @noya-app/noya-colorpicker@0.1.24
8
+
3
9
  ## 0.1.59
4
10
 
5
11
  ### Patch Changes
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
- (0, import_react16.useLayoutEffect)(() => {
532
+ useIsomorphicLayoutEffect(() => {
532
533
  callbackRef.current = callback || noop2;
533
534
  }, [callback]);
534
535
  return (0, import_react16.useCallback)(