@gjermundgaraba/pixel-paper 0.1.0 → 0.1.1

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.
@@ -123,8 +123,6 @@ export declare const update: (model: Model, message: Message) => Readonly<{
123
123
  readonly maybePicking: Option.Option<string>;
124
124
  };
125
125
  commands?: Update.Commands<{
126
- readonly _tag: "CompletedFocus";
127
- } | {
128
126
  readonly _tag: "CompletedScrollToCursor";
129
127
  } | {
130
128
  readonly _tag: "CompletedReportPendingKeys";
@@ -144,6 +142,8 @@ export declare const update: (model: Model, message: Message) => Readonly<{
144
142
  readonly hasPage: boolean;
145
143
  };
146
144
  readonly maybeShownPage: Option.Option<string>;
145
+ } | {
146
+ readonly _tag: "CompletedFocus";
147
147
  } | {
148
148
  readonly _tag: "GotDialogMessage";
149
149
  readonly message: {
@@ -288,8 +288,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
288
288
  }>;
289
289
  readonly maybePicking: Option.Option<string>;
290
290
  }, {
291
- readonly _tag: "CompletedFocus";
292
- } | {
293
291
  readonly _tag: "CompletedScrollToCursor";
294
292
  } | {
295
293
  readonly _tag: "CompletedReportPendingKeys";
@@ -309,6 +307,8 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
309
307
  readonly hasPage: boolean;
310
308
  };
311
309
  readonly maybeShownPage: Option.Option<string>;
310
+ } | {
311
+ readonly _tag: "CompletedFocus";
312
312
  } | {
313
313
  readonly _tag: "GotDialogMessage";
314
314
  readonly message: {
@@ -460,8 +460,6 @@ export declare const view: import("foldkit/submodel").View<{
460
460
  }>;
461
461
  readonly maybePicking: Option.Option<string>;
462
462
  }, {
463
- readonly _tag: "CompletedFocus";
464
- } | {
465
463
  readonly _tag: "CompletedScrollToCursor";
466
464
  } | {
467
465
  readonly _tag: "CompletedReportPendingKeys";
@@ -481,6 +479,8 @@ export declare const view: import("foldkit/submodel").View<{
481
479
  readonly hasPage: boolean;
482
480
  };
483
481
  readonly maybeShownPage: Option.Option<string>;
482
+ } | {
483
+ readonly _tag: "CompletedFocus";
484
484
  } | {
485
485
  readonly _tag: "GotDialogMessage";
486
486
  readonly message: {
@@ -68,11 +68,11 @@ export declare const update: (model: Model, message: Message) => Readonly<{
68
68
  readonly edge: "First" | "Last";
69
69
  };
70
70
  commands?: Update.Commands<{
71
- readonly _tag: "CompletedFocusEdge";
72
- } | {
73
71
  readonly _tag: "ClickedToggle";
74
72
  } | {
75
73
  readonly _tag: "PressedEscape";
74
+ } | {
75
+ readonly _tag: "CompletedFocusEdge";
76
76
  } | {
77
77
  readonly _tag: "CompletedFocus";
78
78
  } | {
@@ -163,11 +163,11 @@ export declare const view: import("foldkit/submodel").View<{
163
163
  readonly isOpen: boolean;
164
164
  readonly edge: "First" | "Last";
165
165
  }, {
166
- readonly _tag: "CompletedFocusEdge";
167
- } | {
168
166
  readonly _tag: "ClickedToggle";
169
167
  } | {
170
168
  readonly _tag: "PressedEscape";
169
+ } | {
170
+ readonly _tag: "CompletedFocusEdge";
171
171
  } | {
172
172
  readonly _tag: "CompletedFocus";
173
173
  } | {
@@ -291,12 +291,10 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
291
291
  readonly _tag: "CompletedFocusTab";
292
292
  } | {
293
293
  readonly _tag: "CompletedRestoreFocus";
294
- } | {
295
- readonly _tag: "CancelledPointer";
296
- } | {
297
- readonly _tag: "PressedEscape";
298
294
  } | {
299
295
  readonly _tag: "CompletedScrollIntoView";
296
+ } | {
297
+ readonly _tag: "CancelledPointer";
300
298
  } | {
301
299
  readonly _tag: "CancelledSplitter";
302
300
  } | {
@@ -323,6 +321,8 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
323
321
  } | {
324
322
  readonly _tag: "MovedSplitter";
325
323
  readonly share: number;
324
+ } | {
325
+ readonly _tag: "PressedEscape";
326
326
  } | {
327
327
  readonly _tag: "PressedGrip";
328
328
  readonly paneId: string;
@@ -447,12 +447,10 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
447
447
  readonly _tag: "CompletedFocusTab";
448
448
  } | {
449
449
  readonly _tag: "CompletedRestoreFocus";
450
- } | {
451
- readonly _tag: "CancelledPointer";
452
- } | {
453
- readonly _tag: "PressedEscape";
454
450
  } | {
455
451
  readonly _tag: "CompletedScrollIntoView";
452
+ } | {
453
+ readonly _tag: "CancelledPointer";
456
454
  } | {
457
455
  readonly _tag: "CancelledSplitter";
458
456
  } | {
@@ -479,6 +477,8 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
479
477
  } | {
480
478
  readonly _tag: "MovedSplitter";
481
479
  readonly share: number;
480
+ } | {
481
+ readonly _tag: "PressedEscape";
482
482
  } | {
483
483
  readonly _tag: "PressedGrip";
484
484
  readonly paneId: string;
@@ -603,12 +603,10 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
603
603
  readonly _tag: "CompletedFocusTab";
604
604
  } | {
605
605
  readonly _tag: "CompletedRestoreFocus";
606
- } | {
607
- readonly _tag: "CancelledPointer";
608
- } | {
609
- readonly _tag: "PressedEscape";
610
606
  } | {
611
607
  readonly _tag: "CompletedScrollIntoView";
608
+ } | {
609
+ readonly _tag: "CancelledPointer";
612
610
  } | {
613
611
  readonly _tag: "CancelledSplitter";
614
612
  } | {
@@ -635,6 +633,8 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
635
633
  } | {
636
634
  readonly _tag: "MovedSplitter";
637
635
  readonly share: number;
636
+ } | {
637
+ readonly _tag: "PressedEscape";
638
638
  } | {
639
639
  readonly _tag: "PressedGrip";
640
640
  readonly paneId: string;
@@ -767,12 +767,10 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
767
767
  readonly _tag: "CompletedFocusTab";
768
768
  } | {
769
769
  readonly _tag: "CompletedRestoreFocus";
770
- } | {
771
- readonly _tag: "CancelledPointer";
772
- } | {
773
- readonly _tag: "PressedEscape";
774
770
  } | {
775
771
  readonly _tag: "CompletedScrollIntoView";
772
+ } | {
773
+ readonly _tag: "CancelledPointer";
776
774
  } | {
777
775
  readonly _tag: "CancelledSplitter";
778
776
  } | {
@@ -799,6 +797,8 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
799
797
  } | {
800
798
  readonly _tag: "MovedSplitter";
801
799
  readonly share: number;
800
+ } | {
801
+ readonly _tag: "PressedEscape";
802
802
  } | {
803
803
  readonly _tag: "PressedGrip";
804
804
  readonly paneId: string;
@@ -965,12 +965,10 @@ export declare const view: import("foldkit/submodel").View<{
965
965
  readonly _tag: "CompletedFocusTab";
966
966
  } | {
967
967
  readonly _tag: "CompletedRestoreFocus";
968
- } | {
969
- readonly _tag: "CancelledPointer";
970
- } | {
971
- readonly _tag: "PressedEscape";
972
968
  } | {
973
969
  readonly _tag: "CompletedScrollIntoView";
970
+ } | {
971
+ readonly _tag: "CancelledPointer";
974
972
  } | {
975
973
  readonly _tag: "CancelledSplitter";
976
974
  } | {
@@ -997,6 +995,8 @@ export declare const view: import("foldkit/submodel").View<{
997
995
  } | {
998
996
  readonly _tag: "MovedSplitter";
999
997
  readonly share: number;
998
+ } | {
999
+ readonly _tag: "PressedEscape";
1000
1000
  } | {
1001
1001
  readonly _tag: "PressedGrip";
1002
1002
  readonly paneId: string;
@@ -240,9 +240,11 @@ export declare const update: (model: Model, message: Message) => Readonly<{
240
240
  }>;
241
241
  };
242
242
  commands?: Update.Commands<{
243
- readonly _tag: "CompletedAnnounceReorder";
244
- } | {
245
243
  readonly _tag: "CancelledPointer";
244
+ } | {
245
+ readonly _tag: "PressedEscape";
246
+ } | {
247
+ readonly _tag: "CompletedAnnounceReorder";
246
248
  } | {
247
249
  readonly _tag: "CompletedSizeLiftedItem";
248
250
  } | {
@@ -294,8 +296,6 @@ export declare const update: (model: Model, message: Message) => Readonly<{
294
296
  readonly clientX: number;
295
297
  readonly clientY: number;
296
298
  readonly maybeIndex: Option.Option<number>;
297
- } | {
298
- readonly _tag: "PressedEscape";
299
299
  } | {
300
300
  readonly _tag: "PressedGripKey";
301
301
  readonly itemId: string;
@@ -396,9 +396,11 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
396
396
  }>;
397
397
  }>;
398
398
  }, {
399
- readonly _tag: "CompletedAnnounceReorder";
400
- } | {
401
399
  readonly _tag: "CancelledPointer";
400
+ } | {
401
+ readonly _tag: "PressedEscape";
402
+ } | {
403
+ readonly _tag: "CompletedAnnounceReorder";
402
404
  } | {
403
405
  readonly _tag: "CompletedSizeLiftedItem";
404
406
  } | {
@@ -450,8 +452,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
450
452
  readonly clientX: number;
451
453
  readonly clientY: number;
452
454
  readonly maybeIndex: Option.Option<number>;
453
- } | {
454
- readonly _tag: "PressedEscape";
455
455
  } | {
456
456
  readonly _tag: "PressedGripKey";
457
457
  readonly itemId: string;
@@ -546,9 +546,11 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
546
546
  }>;
547
547
  }>;
548
548
  }, {
549
- readonly _tag: "CompletedAnnounceReorder";
550
- } | {
551
549
  readonly _tag: "CancelledPointer";
550
+ } | {
551
+ readonly _tag: "PressedEscape";
552
+ } | {
553
+ readonly _tag: "CompletedAnnounceReorder";
552
554
  } | {
553
555
  readonly _tag: "CompletedSizeLiftedItem";
554
556
  } | {
@@ -600,8 +602,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
600
602
  readonly clientX: number;
601
603
  readonly clientY: number;
602
604
  readonly maybeIndex: Option.Option<number>;
603
- } | {
604
- readonly _tag: "PressedEscape";
605
605
  } | {
606
606
  readonly _tag: "PressedGripKey";
607
607
  readonly itemId: string;
@@ -692,9 +692,11 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
692
692
  }>;
693
693
  }>;
694
694
  }, {
695
- readonly _tag: "CompletedAnnounceReorder";
696
- } | {
697
695
  readonly _tag: "CancelledPointer";
696
+ } | {
697
+ readonly _tag: "PressedEscape";
698
+ } | {
699
+ readonly _tag: "CompletedAnnounceReorder";
698
700
  } | {
699
701
  readonly _tag: "CompletedSizeLiftedItem";
700
702
  } | {
@@ -746,8 +748,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
746
748
  readonly clientX: number;
747
749
  readonly clientY: number;
748
750
  readonly maybeIndex: Option.Option<number>;
749
- } | {
750
- readonly _tag: "PressedEscape";
751
751
  } | {
752
752
  readonly _tag: "PressedGripKey";
753
753
  readonly itemId: string;
@@ -838,9 +838,11 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
838
838
  }>;
839
839
  }>;
840
840
  }, {
841
- readonly _tag: "CompletedAnnounceReorder";
842
- } | {
843
841
  readonly _tag: "CancelledPointer";
842
+ } | {
843
+ readonly _tag: "PressedEscape";
844
+ } | {
845
+ readonly _tag: "CompletedAnnounceReorder";
844
846
  } | {
845
847
  readonly _tag: "CompletedSizeLiftedItem";
846
848
  } | {
@@ -892,8 +894,6 @@ export declare const subscriptions: <Prefix extends string>(keyPrefix: Prefix) =
892
894
  readonly clientX: number;
893
895
  readonly clientY: number;
894
896
  readonly maybeIndex: Option.Option<number>;
895
- } | {
896
- readonly _tag: "PressedEscape";
897
897
  } | {
898
898
  readonly _tag: "PressedGripKey";
899
899
  readonly itemId: string;
@@ -1026,9 +1026,11 @@ export declare const view: import("foldkit/submodel").View<{
1026
1026
  }>;
1027
1027
  }>;
1028
1028
  }, {
1029
- readonly _tag: "CompletedAnnounceReorder";
1030
- } | {
1031
1029
  readonly _tag: "CancelledPointer";
1030
+ } | {
1031
+ readonly _tag: "PressedEscape";
1032
+ } | {
1033
+ readonly _tag: "CompletedAnnounceReorder";
1032
1034
  } | {
1033
1035
  readonly _tag: "CompletedSizeLiftedItem";
1034
1036
  } | {
@@ -1080,8 +1082,6 @@ export declare const view: import("foldkit/submodel").View<{
1080
1082
  readonly clientX: number;
1081
1083
  readonly clientY: number;
1082
1084
  readonly maybeIndex: Option.Option<number>;
1083
- } | {
1084
- readonly _tag: "PressedEscape";
1085
1085
  } | {
1086
1086
  readonly _tag: "PressedGripKey";
1087
1087
  readonly itemId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjermundgaraba/pixel-paper",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Printed-paper Foldkit components, tokens and stylesheet.",
5
5
  "license": "MIT",
6
6
  "repository": {