@gjermundgaraba-designs/pixel-paper 0.20.1 → 0.22.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.
Files changed (74) hide show
  1. package/DESIGN.md +21 -15
  2. package/dist/src/bench/bench.d.ts +14 -0
  3. package/dist/src/bench/bench.d.ts.map +1 -0
  4. package/dist/src/bench/bench.js +9 -0
  5. package/dist/src/bench/index.d.ts +3 -0
  6. package/dist/src/bench/index.d.ts.map +1 -0
  7. package/dist/src/bench/index.js +1 -0
  8. package/dist/src/chip/chip.d.ts +10 -0
  9. package/dist/src/chip/chip.d.ts.map +1 -1
  10. package/dist/src/chip/chip.js +19 -0
  11. package/dist/src/chip/index.d.ts +2 -2
  12. package/dist/src/chip/index.d.ts.map +1 -1
  13. package/dist/src/chip/index.js +1 -1
  14. package/dist/src/drag/drag.d.ts +18 -0
  15. package/dist/src/drag/drag.d.ts.map +1 -1
  16. package/dist/src/drag/drag.js +35 -7
  17. package/dist/src/field/field.d.ts +3 -0
  18. package/dist/src/field/field.d.ts.map +1 -1
  19. package/dist/src/field/field.js +2 -2
  20. package/dist/src/index.d.ts +1 -0
  21. package/dist/src/index.d.ts.map +1 -1
  22. package/dist/src/index.js +1 -0
  23. package/dist/src/lineDiff/index.d.ts +2 -0
  24. package/dist/src/lineDiff/index.d.ts.map +1 -1
  25. package/dist/src/lineDiff/index.js +1 -0
  26. package/dist/src/lineDiff/lineDiff.d.ts +8 -4
  27. package/dist/src/lineDiff/lineDiff.d.ts.map +1 -1
  28. package/dist/src/lineDiff/lineDiff.js +19 -15
  29. package/dist/src/lineDiff/patch.d.ts +35 -0
  30. package/dist/src/lineDiff/patch.d.ts.map +1 -0
  31. package/dist/src/lineDiff/patch.js +146 -0
  32. package/dist/src/menu/menu.d.ts +6 -6
  33. package/dist/src/rail/index.d.ts +1 -1
  34. package/dist/src/rail/index.d.ts.map +1 -1
  35. package/dist/src/rail/index.js +1 -1
  36. package/dist/src/rail/rail.d.ts +217 -17
  37. package/dist/src/rail/rail.d.ts.map +1 -1
  38. package/dist/src/rail/rail.js +133 -15
  39. package/dist/src/reel/index.d.ts +1 -1
  40. package/dist/src/reel/index.d.ts.map +1 -1
  41. package/dist/src/reel/index.js +1 -1
  42. package/dist/src/reel/layout.d.ts +21 -26
  43. package/dist/src/reel/layout.d.ts.map +1 -1
  44. package/dist/src/reel/layout.js +84 -106
  45. package/dist/src/reel/reel.d.ts +30 -172
  46. package/dist/src/reel/reel.d.ts.map +1 -1
  47. package/dist/src/reel/reel.js +144 -195
  48. package/dist/src/rows/rows.d.ts +9 -1
  49. package/dist/src/rows/rows.d.ts.map +1 -1
  50. package/dist/src/rows/rows.js +1 -1
  51. package/dist/src/sortable/sortable.d.ts +30 -30
  52. package/dist/src/toast/toast.d.ts +12 -12
  53. package/dist/src/window/window.d.ts +3 -1
  54. package/dist/src/window/window.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/src/bench/bench.ts +24 -0
  57. package/src/bench/index.ts +2 -0
  58. package/src/chip/chip.ts +31 -0
  59. package/src/chip/index.ts +2 -2
  60. package/src/drag/drag.ts +60 -1
  61. package/src/field/field.ts +5 -1
  62. package/src/index.ts +1 -0
  63. package/src/lineDiff/index.ts +2 -0
  64. package/src/lineDiff/lineDiff.ts +29 -24
  65. package/src/lineDiff/patch.ts +218 -0
  66. package/src/pixel-paper.css +202 -32
  67. package/src/rail/index.ts +2 -0
  68. package/src/rail/rail.ts +181 -16
  69. package/src/reel/index.ts +0 -1
  70. package/src/reel/layout.ts +78 -118
  71. package/src/reel/reel.ts +108 -216
  72. package/src/rows/rows.ts +14 -2
  73. package/src/tokens.css +2 -1
  74. package/src/window/window.ts +3 -1
@@ -15,14 +15,7 @@ export declare const Model: Schema.Struct<{
15
15
  readonly row: Schema.Number;
16
16
  }>>;
17
17
  readonly maybeHeld: Schema.Option<Schema.Struct<{
18
- readonly subject: import("foldkit/schema").TaggedUnion<{
19
- readonly Pane: {
20
- paneId: Schema.String;
21
- };
22
- readonly Column: {
23
- columnId: Schema.String;
24
- };
25
- }>;
18
+ readonly paneId: Schema.String;
26
19
  readonly by: import("foldkit/schema").TaggedUnion<{
27
20
  readonly Pointer: {
28
21
  pointerId: Schema.Number;
@@ -69,27 +62,13 @@ export type Model = typeof Model.Type;
69
62
  /** Union of all Messages a reel can produce. */
70
63
  export declare const Message: import("foldkit/message").MessageUnion<{
71
64
  readonly PressedGrip: {
72
- subject: import("foldkit/schema").TaggedUnion<{
73
- readonly Pane: {
74
- paneId: Schema.String;
75
- };
76
- readonly Column: {
77
- columnId: Schema.String;
78
- };
79
- }>;
65
+ paneId: Schema.String;
80
66
  pointerId: Schema.Number;
81
67
  clientX: Schema.Number;
82
68
  clientY: Schema.Number;
83
69
  };
84
70
  readonly PressedGripKey: {
85
- subject: import("foldkit/schema").TaggedUnion<{
86
- readonly Pane: {
87
- paneId: Schema.String;
88
- };
89
- readonly Column: {
90
- columnId: Schema.String;
91
- };
92
- }>;
71
+ paneId: Schema.String;
93
72
  };
94
73
  readonly MovedPointer: {
95
74
  readonly clientX: Schema.Number;
@@ -161,7 +140,6 @@ export declare const Message: import("foldkit/message").MessageUnion<{
161
140
  readonly CompletedAnnounceReel: {};
162
141
  readonly CompletedFocusPane: {};
163
142
  readonly CompletedRestoreFocus: {};
164
- readonly CompletedFocusGrip: {};
165
143
  readonly CompletedScrollIntoView: {};
166
144
  readonly CompletedSizeLiftedPane: {};
167
145
  }>;
@@ -198,13 +176,6 @@ export declare const RestoreFocus: Command.CommandDefinitionWithArgs<"RestoreFoc
198
176
  }, Effect.Effect<{
199
177
  readonly _tag: "CompletedRestoreFocus";
200
178
  }, never, never>>;
201
- /** Puts focus back on a column's grip once the render that moved its column is in the page:
202
- * a column's element moves with it, which takes focus off its grip. */
203
- export declare const FocusGrip: Command.CommandDefinitionWithArgs<"FocusGrip", {
204
- gripHook: Schema.String;
205
- }, Effect.Effect<{
206
- readonly _tag: "CompletedFocusGrip";
207
- }, never, never>>;
208
179
  /** Scrolls the pane or column `hook` names into view, by the least distance either way, its
209
180
  * gutter kept by the stylesheet's `scroll-margin`, once the render that placed it is in the
210
181
  * page. It jumps: motion is stepped or instant, and a follow is instant. */
@@ -226,8 +197,8 @@ export declare const update: (model: Model, message: Message, context: UpdateCon
226
197
  * Brings the reel in line with a layout that changed: call it whenever the application changes
227
198
  * the layout, by a request it applied, another client's or one of its own (a pane closed). The
228
199
  * focused pane's place is read again; when it has gone, focus moves to the pane now nearest
229
- * where it was, and the keyboard follows where it went with the pane. A drag whose pane or
230
- * column has gone is cancelled, and one whose target's column has gone aims where it started;
200
+ * where it was, and the keyboard follows where it went with the pane. A drag whose pane has
201
+ * gone is cancelled, and one whose target's column has gone aims where it started;
231
202
  * a splitter whose column or pane has gone lets go.
232
203
  */
233
204
  export declare const reconcile: (model: Model, context: UpdateContext) => UpdateReturn;
@@ -246,7 +217,7 @@ export type Action = typeof Action.Type;
246
217
  * held, or where there is nowhere to go.
247
218
  */
248
219
  export declare const perform: (model: Model, action: Action, context: UpdateContext) => UpdateReturn;
249
- /** A held pane or column follows the pointer (the reel scrolling near its edges), a dragged
220
+ /** A held pane follows the pointer (the reel scrolling near its edges), a dragged
250
221
  * splitter resizes, and Escape puts either back, before a dialog or the page sees it, from
251
222
  * listeners that run only while something is held. Lift them into the application's
252
223
  * Subscriptions, once per reel, behind a key prefix of the parent's: `subscriptions("tiles")`
@@ -260,13 +231,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
260
231
  readonly row: number;
261
232
  }>;
262
233
  readonly maybeHeld: Option.Option<{
263
- readonly subject: {
264
- readonly _tag: "Column";
265
- readonly columnId: string;
266
- } | {
267
- readonly _tag: "Pane";
268
- readonly paneId: string;
269
- };
234
+ readonly paneId: string;
270
235
  readonly by: {
271
236
  readonly _tag: "Keyboard";
272
237
  } | {
@@ -318,8 +283,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
318
283
  readonly _tag: "CancelledSplitter";
319
284
  } | {
320
285
  readonly _tag: "CompletedAnnounceReel";
321
- } | {
322
- readonly _tag: "CompletedFocusGrip";
323
286
  } | {
324
287
  readonly _tag: "CompletedFocusPane";
325
288
  } | {
@@ -352,25 +315,13 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
352
315
  readonly share: number;
353
316
  } | {
354
317
  readonly _tag: "PressedGrip";
355
- readonly subject: {
356
- readonly _tag: "Column";
357
- readonly columnId: string;
358
- } | {
359
- readonly _tag: "Pane";
360
- readonly paneId: string;
361
- };
318
+ readonly paneId: string;
362
319
  readonly pointerId: number;
363
320
  readonly clientX: number;
364
321
  readonly clientY: number;
365
322
  } | {
366
323
  readonly _tag: "PressedGripKey";
367
- readonly subject: {
368
- readonly _tag: "Column";
369
- readonly columnId: string;
370
- } | {
371
- readonly _tag: "Pane";
372
- readonly paneId: string;
373
- };
324
+ readonly paneId: string;
374
325
  } | {
375
326
  readonly _tag: "PressedSplitter";
376
327
  readonly splitter: {
@@ -414,13 +365,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
414
365
  }, {
415
366
  readonly maybeHold: Option.Option<{
416
367
  readonly reelHook: string;
417
- readonly subject: {
418
- readonly _tag: "Column";
419
- readonly columnId: string;
420
- } | {
421
- readonly _tag: "Pane";
422
- readonly paneId: string;
423
- };
368
+ readonly paneId: string;
424
369
  readonly pointerId: number;
425
370
  }>;
426
371
  }, never> & {
@@ -434,13 +379,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
434
379
  readonly row: number;
435
380
  }>;
436
381
  readonly maybeHeld: Option.Option<{
437
- readonly subject: {
438
- readonly _tag: "Column";
439
- readonly columnId: string;
440
- } | {
441
- readonly _tag: "Pane";
442
- readonly paneId: string;
443
- };
382
+ readonly paneId: string;
444
383
  readonly by: {
445
384
  readonly _tag: "Keyboard";
446
385
  } | {
@@ -492,8 +431,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
492
431
  readonly _tag: "CancelledSplitter";
493
432
  } | {
494
433
  readonly _tag: "CompletedAnnounceReel";
495
- } | {
496
- readonly _tag: "CompletedFocusGrip";
497
434
  } | {
498
435
  readonly _tag: "CompletedFocusPane";
499
436
  } | {
@@ -526,25 +463,13 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
526
463
  readonly share: number;
527
464
  } | {
528
465
  readonly _tag: "PressedGrip";
529
- readonly subject: {
530
- readonly _tag: "Column";
531
- readonly columnId: string;
532
- } | {
533
- readonly _tag: "Pane";
534
- readonly paneId: string;
535
- };
466
+ readonly paneId: string;
536
467
  readonly pointerId: number;
537
468
  readonly clientX: number;
538
469
  readonly clientY: number;
539
470
  } | {
540
471
  readonly _tag: "PressedGripKey";
541
- readonly subject: {
542
- readonly _tag: "Column";
543
- readonly columnId: string;
544
- } | {
545
- readonly _tag: "Pane";
546
- readonly paneId: string;
547
- };
472
+ readonly paneId: string;
548
473
  } | {
549
474
  readonly _tag: "PressedSplitter";
550
475
  readonly splitter: {
@@ -588,13 +513,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
588
513
  }, {
589
514
  readonly maybeHold: Option.Option<{
590
515
  readonly reelHook: string;
591
- readonly subject: {
592
- readonly _tag: "Column";
593
- readonly columnId: string;
594
- } | {
595
- readonly _tag: "Pane";
596
- readonly paneId: string;
597
- };
516
+ readonly paneId: string;
598
517
  readonly pointerId: number;
599
518
  }>;
600
519
  }, never> & {
@@ -608,13 +527,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
608
527
  readonly row: number;
609
528
  }>;
610
529
  readonly maybeHeld: Option.Option<{
611
- readonly subject: {
612
- readonly _tag: "Column";
613
- readonly columnId: string;
614
- } | {
615
- readonly _tag: "Pane";
616
- readonly paneId: string;
617
- };
530
+ readonly paneId: string;
618
531
  readonly by: {
619
532
  readonly _tag: "Keyboard";
620
533
  } | {
@@ -666,8 +579,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
666
579
  readonly _tag: "CancelledSplitter";
667
580
  } | {
668
581
  readonly _tag: "CompletedAnnounceReel";
669
- } | {
670
- readonly _tag: "CompletedFocusGrip";
671
582
  } | {
672
583
  readonly _tag: "CompletedFocusPane";
673
584
  } | {
@@ -700,25 +611,13 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
700
611
  readonly share: number;
701
612
  } | {
702
613
  readonly _tag: "PressedGrip";
703
- readonly subject: {
704
- readonly _tag: "Column";
705
- readonly columnId: string;
706
- } | {
707
- readonly _tag: "Pane";
708
- readonly paneId: string;
709
- };
614
+ readonly paneId: string;
710
615
  readonly pointerId: number;
711
616
  readonly clientX: number;
712
617
  readonly clientY: number;
713
618
  } | {
714
619
  readonly _tag: "PressedGripKey";
715
- readonly subject: {
716
- readonly _tag: "Column";
717
- readonly columnId: string;
718
- } | {
719
- readonly _tag: "Pane";
720
- readonly paneId: string;
721
- };
620
+ readonly paneId: string;
722
621
  } | {
723
622
  readonly _tag: "PressedSplitter";
724
623
  readonly splitter: {
@@ -784,13 +683,7 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
784
683
  readonly row: number;
785
684
  }>;
786
685
  readonly maybeHeld: Option.Option<{
787
- readonly subject: {
788
- readonly _tag: "Column";
789
- readonly columnId: string;
790
- } | {
791
- readonly _tag: "Pane";
792
- readonly paneId: string;
793
- };
686
+ readonly paneId: string;
794
687
  readonly by: {
795
688
  readonly _tag: "Keyboard";
796
689
  } | {
@@ -842,8 +735,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
842
735
  readonly _tag: "CancelledSplitter";
843
736
  } | {
844
737
  readonly _tag: "CompletedAnnounceReel";
845
- } | {
846
- readonly _tag: "CompletedFocusGrip";
847
738
  } | {
848
739
  readonly _tag: "CompletedFocusPane";
849
740
  } | {
@@ -876,25 +767,13 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
876
767
  readonly share: number;
877
768
  } | {
878
769
  readonly _tag: "PressedGrip";
879
- readonly subject: {
880
- readonly _tag: "Column";
881
- readonly columnId: string;
882
- } | {
883
- readonly _tag: "Pane";
884
- readonly paneId: string;
885
- };
770
+ readonly paneId: string;
886
771
  readonly pointerId: number;
887
772
  readonly clientX: number;
888
773
  readonly clientY: number;
889
774
  } | {
890
775
  readonly _tag: "PressedGripKey";
891
- readonly subject: {
892
- readonly _tag: "Column";
893
- readonly columnId: string;
894
- } | {
895
- readonly _tag: "Pane";
896
- readonly paneId: string;
897
- };
776
+ readonly paneId: string;
898
777
  } | {
899
778
  readonly _tag: "PressedSplitter";
900
779
  readonly splitter: {
@@ -973,15 +852,14 @@ export type ViewInputs = Readonly<{
973
852
  /**
974
853
  * A row of columns wider than the view when it must be, each a stack of panes, scrolled
975
854
  * sideways, and down where a column is taller than the view: `div.reel` holding the scroller
976
- * `div.reel-view`, whose `div.reel-track` lays out the columns (`div.reel-column`, each a head
977
- * with its grip and width, then a slot per pane with a splitter between) with a splitter after
978
- * each, and the panes themselves in `div.reel-panes`, each pinned to its slot by anchor
979
- * positioning. The reel takes its height from whatever holds it. The layout is the parent's;
980
- * each pane renders through `toPaneView`.
855
+ * `div.reel-view`, whose `div.reel-track` lays out the columns (`div.reel-column`, a slot per
856
+ * pane with a splitter between) with a splitter after each, and the panes themselves in
857
+ * `div.reel-panes`, each pinned to its slot by anchor positioning. The reel takes its height
858
+ * from whatever holds it. The layout is the parent's; each pane renders through `toPaneView`.
981
859
  *
982
- * A pane's grip, or a column's, lifts it under a pointer or the keyboard: Space or Enter picks
983
- * it up, the arrows move it (left and right through the gaps and columns, up and down among a
984
- * column's panes), Space drops it, and Escape or Tab puts it back. A drop reports what it asks
860
+ * A pane's grip lifts it under a pointer or the keyboard: Space or Enter picks it up, the
861
+ * arrows move it (left and right through the gaps and columns, up and down among a column's
862
+ * panes), Space drops it, and Escape or Tab puts it back. A drop reports what it asks
985
863
  * of the layout as the OutMessage. Lift `subscriptions(keyPrefix)` into the application's, or
986
864
  * nothing follows the pointer, and call `reconcile` whenever the layout changes.
987
865
  */
@@ -993,13 +871,7 @@ export declare const view: import("foldkit/submodel").View<{
993
871
  readonly row: number;
994
872
  }>;
995
873
  readonly maybeHeld: Option.Option<{
996
- readonly subject: {
997
- readonly _tag: "Column";
998
- readonly columnId: string;
999
- } | {
1000
- readonly _tag: "Pane";
1001
- readonly paneId: string;
1002
- };
874
+ readonly paneId: string;
1003
875
  readonly by: {
1004
876
  readonly _tag: "Keyboard";
1005
877
  } | {
@@ -1051,8 +923,6 @@ export declare const view: import("foldkit/submodel").View<{
1051
923
  readonly _tag: "CancelledSplitter";
1052
924
  } | {
1053
925
  readonly _tag: "CompletedAnnounceReel";
1054
- } | {
1055
- readonly _tag: "CompletedFocusGrip";
1056
926
  } | {
1057
927
  readonly _tag: "CompletedFocusPane";
1058
928
  } | {
@@ -1085,25 +955,13 @@ export declare const view: import("foldkit/submodel").View<{
1085
955
  readonly share: number;
1086
956
  } | {
1087
957
  readonly _tag: "PressedGrip";
1088
- readonly subject: {
1089
- readonly _tag: "Column";
1090
- readonly columnId: string;
1091
- } | {
1092
- readonly _tag: "Pane";
1093
- readonly paneId: string;
1094
- };
958
+ readonly paneId: string;
1095
959
  readonly pointerId: number;
1096
960
  readonly clientX: number;
1097
961
  readonly clientY: number;
1098
962
  } | {
1099
963
  readonly _tag: "PressedGripKey";
1100
- readonly subject: {
1101
- readonly _tag: "Column";
1102
- readonly columnId: string;
1103
- } | {
1104
- readonly _tag: "Pane";
1105
- readonly paneId: string;
1106
- };
964
+ readonly paneId: string;
1107
965
  } | {
1108
966
  readonly _tag: "PressedSplitter";
1109
967
  readonly splitter: {
@@ -1 +1 @@
1
- {"version":3,"file":"reel.d.ts","sourceRoot":"","sources":["../../../src/reel/reel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAwB,MAAM,EAAS,MAAM,EAAkB,MAAM,QAAQ,CAAC;AACpG,OAAO,KAAK,OAAO,MAAM,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