@noya-app/noya-designsystem 0.1.14 → 0.1.15
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 +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Sortable.tsx +9 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
[34mCLI[39m Target: esnext
|
|
6
6
|
[34mCJS[39m Build start
|
|
7
7
|
[34mESM[39m Build start
|
|
8
|
+
[32mCJS[39m [1mdist/index.js [22m[32m215.09 KB[39m
|
|
9
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m434.94 KB[39m
|
|
10
|
+
[32mCJS[39m ⚡️ Build success in 51ms
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m197.86 KB[39m
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m434.84 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 51ms
|
|
8
14
|
[34mDTS[39m Build start
|
|
9
|
-
[
|
|
10
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m434.70 KB[39m
|
|
11
|
-
[32mCJS[39m ⚡️ Build success in 235ms
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m197.72 KB[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m434.57 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 240ms
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in 7990ms
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 3708ms
|
|
16
16
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m56.57 KB[39m
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m56.57 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -4394,6 +4394,10 @@ function SortableRoot({
|
|
|
4394
4394
|
},
|
|
4395
4395
|
[acceptsDrop, axis, keys, onMoveItem, position.x, position.y]
|
|
4396
4396
|
);
|
|
4397
|
+
const [mounted, setMounted] = (0, import_react47.useState)(false);
|
|
4398
|
+
(0, import_react47.useEffect)(() => {
|
|
4399
|
+
setMounted(true);
|
|
4400
|
+
}, []);
|
|
4397
4401
|
return /* @__PURE__ */ import_react47.default.createElement(
|
|
4398
4402
|
SortableItemContext.Provider,
|
|
4399
4403
|
{
|
|
@@ -4418,7 +4422,7 @@ function SortableRoot({
|
|
|
4418
4422
|
onDragEnd: handleDragEnd
|
|
4419
4423
|
},
|
|
4420
4424
|
/* @__PURE__ */ import_react47.default.createElement(import_sortable.SortableContext, { items: keys, strategy: import_sortable.verticalListSortingStrategy }, children),
|
|
4421
|
-
renderOverlay && (0, import_react_dom2.createPortal)(
|
|
4425
|
+
mounted && renderOverlay && (0, import_react_dom2.createPortal)(
|
|
4422
4426
|
/* @__PURE__ */ import_react47.default.createElement(import_core.DragOverlay, { dropAnimation: null }, activeIndex !== void 0 && activeIndex >= 0 && renderOverlay(activeIndex)),
|
|
4423
4427
|
document.body
|
|
4424
4428
|
)
|