@fusion.dev/helix-headless 0.117.0 → 0.119.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.
@@ -11022,6 +11022,14 @@
11022
11022
  "description": "The button that makes the board fill the screen.",
11023
11023
  "name": "fullscreen"
11024
11024
  },
11025
+ {
11026
+ "description": "Words over the board for a moment when it lets a gesture pass to the page, such as how to zoom it.",
11027
+ "name": "gesture-hint"
11028
+ },
11029
+ {
11030
+ "description": "The line shown while a board with `gestures=\"activate\"` has the gestures.",
11031
+ "name": "gesture-status"
11032
+ },
11025
11033
  {
11026
11034
  "description": "The strip above the board.",
11027
11035
  "name": "header"
@@ -11575,6 +11583,20 @@
11575
11583
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
11576
11584
  }
11577
11585
  },
11586
+ {
11587
+ "kind": "field",
11588
+ "name": "restingGestureLabels",
11589
+ "type": {
11590
+ "text": "ViewportGestureLabels"
11591
+ },
11592
+ "privacy": "protected",
11593
+ "description": "What the board says about its gestures where the page does not say it.",
11594
+ "readonly": true,
11595
+ "inheritedFrom": {
11596
+ "name": "MixinViewport",
11597
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
11598
+ }
11599
+ },
11578
11600
  {
11579
11601
  "kind": "field",
11580
11602
  "name": "restingControls",
@@ -12581,6 +12603,13 @@
12581
12603
  "readonly": true,
12582
12604
  "description": "A pinch, which zooms, and the wheel, which pans only once the board fills\nthe screen.\n\n**`ctrlKey` is a pinch as well as a control press**, which is the platform's\nown convention rather than this component's: a trackpad pinch arrives as a\nwheel event with `ctrlKey` set, on every browser, and a component that\nignored it would be the one thing on the page a pinch does not work on.\n\n**A plain wheel belongs to the page while the board is part of one.** Taking\nit trapped the reader: a board is most of a screen tall, so scrolling down a\npage stopped the moment the pointer crossed one and panned it instead, with\nno way on but to move the pointer off it first. Measured on the examples\npage, where the second board could not be scrolled to. A drag is how an\nembedded board moves, which is the bargain an embedded map makes too; once\nthe reader has filled the screen with it there is no page left to scroll, so\nthe wheel is the board's."
12583
12605
  },
12606
+ {
12607
+ "kind": "field",
12608
+ "name": "handleTouchStart",
12609
+ "privacy": "private",
12610
+ "readonly": true,
12611
+ "description": "A second finger on a cooperative board, which would otherwise go on\nscrolling the page the first finger started: stopped at the start, so\nthe two fingers pinch and move the board. **Not passive**, which is the\nonly way a start can be stopped."
12612
+ },
12584
12613
  {
12585
12614
  "kind": "field",
12586
12615
  "name": "handleStopKeydown",
@@ -13060,6 +13089,19 @@
13060
13089
  ],
13061
13090
  "description": "The connection being made, drawn from where it starts to the pointer, or to\nthe card a keyboard reader is on."
13062
13091
  },
13092
+ {
13093
+ "kind": "field",
13094
+ "name": "activateHintLabel",
13095
+ "type": {
13096
+ "text": "string | undefined"
13097
+ },
13098
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
13099
+ "attribute": "activate-hint-label",
13100
+ "inheritedFrom": {
13101
+ "name": "MixinViewport",
13102
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13103
+ }
13104
+ },
13063
13105
  {
13064
13106
  "kind": "field",
13065
13107
  "name": "controls",
@@ -13115,6 +13157,19 @@
13115
13157
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13116
13158
  }
13117
13159
  },
13160
+ {
13161
+ "kind": "field",
13162
+ "name": "gestures",
13163
+ "type": {
13164
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
13165
+ },
13166
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
13167
+ "attribute": "gestures",
13168
+ "inheritedFrom": {
13169
+ "name": "MixinViewport",
13170
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13171
+ }
13172
+ },
13118
13173
  {
13119
13174
  "kind": "field",
13120
13175
  "name": "idleDelay",
@@ -13199,6 +13254,45 @@
13199
13254
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13200
13255
  }
13201
13256
  },
13257
+ {
13258
+ "kind": "field",
13259
+ "name": "twoFingerHintLabel",
13260
+ "type": {
13261
+ "text": "string | undefined"
13262
+ },
13263
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
13264
+ "attribute": "two-finger-hint-label",
13265
+ "inheritedFrom": {
13266
+ "name": "MixinViewport",
13267
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13268
+ }
13269
+ },
13270
+ {
13271
+ "kind": "field",
13272
+ "name": "usingLabel",
13273
+ "type": {
13274
+ "text": "string | undefined"
13275
+ },
13276
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
13277
+ "attribute": "using-label",
13278
+ "inheritedFrom": {
13279
+ "name": "MixinViewport",
13280
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13281
+ }
13282
+ },
13283
+ {
13284
+ "kind": "field",
13285
+ "name": "wheelHintLabel",
13286
+ "type": {
13287
+ "text": "string | undefined"
13288
+ },
13289
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
13290
+ "attribute": "wheel-hint-label",
13291
+ "inheritedFrom": {
13292
+ "name": "MixinViewport",
13293
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13294
+ }
13295
+ },
13202
13296
  {
13203
13297
  "kind": "field",
13204
13298
  "name": "zoomInLabel",
@@ -13241,6 +13335,73 @@
13241
13335
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13242
13336
  }
13243
13337
  },
13338
+ {
13339
+ "kind": "field",
13340
+ "name": "gesturesTaken",
13341
+ "type": {
13342
+ "text": "boolean"
13343
+ },
13344
+ "privacy": "protected",
13345
+ "default": "false",
13346
+ "description": "Whether an `activate` surface has been pressed, and has the gestures.",
13347
+ "inheritedFrom": {
13348
+ "name": "MixinViewport",
13349
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13350
+ }
13351
+ },
13352
+ {
13353
+ "kind": "field",
13354
+ "name": "hint",
13355
+ "type": {
13356
+ "text": "string"
13357
+ },
13358
+ "privacy": "private",
13359
+ "default": "''",
13360
+ "description": "The hint over the surface while one shows, put there by a gesture it let pass.",
13361
+ "inheritedFrom": {
13362
+ "name": "MixinViewport",
13363
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13364
+ }
13365
+ },
13366
+ {
13367
+ "kind": "field",
13368
+ "name": "hinting",
13369
+ "type": {
13370
+ "text": "ReturnType<typeof setTimeout> | undefined"
13371
+ },
13372
+ "privacy": "private",
13373
+ "description": "When the hint goes.",
13374
+ "inheritedFrom": {
13375
+ "name": "MixinViewport",
13376
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13377
+ }
13378
+ },
13379
+ {
13380
+ "kind": "field",
13381
+ "name": "hintAt",
13382
+ "type": {
13383
+ "text": "{ x: number; y: number } | undefined"
13384
+ },
13385
+ "privacy": "private",
13386
+ "description": "Where the gesture was, in the viewport's box, which the hint is shown\nat: where the reader is looking, and on the surface wherever a page laid\nits own content over the rest of it.",
13387
+ "inheritedFrom": {
13388
+ "name": "MixinViewport",
13389
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13390
+ }
13391
+ },
13392
+ {
13393
+ "kind": "field",
13394
+ "name": "takenBy",
13395
+ "type": {
13396
+ "text": "Event | undefined"
13397
+ },
13398
+ "privacy": "private",
13399
+ "description": "The press that took the gestures, which is not also the first gesture.",
13400
+ "inheritedFrom": {
13401
+ "name": "MixinViewport",
13402
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13403
+ }
13404
+ },
13244
13405
  {
13245
13406
  "kind": "field",
13246
13407
  "name": "fullscreen",
@@ -13277,6 +13438,166 @@
13277
13438
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13278
13439
  }
13279
13440
  },
13441
+ {
13442
+ "kind": "method",
13443
+ "name": "gestureAllowed",
13444
+ "privacy": "protected",
13445
+ "return": {
13446
+ "type": {
13447
+ "text": "boolean"
13448
+ }
13449
+ },
13450
+ "parameters": [
13451
+ {
13452
+ "name": "event",
13453
+ "type": {
13454
+ "text": "Event"
13455
+ }
13456
+ }
13457
+ ],
13458
+ "description": "Whether a gesture that started with this event is the surface's to\nanswer, for a family that answers gestures itself. Never while an\n`activate` surface waits, and never on the press that ended the wait:\nthat press hands over the gestures and moves nothing.",
13459
+ "inheritedFrom": {
13460
+ "name": "MixinViewport",
13461
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13462
+ }
13463
+ },
13464
+ {
13465
+ "kind": "method",
13466
+ "name": "gesturesChanged",
13467
+ "privacy": "protected",
13468
+ "return": {
13469
+ "type": {
13470
+ "text": "void"
13471
+ }
13472
+ },
13473
+ "description": "Says that `gestureMode` changed. Nothing here; a family whose renderer\nis told through a connector says it with its own event.",
13474
+ "inheritedFrom": {
13475
+ "name": "MixinViewport",
13476
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13477
+ }
13478
+ },
13479
+ {
13480
+ "kind": "method",
13481
+ "name": "showHint",
13482
+ "privacy": "private",
13483
+ "return": {
13484
+ "type": {
13485
+ "text": "void"
13486
+ }
13487
+ },
13488
+ "parameters": [
13489
+ {
13490
+ "name": "words",
13491
+ "type": {
13492
+ "text": "string"
13493
+ }
13494
+ },
13495
+ {
13496
+ "name": "at",
13497
+ "optional": true,
13498
+ "type": {
13499
+ "text": "{ clientX: number; clientY: number }"
13500
+ }
13501
+ }
13502
+ ],
13503
+ "description": "Shows a hint over the surface for a moment, where the gesture was.",
13504
+ "inheritedFrom": {
13505
+ "name": "MixinViewport",
13506
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13507
+ }
13508
+ },
13509
+ {
13510
+ "kind": "field",
13511
+ "name": "handleGestureWheel",
13512
+ "privacy": "private",
13513
+ "readonly": true,
13514
+ "description": "A wheel the surface let pass to the page, which is said: a reader\nscrolling the page past a surface that did not zoom is told why, and how\nto zoom it. **Ctrl or ⌘ with the wheel is the surface's**, and is what a\ntrackpad's pinch arrives as.",
13515
+ "inheritedFrom": {
13516
+ "name": "MixinViewport",
13517
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13518
+ }
13519
+ },
13520
+ {
13521
+ "kind": "field",
13522
+ "name": "handleGestureTouch",
13523
+ "privacy": "private",
13524
+ "readonly": true,
13525
+ "description": "One finger moving over the surface, which scrolls the page, and is said.",
13526
+ "inheritedFrom": {
13527
+ "name": "MixinViewport",
13528
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13529
+ }
13530
+ },
13531
+ {
13532
+ "kind": "field",
13533
+ "name": "handleTake",
13534
+ "privacy": "private",
13535
+ "readonly": true,
13536
+ "description": "A press on the surface itself, which hands a waiting surface the gestures.",
13537
+ "inheritedFrom": {
13538
+ "name": "MixinViewport",
13539
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13540
+ }
13541
+ },
13542
+ {
13543
+ "kind": "field",
13544
+ "name": "handleGiveBackKey",
13545
+ "privacy": "private",
13546
+ "readonly": true,
13547
+ "description": "Escape, which gives the page its scroll back.",
13548
+ "inheritedFrom": {
13549
+ "name": "MixinViewport",
13550
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13551
+ }
13552
+ },
13553
+ {
13554
+ "kind": "field",
13555
+ "name": "handleGiveBackOutside",
13556
+ "privacy": "private",
13557
+ "readonly": true,
13558
+ "description": "A press anywhere else on the page, which gives it its scroll back.",
13559
+ "inheritedFrom": {
13560
+ "name": "MixinViewport",
13561
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13562
+ }
13563
+ },
13564
+ {
13565
+ "kind": "field",
13566
+ "name": "handleGiveBackBlur",
13567
+ "privacy": "private",
13568
+ "readonly": true,
13569
+ "description": "The window losing focus, as a reader switching away does.",
13570
+ "inheritedFrom": {
13571
+ "name": "MixinViewport",
13572
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13573
+ }
13574
+ },
13575
+ {
13576
+ "kind": "field",
13577
+ "name": "handlePointerLeave",
13578
+ "privacy": "protected",
13579
+ "readonly": true,
13580
+ "description": "The pointer leaving the frame, which the family binds on its region.\n**Heard on the frame and not the drawing**, which a pointer resting on\nsomething raised over it has left. **A mouse or a pen and never a\nfinger**, whose `pointerleave` is the finger lifting: a tap took the\nsurface and gave it back in one.",
13581
+ "inheritedFrom": {
13582
+ "name": "MixinViewport",
13583
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13584
+ }
13585
+ },
13586
+ {
13587
+ "kind": "method",
13588
+ "name": "renderGestures",
13589
+ "privacy": "protected",
13590
+ "return": {
13591
+ "type": {
13592
+ "text": "TemplateResult"
13593
+ }
13594
+ },
13595
+ "description": "The hint over the surface and the line while it is in use, which the\nfamily draws inside its viewport, over what was slotted. The parts are\nwritten out, as the controls' are, so the manifest sees them.",
13596
+ "inheritedFrom": {
13597
+ "name": "MixinViewport",
13598
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
13599
+ }
13600
+ },
13280
13601
  {
13281
13602
  "kind": "method",
13282
13603
  "name": "toggleFullscreen",
@@ -14034,6 +14355,18 @@
14034
14355
  "description": "What each tone means on this board, in words read out with the cards and\nconnections in it, such as `{\"danger\": \"Blocked\", \"success\": \"Done\"}`.\n\n**Named by the page, since the tone names a color and the page gives it\nits meaning.** JSON Canvas leaves its six colors to the application, so\nred is \"blocked\" on one board and \"urgent\" on the next. A reader who can\nsee the board is told by the color; this is how a reader who cannot is\ntold the same. A tone left out is not read.",
14035
14356
  "fieldName": "toneLabels"
14036
14357
  },
14358
+ {
14359
+ "name": "activate-hint-label",
14360
+ "type": {
14361
+ "text": "string | undefined"
14362
+ },
14363
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
14364
+ "fieldName": "activateHintLabel",
14365
+ "inheritedFrom": {
14366
+ "name": "MixinViewport",
14367
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14368
+ }
14369
+ },
14037
14370
  {
14038
14371
  "name": "controls",
14039
14372
  "type": {
@@ -14083,6 +14416,18 @@
14083
14416
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14084
14417
  }
14085
14418
  },
14419
+ {
14420
+ "name": "gestures",
14421
+ "type": {
14422
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
14423
+ },
14424
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
14425
+ "fieldName": "gestures",
14426
+ "inheritedFrom": {
14427
+ "name": "MixinViewport",
14428
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14429
+ }
14430
+ },
14086
14431
  {
14087
14432
  "name": "idle-delay",
14088
14433
  "type": {
@@ -14161,6 +14506,42 @@
14161
14506
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14162
14507
  }
14163
14508
  },
14509
+ {
14510
+ "name": "two-finger-hint-label",
14511
+ "type": {
14512
+ "text": "string | undefined"
14513
+ },
14514
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
14515
+ "fieldName": "twoFingerHintLabel",
14516
+ "inheritedFrom": {
14517
+ "name": "MixinViewport",
14518
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14519
+ }
14520
+ },
14521
+ {
14522
+ "name": "using-label",
14523
+ "type": {
14524
+ "text": "string | undefined"
14525
+ },
14526
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
14527
+ "fieldName": "usingLabel",
14528
+ "inheritedFrom": {
14529
+ "name": "MixinViewport",
14530
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14531
+ }
14532
+ },
14533
+ {
14534
+ "name": "wheel-hint-label",
14535
+ "type": {
14536
+ "text": "string | undefined"
14537
+ },
14538
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
14539
+ "fieldName": "wheelHintLabel",
14540
+ "inheritedFrom": {
14541
+ "name": "MixinViewport",
14542
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
14543
+ }
14544
+ },
14164
14545
  {
14165
14546
  "name": "zoom-in-label",
14166
14547
  "type": {
@@ -14217,6 +14598,14 @@
14217
14598
  "description": "While a press on the board, its cards or its connections is under way.",
14218
14599
  "name": "pressing"
14219
14600
  },
14601
+ {
14602
+ "description": "The page keeps the plain wheel and one finger, with `gestures=\"cooperative\"` or while a board with `gestures=\"activate\"` waits to be pressed.",
14603
+ "name": "sharing"
14604
+ },
14605
+ {
14606
+ "description": "A board with `gestures=\"activate\"` has been pressed and has the gestures.",
14607
+ "name": "using"
14608
+ },
14220
14609
  {
14221
14610
  "description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
14222
14611
  "name": "settled",
@@ -49849,7 +50238,7 @@
49849
50238
  "declarations": [
49850
50239
  {
49851
50240
  "kind": "class",
49852
- "description": "Helix draws no graph. A force layout of thousands of notes is physics and\nWebGL, which a renderer such as Sigma.js does. Put the renderer's box in the\nframe, draw `nodes` and `links` in it, and answer the frame's pan and zoom\nevents by moving the drawing.\n\nWhat the frame adds is what a drawing of a graph cannot do: a list of every\nnote beside it, which is the graph for a screen reader and a quick way to\nfind a note for anyone. The selected note comes first, then the notes it\nlinks to and from, then every other note, and the search field narrows it.\nSelecting a note in the list or in the drawing is the same selection.\n\nSet `depth` to show the local graph: only the notes within that many links\nof the selected one.\n\n`nodes` and `links` are properties, never markup: a graph of ten thousand\nnotes as ten thousand elements would cost what the renderer exists to save.\nThe list draws only the rows in view.\n\nThe list scrolls on this tier. It carries `data-scroller`, and `core` ships\n`[data-scroller] { overflow: auto }` into every shadow root. You still need\nto set a block size on the list, or it grows to hold every row.",
50241
+ "description": "Helix draws no graph. A force layout of thousands of notes is physics and\nWebGL, which a renderer such as Sigma.js does. Put the renderer's box in the\nframe, and `connectGraph` from `@fusion.dev/helix-graph` draws `nodes` and\n`links` in it and keeps it in step with the frame.\n\nWhat the frame adds is what a drawing of a graph cannot do: a list of every\nnote beside it, which is the graph for a screen reader and a quick way to\nfind a note for anyone. The selected note comes first, then the notes it\nlinks to and from, then every other note, and the search field narrows it.\nSelecting a note in the list or in the drawing is the same selection.\n\nSet `depth` to show the local graph: only the notes within that many links\nof the selected one.\n\n`nodes` and `links` are properties, never markup: a graph of ten thousand\nnotes as ten thousand elements would cost what the renderer exists to save.\nThe list draws only the rows in view.\n\nThe list scrolls on this tier. It carries `data-scroller`, and `core` ships\n`[data-scroller] { overflow: auto }` into every shadow root. You still need\nto set a block size on the list, or it grows to hold every row.",
49853
50242
  "name": "HelixHeadlessGraph",
49854
50243
  "cssParts": [
49855
50244
  {
@@ -49888,6 +50277,14 @@
49888
50277
  "description": "The button that makes the graph fill the screen.",
49889
50278
  "name": "fullscreen"
49890
50279
  },
50280
+ {
50281
+ "description": "Words over the graph for a moment when it lets a gesture pass to the page, such as how to zoom it.",
50282
+ "name": "gesture-hint"
50283
+ },
50284
+ {
50285
+ "description": "The line shown while a graph with `gestures=\"activate\"` has the gestures.",
50286
+ "name": "gesture-status"
50287
+ },
49891
50288
  {
49892
50289
  "description": "The strip above the graph.",
49893
50290
  "name": "header"
@@ -50208,11 +50605,32 @@
50208
50605
  "default": "true"
50209
50606
  }
50210
50607
  ],
50211
- "description": "Says the graph has been drawn whole, or with `false`, that it no longer\nis. Call it when the renderer's layout has settled and the graph is\nfinished. The first call after\nthe graph was not drawn sends `helix-graph-ready` and turns on\n`:state(ready)`.",
50608
+ "description": "Says the graph has been drawn whole, or with `false`, that it no longer\nis. Called by `connectGraph` once its layout has settled; a page drawing\nits own graph calls it when that graph is finished. The first call after\nthe graph was not drawn sends `helix-graph-ready` and turns on\n`:state(ready)`.",
50212
50609
  "type": {
50213
50610
  "text": "drawn(whole = true) => void"
50214
50611
  }
50215
50612
  },
50613
+ {
50614
+ "kind": "method",
50615
+ "name": "laidOut",
50616
+ "return": {
50617
+ "type": {
50618
+ "text": "void"
50619
+ }
50620
+ },
50621
+ "parameters": [
50622
+ {
50623
+ "name": "positions",
50624
+ "type": {
50625
+ "text": "Record<string, { x: number; y: number }>"
50626
+ }
50627
+ }
50628
+ ],
50629
+ "description": "Says where a layout put each note, by its `id`: sends\n`helix-graph-layout` for the page to keep. Called by `connectGraph` once\nits layout has settled; a page laying out its own graph calls it the same\nway.",
50630
+ "type": {
50631
+ "text": "laidOut(positions: Record<string, { x: number; y: number }>) => void"
50632
+ }
50633
+ },
50216
50634
  {
50217
50635
  "kind": "method",
50218
50636
  "name": "panEvent",
@@ -50287,6 +50705,35 @@
50287
50705
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50288
50706
  }
50289
50707
  },
50708
+ {
50709
+ "kind": "method",
50710
+ "name": "gesturesChanged",
50711
+ "privacy": "protected",
50712
+ "return": {
50713
+ "type": {
50714
+ "text": "void"
50715
+ }
50716
+ },
50717
+ "description": "Which gestures the renderer takes, which `connectGraph` hears from here.",
50718
+ "inheritedFrom": {
50719
+ "name": "MixinViewport",
50720
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50721
+ }
50722
+ },
50723
+ {
50724
+ "kind": "field",
50725
+ "name": "restingGestureLabels",
50726
+ "type": {
50727
+ "text": "ViewportGestureLabels"
50728
+ },
50729
+ "privacy": "protected",
50730
+ "description": "What the graph says about its gestures where the page does not say it.",
50731
+ "readonly": true,
50732
+ "inheritedFrom": {
50733
+ "name": "MixinViewport",
50734
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50735
+ }
50736
+ },
50290
50737
  {
50291
50738
  "kind": "method",
50292
50739
  "name": "countText",
@@ -50396,6 +50843,19 @@
50396
50843
  }
50397
50844
  }
50398
50845
  },
50846
+ {
50847
+ "kind": "field",
50848
+ "name": "activateHintLabel",
50849
+ "type": {
50850
+ "text": "string | undefined"
50851
+ },
50852
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
50853
+ "attribute": "activate-hint-label",
50854
+ "inheritedFrom": {
50855
+ "name": "MixinViewport",
50856
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50857
+ }
50858
+ },
50399
50859
  {
50400
50860
  "kind": "field",
50401
50861
  "name": "controls",
@@ -50451,6 +50911,19 @@
50451
50911
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50452
50912
  }
50453
50913
  },
50914
+ {
50915
+ "kind": "field",
50916
+ "name": "gestures",
50917
+ "type": {
50918
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
50919
+ },
50920
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
50921
+ "attribute": "gestures",
50922
+ "inheritedFrom": {
50923
+ "name": "MixinViewport",
50924
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50925
+ }
50926
+ },
50454
50927
  {
50455
50928
  "kind": "field",
50456
50929
  "name": "idleDelay",
@@ -50535,6 +51008,45 @@
50535
51008
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50536
51009
  }
50537
51010
  },
51011
+ {
51012
+ "kind": "field",
51013
+ "name": "twoFingerHintLabel",
51014
+ "type": {
51015
+ "text": "string | undefined"
51016
+ },
51017
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
51018
+ "attribute": "two-finger-hint-label",
51019
+ "inheritedFrom": {
51020
+ "name": "MixinViewport",
51021
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51022
+ }
51023
+ },
51024
+ {
51025
+ "kind": "field",
51026
+ "name": "usingLabel",
51027
+ "type": {
51028
+ "text": "string | undefined"
51029
+ },
51030
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
51031
+ "attribute": "using-label",
51032
+ "inheritedFrom": {
51033
+ "name": "MixinViewport",
51034
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51035
+ }
51036
+ },
51037
+ {
51038
+ "kind": "field",
51039
+ "name": "wheelHintLabel",
51040
+ "type": {
51041
+ "text": "string | undefined"
51042
+ },
51043
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
51044
+ "attribute": "wheel-hint-label",
51045
+ "inheritedFrom": {
51046
+ "name": "MixinViewport",
51047
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51048
+ }
51049
+ },
50538
51050
  {
50539
51051
  "kind": "field",
50540
51052
  "name": "zoomInLabel",
@@ -50577,6 +51089,73 @@
50577
51089
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50578
51090
  }
50579
51091
  },
51092
+ {
51093
+ "kind": "field",
51094
+ "name": "gesturesTaken",
51095
+ "type": {
51096
+ "text": "boolean"
51097
+ },
51098
+ "privacy": "protected",
51099
+ "default": "false",
51100
+ "description": "Whether an `activate` surface has been pressed, and has the gestures.",
51101
+ "inheritedFrom": {
51102
+ "name": "MixinViewport",
51103
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51104
+ }
51105
+ },
51106
+ {
51107
+ "kind": "field",
51108
+ "name": "hint",
51109
+ "type": {
51110
+ "text": "string"
51111
+ },
51112
+ "privacy": "private",
51113
+ "default": "''",
51114
+ "description": "The hint over the surface while one shows, put there by a gesture it let pass.",
51115
+ "inheritedFrom": {
51116
+ "name": "MixinViewport",
51117
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51118
+ }
51119
+ },
51120
+ {
51121
+ "kind": "field",
51122
+ "name": "hinting",
51123
+ "type": {
51124
+ "text": "ReturnType<typeof setTimeout> | undefined"
51125
+ },
51126
+ "privacy": "private",
51127
+ "description": "When the hint goes.",
51128
+ "inheritedFrom": {
51129
+ "name": "MixinViewport",
51130
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51131
+ }
51132
+ },
51133
+ {
51134
+ "kind": "field",
51135
+ "name": "hintAt",
51136
+ "type": {
51137
+ "text": "{ x: number; y: number } | undefined"
51138
+ },
51139
+ "privacy": "private",
51140
+ "description": "Where the gesture was, in the viewport's box, which the hint is shown\nat: where the reader is looking, and on the surface wherever a page laid\nits own content over the rest of it.",
51141
+ "inheritedFrom": {
51142
+ "name": "MixinViewport",
51143
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51144
+ }
51145
+ },
51146
+ {
51147
+ "kind": "field",
51148
+ "name": "takenBy",
51149
+ "type": {
51150
+ "text": "Event | undefined"
51151
+ },
51152
+ "privacy": "private",
51153
+ "description": "The press that took the gestures, which is not also the first gesture.",
51154
+ "inheritedFrom": {
51155
+ "name": "MixinViewport",
51156
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51157
+ }
51158
+ },
50580
51159
  {
50581
51160
  "kind": "field",
50582
51161
  "name": "fullscreen",
@@ -50613,6 +51192,151 @@
50613
51192
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
50614
51193
  }
50615
51194
  },
51195
+ {
51196
+ "kind": "method",
51197
+ "name": "gestureAllowed",
51198
+ "privacy": "protected",
51199
+ "return": {
51200
+ "type": {
51201
+ "text": "boolean"
51202
+ }
51203
+ },
51204
+ "parameters": [
51205
+ {
51206
+ "name": "event",
51207
+ "type": {
51208
+ "text": "Event"
51209
+ }
51210
+ }
51211
+ ],
51212
+ "description": "Whether a gesture that started with this event is the surface's to\nanswer, for a family that answers gestures itself. Never while an\n`activate` surface waits, and never on the press that ended the wait:\nthat press hands over the gestures and moves nothing.",
51213
+ "inheritedFrom": {
51214
+ "name": "MixinViewport",
51215
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51216
+ }
51217
+ },
51218
+ {
51219
+ "kind": "method",
51220
+ "name": "showHint",
51221
+ "privacy": "private",
51222
+ "return": {
51223
+ "type": {
51224
+ "text": "void"
51225
+ }
51226
+ },
51227
+ "parameters": [
51228
+ {
51229
+ "name": "words",
51230
+ "type": {
51231
+ "text": "string"
51232
+ }
51233
+ },
51234
+ {
51235
+ "name": "at",
51236
+ "optional": true,
51237
+ "type": {
51238
+ "text": "{ clientX: number; clientY: number }"
51239
+ }
51240
+ }
51241
+ ],
51242
+ "description": "Shows a hint over the surface for a moment, where the gesture was.",
51243
+ "inheritedFrom": {
51244
+ "name": "MixinViewport",
51245
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51246
+ }
51247
+ },
51248
+ {
51249
+ "kind": "field",
51250
+ "name": "handleGestureWheel",
51251
+ "privacy": "private",
51252
+ "readonly": true,
51253
+ "description": "A wheel the surface let pass to the page, which is said: a reader\nscrolling the page past a surface that did not zoom is told why, and how\nto zoom it. **Ctrl or ⌘ with the wheel is the surface's**, and is what a\ntrackpad's pinch arrives as.",
51254
+ "inheritedFrom": {
51255
+ "name": "MixinViewport",
51256
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51257
+ }
51258
+ },
51259
+ {
51260
+ "kind": "field",
51261
+ "name": "handleGestureTouch",
51262
+ "privacy": "private",
51263
+ "readonly": true,
51264
+ "description": "One finger moving over the surface, which scrolls the page, and is said.",
51265
+ "inheritedFrom": {
51266
+ "name": "MixinViewport",
51267
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51268
+ }
51269
+ },
51270
+ {
51271
+ "kind": "field",
51272
+ "name": "handleTake",
51273
+ "privacy": "private",
51274
+ "readonly": true,
51275
+ "description": "A press on the surface itself, which hands a waiting surface the gestures.",
51276
+ "inheritedFrom": {
51277
+ "name": "MixinViewport",
51278
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51279
+ }
51280
+ },
51281
+ {
51282
+ "kind": "field",
51283
+ "name": "handleGiveBackKey",
51284
+ "privacy": "private",
51285
+ "readonly": true,
51286
+ "description": "Escape, which gives the page its scroll back.",
51287
+ "inheritedFrom": {
51288
+ "name": "MixinViewport",
51289
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51290
+ }
51291
+ },
51292
+ {
51293
+ "kind": "field",
51294
+ "name": "handleGiveBackOutside",
51295
+ "privacy": "private",
51296
+ "readonly": true,
51297
+ "description": "A press anywhere else on the page, which gives it its scroll back.",
51298
+ "inheritedFrom": {
51299
+ "name": "MixinViewport",
51300
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51301
+ }
51302
+ },
51303
+ {
51304
+ "kind": "field",
51305
+ "name": "handleGiveBackBlur",
51306
+ "privacy": "private",
51307
+ "readonly": true,
51308
+ "description": "The window losing focus, as a reader switching away does.",
51309
+ "inheritedFrom": {
51310
+ "name": "MixinViewport",
51311
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51312
+ }
51313
+ },
51314
+ {
51315
+ "kind": "field",
51316
+ "name": "handlePointerLeave",
51317
+ "privacy": "protected",
51318
+ "readonly": true,
51319
+ "description": "The pointer leaving the frame, which the family binds on its region.\n**Heard on the frame and not the drawing**, which a pointer resting on\nsomething raised over it has left. **A mouse or a pen and never a\nfinger**, whose `pointerleave` is the finger lifting: a tap took the\nsurface and gave it back in one.",
51320
+ "inheritedFrom": {
51321
+ "name": "MixinViewport",
51322
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51323
+ }
51324
+ },
51325
+ {
51326
+ "kind": "method",
51327
+ "name": "renderGestures",
51328
+ "privacy": "protected",
51329
+ "return": {
51330
+ "type": {
51331
+ "text": "TemplateResult"
51332
+ }
51333
+ },
51334
+ "description": "The hint over the surface and the line while it is in use, which the\nfamily draws inside its viewport, over what was slotted. The parts are\nwritten out, as the controls' are, so the manifest sees them.",
51335
+ "inheritedFrom": {
51336
+ "name": "MixinViewport",
51337
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51338
+ }
51339
+ },
50616
51340
  {
50617
51341
  "kind": "method",
50618
51342
  "name": "pan",
@@ -51318,14 +52042,30 @@
51318
52042
  "name": "helix-before-activate",
51319
52043
  "reactProp": "onhelix-before-activate"
51320
52044
  },
52045
+ {
52046
+ "type": {
52047
+ "text": "HelixGraphLayoutEvent"
52048
+ },
52049
+ "description": "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`.",
52050
+ "name": "helix-graph-layout",
52051
+ "reactProp": "onhelix-graph-layout"
52052
+ },
51321
52053
  {
51322
52054
  "type": {
51323
52055
  "text": "HelixGraphPanEvent"
51324
52056
  },
51325
- "description": "A pan button or arrow key was pressed. Move the drawing.",
52057
+ "description": "A pan button or arrow key was pressed. `connectGraph` moves the drawing.",
51326
52058
  "name": "helix-graph-pan",
51327
52059
  "reactProp": "onhelix-graph-pan"
51328
52060
  },
52061
+ {
52062
+ "type": {
52063
+ "text": "HelixGraphPartChangeEvent"
52064
+ },
52065
+ "description": "The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it.",
52066
+ "name": "helix-graph-part-change",
52067
+ "reactProp": "onhelix-graph-part-change"
52068
+ },
51329
52069
  {
51330
52070
  "type": {
51331
52071
  "text": "HelixGraphReadyEvent"
@@ -51338,7 +52078,7 @@
51338
52078
  "type": {
51339
52079
  "text": "HelixGraphZoomEvent"
51340
52080
  },
51341
- "description": "A zoom button or key was pressed. Zoom the drawing.",
52081
+ "description": "A zoom button or key was pressed. `connectGraph` zooms the drawing.",
51342
52082
  "name": "helix-graph-zoom",
51343
52083
  "reactProp": "onhelix-graph-zoom"
51344
52084
  }
@@ -51424,6 +52164,18 @@
51424
52164
  "description": "How the selected note is described in the list.",
51425
52165
  "fieldName": "selectedLabel"
51426
52166
  },
52167
+ {
52168
+ "name": "activate-hint-label",
52169
+ "type": {
52170
+ "text": "string | undefined"
52171
+ },
52172
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
52173
+ "fieldName": "activateHintLabel",
52174
+ "inheritedFrom": {
52175
+ "name": "MixinViewport",
52176
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
52177
+ }
52178
+ },
51427
52179
  {
51428
52180
  "name": "controls",
51429
52181
  "type": {
@@ -51473,6 +52225,18 @@
51473
52225
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51474
52226
  }
51475
52227
  },
52228
+ {
52229
+ "name": "gestures",
52230
+ "type": {
52231
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
52232
+ },
52233
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
52234
+ "fieldName": "gestures",
52235
+ "inheritedFrom": {
52236
+ "name": "MixinViewport",
52237
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
52238
+ }
52239
+ },
51476
52240
  {
51477
52241
  "name": "idle-delay",
51478
52242
  "type": {
@@ -51551,6 +52315,42 @@
51551
52315
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
51552
52316
  }
51553
52317
  },
52318
+ {
52319
+ "name": "two-finger-hint-label",
52320
+ "type": {
52321
+ "text": "string | undefined"
52322
+ },
52323
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
52324
+ "fieldName": "twoFingerHintLabel",
52325
+ "inheritedFrom": {
52326
+ "name": "MixinViewport",
52327
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
52328
+ }
52329
+ },
52330
+ {
52331
+ "name": "using-label",
52332
+ "type": {
52333
+ "text": "string | undefined"
52334
+ },
52335
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
52336
+ "fieldName": "usingLabel",
52337
+ "inheritedFrom": {
52338
+ "name": "MixinViewport",
52339
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
52340
+ }
52341
+ },
52342
+ {
52343
+ "name": "wheel-hint-label",
52344
+ "type": {
52345
+ "text": "string | undefined"
52346
+ },
52347
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
52348
+ "fieldName": "wheelHintLabel",
52349
+ "inheritedFrom": {
52350
+ "name": "MixinViewport",
52351
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
52352
+ }
52353
+ },
51554
52354
  {
51555
52355
  "name": "zoom-in-label",
51556
52356
  "type": {
@@ -51616,6 +52416,14 @@
51616
52416
  "description": "The graph has been drawn whole, after `helix-graph-ready`.",
51617
52417
  "name": "ready"
51618
52418
  },
52419
+ {
52420
+ "description": "The page keeps the plain wheel and one finger, with `gestures=\"cooperative\"` or while a graph with `gestures=\"activate\"` waits to be pressed.",
52421
+ "name": "sharing"
52422
+ },
52423
+ {
52424
+ "description": "A graph with `gestures=\"activate\"` has been pressed and has the gestures.",
52425
+ "name": "using"
52426
+ },
51619
52427
  {
51620
52428
  "description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
51621
52429
  "name": "settled",
@@ -69474,16 +70282,6 @@
69474
70282
  }
69475
70283
  ],
69476
70284
  "members": [
69477
- {
69478
- "kind": "field",
69479
- "name": "activateHintLabel",
69480
- "type": {
69481
- "text": "string"
69482
- },
69483
- "default": "'Press the map to use it'",
69484
- "description": "The hint shown when a map waiting to be pressed is scrolled or swiped\nover, with `gestures=\"activate\"`.",
69485
- "attribute": "activate-hint-label"
69486
- },
69487
70285
  {
69488
70286
  "kind": "field",
69489
70287
  "name": "bearing",
@@ -69524,15 +70322,6 @@
69524
70322
  "description": "What screen readers hear when the map is tilted back to looking straight down.",
69525
70323
  "attribute": "flat-label"
69526
70324
  },
69527
- {
69528
- "kind": "field",
69529
- "name": "gestures",
69530
- "type": {
69531
- "text": "'activate' | 'always' | 'cooperative' | undefined"
69532
- },
69533
- "description": "Which gestures the map takes from the page.\n\n- `always`, which unset is: the wheel zooms the map and one finger pans\n it, for a map that is the page, such as a full-screen view.\n- `cooperative`: the wheel and one finger scroll the page, and the map\n takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so\n when a gesture passes to the page. Best for a map embedded in a page.\n- `activate`: the map takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode. The renderer is\ntold through the connector, so MapLibre and Leaflet behave alike.",
69534
- "attribute": "gestures"
69535
- },
69536
70325
  {
69537
70326
  "kind": "field",
69538
70327
  "name": "hybridLabel",
@@ -69713,36 +70502,6 @@
69713
70502
  "description": "What screen readers hear when the map is turned. `{degrees}` is the way the\ntop of the map faces, clockwise from north.",
69714
70503
  "attribute": "turned-label"
69715
70504
  },
69716
- {
69717
- "kind": "field",
69718
- "name": "twoFingerHintLabel",
69719
- "type": {
69720
- "text": "string"
69721
- },
69722
- "default": "'Use two fingers to move the map'",
69723
- "description": "The hint shown when one finger swipes over a map with `gestures=\"cooperative\"`.",
69724
- "attribute": "two-finger-hint-label"
69725
- },
69726
- {
69727
- "kind": "field",
69728
- "name": "usingLabel",
69729
- "type": {
69730
- "text": "string"
69731
- },
69732
- "default": "'Using the map. Press Escape to scroll the page again.'",
69733
- "description": "The line shown while a map with `gestures=\"activate\"` has the gestures.",
69734
- "attribute": "using-label"
69735
- },
69736
- {
69737
- "kind": "field",
69738
- "name": "wheelHintLabel",
69739
- "type": {
69740
- "text": "string"
69741
- },
69742
- "default": "'Use {key} and scroll to zoom the map'",
69743
- "description": "The hint shown when the wheel scrolls past a map with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere, as the renderer reads it.",
69744
- "attribute": "wheel-hint-label"
69745
- },
69746
70505
  {
69747
70506
  "kind": "field",
69748
70507
  "name": "zoomedLabel",
@@ -70104,116 +70863,32 @@
70104
70863
  },
70105
70864
  {
70106
70865
  "kind": "field",
70107
- "name": "hint",
70108
- "type": {
70109
- "text": "string"
70110
- },
70111
- "privacy": "private",
70112
- "default": "''",
70113
- "description": "The hint on the map while one shows, put there by a gesture the map let pass."
70114
- },
70115
- {
70116
- "kind": "field",
70117
- "name": "hinting",
70118
- "type": {
70119
- "text": "ReturnType<typeof setTimeout> | undefined"
70120
- },
70121
- "privacy": "private",
70122
- "description": "When the hint goes."
70123
- },
70124
- {
70125
- "kind": "field",
70126
- "name": "hintAt",
70127
- "type": {
70128
- "text": "{ x: number; y: number } | undefined"
70129
- },
70130
- "privacy": "private",
70131
- "description": "Where the gesture was, in the map's box, which the hint is shown at:\nwhere the reader is looking, and on the map wherever a page laid its own\ncontent over the rest of it."
70132
- },
70133
- {
70134
- "kind": "field",
70135
- "name": "taken",
70866
+ "name": "restingGestureLabels",
70136
70867
  "type": {
70137
- "text": "boolean"
70868
+ "text": "ViewportGestureLabels"
70138
70869
  },
70139
- "privacy": "private",
70140
- "default": "false",
70141
- "description": "Whether a map with `gestures=\"activate\"` has been pressed, and has the gestures."
70870
+ "privacy": "protected",
70871
+ "description": "What the map says about its gestures where the page does not say it.",
70872
+ "readonly": true,
70873
+ "inheritedFrom": {
70874
+ "name": "MixinViewport",
70875
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70876
+ }
70142
70877
  },
70143
70878
  {
70144
70879
  "kind": "method",
70145
- "name": "showHint",
70146
- "privacy": "private",
70880
+ "name": "gesturesChanged",
70881
+ "privacy": "protected",
70147
70882
  "return": {
70148
70883
  "type": {
70149
70884
  "text": "void"
70150
70885
  }
70151
70886
  },
70152
- "parameters": [
70153
- {
70154
- "name": "words",
70155
- "type": {
70156
- "text": "string"
70157
- }
70158
- },
70159
- {
70160
- "name": "at",
70161
- "optional": true,
70162
- "type": {
70163
- "text": "{ clientX: number; clientY: number }"
70164
- }
70165
- }
70166
- ],
70167
- "description": "Shows a hint over the map for a moment, where the gesture was."
70168
- },
70169
- {
70170
- "kind": "field",
70171
- "name": "handleWheel",
70172
- "privacy": "private",
70173
- "readonly": true,
70174
- "description": "A wheel the map let pass to the page, which is said: a reader scrolling\nthe page past a map that did not zoom is told why, and how to zoom it.\n**Ctrl or ⌘ with the wheel is the map's**, and is what a trackpad's pinch\narrives as."
70175
- },
70176
- {
70177
- "kind": "field",
70178
- "name": "handleTouchMove",
70179
- "privacy": "private",
70180
- "readonly": true,
70181
- "description": "One finger moving over the map, which scrolls the page, and is said."
70182
- },
70183
- {
70184
- "kind": "field",
70185
- "name": "handleTake",
70186
- "privacy": "private",
70187
- "readonly": true,
70188
- "description": "A press on the map itself, which hands a waiting map the gestures."
70189
- },
70190
- {
70191
- "kind": "field",
70192
- "name": "handleGiveBackKey",
70193
- "privacy": "private",
70194
- "readonly": true,
70195
- "description": "Escape, which gives the page its scroll back."
70196
- },
70197
- {
70198
- "kind": "field",
70199
- "name": "handleGiveBackOutside",
70200
- "privacy": "private",
70201
- "readonly": true,
70202
- "description": "A press anywhere else on the page, which gives it its scroll back."
70203
- },
70204
- {
70205
- "kind": "field",
70206
- "name": "handleGiveBackBlur",
70207
- "privacy": "private",
70208
- "readonly": true,
70209
- "description": "The window losing focus, as a reader switching away does."
70210
- },
70211
- {
70212
- "kind": "field",
70213
- "name": "handleLeave",
70214
- "privacy": "private",
70215
- "readonly": true,
70216
- "description": "The pointer leaving the frame. **Heard on the frame and not the map's\ncanvas**, which a pointer resting on a marker has left, since markers\nstand outside it. **A mouse or a pen and never a finger**, whose\n`pointerleave` is the finger lifting: a tap took the map and gave it back\nin one."
70887
+ "description": "Which gestures the renderer takes, which `connectMap` hears from here.",
70888
+ "inheritedFrom": {
70889
+ "name": "MixinViewport",
70890
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70891
+ }
70217
70892
  },
70218
70893
  {
70219
70894
  "kind": "field",
@@ -70488,6 +71163,19 @@
70488
71163
  },
70489
71164
  "description": "The routes and areas, named, for a reader who cannot see the map.\n\n**What the renderer draws is a picture to a screen reader**, so a route\nfrom the depot or a delivery zone is not on the page at all until this\nsays it is. A list rather than a live region, because the reader should\nfind it when they come to the map rather than be told about it as it\nchanges. Nothing where there are none, so a map with only markers says\nno more than it did.\n\n**Written once the frame knows its children**, which is in the browser:\nthe server renders the frame before it has any, and a route is only on\nthe page once a renderer has drawn it, which is later still."
70490
71165
  },
71166
+ {
71167
+ "kind": "field",
71168
+ "name": "activateHintLabel",
71169
+ "type": {
71170
+ "text": "string | undefined"
71171
+ },
71172
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
71173
+ "attribute": "activate-hint-label",
71174
+ "inheritedFrom": {
71175
+ "name": "MixinViewport",
71176
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71177
+ }
71178
+ },
70491
71179
  {
70492
71180
  "kind": "field",
70493
71181
  "name": "controls",
@@ -70543,6 +71231,19 @@
70543
71231
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70544
71232
  }
70545
71233
  },
71234
+ {
71235
+ "kind": "field",
71236
+ "name": "gestures",
71237
+ "type": {
71238
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
71239
+ },
71240
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
71241
+ "attribute": "gestures",
71242
+ "inheritedFrom": {
71243
+ "name": "MixinViewport",
71244
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71245
+ }
71246
+ },
70546
71247
  {
70547
71248
  "kind": "field",
70548
71249
  "name": "idleDelay",
@@ -70627,6 +71328,45 @@
70627
71328
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70628
71329
  }
70629
71330
  },
71331
+ {
71332
+ "kind": "field",
71333
+ "name": "twoFingerHintLabel",
71334
+ "type": {
71335
+ "text": "string | undefined"
71336
+ },
71337
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
71338
+ "attribute": "two-finger-hint-label",
71339
+ "inheritedFrom": {
71340
+ "name": "MixinViewport",
71341
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71342
+ }
71343
+ },
71344
+ {
71345
+ "kind": "field",
71346
+ "name": "usingLabel",
71347
+ "type": {
71348
+ "text": "string | undefined"
71349
+ },
71350
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
71351
+ "attribute": "using-label",
71352
+ "inheritedFrom": {
71353
+ "name": "MixinViewport",
71354
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71355
+ }
71356
+ },
71357
+ {
71358
+ "kind": "field",
71359
+ "name": "wheelHintLabel",
71360
+ "type": {
71361
+ "text": "string | undefined"
71362
+ },
71363
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
71364
+ "attribute": "wheel-hint-label",
71365
+ "inheritedFrom": {
71366
+ "name": "MixinViewport",
71367
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71368
+ }
71369
+ },
70630
71370
  {
70631
71371
  "kind": "field",
70632
71372
  "name": "zoomInLabel",
@@ -70669,6 +71409,73 @@
70669
71409
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70670
71410
  }
70671
71411
  },
71412
+ {
71413
+ "kind": "field",
71414
+ "name": "gesturesTaken",
71415
+ "type": {
71416
+ "text": "boolean"
71417
+ },
71418
+ "privacy": "protected",
71419
+ "default": "false",
71420
+ "description": "Whether an `activate` surface has been pressed, and has the gestures.",
71421
+ "inheritedFrom": {
71422
+ "name": "MixinViewport",
71423
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71424
+ }
71425
+ },
71426
+ {
71427
+ "kind": "field",
71428
+ "name": "hint",
71429
+ "type": {
71430
+ "text": "string"
71431
+ },
71432
+ "privacy": "private",
71433
+ "default": "''",
71434
+ "description": "The hint over the surface while one shows, put there by a gesture it let pass.",
71435
+ "inheritedFrom": {
71436
+ "name": "MixinViewport",
71437
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71438
+ }
71439
+ },
71440
+ {
71441
+ "kind": "field",
71442
+ "name": "hinting",
71443
+ "type": {
71444
+ "text": "ReturnType<typeof setTimeout> | undefined"
71445
+ },
71446
+ "privacy": "private",
71447
+ "description": "When the hint goes.",
71448
+ "inheritedFrom": {
71449
+ "name": "MixinViewport",
71450
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71451
+ }
71452
+ },
71453
+ {
71454
+ "kind": "field",
71455
+ "name": "hintAt",
71456
+ "type": {
71457
+ "text": "{ x: number; y: number } | undefined"
71458
+ },
71459
+ "privacy": "private",
71460
+ "description": "Where the gesture was, in the viewport's box, which the hint is shown\nat: where the reader is looking, and on the surface wherever a page laid\nits own content over the rest of it.",
71461
+ "inheritedFrom": {
71462
+ "name": "MixinViewport",
71463
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71464
+ }
71465
+ },
71466
+ {
71467
+ "kind": "field",
71468
+ "name": "takenBy",
71469
+ "type": {
71470
+ "text": "Event | undefined"
71471
+ },
71472
+ "privacy": "private",
71473
+ "description": "The press that took the gestures, which is not also the first gesture.",
71474
+ "inheritedFrom": {
71475
+ "name": "MixinViewport",
71476
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71477
+ }
71478
+ },
70672
71479
  {
70673
71480
  "kind": "field",
70674
71481
  "name": "fullscreen",
@@ -70705,6 +71512,151 @@
70705
71512
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
70706
71513
  }
70707
71514
  },
71515
+ {
71516
+ "kind": "method",
71517
+ "name": "gestureAllowed",
71518
+ "privacy": "protected",
71519
+ "return": {
71520
+ "type": {
71521
+ "text": "boolean"
71522
+ }
71523
+ },
71524
+ "parameters": [
71525
+ {
71526
+ "name": "event",
71527
+ "type": {
71528
+ "text": "Event"
71529
+ }
71530
+ }
71531
+ ],
71532
+ "description": "Whether a gesture that started with this event is the surface's to\nanswer, for a family that answers gestures itself. Never while an\n`activate` surface waits, and never on the press that ended the wait:\nthat press hands over the gestures and moves nothing.",
71533
+ "inheritedFrom": {
71534
+ "name": "MixinViewport",
71535
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71536
+ }
71537
+ },
71538
+ {
71539
+ "kind": "method",
71540
+ "name": "showHint",
71541
+ "privacy": "private",
71542
+ "return": {
71543
+ "type": {
71544
+ "text": "void"
71545
+ }
71546
+ },
71547
+ "parameters": [
71548
+ {
71549
+ "name": "words",
71550
+ "type": {
71551
+ "text": "string"
71552
+ }
71553
+ },
71554
+ {
71555
+ "name": "at",
71556
+ "optional": true,
71557
+ "type": {
71558
+ "text": "{ clientX: number; clientY: number }"
71559
+ }
71560
+ }
71561
+ ],
71562
+ "description": "Shows a hint over the surface for a moment, where the gesture was.",
71563
+ "inheritedFrom": {
71564
+ "name": "MixinViewport",
71565
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71566
+ }
71567
+ },
71568
+ {
71569
+ "kind": "field",
71570
+ "name": "handleGestureWheel",
71571
+ "privacy": "private",
71572
+ "readonly": true,
71573
+ "description": "A wheel the surface let pass to the page, which is said: a reader\nscrolling the page past a surface that did not zoom is told why, and how\nto zoom it. **Ctrl or ⌘ with the wheel is the surface's**, and is what a\ntrackpad's pinch arrives as.",
71574
+ "inheritedFrom": {
71575
+ "name": "MixinViewport",
71576
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71577
+ }
71578
+ },
71579
+ {
71580
+ "kind": "field",
71581
+ "name": "handleGestureTouch",
71582
+ "privacy": "private",
71583
+ "readonly": true,
71584
+ "description": "One finger moving over the surface, which scrolls the page, and is said.",
71585
+ "inheritedFrom": {
71586
+ "name": "MixinViewport",
71587
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71588
+ }
71589
+ },
71590
+ {
71591
+ "kind": "field",
71592
+ "name": "handleTake",
71593
+ "privacy": "private",
71594
+ "readonly": true,
71595
+ "description": "A press on the surface itself, which hands a waiting surface the gestures.",
71596
+ "inheritedFrom": {
71597
+ "name": "MixinViewport",
71598
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71599
+ }
71600
+ },
71601
+ {
71602
+ "kind": "field",
71603
+ "name": "handleGiveBackKey",
71604
+ "privacy": "private",
71605
+ "readonly": true,
71606
+ "description": "Escape, which gives the page its scroll back.",
71607
+ "inheritedFrom": {
71608
+ "name": "MixinViewport",
71609
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71610
+ }
71611
+ },
71612
+ {
71613
+ "kind": "field",
71614
+ "name": "handleGiveBackOutside",
71615
+ "privacy": "private",
71616
+ "readonly": true,
71617
+ "description": "A press anywhere else on the page, which gives it its scroll back.",
71618
+ "inheritedFrom": {
71619
+ "name": "MixinViewport",
71620
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71621
+ }
71622
+ },
71623
+ {
71624
+ "kind": "field",
71625
+ "name": "handleGiveBackBlur",
71626
+ "privacy": "private",
71627
+ "readonly": true,
71628
+ "description": "The window losing focus, as a reader switching away does.",
71629
+ "inheritedFrom": {
71630
+ "name": "MixinViewport",
71631
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71632
+ }
71633
+ },
71634
+ {
71635
+ "kind": "field",
71636
+ "name": "handlePointerLeave",
71637
+ "privacy": "protected",
71638
+ "readonly": true,
71639
+ "description": "The pointer leaving the frame, which the family binds on its region.\n**Heard on the frame and not the drawing**, which a pointer resting on\nsomething raised over it has left. **A mouse or a pen and never a\nfinger**, whose `pointerleave` is the finger lifting: a tap took the\nsurface and gave it back in one.",
71640
+ "inheritedFrom": {
71641
+ "name": "MixinViewport",
71642
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71643
+ }
71644
+ },
71645
+ {
71646
+ "kind": "method",
71647
+ "name": "renderGestures",
71648
+ "privacy": "protected",
71649
+ "return": {
71650
+ "type": {
71651
+ "text": "TemplateResult"
71652
+ }
71653
+ },
71654
+ "description": "The hint over the surface and the line while it is in use, which the\nfamily draws inside its viewport, over what was slotted. The parts are\nwritten out, as the controls' are, so the manifest sees them.",
71655
+ "inheritedFrom": {
71656
+ "name": "MixinViewport",
71657
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71658
+ }
71659
+ },
70708
71660
  {
70709
71661
  "kind": "method",
70710
71662
  "name": "pan",
@@ -71310,15 +72262,6 @@
71310
72262
  }
71311
72263
  ],
71312
72264
  "attributes": [
71313
- {
71314
- "name": "activate-hint-label",
71315
- "type": {
71316
- "text": "string"
71317
- },
71318
- "default": "'Press the map to use it'",
71319
- "description": "The hint shown when a map waiting to be pressed is scrolled or swiped\nover, with `gestures=\"activate\"`.",
71320
- "fieldName": "activateHintLabel"
71321
- },
71322
72265
  {
71323
72266
  "name": "bearing",
71324
72267
  "type": {
@@ -71355,14 +72298,6 @@
71355
72298
  "description": "What screen readers hear when the map is tilted back to looking straight down.",
71356
72299
  "fieldName": "flatLabel"
71357
72300
  },
71358
- {
71359
- "name": "gestures",
71360
- "type": {
71361
- "text": "'activate' | 'always' | 'cooperative' | undefined"
71362
- },
71363
- "description": "Which gestures the map takes from the page.\n\n- `always`, which unset is: the wheel zooms the map and one finger pans\n it, for a map that is the page, such as a full-screen view.\n- `cooperative`: the wheel and one finger scroll the page, and the map\n takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so\n when a gesture passes to the page. Best for a map embedded in a page.\n- `activate`: the map takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode. The renderer is\ntold through the connector, so MapLibre and Leaflet behave alike.",
71364
- "fieldName": "gestures"
71365
- },
71366
72301
  {
71367
72302
  "name": "hybrid-label",
71368
72303
  "type": {
@@ -71524,33 +72459,6 @@
71524
72459
  "description": "What screen readers hear when the map is turned. `{degrees}` is the way the\ntop of the map faces, clockwise from north.",
71525
72460
  "fieldName": "turnedLabel"
71526
72461
  },
71527
- {
71528
- "name": "two-finger-hint-label",
71529
- "type": {
71530
- "text": "string"
71531
- },
71532
- "default": "'Use two fingers to move the map'",
71533
- "description": "The hint shown when one finger swipes over a map with `gestures=\"cooperative\"`.",
71534
- "fieldName": "twoFingerHintLabel"
71535
- },
71536
- {
71537
- "name": "using-label",
71538
- "type": {
71539
- "text": "string"
71540
- },
71541
- "default": "'Using the map. Press Escape to scroll the page again.'",
71542
- "description": "The line shown while a map with `gestures=\"activate\"` has the gestures.",
71543
- "fieldName": "usingLabel"
71544
- },
71545
- {
71546
- "name": "wheel-hint-label",
71547
- "type": {
71548
- "text": "string"
71549
- },
71550
- "default": "'Use {key} and scroll to zoom the map'",
71551
- "description": "The hint shown when the wheel scrolls past a map with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere, as the renderer reads it.",
71552
- "fieldName": "wheelHintLabel"
71553
- },
71554
72462
  {
71555
72463
  "name": "zoomed-label",
71556
72464
  "type": {
@@ -71568,6 +72476,18 @@
71568
72476
  "description": "How far the map is zoomed, in its renderer's levels. `connectMap` keeps it\ncurrent, and the map says it after a zoom.",
71569
72477
  "fieldName": "zoomLevel"
71570
72478
  },
72479
+ {
72480
+ "name": "activate-hint-label",
72481
+ "type": {
72482
+ "text": "string | undefined"
72483
+ },
72484
+ "description": "The hint shown when a surface waiting to be pressed is scrolled or\nswiped over, with `gestures=\"activate\"`. Absent is the family's own.",
72485
+ "fieldName": "activateHintLabel",
72486
+ "inheritedFrom": {
72487
+ "name": "MixinViewport",
72488
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
72489
+ }
72490
+ },
71571
72491
  {
71572
72492
  "name": "controls",
71573
72493
  "type": {
@@ -71617,6 +72537,18 @@
71617
72537
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71618
72538
  }
71619
72539
  },
72540
+ {
72541
+ "name": "gestures",
72542
+ "type": {
72543
+ "text": "'activate' | 'always' | 'cooperative' | undefined"
72544
+ },
72545
+ "description": "Which gestures the surface takes from the page.\n\n- `always`: the surface takes the wheel and one finger, for a surface\n that is the page, such as a full-screen view. A map rests here.\n- Unset is the family's own: `always` for a map, and for a board, a\n drag and a pinch, with the plain wheel left to the page until the\n board fills the screen.\n- `cooperative`: the wheel and one finger scroll the page, and the\n surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame\n says so when a gesture passes to the page. Best for a surface embedded\n in a page.\n- `activate`: the surface takes nothing until it is pressed, and gives it\n back on Escape, when the pointer leaves it, or on a press elsewhere.\n\nThe keyboard and the frame's buttons work in every mode.\n\n**Unreflected and without a default**, because a default that reflected\nwould write an attribute onto every host that no server sent, and the\nhydration that followed would disagree with it.",
72546
+ "fieldName": "gestures",
72547
+ "inheritedFrom": {
72548
+ "name": "MixinViewport",
72549
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
72550
+ }
72551
+ },
71620
72552
  {
71621
72553
  "name": "idle-delay",
71622
72554
  "type": {
@@ -71695,6 +72627,42 @@
71695
72627
  "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
71696
72628
  }
71697
72629
  },
72630
+ {
72631
+ "name": "two-finger-hint-label",
72632
+ "type": {
72633
+ "text": "string | undefined"
72634
+ },
72635
+ "description": "The hint shown when one finger swipes over a surface with\n`gestures=\"cooperative\"`. Absent is the family's own.",
72636
+ "fieldName": "twoFingerHintLabel",
72637
+ "inheritedFrom": {
72638
+ "name": "MixinViewport",
72639
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
72640
+ }
72641
+ },
72642
+ {
72643
+ "name": "using-label",
72644
+ "type": {
72645
+ "text": "string | undefined"
72646
+ },
72647
+ "description": "The line shown while a surface with `gestures=\"activate\"` has the\ngestures. Absent is the family's own.",
72648
+ "fieldName": "usingLabel",
72649
+ "inheritedFrom": {
72650
+ "name": "MixinViewport",
72651
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
72652
+ }
72653
+ },
72654
+ {
72655
+ "name": "wheel-hint-label",
72656
+ "type": {
72657
+ "text": "string | undefined"
72658
+ },
72659
+ "description": "The hint shown when the wheel scrolls past a surface with\n`gestures=\"cooperative\"`, with `{key}`, which is ⌘ on a Mac and Ctrl\nelsewhere. Absent is the family's own.",
72660
+ "fieldName": "wheelHintLabel",
72661
+ "inheritedFrom": {
72662
+ "name": "MixinViewport",
72663
+ "module": "src/mixins/mixin-viewport/mixin-viewport.ts"
72664
+ }
72665
+ },
71698
72666
  {
71699
72667
  "name": "zoom-in-label",
71700
72668
  "type": {
@@ -71735,6 +72703,10 @@
71735
72703
  "description": "The map has been drawn whole, after `helix-map-ready`.",
71736
72704
  "name": "ready"
71737
72705
  },
72706
+ {
72707
+ "description": "The page keeps the plain wheel and one finger, with `gestures=\"cooperative\"` or while a map with `gestures=\"activate\"` waits to be pressed.",
72708
+ "name": "sharing"
72709
+ },
71738
72710
  {
71739
72711
  "description": "A map with `gestures=\"activate\"` has been pressed and has the gestures.",
71740
72712
  "name": "using"