@fusion.dev/helix-headless 0.117.0 → 0.118.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/types/jsx.d.ts CHANGED
@@ -36,7 +36,9 @@ import type {
36
36
  HelixFacetEvent,
37
37
  HelixFilterEvent,
38
38
  HelixFormElement,
39
+ HelixGraphLayoutEvent,
39
40
  HelixGraphPanEvent,
41
+ HelixGraphPartChangeEvent,
40
42
  HelixGraphReadyEvent,
41
43
  HelixGraphZoomEvent,
42
44
  HelixHeadlessAccordion,
@@ -2265,6 +2267,12 @@ red is "blocked" on one board and "urgent" on the next. A reader who can
2265
2267
  see the board is told by the color; this is how a reader who cannot is
2266
2268
  told the same. A tone left out is not read. */
2267
2269
  toneLabels?: (HelixHeadlessCanvas["toneLabels"]) | undefined;
2270
+ /** The hint shown when a surface waiting to be pressed is scrolled or
2271
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
2272
+ "activate-hint-label"?: (HelixHeadlessCanvas["activateHintLabel"]) | undefined;
2273
+ /** The hint shown when a surface waiting to be pressed is scrolled or
2274
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
2275
+ activateHintLabel?: (HelixHeadlessCanvas["activateHintLabel"]) | undefined;
2268
2276
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
2269
2277
  `none`. A family can add words of its own.
2270
2278
 
@@ -2329,6 +2337,26 @@ would write an attribute onto every host that no server sent. */
2329
2337
  "fullscreen-label"?: (HelixHeadlessCanvas["fullscreenLabel"]) | undefined;
2330
2338
  /** The fullscreen button's label. */
2331
2339
  fullscreenLabel?: (HelixHeadlessCanvas["fullscreenLabel"]) | undefined;
2340
+ /** Which gestures the surface takes from the page.
2341
+
2342
+ - `always`: the surface takes the wheel and one finger, for a surface
2343
+ that is the page, such as a full-screen view. A map rests here.
2344
+ - Unset is the family's own: `always` for a map, and for a board, a
2345
+ drag and a pinch, with the plain wheel left to the page until the
2346
+ board fills the screen.
2347
+ - `cooperative`: the wheel and one finger scroll the page, and the
2348
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
2349
+ says so when a gesture passes to the page. Best for a surface embedded
2350
+ in a page.
2351
+ - `activate`: the surface takes nothing until it is pressed, and gives it
2352
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
2353
+
2354
+ The keyboard and the frame's buttons work in every mode.
2355
+
2356
+ **Unreflected and without a default**, because a default that reflected
2357
+ would write an attribute onto every host that no server sent, and the
2358
+ hydration that followed would disagree with it. */
2359
+ gestures?: (HelixHeadlessCanvas["gestures"]) | undefined;
2332
2360
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
2333
2361
 
2334
2362
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -2383,6 +2411,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
2383
2411
  "pan-up-label"?: (HelixHeadlessCanvas["panUpLabel"]) | undefined;
2384
2412
  /** The pan up button's label. */
2385
2413
  panUpLabel?: (HelixHeadlessCanvas["panUpLabel"]) | undefined;
2414
+ /** The hint shown when one finger swipes over a surface with
2415
+ `gestures="cooperative"`. Absent is the family's own. */
2416
+ "two-finger-hint-label"?: (HelixHeadlessCanvas["twoFingerHintLabel"]) | undefined;
2417
+ /** The hint shown when one finger swipes over a surface with
2418
+ `gestures="cooperative"`. Absent is the family's own. */
2419
+ twoFingerHintLabel?: (HelixHeadlessCanvas["twoFingerHintLabel"]) | undefined;
2420
+ /** The line shown while a surface with `gestures="activate"` has the
2421
+ gestures. Absent is the family's own. */
2422
+ "using-label"?: (HelixHeadlessCanvas["usingLabel"]) | undefined;
2423
+ /** The line shown while a surface with `gestures="activate"` has the
2424
+ gestures. Absent is the family's own. */
2425
+ usingLabel?: (HelixHeadlessCanvas["usingLabel"]) | undefined;
2426
+ /** The hint shown when the wheel scrolls past a surface with
2427
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
2428
+ elsewhere. Absent is the family's own. */
2429
+ "wheel-hint-label"?: (HelixHeadlessCanvas["wheelHintLabel"]) | undefined;
2430
+ /** The hint shown when the wheel scrolls past a surface with
2431
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
2432
+ elsewhere. Absent is the family's own. */
2433
+ wheelHintLabel?: (HelixHeadlessCanvas["wheelHintLabel"]) | undefined;
2386
2434
  /** The zoom in button's label. */
2387
2435
  "zoom-in-label"?: (HelixHeadlessCanvas["zoomInLabel"]) | undefined;
2388
2436
  /** The zoom in button's label. */
@@ -2583,6 +2631,12 @@ red is "blocked" on one board and "urgent" on the next. A reader who can
2583
2631
  see the board is told by the color; this is how a reader who cannot is
2584
2632
  told the same. A tone left out is not read. */
2585
2633
  "prop:toneLabels"?: (HelixHeadlessCanvas["toneLabels"]) | undefined;
2634
+ /** The hint shown when a surface waiting to be pressed is scrolled or
2635
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
2636
+ "attr:activate-hint-label"?: (HelixHeadlessCanvas["activateHintLabel"]) | undefined;
2637
+ /** The hint shown when a surface waiting to be pressed is scrolled or
2638
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
2639
+ "prop:activateHintLabel"?: (HelixHeadlessCanvas["activateHintLabel"]) | undefined;
2586
2640
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
2587
2641
  `none`. A family can add words of its own.
2588
2642
 
@@ -2647,6 +2701,26 @@ would write an attribute onto every host that no server sent. */
2647
2701
  "attr:fullscreen-label"?: (HelixHeadlessCanvas["fullscreenLabel"]) | undefined;
2648
2702
  /** The fullscreen button's label. */
2649
2703
  "prop:fullscreenLabel"?: (HelixHeadlessCanvas["fullscreenLabel"]) | undefined;
2704
+ /** Which gestures the surface takes from the page.
2705
+
2706
+ - `always`: the surface takes the wheel and one finger, for a surface
2707
+ that is the page, such as a full-screen view. A map rests here.
2708
+ - Unset is the family's own: `always` for a map, and for a board, a
2709
+ drag and a pinch, with the plain wheel left to the page until the
2710
+ board fills the screen.
2711
+ - `cooperative`: the wheel and one finger scroll the page, and the
2712
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
2713
+ says so when a gesture passes to the page. Best for a surface embedded
2714
+ in a page.
2715
+ - `activate`: the surface takes nothing until it is pressed, and gives it
2716
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
2717
+
2718
+ The keyboard and the frame's buttons work in every mode.
2719
+
2720
+ **Unreflected and without a default**, because a default that reflected
2721
+ would write an attribute onto every host that no server sent, and the
2722
+ hydration that followed would disagree with it. */
2723
+ "prop:gestures"?: (HelixHeadlessCanvas["gestures"]) | undefined;
2650
2724
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
2651
2725
 
2652
2726
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -2701,6 +2775,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
2701
2775
  "attr:pan-up-label"?: (HelixHeadlessCanvas["panUpLabel"]) | undefined;
2702
2776
  /** The pan up button's label. */
2703
2777
  "prop:panUpLabel"?: (HelixHeadlessCanvas["panUpLabel"]) | undefined;
2778
+ /** The hint shown when one finger swipes over a surface with
2779
+ `gestures="cooperative"`. Absent is the family's own. */
2780
+ "attr:two-finger-hint-label"?: (HelixHeadlessCanvas["twoFingerHintLabel"]) | undefined;
2781
+ /** The hint shown when one finger swipes over a surface with
2782
+ `gestures="cooperative"`. Absent is the family's own. */
2783
+ "prop:twoFingerHintLabel"?: (HelixHeadlessCanvas["twoFingerHintLabel"]) | undefined;
2784
+ /** The line shown while a surface with `gestures="activate"` has the
2785
+ gestures. Absent is the family's own. */
2786
+ "attr:using-label"?: (HelixHeadlessCanvas["usingLabel"]) | undefined;
2787
+ /** The line shown while a surface with `gestures="activate"` has the
2788
+ gestures. Absent is the family's own. */
2789
+ "prop:usingLabel"?: (HelixHeadlessCanvas["usingLabel"]) | undefined;
2790
+ /** The hint shown when the wheel scrolls past a surface with
2791
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
2792
+ elsewhere. Absent is the family's own. */
2793
+ "attr:wheel-hint-label"?: (HelixHeadlessCanvas["wheelHintLabel"]) | undefined;
2794
+ /** The hint shown when the wheel scrolls past a surface with
2795
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
2796
+ elsewhere. Absent is the family's own. */
2797
+ "prop:wheelHintLabel"?: (HelixHeadlessCanvas["wheelHintLabel"]) | undefined;
2704
2798
  /** The zoom in button's label. */
2705
2799
  "attr:zoom-in-label"?: (HelixHeadlessCanvas["zoomInLabel"]) | undefined;
2706
2800
  /** The zoom in button's label. */
@@ -9280,9 +9374,15 @@ export type HelixHeadlessGraphHelixActivateElementEvent =
9280
9374
  /** `helix-before-activate` event type */
9281
9375
  export type HelixHeadlessGraphHelixBeforeActivateElementEvent =
9282
9376
  HelixHeadlessGraphElementEvent<HelixBeforeActivateEvent>;
9377
+ /** `helix-graph-layout` event type */
9378
+ export type HelixHeadlessGraphHelixGraphLayoutElementEvent =
9379
+ HelixHeadlessGraphElementEvent<HelixGraphLayoutEvent>;
9283
9380
  /** `helix-graph-pan` event type */
9284
9381
  export type HelixHeadlessGraphHelixGraphPanElementEvent =
9285
9382
  HelixHeadlessGraphElementEvent<HelixGraphPanEvent>;
9383
+ /** `helix-graph-part-change` event type */
9384
+ export type HelixHeadlessGraphHelixGraphPartChangeElementEvent =
9385
+ HelixHeadlessGraphElementEvent<HelixGraphPartChangeEvent>;
9286
9386
  /** `helix-graph-ready` event type */
9287
9387
  export type HelixHeadlessGraphHelixGraphReadyElementEvent =
9288
9388
  HelixHeadlessGraphElementEvent<HelixGraphReadyEvent>;
@@ -9325,6 +9425,12 @@ Required. */
9325
9425
  "selected-label"?: (HelixHeadlessGraph["selectedLabel"]) | undefined;
9326
9426
  /** How the selected note is described in the list. */
9327
9427
  selectedLabel?: (HelixHeadlessGraph["selectedLabel"]) | undefined;
9428
+ /** The hint shown when a surface waiting to be pressed is scrolled or
9429
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
9430
+ "activate-hint-label"?: (HelixHeadlessGraph["activateHintLabel"]) | undefined;
9431
+ /** The hint shown when a surface waiting to be pressed is scrolled or
9432
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
9433
+ activateHintLabel?: (HelixHeadlessGraph["activateHintLabel"]) | undefined;
9328
9434
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
9329
9435
  `none`. A family can add words of its own.
9330
9436
 
@@ -9389,6 +9495,26 @@ would write an attribute onto every host that no server sent. */
9389
9495
  "fullscreen-label"?: (HelixHeadlessGraph["fullscreenLabel"]) | undefined;
9390
9496
  /** The fullscreen button's label. */
9391
9497
  fullscreenLabel?: (HelixHeadlessGraph["fullscreenLabel"]) | undefined;
9498
+ /** Which gestures the surface takes from the page.
9499
+
9500
+ - `always`: the surface takes the wheel and one finger, for a surface
9501
+ that is the page, such as a full-screen view. A map rests here.
9502
+ - Unset is the family's own: `always` for a map, and for a board, a
9503
+ drag and a pinch, with the plain wheel left to the page until the
9504
+ board fills the screen.
9505
+ - `cooperative`: the wheel and one finger scroll the page, and the
9506
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
9507
+ says so when a gesture passes to the page. Best for a surface embedded
9508
+ in a page.
9509
+ - `activate`: the surface takes nothing until it is pressed, and gives it
9510
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
9511
+
9512
+ The keyboard and the frame's buttons work in every mode.
9513
+
9514
+ **Unreflected and without a default**, because a default that reflected
9515
+ would write an attribute onto every host that no server sent, and the
9516
+ hydration that followed would disagree with it. */
9517
+ gestures?: (HelixHeadlessGraph["gestures"]) | undefined;
9392
9518
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
9393
9519
 
9394
9520
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -9443,6 +9569,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
9443
9569
  "pan-up-label"?: (HelixHeadlessGraph["panUpLabel"]) | undefined;
9444
9570
  /** The pan up button's label. */
9445
9571
  panUpLabel?: (HelixHeadlessGraph["panUpLabel"]) | undefined;
9572
+ /** The hint shown when one finger swipes over a surface with
9573
+ `gestures="cooperative"`. Absent is the family's own. */
9574
+ "two-finger-hint-label"?: (HelixHeadlessGraph["twoFingerHintLabel"]) | undefined;
9575
+ /** The hint shown when one finger swipes over a surface with
9576
+ `gestures="cooperative"`. Absent is the family's own. */
9577
+ twoFingerHintLabel?: (HelixHeadlessGraph["twoFingerHintLabel"]) | undefined;
9578
+ /** The line shown while a surface with `gestures="activate"` has the
9579
+ gestures. Absent is the family's own. */
9580
+ "using-label"?: (HelixHeadlessGraph["usingLabel"]) | undefined;
9581
+ /** The line shown while a surface with `gestures="activate"` has the
9582
+ gestures. Absent is the family's own. */
9583
+ usingLabel?: (HelixHeadlessGraph["usingLabel"]) | undefined;
9584
+ /** The hint shown when the wheel scrolls past a surface with
9585
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
9586
+ elsewhere. Absent is the family's own. */
9587
+ "wheel-hint-label"?: (HelixHeadlessGraph["wheelHintLabel"]) | undefined;
9588
+ /** The hint shown when the wheel scrolls past a surface with
9589
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
9590
+ elsewhere. Absent is the family's own. */
9591
+ wheelHintLabel?: (HelixHeadlessGraph["wheelHintLabel"]) | undefined;
9446
9592
  /** The zoom in button's label. */
9447
9593
  "zoom-in-label"?: (HelixHeadlessGraph["zoomInLabel"]) | undefined;
9448
9594
  /** The zoom in button's label. */
@@ -9479,15 +9625,23 @@ Ignored once `active` is written. */
9479
9625
  "onhelix-before-activate"?: ((
9480
9626
  e: HelixHeadlessGraphHelixBeforeActivateElementEvent,
9481
9627
  ) => void) | undefined;
9482
- /** A pan button or arrow key was pressed. Move the drawing. */
9628
+ /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`. */
9629
+ "onhelix-graph-layout"?: ((
9630
+ e: HelixHeadlessGraphHelixGraphLayoutElementEvent,
9631
+ ) => void) | undefined;
9632
+ /** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
9483
9633
  "onhelix-graph-pan"?: ((
9484
9634
  e: HelixHeadlessGraphHelixGraphPanElementEvent,
9485
9635
  ) => void) | undefined;
9636
+ /** The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it. */
9637
+ "onhelix-graph-part-change"?: ((
9638
+ e: HelixHeadlessGraphHelixGraphPartChangeElementEvent,
9639
+ ) => void) | undefined;
9486
9640
  /** The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not. */
9487
9641
  "onhelix-graph-ready"?: ((
9488
9642
  e: HelixHeadlessGraphHelixGraphReadyElementEvent,
9489
9643
  ) => void) | undefined;
9490
- /** A zoom button or key was pressed. Zoom the drawing. */
9644
+ /** A zoom button or key was pressed. `connectGraph` zooms the drawing. */
9491
9645
  "onhelix-graph-zoom"?: ((
9492
9646
  e: HelixHeadlessGraphHelixGraphZoomElementEvent,
9493
9647
  ) => void) | undefined;
@@ -9528,6 +9682,12 @@ Required. */
9528
9682
  "attr:selected-label"?: (HelixHeadlessGraph["selectedLabel"]) | undefined;
9529
9683
  /** How the selected note is described in the list. */
9530
9684
  "prop:selectedLabel"?: (HelixHeadlessGraph["selectedLabel"]) | undefined;
9685
+ /** The hint shown when a surface waiting to be pressed is scrolled or
9686
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
9687
+ "attr:activate-hint-label"?: (HelixHeadlessGraph["activateHintLabel"]) | undefined;
9688
+ /** The hint shown when a surface waiting to be pressed is scrolled or
9689
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
9690
+ "prop:activateHintLabel"?: (HelixHeadlessGraph["activateHintLabel"]) | undefined;
9531
9691
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
9532
9692
  `none`. A family can add words of its own.
9533
9693
 
@@ -9592,6 +9752,26 @@ would write an attribute onto every host that no server sent. */
9592
9752
  "attr:fullscreen-label"?: (HelixHeadlessGraph["fullscreenLabel"]) | undefined;
9593
9753
  /** The fullscreen button's label. */
9594
9754
  "prop:fullscreenLabel"?: (HelixHeadlessGraph["fullscreenLabel"]) | undefined;
9755
+ /** Which gestures the surface takes from the page.
9756
+
9757
+ - `always`: the surface takes the wheel and one finger, for a surface
9758
+ that is the page, such as a full-screen view. A map rests here.
9759
+ - Unset is the family's own: `always` for a map, and for a board, a
9760
+ drag and a pinch, with the plain wheel left to the page until the
9761
+ board fills the screen.
9762
+ - `cooperative`: the wheel and one finger scroll the page, and the
9763
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
9764
+ says so when a gesture passes to the page. Best for a surface embedded
9765
+ in a page.
9766
+ - `activate`: the surface takes nothing until it is pressed, and gives it
9767
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
9768
+
9769
+ The keyboard and the frame's buttons work in every mode.
9770
+
9771
+ **Unreflected and without a default**, because a default that reflected
9772
+ would write an attribute onto every host that no server sent, and the
9773
+ hydration that followed would disagree with it. */
9774
+ "prop:gestures"?: (HelixHeadlessGraph["gestures"]) | undefined;
9595
9775
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
9596
9776
 
9597
9777
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -9646,6 +9826,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
9646
9826
  "attr:pan-up-label"?: (HelixHeadlessGraph["panUpLabel"]) | undefined;
9647
9827
  /** The pan up button's label. */
9648
9828
  "prop:panUpLabel"?: (HelixHeadlessGraph["panUpLabel"]) | undefined;
9829
+ /** The hint shown when one finger swipes over a surface with
9830
+ `gestures="cooperative"`. Absent is the family's own. */
9831
+ "attr:two-finger-hint-label"?: (HelixHeadlessGraph["twoFingerHintLabel"]) | undefined;
9832
+ /** The hint shown when one finger swipes over a surface with
9833
+ `gestures="cooperative"`. Absent is the family's own. */
9834
+ "prop:twoFingerHintLabel"?: (HelixHeadlessGraph["twoFingerHintLabel"]) | undefined;
9835
+ /** The line shown while a surface with `gestures="activate"` has the
9836
+ gestures. Absent is the family's own. */
9837
+ "attr:using-label"?: (HelixHeadlessGraph["usingLabel"]) | undefined;
9838
+ /** The line shown while a surface with `gestures="activate"` has the
9839
+ gestures. Absent is the family's own. */
9840
+ "prop:usingLabel"?: (HelixHeadlessGraph["usingLabel"]) | undefined;
9841
+ /** The hint shown when the wheel scrolls past a surface with
9842
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
9843
+ elsewhere. Absent is the family's own. */
9844
+ "attr:wheel-hint-label"?: (HelixHeadlessGraph["wheelHintLabel"]) | undefined;
9845
+ /** The hint shown when the wheel scrolls past a surface with
9846
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
9847
+ elsewhere. Absent is the family's own. */
9848
+ "prop:wheelHintLabel"?: (HelixHeadlessGraph["wheelHintLabel"]) | undefined;
9649
9849
  /** The zoom in button's label. */
9650
9850
  "attr:zoom-in-label"?: (HelixHeadlessGraph["zoomInLabel"]) | undefined;
9651
9851
  /** The zoom in button's label. */
@@ -9683,15 +9883,23 @@ Ignored once `active` is written. */
9683
9883
  "on:helix-before-activate"?: ((
9684
9884
  e: HelixHeadlessGraphHelixBeforeActivateElementEvent,
9685
9885
  ) => void) | undefined;
9686
- /** A pan button or arrow key was pressed. Move the drawing. */
9886
+ /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`. */
9887
+ "on:helix-graph-layout"?: ((
9888
+ e: HelixHeadlessGraphHelixGraphLayoutElementEvent,
9889
+ ) => void) | undefined;
9890
+ /** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
9687
9891
  "on:helix-graph-pan"?: ((
9688
9892
  e: HelixHeadlessGraphHelixGraphPanElementEvent,
9689
9893
  ) => void) | undefined;
9894
+ /** The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it. */
9895
+ "on:helix-graph-part-change"?: ((
9896
+ e: HelixHeadlessGraphHelixGraphPartChangeElementEvent,
9897
+ ) => void) | undefined;
9690
9898
  /** The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not. */
9691
9899
  "on:helix-graph-ready"?: ((
9692
9900
  e: HelixHeadlessGraphHelixGraphReadyElementEvent,
9693
9901
  ) => void) | undefined;
9694
- /** A zoom button or key was pressed. Zoom the drawing. */
9902
+ /** A zoom button or key was pressed. `connectGraph` zooms the drawing. */
9695
9903
  "on:helix-graph-zoom"?: ((
9696
9904
  e: HelixHeadlessGraphHelixGraphZoomElementEvent,
9697
9905
  ) => void) | undefined;
@@ -12505,12 +12713,6 @@ export type HelixHeadlessMapHelixMapZoomElementEvent =
12505
12713
  HelixHeadlessMapElementEvent<HelixMapZoomEvent>;
12506
12714
 
12507
12715
  export type HelixHeadlessMapProps = {
12508
- /** The hint shown when a map waiting to be pressed is scrolled or swiped
12509
- over, with `gestures="activate"`. */
12510
- "activate-hint-label"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12511
- /** The hint shown when a map waiting to be pressed is scrolled or swiped
12512
- over, with `gestures="activate"`. */
12513
- activateHintLabel?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12514
12716
  /** The map's rotation, in degrees clockwise from north. `connectMap` keeps it
12515
12717
  current, and the Face north button's needle turns with it. */
12516
12718
  bearing?: (HelixHeadlessMap["bearing"]) | undefined;
@@ -12525,19 +12727,6 @@ the map zooms in, and pressing one zooms in to its places. */
12525
12727
  "flat-label"?: (HelixHeadlessMap["flatLabel"]) | undefined;
12526
12728
  /** What screen readers hear when the map is tilted back to looking straight down. */
12527
12729
  flatLabel?: (HelixHeadlessMap["flatLabel"]) | undefined;
12528
- /** Which gestures the map takes from the page.
12529
-
12530
- - `always`, which unset is: the wheel zooms the map and one finger pans
12531
- it, for a map that is the page, such as a full-screen view.
12532
- - `cooperative`: the wheel and one finger scroll the page, and the map
12533
- takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
12534
- when a gesture passes to the page. Best for a map embedded in a page.
12535
- - `activate`: the map takes nothing until it is pressed, and gives it
12536
- back on Escape, when the pointer leaves it, or on a press elsewhere.
12537
-
12538
- The keyboard and the frame's buttons work in every mode. The renderer is
12539
- told through the connector, so MapLibre and Leaflet behave alike. */
12540
- gestures?: (HelixHeadlessMap["gestures"]) | undefined;
12541
12730
  /** The Hybrid map type's name. */
12542
12731
  "hybrid-label"?: (HelixHeadlessMap["hybridLabel"]) | undefined;
12543
12732
  /** The Hybrid map type's name. */
@@ -12619,22 +12808,6 @@ top of the map faces, clockwise from north. */
12619
12808
  /** What screen readers hear when the map is turned. `{degrees}` is the way the
12620
12809
  top of the map faces, clockwise from north. */
12621
12810
  turnedLabel?: (HelixHeadlessMap["turnedLabel"]) | undefined;
12622
- /** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
12623
- "two-finger-hint-label"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12624
- /** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
12625
- twoFingerHintLabel?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12626
- /** The line shown while a map with `gestures="activate"` has the gestures. */
12627
- "using-label"?: (HelixHeadlessMap["usingLabel"]) | undefined;
12628
- /** The line shown while a map with `gestures="activate"` has the gestures. */
12629
- usingLabel?: (HelixHeadlessMap["usingLabel"]) | undefined;
12630
- /** The hint shown when the wheel scrolls past a map with
12631
- `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12632
- elsewhere, as the renderer reads it. */
12633
- "wheel-hint-label"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12634
- /** The hint shown when the wheel scrolls past a map with
12635
- `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12636
- elsewhere, as the renderer reads it. */
12637
- wheelHintLabel?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12638
12811
  /** What screen readers hear after a zoom. `{level}` is the zoom level. */
12639
12812
  "zoomed-label"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
12640
12813
  /** What screen readers hear after a zoom. `{level}` is the zoom level. */
@@ -12645,6 +12818,12 @@ current, and the map says it after a zoom. */
12645
12818
  /** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
12646
12819
  current, and the map says it after a zoom. */
12647
12820
  zoomLevel?: (HelixHeadlessMap["zoomLevel"]) | undefined;
12821
+ /** The hint shown when a surface waiting to be pressed is scrolled or
12822
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
12823
+ "activate-hint-label"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12824
+ /** The hint shown when a surface waiting to be pressed is scrolled or
12825
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
12826
+ activateHintLabel?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12648
12827
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
12649
12828
  `none`. A family can add words of its own.
12650
12829
 
@@ -12709,6 +12888,26 @@ would write an attribute onto every host that no server sent. */
12709
12888
  "fullscreen-label"?: (HelixHeadlessMap["fullscreenLabel"]) | undefined;
12710
12889
  /** The fullscreen button's label. */
12711
12890
  fullscreenLabel?: (HelixHeadlessMap["fullscreenLabel"]) | undefined;
12891
+ /** Which gestures the surface takes from the page.
12892
+
12893
+ - `always`: the surface takes the wheel and one finger, for a surface
12894
+ that is the page, such as a full-screen view. A map rests here.
12895
+ - Unset is the family's own: `always` for a map, and for a board, a
12896
+ drag and a pinch, with the plain wheel left to the page until the
12897
+ board fills the screen.
12898
+ - `cooperative`: the wheel and one finger scroll the page, and the
12899
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
12900
+ says so when a gesture passes to the page. Best for a surface embedded
12901
+ in a page.
12902
+ - `activate`: the surface takes nothing until it is pressed, and gives it
12903
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
12904
+
12905
+ The keyboard and the frame's buttons work in every mode.
12906
+
12907
+ **Unreflected and without a default**, because a default that reflected
12908
+ would write an attribute onto every host that no server sent, and the
12909
+ hydration that followed would disagree with it. */
12910
+ gestures?: (HelixHeadlessMap["gestures"]) | undefined;
12712
12911
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
12713
12912
 
12714
12913
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -12763,6 +12962,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
12763
12962
  "pan-up-label"?: (HelixHeadlessMap["panUpLabel"]) | undefined;
12764
12963
  /** The pan up button's label. */
12765
12964
  panUpLabel?: (HelixHeadlessMap["panUpLabel"]) | undefined;
12965
+ /** The hint shown when one finger swipes over a surface with
12966
+ `gestures="cooperative"`. Absent is the family's own. */
12967
+ "two-finger-hint-label"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12968
+ /** The hint shown when one finger swipes over a surface with
12969
+ `gestures="cooperative"`. Absent is the family's own. */
12970
+ twoFingerHintLabel?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12971
+ /** The line shown while a surface with `gestures="activate"` has the
12972
+ gestures. Absent is the family's own. */
12973
+ "using-label"?: (HelixHeadlessMap["usingLabel"]) | undefined;
12974
+ /** The line shown while a surface with `gestures="activate"` has the
12975
+ gestures. Absent is the family's own. */
12976
+ usingLabel?: (HelixHeadlessMap["usingLabel"]) | undefined;
12977
+ /** The hint shown when the wheel scrolls past a surface with
12978
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12979
+ elsewhere. Absent is the family's own. */
12980
+ "wheel-hint-label"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12981
+ /** The hint shown when the wheel scrolls past a surface with
12982
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12983
+ elsewhere. Absent is the family's own. */
12984
+ wheelHintLabel?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12766
12985
  /** The zoom in button's label. */
12767
12986
  "zoom-in-label"?: (HelixHeadlessMap["zoomInLabel"]) | undefined;
12768
12987
  /** The zoom in button's label. */
@@ -12797,12 +13016,6 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
12797
13016
  };
12798
13017
 
12799
13018
  export type HelixHeadlessMapSolidJsProps = {
12800
- /** The hint shown when a map waiting to be pressed is scrolled or swiped
12801
- over, with `gestures="activate"`. */
12802
- "attr:activate-hint-label"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12803
- /** The hint shown when a map waiting to be pressed is scrolled or swiped
12804
- over, with `gestures="activate"`. */
12805
- "prop:activateHintLabel"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12806
13019
  /** The map's rotation, in degrees clockwise from north. `connectMap` keeps it
12807
13020
  current, and the Face north button's needle turns with it. */
12808
13021
  "prop:bearing"?: (HelixHeadlessMap["bearing"]) | undefined;
@@ -12817,19 +13030,6 @@ the map zooms in, and pressing one zooms in to its places. */
12817
13030
  "attr:flat-label"?: (HelixHeadlessMap["flatLabel"]) | undefined;
12818
13031
  /** What screen readers hear when the map is tilted back to looking straight down. */
12819
13032
  "prop:flatLabel"?: (HelixHeadlessMap["flatLabel"]) | undefined;
12820
- /** Which gestures the map takes from the page.
12821
-
12822
- - `always`, which unset is: the wheel zooms the map and one finger pans
12823
- it, for a map that is the page, such as a full-screen view.
12824
- - `cooperative`: the wheel and one finger scroll the page, and the map
12825
- takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
12826
- when a gesture passes to the page. Best for a map embedded in a page.
12827
- - `activate`: the map takes nothing until it is pressed, and gives it
12828
- back on Escape, when the pointer leaves it, or on a press elsewhere.
12829
-
12830
- The keyboard and the frame's buttons work in every mode. The renderer is
12831
- told through the connector, so MapLibre and Leaflet behave alike. */
12832
- "prop:gestures"?: (HelixHeadlessMap["gestures"]) | undefined;
12833
13033
  /** The Hybrid map type's name. */
12834
13034
  "attr:hybrid-label"?: (HelixHeadlessMap["hybridLabel"]) | undefined;
12835
13035
  /** The Hybrid map type's name. */
@@ -12911,22 +13111,6 @@ top of the map faces, clockwise from north. */
12911
13111
  /** What screen readers hear when the map is turned. `{degrees}` is the way the
12912
13112
  top of the map faces, clockwise from north. */
12913
13113
  "prop:turnedLabel"?: (HelixHeadlessMap["turnedLabel"]) | undefined;
12914
- /** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
12915
- "attr:two-finger-hint-label"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12916
- /** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
12917
- "prop:twoFingerHintLabel"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
12918
- /** The line shown while a map with `gestures="activate"` has the gestures. */
12919
- "attr:using-label"?: (HelixHeadlessMap["usingLabel"]) | undefined;
12920
- /** The line shown while a map with `gestures="activate"` has the gestures. */
12921
- "prop:usingLabel"?: (HelixHeadlessMap["usingLabel"]) | undefined;
12922
- /** The hint shown when the wheel scrolls past a map with
12923
- `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12924
- elsewhere, as the renderer reads it. */
12925
- "attr:wheel-hint-label"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12926
- /** The hint shown when the wheel scrolls past a map with
12927
- `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
12928
- elsewhere, as the renderer reads it. */
12929
- "prop:wheelHintLabel"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
12930
13114
  /** What screen readers hear after a zoom. `{level}` is the zoom level. */
12931
13115
  "attr:zoomed-label"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
12932
13116
  /** What screen readers hear after a zoom. `{level}` is the zoom level. */
@@ -12937,6 +13121,12 @@ current, and the map says it after a zoom. */
12937
13121
  /** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
12938
13122
  current, and the map says it after a zoom. */
12939
13123
  "prop:zoomLevel"?: (HelixHeadlessMap["zoomLevel"]) | undefined;
13124
+ /** The hint shown when a surface waiting to be pressed is scrolled or
13125
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
13126
+ "attr:activate-hint-label"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
13127
+ /** The hint shown when a surface waiting to be pressed is scrolled or
13128
+ swiped over, with `gestures="activate"`. Absent is the family's own. */
13129
+ "prop:activateHintLabel"?: (HelixHeadlessMap["activateHintLabel"]) | undefined;
12940
13130
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
12941
13131
  `none`. A family can add words of its own.
12942
13132
 
@@ -13001,6 +13191,26 @@ would write an attribute onto every host that no server sent. */
13001
13191
  "attr:fullscreen-label"?: (HelixHeadlessMap["fullscreenLabel"]) | undefined;
13002
13192
  /** The fullscreen button's label. */
13003
13193
  "prop:fullscreenLabel"?: (HelixHeadlessMap["fullscreenLabel"]) | undefined;
13194
+ /** Which gestures the surface takes from the page.
13195
+
13196
+ - `always`: the surface takes the wheel and one finger, for a surface
13197
+ that is the page, such as a full-screen view. A map rests here.
13198
+ - Unset is the family's own: `always` for a map, and for a board, a
13199
+ drag and a pinch, with the plain wheel left to the page until the
13200
+ board fills the screen.
13201
+ - `cooperative`: the wheel and one finger scroll the page, and the
13202
+ surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
13203
+ says so when a gesture passes to the page. Best for a surface embedded
13204
+ in a page.
13205
+ - `activate`: the surface takes nothing until it is pressed, and gives it
13206
+ back on Escape, when the pointer leaves it, or on a press elsewhere.
13207
+
13208
+ The keyboard and the frame's buttons work in every mode.
13209
+
13210
+ **Unreflected and without a default**, because a default that reflected
13211
+ would write an attribute onto every host that no server sent, and the
13212
+ hydration that followed would disagree with it. */
13213
+ "prop:gestures"?: (HelixHeadlessMap["gestures"]) | undefined;
13004
13214
  /** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
13005
13215
 
13006
13216
  Zero keeps it up, which is the default: these controls are how a keyboard
@@ -13055,6 +13265,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
13055
13265
  "attr:pan-up-label"?: (HelixHeadlessMap["panUpLabel"]) | undefined;
13056
13266
  /** The pan up button's label. */
13057
13267
  "prop:panUpLabel"?: (HelixHeadlessMap["panUpLabel"]) | undefined;
13268
+ /** The hint shown when one finger swipes over a surface with
13269
+ `gestures="cooperative"`. Absent is the family's own. */
13270
+ "attr:two-finger-hint-label"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
13271
+ /** The hint shown when one finger swipes over a surface with
13272
+ `gestures="cooperative"`. Absent is the family's own. */
13273
+ "prop:twoFingerHintLabel"?: (HelixHeadlessMap["twoFingerHintLabel"]) | undefined;
13274
+ /** The line shown while a surface with `gestures="activate"` has the
13275
+ gestures. Absent is the family's own. */
13276
+ "attr:using-label"?: (HelixHeadlessMap["usingLabel"]) | undefined;
13277
+ /** The line shown while a surface with `gestures="activate"` has the
13278
+ gestures. Absent is the family's own. */
13279
+ "prop:usingLabel"?: (HelixHeadlessMap["usingLabel"]) | undefined;
13280
+ /** The hint shown when the wheel scrolls past a surface with
13281
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
13282
+ elsewhere. Absent is the family's own. */
13283
+ "attr:wheel-hint-label"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
13284
+ /** The hint shown when the wheel scrolls past a surface with
13285
+ `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
13286
+ elsewhere. Absent is the family's own. */
13287
+ "prop:wheelHintLabel"?: (HelixHeadlessMap["wheelHintLabel"]) | undefined;
13058
13288
  /** The zoom in button's label. */
13059
13289
  "attr:zoom-in-label"?: (HelixHeadlessMap["zoomInLabel"]) | undefined;
13060
13290
  /** The zoom in button's label. */
@@ -25253,6 +25483,8 @@ export type CustomElements = {
25253
25483
  * red is "blocked" on one board and "urgent" on the next. A reader who can
25254
25484
  * see the board is told by the color; this is how a reader who cannot is
25255
25485
  * told the same. A tone left out is not read.
25486
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
25487
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
25256
25488
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
25257
25489
  * `none`. A family can add words of its own.
25258
25490
  *
@@ -25292,6 +25524,25 @@ export type CustomElements = {
25292
25524
  * resting value being an attribute's absence: a default that reflected
25293
25525
  * would write an attribute onto every host that no server sent.
25294
25526
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
25527
+ * - `gestures`: Which gestures the surface takes from the page.
25528
+ *
25529
+ * - `always`: the surface takes the wheel and one finger, for a surface
25530
+ * that is the page, such as a full-screen view. A map rests here.
25531
+ * - Unset is the family's own: `always` for a map, and for a board, a
25532
+ * drag and a pinch, with the plain wheel left to the page until the
25533
+ * board fills the screen.
25534
+ * - `cooperative`: the wheel and one finger scroll the page, and the
25535
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
25536
+ * says so when a gesture passes to the page. Best for a surface embedded
25537
+ * in a page.
25538
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
25539
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
25540
+ *
25541
+ * The keyboard and the frame's buttons work in every mode.
25542
+ *
25543
+ * **Unreflected and without a default**, because a default that reflected
25544
+ * would write an attribute onto every host that no server sent, and the
25545
+ * hydration that followed would disagree with it.
25295
25546
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
25296
25547
  *
25297
25548
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -25313,6 +25564,13 @@ export type CustomElements = {
25313
25564
  * scale of what is inside it: a quarter of the viewport is the same gesture
25314
25565
  * at any zoom, and a consumer who wants their own units multiplies by them.
25315
25566
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
25567
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
25568
+ * `gestures="cooperative"`. Absent is the family's own.
25569
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
25570
+ * gestures. Absent is the family's own.
25571
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
25572
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
25573
+ * elsewhere. Absent is the family's own.
25316
25574
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
25317
25575
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
25318
25576
  * - `view`: The board's current view: the document's point at the middle of the view,
@@ -25429,6 +25687,8 @@ export type CustomElements = {
25429
25687
  * - `edges`: The layer the connectors are drawn in.
25430
25688
  * - `footer`: The strip below the board.
25431
25689
  * - `fullscreen`: The button that makes the board fill the screen.
25690
+ * - `gesture-hint`: Words over the board for a moment when it lets a gesture pass to the page, such as how to zoom it.
25691
+ * - `gesture-status`: The line shown while a board with `gestures="activate"` has the gestures.
25432
25692
  * - `header`: The strip above the board.
25433
25693
  * - `label`: The label on a connector.
25434
25694
  * - `label-editor`: The field for editing a connection's label or a group's name, placed over that text.
@@ -25454,6 +25714,8 @@ export type CustomElements = {
25454
25714
  * - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
25455
25715
  * - `idle`: The user has been still for `idle-delay` milliseconds. The board's own controls stay; select on it to hide chrome of your own.
25456
25716
  * - `pressing`: While a press on the board, its cards or its connections is under way.
25717
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a board with `gestures="activate"` waits to be pressed.
25718
+ * - `using`: A board with `gestures="activate"` has been pressed and has the gestures.
25457
25719
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
25458
25720
  */
25459
25721
  "helix-headless-canvas": Partial<
@@ -30958,8 +31220,8 @@ export type CustomElements = {
30958
31220
  /**
30959
31221
  * Helix draws no graph. A force layout of thousands of notes is physics and
30960
31222
  * WebGL, which a renderer such as Sigma.js does. Put the renderer's box in the
30961
- * frame, draw `nodes` and `links` in it, and answer the frame's pan and zoom
30962
- * events by moving the drawing.
31223
+ * frame, and `connectGraph` from `@fusion.dev/helix-graph` draws `nodes` and
31224
+ * `links` in it and keeps it in step with the frame.
30963
31225
  *
30964
31226
  * What the frame adds is what a drawing of a graph cannot do: a list of every
30965
31227
  * note beside it, which is the graph for a screen reader and a quick way to
@@ -30993,6 +31255,8 @@ export type CustomElements = {
30993
31255
  * - `notes-label`/`notesLabel`: The list's name, read by screen readers.
30994
31256
  * - `search-label`/`searchLabel`: The search field's name.
30995
31257
  * - `selected-label`/`selectedLabel`: How the selected note is described in the list.
31258
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
31259
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
30996
31260
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
30997
31261
  * `none`. A family can add words of its own.
30998
31262
  *
@@ -31032,6 +31296,25 @@ export type CustomElements = {
31032
31296
  * resting value being an attribute's absence: a default that reflected
31033
31297
  * would write an attribute onto every host that no server sent.
31034
31298
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
31299
+ * - `gestures`: Which gestures the surface takes from the page.
31300
+ *
31301
+ * - `always`: the surface takes the wheel and one finger, for a surface
31302
+ * that is the page, such as a full-screen view. A map rests here.
31303
+ * - Unset is the family's own: `always` for a map, and for a board, a
31304
+ * drag and a pinch, with the plain wheel left to the page until the
31305
+ * board fills the screen.
31306
+ * - `cooperative`: the wheel and one finger scroll the page, and the
31307
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
31308
+ * says so when a gesture passes to the page. Best for a surface embedded
31309
+ * in a page.
31310
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
31311
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
31312
+ *
31313
+ * The keyboard and the frame's buttons work in every mode.
31314
+ *
31315
+ * **Unreflected and without a default**, because a default that reflected
31316
+ * would write an attribute onto every host that no server sent, and the
31317
+ * hydration that followed would disagree with it.
31035
31318
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
31036
31319
  *
31037
31320
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -31053,6 +31336,13 @@ export type CustomElements = {
31053
31336
  * scale of what is inside it: a quarter of the viewport is the same gesture
31054
31337
  * at any zoom, and a consumer who wants their own units multiplies by them.
31055
31338
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
31339
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
31340
+ * `gestures="cooperative"`. Absent is the family's own.
31341
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
31342
+ * gestures. Absent is the family's own.
31343
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
31344
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
31345
+ * elsewhere. Absent is the family's own.
31056
31346
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
31057
31347
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
31058
31348
  * - `active`: The `value` of the current item.
@@ -31096,9 +31386,11 @@ export type CustomElements = {
31096
31386
  *
31097
31387
  * - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
31098
31388
  * - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
31099
- * - `helix-graph-pan`: A pan button or arrow key was pressed. Move the drawing.
31389
+ * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`.
31390
+ * - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
31391
+ * - `helix-graph-part-change`: The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it.
31100
31392
  * - `helix-graph-ready`: The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not.
31101
- * - `helix-graph-zoom`: A zoom button or key was pressed. Zoom the drawing.
31393
+ * - `helix-graph-zoom`: A zoom button or key was pressed. `connectGraph` zooms the drawing.
31102
31394
  *
31103
31395
  * ## Slots
31104
31396
  *
@@ -31114,10 +31406,14 @@ export type CustomElements = {
31114
31406
  * Methods that can be called to access component functionality.
31115
31407
  *
31116
31408
  * - `drawn(whole = true) => void`: Says the graph has been drawn whole, or with `false`, that it no longer
31117
- * is. Call it when the renderer's layout has settled and the graph is
31118
- * finished. The first call after
31409
+ * is. Called by `connectGraph` once its layout has settled; a page drawing
31410
+ * its own graph calls it when that graph is finished. The first call after
31119
31411
  * the graph was not drawn sends `helix-graph-ready` and turns on
31120
31412
  * `:state(ready)`.
31413
+ * - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
31414
+ * `helix-graph-layout` for the page to keep. Called by `connectGraph` once
31415
+ * its layout has settled; a page laying out its own graph calls it the same
31416
+ * way.
31121
31417
  * - `pan(to: ViewportWay) => void`: Pans the view one step in a direction.
31122
31418
  * - `zoom(by: number) => void`: Zooms the view one step: `1` zooms in and `-1` zooms out.
31123
31419
  * - `toggleFullscreen() => void`: Turns fullscreen on or off.
@@ -31143,6 +31439,8 @@ export type CustomElements = {
31143
31439
  * - `filter-mark`: The default icon beside the search field, shown when none is slotted.
31144
31440
  * - `footer`: The strip below the graph.
31145
31441
  * - `fullscreen`: The button that makes the graph fill the screen.
31442
+ * - `gesture-hint`: Words over the graph for a moment when it lets a gesture pass to the page, such as how to zoom it.
31443
+ * - `gesture-status`: The line shown while a graph with `gestures="activate"` has the gestures.
31146
31444
  * - `header`: The strip above the graph.
31147
31445
  * - `list`: The list of notes, which draws only the rows in view.
31148
31446
  * - `live`: What screen readers hear when a search changes how many notes there are.
@@ -31172,6 +31470,8 @@ export type CustomElements = {
31172
31470
  * - `fullscreen`: The graph fills the screen.
31173
31471
  * - `idle`: The user has been still long enough for the header and footer to fade.
31174
31472
  * - `ready`: The graph has been drawn whole, after `helix-graph-ready`.
31473
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a graph with `gestures="activate"` waits to be pressed.
31474
+ * - `using`: A graph with `gestures="activate"` has been pressed and has the gestures.
31175
31475
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
31176
31476
  */
31177
31477
  "helix-headless-graph": Partial<
@@ -33871,26 +34171,12 @@ export type CustomElements = {
33871
34171
  *
33872
34172
  * Component attributes and properties that can be applied to the element or by using JavaScript.
33873
34173
  *
33874
- * - `activate-hint-label`/`activateHintLabel`: The hint shown when a map waiting to be pressed is scrolled or swiped
33875
- * over, with `gestures="activate"`.
33876
34174
  * - `bearing`: The map's rotation, in degrees clockwise from north. `connectMap` keeps it
33877
34175
  * current, and the Face north button's needle turns with it.
33878
34176
  * - `cluster`: Combines markers that would overlap into one count. Counts split apart as
33879
34177
  * the map zooms in, and pressing one zooms in to its places.
33880
34178
  * - `face-north-label`/`faceNorthLabel`: The Face north button's label.
33881
34179
  * - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
33882
- * - `gestures`: Which gestures the map takes from the page.
33883
- *
33884
- * - `always`, which unset is: the wheel zooms the map and one finger pans
33885
- * it, for a map that is the page, such as a full-screen view.
33886
- * - `cooperative`: the wheel and one finger scroll the page, and the map
33887
- * takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
33888
- * when a gesture passes to the page. Best for a map embedded in a page.
33889
- * - `activate`: the map takes nothing until it is pressed, and gives it
33890
- * back on Escape, when the pointer leaves it, or on a press elsewhere.
33891
- *
33892
- * The keyboard and the frame's buttons work in every mode. The renderer is
33893
- * told through the connector, so MapLibre and Leaflet behave alike.
33894
34180
  * - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
33895
34181
  * - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
33896
34182
  * area", so that several maps on one page can be told apart. Required.
@@ -33917,14 +34203,11 @@ export type CustomElements = {
33917
34203
  * - `tilt-label`/`tiltLabel`: The 3D button's label.
33918
34204
  * - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
33919
34205
  * top of the map faces, clockwise from north.
33920
- * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a map with `gestures="cooperative"`.
33921
- * - `using-label`/`usingLabel`: The line shown while a map with `gestures="activate"` has the gestures.
33922
- * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a map with
33923
- * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
33924
- * elsewhere, as the renderer reads it.
33925
34206
  * - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
33926
34207
  * - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
33927
34208
  * current, and the map says it after a zoom.
34209
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
34210
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
33928
34211
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
33929
34212
  * `none`. A family can add words of its own.
33930
34213
  *
@@ -33964,6 +34247,25 @@ export type CustomElements = {
33964
34247
  * resting value being an attribute's absence: a default that reflected
33965
34248
  * would write an attribute onto every host that no server sent.
33966
34249
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
34250
+ * - `gestures`: Which gestures the surface takes from the page.
34251
+ *
34252
+ * - `always`: the surface takes the wheel and one finger, for a surface
34253
+ * that is the page, such as a full-screen view. A map rests here.
34254
+ * - Unset is the family's own: `always` for a map, and for a board, a
34255
+ * drag and a pinch, with the plain wheel left to the page until the
34256
+ * board fills the screen.
34257
+ * - `cooperative`: the wheel and one finger scroll the page, and the
34258
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
34259
+ * says so when a gesture passes to the page. Best for a surface embedded
34260
+ * in a page.
34261
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
34262
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
34263
+ *
34264
+ * The keyboard and the frame's buttons work in every mode.
34265
+ *
34266
+ * **Unreflected and without a default**, because a default that reflected
34267
+ * would write an attribute onto every host that no server sent, and the
34268
+ * hydration that followed would disagree with it.
33967
34269
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
33968
34270
  *
33969
34271
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -33985,6 +34287,13 @@ export type CustomElements = {
33985
34287
  * scale of what is inside it: a quarter of the viewport is the same gesture
33986
34288
  * at any zoom, and a consumer who wants their own units multiplies by them.
33987
34289
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
34290
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
34291
+ * `gestures="cooperative"`. Absent is the family's own.
34292
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
34293
+ * gestures. Absent is the family's own.
34294
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
34295
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
34296
+ * elsewhere. Absent is the family's own.
33988
34297
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
33989
34298
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
33990
34299
  * - `ready`: Whether the map has been drawn whole, which `drawn()` says. For a page that
@@ -34118,6 +34427,7 @@ export type CustomElements = {
34118
34427
  * - `fullscreen`: The map fills the screen.
34119
34428
  * - `idle`: The user has been still long enough for the header and footer to fade.
34120
34429
  * - `ready`: The map has been drawn whole, after `helix-map-ready`.
34430
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a map with `gestures="activate"` waits to be pressed.
34121
34431
  * - `using`: A map with `gestures="activate"` has been pressed and has the gestures.
34122
34432
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
34123
34433
  */
@@ -45473,6 +45783,8 @@ export type CustomElementsSolidJs = {
45473
45783
  * red is "blocked" on one board and "urgent" on the next. A reader who can
45474
45784
  * see the board is told by the color; this is how a reader who cannot is
45475
45785
  * told the same. A tone left out is not read.
45786
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
45787
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
45476
45788
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
45477
45789
  * `none`. A family can add words of its own.
45478
45790
  *
@@ -45512,6 +45824,25 @@ export type CustomElementsSolidJs = {
45512
45824
  * resting value being an attribute's absence: a default that reflected
45513
45825
  * would write an attribute onto every host that no server sent.
45514
45826
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
45827
+ * - `gestures`: Which gestures the surface takes from the page.
45828
+ *
45829
+ * - `always`: the surface takes the wheel and one finger, for a surface
45830
+ * that is the page, such as a full-screen view. A map rests here.
45831
+ * - Unset is the family's own: `always` for a map, and for a board, a
45832
+ * drag and a pinch, with the plain wheel left to the page until the
45833
+ * board fills the screen.
45834
+ * - `cooperative`: the wheel and one finger scroll the page, and the
45835
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
45836
+ * says so when a gesture passes to the page. Best for a surface embedded
45837
+ * in a page.
45838
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
45839
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
45840
+ *
45841
+ * The keyboard and the frame's buttons work in every mode.
45842
+ *
45843
+ * **Unreflected and without a default**, because a default that reflected
45844
+ * would write an attribute onto every host that no server sent, and the
45845
+ * hydration that followed would disagree with it.
45515
45846
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
45516
45847
  *
45517
45848
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -45533,6 +45864,13 @@ export type CustomElementsSolidJs = {
45533
45864
  * scale of what is inside it: a quarter of the viewport is the same gesture
45534
45865
  * at any zoom, and a consumer who wants their own units multiplies by them.
45535
45866
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
45867
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
45868
+ * `gestures="cooperative"`. Absent is the family's own.
45869
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
45870
+ * gestures. Absent is the family's own.
45871
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
45872
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
45873
+ * elsewhere. Absent is the family's own.
45536
45874
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
45537
45875
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
45538
45876
  * - `view`: The board's current view: the document's point at the middle of the view,
@@ -45649,6 +45987,8 @@ export type CustomElementsSolidJs = {
45649
45987
  * - `edges`: The layer the connectors are drawn in.
45650
45988
  * - `footer`: The strip below the board.
45651
45989
  * - `fullscreen`: The button that makes the board fill the screen.
45990
+ * - `gesture-hint`: Words over the board for a moment when it lets a gesture pass to the page, such as how to zoom it.
45991
+ * - `gesture-status`: The line shown while a board with `gestures="activate"` has the gestures.
45652
45992
  * - `header`: The strip above the board.
45653
45993
  * - `label`: The label on a connector.
45654
45994
  * - `label-editor`: The field for editing a connection's label or a group's name, placed over that text.
@@ -45674,6 +46014,8 @@ export type CustomElementsSolidJs = {
45674
46014
  * - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
45675
46015
  * - `idle`: The user has been still for `idle-delay` milliseconds. The board's own controls stay; select on it to hide chrome of your own.
45676
46016
  * - `pressing`: While a press on the board, its cards or its connections is under way.
46017
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a board with `gestures="activate"` waits to be pressed.
46018
+ * - `using`: A board with `gestures="activate"` has been pressed and has the gestures.
45677
46019
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
45678
46020
  */
45679
46021
  "helix-headless-canvas": Partial<
@@ -51246,8 +51588,8 @@ export type CustomElementsSolidJs = {
51246
51588
  /**
51247
51589
  * Helix draws no graph. A force layout of thousands of notes is physics and
51248
51590
  * WebGL, which a renderer such as Sigma.js does. Put the renderer's box in the
51249
- * frame, draw `nodes` and `links` in it, and answer the frame's pan and zoom
51250
- * events by moving the drawing.
51591
+ * frame, and `connectGraph` from `@fusion.dev/helix-graph` draws `nodes` and
51592
+ * `links` in it and keeps it in step with the frame.
51251
51593
  *
51252
51594
  * What the frame adds is what a drawing of a graph cannot do: a list of every
51253
51595
  * note beside it, which is the graph for a screen reader and a quick way to
@@ -51281,6 +51623,8 @@ export type CustomElementsSolidJs = {
51281
51623
  * - `notes-label`/`notesLabel`: The list's name, read by screen readers.
51282
51624
  * - `search-label`/`searchLabel`: The search field's name.
51283
51625
  * - `selected-label`/`selectedLabel`: How the selected note is described in the list.
51626
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
51627
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
51284
51628
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
51285
51629
  * `none`. A family can add words of its own.
51286
51630
  *
@@ -51320,6 +51664,25 @@ export type CustomElementsSolidJs = {
51320
51664
  * resting value being an attribute's absence: a default that reflected
51321
51665
  * would write an attribute onto every host that no server sent.
51322
51666
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
51667
+ * - `gestures`: Which gestures the surface takes from the page.
51668
+ *
51669
+ * - `always`: the surface takes the wheel and one finger, for a surface
51670
+ * that is the page, such as a full-screen view. A map rests here.
51671
+ * - Unset is the family's own: `always` for a map, and for a board, a
51672
+ * drag and a pinch, with the plain wheel left to the page until the
51673
+ * board fills the screen.
51674
+ * - `cooperative`: the wheel and one finger scroll the page, and the
51675
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
51676
+ * says so when a gesture passes to the page. Best for a surface embedded
51677
+ * in a page.
51678
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
51679
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
51680
+ *
51681
+ * The keyboard and the frame's buttons work in every mode.
51682
+ *
51683
+ * **Unreflected and without a default**, because a default that reflected
51684
+ * would write an attribute onto every host that no server sent, and the
51685
+ * hydration that followed would disagree with it.
51323
51686
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
51324
51687
  *
51325
51688
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -51341,6 +51704,13 @@ export type CustomElementsSolidJs = {
51341
51704
  * scale of what is inside it: a quarter of the viewport is the same gesture
51342
51705
  * at any zoom, and a consumer who wants their own units multiplies by them.
51343
51706
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
51707
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
51708
+ * `gestures="cooperative"`. Absent is the family's own.
51709
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
51710
+ * gestures. Absent is the family's own.
51711
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
51712
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
51713
+ * elsewhere. Absent is the family's own.
51344
51714
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
51345
51715
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
51346
51716
  * - `active`: The `value` of the current item.
@@ -51384,9 +51754,11 @@ export type CustomElementsSolidJs = {
51384
51754
  *
51385
51755
  * - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
51386
51756
  * - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
51387
- * - `helix-graph-pan`: A pan button or arrow key was pressed. Move the drawing.
51757
+ * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`.
51758
+ * - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
51759
+ * - `helix-graph-part-change`: The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it.
51388
51760
  * - `helix-graph-ready`: The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not.
51389
- * - `helix-graph-zoom`: A zoom button or key was pressed. Zoom the drawing.
51761
+ * - `helix-graph-zoom`: A zoom button or key was pressed. `connectGraph` zooms the drawing.
51390
51762
  *
51391
51763
  * ## Slots
51392
51764
  *
@@ -51402,10 +51774,14 @@ export type CustomElementsSolidJs = {
51402
51774
  * Methods that can be called to access component functionality.
51403
51775
  *
51404
51776
  * - `drawn(whole = true) => void`: Says the graph has been drawn whole, or with `false`, that it no longer
51405
- * is. Call it when the renderer's layout has settled and the graph is
51406
- * finished. The first call after
51777
+ * is. Called by `connectGraph` once its layout has settled; a page drawing
51778
+ * its own graph calls it when that graph is finished. The first call after
51407
51779
  * the graph was not drawn sends `helix-graph-ready` and turns on
51408
51780
  * `:state(ready)`.
51781
+ * - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
51782
+ * `helix-graph-layout` for the page to keep. Called by `connectGraph` once
51783
+ * its layout has settled; a page laying out its own graph calls it the same
51784
+ * way.
51409
51785
  * - `pan(to: ViewportWay) => void`: Pans the view one step in a direction.
51410
51786
  * - `zoom(by: number) => void`: Zooms the view one step: `1` zooms in and `-1` zooms out.
51411
51787
  * - `toggleFullscreen() => void`: Turns fullscreen on or off.
@@ -51431,6 +51807,8 @@ export type CustomElementsSolidJs = {
51431
51807
  * - `filter-mark`: The default icon beside the search field, shown when none is slotted.
51432
51808
  * - `footer`: The strip below the graph.
51433
51809
  * - `fullscreen`: The button that makes the graph fill the screen.
51810
+ * - `gesture-hint`: Words over the graph for a moment when it lets a gesture pass to the page, such as how to zoom it.
51811
+ * - `gesture-status`: The line shown while a graph with `gestures="activate"` has the gestures.
51434
51812
  * - `header`: The strip above the graph.
51435
51813
  * - `list`: The list of notes, which draws only the rows in view.
51436
51814
  * - `live`: What screen readers hear when a search changes how many notes there are.
@@ -51460,6 +51838,8 @@ export type CustomElementsSolidJs = {
51460
51838
  * - `fullscreen`: The graph fills the screen.
51461
51839
  * - `idle`: The user has been still long enough for the header and footer to fade.
51462
51840
  * - `ready`: The graph has been drawn whole, after `helix-graph-ready`.
51841
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a graph with `gestures="activate"` waits to be pressed.
51842
+ * - `using`: A graph with `gestures="activate"` has been pressed and has the gestures.
51463
51843
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
51464
51844
  */
51465
51845
  "helix-headless-graph": Partial<
@@ -54216,26 +54596,12 @@ export type CustomElementsSolidJs = {
54216
54596
  *
54217
54597
  * Component attributes and properties that can be applied to the element or by using JavaScript.
54218
54598
  *
54219
- * - `activate-hint-label`/`activateHintLabel`: The hint shown when a map waiting to be pressed is scrolled or swiped
54220
- * over, with `gestures="activate"`.
54221
54599
  * - `bearing`: The map's rotation, in degrees clockwise from north. `connectMap` keeps it
54222
54600
  * current, and the Face north button's needle turns with it.
54223
54601
  * - `cluster`: Combines markers that would overlap into one count. Counts split apart as
54224
54602
  * the map zooms in, and pressing one zooms in to its places.
54225
54603
  * - `face-north-label`/`faceNorthLabel`: The Face north button's label.
54226
54604
  * - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
54227
- * - `gestures`: Which gestures the map takes from the page.
54228
- *
54229
- * - `always`, which unset is: the wheel zooms the map and one finger pans
54230
- * it, for a map that is the page, such as a full-screen view.
54231
- * - `cooperative`: the wheel and one finger scroll the page, and the map
54232
- * takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
54233
- * when a gesture passes to the page. Best for a map embedded in a page.
54234
- * - `activate`: the map takes nothing until it is pressed, and gives it
54235
- * back on Escape, when the pointer leaves it, or on a press elsewhere.
54236
- *
54237
- * The keyboard and the frame's buttons work in every mode. The renderer is
54238
- * told through the connector, so MapLibre and Leaflet behave alike.
54239
54605
  * - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
54240
54606
  * - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
54241
54607
  * area", so that several maps on one page can be told apart. Required.
@@ -54262,14 +54628,11 @@ export type CustomElementsSolidJs = {
54262
54628
  * - `tilt-label`/`tiltLabel`: The 3D button's label.
54263
54629
  * - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
54264
54630
  * top of the map faces, clockwise from north.
54265
- * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a map with `gestures="cooperative"`.
54266
- * - `using-label`/`usingLabel`: The line shown while a map with `gestures="activate"` has the gestures.
54267
- * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a map with
54268
- * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
54269
- * elsewhere, as the renderer reads it.
54270
54631
  * - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
54271
54632
  * - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
54272
54633
  * current, and the map says it after a zoom.
54634
+ * - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
54635
+ * swiped over, with `gestures="activate"`. Absent is the family's own.
54273
54636
  * - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
54274
54637
  * `none`. A family can add words of its own.
54275
54638
  *
@@ -54309,6 +54672,25 @@ export type CustomElementsSolidJs = {
54309
54672
  * resting value being an attribute's absence: a default that reflected
54310
54673
  * would write an attribute onto every host that no server sent.
54311
54674
  * - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
54675
+ * - `gestures`: Which gestures the surface takes from the page.
54676
+ *
54677
+ * - `always`: the surface takes the wheel and one finger, for a surface
54678
+ * that is the page, such as a full-screen view. A map rests here.
54679
+ * - Unset is the family's own: `always` for a map, and for a board, a
54680
+ * drag and a pinch, with the plain wheel left to the page until the
54681
+ * board fills the screen.
54682
+ * - `cooperative`: the wheel and one finger scroll the page, and the
54683
+ * surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
54684
+ * says so when a gesture passes to the page. Best for a surface embedded
54685
+ * in a page.
54686
+ * - `activate`: the surface takes nothing until it is pressed, and gives it
54687
+ * back on Escape, when the pointer leaves it, or on a press elsewhere.
54688
+ *
54689
+ * The keyboard and the frame's buttons work in every mode.
54690
+ *
54691
+ * **Unreflected and without a default**, because a default that reflected
54692
+ * would write an attribute onto every host that no server sent, and the
54693
+ * hydration that followed would disagree with it.
54312
54694
  * - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
54313
54695
  *
54314
54696
  * Zero keeps it up, which is the default: these controls are how a keyboard
@@ -54330,6 +54712,13 @@ export type CustomElementsSolidJs = {
54330
54712
  * scale of what is inside it: a quarter of the viewport is the same gesture
54331
54713
  * at any zoom, and a consumer who wants their own units multiplies by them.
54332
54714
  * - `pan-up-label`/`panUpLabel`: The pan up button's label.
54715
+ * - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
54716
+ * `gestures="cooperative"`. Absent is the family's own.
54717
+ * - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
54718
+ * gestures. Absent is the family's own.
54719
+ * - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
54720
+ * `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
54721
+ * elsewhere. Absent is the family's own.
54333
54722
  * - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
54334
54723
  * - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
54335
54724
  * - `ready`: Whether the map has been drawn whole, which `drawn()` says. For a page that
@@ -54463,6 +54852,7 @@ export type CustomElementsSolidJs = {
54463
54852
  * - `fullscreen`: The map fills the screen.
54464
54853
  * - `idle`: The user has been still long enough for the header and footer to fade.
54465
54854
  * - `ready`: The map has been drawn whole, after `helix-map-ready`.
54855
+ * - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a map with `gestures="activate"` waits to be pressed.
54466
54856
  * - `using`: A map with `gestures="activate"` has been pressed and has the gestures.
54467
54857
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
54468
54858
  */