@fusion.dev/helix 0.109.3 → 0.110.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +721 -2
- package/dist/map/root/map-root.js +2 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +298 -0
- package/types/vue.d.ts +94 -0
package/types/jsx.d.ts
CHANGED
|
@@ -2277,6 +2277,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
2277
2277
|
No attribute, because it is coordination between elements rather than
|
|
2278
2278
|
anything a consumer sets. */
|
|
2279
2279
|
focusable?: (HelixButton["focusable"]) | undefined;
|
|
2280
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
2281
|
+
`Menu`.
|
|
2282
|
+
|
|
2283
|
+
Set by the component that owns the panel, as a property for the reason
|
|
2284
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
2285
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
2286
|
+
reported collapsed and expanded and no popup. */
|
|
2287
|
+
popup?: (HelixButton["popup"]) | undefined;
|
|
2280
2288
|
/** The element this button's command is sent to, resolved.
|
|
2281
2289
|
|
|
2282
2290
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -2487,6 +2495,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
2487
2495
|
No attribute, because it is coordination between elements rather than
|
|
2488
2496
|
anything a consumer sets. */
|
|
2489
2497
|
"prop:focusable"?: (HelixButton["focusable"]) | undefined;
|
|
2498
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
2499
|
+
`Menu`.
|
|
2500
|
+
|
|
2501
|
+
Set by the component that owns the panel, as a property for the reason
|
|
2502
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
2503
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
2504
|
+
reported collapsed and expanded and no popup. */
|
|
2505
|
+
"prop:popup"?: (HelixButton["popup"]) | undefined;
|
|
2490
2506
|
/** The element this button's command is sent to, resolved.
|
|
2491
2507
|
|
|
2492
2508
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -7100,6 +7116,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
7100
7116
|
No attribute, because it is coordination between elements rather than
|
|
7101
7117
|
anything a consumer sets. */
|
|
7102
7118
|
focusable?: (HelixCopyButton["focusable"]) | undefined;
|
|
7119
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
7120
|
+
`Menu`.
|
|
7121
|
+
|
|
7122
|
+
Set by the component that owns the panel, as a property for the reason
|
|
7123
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
7124
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
7125
|
+
reported collapsed and expanded and no popup. */
|
|
7126
|
+
popup?: (HelixCopyButton["popup"]) | undefined;
|
|
7103
7127
|
/** The element this button's command is sent to, resolved.
|
|
7104
7128
|
|
|
7105
7129
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -7292,6 +7316,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
7292
7316
|
No attribute, because it is coordination between elements rather than
|
|
7293
7317
|
anything a consumer sets. */
|
|
7294
7318
|
"prop:focusable"?: (HelixCopyButton["focusable"]) | undefined;
|
|
7319
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
7320
|
+
`Menu`.
|
|
7321
|
+
|
|
7322
|
+
Set by the component that owns the panel, as a property for the reason
|
|
7323
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
7324
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
7325
|
+
reported collapsed and expanded and no popup. */
|
|
7326
|
+
"prop:popup"?: (HelixCopyButton["popup"]) | undefined;
|
|
7295
7327
|
/** The element this button's command is sent to, resolved.
|
|
7296
7328
|
|
|
7297
7329
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -7345,6 +7377,10 @@ say that without the component knowing what a row looks like. */
|
|
|
7345
7377
|
"loading-text"?: (HelixDataTable["loadingText"]) | undefined;
|
|
7346
7378
|
/** The text shown and announced while the rows load. */
|
|
7347
7379
|
loadingText?: (HelixDataTable["loadingText"]) | undefined;
|
|
7380
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
7381
|
+
"ascending-label"?: (HelixDataTable["ascendingLabel"]) | undefined;
|
|
7382
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
7383
|
+
ascendingLabel?: (HelixDataTable["ascendingLabel"]) | undefined;
|
|
7348
7384
|
/** The starting search query, used until `filter` is set. */
|
|
7349
7385
|
"default-filter"?: (HelixDataTable["defaultFilter"]) | undefined;
|
|
7350
7386
|
/** The starting search query, used until `filter` is set. */
|
|
@@ -7371,6 +7407,10 @@ is set. */
|
|
|
7371
7407
|
"default-sort"?: (HelixDataTable["defaultSort"]) | undefined;
|
|
7372
7408
|
/** The starting sort order, used until `sort` is set. */
|
|
7373
7409
|
defaultSort?: (HelixDataTable["defaultSort"]) | undefined;
|
|
7410
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
7411
|
+
"descending-label"?: (HelixDataTable["descendingLabel"]) | undefined;
|
|
7412
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
7413
|
+
descendingLabel?: (HelixDataTable["descendingLabel"]) | undefined;
|
|
7374
7414
|
/** The estimated height of a row before it is drawn, in pixels.
|
|
7375
7415
|
|
|
7376
7416
|
Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -7478,12 +7518,24 @@ A key holding a comma cannot be told apart from two keys, which is the
|
|
|
7478
7518
|
price of the shape. A reader's choice fires `helix-select` first, and
|
|
7479
7519
|
refusing it leaves the selection as it was. */
|
|
7480
7520
|
selected?: (HelixDataTable["selected"]) | undefined;
|
|
7521
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
7522
|
+
rows are chosen. */
|
|
7523
|
+
"selected-label"?: (HelixDataTable["selectedLabel"]) | undefined;
|
|
7524
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
7525
|
+
rows are chosen. */
|
|
7526
|
+
selectedLabel?: (HelixDataTable["selectedLabel"]) | undefined;
|
|
7481
7527
|
/** The sort order, as `field:direction`.
|
|
7482
7528
|
|
|
7483
7529
|
Set it and this element defers: a reader's click fires `helix-sort` and
|
|
7484
7530
|
changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
7485
7531
|
element then owns. */
|
|
7486
7532
|
sort?: (HelixDataTable["sort"]) | undefined;
|
|
7533
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
7534
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
7535
|
+
"sorted-label"?: (HelixDataTable["sortedLabel"]) | undefined;
|
|
7536
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
7537
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
7538
|
+
sortedLabel?: (HelixDataTable["sortedLabel"]) | undefined;
|
|
7487
7539
|
/** The number of rows in the whole result, for when the table cannot count
|
|
7488
7540
|
them.
|
|
7489
7541
|
|
|
@@ -7492,6 +7544,10 @@ nothing about the result. Ignored in `client` mode rather than trusted,
|
|
|
7492
7544
|
because two sources for one count is the mistake, and here the array is the
|
|
7493
7545
|
one that cannot be stale. */
|
|
7494
7546
|
total?: (HelixDataTable["total"]) | undefined;
|
|
7547
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
7548
|
+
"unsorted-label"?: (HelixDataTable["unsortedLabel"]) | undefined;
|
|
7549
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
7550
|
+
unsortedLabel?: (HelixDataTable["unsortedLabel"]) | undefined;
|
|
7495
7551
|
/** Draws only the rows in view, with empty space in place of the rest.
|
|
7496
7552
|
|
|
7497
7553
|
**Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -7548,6 +7604,10 @@ say that without the component knowing what a row looks like. */
|
|
|
7548
7604
|
"attr:loading-text"?: (HelixDataTable["loadingText"]) | undefined;
|
|
7549
7605
|
/** The text shown and announced while the rows load. */
|
|
7550
7606
|
"prop:loadingText"?: (HelixDataTable["loadingText"]) | undefined;
|
|
7607
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
7608
|
+
"attr:ascending-label"?: (HelixDataTable["ascendingLabel"]) | undefined;
|
|
7609
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
7610
|
+
"prop:ascendingLabel"?: (HelixDataTable["ascendingLabel"]) | undefined;
|
|
7551
7611
|
/** The starting search query, used until `filter` is set. */
|
|
7552
7612
|
"attr:default-filter"?: (HelixDataTable["defaultFilter"]) | undefined;
|
|
7553
7613
|
/** The starting search query, used until `filter` is set. */
|
|
@@ -7574,6 +7634,10 @@ is set. */
|
|
|
7574
7634
|
"attr:default-sort"?: (HelixDataTable["defaultSort"]) | undefined;
|
|
7575
7635
|
/** The starting sort order, used until `sort` is set. */
|
|
7576
7636
|
"prop:defaultSort"?: (HelixDataTable["defaultSort"]) | undefined;
|
|
7637
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
7638
|
+
"attr:descending-label"?: (HelixDataTable["descendingLabel"]) | undefined;
|
|
7639
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
7640
|
+
"prop:descendingLabel"?: (HelixDataTable["descendingLabel"]) | undefined;
|
|
7577
7641
|
/** The estimated height of a row before it is drawn, in pixels.
|
|
7578
7642
|
|
|
7579
7643
|
Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -7681,12 +7745,24 @@ A key holding a comma cannot be told apart from two keys, which is the
|
|
|
7681
7745
|
price of the shape. A reader's choice fires `helix-select` first, and
|
|
7682
7746
|
refusing it leaves the selection as it was. */
|
|
7683
7747
|
"prop:selected"?: (HelixDataTable["selected"]) | undefined;
|
|
7748
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
7749
|
+
rows are chosen. */
|
|
7750
|
+
"attr:selected-label"?: (HelixDataTable["selectedLabel"]) | undefined;
|
|
7751
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
7752
|
+
rows are chosen. */
|
|
7753
|
+
"prop:selectedLabel"?: (HelixDataTable["selectedLabel"]) | undefined;
|
|
7684
7754
|
/** The sort order, as `field:direction`.
|
|
7685
7755
|
|
|
7686
7756
|
Set it and this element defers: a reader's click fires `helix-sort` and
|
|
7687
7757
|
changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
7688
7758
|
element then owns. */
|
|
7689
7759
|
"prop:sort"?: (HelixDataTable["sort"]) | undefined;
|
|
7760
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
7761
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
7762
|
+
"attr:sorted-label"?: (HelixDataTable["sortedLabel"]) | undefined;
|
|
7763
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
7764
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
7765
|
+
"prop:sortedLabel"?: (HelixDataTable["sortedLabel"]) | undefined;
|
|
7690
7766
|
/** The number of rows in the whole result, for when the table cannot count
|
|
7691
7767
|
them.
|
|
7692
7768
|
|
|
@@ -7695,6 +7771,10 @@ nothing about the result. Ignored in `client` mode rather than trusted,
|
|
|
7695
7771
|
because two sources for one count is the mistake, and here the array is the
|
|
7696
7772
|
one that cannot be stale. */
|
|
7697
7773
|
"prop:total"?: (HelixDataTable["total"]) | undefined;
|
|
7774
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
7775
|
+
"attr:unsorted-label"?: (HelixDataTable["unsortedLabel"]) | undefined;
|
|
7776
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
7777
|
+
"prop:unsortedLabel"?: (HelixDataTable["unsortedLabel"]) | undefined;
|
|
7698
7778
|
/** Draws only the rows in view, with empty space in place of the rest.
|
|
7699
7779
|
|
|
7700
7780
|
**Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -11366,6 +11446,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
11366
11446
|
No attribute, because it is coordination between elements rather than
|
|
11367
11447
|
anything a consumer sets. */
|
|
11368
11448
|
focusable?: (HelixIconButton["focusable"]) | undefined;
|
|
11449
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
11450
|
+
`Menu`.
|
|
11451
|
+
|
|
11452
|
+
Set by the component that owns the panel, as a property for the reason
|
|
11453
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
11454
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
11455
|
+
reported collapsed and expanded and no popup. */
|
|
11456
|
+
popup?: (HelixIconButton["popup"]) | undefined;
|
|
11369
11457
|
/** The element this button's command is sent to, resolved.
|
|
11370
11458
|
|
|
11371
11459
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -11574,6 +11662,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
11574
11662
|
No attribute, because it is coordination between elements rather than
|
|
11575
11663
|
anything a consumer sets. */
|
|
11576
11664
|
"prop:focusable"?: (HelixIconButton["focusable"]) | undefined;
|
|
11665
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
11666
|
+
`Menu`.
|
|
11667
|
+
|
|
11668
|
+
Set by the component that owns the panel, as a property for the reason
|
|
11669
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
11670
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
11671
|
+
reported collapsed and expanded and no popup. */
|
|
11672
|
+
"prop:popup"?: (HelixIconButton["popup"]) | undefined;
|
|
11577
11673
|
/** The element this button's command is sent to, resolved.
|
|
11578
11674
|
|
|
11579
11675
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -14240,6 +14336,10 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
14240
14336
|
"face-north-label"?: (HelixMap["faceNorthLabel"]) | undefined;
|
|
14241
14337
|
/** The Face north button's label. */
|
|
14242
14338
|
faceNorthLabel?: (HelixMap["faceNorthLabel"]) | undefined;
|
|
14339
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
14340
|
+
"flat-label"?: (HelixMap["flatLabel"]) | undefined;
|
|
14341
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
14342
|
+
flatLabel?: (HelixMap["flatLabel"]) | undefined;
|
|
14243
14343
|
/** The Hybrid map type's name. */
|
|
14244
14344
|
"hybrid-label"?: (HelixMap["hybridLabel"]) | undefined;
|
|
14245
14345
|
/** The Hybrid map type's name. */
|
|
@@ -14265,6 +14365,26 @@ the standard, themed map. The layers menu chooses it. */
|
|
|
14265
14365
|
"map-type-label"?: (HelixMap["mapTypeLabel"]) | undefined;
|
|
14266
14366
|
/** The name of the map types in the layers menu, read by screen readers. */
|
|
14267
14367
|
mapTypeLabel?: (HelixMap["mapTypeLabel"]) | undefined;
|
|
14368
|
+
/** What screen readers hear when the map has moved down. */
|
|
14369
|
+
"moved-down-label"?: (HelixMap["movedDownLabel"]) | undefined;
|
|
14370
|
+
/** What screen readers hear when the map has moved down. */
|
|
14371
|
+
movedDownLabel?: (HelixMap["movedDownLabel"]) | undefined;
|
|
14372
|
+
/** What screen readers hear when the map has moved left. */
|
|
14373
|
+
"moved-left-label"?: (HelixMap["movedLeftLabel"]) | undefined;
|
|
14374
|
+
/** What screen readers hear when the map has moved left. */
|
|
14375
|
+
movedLeftLabel?: (HelixMap["movedLeftLabel"]) | undefined;
|
|
14376
|
+
/** What screen readers hear when the map has moved right. */
|
|
14377
|
+
"moved-right-label"?: (HelixMap["movedRightLabel"]) | undefined;
|
|
14378
|
+
/** What screen readers hear when the map has moved right. */
|
|
14379
|
+
movedRightLabel?: (HelixMap["movedRightLabel"]) | undefined;
|
|
14380
|
+
/** What screen readers hear when the map has moved up. */
|
|
14381
|
+
"moved-up-label"?: (HelixMap["movedUpLabel"]) | undefined;
|
|
14382
|
+
/** What screen readers hear when the map has moved up. */
|
|
14383
|
+
movedUpLabel?: (HelixMap["movedUpLabel"]) | undefined;
|
|
14384
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
14385
|
+
"north-label"?: (HelixMap["northLabel"]) | undefined;
|
|
14386
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
14387
|
+
northLabel?: (HelixMap["northLabel"]) | undefined;
|
|
14268
14388
|
/** How far the map is tilted, in degrees from looking straight down.
|
|
14269
14389
|
`connectMap` keeps it current, and the 3D button is pressed while it is
|
|
14270
14390
|
above `0`. */
|
|
@@ -14285,10 +14405,32 @@ above `0`. */
|
|
|
14285
14405
|
"standard-label"?: (HelixMap["standardLabel"]) | undefined;
|
|
14286
14406
|
/** The Standard map type's name. */
|
|
14287
14407
|
standardLabel?: (HelixMap["standardLabel"]) | undefined;
|
|
14408
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
14409
|
+
from looking straight down. */
|
|
14410
|
+
"tilted-label"?: (HelixMap["tiltedLabel"]) | undefined;
|
|
14411
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
14412
|
+
from looking straight down. */
|
|
14413
|
+
tiltedLabel?: (HelixMap["tiltedLabel"]) | undefined;
|
|
14288
14414
|
/** The 3D button's label. */
|
|
14289
14415
|
"tilt-label"?: (HelixMap["tiltLabel"]) | undefined;
|
|
14290
14416
|
/** The 3D button's label. */
|
|
14291
14417
|
tiltLabel?: (HelixMap["tiltLabel"]) | undefined;
|
|
14418
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
14419
|
+
top of the map faces, clockwise from north. */
|
|
14420
|
+
"turned-label"?: (HelixMap["turnedLabel"]) | undefined;
|
|
14421
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
14422
|
+
top of the map faces, clockwise from north. */
|
|
14423
|
+
turnedLabel?: (HelixMap["turnedLabel"]) | undefined;
|
|
14424
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
14425
|
+
"zoomed-label"?: (HelixMap["zoomedLabel"]) | undefined;
|
|
14426
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
14427
|
+
zoomedLabel?: (HelixMap["zoomedLabel"]) | undefined;
|
|
14428
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
14429
|
+
current, and the map says it after a zoom. */
|
|
14430
|
+
"zoom-level"?: (HelixMap["zoomLevel"] | `${number}`) | undefined;
|
|
14431
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
14432
|
+
current, and the map says it after a zoom. */
|
|
14433
|
+
zoomLevel?: (HelixMap["zoomLevel"]) | undefined;
|
|
14292
14434
|
|
|
14293
14435
|
/** A marker was pressed. The value is the marker's `name`, or its `label` if it has no name. A cluster sends `helix-map-cluster` instead. */
|
|
14294
14436
|
"onhelix-activate"?: ((e: HelixMapHelixActivateElementEvent) => void) | undefined;
|
|
@@ -14449,6 +14591,10 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
14449
14591
|
"attr:face-north-label"?: (HelixMap["faceNorthLabel"]) | undefined;
|
|
14450
14592
|
/** The Face north button's label. */
|
|
14451
14593
|
"prop:faceNorthLabel"?: (HelixMap["faceNorthLabel"]) | undefined;
|
|
14594
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
14595
|
+
"attr:flat-label"?: (HelixMap["flatLabel"]) | undefined;
|
|
14596
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
14597
|
+
"prop:flatLabel"?: (HelixMap["flatLabel"]) | undefined;
|
|
14452
14598
|
/** The Hybrid map type's name. */
|
|
14453
14599
|
"attr:hybrid-label"?: (HelixMap["hybridLabel"]) | undefined;
|
|
14454
14600
|
/** The Hybrid map type's name. */
|
|
@@ -14474,6 +14620,26 @@ the standard, themed map. The layers menu chooses it. */
|
|
|
14474
14620
|
"attr:map-type-label"?: (HelixMap["mapTypeLabel"]) | undefined;
|
|
14475
14621
|
/** The name of the map types in the layers menu, read by screen readers. */
|
|
14476
14622
|
"prop:mapTypeLabel"?: (HelixMap["mapTypeLabel"]) | undefined;
|
|
14623
|
+
/** What screen readers hear when the map has moved down. */
|
|
14624
|
+
"attr:moved-down-label"?: (HelixMap["movedDownLabel"]) | undefined;
|
|
14625
|
+
/** What screen readers hear when the map has moved down. */
|
|
14626
|
+
"prop:movedDownLabel"?: (HelixMap["movedDownLabel"]) | undefined;
|
|
14627
|
+
/** What screen readers hear when the map has moved left. */
|
|
14628
|
+
"attr:moved-left-label"?: (HelixMap["movedLeftLabel"]) | undefined;
|
|
14629
|
+
/** What screen readers hear when the map has moved left. */
|
|
14630
|
+
"prop:movedLeftLabel"?: (HelixMap["movedLeftLabel"]) | undefined;
|
|
14631
|
+
/** What screen readers hear when the map has moved right. */
|
|
14632
|
+
"attr:moved-right-label"?: (HelixMap["movedRightLabel"]) | undefined;
|
|
14633
|
+
/** What screen readers hear when the map has moved right. */
|
|
14634
|
+
"prop:movedRightLabel"?: (HelixMap["movedRightLabel"]) | undefined;
|
|
14635
|
+
/** What screen readers hear when the map has moved up. */
|
|
14636
|
+
"attr:moved-up-label"?: (HelixMap["movedUpLabel"]) | undefined;
|
|
14637
|
+
/** What screen readers hear when the map has moved up. */
|
|
14638
|
+
"prop:movedUpLabel"?: (HelixMap["movedUpLabel"]) | undefined;
|
|
14639
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
14640
|
+
"attr:north-label"?: (HelixMap["northLabel"]) | undefined;
|
|
14641
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
14642
|
+
"prop:northLabel"?: (HelixMap["northLabel"]) | undefined;
|
|
14477
14643
|
/** How far the map is tilted, in degrees from looking straight down.
|
|
14478
14644
|
`connectMap` keeps it current, and the 3D button is pressed while it is
|
|
14479
14645
|
above `0`. */
|
|
@@ -14494,10 +14660,32 @@ above `0`. */
|
|
|
14494
14660
|
"attr:standard-label"?: (HelixMap["standardLabel"]) | undefined;
|
|
14495
14661
|
/** The Standard map type's name. */
|
|
14496
14662
|
"prop:standardLabel"?: (HelixMap["standardLabel"]) | undefined;
|
|
14663
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
14664
|
+
from looking straight down. */
|
|
14665
|
+
"attr:tilted-label"?: (HelixMap["tiltedLabel"]) | undefined;
|
|
14666
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
14667
|
+
from looking straight down. */
|
|
14668
|
+
"prop:tiltedLabel"?: (HelixMap["tiltedLabel"]) | undefined;
|
|
14497
14669
|
/** The 3D button's label. */
|
|
14498
14670
|
"attr:tilt-label"?: (HelixMap["tiltLabel"]) | undefined;
|
|
14499
14671
|
/** The 3D button's label. */
|
|
14500
14672
|
"prop:tiltLabel"?: (HelixMap["tiltLabel"]) | undefined;
|
|
14673
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
14674
|
+
top of the map faces, clockwise from north. */
|
|
14675
|
+
"attr:turned-label"?: (HelixMap["turnedLabel"]) | undefined;
|
|
14676
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
14677
|
+
top of the map faces, clockwise from north. */
|
|
14678
|
+
"prop:turnedLabel"?: (HelixMap["turnedLabel"]) | undefined;
|
|
14679
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
14680
|
+
"attr:zoomed-label"?: (HelixMap["zoomedLabel"]) | undefined;
|
|
14681
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
14682
|
+
"prop:zoomedLabel"?: (HelixMap["zoomedLabel"]) | undefined;
|
|
14683
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
14684
|
+
current, and the map says it after a zoom. */
|
|
14685
|
+
"attr:zoom-level"?: (HelixMap["zoomLevel"] | `${number}`) | undefined;
|
|
14686
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
14687
|
+
current, and the map says it after a zoom. */
|
|
14688
|
+
"prop:zoomLevel"?: (HelixMap["zoomLevel"]) | undefined;
|
|
14501
14689
|
/** A marker was pressed. The value is the marker's `name`, or its `label` if it has no name. A cluster sends `helix-map-cluster` instead. */
|
|
14502
14690
|
"on:helix-activate"?: ((e: HelixMapHelixActivateElementEvent) => void) | undefined;
|
|
14503
14691
|
/** A cluster was pressed. Sent from the marker that shows the cluster, with the names of its places. */
|
|
@@ -27887,6 +28075,13 @@ export type CustomElements = {
|
|
|
27887
28075
|
*
|
|
27888
28076
|
* No attribute, because it is coordination between elements rather than
|
|
27889
28077
|
* anything a consumer sets. (property only)
|
|
28078
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
28079
|
+
* `Menu`.
|
|
28080
|
+
*
|
|
28081
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
28082
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
28083
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
28084
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
27890
28085
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
27891
28086
|
*
|
|
27892
28087
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -31195,6 +31390,13 @@ export type CustomElements = {
|
|
|
31195
31390
|
*
|
|
31196
31391
|
* No attribute, because it is coordination between elements rather than
|
|
31197
31392
|
* anything a consumer sets. (property only)
|
|
31393
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
31394
|
+
* `Menu`.
|
|
31395
|
+
*
|
|
31396
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
31397
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
31398
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
31399
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
31198
31400
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
31199
31401
|
*
|
|
31200
31402
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -31347,6 +31549,7 @@ export type CustomElements = {
|
|
|
31347
31549
|
* are dimmed rather than removed while a new set arrives, and only CSS can
|
|
31348
31550
|
* say that without the component knowing what a row looks like.
|
|
31349
31551
|
* - `loading-text`/`loadingText`: The text shown and announced while the rows load.
|
|
31552
|
+
* - `ascending-label`/`ascendingLabel`: The word for an ascending sort, in `sorted-label`.
|
|
31350
31553
|
* - `default-filter`/`defaultFilter`: The starting search query, used until `filter` is set.
|
|
31351
31554
|
* - `default-order`/`defaultOrder`: The starting column order, used until `order` is set.
|
|
31352
31555
|
* - `default-page`/`defaultPage`: The starting page, used until `page` is set.
|
|
@@ -31354,6 +31557,7 @@ export type CustomElements = {
|
|
|
31354
31557
|
* - `default-selected`/`defaultSelected`: The keys selected at the start, separated by commas. Used until `selected`
|
|
31355
31558
|
* is set.
|
|
31356
31559
|
* - `default-sort`/`defaultSort`: The starting sort order, used until `sort` is set.
|
|
31560
|
+
* - `descending-label`/`descendingLabel`: The word for a descending sort, in `sorted-label`.
|
|
31357
31561
|
* - `estimate`: The estimated height of a row before it is drawn, in pixels.
|
|
31358
31562
|
*
|
|
31359
31563
|
* Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -31428,11 +31632,15 @@ export type CustomElements = {
|
|
|
31428
31632
|
* A key holding a comma cannot be told apart from two keys, which is the
|
|
31429
31633
|
* price of the shape. A reader's choice fires `helix-select` first, and
|
|
31430
31634
|
* refusing it leaves the selection as it was.
|
|
31635
|
+
* - `selected-label`/`selectedLabel`: What screen readers hear when the chosen rows change. `{count}` is how many
|
|
31636
|
+
* rows are chosen.
|
|
31431
31637
|
* - `sort`: The sort order, as `field:direction`.
|
|
31432
31638
|
*
|
|
31433
31639
|
* Set it and this element defers: a reader's click fires `helix-sort` and
|
|
31434
31640
|
* changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
31435
31641
|
* element then owns.
|
|
31642
|
+
* - `sorted-label`/`sortedLabel`: What screen readers hear when the table is sorted. `{column}` is the
|
|
31643
|
+
* column's heading and `{order}` is `ascending-label` or `descending-label`.
|
|
31436
31644
|
* - `total`: The number of rows in the whole result, for when the table cannot count
|
|
31437
31645
|
* them.
|
|
31438
31646
|
*
|
|
@@ -31440,6 +31648,7 @@ export type CustomElements = {
|
|
|
31440
31648
|
* nothing about the result. Ignored in `client` mode rather than trusted,
|
|
31441
31649
|
* because two sources for one count is the mistake, and here the array is the
|
|
31442
31650
|
* one that cannot be stale.
|
|
31651
|
+
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
31443
31652
|
* - `windowed`: Draws only the rows in view, with empty space in place of the rest.
|
|
31444
31653
|
*
|
|
31445
31654
|
* **Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -34843,6 +35052,13 @@ export type CustomElements = {
|
|
|
34843
35052
|
*
|
|
34844
35053
|
* No attribute, because it is coordination between elements rather than
|
|
34845
35054
|
* anything a consumer sets. (property only)
|
|
35055
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
35056
|
+
* `Menu`.
|
|
35057
|
+
*
|
|
35058
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
35059
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
35060
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
35061
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
34846
35062
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
34847
35063
|
*
|
|
34848
35064
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -37320,6 +37536,7 @@ export type CustomElements = {
|
|
|
37320
37536
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
37321
37537
|
* the map zooms in, and pressing one zooms in to its places.
|
|
37322
37538
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
37539
|
+
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
37323
37540
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
37324
37541
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
37325
37542
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -37329,6 +37546,11 @@ export type CustomElements = {
|
|
|
37329
37546
|
* under the roads and names, and `satellite` for imagery alone. Absent is
|
|
37330
37547
|
* the standard, themed map. The layers menu chooses it.
|
|
37331
37548
|
* - `map-type-label`/`mapTypeLabel`: The name of the map types in the layers menu, read by screen readers.
|
|
37549
|
+
* - `moved-down-label`/`movedDownLabel`: What screen readers hear when the map has moved down.
|
|
37550
|
+
* - `moved-left-label`/`movedLeftLabel`: What screen readers hear when the map has moved left.
|
|
37551
|
+
* - `moved-right-label`/`movedRightLabel`: What screen readers hear when the map has moved right.
|
|
37552
|
+
* - `moved-up-label`/`movedUpLabel`: What screen readers hear when the map has moved up.
|
|
37553
|
+
* - `north-label`/`northLabel`: What screen readers hear when the map is turned back to face north.
|
|
37332
37554
|
* - `pitch`: How far the map is tilted, in degrees from looking straight down.
|
|
37333
37555
|
* `connectMap` keeps it current, and the 3D button is pressed while it is
|
|
37334
37556
|
* above `0`.
|
|
@@ -37336,7 +37558,14 @@ export type CustomElements = {
|
|
|
37336
37558
|
* - `rotate-right-label`/`rotateRightLabel`: The rotate right button's label.
|
|
37337
37559
|
* - `satellite-label`/`satelliteLabel`: The Satellite map type's name.
|
|
37338
37560
|
* - `standard-label`/`standardLabel`: The Standard map type's name.
|
|
37561
|
+
* - `tilted-label`/`tiltedLabel`: What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
37562
|
+
* from looking straight down.
|
|
37339
37563
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
37564
|
+
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
37565
|
+
* top of the map faces, clockwise from north.
|
|
37566
|
+
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
37567
|
+
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
37568
|
+
* current, and the map says it after a zoom.
|
|
37340
37569
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
37341
37570
|
*
|
|
37342
37571
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -37386,6 +37615,19 @@ export type CustomElements = {
|
|
|
37386
37615
|
* - `pan(to: ViewportWay) => void`: Pans the view one step in a direction.
|
|
37387
37616
|
* - `zoom(by: number) => void`: Zooms the view one step: `1` zooms in and `-1` zooms out.
|
|
37388
37617
|
* - `toggleFullscreen() => void`: Turns fullscreen on or off.
|
|
37618
|
+
* - `moved() => void`: Says the map has moved, where a reader asked it to.
|
|
37619
|
+
*
|
|
37620
|
+
* **Called by whatever moves the map**, as `connectMap` does on every frame
|
|
37621
|
+
* the view moves. The frame's keys and buttons only ask, and nothing moves
|
|
37622
|
+
* until something answers, so the frame says nothing until it is told the
|
|
37623
|
+
* view moved: an announcement for a move that never happened is worse than
|
|
37624
|
+
* none. A page moving its own map in answer to `helix-map-pan` calls this
|
|
37625
|
+
* once it has.
|
|
37626
|
+
*
|
|
37627
|
+
* What is said waits for the view to settle, so a held key or a long
|
|
37628
|
+
* animation is one sentence, and it is the view's state where there is one:
|
|
37629
|
+
* the zoom level, the way the map faces, its tilt. A pan has no state to
|
|
37630
|
+
* say, so it says which way the map moved.
|
|
37389
37631
|
* - `rotate(by: number) => void`: Turns the map by some degrees, clockwise where positive.
|
|
37390
37632
|
* - `faceNorth() => void`: Turns the map to face north.
|
|
37391
37633
|
* - `tilt(by: number) => void`: Tilts the map by some degrees, toward the horizon where positive.
|
|
@@ -37420,6 +37662,7 @@ export type CustomElements = {
|
|
|
37420
37662
|
* - `layers`: The list of the map's shown layers, such as routes, areas, and points, read by screen readers.
|
|
37421
37663
|
* - `layers-menu`: The menu of the map's layers, which the layers button opens.
|
|
37422
37664
|
* - `layers-toggle`: The button that opens and closes the layers menu.
|
|
37665
|
+
* - `live`: What screen readers hear after the map moves: the zoom level, the way it faces, its tilt, or the way it moved. Visually hidden in the styled tier.
|
|
37423
37666
|
* - `map-type`: One map type's card in the layers menu: a radio button, its picture, and its name.
|
|
37424
37667
|
* - `map-type-name`: The name on a map type's card.
|
|
37425
37668
|
* - `map-type-preview`: The picture of the map on a map type's card.
|
|
@@ -49615,6 +49858,13 @@ export type CustomElementsSolidJs = {
|
|
|
49615
49858
|
*
|
|
49616
49859
|
* No attribute, because it is coordination between elements rather than
|
|
49617
49860
|
* anything a consumer sets. (property only)
|
|
49861
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
49862
|
+
* `Menu`.
|
|
49863
|
+
*
|
|
49864
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
49865
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
49866
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
49867
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
49618
49868
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
49619
49869
|
*
|
|
49620
49870
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -52974,6 +53224,13 @@ export type CustomElementsSolidJs = {
|
|
|
52974
53224
|
*
|
|
52975
53225
|
* No attribute, because it is coordination between elements rather than
|
|
52976
53226
|
* anything a consumer sets. (property only)
|
|
53227
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
53228
|
+
* `Menu`.
|
|
53229
|
+
*
|
|
53230
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
53231
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
53232
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
53233
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
52977
53234
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
52978
53235
|
*
|
|
52979
53236
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -53129,6 +53386,7 @@ export type CustomElementsSolidJs = {
|
|
|
53129
53386
|
* are dimmed rather than removed while a new set arrives, and only CSS can
|
|
53130
53387
|
* say that without the component knowing what a row looks like.
|
|
53131
53388
|
* - `loading-text`/`loadingText`: The text shown and announced while the rows load.
|
|
53389
|
+
* - `ascending-label`/`ascendingLabel`: The word for an ascending sort, in `sorted-label`.
|
|
53132
53390
|
* - `default-filter`/`defaultFilter`: The starting search query, used until `filter` is set.
|
|
53133
53391
|
* - `default-order`/`defaultOrder`: The starting column order, used until `order` is set.
|
|
53134
53392
|
* - `default-page`/`defaultPage`: The starting page, used until `page` is set.
|
|
@@ -53136,6 +53394,7 @@ export type CustomElementsSolidJs = {
|
|
|
53136
53394
|
* - `default-selected`/`defaultSelected`: The keys selected at the start, separated by commas. Used until `selected`
|
|
53137
53395
|
* is set.
|
|
53138
53396
|
* - `default-sort`/`defaultSort`: The starting sort order, used until `sort` is set.
|
|
53397
|
+
* - `descending-label`/`descendingLabel`: The word for a descending sort, in `sorted-label`.
|
|
53139
53398
|
* - `estimate`: The estimated height of a row before it is drawn, in pixels.
|
|
53140
53399
|
*
|
|
53141
53400
|
* Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -53210,11 +53469,15 @@ export type CustomElementsSolidJs = {
|
|
|
53210
53469
|
* A key holding a comma cannot be told apart from two keys, which is the
|
|
53211
53470
|
* price of the shape. A reader's choice fires `helix-select` first, and
|
|
53212
53471
|
* refusing it leaves the selection as it was.
|
|
53472
|
+
* - `selected-label`/`selectedLabel`: What screen readers hear when the chosen rows change. `{count}` is how many
|
|
53473
|
+
* rows are chosen.
|
|
53213
53474
|
* - `sort`: The sort order, as `field:direction`.
|
|
53214
53475
|
*
|
|
53215
53476
|
* Set it and this element defers: a reader's click fires `helix-sort` and
|
|
53216
53477
|
* changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
53217
53478
|
* element then owns.
|
|
53479
|
+
* - `sorted-label`/`sortedLabel`: What screen readers hear when the table is sorted. `{column}` is the
|
|
53480
|
+
* column's heading and `{order}` is `ascending-label` or `descending-label`.
|
|
53218
53481
|
* - `total`: The number of rows in the whole result, for when the table cannot count
|
|
53219
53482
|
* them.
|
|
53220
53483
|
*
|
|
@@ -53222,6 +53485,7 @@ export type CustomElementsSolidJs = {
|
|
|
53222
53485
|
* nothing about the result. Ignored in `client` mode rather than trusted,
|
|
53223
53486
|
* because two sources for one count is the mistake, and here the array is the
|
|
53224
53487
|
* one that cannot be stale.
|
|
53488
|
+
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
53225
53489
|
* - `windowed`: Draws only the rows in view, with empty space in place of the rest.
|
|
53226
53490
|
*
|
|
53227
53491
|
* **Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -56689,6 +56953,13 @@ export type CustomElementsSolidJs = {
|
|
|
56689
56953
|
*
|
|
56690
56954
|
* No attribute, because it is coordination between elements rather than
|
|
56691
56955
|
* anything a consumer sets. (property only)
|
|
56956
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
56957
|
+
* `Menu`.
|
|
56958
|
+
*
|
|
56959
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
56960
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
56961
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
56962
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
56692
56963
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
56693
56964
|
*
|
|
56694
56965
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -59230,6 +59501,7 @@ export type CustomElementsSolidJs = {
|
|
|
59230
59501
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
59231
59502
|
* the map zooms in, and pressing one zooms in to its places.
|
|
59232
59503
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
59504
|
+
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
59233
59505
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
59234
59506
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
59235
59507
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -59239,6 +59511,11 @@ export type CustomElementsSolidJs = {
|
|
|
59239
59511
|
* under the roads and names, and `satellite` for imagery alone. Absent is
|
|
59240
59512
|
* the standard, themed map. The layers menu chooses it.
|
|
59241
59513
|
* - `map-type-label`/`mapTypeLabel`: The name of the map types in the layers menu, read by screen readers.
|
|
59514
|
+
* - `moved-down-label`/`movedDownLabel`: What screen readers hear when the map has moved down.
|
|
59515
|
+
* - `moved-left-label`/`movedLeftLabel`: What screen readers hear when the map has moved left.
|
|
59516
|
+
* - `moved-right-label`/`movedRightLabel`: What screen readers hear when the map has moved right.
|
|
59517
|
+
* - `moved-up-label`/`movedUpLabel`: What screen readers hear when the map has moved up.
|
|
59518
|
+
* - `north-label`/`northLabel`: What screen readers hear when the map is turned back to face north.
|
|
59242
59519
|
* - `pitch`: How far the map is tilted, in degrees from looking straight down.
|
|
59243
59520
|
* `connectMap` keeps it current, and the 3D button is pressed while it is
|
|
59244
59521
|
* above `0`.
|
|
@@ -59246,7 +59523,14 @@ export type CustomElementsSolidJs = {
|
|
|
59246
59523
|
* - `rotate-right-label`/`rotateRightLabel`: The rotate right button's label.
|
|
59247
59524
|
* - `satellite-label`/`satelliteLabel`: The Satellite map type's name.
|
|
59248
59525
|
* - `standard-label`/`standardLabel`: The Standard map type's name.
|
|
59526
|
+
* - `tilted-label`/`tiltedLabel`: What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
59527
|
+
* from looking straight down.
|
|
59249
59528
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
59529
|
+
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
59530
|
+
* top of the map faces, clockwise from north.
|
|
59531
|
+
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
59532
|
+
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
59533
|
+
* current, and the map says it after a zoom.
|
|
59250
59534
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
59251
59535
|
*
|
|
59252
59536
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -59296,6 +59580,19 @@ export type CustomElementsSolidJs = {
|
|
|
59296
59580
|
* - `pan(to: ViewportWay) => void`: Pans the view one step in a direction.
|
|
59297
59581
|
* - `zoom(by: number) => void`: Zooms the view one step: `1` zooms in and `-1` zooms out.
|
|
59298
59582
|
* - `toggleFullscreen() => void`: Turns fullscreen on or off.
|
|
59583
|
+
* - `moved() => void`: Says the map has moved, where a reader asked it to.
|
|
59584
|
+
*
|
|
59585
|
+
* **Called by whatever moves the map**, as `connectMap` does on every frame
|
|
59586
|
+
* the view moves. The frame's keys and buttons only ask, and nothing moves
|
|
59587
|
+
* until something answers, so the frame says nothing until it is told the
|
|
59588
|
+
* view moved: an announcement for a move that never happened is worse than
|
|
59589
|
+
* none. A page moving its own map in answer to `helix-map-pan` calls this
|
|
59590
|
+
* once it has.
|
|
59591
|
+
*
|
|
59592
|
+
* What is said waits for the view to settle, so a held key or a long
|
|
59593
|
+
* animation is one sentence, and it is the view's state where there is one:
|
|
59594
|
+
* the zoom level, the way the map faces, its tilt. A pan has no state to
|
|
59595
|
+
* say, so it says which way the map moved.
|
|
59299
59596
|
* - `rotate(by: number) => void`: Turns the map by some degrees, clockwise where positive.
|
|
59300
59597
|
* - `faceNorth() => void`: Turns the map to face north.
|
|
59301
59598
|
* - `tilt(by: number) => void`: Tilts the map by some degrees, toward the horizon where positive.
|
|
@@ -59330,6 +59627,7 @@ export type CustomElementsSolidJs = {
|
|
|
59330
59627
|
* - `layers`: The list of the map's shown layers, such as routes, areas, and points, read by screen readers.
|
|
59331
59628
|
* - `layers-menu`: The menu of the map's layers, which the layers button opens.
|
|
59332
59629
|
* - `layers-toggle`: The button that opens and closes the layers menu.
|
|
59630
|
+
* - `live`: What screen readers hear after the map moves: the zoom level, the way it faces, its tilt, or the way it moved. Visually hidden in the styled tier.
|
|
59333
59631
|
* - `map-type`: One map type's card in the layers menu: a radio button, its picture, and its name.
|
|
59334
59632
|
* - `map-type-name`: The name on a map type's card.
|
|
59335
59633
|
* - `map-type-preview`: The picture of the map on a map type's card.
|