@n-uf/placement 26.11.23 → 26.11.24
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/CHANGELOG.md +8 -0
- package/README.md +6 -3
- package/dist/{chunk-6WFVXHA3.js → chunk-XUC5BU4N.js} +8 -3
- package/dist/chunk-XUC5BU4N.js.map +1 -0
- package/dist/scene-cases.d.ts +1 -1
- package/dist/scene-cases.js +1 -1
- package/dist/scene.d.ts +2 -2
- package/dist/scene.js +3 -1
- package/dist/{targets-DgmHP5PY.d.ts → targets-DwwIWPpN.d.ts} +9 -5
- package/package.json +1 -1
- package/dist/chunk-6WFVXHA3.js.map +0 -1
package/dist/scene-cases.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { P as Point, R as Rect } from './geometry-mL-GTRti.js';
|
|
2
2
|
import { S as StackFormKind } from './model-DPTu2EtG.js';
|
|
3
|
-
import { S as Scene, a as ScenePlace, b as SceneLayout, c as StoredScene, Z as Zone, d as Side, e as SceneNoteCode, f as SceneTarget } from './targets-
|
|
3
|
+
import { S as Scene, a as ScenePlace, b as SceneLayout, c as StoredScene, Z as Zone, d as Side, e as SceneNoteCode, f as SceneTarget } from './targets-DwwIWPpN.js';
|
|
4
4
|
import './target-D3PiLg44.js';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/scene-cases.js
CHANGED
package/dist/scene.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Scene, g as SolveOptions, b as SceneLayout } from './targets-
|
|
2
|
-
export { C as ColumnPlace, h as ColumnTemplate, D as DEFAULT_FLOAT_SIZE, i as DEFAULT_HIT_BAND, j as DEFAULT_STRIP, k as DockPlace, E as Edge, F as FloatAnchor, l as FloatPlace, K as Kind, O as Orient, P as Place, R as RailPlace, m as RailSpec, n as SIDES, o as SceneAfter, p as SceneEdgeLayout, q as SceneFloat, r as SceneItem, s as SceneItemLayout, t as SceneNote, e as SceneNoteCode, a as ScenePlace, u as SceneRailLayout, v as SceneRead, w as SceneRefusal, f as SceneTarget, x as SceneTargetOptions, d as Side, c as StoredScene, y as StoredSceneEdge, z as StoredSceneFloat, A as StoredSceneItem, B as ZONES, Z as Zone, G as ZoneAccepts, H as close, I as dockHome, J as floatAt, L as floatOrientOf, M as floatSizeOf, N as fold, Q as homeFor, T as isOutsideSideBar, U as
|
|
1
|
+
import { S as Scene, g as SolveOptions, b as SceneLayout } from './targets-DwwIWPpN.js';
|
|
2
|
+
export { C as ColumnPlace, h as ColumnTemplate, D as DEFAULT_FLOAT_SIZE, i as DEFAULT_HIT_BAND, j as DEFAULT_STRIP, k as DockPlace, E as Edge, F as FloatAnchor, l as FloatPlace, K as Kind, O as Orient, P as Place, R as RailPlace, m as RailSpec, n as SIDES, o as SceneAfter, p as SceneEdgeLayout, q as SceneFloat, r as SceneItem, s as SceneItemLayout, t as SceneNote, e as SceneNoteCode, a as ScenePlace, u as SceneRailLayout, v as SceneRead, w as SceneRefusal, f as SceneTarget, x as SceneTargetOptions, d as Side, c as StoredScene, y as StoredSceneEdge, z as StoredSceneFloat, A as StoredSceneItem, B as ZONES, Z as Zone, G as ZoneAccepts, H as close, I as dockHome, J as floatAt, L as floatOrientOf, M as floatSizeOf, N as fold, Q as homeFor, T as isOutsideSideBar, U as isSideBar, V as keep, W as lift, X as moveTo, Y as open, _ as orient, $ as raise, a0 as readScene, a1 as refusals, a2 as reservedRect, a3 as resize, a4 as setSide, a5 as stops, a6 as storeScene, a7 as targets, a8 as use, a9 as zoneTakes, aa as zonesTaking } from './targets-DwwIWPpN.js';
|
|
3
3
|
import './geometry-mL-GTRti.js';
|
|
4
4
|
import './target-D3PiLg44.js';
|
|
5
5
|
import './model-DPTu2EtG.js';
|
package/dist/scene.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
fold,
|
|
13
13
|
homeFor,
|
|
14
14
|
isOutsideSideBar,
|
|
15
|
+
isSideBar,
|
|
15
16
|
keep,
|
|
16
17
|
lift,
|
|
17
18
|
moveTo,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
use,
|
|
31
32
|
zoneTakes,
|
|
32
33
|
zonesTaking
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XUC5BU4N.js";
|
|
34
35
|
import "./chunk-RL3QB5SM.js";
|
|
35
36
|
import "./chunk-QMTNB2C3.js";
|
|
36
37
|
export {
|
|
@@ -47,6 +48,7 @@ export {
|
|
|
47
48
|
fold,
|
|
48
49
|
homeFor,
|
|
49
50
|
isOutsideSideBar,
|
|
51
|
+
isSideBar,
|
|
50
52
|
keep,
|
|
51
53
|
lift,
|
|
52
54
|
moveTo,
|
|
@@ -419,12 +419,16 @@ declare const DEFAULT_HIT_BAND = 24;
|
|
|
419
419
|
/** A float's size when neither the item nor the call gives one, px. */
|
|
420
420
|
declare const DEFAULT_FLOAT_SIZE: Size;
|
|
421
421
|
/**
|
|
422
|
-
* A left or right toolbar bar outside the inset
|
|
423
|
-
* the side's
|
|
424
|
-
* nothing. A side with neither a column template nor a rail has nothing to tell them apart by, so no edge there is a
|
|
425
|
-
* bar. It lies outermost on its side, before the side's rail.
|
|
422
|
+
* A left or right toolbar bar outside the inset (`isSideBar` with `outsideInset`). It lies outermost on its side,
|
|
423
|
+
* before the side's rail.
|
|
426
424
|
*/
|
|
427
425
|
declare function isOutsideSideBar(scene: Scene, e: Edge): boolean;
|
|
426
|
+
/**
|
|
427
|
+
* A left or right toolbar bar: told from a column edge by its kinds, it takes something and nothing the side's columns
|
|
428
|
+
* or its rail take (`Scene.columns[side].accepts`, `Scene.rails[side].accepts`); an anchor takes nothing. A side with
|
|
429
|
+
* neither a column template nor a rail has nothing to tell them apart by, so no edge there is a bar.
|
|
430
|
+
*/
|
|
431
|
+
declare function isSideBar(scene: Scene, e: Edge): boolean;
|
|
428
432
|
/**
|
|
429
433
|
* The orient a float of `item` takes when it names none: its `floatOrient`, else the axis of its first form (the first
|
|
430
434
|
* of `forms.row` / `forms.column` it declares with any form), else column.
|
|
@@ -716,4 +720,4 @@ declare function refusals(scene: Scene, dragged: string, options?: SceneTargetOp
|
|
|
716
720
|
*/
|
|
717
721
|
declare function stops(scene: Scene, dragged: string, options?: SceneTargetOptions): SceneTarget[];
|
|
718
722
|
|
|
719
|
-
export {
|
|
723
|
+
export { raise as $, type StoredSceneItem as A, ZONES as B, type ColumnPlace as C, DEFAULT_FLOAT_SIZE as D, type Edge as E, type FloatAnchor as F, type ZoneAccepts as G, close as H, dockHome as I, floatAt as J, type Kind as K, floatOrientOf as L, floatSizeOf as M, fold as N, type Orient as O, type Place as P, homeFor as Q, type RailPlace as R, type Scene as S, isOutsideSideBar as T, isSideBar as U, keep as V, lift as W, moveTo as X, open as Y, type Zone as Z, orient as _, type ScenePlace as a, readScene as a0, refusals as a1, reservedRect as a2, resize as a3, setSide as a4, stops as a5, storeScene as a6, targets as a7, use as a8, zoneTakes as a9, zonesTaking as aa, type SceneLayout as b, type StoredScene as c, type Side as d, type SceneNoteCode as e, type SceneTarget as f, type SolveOptions as g, type ColumnTemplate as h, DEFAULT_HIT_BAND as i, DEFAULT_STRIP as j, type DockPlace as k, type FloatPlace as l, type RailSpec as m, SIDES as n, type SceneAfter as o, type SceneEdgeLayout as p, type SceneFloat as q, type SceneItem as r, type SceneItemLayout as s, type SceneNote as t, type SceneRailLayout as u, type SceneRead as v, type SceneRefusal as w, type SceneTargetOptions as x, type StoredSceneEdge as y, type StoredSceneFloat as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n-uf/placement",
|
|
3
|
-
"version": "26.11.
|
|
3
|
+
"version": "26.11.24",
|
|
4
4
|
"description": "Where things go: desk docks, rails and palettes, panel columns, toolbar groups, and the drop targets for each. Pure state in, rects out. No DOM, no framework, no motion.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layout",
|