@n-uf/docking 26.12.4 → 26.12.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/index.js
CHANGED
package/dist/testing.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
stops,
|
|
19
19
|
storeDockState,
|
|
20
20
|
targets
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-367B5WJT.js";
|
|
22
22
|
|
|
23
23
|
// src/testing/rows-docking.ts
|
|
24
24
|
import { rect as r } from "@n-uf/placement";
|
|
@@ -2065,6 +2065,7 @@ function mapLayout(l, f2) {
|
|
|
2065
2065
|
stack: mapFit(e.stack, f2),
|
|
2066
2066
|
free: mapFit(e.free, f2),
|
|
2067
2067
|
menu: e.menu ? { ...e.menu, items: e.menu.items.map(f2) } : null,
|
|
2068
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- guard for stored layouts read from JSON that lack `items`
|
|
2068
2069
|
items: (e.items ?? []).map(f2),
|
|
2069
2070
|
tabs: e.tabs.map(f2),
|
|
2070
2071
|
...e.rides !== void 0 ? { rides: f2(e.rides) } : {}
|