@fusion.dev/helix 0.110.1 → 0.110.3

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.
@@ -77340,9 +77340,10 @@
77340
77340
  "kind": "field",
77341
77341
  "name": "label",
77342
77342
  "type": {
77343
- "text": "string | undefined"
77343
+ "text": "string"
77344
77344
  },
77345
- "description": "The area's name, used in the frame's list.",
77345
+ "default": "'Area'",
77346
+ "description": "The area's name, used in the frame's list and its tile in the layers\nmenu. Defaults to \"Area\", so neither is ever a control with no name.",
77346
77347
  "attribute": "label",
77347
77348
  "inheritedFrom": {
77348
77349
  "name": "HelixHeadlessMapArea",
@@ -77723,9 +77724,10 @@
77723
77724
  {
77724
77725
  "name": "label",
77725
77726
  "type": {
77726
- "text": "string | undefined"
77727
+ "text": "string"
77727
77728
  },
77728
- "description": "The area's name, used in the frame's list.",
77729
+ "default": "'Area'",
77730
+ "description": "The area's name, used in the frame's list and its tile in the layers\nmenu. Defaults to \"Area\", so neither is ever a control with no name.",
77729
77731
  "fieldName": "label",
77730
77732
  "inheritedFrom": {
77731
77733
  "name": "HelixHeadlessMapArea",
@@ -79813,6 +79815,20 @@
79813
79815
  "module": "src/map/marker/map-marker.ts"
79814
79816
  }
79815
79817
  },
79818
+ {
79819
+ "kind": "field",
79820
+ "name": "handingOver",
79821
+ "type": {
79822
+ "text": "boolean"
79823
+ },
79824
+ "privacy": "private",
79825
+ "default": "false",
79826
+ "description": "Whether focus is on this marker as it is gathered, and so has to move on.",
79827
+ "inheritedFrom": {
79828
+ "name": "HelixHeadlessMapMarker",
79829
+ "module": "src/map/marker/map-marker.ts"
79830
+ }
79831
+ },
79816
79832
  {
79817
79833
  "kind": "method",
79818
79834
  "name": "extent",
@@ -80607,9 +80623,10 @@
80607
80623
  "kind": "field",
80608
80624
  "name": "label",
80609
80625
  "type": {
80610
- "text": "string | undefined"
80626
+ "text": "string"
80611
80627
  },
80612
- "description": "The layer's name, used in the frame's list.",
80628
+ "default": "'Places'",
80629
+ "description": "The layer's name, used in the frame's list, its tile in the layers menu,\nand the group of places the keyboard walks. Defaults to \"Places\".",
80613
80630
  "attribute": "label",
80614
80631
  "inheritedFrom": {
80615
80632
  "name": "HelixHeadlessMapPoints",
@@ -81178,9 +81195,10 @@
81178
81195
  {
81179
81196
  "name": "label",
81180
81197
  "type": {
81181
- "text": "string | undefined"
81198
+ "text": "string"
81182
81199
  },
81183
- "description": "The layer's name, used in the frame's list.",
81200
+ "default": "'Places'",
81201
+ "description": "The layer's name, used in the frame's list, its tile in the layers menu,\nand the group of places the keyboard walks. Defaults to \"Places\".",
81184
81202
  "fieldName": "label",
81185
81203
  "inheritedFrom": {
81186
81204
  "name": "HelixHeadlessMapPoints",
@@ -81489,9 +81507,10 @@
81489
81507
  "kind": "field",
81490
81508
  "name": "label",
81491
81509
  "type": {
81492
- "text": "string | undefined"
81510
+ "text": "string"
81493
81511
  },
81494
- "description": "What it is, such as \"Van 12\". Read by screen readers.",
81512
+ "default": "'Live position'",
81513
+ "description": "What it is, such as \"Van 12\". Read by screen readers. Defaults to \"Live position\".",
81495
81514
  "attribute": "label",
81496
81515
  "inheritedFrom": {
81497
81516
  "name": "HelixHeadlessMapPosition",
@@ -81978,9 +81997,10 @@
81978
81997
  {
81979
81998
  "name": "label",
81980
81999
  "type": {
81981
- "text": "string | undefined"
82000
+ "text": "string"
81982
82001
  },
81983
- "description": "What it is, such as \"Van 12\". Read by screen readers.",
82002
+ "default": "'Live position'",
82003
+ "description": "What it is, such as \"Van 12\". Read by screen readers. Defaults to \"Live position\".",
81984
82004
  "fieldName": "label",
81985
82005
  "inheritedFrom": {
81986
82006
  "name": "HelixHeadlessMapPosition",
@@ -82279,9 +82299,10 @@
82279
82299
  "kind": "field",
82280
82300
  "name": "label",
82281
82301
  "type": {
82282
- "text": "string | undefined"
82302
+ "text": "string"
82283
82303
  },
82284
- "description": "The layer's name in the frame's list.",
82304
+ "default": "'Overlay'",
82305
+ "description": "The layer's name in the frame's list and its tile in the layers menu.\nDefaults to \"Overlay\", so neither is ever a control with no name.",
82285
82306
  "attribute": "label",
82286
82307
  "inheritedFrom": {
82287
82308
  "name": "HelixHeadlessMapRaster",
@@ -82820,9 +82841,10 @@
82820
82841
  {
82821
82842
  "name": "label",
82822
82843
  "type": {
82823
- "text": "string | undefined"
82844
+ "text": "string"
82824
82845
  },
82825
- "description": "The layer's name in the frame's list.",
82846
+ "default": "'Overlay'",
82847
+ "description": "The layer's name in the frame's list and its tile in the layers menu.\nDefaults to \"Overlay\", so neither is ever a control with no name.",
82826
82848
  "fieldName": "label",
82827
82849
  "inheritedFrom": {
82828
82850
  "name": "HelixHeadlessMapRaster",
@@ -83919,7 +83941,7 @@
83919
83941
  "text": "void"
83920
83942
  }
83921
83943
  },
83922
- "description": "Says the map has moved, where a reader asked it to.\n\n**Called by whatever moves the map**, as `connectMap` does on every frame\nthe view moves. The frame's keys and buttons only ask, and nothing moves\nuntil something answers, so the frame says nothing until it is told the\nview moved: an announcement for a move that never happened is worse than\nnone. A page moving its own map in answer to `helix-map-pan` calls this\nonce it has.\n\nWhat is said waits for the view to settle, so a held key or a long\nanimation is one sentence, and it is the view's state where there is one:\nthe zoom level, the way the map faces, its tilt. A pan has no state to\nsay, so it says which way the map moved.",
83944
+ "description": "Says the map has moved, where a reader asked it to.\n\n**Called by whatever moves the map**, as `connectMap` does on every frame\nthe view moves. The frame's keys and buttons only ask, and nothing moves\nuntil something answers, so the frame says nothing until it is told the\nview moved: an announcement for a move that never happened is worse than\nnone. A page moving its own map in answer to `helix-map-pan` sets\n`zoomLevel`, `bearing` and `pitch` to where the map now is and then calls\nthis, since those are what is said.\n\nWhat is said waits for the view to settle, so a held key or a long\nanimation is one sentence, and it is the view's state where there is one:\nthe zoom level, the way the map faces, its tilt. A pan has no state to\nsay, so it says which way the map moved.",
83923
83945
  "type": {
83924
83946
  "text": "moved() => void"
83925
83947
  },
@@ -84048,6 +84070,29 @@
84048
84070
  "module": "src/map/root/map-root.ts"
84049
84071
  }
84050
84072
  },
84073
+ {
84074
+ "kind": "method",
84075
+ "name": "shown",
84076
+ "privacy": "private",
84077
+ "return": {
84078
+ "type": {
84079
+ "text": "boolean"
84080
+ }
84081
+ },
84082
+ "parameters": [
84083
+ {
84084
+ "name": "layer",
84085
+ "type": {
84086
+ "text": "MapLayer"
84087
+ }
84088
+ }
84089
+ ],
84090
+ "description": "Whether a layer is drawn: not hidden, and, for imagery of the ground, while\na map type shows imagery.\n\n**The map type decides imagery without writing onto it.** It set `hidden`\non the consumer's own `<helix-map-raster ground>`, before anyone had asked,\nwhich is an attribute their server never sent: the hydration mismatch the\narea rules record. `connectMap` asks the same question.",
84091
+ "inheritedFrom": {
84092
+ "name": "HelixHeadlessMap",
84093
+ "module": "src/map/root/map-root.ts"
84094
+ }
84095
+ },
84051
84096
  {
84052
84097
  "kind": "method",
84053
84098
  "name": "nameOf",
@@ -84158,7 +84203,7 @@
84158
84203
  "name": "keys",
84159
84204
  "privacy": "protected",
84160
84205
  "readonly": true,
84161
- "default": "new KeyboardNavigationController(this, { items: () => this.markers.map( (marker, at): NavigableItem => ({ /* The marker itself, as a browser retargets a press from its shadow root to it, or a node inside that root, as an engine that does not retarget reports it. */ contains: (node) => node !== null && (marker.contains(node) || marker.shadowRoot?.contains(node) === true), /* Hidden inside a cluster, which the walk reaches instead. */ disabled: marker.gatheredBy !== undefined, /* The stop moves with the walk rather than waiting to hear focus arrive: a focus event from inside a marker's own shadow root is one an engine can fail to carry out to the frame, and the stop is the walk's to keep. */ focusItem: () => { this.stop = at marker.focus() }, select: () => {}, selected: false, }), ), origin: 'focus', selects: () => false, })",
84206
+ "default": "new KeyboardNavigationController(this, { items: () => this.markers.map( (marker, at): NavigableItem => ({ /* The marker itself, as a browser retargets a press from its shadow root to it, or a node inside that root, as an engine that does not retarget reports it. */ contains: (node) => node !== null && (marker.contains(node) || marker.shadowRoot?.contains(node) === true), /* Hidden inside a cluster, which the walk reaches instead, or with no place to stand, which a stylesheet cannot show: a walk that stopped there moved the stop to a marker nothing could focus. */ disabled: marker.gatheredBy !== undefined || !placed(marker), /* The stop moves with the walk rather than waiting to hear focus arrive: a focus event from inside a marker's own shadow root is one an engine can fail to carry out to the frame, and the stop is the walk's to keep. */ focusItem: () => { this.stop = at marker.focus() }, select: () => {}, selected: false, }), ), origin: 'focus', selects: () => false, })",
84162
84207
  "inheritedFrom": {
84163
84208
  "name": "HelixHeadlessMap",
84164
84209
  "module": "src/map/root/map-root.ts"
@@ -85861,9 +85906,10 @@
85861
85906
  "kind": "field",
85862
85907
  "name": "label",
85863
85908
  "type": {
85864
- "text": "string | undefined"
85909
+ "text": "string"
85865
85910
  },
85866
- "description": "The route's name, used in the frame's list.",
85911
+ "default": "'Route'",
85912
+ "description": "The route's name, used in the frame's list and its tile in the layers\nmenu. Defaults to \"Route\", so neither is ever a control with no name.",
85867
85913
  "attribute": "label",
85868
85914
  "inheritedFrom": {
85869
85915
  "name": "HelixHeadlessMapRoute",
@@ -86265,9 +86311,10 @@
86265
86311
  {
86266
86312
  "name": "label",
86267
86313
  "type": {
86268
- "text": "string | undefined"
86314
+ "text": "string"
86269
86315
  },
86270
- "description": "The route's name, used in the frame's list.",
86316
+ "default": "'Route'",
86317
+ "description": "The route's name, used in the frame's list and its tile in the layers\nmenu. Defaults to \"Route\", so neither is ever a control with no name.",
86271
86318
  "fieldName": "label",
86272
86319
  "inheritedFrom": {
86273
86320
  "name": "HelixHeadlessMapRoute",
@@ -27,7 +27,7 @@ position: absolute;
27
27
  z-index: var(--helix-layer-raised);
28
28
  }
29
29
 
30
- :host(:not([style*="--_map-position-x"])) {
30
+ :host(:not([style*="--_map-position-x"])) [part="position"] {
31
31
  visibility: hidden;
32
32
  }
33
33
 
@@ -180,6 +180,9 @@ gap: var(--helix-space-sm);
180
180
  inline-size: min(calc(var(--helix-size-control-lg) * 6), 70vw);
181
181
  inset-block-start: 0;
182
182
  inset-inline-end: calc(100% + var(--helix-space-2xs));
183
+
184
+ max-block-size: calc(var(--map-block-size, 24rem) - var(--helix-space-sm) * 2);
185
+ overflow-y: auto;
183
186
  padding: var(--helix-space-sm);
184
187
  position: absolute;
185
188
  }
@@ -297,4 +300,18 @@ border-color: var(--helix-color-primary-surface);
297
300
  [part="layer-choice"]:focus-visible [part="layer-icon"] {
298
301
  outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
299
302
  outline-offset: var(--helix-size-focus-offset);
303
+ }
304
+
305
+ @media (forced-colors: active) {
306
+ [part="tilt"][aria-pressed="true"] {
307
+ background-color: Highlight;
308
+ color: HighlightText;
309
+ forced-color-adjust: none;
310
+ }
311
+
312
+ [part="map-type"]:has(input:checked),
313
+ [part="layers-menu"] [part="layer-choice"][aria-pressed="true"] {
314
+ outline: var(--helix-border-thick) solid Highlight;
315
+ outline-offset: var(--helix-space-2xs);
316
+ }
300
317
  }`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.110.1",
4
+ "version": "0.110.3",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -51,13 +51,13 @@
51
51
  },
52
52
  "bugs": "https://github.com/project-fusion/fusion/issues",
53
53
  "dependencies": {
54
- "@fusion.dev/helix-core": "0.110.1",
55
- "@fusion.dev/helix-headless": "0.110.1",
56
- "@fusion.dev/helix-styles": "0.110.1"
54
+ "@fusion.dev/helix-core": "0.110.3",
55
+ "@fusion.dev/helix-headless": "0.110.3",
56
+ "@fusion.dev/helix-styles": "0.110.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@fusion.dev/helix-cem": "0.110.1",
60
- "@fusion.dev/helix-testing": "0.110.1",
59
+ "@fusion.dev/helix-cem": "0.110.3",
60
+ "@fusion.dev/helix-testing": "0.110.3",
61
61
  "@fusion.dev/scripts": "0.0.0-dev",
62
62
  "@happy-dom/global-registrator": "^20.0.0",
63
63
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -13596,7 +13596,8 @@ export type HelixMapAreaProps = {
13596
13596
  dotted legs. The layers menu shows layers in the same group as one entry,
13597
13597
  named by the first of them, and its checkbox shows or hides them all. */
13598
13598
  group?: (HelixMapArea["group"]) | undefined;
13599
- /** The area's name, used in the frame's list. */
13599
+ /** The area's name, used in the frame's list and its tile in the layers
13600
+ menu. Defaults to "Area", so neither is ever a control with no name. */
13600
13601
  label?: (HelixMapArea["label"]) | undefined;
13601
13602
  /** The corners of the shape, in order. The last point connects back to the
13602
13603
  first. */
@@ -13617,7 +13618,8 @@ export type HelixMapAreaSolidJsProps = {
13617
13618
  dotted legs. The layers menu shows layers in the same group as one entry,
13618
13619
  named by the first of them, and its checkbox shows or hides them all. */
13619
13620
  "prop:group"?: (HelixMapArea["group"]) | undefined;
13620
- /** The area's name, used in the frame's list. */
13621
+ /** The area's name, used in the frame's list and its tile in the layers
13622
+ menu. Defaults to "Area", so neither is ever a control with no name. */
13621
13623
  "prop:label"?: (HelixMapArea["label"]) | undefined;
13622
13624
  /** The corners of the shape, in order. The last point connects back to the
13623
13625
  first. */
@@ -13927,7 +13929,8 @@ the frame's list. */
13927
13929
  dotted legs. The layers menu shows layers in the same group as one entry,
13928
13930
  named by the first of them, and its checkbox shows or hides them all. */
13929
13931
  group?: (HelixMapPoints["group"]) | undefined;
13930
- /** The layer's name, used in the frame's list. */
13932
+ /** The layer's name, used in the frame's list, its tile in the layers menu,
13933
+ and the group of places the keyboard walks. Defaults to "Places". */
13931
13934
  label?: (HelixMapPoints["label"]) | undefined;
13932
13935
  /** The GeoJSON property each point is named by. Defaults to `name`. */
13933
13936
  "name-key"?: (HelixMapPoints["nameKey"]) | undefined;
@@ -13969,7 +13972,8 @@ the frame's list. */
13969
13972
  dotted legs. The layers menu shows layers in the same group as one entry,
13970
13973
  named by the first of them, and its checkbox shows or hides them all. */
13971
13974
  "prop:group"?: (HelixMapPoints["group"]) | undefined;
13972
- /** The layer's name, used in the frame's list. */
13975
+ /** The layer's name, used in the frame's list, its tile in the layers menu,
13976
+ and the group of places the keyboard walks. Defaults to "Places". */
13973
13977
  "prop:label"?: (HelixMapPoints["label"]) | undefined;
13974
13978
  /** The GeoJSON property each point is named by. Defaults to `name`. */
13975
13979
  "attr:name-key"?: (HelixMapPoints["nameKey"]) | undefined;
@@ -14028,7 +14032,7 @@ wait is announced when the wait ends. */
14028
14032
  description?: (HelixMapPosition["description"]) | undefined;
14029
14033
  /** The direction it faces, in degrees clockwise from north. Shows an arrow. */
14030
14034
  heading?: (HelixMapPosition["heading"]) | undefined;
14031
- /** What it is, such as "Van 12". Read by screen readers. */
14035
+ /** What it is, such as "Van 12". Read by screen readers. Defaults to "Live position". */
14032
14036
  label?: (HelixMapPosition["label"]) | undefined;
14033
14037
  /** Latitude, in degrees. */
14034
14038
  lat?: (HelixMapPosition["lat"]) | undefined;
@@ -14063,7 +14067,7 @@ wait is announced when the wait ends. */
14063
14067
  "prop:description"?: (HelixMapPosition["description"]) | undefined;
14064
14068
  /** The direction it faces, in degrees clockwise from north. Shows an arrow. */
14065
14069
  "prop:heading"?: (HelixMapPosition["heading"]) | undefined;
14066
- /** What it is, such as "Van 12". Read by screen readers. */
14070
+ /** What it is, such as "Van 12". Read by screen readers. Defaults to "Live position". */
14067
14071
  "prop:label"?: (HelixMapPosition["label"]) | undefined;
14068
14072
  /** Latitude, in degrees. */
14069
14073
  "prop:lat"?: (HelixMapPosition["lat"]) | undefined;
@@ -14107,7 +14111,8 @@ named by the first of them, and its checkbox shows or hides them all. */
14107
14111
  group?: (HelixMapRaster["group"]) | undefined;
14108
14112
  /** How long each frame shows while `playing`, in milliseconds. */
14109
14113
  interval?: (HelixMapRaster["interval"]) | undefined;
14110
- /** The layer's name in the frame's list. */
14114
+ /** The layer's name in the frame's list and its tile in the layers menu.
14115
+ Defaults to "Overlay", so neither is ever a control with no name. */
14111
14116
  label?: (HelixMapRaster["label"]) | undefined;
14112
14117
  /** The deepest zoom the provider has tiles for. The map enlarges those tiles
14113
14118
  at deeper zooms, where it would otherwise ask for tiles that do not exist. */
@@ -14146,7 +14151,8 @@ named by the first of them, and its checkbox shows or hides them all. */
14146
14151
  "prop:group"?: (HelixMapRaster["group"]) | undefined;
14147
14152
  /** How long each frame shows while `playing`, in milliseconds. */
14148
14153
  "prop:interval"?: (HelixMapRaster["interval"]) | undefined;
14149
- /** The layer's name in the frame's list. */
14154
+ /** The layer's name in the frame's list and its tile in the layers menu.
14155
+ Defaults to "Overlay", so neither is ever a control with no name. */
14150
14156
  "prop:label"?: (HelixMapRaster["label"]) | undefined;
14151
14157
  /** The deepest zoom the provider has tiles for. The map enlarges those tiles
14152
14158
  at deeper zooms, where it would otherwise ask for tiles that do not exist. */
@@ -14727,7 +14733,8 @@ in the frame's list. */
14727
14733
  dotted legs. The layers menu shows layers in the same group as one entry,
14728
14734
  named by the first of them, and its checkbox shows or hides them all. */
14729
14735
  group?: (HelixMapRoute["group"]) | undefined;
14730
- /** The route's name, used in the frame's list. */
14736
+ /** The route's name, used in the frame's list and its tile in the layers
14737
+ menu. Defaults to "Route", so neither is ever a control with no name. */
14731
14738
  label?: (HelixMapRoute["label"]) | undefined;
14732
14739
  /** The points the line passes through, in order. Write the attribute as
14733
14740
  `lat,lng` pairs separated by spaces, or set the property to an array of `{
@@ -14755,7 +14762,8 @@ in the frame's list. */
14755
14762
  dotted legs. The layers menu shows layers in the same group as one entry,
14756
14763
  named by the first of them, and its checkbox shows or hides them all. */
14757
14764
  "prop:group"?: (HelixMapRoute["group"]) | undefined;
14758
- /** The route's name, used in the frame's list. */
14765
+ /** The route's name, used in the frame's list and its tile in the layers
14766
+ menu. Defaults to "Route", so neither is ever a control with no name. */
14759
14767
  "prop:label"?: (HelixMapRoute["label"]) | undefined;
14760
14768
  /** The points the line passes through, in order. Write the attribute as
14761
14769
  `lat,lng` pairs separated by spaces, or set the property to an array of `{
@@ -36902,7 +36910,8 @@ export type CustomElements = {
36902
36910
  * - `group`: A name this layer shares with other layers, such as a route and its
36903
36911
  * dotted legs. The layers menu shows layers in the same group as one entry,
36904
36912
  * named by the first of them, and its checkbox shows or hides them all.
36905
- * - `label`: The area's name, used in the frame's list.
36913
+ * - `label`: The area's name, used in the frame's list and its tile in the layers
36914
+ * menu. Defaults to "Area", so neither is ever a control with no name.
36906
36915
  * - `points`: The corners of the shape, in order. The last point connects back to the
36907
36916
  * first.
36908
36917
  * - `isMapLayer`: Marks this as a layer for the frame and the connector, whatever its tag. (property only) (readonly)
@@ -37253,7 +37262,8 @@ export type CustomElements = {
37253
37262
  * - `group`: A name this layer shares with other layers, such as a route and its
37254
37263
  * dotted legs. The layers menu shows layers in the same group as one entry,
37255
37264
  * named by the first of them, and its checkbox shows or hides them all.
37256
- * - `label`: The layer's name, used in the frame's list.
37265
+ * - `label`: The layer's name, used in the frame's list, its tile in the layers menu,
37266
+ * and the group of places the keyboard walks. Defaults to "Places".
37257
37267
  * - `name-key`/`nameKey`: The GeoJSON property each point is named by. Defaults to `name`.
37258
37268
  * - `src`: A GeoJSON file of points to load. Ignored when `data` is set.
37259
37269
  * - `data`: The points, as a GeoJSON collection or a list of `{ lat, lng, label, id }`
@@ -37334,7 +37344,7 @@ export type CustomElements = {
37334
37344
  * wait is announced when the wait ends.
37335
37345
  * - `description`: What screen readers announce when it changes, such as "Two stops away".
37336
37346
  * - `heading`: The direction it faces, in degrees clockwise from north. Shows an arrow.
37337
- * - `label`: What it is, such as "Van 12". Read by screen readers.
37347
+ * - `label`: What it is, such as "Van 12". Read by screen readers. Defaults to "Live position".
37338
37348
  * - `lat`: Latitude, in degrees.
37339
37349
  * - `lng`: Longitude, in degrees.
37340
37350
  * - `isMapPosition`: Marks this as a position for the connector, whatever its tag. (property only) (readonly)
@@ -37414,7 +37424,8 @@ export type CustomElements = {
37414
37424
  * dotted legs. The layers menu shows layers in the same group as one entry,
37415
37425
  * named by the first of them, and its checkbox shows or hides them all.
37416
37426
  * - `interval`: How long each frame shows while `playing`, in milliseconds.
37417
- * - `label`: The layer's name in the frame's list.
37427
+ * - `label`: The layer's name in the frame's list and its tile in the layers menu.
37428
+ * Defaults to "Overlay", so neither is ever a control with no name.
37418
37429
  * - `max-zoom`/`maxZoom`: The deepest zoom the provider has tiles for. The map enlarges those tiles
37419
37430
  * at deeper zooms, where it would otherwise ask for tiles that do not exist.
37420
37431
  * - `opacity`: How opaque the tiles are, from `0` to `1`.
@@ -37621,8 +37632,9 @@ export type CustomElements = {
37621
37632
  * the view moves. The frame's keys and buttons only ask, and nothing moves
37622
37633
  * until something answers, so the frame says nothing until it is told the
37623
37634
  * 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.
37635
+ * none. A page moving its own map in answer to `helix-map-pan` sets
37636
+ * `zoomLevel`, `bearing` and `pitch` to where the map now is and then calls
37637
+ * this, since those are what is said.
37626
37638
  *
37627
37639
  * What is said waits for the view to settle, so a held key or a long
37628
37640
  * animation is one sentence, and it is the view's state where there is one:
@@ -37706,7 +37718,8 @@ export type CustomElements = {
37706
37718
  * - `group`: A name this layer shares with other layers, such as a route and its
37707
37719
  * dotted legs. The layers menu shows layers in the same group as one entry,
37708
37720
  * named by the first of them, and its checkbox shows or hides them all.
37709
- * - `label`: The route's name, used in the frame's list.
37721
+ * - `label`: The route's name, used in the frame's list and its tile in the layers
37722
+ * menu. Defaults to "Route", so neither is ever a control with no name.
37710
37723
  * - `points`: The points the line passes through, in order. Write the attribute as
37711
37724
  * `lat,lng` pairs separated by spaces, or set the property to an array of `{
37712
37725
  * lat, lng }`.
@@ -58843,7 +58856,8 @@ export type CustomElementsSolidJs = {
58843
58856
  * - `group`: A name this layer shares with other layers, such as a route and its
58844
58857
  * dotted legs. The layers menu shows layers in the same group as one entry,
58845
58858
  * named by the first of them, and its checkbox shows or hides them all.
58846
- * - `label`: The area's name, used in the frame's list.
58859
+ * - `label`: The area's name, used in the frame's list and its tile in the layers
58860
+ * menu. Defaults to "Area", so neither is ever a control with no name.
58847
58861
  * - `points`: The corners of the shape, in order. The last point connects back to the
58848
58862
  * first.
58849
58863
  * - `isMapLayer`: Marks this as a layer for the frame and the connector, whatever its tag. (property only) (readonly)
@@ -59209,7 +59223,8 @@ export type CustomElementsSolidJs = {
59209
59223
  * - `group`: A name this layer shares with other layers, such as a route and its
59210
59224
  * dotted legs. The layers menu shows layers in the same group as one entry,
59211
59225
  * named by the first of them, and its checkbox shows or hides them all.
59212
- * - `label`: The layer's name, used in the frame's list.
59226
+ * - `label`: The layer's name, used in the frame's list, its tile in the layers menu,
59227
+ * and the group of places the keyboard walks. Defaults to "Places".
59213
59228
  * - `name-key`/`nameKey`: The GeoJSON property each point is named by. Defaults to `name`.
59214
59229
  * - `src`: A GeoJSON file of points to load. Ignored when `data` is set.
59215
59230
  * - `data`: The points, as a GeoJSON collection or a list of `{ lat, lng, label, id }`
@@ -59293,7 +59308,7 @@ export type CustomElementsSolidJs = {
59293
59308
  * wait is announced when the wait ends.
59294
59309
  * - `description`: What screen readers announce when it changes, such as "Two stops away".
59295
59310
  * - `heading`: The direction it faces, in degrees clockwise from north. Shows an arrow.
59296
- * - `label`: What it is, such as "Van 12". Read by screen readers.
59311
+ * - `label`: What it is, such as "Van 12". Read by screen readers. Defaults to "Live position".
59297
59312
  * - `lat`: Latitude, in degrees.
59298
59313
  * - `lng`: Longitude, in degrees.
59299
59314
  * - `isMapPosition`: Marks this as a position for the connector, whatever its tag. (property only) (readonly)
@@ -59376,7 +59391,8 @@ export type CustomElementsSolidJs = {
59376
59391
  * dotted legs. The layers menu shows layers in the same group as one entry,
59377
59392
  * named by the first of them, and its checkbox shows or hides them all.
59378
59393
  * - `interval`: How long each frame shows while `playing`, in milliseconds.
59379
- * - `label`: The layer's name in the frame's list.
59394
+ * - `label`: The layer's name in the frame's list and its tile in the layers menu.
59395
+ * Defaults to "Overlay", so neither is ever a control with no name.
59380
59396
  * - `max-zoom`/`maxZoom`: The deepest zoom the provider has tiles for. The map enlarges those tiles
59381
59397
  * at deeper zooms, where it would otherwise ask for tiles that do not exist.
59382
59398
  * - `opacity`: How opaque the tiles are, from `0` to `1`.
@@ -59586,8 +59602,9 @@ export type CustomElementsSolidJs = {
59586
59602
  * the view moves. The frame's keys and buttons only ask, and nothing moves
59587
59603
  * until something answers, so the frame says nothing until it is told the
59588
59604
  * 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.
59605
+ * none. A page moving its own map in answer to `helix-map-pan` sets
59606
+ * `zoomLevel`, `bearing` and `pitch` to where the map now is and then calls
59607
+ * this, since those are what is said.
59591
59608
  *
59592
59609
  * What is said waits for the view to settle, so a held key or a long
59593
59610
  * animation is one sentence, and it is the view's state where there is one:
@@ -59673,7 +59690,8 @@ export type CustomElementsSolidJs = {
59673
59690
  * - `group`: A name this layer shares with other layers, such as a route and its
59674
59691
  * dotted legs. The layers menu shows layers in the same group as one entry,
59675
59692
  * named by the first of them, and its checkbox shows or hides them all.
59676
- * - `label`: The route's name, used in the frame's list.
59693
+ * - `label`: The route's name, used in the frame's list and its tile in the layers
59694
+ * menu. Defaults to "Route", so neither is ever a control with no name.
59677
59695
  * - `points`: The points the line passes through, in order. Write the attribute as
59678
59696
  * `lat,lng` pairs separated by spaces, or set the property to an array of `{
59679
59697
  * lat, lng }`.
package/types/vue.d.ts CHANGED
@@ -6956,7 +6956,8 @@ export type HelixMapAreaVueProps = {
6956
6956
  dotted legs. The layers menu shows layers in the same group as one entry,
6957
6957
  named by the first of them, and its checkbox shows or hides them all. */
6958
6958
  group?: (HelixMapArea["group"]) | undefined;
6959
- /** The area's name, used in the frame's list. */
6959
+ /** The area's name, used in the frame's list and its tile in the layers
6960
+ menu. Defaults to "Area", so neither is ever a control with no name. */
6960
6961
  label?: (HelixMapArea["label"]) | undefined;
6961
6962
  /** The corners of the shape, in order. The last point connects back to the
6962
6963
  first. */
@@ -7141,7 +7142,8 @@ the frame's list. */
7141
7142
  dotted legs. The layers menu shows layers in the same group as one entry,
7142
7143
  named by the first of them, and its checkbox shows or hides them all. */
7143
7144
  group?: (HelixMapPoints["group"]) | undefined;
7144
- /** The layer's name, used in the frame's list. */
7145
+ /** The layer's name, used in the frame's list, its tile in the layers menu,
7146
+ and the group of places the keyboard walks. Defaults to "Places". */
7145
7147
  label?: (HelixMapPoints["label"]) | undefined;
7146
7148
  /** The GeoJSON property each point is named by. Defaults to `name`. */
7147
7149
  "name-key"?: (HelixMapPoints["nameKey"]) | undefined;
@@ -7194,7 +7196,7 @@ wait is announced when the wait ends. */
7194
7196
  description?: (HelixMapPosition["description"]) | undefined;
7195
7197
  /** The direction it faces, in degrees clockwise from north. Shows an arrow. */
7196
7198
  heading?: (HelixMapPosition["heading"]) | undefined;
7197
- /** What it is, such as "Van 12". Read by screen readers. */
7199
+ /** What it is, such as "Van 12". Read by screen readers. Defaults to "Live position". */
7198
7200
  label?: (HelixMapPosition["label"]) | undefined;
7199
7201
  /** Latitude, in degrees. */
7200
7202
  lat?: (HelixMapPosition["lat"]) | undefined;
@@ -7234,7 +7236,8 @@ named by the first of them, and its checkbox shows or hides them all. */
7234
7236
  group?: (HelixMapRaster["group"]) | undefined;
7235
7237
  /** How long each frame shows while `playing`, in milliseconds. */
7236
7238
  interval?: (HelixMapRaster["interval"]) | undefined;
7237
- /** The layer's name in the frame's list. */
7239
+ /** The layer's name in the frame's list and its tile in the layers menu.
7240
+ Defaults to "Overlay", so neither is ever a control with no name. */
7238
7241
  label?: (HelixMapRaster["label"]) | undefined;
7239
7242
  /** The deepest zoom the provider has tiles for. The map enlarges those tiles
7240
7243
  at deeper zooms, where it would otherwise ask for tiles that do not exist. */
@@ -7552,7 +7555,8 @@ in the frame's list. */
7552
7555
  dotted legs. The layers menu shows layers in the same group as one entry,
7553
7556
  named by the first of them, and its checkbox shows or hides them all. */
7554
7557
  group?: (HelixMapRoute["group"]) | undefined;
7555
- /** The route's name, used in the frame's list. */
7558
+ /** The route's name, used in the frame's list and its tile in the layers
7559
+ menu. Defaults to "Route", so neither is ever a control with no name. */
7556
7560
  label?: (HelixMapRoute["label"]) | undefined;
7557
7561
  /** The points the line passes through, in order. Write the attribute as
7558
7562
  `lat,lng` pairs separated by spaces, or set the property to an array of `{