@fusion.dev/helix-headless 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 +553 -2
- package/dist/button/root/button-root.d.ts +10 -0
- package/dist/button/root/button-root.js +4 -0
- package/dist/color-picker/root/color-picker-root.js +4 -0
- package/dist/data-table/root/data-table-root.d.ts +32 -0
- package/dist/data-table/root/data-table-root.js +49 -1
- package/dist/map/root/map-root.d.ts +57 -0
- package/dist/map/root/map-root.js +97 -1
- package/dist/menu/root/menu-root.js +1 -1
- package/dist/select/root/select-root.d.ts +14 -0
- package/dist/select/root/select-root.js +8 -1
- package/dist/time-picker/root/time-picker-root.js +2 -0
- package/package.json +5 -5
- package/types/jsx.d.ts +298 -0
- package/types/vue.d.ts +94 -0
package/types/jsx.d.ts
CHANGED
|
@@ -1570,6 +1570,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
1570
1570
|
No attribute, because it is coordination between elements rather than
|
|
1571
1571
|
anything a consumer sets. */
|
|
1572
1572
|
focusable?: (HelixHeadlessButton["focusable"]) | undefined;
|
|
1573
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
1574
|
+
`Menu`.
|
|
1575
|
+
|
|
1576
|
+
Set by the component that owns the panel, as a property for the reason
|
|
1577
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
1578
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
1579
|
+
reported collapsed and expanded and no popup. */
|
|
1580
|
+
popup?: (HelixHeadlessButton["popup"]) | undefined;
|
|
1573
1581
|
/** The element this button's command is sent to, resolved.
|
|
1574
1582
|
|
|
1575
1583
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -1733,6 +1741,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
1733
1741
|
No attribute, because it is coordination between elements rather than
|
|
1734
1742
|
anything a consumer sets. */
|
|
1735
1743
|
"prop:focusable"?: (HelixHeadlessButton["focusable"]) | undefined;
|
|
1744
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
1745
|
+
`Menu`.
|
|
1746
|
+
|
|
1747
|
+
Set by the component that owns the panel, as a property for the reason
|
|
1748
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
1749
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
1750
|
+
reported collapsed and expanded and no popup. */
|
|
1751
|
+
"prop:popup"?: (HelixHeadlessButton["popup"]) | undefined;
|
|
1736
1752
|
/** The element this button's command is sent to, resolved.
|
|
1737
1753
|
|
|
1738
1754
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -5731,6 +5747,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
5731
5747
|
No attribute, because it is coordination between elements rather than
|
|
5732
5748
|
anything a consumer sets. */
|
|
5733
5749
|
focusable?: (HelixHeadlessCopyButton["focusable"]) | undefined;
|
|
5750
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
5751
|
+
`Menu`.
|
|
5752
|
+
|
|
5753
|
+
Set by the component that owns the panel, as a property for the reason
|
|
5754
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
5755
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
5756
|
+
reported collapsed and expanded and no popup. */
|
|
5757
|
+
popup?: (HelixHeadlessCopyButton["popup"]) | undefined;
|
|
5734
5758
|
/** The element this button's command is sent to, resolved.
|
|
5735
5759
|
|
|
5736
5760
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -5900,6 +5924,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
5900
5924
|
No attribute, because it is coordination between elements rather than
|
|
5901
5925
|
anything a consumer sets. */
|
|
5902
5926
|
"prop:focusable"?: (HelixHeadlessCopyButton["focusable"]) | undefined;
|
|
5927
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
5928
|
+
`Menu`.
|
|
5929
|
+
|
|
5930
|
+
Set by the component that owns the panel, as a property for the reason
|
|
5931
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
5932
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
5933
|
+
reported collapsed and expanded and no popup. */
|
|
5934
|
+
"prop:popup"?: (HelixHeadlessCopyButton["popup"]) | undefined;
|
|
5903
5935
|
/** The element this button's command is sent to, resolved.
|
|
5904
5936
|
|
|
5905
5937
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -5939,6 +5971,10 @@ export type HelixHeadlessDataTableHelixSortElementEvent =
|
|
|
5939
5971
|
HelixHeadlessDataTableElementEvent<HelixSortEvent>;
|
|
5940
5972
|
|
|
5941
5973
|
export type HelixHeadlessDataTableProps = {
|
|
5974
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
5975
|
+
"ascending-label"?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
|
|
5976
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
5977
|
+
ascendingLabel?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
|
|
5942
5978
|
/** The starting search query, used until `filter` is set. */
|
|
5943
5979
|
"default-filter"?: (HelixHeadlessDataTable["defaultFilter"]) | undefined;
|
|
5944
5980
|
/** The starting search query, used until `filter` is set. */
|
|
@@ -5965,6 +6001,10 @@ is set. */
|
|
|
5965
6001
|
"default-sort"?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
|
|
5966
6002
|
/** The starting sort order, used until `sort` is set. */
|
|
5967
6003
|
defaultSort?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
|
|
6004
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
6005
|
+
"descending-label"?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
|
|
6006
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
6007
|
+
descendingLabel?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
|
|
5968
6008
|
/** The estimated height of a row before it is drawn, in pixels.
|
|
5969
6009
|
|
|
5970
6010
|
Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -6072,12 +6112,24 @@ A key holding a comma cannot be told apart from two keys, which is the
|
|
|
6072
6112
|
price of the shape. A reader's choice fires `helix-select` first, and
|
|
6073
6113
|
refusing it leaves the selection as it was. */
|
|
6074
6114
|
selected?: (HelixHeadlessDataTable["selected"]) | undefined;
|
|
6115
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
6116
|
+
rows are chosen. */
|
|
6117
|
+
"selected-label"?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
|
|
6118
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
6119
|
+
rows are chosen. */
|
|
6120
|
+
selectedLabel?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
|
|
6075
6121
|
/** The sort order, as `field:direction`.
|
|
6076
6122
|
|
|
6077
6123
|
Set it and this element defers: a reader's click fires `helix-sort` and
|
|
6078
6124
|
changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
6079
6125
|
element then owns. */
|
|
6080
6126
|
sort?: (HelixHeadlessDataTable["sort"]) | undefined;
|
|
6127
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
6128
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
6129
|
+
"sorted-label"?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
|
|
6130
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
6131
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
6132
|
+
sortedLabel?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
|
|
6081
6133
|
/** The number of rows in the whole result, for when the table cannot count
|
|
6082
6134
|
them.
|
|
6083
6135
|
|
|
@@ -6086,6 +6138,10 @@ nothing about the result. Ignored in `client` mode rather than trusted,
|
|
|
6086
6138
|
because two sources for one count is the mistake, and here the array is the
|
|
6087
6139
|
one that cannot be stale. */
|
|
6088
6140
|
total?: (HelixHeadlessDataTable["total"]) | undefined;
|
|
6141
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
6142
|
+
"unsorted-label"?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
|
|
6143
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
6144
|
+
unsortedLabel?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
|
|
6089
6145
|
/** Draws only the rows in view, with empty space in place of the rest.
|
|
6090
6146
|
|
|
6091
6147
|
**Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -6146,6 +6202,10 @@ holds and reordering it under them is a mutation they did not ask for. */
|
|
|
6146
6202
|
};
|
|
6147
6203
|
|
|
6148
6204
|
export type HelixHeadlessDataTableSolidJsProps = {
|
|
6205
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
6206
|
+
"attr:ascending-label"?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
|
|
6207
|
+
/** The word for an ascending sort, in `sorted-label`. */
|
|
6208
|
+
"prop:ascendingLabel"?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
|
|
6149
6209
|
/** The starting search query, used until `filter` is set. */
|
|
6150
6210
|
"attr:default-filter"?: (HelixHeadlessDataTable["defaultFilter"]) | undefined;
|
|
6151
6211
|
/** The starting search query, used until `filter` is set. */
|
|
@@ -6172,6 +6232,10 @@ is set. */
|
|
|
6172
6232
|
"attr:default-sort"?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
|
|
6173
6233
|
/** The starting sort order, used until `sort` is set. */
|
|
6174
6234
|
"prop:defaultSort"?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
|
|
6235
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
6236
|
+
"attr:descending-label"?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
|
|
6237
|
+
/** The word for a descending sort, in `sorted-label`. */
|
|
6238
|
+
"prop:descendingLabel"?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
|
|
6175
6239
|
/** The estimated height of a row before it is drawn, in pixels.
|
|
6176
6240
|
|
|
6177
6241
|
Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -6279,12 +6343,24 @@ A key holding a comma cannot be told apart from two keys, which is the
|
|
|
6279
6343
|
price of the shape. A reader's choice fires `helix-select` first, and
|
|
6280
6344
|
refusing it leaves the selection as it was. */
|
|
6281
6345
|
"prop:selected"?: (HelixHeadlessDataTable["selected"]) | undefined;
|
|
6346
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
6347
|
+
rows are chosen. */
|
|
6348
|
+
"attr:selected-label"?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
|
|
6349
|
+
/** What screen readers hear when the chosen rows change. `{count}` is how many
|
|
6350
|
+
rows are chosen. */
|
|
6351
|
+
"prop:selectedLabel"?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
|
|
6282
6352
|
/** The sort order, as `field:direction`.
|
|
6283
6353
|
|
|
6284
6354
|
Set it and this element defers: a reader's click fires `helix-sort` and
|
|
6285
6355
|
changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
6286
6356
|
element then owns. */
|
|
6287
6357
|
"prop:sort"?: (HelixHeadlessDataTable["sort"]) | undefined;
|
|
6358
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
6359
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
6360
|
+
"attr:sorted-label"?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
|
|
6361
|
+
/** What screen readers hear when the table is sorted. `{column}` is the
|
|
6362
|
+
column's heading and `{order}` is `ascending-label` or `descending-label`. */
|
|
6363
|
+
"prop:sortedLabel"?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
|
|
6288
6364
|
/** The number of rows in the whole result, for when the table cannot count
|
|
6289
6365
|
them.
|
|
6290
6366
|
|
|
@@ -6293,6 +6369,10 @@ nothing about the result. Ignored in `client` mode rather than trusted,
|
|
|
6293
6369
|
because two sources for one count is the mistake, and here the array is the
|
|
6294
6370
|
one that cannot be stale. */
|
|
6295
6371
|
"prop:total"?: (HelixHeadlessDataTable["total"]) | undefined;
|
|
6372
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
6373
|
+
"attr:unsorted-label"?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
|
|
6374
|
+
/** What screen readers hear when the table stops being sorted. */
|
|
6375
|
+
"prop:unsortedLabel"?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
|
|
6296
6376
|
/** Draws only the rows in view, with empty space in place of the rest.
|
|
6297
6377
|
|
|
6298
6378
|
**Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -9504,6 +9584,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
9504
9584
|
No attribute, because it is coordination between elements rather than
|
|
9505
9585
|
anything a consumer sets. */
|
|
9506
9586
|
focusable?: (HelixHeadlessIconButton["focusable"]) | undefined;
|
|
9587
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
9588
|
+
`Menu`.
|
|
9589
|
+
|
|
9590
|
+
Set by the component that owns the panel, as a property for the reason
|
|
9591
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
9592
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
9593
|
+
reported collapsed and expanded and no popup. */
|
|
9594
|
+
popup?: (HelixHeadlessIconButton["popup"]) | undefined;
|
|
9507
9595
|
/** The element this button's command is sent to, resolved.
|
|
9508
9596
|
|
|
9509
9597
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -9667,6 +9755,14 @@ and the stop lands on the inner control inside the shadow root.
|
|
|
9667
9755
|
No attribute, because it is coordination between elements rather than
|
|
9668
9756
|
anything a consumer sets. */
|
|
9669
9757
|
"prop:focusable"?: (HelixHeadlessIconButton["focusable"]) | undefined;
|
|
9758
|
+
/** What kind of panel this button opens, where it opens one: `menu` for a
|
|
9759
|
+
`Menu`.
|
|
9760
|
+
|
|
9761
|
+
Set by the component that owns the panel, as a property for the reason
|
|
9762
|
+
`expanded` gives above. It is what makes a reader say the button opens a
|
|
9763
|
+
menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
9764
|
+
reported collapsed and expanded and no popup. */
|
|
9765
|
+
"prop:popup"?: (HelixHeadlessIconButton["popup"]) | undefined;
|
|
9670
9766
|
/** The element this button's command is sent to, resolved.
|
|
9671
9767
|
|
|
9672
9768
|
The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -11908,6 +12004,10 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
11908
12004
|
"face-north-label"?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
|
|
11909
12005
|
/** The Face north button's label. */
|
|
11910
12006
|
faceNorthLabel?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
|
|
12007
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
12008
|
+
"flat-label"?: (HelixHeadlessMap["flatLabel"]) | undefined;
|
|
12009
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
12010
|
+
flatLabel?: (HelixHeadlessMap["flatLabel"]) | undefined;
|
|
11911
12011
|
/** The Hybrid map type's name. */
|
|
11912
12012
|
"hybrid-label"?: (HelixHeadlessMap["hybridLabel"]) | undefined;
|
|
11913
12013
|
/** The Hybrid map type's name. */
|
|
@@ -11933,6 +12033,26 @@ the standard, themed map. The layers menu chooses it. */
|
|
|
11933
12033
|
"map-type-label"?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
|
|
11934
12034
|
/** The name of the map types in the layers menu, read by screen readers. */
|
|
11935
12035
|
mapTypeLabel?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
|
|
12036
|
+
/** What screen readers hear when the map has moved down. */
|
|
12037
|
+
"moved-down-label"?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
|
|
12038
|
+
/** What screen readers hear when the map has moved down. */
|
|
12039
|
+
movedDownLabel?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
|
|
12040
|
+
/** What screen readers hear when the map has moved left. */
|
|
12041
|
+
"moved-left-label"?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
|
|
12042
|
+
/** What screen readers hear when the map has moved left. */
|
|
12043
|
+
movedLeftLabel?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
|
|
12044
|
+
/** What screen readers hear when the map has moved right. */
|
|
12045
|
+
"moved-right-label"?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
|
|
12046
|
+
/** What screen readers hear when the map has moved right. */
|
|
12047
|
+
movedRightLabel?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
|
|
12048
|
+
/** What screen readers hear when the map has moved up. */
|
|
12049
|
+
"moved-up-label"?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
|
|
12050
|
+
/** What screen readers hear when the map has moved up. */
|
|
12051
|
+
movedUpLabel?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
|
|
12052
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
12053
|
+
"north-label"?: (HelixHeadlessMap["northLabel"]) | undefined;
|
|
12054
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
12055
|
+
northLabel?: (HelixHeadlessMap["northLabel"]) | undefined;
|
|
11936
12056
|
/** How far the map is tilted, in degrees from looking straight down.
|
|
11937
12057
|
`connectMap` keeps it current, and the 3D button is pressed while it is
|
|
11938
12058
|
above `0`. */
|
|
@@ -11953,10 +12073,32 @@ above `0`. */
|
|
|
11953
12073
|
"standard-label"?: (HelixHeadlessMap["standardLabel"]) | undefined;
|
|
11954
12074
|
/** The Standard map type's name. */
|
|
11955
12075
|
standardLabel?: (HelixHeadlessMap["standardLabel"]) | undefined;
|
|
12076
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
12077
|
+
from looking straight down. */
|
|
12078
|
+
"tilted-label"?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
|
|
12079
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
12080
|
+
from looking straight down. */
|
|
12081
|
+
tiltedLabel?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
|
|
11956
12082
|
/** The 3D button's label. */
|
|
11957
12083
|
"tilt-label"?: (HelixHeadlessMap["tiltLabel"]) | undefined;
|
|
11958
12084
|
/** The 3D button's label. */
|
|
11959
12085
|
tiltLabel?: (HelixHeadlessMap["tiltLabel"]) | undefined;
|
|
12086
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
12087
|
+
top of the map faces, clockwise from north. */
|
|
12088
|
+
"turned-label"?: (HelixHeadlessMap["turnedLabel"]) | undefined;
|
|
12089
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
12090
|
+
top of the map faces, clockwise from north. */
|
|
12091
|
+
turnedLabel?: (HelixHeadlessMap["turnedLabel"]) | undefined;
|
|
12092
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
12093
|
+
"zoomed-label"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
|
|
12094
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
12095
|
+
zoomedLabel?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
|
|
12096
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
12097
|
+
current, and the map says it after a zoom. */
|
|
12098
|
+
"zoom-level"?: (HelixHeadlessMap["zoomLevel"] | `${number}`) | undefined;
|
|
12099
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
12100
|
+
current, and the map says it after a zoom. */
|
|
12101
|
+
zoomLevel?: (HelixHeadlessMap["zoomLevel"]) | undefined;
|
|
11960
12102
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
11961
12103
|
`none`. A family can add words of its own.
|
|
11962
12104
|
|
|
@@ -12117,6 +12259,10 @@ the map zooms in, and pressing one zooms in to its places. */
|
|
|
12117
12259
|
"attr:face-north-label"?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
|
|
12118
12260
|
/** The Face north button's label. */
|
|
12119
12261
|
"prop:faceNorthLabel"?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
|
|
12262
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
12263
|
+
"attr:flat-label"?: (HelixHeadlessMap["flatLabel"]) | undefined;
|
|
12264
|
+
/** What screen readers hear when the map is tilted back to looking straight down. */
|
|
12265
|
+
"prop:flatLabel"?: (HelixHeadlessMap["flatLabel"]) | undefined;
|
|
12120
12266
|
/** The Hybrid map type's name. */
|
|
12121
12267
|
"attr:hybrid-label"?: (HelixHeadlessMap["hybridLabel"]) | undefined;
|
|
12122
12268
|
/** The Hybrid map type's name. */
|
|
@@ -12142,6 +12288,26 @@ the standard, themed map. The layers menu chooses it. */
|
|
|
12142
12288
|
"attr:map-type-label"?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
|
|
12143
12289
|
/** The name of the map types in the layers menu, read by screen readers. */
|
|
12144
12290
|
"prop:mapTypeLabel"?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
|
|
12291
|
+
/** What screen readers hear when the map has moved down. */
|
|
12292
|
+
"attr:moved-down-label"?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
|
|
12293
|
+
/** What screen readers hear when the map has moved down. */
|
|
12294
|
+
"prop:movedDownLabel"?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
|
|
12295
|
+
/** What screen readers hear when the map has moved left. */
|
|
12296
|
+
"attr:moved-left-label"?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
|
|
12297
|
+
/** What screen readers hear when the map has moved left. */
|
|
12298
|
+
"prop:movedLeftLabel"?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
|
|
12299
|
+
/** What screen readers hear when the map has moved right. */
|
|
12300
|
+
"attr:moved-right-label"?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
|
|
12301
|
+
/** What screen readers hear when the map has moved right. */
|
|
12302
|
+
"prop:movedRightLabel"?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
|
|
12303
|
+
/** What screen readers hear when the map has moved up. */
|
|
12304
|
+
"attr:moved-up-label"?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
|
|
12305
|
+
/** What screen readers hear when the map has moved up. */
|
|
12306
|
+
"prop:movedUpLabel"?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
|
|
12307
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
12308
|
+
"attr:north-label"?: (HelixHeadlessMap["northLabel"]) | undefined;
|
|
12309
|
+
/** What screen readers hear when the map is turned back to face north. */
|
|
12310
|
+
"prop:northLabel"?: (HelixHeadlessMap["northLabel"]) | undefined;
|
|
12145
12311
|
/** How far the map is tilted, in degrees from looking straight down.
|
|
12146
12312
|
`connectMap` keeps it current, and the 3D button is pressed while it is
|
|
12147
12313
|
above `0`. */
|
|
@@ -12162,10 +12328,32 @@ above `0`. */
|
|
|
12162
12328
|
"attr:standard-label"?: (HelixHeadlessMap["standardLabel"]) | undefined;
|
|
12163
12329
|
/** The Standard map type's name. */
|
|
12164
12330
|
"prop:standardLabel"?: (HelixHeadlessMap["standardLabel"]) | undefined;
|
|
12331
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
12332
|
+
from looking straight down. */
|
|
12333
|
+
"attr:tilted-label"?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
|
|
12334
|
+
/** What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
12335
|
+
from looking straight down. */
|
|
12336
|
+
"prop:tiltedLabel"?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
|
|
12165
12337
|
/** The 3D button's label. */
|
|
12166
12338
|
"attr:tilt-label"?: (HelixHeadlessMap["tiltLabel"]) | undefined;
|
|
12167
12339
|
/** The 3D button's label. */
|
|
12168
12340
|
"prop:tiltLabel"?: (HelixHeadlessMap["tiltLabel"]) | undefined;
|
|
12341
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
12342
|
+
top of the map faces, clockwise from north. */
|
|
12343
|
+
"attr:turned-label"?: (HelixHeadlessMap["turnedLabel"]) | undefined;
|
|
12344
|
+
/** What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
12345
|
+
top of the map faces, clockwise from north. */
|
|
12346
|
+
"prop:turnedLabel"?: (HelixHeadlessMap["turnedLabel"]) | undefined;
|
|
12347
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
12348
|
+
"attr:zoomed-label"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
|
|
12349
|
+
/** What screen readers hear after a zoom. `{level}` is the zoom level. */
|
|
12350
|
+
"prop:zoomedLabel"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
|
|
12351
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
12352
|
+
current, and the map says it after a zoom. */
|
|
12353
|
+
"attr:zoom-level"?: (HelixHeadlessMap["zoomLevel"] | `${number}`) | undefined;
|
|
12354
|
+
/** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
12355
|
+
current, and the map says it after a zoom. */
|
|
12356
|
+
"prop:zoomLevel"?: (HelixHeadlessMap["zoomLevel"]) | undefined;
|
|
12169
12357
|
/** Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
12170
12358
|
`none`. A family can add words of its own.
|
|
12171
12359
|
|
|
@@ -23917,6 +24105,13 @@ export type CustomElements = {
|
|
|
23917
24105
|
*
|
|
23918
24106
|
* No attribute, because it is coordination between elements rather than
|
|
23919
24107
|
* anything a consumer sets. (property only)
|
|
24108
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
24109
|
+
* `Menu`.
|
|
24110
|
+
*
|
|
24111
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
24112
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
24113
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
24114
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
23920
24115
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
23921
24116
|
*
|
|
23922
24117
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -27037,6 +27232,13 @@ export type CustomElements = {
|
|
|
27037
27232
|
*
|
|
27038
27233
|
* No attribute, because it is coordination between elements rather than
|
|
27039
27234
|
* anything a consumer sets. (property only)
|
|
27235
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
27236
|
+
* `Menu`.
|
|
27237
|
+
*
|
|
27238
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
27239
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
27240
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
27241
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
27040
27242
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
27041
27243
|
*
|
|
27042
27244
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -27209,6 +27411,7 @@ export type CustomElements = {
|
|
|
27209
27411
|
*
|
|
27210
27412
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
27211
27413
|
*
|
|
27414
|
+
* - `ascending-label`/`ascendingLabel`: The word for an ascending sort, in `sorted-label`.
|
|
27212
27415
|
* - `default-filter`/`defaultFilter`: The starting search query, used until `filter` is set.
|
|
27213
27416
|
* - `default-order`/`defaultOrder`: The starting column order, used until `order` is set.
|
|
27214
27417
|
* - `default-page`/`defaultPage`: The starting page, used until `page` is set.
|
|
@@ -27216,6 +27419,7 @@ export type CustomElements = {
|
|
|
27216
27419
|
* - `default-selected`/`defaultSelected`: The keys selected at the start, separated by commas. Used until `selected`
|
|
27217
27420
|
* is set.
|
|
27218
27421
|
* - `default-sort`/`defaultSort`: The starting sort order, used until `sort` is set.
|
|
27422
|
+
* - `descending-label`/`descendingLabel`: The word for a descending sort, in `sorted-label`.
|
|
27219
27423
|
* - `estimate`: The estimated height of a row before it is drawn, in pixels.
|
|
27220
27424
|
*
|
|
27221
27425
|
* Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -27290,11 +27494,15 @@ export type CustomElements = {
|
|
|
27290
27494
|
* A key holding a comma cannot be told apart from two keys, which is the
|
|
27291
27495
|
* price of the shape. A reader's choice fires `helix-select` first, and
|
|
27292
27496
|
* refusing it leaves the selection as it was.
|
|
27497
|
+
* - `selected-label`/`selectedLabel`: What screen readers hear when the chosen rows change. `{count}` is how many
|
|
27498
|
+
* rows are chosen.
|
|
27293
27499
|
* - `sort`: The sort order, as `field:direction`.
|
|
27294
27500
|
*
|
|
27295
27501
|
* Set it and this element defers: a reader's click fires `helix-sort` and
|
|
27296
27502
|
* changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
27297
27503
|
* element then owns.
|
|
27504
|
+
* - `sorted-label`/`sortedLabel`: What screen readers hear when the table is sorted. `{column}` is the
|
|
27505
|
+
* column's heading and `{order}` is `ascending-label` or `descending-label`.
|
|
27298
27506
|
* - `total`: The number of rows in the whole result, for when the table cannot count
|
|
27299
27507
|
* them.
|
|
27300
27508
|
*
|
|
@@ -27302,6 +27510,7 @@ export type CustomElements = {
|
|
|
27302
27510
|
* nothing about the result. Ignored in `client` mode rather than trusted,
|
|
27303
27511
|
* because two sources for one count is the mistake, and here the array is the
|
|
27304
27512
|
* one that cannot be stale.
|
|
27513
|
+
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
27305
27514
|
* - `windowed`: Draws only the rows in view, with empty space in place of the rest.
|
|
27306
27515
|
*
|
|
27307
27516
|
* **Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -30516,6 +30725,13 @@ export type CustomElements = {
|
|
|
30516
30725
|
*
|
|
30517
30726
|
* No attribute, because it is coordination between elements rather than
|
|
30518
30727
|
* anything a consumer sets. (property only)
|
|
30728
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
30729
|
+
* `Menu`.
|
|
30730
|
+
*
|
|
30731
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
30732
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
30733
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
30734
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
30519
30735
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
30520
30736
|
*
|
|
30521
30737
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -32816,6 +33032,7 @@ export type CustomElements = {
|
|
|
32816
33032
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
32817
33033
|
* the map zooms in, and pressing one zooms in to its places.
|
|
32818
33034
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
33035
|
+
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
32819
33036
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
32820
33037
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
32821
33038
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -32825,6 +33042,11 @@ export type CustomElements = {
|
|
|
32825
33042
|
* under the roads and names, and `satellite` for imagery alone. Absent is
|
|
32826
33043
|
* the standard, themed map. The layers menu chooses it.
|
|
32827
33044
|
* - `map-type-label`/`mapTypeLabel`: The name of the map types in the layers menu, read by screen readers.
|
|
33045
|
+
* - `moved-down-label`/`movedDownLabel`: What screen readers hear when the map has moved down.
|
|
33046
|
+
* - `moved-left-label`/`movedLeftLabel`: What screen readers hear when the map has moved left.
|
|
33047
|
+
* - `moved-right-label`/`movedRightLabel`: What screen readers hear when the map has moved right.
|
|
33048
|
+
* - `moved-up-label`/`movedUpLabel`: What screen readers hear when the map has moved up.
|
|
33049
|
+
* - `north-label`/`northLabel`: What screen readers hear when the map is turned back to face north.
|
|
32828
33050
|
* - `pitch`: How far the map is tilted, in degrees from looking straight down.
|
|
32829
33051
|
* `connectMap` keeps it current, and the 3D button is pressed while it is
|
|
32830
33052
|
* above `0`.
|
|
@@ -32832,7 +33054,14 @@ export type CustomElements = {
|
|
|
32832
33054
|
* - `rotate-right-label`/`rotateRightLabel`: The rotate right button's label.
|
|
32833
33055
|
* - `satellite-label`/`satelliteLabel`: The Satellite map type's name.
|
|
32834
33056
|
* - `standard-label`/`standardLabel`: The Standard map type's name.
|
|
33057
|
+
* - `tilted-label`/`tiltedLabel`: What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
33058
|
+
* from looking straight down.
|
|
32835
33059
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
33060
|
+
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
33061
|
+
* top of the map faces, clockwise from north.
|
|
33062
|
+
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
33063
|
+
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
33064
|
+
* current, and the map says it after a zoom.
|
|
32836
33065
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
32837
33066
|
* `none`. A family can add words of its own.
|
|
32838
33067
|
*
|
|
@@ -32941,6 +33170,19 @@ export type CustomElements = {
|
|
|
32941
33170
|
*
|
|
32942
33171
|
* Methods that can be called to access component functionality.
|
|
32943
33172
|
*
|
|
33173
|
+
* - `moved() => void`: Says the map has moved, where a reader asked it to.
|
|
33174
|
+
*
|
|
33175
|
+
* **Called by whatever moves the map**, as `connectMap` does on every frame
|
|
33176
|
+
* the view moves. The frame's keys and buttons only ask, and nothing moves
|
|
33177
|
+
* until something answers, so the frame says nothing until it is told the
|
|
33178
|
+
* view moved: an announcement for a move that never happened is worse than
|
|
33179
|
+
* none. A page moving its own map in answer to `helix-map-pan` calls this
|
|
33180
|
+
* once it has.
|
|
33181
|
+
*
|
|
33182
|
+
* What is said waits for the view to settle, so a held key or a long
|
|
33183
|
+
* animation is one sentence, and it is the view's state where there is one:
|
|
33184
|
+
* the zoom level, the way the map faces, its tilt. A pan has no state to
|
|
33185
|
+
* say, so it says which way the map moved.
|
|
32944
33186
|
* - `rotate(by: number) => void`: Turns the map by some degrees, clockwise where positive.
|
|
32945
33187
|
* - `faceNorth() => void`: Turns the map to face north.
|
|
32946
33188
|
* - `tilt(by: number) => void`: Tilts the map by some degrees, toward the horizon where positive.
|
|
@@ -32974,6 +33216,7 @@ export type CustomElements = {
|
|
|
32974
33216
|
* - `layers`: The list of the map's shown layers, such as routes, areas, and points, read by screen readers.
|
|
32975
33217
|
* - `layers-menu`: The menu of the map's layers, which the layers button opens.
|
|
32976
33218
|
* - `layers-toggle`: The button that opens and closes the layers menu.
|
|
33219
|
+
* - `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.
|
|
32977
33220
|
* - `map-type`: One map type's card in the layers menu: a radio button, its picture, and its name.
|
|
32978
33221
|
* - `map-type-name`: The name on a map type's card.
|
|
32979
33222
|
* - `map-type-preview`: The picture of the map on a map type's card.
|
|
@@ -43782,6 +44025,13 @@ export type CustomElementsSolidJs = {
|
|
|
43782
44025
|
*
|
|
43783
44026
|
* No attribute, because it is coordination between elements rather than
|
|
43784
44027
|
* anything a consumer sets. (property only)
|
|
44028
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
44029
|
+
* `Menu`.
|
|
44030
|
+
*
|
|
44031
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
44032
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
44033
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
44034
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
43785
44035
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
43786
44036
|
*
|
|
43787
44037
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -46942,6 +47192,13 @@ export type CustomElementsSolidJs = {
|
|
|
46942
47192
|
*
|
|
46943
47193
|
* No attribute, because it is coordination between elements rather than
|
|
46944
47194
|
* anything a consumer sets. (property only)
|
|
47195
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
47196
|
+
* `Menu`.
|
|
47197
|
+
*
|
|
47198
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
47199
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
47200
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
47201
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
46945
47202
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
46946
47203
|
*
|
|
46947
47204
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -47115,6 +47372,7 @@ export type CustomElementsSolidJs = {
|
|
|
47115
47372
|
*
|
|
47116
47373
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
47117
47374
|
*
|
|
47375
|
+
* - `ascending-label`/`ascendingLabel`: The word for an ascending sort, in `sorted-label`.
|
|
47118
47376
|
* - `default-filter`/`defaultFilter`: The starting search query, used until `filter` is set.
|
|
47119
47377
|
* - `default-order`/`defaultOrder`: The starting column order, used until `order` is set.
|
|
47120
47378
|
* - `default-page`/`defaultPage`: The starting page, used until `page` is set.
|
|
@@ -47122,6 +47380,7 @@ export type CustomElementsSolidJs = {
|
|
|
47122
47380
|
* - `default-selected`/`defaultSelected`: The keys selected at the start, separated by commas. Used until `selected`
|
|
47123
47381
|
* is set.
|
|
47124
47382
|
* - `default-sort`/`defaultSort`: The starting sort order, used until `sort` is set.
|
|
47383
|
+
* - `descending-label`/`descendingLabel`: The word for a descending sort, in `sorted-label`.
|
|
47125
47384
|
* - `estimate`: The estimated height of a row before it is drawn, in pixels.
|
|
47126
47385
|
*
|
|
47127
47386
|
* Only read while `windowed`, and a starting guess rather than a claim: a
|
|
@@ -47196,11 +47455,15 @@ export type CustomElementsSolidJs = {
|
|
|
47196
47455
|
* A key holding a comma cannot be told apart from two keys, which is the
|
|
47197
47456
|
* price of the shape. A reader's choice fires `helix-select` first, and
|
|
47198
47457
|
* refusing it leaves the selection as it was.
|
|
47458
|
+
* - `selected-label`/`selectedLabel`: What screen readers hear when the chosen rows change. `{count}` is how many
|
|
47459
|
+
* rows are chosen.
|
|
47199
47460
|
* - `sort`: The sort order, as `field:direction`.
|
|
47200
47461
|
*
|
|
47201
47462
|
* Set it and this element defers: a reader's click fires `helix-sort` and
|
|
47202
47463
|
* changes nothing until a new value arrives. `default-sort` seeds an order this
|
|
47203
47464
|
* element then owns.
|
|
47465
|
+
* - `sorted-label`/`sortedLabel`: What screen readers hear when the table is sorted. `{column}` is the
|
|
47466
|
+
* column's heading and `{order}` is `ascending-label` or `descending-label`.
|
|
47204
47467
|
* - `total`: The number of rows in the whole result, for when the table cannot count
|
|
47205
47468
|
* them.
|
|
47206
47469
|
*
|
|
@@ -47208,6 +47471,7 @@ export type CustomElementsSolidJs = {
|
|
|
47208
47471
|
* nothing about the result. Ignored in `client` mode rather than trusted,
|
|
47209
47472
|
* because two sources for one count is the mistake, and here the array is the
|
|
47210
47473
|
* one that cannot be stale.
|
|
47474
|
+
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
47211
47475
|
* - `windowed`: Draws only the rows in view, with empty space in place of the rest.
|
|
47212
47476
|
*
|
|
47213
47477
|
* **Not a `mode`.** `mode` says where the rows come from and who filtered
|
|
@@ -50460,6 +50724,13 @@ export type CustomElementsSolidJs = {
|
|
|
50460
50724
|
*
|
|
50461
50725
|
* No attribute, because it is coordination between elements rather than
|
|
50462
50726
|
* anything a consumer sets. (property only)
|
|
50727
|
+
* - `popup`: What kind of panel this button opens, where it opens one: `menu` for a
|
|
50728
|
+
* `Menu`.
|
|
50729
|
+
*
|
|
50730
|
+
* Set by the component that owns the panel, as a property for the reason
|
|
50731
|
+
* `expanded` gives above. It is what makes a reader say the button opens a
|
|
50732
|
+
* menu. Read from Chromium's tree, a Menu's trigger was a plain button that
|
|
50733
|
+
* reported collapsed and expanded and no popup. (property only)
|
|
50463
50734
|
* - `commandForElement`: The element this button's command is sent to, resolved.
|
|
50464
50735
|
*
|
|
50465
50736
|
* The platform's own accessor, because the resolution is otherwise kept
|
|
@@ -52811,6 +53082,7 @@ export type CustomElementsSolidJs = {
|
|
|
52811
53082
|
* - `cluster`: Combines markers that would overlap into one count. Counts split apart as
|
|
52812
53083
|
* the map zooms in, and pressing one zooms in to its places.
|
|
52813
53084
|
* - `face-north-label`/`faceNorthLabel`: The Face north button's label.
|
|
53085
|
+
* - `flat-label`/`flatLabel`: What screen readers hear when the map is tilted back to looking straight down.
|
|
52814
53086
|
* - `hybrid-label`/`hybridLabel`: The Hybrid map type's name.
|
|
52815
53087
|
* - `label`: The map's name, read by screen readers. Name the place, such as "Delivery
|
|
52816
53088
|
* area", so that several maps on one page can be told apart. Required.
|
|
@@ -52820,6 +53092,11 @@ export type CustomElementsSolidJs = {
|
|
|
52820
53092
|
* under the roads and names, and `satellite` for imagery alone. Absent is
|
|
52821
53093
|
* the standard, themed map. The layers menu chooses it.
|
|
52822
53094
|
* - `map-type-label`/`mapTypeLabel`: The name of the map types in the layers menu, read by screen readers.
|
|
53095
|
+
* - `moved-down-label`/`movedDownLabel`: What screen readers hear when the map has moved down.
|
|
53096
|
+
* - `moved-left-label`/`movedLeftLabel`: What screen readers hear when the map has moved left.
|
|
53097
|
+
* - `moved-right-label`/`movedRightLabel`: What screen readers hear when the map has moved right.
|
|
53098
|
+
* - `moved-up-label`/`movedUpLabel`: What screen readers hear when the map has moved up.
|
|
53099
|
+
* - `north-label`/`northLabel`: What screen readers hear when the map is turned back to face north.
|
|
52823
53100
|
* - `pitch`: How far the map is tilted, in degrees from looking straight down.
|
|
52824
53101
|
* `connectMap` keeps it current, and the 3D button is pressed while it is
|
|
52825
53102
|
* above `0`.
|
|
@@ -52827,7 +53104,14 @@ export type CustomElementsSolidJs = {
|
|
|
52827
53104
|
* - `rotate-right-label`/`rotateRightLabel`: The rotate right button's label.
|
|
52828
53105
|
* - `satellite-label`/`satelliteLabel`: The Satellite map type's name.
|
|
52829
53106
|
* - `standard-label`/`standardLabel`: The Standard map type's name.
|
|
53107
|
+
* - `tilted-label`/`tiltedLabel`: What screen readers hear when the map is tilted. `{degrees}` is the tilt
|
|
53108
|
+
* from looking straight down.
|
|
52830
53109
|
* - `tilt-label`/`tiltLabel`: The 3D button's label.
|
|
53110
|
+
* - `turned-label`/`turnedLabel`: What screen readers hear when the map is turned. `{degrees}` is the way the
|
|
53111
|
+
* top of the map faces, clockwise from north.
|
|
53112
|
+
* - `zoomed-label`/`zoomedLabel`: What screen readers hear after a zoom. `{level}` is the zoom level.
|
|
53113
|
+
* - `zoom-level`/`zoomLevel`: How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
|
|
53114
|
+
* current, and the map says it after a zoom.
|
|
52831
53115
|
* - `controls`: Which controls to show, as a list such as `pan zoom fullscreen`, or
|
|
52832
53116
|
* `none`. A family can add words of its own.
|
|
52833
53117
|
*
|
|
@@ -52936,6 +53220,19 @@ export type CustomElementsSolidJs = {
|
|
|
52936
53220
|
*
|
|
52937
53221
|
* Methods that can be called to access component functionality.
|
|
52938
53222
|
*
|
|
53223
|
+
* - `moved() => void`: Says the map has moved, where a reader asked it to.
|
|
53224
|
+
*
|
|
53225
|
+
* **Called by whatever moves the map**, as `connectMap` does on every frame
|
|
53226
|
+
* the view moves. The frame's keys and buttons only ask, and nothing moves
|
|
53227
|
+
* until something answers, so the frame says nothing until it is told the
|
|
53228
|
+
* view moved: an announcement for a move that never happened is worse than
|
|
53229
|
+
* none. A page moving its own map in answer to `helix-map-pan` calls this
|
|
53230
|
+
* once it has.
|
|
53231
|
+
*
|
|
53232
|
+
* What is said waits for the view to settle, so a held key or a long
|
|
53233
|
+
* animation is one sentence, and it is the view's state where there is one:
|
|
53234
|
+
* the zoom level, the way the map faces, its tilt. A pan has no state to
|
|
53235
|
+
* say, so it says which way the map moved.
|
|
52939
53236
|
* - `rotate(by: number) => void`: Turns the map by some degrees, clockwise where positive.
|
|
52940
53237
|
* - `faceNorth() => void`: Turns the map to face north.
|
|
52941
53238
|
* - `tilt(by: number) => void`: Tilts the map by some degrees, toward the horizon where positive.
|
|
@@ -52969,6 +53266,7 @@ export type CustomElementsSolidJs = {
|
|
|
52969
53266
|
* - `layers`: The list of the map's shown layers, such as routes, areas, and points, read by screen readers.
|
|
52970
53267
|
* - `layers-menu`: The menu of the map's layers, which the layers button opens.
|
|
52971
53268
|
* - `layers-toggle`: The button that opens and closes the layers menu.
|
|
53269
|
+
* - `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.
|
|
52972
53270
|
* - `map-type`: One map type's card in the layers menu: a radio button, its picture, and its name.
|
|
52973
53271
|
* - `map-type-name`: The name on a map type's card.
|
|
52974
53272
|
* - `map-type-preview`: The picture of the map on a map type's card.
|