@fusion.dev/helix 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.
- package/custom-elements.json +1237 -297
- package/dist/canvas/root/canvas-root.css.js +4 -0
- package/dist/element-events.generated.js +2 -0
- package/dist/map/root/map-root.css.js +0 -37
- package/dist/shared/viewport/viewport.css.js +37 -0
- package/package.json +6 -6
- package/types/jsx.d.ts +506 -120
- package/types/vue.d.ts +152 -37
package/types/jsx.d.ts
CHANGED
|
@@ -83,7 +83,9 @@ import type {
|
|
|
83
83
|
HelixFormElement,
|
|
84
84
|
HelixFormatDate,
|
|
85
85
|
HelixGraph,
|
|
86
|
+
HelixGraphLayoutEvent,
|
|
86
87
|
HelixGraphPanEvent,
|
|
88
|
+
HelixGraphPartChangeEvent,
|
|
87
89
|
HelixGraphReadyEvent,
|
|
88
90
|
HelixGraphZoomEvent,
|
|
89
91
|
HelixGrid,
|
|
@@ -2925,6 +2927,12 @@ Absent is no ruling, a resting value being an attribute's absence. */
|
|
|
2925
2927
|
Framed is where it rests. Plain is for a board that fills a panel or an
|
|
2926
2928
|
app's working area, where the container is already the frame. */
|
|
2927
2929
|
separation?: (HelixCanvas["separation"]) | undefined;
|
|
2930
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
2931
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
2932
|
+
"activate-hint-label"?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
2933
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
2934
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
2935
|
+
activateHintLabel?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
2928
2936
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
2929
2937
|
`none`. A family can add words of its own.
|
|
2930
2938
|
|
|
@@ -2989,6 +2997,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
2989
2997
|
"fullscreen-label"?: (HelixCanvas["fullscreenLabel"]) | undefined;
|
|
2990
2998
|
/** The fullscreen button's label. */
|
|
2991
2999
|
fullscreenLabel?: (HelixCanvas["fullscreenLabel"]) | undefined;
|
|
3000
|
+
/** Which gestures the surface takes from the page.
|
|
3001
|
+
|
|
3002
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
3003
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
3004
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
3005
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
3006
|
+
board fills the screen.
|
|
3007
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
3008
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
3009
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
3010
|
+
in a page.
|
|
3011
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
3012
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
3013
|
+
|
|
3014
|
+
The keyboard and the frame's buttons work in every mode.
|
|
3015
|
+
|
|
3016
|
+
**Unreflected and without a default**, because a default that reflected
|
|
3017
|
+
would write an attribute onto every host that no server sent, and the
|
|
3018
|
+
hydration that followed would disagree with it. */
|
|
3019
|
+
gestures?: (HelixCanvas["gestures"]) | undefined;
|
|
2992
3020
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
2993
3021
|
|
|
2994
3022
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -3043,6 +3071,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
3043
3071
|
"pan-up-label"?: (HelixCanvas["panUpLabel"]) | undefined;
|
|
3044
3072
|
/** The pan up button's label. */
|
|
3045
3073
|
panUpLabel?: (HelixCanvas["panUpLabel"]) | undefined;
|
|
3074
|
+
/** The hint shown when one finger swipes over a surface with
|
|
3075
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
3076
|
+
"two-finger-hint-label"?: (HelixCanvas["twoFingerHintLabel"]) | undefined;
|
|
3077
|
+
/** The hint shown when one finger swipes over a surface with
|
|
3078
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
3079
|
+
twoFingerHintLabel?: (HelixCanvas["twoFingerHintLabel"]) | undefined;
|
|
3080
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
3081
|
+
gestures. Absent is the family's own. */
|
|
3082
|
+
"using-label"?: (HelixCanvas["usingLabel"]) | undefined;
|
|
3083
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
3084
|
+
gestures. Absent is the family's own. */
|
|
3085
|
+
usingLabel?: (HelixCanvas["usingLabel"]) | undefined;
|
|
3086
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
3087
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
3088
|
+
elsewhere. Absent is the family's own. */
|
|
3089
|
+
"wheel-hint-label"?: (HelixCanvas["wheelHintLabel"]) | undefined;
|
|
3090
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
3091
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
3092
|
+
elsewhere. Absent is the family's own. */
|
|
3093
|
+
wheelHintLabel?: (HelixCanvas["wheelHintLabel"]) | undefined;
|
|
3046
3094
|
/** The zoom in button's label. */
|
|
3047
3095
|
"zoom-in-label"?: (HelixCanvas["zoomInLabel"]) | undefined;
|
|
3048
3096
|
/** The zoom in button's label. */
|
|
@@ -3251,6 +3299,12 @@ Absent is no ruling, a resting value being an attribute's absence. */
|
|
|
3251
3299
|
Framed is where it rests. Plain is for a board that fills a panel or an
|
|
3252
3300
|
app's working area, where the container is already the frame. */
|
|
3253
3301
|
"prop:separation"?: (HelixCanvas["separation"]) | undefined;
|
|
3302
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
3303
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
3304
|
+
"attr:activate-hint-label"?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
3305
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
3306
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
3307
|
+
"prop:activateHintLabel"?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
3254
3308
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
3255
3309
|
`none`. A family can add words of its own.
|
|
3256
3310
|
|
|
@@ -3315,6 +3369,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
3315
3369
|
"attr:fullscreen-label"?: (HelixCanvas["fullscreenLabel"]) | undefined;
|
|
3316
3370
|
/** The fullscreen button's label. */
|
|
3317
3371
|
"prop:fullscreenLabel"?: (HelixCanvas["fullscreenLabel"]) | undefined;
|
|
3372
|
+
/** Which gestures the surface takes from the page.
|
|
3373
|
+
|
|
3374
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
3375
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
3376
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
3377
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
3378
|
+
board fills the screen.
|
|
3379
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
3380
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
3381
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
3382
|
+
in a page.
|
|
3383
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
3384
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
3385
|
+
|
|
3386
|
+
The keyboard and the frame's buttons work in every mode.
|
|
3387
|
+
|
|
3388
|
+
**Unreflected and without a default**, because a default that reflected
|
|
3389
|
+
would write an attribute onto every host that no server sent, and the
|
|
3390
|
+
hydration that followed would disagree with it. */
|
|
3391
|
+
"prop:gestures"?: (HelixCanvas["gestures"]) | undefined;
|
|
3318
3392
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
3319
3393
|
|
|
3320
3394
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -3369,6 +3443,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
3369
3443
|
"attr:pan-up-label"?: (HelixCanvas["panUpLabel"]) | undefined;
|
|
3370
3444
|
/** The pan up button's label. */
|
|
3371
3445
|
"prop:panUpLabel"?: (HelixCanvas["panUpLabel"]) | undefined;
|
|
3446
|
+
/** The hint shown when one finger swipes over a surface with
|
|
3447
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
3448
|
+
"attr:two-finger-hint-label"?: (HelixCanvas["twoFingerHintLabel"]) | undefined;
|
|
3449
|
+
/** The hint shown when one finger swipes over a surface with
|
|
3450
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
3451
|
+
"prop:twoFingerHintLabel"?: (HelixCanvas["twoFingerHintLabel"]) | undefined;
|
|
3452
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
3453
|
+
gestures. Absent is the family's own. */
|
|
3454
|
+
"attr:using-label"?: (HelixCanvas["usingLabel"]) | undefined;
|
|
3455
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
3456
|
+
gestures. Absent is the family's own. */
|
|
3457
|
+
"prop:usingLabel"?: (HelixCanvas["usingLabel"]) | undefined;
|
|
3458
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
3459
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
3460
|
+
elsewhere. Absent is the family's own. */
|
|
3461
|
+
"attr:wheel-hint-label"?: (HelixCanvas["wheelHintLabel"]) | undefined;
|
|
3462
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
3463
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
3464
|
+
elsewhere. Absent is the family's own. */
|
|
3465
|
+
"prop:wheelHintLabel"?: (HelixCanvas["wheelHintLabel"]) | undefined;
|
|
3372
3466
|
/** The zoom in button's label. */
|
|
3373
3467
|
"attr:zoom-in-label"?: (HelixCanvas["zoomInLabel"]) | undefined;
|
|
3374
3468
|
/** The zoom in button's label. */
|
|
@@ -11012,9 +11106,15 @@ export type HelixGraphHelixActivateElementEvent =
|
|
|
11012
11106
|
/** `helix-before-activate` event type */
|
|
11013
11107
|
export type HelixGraphHelixBeforeActivateElementEvent =
|
|
11014
11108
|
HelixGraphElementEvent<HelixBeforeActivateEvent>;
|
|
11109
|
+
/** `helix-graph-layout` event type */
|
|
11110
|
+
export type HelixGraphHelixGraphLayoutElementEvent =
|
|
11111
|
+
HelixGraphElementEvent<HelixGraphLayoutEvent>;
|
|
11015
11112
|
/** `helix-graph-pan` event type */
|
|
11016
11113
|
export type HelixGraphHelixGraphPanElementEvent =
|
|
11017
11114
|
HelixGraphElementEvent<HelixGraphPanEvent>;
|
|
11115
|
+
/** `helix-graph-part-change` event type */
|
|
11116
|
+
export type HelixGraphHelixGraphPartChangeElementEvent =
|
|
11117
|
+
HelixGraphElementEvent<HelixGraphPartChangeEvent>;
|
|
11018
11118
|
/** `helix-graph-ready` event type */
|
|
11019
11119
|
export type HelixGraphHelixGraphReadyElementEvent =
|
|
11020
11120
|
HelixGraphElementEvent<HelixGraphReadyEvent>;
|
|
@@ -11023,6 +11123,12 @@ export type HelixGraphHelixGraphZoomElementEvent =
|
|
|
11023
11123
|
HelixGraphElementEvent<HelixGraphZoomEvent>;
|
|
11024
11124
|
|
|
11025
11125
|
export type HelixGraphProps = {
|
|
11126
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
11127
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
11128
|
+
"activate-hint-label"?: (HelixGraph["activateHintLabel"]) | undefined;
|
|
11129
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
11130
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
11131
|
+
activateHintLabel?: (HelixGraph["activateHintLabel"]) | undefined;
|
|
11026
11132
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
11027
11133
|
`none`. A family can add words of its own.
|
|
11028
11134
|
|
|
@@ -11087,6 +11193,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
11087
11193
|
"fullscreen-label"?: (HelixGraph["fullscreenLabel"]) | undefined;
|
|
11088
11194
|
/** The fullscreen button's label. */
|
|
11089
11195
|
fullscreenLabel?: (HelixGraph["fullscreenLabel"]) | undefined;
|
|
11196
|
+
/** Which gestures the surface takes from the page.
|
|
11197
|
+
|
|
11198
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
11199
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
11200
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
11201
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
11202
|
+
board fills the screen.
|
|
11203
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
11204
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
11205
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
11206
|
+
in a page.
|
|
11207
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
11208
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
11209
|
+
|
|
11210
|
+
The keyboard and the frame's buttons work in every mode.
|
|
11211
|
+
|
|
11212
|
+
**Unreflected and without a default**, because a default that reflected
|
|
11213
|
+
would write an attribute onto every host that no server sent, and the
|
|
11214
|
+
hydration that followed would disagree with it. */
|
|
11215
|
+
gestures?: (HelixGraph["gestures"]) | undefined;
|
|
11090
11216
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
11091
11217
|
|
|
11092
11218
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -11141,6 +11267,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
11141
11267
|
"pan-up-label"?: (HelixGraph["panUpLabel"]) | undefined;
|
|
11142
11268
|
/** The pan up button's label. */
|
|
11143
11269
|
panUpLabel?: (HelixGraph["panUpLabel"]) | undefined;
|
|
11270
|
+
/** The hint shown when one finger swipes over a surface with
|
|
11271
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
11272
|
+
"two-finger-hint-label"?: (HelixGraph["twoFingerHintLabel"]) | undefined;
|
|
11273
|
+
/** The hint shown when one finger swipes over a surface with
|
|
11274
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
11275
|
+
twoFingerHintLabel?: (HelixGraph["twoFingerHintLabel"]) | undefined;
|
|
11276
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
11277
|
+
gestures. Absent is the family's own. */
|
|
11278
|
+
"using-label"?: (HelixGraph["usingLabel"]) | undefined;
|
|
11279
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
11280
|
+
gestures. Absent is the family's own. */
|
|
11281
|
+
usingLabel?: (HelixGraph["usingLabel"]) | undefined;
|
|
11282
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
11283
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
11284
|
+
elsewhere. Absent is the family's own. */
|
|
11285
|
+
"wheel-hint-label"?: (HelixGraph["wheelHintLabel"]) | undefined;
|
|
11286
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
11287
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
11288
|
+
elsewhere. Absent is the family's own. */
|
|
11289
|
+
wheelHintLabel?: (HelixGraph["wheelHintLabel"]) | undefined;
|
|
11144
11290
|
/** The zoom in button's label. */
|
|
11145
11291
|
"zoom-in-label"?: (HelixGraph["zoomInLabel"]) | undefined;
|
|
11146
11292
|
/** The zoom in button's label. */
|
|
@@ -11211,15 +11357,27 @@ Required. */
|
|
|
11211
11357
|
"onhelix-before-activate"?: ((
|
|
11212
11358
|
e: HelixGraphHelixBeforeActivateElementEvent,
|
|
11213
11359
|
) => void) | undefined;
|
|
11214
|
-
/** A
|
|
11360
|
+
/** 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`. */
|
|
11361
|
+
"onhelix-graph-layout"?: ((e: HelixGraphHelixGraphLayoutElementEvent) => void) | undefined;
|
|
11362
|
+
/** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
|
|
11215
11363
|
"onhelix-graph-pan"?: ((e: HelixGraphHelixGraphPanElementEvent) => void) | undefined;
|
|
11364
|
+
/** The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it. */
|
|
11365
|
+
"onhelix-graph-part-change"?: ((
|
|
11366
|
+
e: HelixGraphHelixGraphPartChangeElementEvent,
|
|
11367
|
+
) => void) | undefined;
|
|
11216
11368
|
/** The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not. */
|
|
11217
11369
|
"onhelix-graph-ready"?: ((e: HelixGraphHelixGraphReadyElementEvent) => void) | undefined;
|
|
11218
|
-
/** A zoom button or key was pressed.
|
|
11370
|
+
/** A zoom button or key was pressed. `connectGraph` zooms the drawing. */
|
|
11219
11371
|
"onhelix-graph-zoom"?: ((e: HelixGraphHelixGraphZoomElementEvent) => void) | undefined;
|
|
11220
11372
|
};
|
|
11221
11373
|
|
|
11222
11374
|
export type HelixGraphSolidJsProps = {
|
|
11375
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
11376
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
11377
|
+
"attr:activate-hint-label"?: (HelixGraph["activateHintLabel"]) | undefined;
|
|
11378
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
11379
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
11380
|
+
"prop:activateHintLabel"?: (HelixGraph["activateHintLabel"]) | undefined;
|
|
11223
11381
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
11224
11382
|
`none`. A family can add words of its own.
|
|
11225
11383
|
|
|
@@ -11284,6 +11442,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
11284
11442
|
"attr:fullscreen-label"?: (HelixGraph["fullscreenLabel"]) | undefined;
|
|
11285
11443
|
/** The fullscreen button's label. */
|
|
11286
11444
|
"prop:fullscreenLabel"?: (HelixGraph["fullscreenLabel"]) | undefined;
|
|
11445
|
+
/** Which gestures the surface takes from the page.
|
|
11446
|
+
|
|
11447
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
11448
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
11449
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
11450
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
11451
|
+
board fills the screen.
|
|
11452
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
11453
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
11454
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
11455
|
+
in a page.
|
|
11456
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
11457
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
11458
|
+
|
|
11459
|
+
The keyboard and the frame's buttons work in every mode.
|
|
11460
|
+
|
|
11461
|
+
**Unreflected and without a default**, because a default that reflected
|
|
11462
|
+
would write an attribute onto every host that no server sent, and the
|
|
11463
|
+
hydration that followed would disagree with it. */
|
|
11464
|
+
"prop:gestures"?: (HelixGraph["gestures"]) | undefined;
|
|
11287
11465
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
11288
11466
|
|
|
11289
11467
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -11338,6 +11516,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
11338
11516
|
"attr:pan-up-label"?: (HelixGraph["panUpLabel"]) | undefined;
|
|
11339
11517
|
/** The pan up button's label. */
|
|
11340
11518
|
"prop:panUpLabel"?: (HelixGraph["panUpLabel"]) | undefined;
|
|
11519
|
+
/** The hint shown when one finger swipes over a surface with
|
|
11520
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
11521
|
+
"attr:two-finger-hint-label"?: (HelixGraph["twoFingerHintLabel"]) | undefined;
|
|
11522
|
+
/** The hint shown when one finger swipes over a surface with
|
|
11523
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
11524
|
+
"prop:twoFingerHintLabel"?: (HelixGraph["twoFingerHintLabel"]) | undefined;
|
|
11525
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
11526
|
+
gestures. Absent is the family's own. */
|
|
11527
|
+
"attr:using-label"?: (HelixGraph["usingLabel"]) | undefined;
|
|
11528
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
11529
|
+
gestures. Absent is the family's own. */
|
|
11530
|
+
"prop:usingLabel"?: (HelixGraph["usingLabel"]) | undefined;
|
|
11531
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
11532
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
11533
|
+
elsewhere. Absent is the family's own. */
|
|
11534
|
+
"attr:wheel-hint-label"?: (HelixGraph["wheelHintLabel"]) | undefined;
|
|
11535
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
11536
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
11537
|
+
elsewhere. Absent is the family's own. */
|
|
11538
|
+
"prop:wheelHintLabel"?: (HelixGraph["wheelHintLabel"]) | undefined;
|
|
11341
11539
|
/** The zoom in button's label. */
|
|
11342
11540
|
"attr:zoom-in-label"?: (HelixGraph["zoomInLabel"]) | undefined;
|
|
11343
11541
|
/** The zoom in button's label. */
|
|
@@ -11407,11 +11605,17 @@ Required. */
|
|
|
11407
11605
|
"on:helix-before-activate"?: ((
|
|
11408
11606
|
e: HelixGraphHelixBeforeActivateElementEvent,
|
|
11409
11607
|
) => void) | undefined;
|
|
11410
|
-
/** A
|
|
11608
|
+
/** 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`. */
|
|
11609
|
+
"on:helix-graph-layout"?: ((e: HelixGraphHelixGraphLayoutElementEvent) => void) | undefined;
|
|
11610
|
+
/** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
|
|
11411
11611
|
"on:helix-graph-pan"?: ((e: HelixGraphHelixGraphPanElementEvent) => void) | undefined;
|
|
11612
|
+
/** The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it. */
|
|
11613
|
+
"on:helix-graph-part-change"?: ((
|
|
11614
|
+
e: HelixGraphHelixGraphPartChangeElementEvent,
|
|
11615
|
+
) => void) | undefined;
|
|
11412
11616
|
/** The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not. */
|
|
11413
11617
|
"on:helix-graph-ready"?: ((e: HelixGraphHelixGraphReadyElementEvent) => void) | undefined;
|
|
11414
|
-
/** A zoom button or key was pressed.
|
|
11618
|
+
/** A zoom button or key was pressed. `connectGraph` zooms the drawing. */
|
|
11415
11619
|
"on:helix-graph-zoom"?: ((e: HelixGraphHelixGraphZoomElementEvent) => void) | undefined;
|
|
11416
11620
|
|
|
11417
11621
|
/** Set the innerHTML of the element */
|
|
@@ -14711,6 +14915,12 @@ the container's edge is the map's. */
|
|
|
14711
14915
|
shows the map through a blur, `frosted` blurs more, and `transparent` has
|
|
14712
14916
|
no background. Your theme sets how see-through each one is. */
|
|
14713
14917
|
material?: (HelixMap["material"]) | undefined;
|
|
14918
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
14919
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
14920
|
+
"activate-hint-label"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
14921
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
14922
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
14923
|
+
activateHintLabel?: (HelixMap["activateHintLabel"]) | undefined;
|
|
14714
14924
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
14715
14925
|
`none`. A family can add words of its own.
|
|
14716
14926
|
|
|
@@ -14775,6 +14985,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
14775
14985
|
"fullscreen-label"?: (HelixMap["fullscreenLabel"]) | undefined;
|
|
14776
14986
|
/** The fullscreen button's label. */
|
|
14777
14987
|
fullscreenLabel?: (HelixMap["fullscreenLabel"]) | undefined;
|
|
14988
|
+
/** Which gestures the surface takes from the page.
|
|
14989
|
+
|
|
14990
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
14991
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
14992
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
14993
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
14994
|
+
board fills the screen.
|
|
14995
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
14996
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
14997
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
14998
|
+
in a page.
|
|
14999
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
15000
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
15001
|
+
|
|
15002
|
+
The keyboard and the frame's buttons work in every mode.
|
|
15003
|
+
|
|
15004
|
+
**Unreflected and without a default**, because a default that reflected
|
|
15005
|
+
would write an attribute onto every host that no server sent, and the
|
|
15006
|
+
hydration that followed would disagree with it. */
|
|
15007
|
+
gestures?: (HelixMap["gestures"]) | undefined;
|
|
14778
15008
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
14779
15009
|
|
|
14780
15010
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -14829,6 +15059,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
14829
15059
|
"pan-up-label"?: (HelixMap["panUpLabel"]) | undefined;
|
|
14830
15060
|
/** The pan up button's label. */
|
|
14831
15061
|
panUpLabel?: (HelixMap["panUpLabel"]) | undefined;
|
|
15062
|
+
/** The hint shown when one finger swipes over a surface with
|
|
15063
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
15064
|
+
"two-finger-hint-label"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15065
|
+
/** The hint shown when one finger swipes over a surface with
|
|
15066
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
15067
|
+
twoFingerHintLabel?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15068
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
15069
|
+
gestures. Absent is the family's own. */
|
|
15070
|
+
"using-label"?: (HelixMap["usingLabel"]) | undefined;
|
|
15071
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
15072
|
+
gestures. Absent is the family's own. */
|
|
15073
|
+
usingLabel?: (HelixMap["usingLabel"]) | undefined;
|
|
15074
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
15075
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15076
|
+
elsewhere. Absent is the family's own. */
|
|
15077
|
+
"wheel-hint-label"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
15078
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
15079
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15080
|
+
elsewhere. Absent is the family's own. */
|
|
15081
|
+
wheelHintLabel?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
14832
15082
|
/** The zoom in button's label. */
|
|
14833
15083
|
"zoom-in-label"?: (HelixMap["zoomInLabel"]) | undefined;
|
|
14834
15084
|
/** The zoom in button's label. */
|
|
@@ -14837,12 +15087,6 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
14837
15087
|
"zoom-out-label"?: (HelixMap["zoomOutLabel"]) | undefined;
|
|
14838
15088
|
/** The zoom out button's label. */
|
|
14839
15089
|
zoomOutLabel?: (HelixMap["zoomOutLabel"]) | undefined;
|
|
14840
|
-
/** The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
14841
|
-
over, with `gestures="activate"`. */
|
|
14842
|
-
"activate-hint-label"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
14843
|
-
/** The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
14844
|
-
over, with `gestures="activate"`. */
|
|
14845
|
-
activateHintLabel?: (HelixMap["activateHintLabel"]) | undefined;
|
|
14846
15090
|
/** The map's rotation, in degrees clockwise from north. `connectMap` keeps it
|
|
14847
15091
|
current, and the Face north button's needle turns with it. */
|
|
14848
15092
|
bearing?: (HelixMap["bearing"]) | undefined;
|
|
@@ -14857,19 +15101,6 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
14857
15101
|
"flat-label"?: (HelixMap["flatLabel"]) | undefined;
|
|
14858
15102
|
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
14859
15103
|
flatLabel?: (HelixMap["flatLabel"]) | undefined;
|
|
14860
|
-
/** Which gestures the map takes from the page.
|
|
14861
|
-
|
|
14862
|
-
- `always`, which unset is: the wheel zooms the map and one finger pans
|
|
14863
|
-
it, for a map that is the page, such as a full-screen view.
|
|
14864
|
-
- `cooperative`: the wheel and one finger scroll the page, and the map
|
|
14865
|
-
takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
|
|
14866
|
-
when a gesture passes to the page. Best for a map embedded in a page.
|
|
14867
|
-
- `activate`: the map takes nothing until it is pressed, and gives it
|
|
14868
|
-
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
14869
|
-
|
|
14870
|
-
The keyboard and the frame's buttons work in every mode. The renderer is
|
|
14871
|
-
told through the connector, so MapLibre and Leaflet behave alike. */
|
|
14872
|
-
gestures?: (HelixMap["gestures"]) | undefined;
|
|
14873
15104
|
/** The Hybrid map type's name. */
|
|
14874
15105
|
"hybrid-label"?: (HelixMap["hybridLabel"]) | undefined;
|
|
14875
15106
|
/** The Hybrid map type's name. */
|
|
@@ -14951,22 +15182,6 @@ top of the map faces, clockwise from north. */
|
|
|
14951
15182
|
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
14952
15183
|
top of the map faces, clockwise from north. */
|
|
14953
15184
|
turnedLabel?: (HelixMap["turnedLabel"]) | undefined;
|
|
14954
|
-
/** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
|
|
14955
|
-
"two-finger-hint-label"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
14956
|
-
/** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
|
|
14957
|
-
twoFingerHintLabel?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
14958
|
-
/** The line shown while a map with `gestures="activate"` has the gestures. */
|
|
14959
|
-
"using-label"?: (HelixMap["usingLabel"]) | undefined;
|
|
14960
|
-
/** The line shown while a map with `gestures="activate"` has the gestures. */
|
|
14961
|
-
usingLabel?: (HelixMap["usingLabel"]) | undefined;
|
|
14962
|
-
/** The hint shown when the wheel scrolls past a map with
|
|
14963
|
-
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
14964
|
-
elsewhere, as the renderer reads it. */
|
|
14965
|
-
"wheel-hint-label"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
14966
|
-
/** The hint shown when the wheel scrolls past a map with
|
|
14967
|
-
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
14968
|
-
elsewhere, as the renderer reads it. */
|
|
14969
|
-
wheelHintLabel?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
14970
15185
|
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
14971
15186
|
"zoomed-label"?: (HelixMap["zoomedLabel"]) | undefined;
|
|
14972
15187
|
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
@@ -15020,6 +15235,12 @@ the container's edge is the map's. */
|
|
|
15020
15235
|
shows the map through a blur, `frosted` blurs more, and `transparent` has
|
|
15021
15236
|
no background. Your theme sets how see-through each one is. */
|
|
15022
15237
|
"prop:material"?: (HelixMap["material"]) | undefined;
|
|
15238
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
15239
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
15240
|
+
"attr:activate-hint-label"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
15241
|
+
/** The hint shown when a surface waiting to be pressed is scrolled or
|
|
15242
|
+
swiped over, with `gestures="activate"`. Absent is the family's own. */
|
|
15243
|
+
"prop:activateHintLabel"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
15023
15244
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
15024
15245
|
`none`. A family can add words of its own.
|
|
15025
15246
|
|
|
@@ -15084,6 +15305,26 @@ would write an attribute onto every host that no server sent. */
|
|
|
15084
15305
|
"attr:fullscreen-label"?: (HelixMap["fullscreenLabel"]) | undefined;
|
|
15085
15306
|
/** The fullscreen button's label. */
|
|
15086
15307
|
"prop:fullscreenLabel"?: (HelixMap["fullscreenLabel"]) | undefined;
|
|
15308
|
+
/** Which gestures the surface takes from the page.
|
|
15309
|
+
|
|
15310
|
+
- `always`: the surface takes the wheel and one finger, for a surface
|
|
15311
|
+
that is the page, such as a full-screen view. A map rests here.
|
|
15312
|
+
- Unset is the family's own: `always` for a map, and for a board, a
|
|
15313
|
+
drag and a pinch, with the plain wheel left to the page until the
|
|
15314
|
+
board fills the screen.
|
|
15315
|
+
- `cooperative`: the wheel and one finger scroll the page, and the
|
|
15316
|
+
surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
15317
|
+
says so when a gesture passes to the page. Best for a surface embedded
|
|
15318
|
+
in a page.
|
|
15319
|
+
- `activate`: the surface takes nothing until it is pressed, and gives it
|
|
15320
|
+
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
15321
|
+
|
|
15322
|
+
The keyboard and the frame's buttons work in every mode.
|
|
15323
|
+
|
|
15324
|
+
**Unreflected and without a default**, because a default that reflected
|
|
15325
|
+
would write an attribute onto every host that no server sent, and the
|
|
15326
|
+
hydration that followed would disagree with it. */
|
|
15327
|
+
"prop:gestures"?: (HelixMap["gestures"]) | undefined;
|
|
15087
15328
|
/** How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
15088
15329
|
|
|
15089
15330
|
Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -15138,6 +15379,26 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
15138
15379
|
"attr:pan-up-label"?: (HelixMap["panUpLabel"]) | undefined;
|
|
15139
15380
|
/** The pan up button's label. */
|
|
15140
15381
|
"prop:panUpLabel"?: (HelixMap["panUpLabel"]) | undefined;
|
|
15382
|
+
/** The hint shown when one finger swipes over a surface with
|
|
15383
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
15384
|
+
"attr:two-finger-hint-label"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15385
|
+
/** The hint shown when one finger swipes over a surface with
|
|
15386
|
+
`gestures="cooperative"`. Absent is the family's own. */
|
|
15387
|
+
"prop:twoFingerHintLabel"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15388
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
15389
|
+
gestures. Absent is the family's own. */
|
|
15390
|
+
"attr:using-label"?: (HelixMap["usingLabel"]) | undefined;
|
|
15391
|
+
/** The line shown while a surface with `gestures="activate"` has the
|
|
15392
|
+
gestures. Absent is the family's own. */
|
|
15393
|
+
"prop:usingLabel"?: (HelixMap["usingLabel"]) | undefined;
|
|
15394
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
15395
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15396
|
+
elsewhere. Absent is the family's own. */
|
|
15397
|
+
"attr:wheel-hint-label"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
15398
|
+
/** The hint shown when the wheel scrolls past a surface with
|
|
15399
|
+
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15400
|
+
elsewhere. Absent is the family's own. */
|
|
15401
|
+
"prop:wheelHintLabel"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
15141
15402
|
/** The zoom in button's label. */
|
|
15142
15403
|
"attr:zoom-in-label"?: (HelixMap["zoomInLabel"]) | undefined;
|
|
15143
15404
|
/** The zoom in button's label. */
|
|
@@ -15146,12 +15407,6 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
15146
15407
|
"attr:zoom-out-label"?: (HelixMap["zoomOutLabel"]) | undefined;
|
|
15147
15408
|
/** The zoom out button's label. */
|
|
15148
15409
|
"prop:zoomOutLabel"?: (HelixMap["zoomOutLabel"]) | undefined;
|
|
15149
|
-
/** The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
15150
|
-
over, with `gestures="activate"`. */
|
|
15151
|
-
"attr:activate-hint-label"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
15152
|
-
/** The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
15153
|
-
over, with `gestures="activate"`. */
|
|
15154
|
-
"prop:activateHintLabel"?: (HelixMap["activateHintLabel"]) | undefined;
|
|
15155
15410
|
/** The map's rotation, in degrees clockwise from north. `connectMap` keeps it
|
|
15156
15411
|
current, and the Face north button's needle turns with it. */
|
|
15157
15412
|
"prop:bearing"?: (HelixMap["bearing"]) | undefined;
|
|
@@ -15166,19 +15421,6 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
15166
15421
|
"attr:flat-label"?: (HelixMap["flatLabel"]) | undefined;
|
|
15167
15422
|
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
15168
15423
|
"prop:flatLabel"?: (HelixMap["flatLabel"]) | undefined;
|
|
15169
|
-
/** Which gestures the map takes from the page.
|
|
15170
|
-
|
|
15171
|
-
- `always`, which unset is: the wheel zooms the map and one finger pans
|
|
15172
|
-
it, for a map that is the page, such as a full-screen view.
|
|
15173
|
-
- `cooperative`: the wheel and one finger scroll the page, and the map
|
|
15174
|
-
takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
|
|
15175
|
-
when a gesture passes to the page. Best for a map embedded in a page.
|
|
15176
|
-
- `activate`: the map takes nothing until it is pressed, and gives it
|
|
15177
|
-
back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
15178
|
-
|
|
15179
|
-
The keyboard and the frame's buttons work in every mode. The renderer is
|
|
15180
|
-
told through the connector, so MapLibre and Leaflet behave alike. */
|
|
15181
|
-
"prop:gestures"?: (HelixMap["gestures"]) | undefined;
|
|
15182
15424
|
/** The Hybrid map type's name. */
|
|
15183
15425
|
"attr:hybrid-label"?: (HelixMap["hybridLabel"]) | undefined;
|
|
15184
15426
|
/** The Hybrid map type's name. */
|
|
@@ -15260,22 +15502,6 @@ top of the map faces, clockwise from north. */
|
|
|
15260
15502
|
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
15261
15503
|
top of the map faces, clockwise from north. */
|
|
15262
15504
|
"prop:turnedLabel"?: (HelixMap["turnedLabel"]) | undefined;
|
|
15263
|
-
/** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
|
|
15264
|
-
"attr:two-finger-hint-label"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15265
|
-
/** The hint shown when one finger swipes over a map with `gestures="cooperative"`. */
|
|
15266
|
-
"prop:twoFingerHintLabel"?: (HelixMap["twoFingerHintLabel"]) | undefined;
|
|
15267
|
-
/** The line shown while a map with `gestures="activate"` has the gestures. */
|
|
15268
|
-
"attr:using-label"?: (HelixMap["usingLabel"]) | undefined;
|
|
15269
|
-
/** The line shown while a map with `gestures="activate"` has the gestures. */
|
|
15270
|
-
"prop:usingLabel"?: (HelixMap["usingLabel"]) | undefined;
|
|
15271
|
-
/** The hint shown when the wheel scrolls past a map with
|
|
15272
|
-
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15273
|
-
elsewhere, as the renderer reads it. */
|
|
15274
|
-
"attr:wheel-hint-label"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
15275
|
-
/** The hint shown when the wheel scrolls past a map with
|
|
15276
|
-
`gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
15277
|
-
elsewhere, as the renderer reads it. */
|
|
15278
|
-
"prop:wheelHintLabel"?: (HelixMap["wheelHintLabel"]) | undefined;
|
|
15279
15505
|
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
15280
15506
|
"attr:zoomed-label"?: (HelixMap["zoomedLabel"]) | undefined;
|
|
15281
15507
|
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
@@ -29162,6 +29388,8 @@ export type CustomElements = {
|
|
|
29162
29388
|
*
|
|
29163
29389
|
* Framed is where it rests. Plain is for a board that fills a panel or an
|
|
29164
29390
|
* app's working area, where the container is already the frame.
|
|
29391
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
29392
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
29165
29393
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
29166
29394
|
* `none`. A family can add words of its own.
|
|
29167
29395
|
*
|
|
@@ -29201,6 +29429,25 @@ export type CustomElements = {
|
|
|
29201
29429
|
* resting value being an attribute's absence: a default that reflected
|
|
29202
29430
|
* would write an attribute onto every host that no server sent.
|
|
29203
29431
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
29432
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
29433
|
+
*
|
|
29434
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
29435
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
29436
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
29437
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
29438
|
+
* board fills the screen.
|
|
29439
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
29440
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
29441
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
29442
|
+
* in a page.
|
|
29443
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
29444
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
29445
|
+
*
|
|
29446
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
29447
|
+
*
|
|
29448
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
29449
|
+
* would write an attribute onto every host that no server sent, and the
|
|
29450
|
+
* hydration that followed would disagree with it.
|
|
29204
29451
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
29205
29452
|
*
|
|
29206
29453
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -29222,6 +29469,13 @@ export type CustomElements = {
|
|
|
29222
29469
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
29223
29470
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
29224
29471
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
29472
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
29473
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
29474
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
29475
|
+
* gestures. Absent is the family's own.
|
|
29476
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
29477
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
29478
|
+
* elsewhere. Absent is the family's own.
|
|
29225
29479
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
29226
29480
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
29227
29481
|
* - `comes-from-label`/`comesFromLabel`: The text read with a card to say where its connections come from, with `{cards}`.
|
|
@@ -29410,6 +29664,8 @@ export type CustomElements = {
|
|
|
29410
29664
|
* - `edges`: The layer the connectors are drawn in.
|
|
29411
29665
|
* - `footer`: The strip below the board.
|
|
29412
29666
|
* - `fullscreen`: The button that makes the board fill the screen.
|
|
29667
|
+
* - `gesture-hint`: Words over the board for a moment when it lets a gesture pass to the page, such as how to zoom it.
|
|
29668
|
+
* - `gesture-status`: The line shown while a board with `gestures="activate"` has the gestures.
|
|
29413
29669
|
* - `header`: The strip above the board.
|
|
29414
29670
|
* - `label`: The label on a connector.
|
|
29415
29671
|
* - `label-editor`: The field for editing a connection's label or a group's name, placed over that text.
|
|
@@ -29435,6 +29691,8 @@ export type CustomElements = {
|
|
|
29435
29691
|
* - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
|
|
29436
29692
|
* - `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.
|
|
29437
29693
|
* - `pressing`: While a press on the board, its cards or its connections is under way.
|
|
29694
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a board with `gestures="activate"` waits to be pressed.
|
|
29695
|
+
* - `using`: A board with `gestures="activate"` has been pressed and has the gestures.
|
|
29438
29696
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
29439
29697
|
*/
|
|
29440
29698
|
"helix-canvas": Partial<
|
|
@@ -35218,6 +35476,8 @@ export type CustomElements = {
|
|
|
35218
35476
|
*
|
|
35219
35477
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
35220
35478
|
*
|
|
35479
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
35480
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
35221
35481
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
35222
35482
|
* `none`. A family can add words of its own.
|
|
35223
35483
|
*
|
|
@@ -35257,6 +35517,25 @@ export type CustomElements = {
|
|
|
35257
35517
|
* resting value being an attribute's absence: a default that reflected
|
|
35258
35518
|
* would write an attribute onto every host that no server sent.
|
|
35259
35519
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
35520
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
35521
|
+
*
|
|
35522
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
35523
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
35524
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
35525
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
35526
|
+
* board fills the screen.
|
|
35527
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
35528
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
35529
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
35530
|
+
* in a page.
|
|
35531
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
35532
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
35533
|
+
*
|
|
35534
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
35535
|
+
*
|
|
35536
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
35537
|
+
* would write an attribute onto every host that no server sent, and the
|
|
35538
|
+
* hydration that followed would disagree with it.
|
|
35260
35539
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
35261
35540
|
*
|
|
35262
35541
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -35278,6 +35557,13 @@ export type CustomElements = {
|
|
|
35278
35557
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
35279
35558
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
35280
35559
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
35560
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
35561
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
35562
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
35563
|
+
* gestures. Absent is the family's own.
|
|
35564
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
35565
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
35566
|
+
* elsewhere. Absent is the family's own.
|
|
35281
35567
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
35282
35568
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
35283
35569
|
* - `active`: The `value` of the current item.
|
|
@@ -35332,9 +35618,11 @@ export type CustomElements = {
|
|
|
35332
35618
|
*
|
|
35333
35619
|
* - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
|
|
35334
35620
|
* - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
|
|
35335
|
-
* - `helix-graph-
|
|
35621
|
+
* - `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`.
|
|
35622
|
+
* - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
|
|
35623
|
+
* - `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.
|
|
35336
35624
|
* - `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.
|
|
35337
|
-
* - `helix-graph-zoom`: A zoom button or key was pressed.
|
|
35625
|
+
* - `helix-graph-zoom`: A zoom button or key was pressed. `connectGraph` zooms the drawing.
|
|
35338
35626
|
*
|
|
35339
35627
|
* ## Slots
|
|
35340
35628
|
*
|
|
@@ -35361,10 +35649,14 @@ export type CustomElements = {
|
|
|
35361
35649
|
* whether or not a consumer declared `active`, a declared property being a
|
|
35362
35650
|
* seed and a correction.
|
|
35363
35651
|
* - `drawn(whole = true) => void`: Says the graph has been drawn whole, or with `false`, that it no longer
|
|
35364
|
-
* is.
|
|
35365
|
-
* finished. The first call after
|
|
35652
|
+
* is. Called by `connectGraph` once its layout has settled; a page drawing
|
|
35653
|
+
* its own graph calls it when that graph is finished. The first call after
|
|
35366
35654
|
* the graph was not drawn sends `helix-graph-ready` and turns on
|
|
35367
35655
|
* `:state(ready)`.
|
|
35656
|
+
* - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
|
|
35657
|
+
* `helix-graph-layout` for the page to keep. Called by `connectGraph` once
|
|
35658
|
+
* its layout has settled; a page laying out its own graph calls it the same
|
|
35659
|
+
* way.
|
|
35368
35660
|
*
|
|
35369
35661
|
* ## CSS Custom Properties
|
|
35370
35662
|
*
|
|
@@ -35389,6 +35681,8 @@ export type CustomElements = {
|
|
|
35389
35681
|
* - `filter-mark`: The default icon beside the search field, shown when none is slotted.
|
|
35390
35682
|
* - `footer`: The strip below the graph.
|
|
35391
35683
|
* - `fullscreen`: The button that makes the graph fill the screen.
|
|
35684
|
+
* - `gesture-hint`: Words over the graph for a moment when it lets a gesture pass to the page, such as how to zoom it.
|
|
35685
|
+
* - `gesture-status`: The line shown while a graph with `gestures="activate"` has the gestures.
|
|
35392
35686
|
* - `header`: The strip above the graph.
|
|
35393
35687
|
* - `list`: The list of notes, which draws only the rows in view.
|
|
35394
35688
|
* - `live`: What screen readers hear when a search changes how many notes there are.
|
|
@@ -35418,6 +35712,8 @@ export type CustomElements = {
|
|
|
35418
35712
|
* - `fullscreen`: The graph fills the screen.
|
|
35419
35713
|
* - `idle`: The user has been still long enough for the header and footer to fade.
|
|
35420
35714
|
* - `ready`: The graph has been drawn whole, after `helix-graph-ready`.
|
|
35715
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a graph with `gestures="activate"` waits to be pressed.
|
|
35716
|
+
* - `using`: A graph with `gestures="activate"` has been pressed and has the gestures.
|
|
35421
35717
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
35422
35718
|
*/
|
|
35423
35719
|
"helix-graph": Partial<HelixGraphProps & BaseProps<HelixGraph> & BaseEvents<HelixGraph>>;
|
|
@@ -38345,6 +38641,8 @@ export type CustomElements = {
|
|
|
38345
38641
|
* - `material`: The background of the pan and zoom buttons. Leave unset for solid. `glass`
|
|
38346
38642
|
* shows the map through a blur, `frosted` blurs more, and `transparent` has
|
|
38347
38643
|
* no background. Your theme sets how see-through each one is.
|
|
38644
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
38645
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
38348
38646
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
38349
38647
|
* `none`. A family can add words of its own.
|
|
38350
38648
|
*
|
|
@@ -38384,6 +38682,25 @@ export type CustomElements = {
|
|
|
38384
38682
|
* resting value being an attribute's absence: a default that reflected
|
|
38385
38683
|
* would write an attribute onto every host that no server sent.
|
|
38386
38684
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
38685
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
38686
|
+
*
|
|
38687
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
38688
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
38689
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
38690
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
38691
|
+
* board fills the screen.
|
|
38692
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
38693
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
38694
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
38695
|
+
* in a page.
|
|
38696
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
38697
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
38698
|
+
*
|
|
38699
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
38700
|
+
*
|
|
38701
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
38702
|
+
* would write an attribute onto every host that no server sent, and the
|
|
38703
|
+
* hydration that followed would disagree with it.
|
|
38387
38704
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
38388
38705
|
*
|
|
38389
38706
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -38405,28 +38722,21 @@ export type CustomElements = {
|
|
|
38405
38722
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
38406
38723
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
38407
38724
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
38725
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
38726
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
38727
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
38728
|
+
* gestures. Absent is the family's own.
|
|
38729
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
38730
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
38731
|
+
* elsewhere. Absent is the family's own.
|
|
38408
38732
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
38409
38733
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
38410
|
-
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
38411
|
-
* over, with `gestures="activate"`.
|
|
38412
38734
|
* - `bearing`: The map's rotation, in degrees clockwise from north. `connectMap` keeps it
|
|
38413
38735
|
* current, and the Face north button's needle turns with it.
|
|
38414
38736
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
38415
38737
|
* the map zooms in, and pressing one zooms in to its places.
|
|
38416
38738
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
38417
38739
|
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
38418
|
-
* - `gestures`: Which gestures the map takes from the page.
|
|
38419
|
-
*
|
|
38420
|
-
* - `always`, which unset is: the wheel zooms the map and one finger pans
|
|
38421
|
-
* it, for a map that is the page, such as a full-screen view.
|
|
38422
|
-
* - `cooperative`: the wheel and one finger scroll the page, and the map
|
|
38423
|
-
* takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
|
|
38424
|
-
* when a gesture passes to the page. Best for a map embedded in a page.
|
|
38425
|
-
* - `activate`: the map takes nothing until it is pressed, and gives it
|
|
38426
|
-
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
38427
|
-
*
|
|
38428
|
-
* The keyboard and the frame's buttons work in every mode. The renderer is
|
|
38429
|
-
* told through the connector, so MapLibre and Leaflet behave alike.
|
|
38430
38740
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
38431
38741
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
38432
38742
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -38453,11 +38763,6 @@ export type CustomElements = {
|
|
|
38453
38763
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
38454
38764
|
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
38455
38765
|
* top of the map faces, clockwise from north.
|
|
38456
|
-
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a map with `gestures="cooperative"`.
|
|
38457
|
-
* - `using-label`/`usingLabel`: The line shown while a map with `gestures="activate"` has the gestures.
|
|
38458
|
-
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a map with
|
|
38459
|
-
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
38460
|
-
* elsewhere, as the renderer reads it.
|
|
38461
38766
|
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
38462
38767
|
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
38463
38768
|
* current, and the map says it after a zoom.
|
|
@@ -38596,6 +38901,7 @@ export type CustomElements = {
|
|
|
38596
38901
|
* - `fullscreen`: The map fills the screen.
|
|
38597
38902
|
* - `idle`: The user has been still long enough for the header and footer to fade.
|
|
38598
38903
|
* - `ready`: The map has been drawn whole, after `helix-map-ready`.
|
|
38904
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a map with `gestures="activate"` waits to be pressed.
|
|
38599
38905
|
* - `using`: A map with `gestures="activate"` has been pressed and has the gestures.
|
|
38600
38906
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
38601
38907
|
*/
|
|
@@ -51261,6 +51567,8 @@ export type CustomElementsSolidJs = {
|
|
|
51261
51567
|
*
|
|
51262
51568
|
* Framed is where it rests. Plain is for a board that fills a panel or an
|
|
51263
51569
|
* app's working area, where the container is already the frame.
|
|
51570
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
51571
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
51264
51572
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
51265
51573
|
* `none`. A family can add words of its own.
|
|
51266
51574
|
*
|
|
@@ -51300,6 +51608,25 @@ export type CustomElementsSolidJs = {
|
|
|
51300
51608
|
* resting value being an attribute's absence: a default that reflected
|
|
51301
51609
|
* would write an attribute onto every host that no server sent.
|
|
51302
51610
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
51611
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
51612
|
+
*
|
|
51613
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
51614
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
51615
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
51616
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
51617
|
+
* board fills the screen.
|
|
51618
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
51619
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
51620
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
51621
|
+
* in a page.
|
|
51622
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
51623
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
51624
|
+
*
|
|
51625
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
51626
|
+
*
|
|
51627
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
51628
|
+
* would write an attribute onto every host that no server sent, and the
|
|
51629
|
+
* hydration that followed would disagree with it.
|
|
51303
51630
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
51304
51631
|
*
|
|
51305
51632
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -51321,6 +51648,13 @@ export type CustomElementsSolidJs = {
|
|
|
51321
51648
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
51322
51649
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
51323
51650
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
51651
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
51652
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
51653
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
51654
|
+
* gestures. Absent is the family's own.
|
|
51655
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
51656
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
51657
|
+
* elsewhere. Absent is the family's own.
|
|
51324
51658
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
51325
51659
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
51326
51660
|
* - `comes-from-label`/`comesFromLabel`: The text read with a card to say where its connections come from, with `{cards}`.
|
|
@@ -51509,6 +51843,8 @@ export type CustomElementsSolidJs = {
|
|
|
51509
51843
|
* - `edges`: The layer the connectors are drawn in.
|
|
51510
51844
|
* - `footer`: The strip below the board.
|
|
51511
51845
|
* - `fullscreen`: The button that makes the board fill the screen.
|
|
51846
|
+
* - `gesture-hint`: Words over the board for a moment when it lets a gesture pass to the page, such as how to zoom it.
|
|
51847
|
+
* - `gesture-status`: The line shown while a board with `gestures="activate"` has the gestures.
|
|
51512
51848
|
* - `header`: The strip above the board.
|
|
51513
51849
|
* - `label`: The label on a connector.
|
|
51514
51850
|
* - `label-editor`: The field for editing a connection's label or a group's name, placed over that text.
|
|
@@ -51534,6 +51870,8 @@ export type CustomElementsSolidJs = {
|
|
|
51534
51870
|
* - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
|
|
51535
51871
|
* - `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.
|
|
51536
51872
|
* - `pressing`: While a press on the board, its cards or its connections is under way.
|
|
51873
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a board with `gestures="activate"` waits to be pressed.
|
|
51874
|
+
* - `using`: A board with `gestures="activate"` has been pressed and has the gestures.
|
|
51537
51875
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
51538
51876
|
*/
|
|
51539
51877
|
"helix-canvas": Partial<
|
|
@@ -57418,6 +57756,8 @@ export type CustomElementsSolidJs = {
|
|
|
57418
57756
|
*
|
|
57419
57757
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
57420
57758
|
*
|
|
57759
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
57760
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
57421
57761
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
57422
57762
|
* `none`. A family can add words of its own.
|
|
57423
57763
|
*
|
|
@@ -57457,6 +57797,25 @@ export type CustomElementsSolidJs = {
|
|
|
57457
57797
|
* resting value being an attribute's absence: a default that reflected
|
|
57458
57798
|
* would write an attribute onto every host that no server sent.
|
|
57459
57799
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
57800
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
57801
|
+
*
|
|
57802
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
57803
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
57804
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
57805
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
57806
|
+
* board fills the screen.
|
|
57807
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
57808
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
57809
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
57810
|
+
* in a page.
|
|
57811
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
57812
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
57813
|
+
*
|
|
57814
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
57815
|
+
*
|
|
57816
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
57817
|
+
* would write an attribute onto every host that no server sent, and the
|
|
57818
|
+
* hydration that followed would disagree with it.
|
|
57460
57819
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
57461
57820
|
*
|
|
57462
57821
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -57478,6 +57837,13 @@ export type CustomElementsSolidJs = {
|
|
|
57478
57837
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
57479
57838
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
57480
57839
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
57840
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
57841
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
57842
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
57843
|
+
* gestures. Absent is the family's own.
|
|
57844
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
57845
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
57846
|
+
* elsewhere. Absent is the family's own.
|
|
57481
57847
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
57482
57848
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
57483
57849
|
* - `active`: The `value` of the current item.
|
|
@@ -57532,9 +57898,11 @@ export type CustomElementsSolidJs = {
|
|
|
57532
57898
|
*
|
|
57533
57899
|
* - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
|
|
57534
57900
|
* - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
|
|
57535
|
-
* - `helix-graph-
|
|
57901
|
+
* - `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`.
|
|
57902
|
+
* - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
|
|
57903
|
+
* - `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.
|
|
57536
57904
|
* - `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.
|
|
57537
|
-
* - `helix-graph-zoom`: A zoom button or key was pressed.
|
|
57905
|
+
* - `helix-graph-zoom`: A zoom button or key was pressed. `connectGraph` zooms the drawing.
|
|
57538
57906
|
*
|
|
57539
57907
|
* ## Slots
|
|
57540
57908
|
*
|
|
@@ -57561,10 +57929,14 @@ export type CustomElementsSolidJs = {
|
|
|
57561
57929
|
* whether or not a consumer declared `active`, a declared property being a
|
|
57562
57930
|
* seed and a correction.
|
|
57563
57931
|
* - `drawn(whole = true) => void`: Says the graph has been drawn whole, or with `false`, that it no longer
|
|
57564
|
-
* is.
|
|
57565
|
-
* finished. The first call after
|
|
57932
|
+
* is. Called by `connectGraph` once its layout has settled; a page drawing
|
|
57933
|
+
* its own graph calls it when that graph is finished. The first call after
|
|
57566
57934
|
* the graph was not drawn sends `helix-graph-ready` and turns on
|
|
57567
57935
|
* `:state(ready)`.
|
|
57936
|
+
* - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
|
|
57937
|
+
* `helix-graph-layout` for the page to keep. Called by `connectGraph` once
|
|
57938
|
+
* its layout has settled; a page laying out its own graph calls it the same
|
|
57939
|
+
* way.
|
|
57568
57940
|
*
|
|
57569
57941
|
* ## CSS Custom Properties
|
|
57570
57942
|
*
|
|
@@ -57589,6 +57961,8 @@ export type CustomElementsSolidJs = {
|
|
|
57589
57961
|
* - `filter-mark`: The default icon beside the search field, shown when none is slotted.
|
|
57590
57962
|
* - `footer`: The strip below the graph.
|
|
57591
57963
|
* - `fullscreen`: The button that makes the graph fill the screen.
|
|
57964
|
+
* - `gesture-hint`: Words over the graph for a moment when it lets a gesture pass to the page, such as how to zoom it.
|
|
57965
|
+
* - `gesture-status`: The line shown while a graph with `gestures="activate"` has the gestures.
|
|
57592
57966
|
* - `header`: The strip above the graph.
|
|
57593
57967
|
* - `list`: The list of notes, which draws only the rows in view.
|
|
57594
57968
|
* - `live`: What screen readers hear when a search changes how many notes there are.
|
|
@@ -57618,6 +57992,8 @@ export type CustomElementsSolidJs = {
|
|
|
57618
57992
|
* - `fullscreen`: The graph fills the screen.
|
|
57619
57993
|
* - `idle`: The user has been still long enough for the header and footer to fade.
|
|
57620
57994
|
* - `ready`: The graph has been drawn whole, after `helix-graph-ready`.
|
|
57995
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a graph with `gestures="activate"` waits to be pressed.
|
|
57996
|
+
* - `using`: A graph with `gestures="activate"` has been pressed and has the gestures.
|
|
57621
57997
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
57622
57998
|
*/
|
|
57623
57999
|
"helix-graph": Partial<
|
|
@@ -60619,6 +60995,8 @@ export type CustomElementsSolidJs = {
|
|
|
60619
60995
|
* - `material`: The background of the pan and zoom buttons. Leave unset for solid. `glass`
|
|
60620
60996
|
* shows the map through a blur, `frosted` blurs more, and `transparent` has
|
|
60621
60997
|
* no background. Your theme sets how see-through each one is.
|
|
60998
|
+
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a surface waiting to be pressed is scrolled or
|
|
60999
|
+
* swiped over, with `gestures="activate"`. Absent is the family's own.
|
|
60622
61000
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
60623
61001
|
* `none`. A family can add words of its own.
|
|
60624
61002
|
*
|
|
@@ -60658,6 +61036,25 @@ export type CustomElementsSolidJs = {
|
|
|
60658
61036
|
* resting value being an attribute's absence: a default that reflected
|
|
60659
61037
|
* would write an attribute onto every host that no server sent.
|
|
60660
61038
|
* - `fullscreen-label`/`fullscreenLabel`: The fullscreen button's label.
|
|
61039
|
+
* - `gestures`: Which gestures the surface takes from the page.
|
|
61040
|
+
*
|
|
61041
|
+
* - `always`: the surface takes the wheel and one finger, for a surface
|
|
61042
|
+
* that is the page, such as a full-screen view. A map rests here.
|
|
61043
|
+
* - Unset is the family's own: `always` for a map, and for a board, a
|
|
61044
|
+
* drag and a pinch, with the plain wheel left to the page until the
|
|
61045
|
+
* board fills the screen.
|
|
61046
|
+
* - `cooperative`: the wheel and one finger scroll the page, and the
|
|
61047
|
+
* surface takes Ctrl or ⌘ with the wheel, and two fingers. The frame
|
|
61048
|
+
* says so when a gesture passes to the page. Best for a surface embedded
|
|
61049
|
+
* in a page.
|
|
61050
|
+
* - `activate`: the surface takes nothing until it is pressed, and gives it
|
|
61051
|
+
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
61052
|
+
*
|
|
61053
|
+
* The keyboard and the frame's buttons work in every mode.
|
|
61054
|
+
*
|
|
61055
|
+
* **Unreflected and without a default**, because a default that reflected
|
|
61056
|
+
* would write an attribute onto every host that no server sent, and the
|
|
61057
|
+
* hydration that followed would disagree with it.
|
|
60661
61058
|
* - `idle-delay`/`idleDelay`: How long, in milliseconds, before the header and footer hide when the user is inactive. `0` keeps them visible.
|
|
60662
61059
|
*
|
|
60663
61060
|
* Zero keeps it up, which is the default: these controls are how a keyboard
|
|
@@ -60679,28 +61076,21 @@ export type CustomElementsSolidJs = {
|
|
|
60679
61076
|
* scale of what is inside it: a quarter of the viewport is the same gesture
|
|
60680
61077
|
* at any zoom, and a consumer who wants their own units multiplies by them.
|
|
60681
61078
|
* - `pan-up-label`/`panUpLabel`: The pan up button's label.
|
|
61079
|
+
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a surface with
|
|
61080
|
+
* `gestures="cooperative"`. Absent is the family's own.
|
|
61081
|
+
* - `using-label`/`usingLabel`: The line shown while a surface with `gestures="activate"` has the
|
|
61082
|
+
* gestures. Absent is the family's own.
|
|
61083
|
+
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a surface with
|
|
61084
|
+
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
61085
|
+
* elsewhere. Absent is the family's own.
|
|
60682
61086
|
* - `zoom-in-label`/`zoomInLabel`: The zoom in button's label.
|
|
60683
61087
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
60684
|
-
* - `activate-hint-label`/`activateHintLabel`: The hint shown when a map waiting to be pressed is scrolled or swiped
|
|
60685
|
-
* over, with `gestures="activate"`.
|
|
60686
61088
|
* - `bearing`: The map's rotation, in degrees clockwise from north. `connectMap` keeps it
|
|
60687
61089
|
* current, and the Face north button's needle turns with it.
|
|
60688
61090
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
60689
61091
|
* the map zooms in, and pressing one zooms in to its places.
|
|
60690
61092
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
60691
61093
|
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
60692
|
-
* - `gestures`: Which gestures the map takes from the page.
|
|
60693
|
-
*
|
|
60694
|
-
* - `always`, which unset is: the wheel zooms the map and one finger pans
|
|
60695
|
-
* it, for a map that is the page, such as a full-screen view.
|
|
60696
|
-
* - `cooperative`: the wheel and one finger scroll the page, and the map
|
|
60697
|
-
* takes Ctrl or ⌘ with the wheel, and two fingers. The frame says so
|
|
60698
|
-
* when a gesture passes to the page. Best for a map embedded in a page.
|
|
60699
|
-
* - `activate`: the map takes nothing until it is pressed, and gives it
|
|
60700
|
-
* back on Escape, when the pointer leaves it, or on a press elsewhere.
|
|
60701
|
-
*
|
|
60702
|
-
* The keyboard and the frame's buttons work in every mode. The renderer is
|
|
60703
|
-
* told through the connector, so MapLibre and Leaflet behave alike.
|
|
60704
61094
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
60705
61095
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
60706
61096
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -60727,11 +61117,6 @@ export type CustomElementsSolidJs = {
|
|
|
60727
61117
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
60728
61118
|
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
60729
61119
|
* top of the map faces, clockwise from north.
|
|
60730
|
-
* - `two-finger-hint-label`/`twoFingerHintLabel`: The hint shown when one finger swipes over a map with `gestures="cooperative"`.
|
|
60731
|
-
* - `using-label`/`usingLabel`: The line shown while a map with `gestures="activate"` has the gestures.
|
|
60732
|
-
* - `wheel-hint-label`/`wheelHintLabel`: The hint shown when the wheel scrolls past a map with
|
|
60733
|
-
* `gestures="cooperative"`, with `{key}`, which is ⌘ on a Mac and Ctrl
|
|
60734
|
-
* elsewhere, as the renderer reads it.
|
|
60735
61120
|
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
60736
61121
|
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
60737
61122
|
* current, and the map says it after a zoom.
|
|
@@ -60870,6 +61255,7 @@ export type CustomElementsSolidJs = {
|
|
|
60870
61255
|
* - `fullscreen`: The map fills the screen.
|
|
60871
61256
|
* - `idle`: The user has been still long enough for the header and footer to fade.
|
|
60872
61257
|
* - `ready`: The map has been drawn whole, after `helix-map-ready`.
|
|
61258
|
+
* - `sharing`: The page keeps the plain wheel and one finger, with `gestures="cooperative"` or while a map with `gestures="activate"` waits to be pressed.
|
|
60873
61259
|
* - `using`: A map with `gestures="activate"` has been pressed and has the gestures.
|
|
60874
61260
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
60875
61261
|
*/
|