@gjermundgaraba-designs/pixel-paper 0.22.2 → 0.23.0
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/DESIGN.md +13 -13
- package/dist/src/adapters/mermaid.d.ts.map +1 -1
- package/dist/src/adapters/mermaid.js +0 -24
- package/dist/src/announcer/announcer.d.ts.map +1 -1
- package/dist/src/announcer/announcer.js +12 -12
- package/dist/src/board/board.d.ts +0 -10
- package/dist/src/board/board.d.ts.map +1 -1
- package/dist/src/board/board.js +36 -64
- package/dist/src/board/index.d.ts +2 -1
- package/dist/src/board/index.d.ts.map +1 -1
- package/dist/src/board/index.js +2 -1
- package/dist/src/button/button.d.ts +1 -1
- package/dist/src/button/button.d.ts.map +1 -1
- package/dist/src/commandPalette/commandPalette.d.ts.map +1 -1
- package/dist/src/commandPalette/commandPalette.js +78 -83
- package/dist/src/commandPalette/keys.d.ts +2 -2
- package/dist/src/commandPalette/keys.d.ts.map +1 -1
- package/dist/src/commandPalette/keys.js +2 -4
- package/dist/src/commandPalette/match.d.ts.map +1 -1
- package/dist/src/commandPalette/match.js +2 -2
- package/dist/src/confirmDialog/confirmDialog.d.ts.map +1 -1
- package/dist/src/confirmDialog/confirmDialog.js +1 -2
- package/dist/src/copyButton/copyButton.d.ts +0 -5
- package/dist/src/copyButton/copyButton.d.ts.map +1 -1
- package/dist/src/copyButton/copyButton.js +2 -2
- package/dist/src/crumbs/crumbs.d.ts +0 -2
- package/dist/src/crumbs/crumbs.d.ts.map +1 -1
- package/dist/src/crumbs/crumbs.js +2 -2
- package/dist/src/dialog/dialog.d.ts +2 -0
- package/dist/src/dialog/dialog.d.ts.map +1 -1
- package/dist/src/dialog/dialog.js +3 -2
- package/dist/src/drag/drag.d.ts +28 -0
- package/dist/src/drag/drag.d.ts.map +1 -1
- package/dist/src/drag/drag.js +39 -17
- package/dist/src/editableTitle/editableTitle.d.ts +4 -4
- package/dist/src/field/field.d.ts +7 -1
- package/dist/src/field/field.d.ts.map +1 -1
- package/dist/src/field/field.js +14 -6
- package/dist/src/fieldset/fieldset.d.ts.map +1 -1
- package/dist/src/fieldset/fieldset.js +2 -4
- package/dist/src/fileTree/fileTree.d.ts.map +1 -1
- package/dist/src/fileTree/fileTree.js +16 -16
- package/dist/src/inlineInput/inlineInput.d.ts +4 -0
- package/dist/src/inlineInput/inlineInput.d.ts.map +1 -1
- package/dist/src/inlineInput/inlineInput.js +9 -6
- package/dist/src/keyHelp/index.d.ts +1 -1
- package/dist/src/keyHelp/index.d.ts.map +1 -1
- package/dist/src/keyHelp/index.js +1 -1
- package/dist/src/keyHelp/keyHelp.d.ts +1 -3
- package/dist/src/keyHelp/keyHelp.d.ts.map +1 -1
- package/dist/src/keyHelp/keyHelp.js +3 -6
- package/dist/src/keyHint/keyLabel.d.ts +2 -0
- package/dist/src/keyHint/keyLabel.d.ts.map +1 -1
- package/dist/src/keyHint/keyLabel.js +3 -2
- package/dist/src/lineDiff/diff.d.ts +6 -3
- package/dist/src/lineDiff/diff.d.ts.map +1 -1
- package/dist/src/lineDiff/diff.js +40 -28
- package/dist/src/lineDiff/patch.d.ts.map +1 -1
- package/dist/src/lineDiff/patch.js +18 -13
- package/dist/src/linkState/linkState.d.ts.map +1 -1
- package/dist/src/linkState/linkState.js +1 -7
- package/dist/src/menu/slip.js +2 -2
- package/dist/src/meter/meter.d.ts.map +1 -1
- package/dist/src/meter/meter.js +22 -17
- package/dist/src/notice/notice.d.ts +2 -0
- package/dist/src/notice/notice.d.ts.map +1 -1
- package/dist/src/notice/notice.js +2 -1
- package/dist/src/passwordField/passwordField.d.ts.map +1 -1
- package/dist/src/passwordField/passwordField.js +3 -7
- package/dist/src/rail/rail.d.ts +17 -3
- package/dist/src/rail/rail.d.ts.map +1 -1
- package/dist/src/rail/rail.js +6 -6
- package/dist/src/reel/layout.d.ts +9 -5
- package/dist/src/reel/layout.d.ts.map +1 -1
- package/dist/src/reel/layout.js +11 -5
- package/dist/src/reel/reel.d.ts.map +1 -1
- package/dist/src/reel/reel.js +122 -68
- package/dist/src/scheme/scheme.d.ts +1 -1
- package/dist/src/scheme/scheme.d.ts.map +1 -1
- package/dist/src/segmented/segmented.d.ts +0 -3
- package/dist/src/segmented/segmented.d.ts.map +1 -1
- package/dist/src/segmented/segmented.js +1 -6
- package/dist/src/selectField/selectField.d.ts.map +1 -1
- package/dist/src/selectField/selectField.js +3 -10
- package/dist/src/sortable/index.d.ts +1 -1
- package/dist/src/sortable/index.d.ts.map +1 -1
- package/dist/src/sortable/index.js +1 -1
- package/dist/src/sortable/sortable.d.ts +39 -40
- package/dist/src/sortable/sortable.d.ts.map +1 -1
- package/dist/src/sortable/sortable.js +14 -31
- package/dist/src/stack/stack.d.ts +1 -1
- package/dist/src/stack/stack.d.ts.map +1 -1
- package/dist/src/stack/stack.js +1 -1
- package/dist/src/tabs/tabs.d.ts +1 -1
- package/dist/src/tabs/tabs.d.ts.map +1 -1
- package/dist/src/tabs/tabs.js +1 -1
- package/dist/src/textareaField/textareaField.d.ts.map +1 -1
- package/dist/src/textareaField/textareaField.js +3 -7
- package/dist/src/time/time.d.ts.map +1 -1
- package/dist/src/time/time.js +4 -2
- package/dist/src/tips/index.d.ts +1 -1
- package/dist/src/tips/index.d.ts.map +1 -1
- package/dist/src/toast/index.d.ts +1 -1
- package/dist/src/toast/index.d.ts.map +1 -1
- package/dist/src/toast/toast.d.ts +5 -5
- package/dist/src/toast/toast.d.ts.map +1 -1
- package/dist/src/toast/toast.js +1 -6
- package/dist/src/toolbar/toolbar.d.ts +0 -3
- package/dist/src/toolbar/toolbar.d.ts.map +1 -1
- package/dist/src/toolbar/toolbar.js +1 -2
- package/package.json +1 -1
- package/src/adapters/mermaid.ts +0 -24
- package/src/announcer/announcer.ts +13 -17
- package/src/board/board.ts +32 -80
- package/src/board/index.ts +1 -1
- package/src/button/button.ts +1 -1
- package/src/commandPalette/commandPalette.ts +21 -38
- package/src/commandPalette/keys.ts +2 -4
- package/src/commandPalette/match.ts +3 -3
- package/src/confirmDialog/confirmDialog.ts +5 -3
- package/src/copyButton/copyButton.ts +2 -5
- package/src/crumbs/crumbs.ts +2 -4
- package/src/dialog/dialog.ts +3 -2
- package/src/drag/drag.ts +54 -5
- package/src/field/field.ts +29 -7
- package/src/fieldset/fieldset.ts +2 -4
- package/src/fileTree/fileTree.ts +10 -12
- package/src/inlineInput/inlineInput.ts +11 -2
- package/src/keyHelp/index.ts +0 -1
- package/src/keyHelp/keyHelp.ts +3 -9
- package/src/keyHint/keyLabel.ts +5 -2
- package/src/lineDiff/diff.ts +70 -54
- package/src/lineDiff/patch.ts +27 -14
- package/src/linkState/linkState.ts +1 -8
- package/src/menu/slip.ts +2 -2
- package/src/meter/meter.ts +25 -15
- package/src/notice/notice.ts +2 -1
- package/src/passwordField/passwordField.ts +3 -7
- package/src/pixel-paper.css +82 -131
- package/src/rail/rail.ts +8 -6
- package/src/reel/layout.ts +14 -7
- package/src/reel/reel.ts +132 -63
- package/src/scheme/scheme.ts +1 -1
- package/src/segmented/segmented.ts +1 -9
- package/src/selectField/selectField.ts +3 -10
- package/src/sortable/index.ts +0 -1
- package/src/sortable/sortable.ts +35 -54
- package/src/stack/stack.ts +1 -1
- package/src/tabs/tabs.ts +1 -1
- package/src/textareaField/textareaField.ts +3 -7
- package/src/time/time.ts +6 -7
- package/src/tips/index.ts +1 -1
- package/src/toast/index.ts +1 -1
- package/src/toast/toast.ts +2 -8
- package/src/tokens.css +6 -0
- package/src/toolbar/toolbar.ts +0 -5
- package/dist/src/inlineInput/inline.d.ts +0 -6
- package/dist/src/inlineInput/inline.d.ts.map +0 -1
- package/dist/src/inlineInput/inline.js +0 -7
- package/src/inlineInput/inline.ts +0 -13
|
@@ -2,7 +2,7 @@ import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
|
2
2
|
import { Input as UiInput } from "@foldkit/ui";
|
|
3
3
|
import { Match, Schema } from "effect";
|
|
4
4
|
import { pressedAttribute } from "../button/button.js";
|
|
5
|
-
import {
|
|
5
|
+
import { controlAttributes, errorView, helpView } from "../field/field.js";
|
|
6
6
|
import * as IconButton from "../iconButton/iconButton.js";
|
|
7
7
|
import * as Meter from "../meter/meter.js";
|
|
8
8
|
// STRENGTH
|
|
@@ -27,12 +27,10 @@ export const view = (config, h) => {
|
|
|
27
27
|
toView: (groups) => __foldkitBrandViewResult((h.div([h.Class("field boxed")], [
|
|
28
28
|
h.label(groups.label, [label]),
|
|
29
29
|
h.span([h.Class("password")], [
|
|
30
|
-
// NOTE: @foldkit/ui gap: Input has no required option, so the wrapper says it.
|
|
31
30
|
h.input([
|
|
32
31
|
...groups.input,
|
|
33
32
|
h.Autocomplete(autocomplete),
|
|
34
|
-
...
|
|
35
|
-
...(isRequired ? [h.AriaRequired(true)] : []),
|
|
33
|
+
...controlAttributes(id, error, help, isRequired, h),
|
|
36
34
|
]),
|
|
37
35
|
IconButton.view({
|
|
38
36
|
glyph: isShown ? "eye-off" : "eye",
|
|
@@ -58,9 +56,7 @@ export const view = (config, h) => {
|
|
|
58
56
|
h.span([h.Class("age")], [strengthWord(strength)]),
|
|
59
57
|
]),
|
|
60
58
|
]),
|
|
61
|
-
...(help
|
|
62
|
-
? []
|
|
63
|
-
: [h.p([...groups.description, h.Class("field-help")], [help])]),
|
|
59
|
+
...helpView(help, groups.description, h),
|
|
64
60
|
])), "@gjermundgaraba-designs/pixel-paper/src/passwordField/passwordField.js#toView"),
|
|
65
61
|
}, h)), "@gjermundgaraba-designs/pixel-paper/src/passwordField/passwordField.js#view");
|
|
66
62
|
};
|
package/dist/src/rail/rail.d.ts
CHANGED
|
@@ -63,6 +63,18 @@ export type InitConfig = Readonly<{
|
|
|
63
63
|
}>;
|
|
64
64
|
/** Creates a rail, closed, its splitter at rest. */
|
|
65
65
|
export declare const init: (config: InitConfig) => Model;
|
|
66
|
+
/** The rail's widths, in pixels: before the reader sizes it (as the stylesheet's `--rail` has
|
|
67
|
+
* it, which the splitter says as its value until a width is given), the least its panels
|
|
68
|
+
* still fit in (a tree's row keeps a glyph, a dot and a few words of its title), the most
|
|
69
|
+
* (which leaves the deck at least 421px of a 901px window, the narrowest one the rail stands
|
|
70
|
+
* in, more than a phone has), and what an arrow on its splitter moves it. The bounds and the
|
|
71
|
+
* step are the component's, not tokens: the splitter says them as its values. */
|
|
72
|
+
export declare const WIDTH: {
|
|
73
|
+
start: number;
|
|
74
|
+
least: number;
|
|
75
|
+
most: number;
|
|
76
|
+
step: number;
|
|
77
|
+
};
|
|
66
78
|
/** The rail's id, unique in the document. */
|
|
67
79
|
export declare const id: (model: Model) => string;
|
|
68
80
|
/** Whether the rail is open as a drawer: a parent pauses its own page keys while it is. */
|
|
@@ -140,6 +152,8 @@ export declare const update: (model: Model, message: Message) => Readonly<{
|
|
|
140
152
|
};
|
|
141
153
|
}>;
|
|
142
154
|
type DrawerMessage = typeof Message.ClosedDrawer.Type | typeof Message.BlurredDrawer.Type | typeof Message.WidenedPastDrawer.Type;
|
|
155
|
+
/** The width at and under which the rail is a drawer, as the stylesheet has it. */
|
|
156
|
+
export declare const DRAWER_QUERY = "(max-width: 900px)";
|
|
143
157
|
/** The window crossing the drawer's width: growing past it while the drawer is open closes
|
|
144
158
|
* the drawer, since the rail is back in the page there. */
|
|
145
159
|
export declare const widthChangeMessage: (isDrawerWidth: boolean, isDrawerOpen: boolean) => Option.Option<DrawerMessage>;
|
|
@@ -287,9 +301,9 @@ export type ViewInputs = Readonly<{
|
|
|
287
301
|
*
|
|
288
302
|
* Its splitter sizes it, by a pointer (previewed as it moves) or the side arrows, within its
|
|
289
303
|
* bounds, and reports the width as `ResizedRail` for the parent to keep and pass back as
|
|
290
|
-
* `maybeWidth`, which the view sets as `--
|
|
291
|
-
* rail's width follow it. The drawer keeps its own width. Lift
|
|
292
|
-
* the application's, or a dragged splitter follows nothing.
|
|
304
|
+
* `maybeWidth`, which the view sets as `--railed-width` on `div.railed`, so the page's padding
|
|
305
|
+
* and the rail's width follow it (without one, `--rail`). The drawer keeps its own width. Lift
|
|
306
|
+
* `subscriptions(keyPrefix)` into the application's, or a dragged splitter follows nothing.
|
|
293
307
|
*
|
|
294
308
|
* Its state is its own, not `@foldkit/ui`'s Popover: that panel is placed by Floating UI and
|
|
295
309
|
* rendered only while open, and this one is always in the page, placed by the stylesheet, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rail.d.ts","sourceRoot":"","sources":["../../../src/rail/rail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAU,MAAM,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AAC9E,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAE3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAIvC,OAAO,KAAK,YAAY,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAkB9C;;oBAEoB;AACpB,eAAO,MAAM,KAAK;;;;;;;;;EAIhB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAC;AAItC;;0FAE0F;AAC1F,eAAO,MAAM,OAAO;;;QAEC,SAAS;QAAiB,OAAO;QAAiB,KAAK;;;QACzD,OAAO;;;QACJ,OAAO;;;;;QAGL,KAAK;;;;;;;;EAO3B,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAC;AAE1C;;iDAEiD;AACjD,eAAO,MAAM,UAAU;;QACN,KAAK;;EACpB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAC;AAIhD;gBACgB;AAChB,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAElD,oDAAoD;AACpD,eAAO,MAAM,IAAI,WAAY,UAAU,KAAG,KAIxC,CAAC;
|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,MAAM,SAAS,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAC5B,CAAC;AAI3C,8EAA8E;AAC9E,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC;6BACyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;uEAEmE;IACnE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClC;;uFAEmF;IACnF,WAAW,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,CAAC;IACvC;;4DAEwD;IACxD,UAAU,EAAE,CAAC,UAAU,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArCf;6BACyB;WAClB,MAAM;IACb;;uEAEmE;gBACvD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IACjC;;uFAEmF;iBACtE,MAAM,aAAa,CAAC,IAAI,CAAC;IACtC;;4DAEwD;gBAC5C,CAAC,UAAU,EAAE,IAAI,KAAK,IAAI;GA2GtC,CAAC"}
|
package/dist/src/rail/rail.js
CHANGED
|
@@ -67,7 +67,7 @@ export const init = (config) => (__foldkitBrandViewResult(({
|
|
|
67
67
|
* (which leaves the deck at least 421px of a 901px window, the narrowest one the rail stands
|
|
68
68
|
* in, more than a phone has), and what an arrow on its splitter moves it. The bounds and the
|
|
69
69
|
* step are the component's, not tokens: the splitter says them as its values. */
|
|
70
|
-
const WIDTH = { start: 272, least: 220, most: 480, step: 16 };
|
|
70
|
+
export const WIDTH = { start: 272, least: 220, most: 480, step: 16 };
|
|
71
71
|
const bounded = (width) => __foldkitBrandViewResult((Math.round(Number.clamp(width, { minimum: WIDTH.least, maximum: WIDTH.most }))), "@gjermundgaraba-designs/pixel-paper/src/rail/rail.js#bounded");
|
|
72
72
|
// ACCESSORS
|
|
73
73
|
/** The rail's id, unique in the document. */
|
|
@@ -160,7 +160,7 @@ export const update = (model, message) => __foldkitBrandViewResult((Message.matc
|
|
|
160
160
|
CompletedHideRailDrawer: () => (__foldkitBrandViewResult(({ model }), "@gjermundgaraba-designs/pixel-paper/src/rail/rail.js#CompletedHideRailDrawer")),
|
|
161
161
|
})), "@gjermundgaraba-designs/pixel-paper/src/rail/rail.js#update");
|
|
162
162
|
/** The width at and under which the rail is a drawer, as the stylesheet has it. */
|
|
163
|
-
const DRAWER_QUERY = "(max-width: 900px)";
|
|
163
|
+
export const DRAWER_QUERY = "(max-width: 900px)";
|
|
164
164
|
/** The window crossing the drawer's width: growing past it while the drawer is open closes
|
|
165
165
|
* the drawer, since the rail is back in the page there. */
|
|
166
166
|
export const widthChangeMessage = (isDrawerWidth, isDrawerOpen) => __foldkitBrandViewResult((!isDrawerWidth && isDrawerOpen ? Option.some(Message.WidenedPastDrawer()) : Option.none()), "@gjermundgaraba-designs/pixel-paper/src/rail/rail.js#widthChangeMessage");
|
|
@@ -233,9 +233,9 @@ export const subscriptions = (keyPrefix) => __foldkitBrandViewResult((prefixKeys
|
|
|
233
233
|
*
|
|
234
234
|
* Its splitter sizes it, by a pointer (previewed as it moves) or the side arrows, within its
|
|
235
235
|
* bounds, and reports the width as `ResizedRail` for the parent to keep and pass back as
|
|
236
|
-
* `maybeWidth`, which the view sets as `--
|
|
237
|
-
* rail's width follow it. The drawer keeps its own width. Lift
|
|
238
|
-
* the application's, or a dragged splitter follows nothing.
|
|
236
|
+
* `maybeWidth`, which the view sets as `--railed-width` on `div.railed`, so the page's padding
|
|
237
|
+
* and the rail's width follow it (without one, `--rail`). The drawer keeps its own width. Lift
|
|
238
|
+
* `subscriptions(keyPrefix)` into the application's, or a dragged splitter follows nothing.
|
|
239
239
|
*
|
|
240
240
|
* Its state is its own, not `@foldkit/ui`'s Popover: that panel is placed by Floating UI and
|
|
241
241
|
* rendered only while open, and this one is always in the page, placed by the stylesheet, and
|
|
@@ -262,7 +262,7 @@ export const view = defineView((model, viewInputs, h) => {
|
|
|
262
262
|
// panels in reading order; the stylesheet places the rail, fixed, at the left.
|
|
263
263
|
return __foldkitBrandViewResult((h.div([
|
|
264
264
|
h.Class("railed"),
|
|
265
|
-
...Array.fromOption(Option.map(maybeWidth, (shown) => __foldkitBrandViewResult((h.Style({ "--
|
|
265
|
+
...Array.fromOption(Option.map(maybeWidth, (shown) => __foldkitBrandViewResult((h.Style({ "--railed-width": `${shown}px` })), "@gjermundgaraba-designs/pixel-paper/src/rail/rail.js#anonymous~17"))),
|
|
266
266
|
], [
|
|
267
267
|
toDeckView(openButton),
|
|
268
268
|
h.aside([
|
|
@@ -122,6 +122,9 @@ export declare const firstPlace: (layout: Layout) => Option.Option<Place>;
|
|
|
122
122
|
* for it. A request naming a pane or column the layout no longer has changes nothing.
|
|
123
123
|
*/
|
|
124
124
|
export declare const apply: (layout: Layout, request: OutMessage) => Layout;
|
|
125
|
+
/** Whether `request` changes `layout`: a move, a drop or a stop that would leave it as it is
|
|
126
|
+
* is passed over. */
|
|
127
|
+
export declare const isChange: (layout: Layout, request: OutMessage) => boolean;
|
|
125
128
|
export declare const widthWords: (width: number) => string;
|
|
126
129
|
/** The next preset wider than `width`, or the narrowest past the widest. */
|
|
127
130
|
export declare const nextPreset: (width: number) => number;
|
|
@@ -152,19 +155,20 @@ export declare const isTargetPresent: (layout: Layout, target: Target) => boolea
|
|
|
152
155
|
* with nothing further that way, it stays (where the pane started, if the target's column has
|
|
153
156
|
* gone). */
|
|
154
157
|
export declare const steppedTarget: (layout: Layout, paneId: string, target: Target, step: Step) => Target;
|
|
155
|
-
/** A column as a pointer reads it: its id
|
|
156
|
-
* of its slots, the held pane's left out. */
|
|
158
|
+
/** A column as a pointer reads it: its id and its left and right edges. */
|
|
157
159
|
export type ColumnBox = Readonly<{
|
|
158
160
|
id: string;
|
|
159
161
|
left: number;
|
|
160
162
|
right: number;
|
|
161
|
-
slotMiddles: ReadonlyArray<number>;
|
|
162
163
|
}>;
|
|
163
164
|
/** Where a pointer at (`clientX`, `clientY`) over a reel whose columns sit at `columns`, left
|
|
164
165
|
* to right, would drop a pane. Over a column's edge band (or over a gap, or past the last
|
|
165
166
|
* column) it lands in that gap, as a column of its own; over the rest of a column it lands
|
|
166
|
-
* among that column's other panes, after each whose middle is above the pointer.
|
|
167
|
-
|
|
167
|
+
* among that column's other panes, after each whose middle is above the pointer.
|
|
168
|
+
* `slotMiddlesOf` gives the vertical middles of a column's slots, by its index, the held
|
|
169
|
+
* pane's left out: it is asked for the column the pointer is over alone, and only when the
|
|
170
|
+
* pointer is among its panes. */
|
|
171
|
+
export declare const targetAtPoint: (columns: ReadonlyArray<ColumnBox>, clientX: number, clientY: number, slotMiddlesOf: (index: number) => ReadonlyArray<number>) => Target;
|
|
168
172
|
/** What moving `splitter` by `share` asks of the layout, from the sizes the layout holds (not
|
|
169
173
|
* the sizes printed, which the stylesheet may hold at a minimum): a width splitter adds
|
|
170
174
|
* `share` to its column's width; a pane splitter moves `share` of its column's height from
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/reel/layout.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+B,MAAM,EAAqB,MAAM,EAAQ,MAAM,QAAQ,CAAC;AAQ9F;;sEAEsE;AACtE,eAAO,MAAM,IAAI;;;;EAIf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,CAAC;AAEpC;;;oFAGoF;AACpF,eAAO,MAAM,MAAM;;;;;;;;EAIjB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC;AAExC,yFAAyF;AACzF,eAAO,MAAM,MAAM;;;;;;;;GAAuB,CAAC;AAC3C,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,CAA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AO,MAAM,aAAa,YACf,aAAa,CAAC,SAAS,CAAC,WACxB,MAAM,WACN,MAAM,iBACA,CAAC,KAAK,EAAE,MAAM,KAAK,aAAa,CAAC,MAAM,CAAC,KACtD,MAoBA,CAAC;AAuBJ;;;;+CAI+C;AAC/C,eAAO,MAAM,QAAQ,WACX,MAAM,YACJ,QAAQ,SACX,MAAM,KACZ,MAAM,CAAC,MAAM,CAAC,MAAM,CAmCnB,CAAC;AAEL,0DAA0D;AAC1D,eAAO,MAAM,iBAAiB,WAAY,MAAM,YAAY,QAAQ,KAAG,OACzB,CAAC"}
|
package/dist/src/reel/layout.js
CHANGED
|
@@ -158,6 +158,9 @@ export const apply = (layout, request) => __foldkitBrandViewResult((OutMessage.m
|
|
|
158
158
|
}), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~18"))),
|
|
159
159
|
}), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~17")))), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#ResizedPanes"),
|
|
160
160
|
})), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#apply");
|
|
161
|
+
/** Whether `request` changes `layout`: a move, a drop or a stop that would leave it as it is
|
|
162
|
+
* is passed over. */
|
|
163
|
+
export const isChange = (layout, request) => __foldkitBrandViewResult((!Equal.equals(apply(layout, request), layout)), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#isChange");
|
|
161
164
|
// WIDTHS
|
|
162
165
|
/** How close a width is to a preset to count as it. */
|
|
163
166
|
const PRESET_TOLERANCE = 0.01;
|
|
@@ -216,7 +219,7 @@ export const originOf = (layout, paneId) => __foldkitBrandViewResult((Option.map
|
|
|
216
219
|
export const requestOf = (layout, paneId, target) => __foldkitBrandViewResult((Option.liftPredicate(Target.match(target, {
|
|
217
220
|
Into: ({ columnId, index }) => __foldkitBrandViewResult((OutMessage.MovedPane({ paneId, toColumnId: columnId, toIndex: index })), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#Into"),
|
|
218
221
|
Gap: ({ maybeBeforeColumnId }) => __foldkitBrandViewResult((OutMessage.PulledOutPane({ paneId, maybeBeforeColumnId })), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#Gap"),
|
|
219
|
-
}), (request) => __foldkitBrandViewResult((
|
|
222
|
+
}), (request) => __foldkitBrandViewResult((isChange(layout, request)), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~29"))), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#requestOf");
|
|
220
223
|
/** Where the pane `paneId` would be once dropped at `target`, in words. */
|
|
221
224
|
export const landingWords = (layout, paneId, target) => __foldkitBrandViewResult((Option.match(requestOf(layout, paneId, target), {
|
|
222
225
|
onNone: () => __foldkitBrandViewResult((WHERE_IT_WAS), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#onNone~7"),
|
|
@@ -295,10 +298,13 @@ const gapBefore = (columns, gap) => __foldkitBrandViewResult((Target.Gap({ maybe
|
|
|
295
298
|
/** Where a pointer at (`clientX`, `clientY`) over a reel whose columns sit at `columns`, left
|
|
296
299
|
* to right, would drop a pane. Over a column's edge band (or over a gap, or past the last
|
|
297
300
|
* column) it lands in that gap, as a column of its own; over the rest of a column it lands
|
|
298
|
-
* among that column's other panes, after each whose middle is above the pointer.
|
|
299
|
-
|
|
301
|
+
* among that column's other panes, after each whose middle is above the pointer.
|
|
302
|
+
* `slotMiddlesOf` gives the vertical middles of a column's slots, by its index, the held
|
|
303
|
+
* pane's left out: it is asked for the column the pointer is over alone, and only when the
|
|
304
|
+
* pointer is among its panes. */
|
|
305
|
+
export const targetAtPoint = (columns, clientX, clientY, slotMiddlesOf) => __foldkitBrandViewResult((pipe(Array.findFirstIndex(columns, ({ right }) => __foldkitBrandViewResult((clientX <= right), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~42")), Option.flatMap((index) => __foldkitBrandViewResult((Option.map(Array.get(columns, index), (box) => (__foldkitBrandViewResult(({ index, box }), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~44")))), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~43")), Option.match({
|
|
300
306
|
onNone: () => __foldkitBrandViewResult((gapBefore(columns, columns.length)), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#onNone~11"),
|
|
301
|
-
onSome: ({ index, box: { id, left, right
|
|
307
|
+
onSome: ({ index, box: { id, left, right } }) => {
|
|
302
308
|
const band = Math.min((right - left) * EDGE_SHARE, EDGE_MAX);
|
|
303
309
|
if (clientX < left + band) {
|
|
304
310
|
return __foldkitBrandViewResult((gapBefore(columns, index)), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#onSome~11");
|
|
@@ -309,7 +315,7 @@ export const targetAtPoint = (columns, clientX, clientY) => __foldkitBrandViewRe
|
|
|
309
315
|
else {
|
|
310
316
|
return __foldkitBrandViewResult((Target.Into({
|
|
311
317
|
columnId: id,
|
|
312
|
-
index: Array.filter(
|
|
318
|
+
index: Array.filter(slotMiddlesOf(index), (middle) => __foldkitBrandViewResult((middle < clientY), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#anonymous~45")).length,
|
|
313
319
|
})), "@gjermundgaraba-designs/pixel-paper/src/reel/layout.js#onSome~11");
|
|
314
320
|
}
|
|
315
321
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reel.d.ts","sourceRoot":"","sources":["../../../src/reel/reel.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"reel.d.ts","sourceRoot":"","sources":["../../../src/reel/reel.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAIN,MAAM,EAGN,MAAM,EAGP,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAa,IAAI,EAAe,MAAM,cAAc,CAAC;AAEjE,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAKvC,OAAO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