@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/types/vue.d.ts CHANGED
@@ -907,6 +907,14 @@ and the stop lands on the inner control inside the shadow root.
907
907
  No attribute, because it is coordination between elements rather than
908
908
  anything a consumer sets. */
909
909
  focusable?: (HelixHeadlessButton["focusable"]) | undefined;
910
+ /** What kind of panel this button opens, where it opens one: `menu` for a
911
+ `Menu`.
912
+
913
+ Set by the component that owns the panel, as a property for the reason
914
+ `expanded` gives above. It is what makes a reader say the button opens a
915
+ menu. Read from Chromium's tree, a Menu's trigger was a plain button that
916
+ reported collapsed and expanded and no popup. */
917
+ popup?: (HelixHeadlessButton["popup"]) | undefined;
910
918
  /** The element this button's command is sent to, resolved.
911
919
 
912
920
  The platform's own accessor, because the resolution is otherwise kept
@@ -3033,6 +3041,14 @@ and the stop lands on the inner control inside the shadow root.
3033
3041
  No attribute, because it is coordination between elements rather than
3034
3042
  anything a consumer sets. */
3035
3043
  focusable?: (HelixHeadlessCopyButton["focusable"]) | undefined;
3044
+ /** What kind of panel this button opens, where it opens one: `menu` for a
3045
+ `Menu`.
3046
+
3047
+ Set by the component that owns the panel, as a property for the reason
3048
+ `expanded` gives above. It is what makes a reader say the button opens a
3049
+ menu. Read from Chromium's tree, a Menu's trigger was a plain button that
3050
+ reported collapsed and expanded and no popup. */
3051
+ popup?: (HelixHeadlessCopyButton["popup"]) | undefined;
3036
3052
  /** The element this button's command is sent to, resolved.
3037
3053
 
3038
3054
  The platform's own accessor, because the resolution is otherwise kept
@@ -3070,6 +3086,10 @@ export type HelixHeadlessDataTableHelixSortElementEvent =
3070
3086
  HelixHeadlessDataTableElementEvent<HelixSortEvent>;
3071
3087
 
3072
3088
  export type HelixHeadlessDataTableVueProps = {
3089
+ /** The word for an ascending sort, in `sorted-label`. */
3090
+ "ascending-label"?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
3091
+ /** The word for an ascending sort, in `sorted-label`. */
3092
+ ascendingLabel?: (HelixHeadlessDataTable["ascendingLabel"]) | undefined;
3073
3093
  /** The starting search query, used until `filter` is set. */
3074
3094
  "default-filter"?: (HelixHeadlessDataTable["defaultFilter"]) | undefined;
3075
3095
  /** The starting search query, used until `filter` is set. */
@@ -3096,6 +3116,10 @@ is set. */
3096
3116
  "default-sort"?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
3097
3117
  /** The starting sort order, used until `sort` is set. */
3098
3118
  defaultSort?: (HelixHeadlessDataTable["defaultSort"]) | undefined;
3119
+ /** The word for a descending sort, in `sorted-label`. */
3120
+ "descending-label"?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
3121
+ /** The word for a descending sort, in `sorted-label`. */
3122
+ descendingLabel?: (HelixHeadlessDataTable["descendingLabel"]) | undefined;
3099
3123
  /** The estimated height of a row before it is drawn, in pixels.
3100
3124
 
3101
3125
  Only read while `windowed`, and a starting guess rather than a claim: a
@@ -3203,12 +3227,24 @@ A key holding a comma cannot be told apart from two keys, which is the
3203
3227
  price of the shape. A reader's choice fires `helix-select` first, and
3204
3228
  refusing it leaves the selection as it was. */
3205
3229
  selected?: (HelixHeadlessDataTable["selected"]) | undefined;
3230
+ /** What screen readers hear when the chosen rows change. `{count}` is how many
3231
+ rows are chosen. */
3232
+ "selected-label"?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
3233
+ /** What screen readers hear when the chosen rows change. `{count}` is how many
3234
+ rows are chosen. */
3235
+ selectedLabel?: (HelixHeadlessDataTable["selectedLabel"]) | undefined;
3206
3236
  /** The sort order, as `field:direction`.
3207
3237
 
3208
3238
  Set it and this element defers: a reader's click fires `helix-sort` and
3209
3239
  changes nothing until a new value arrives. `default-sort` seeds an order this
3210
3240
  element then owns. */
3211
3241
  sort?: (HelixHeadlessDataTable["sort"]) | undefined;
3242
+ /** What screen readers hear when the table is sorted. `{column}` is the
3243
+ column's heading and `{order}` is `ascending-label` or `descending-label`. */
3244
+ "sorted-label"?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
3245
+ /** What screen readers hear when the table is sorted. `{column}` is the
3246
+ column's heading and `{order}` is `ascending-label` or `descending-label`. */
3247
+ sortedLabel?: (HelixHeadlessDataTable["sortedLabel"]) | undefined;
3212
3248
  /** The number of rows in the whole result, for when the table cannot count
3213
3249
  them.
3214
3250
 
@@ -3217,6 +3253,10 @@ nothing about the result. Ignored in `client` mode rather than trusted,
3217
3253
  because two sources for one count is the mistake, and here the array is the
3218
3254
  one that cannot be stale. */
3219
3255
  total?: (HelixHeadlessDataTable["total"]) | undefined;
3256
+ /** What screen readers hear when the table stops being sorted. */
3257
+ "unsorted-label"?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
3258
+ /** What screen readers hear when the table stops being sorted. */
3259
+ unsortedLabel?: (HelixHeadlessDataTable["unsortedLabel"]) | undefined;
3220
3260
  /** Draws only the rows in view, with empty space in place of the rest.
3221
3261
 
3222
3262
  **Not a `mode`.** `mode` says where the rows come from and who filtered
@@ -4947,6 +4987,14 @@ and the stop lands on the inner control inside the shadow root.
4947
4987
  No attribute, because it is coordination between elements rather than
4948
4988
  anything a consumer sets. */
4949
4989
  focusable?: (HelixHeadlessIconButton["focusable"]) | undefined;
4990
+ /** What kind of panel this button opens, where it opens one: `menu` for a
4991
+ `Menu`.
4992
+
4993
+ Set by the component that owns the panel, as a property for the reason
4994
+ `expanded` gives above. It is what makes a reader say the button opens a
4995
+ menu. Read from Chromium's tree, a Menu's trigger was a plain button that
4996
+ reported collapsed and expanded and no popup. */
4997
+ popup?: (HelixHeadlessIconButton["popup"]) | undefined;
4950
4998
  /** The element this button's command is sent to, resolved.
4951
4999
 
4952
5000
  The platform's own accessor, because the resolution is otherwise kept
@@ -6121,6 +6169,10 @@ the map zooms in, and pressing one zooms in to its places. */
6121
6169
  "face-north-label"?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
6122
6170
  /** The Face north button's label. */
6123
6171
  faceNorthLabel?: (HelixHeadlessMap["faceNorthLabel"]) | undefined;
6172
+ /** What screen readers hear when the map is tilted back to looking straight down. */
6173
+ "flat-label"?: (HelixHeadlessMap["flatLabel"]) | undefined;
6174
+ /** What screen readers hear when the map is tilted back to looking straight down. */
6175
+ flatLabel?: (HelixHeadlessMap["flatLabel"]) | undefined;
6124
6176
  /** The Hybrid map type's name. */
6125
6177
  "hybrid-label"?: (HelixHeadlessMap["hybridLabel"]) | undefined;
6126
6178
  /** The Hybrid map type's name. */
@@ -6146,6 +6198,26 @@ the standard, themed map. The layers menu chooses it. */
6146
6198
  "map-type-label"?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
6147
6199
  /** The name of the map types in the layers menu, read by screen readers. */
6148
6200
  mapTypeLabel?: (HelixHeadlessMap["mapTypeLabel"]) | undefined;
6201
+ /** What screen readers hear when the map has moved down. */
6202
+ "moved-down-label"?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
6203
+ /** What screen readers hear when the map has moved down. */
6204
+ movedDownLabel?: (HelixHeadlessMap["movedDownLabel"]) | undefined;
6205
+ /** What screen readers hear when the map has moved left. */
6206
+ "moved-left-label"?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
6207
+ /** What screen readers hear when the map has moved left. */
6208
+ movedLeftLabel?: (HelixHeadlessMap["movedLeftLabel"]) | undefined;
6209
+ /** What screen readers hear when the map has moved right. */
6210
+ "moved-right-label"?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
6211
+ /** What screen readers hear when the map has moved right. */
6212
+ movedRightLabel?: (HelixHeadlessMap["movedRightLabel"]) | undefined;
6213
+ /** What screen readers hear when the map has moved up. */
6214
+ "moved-up-label"?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
6215
+ /** What screen readers hear when the map has moved up. */
6216
+ movedUpLabel?: (HelixHeadlessMap["movedUpLabel"]) | undefined;
6217
+ /** What screen readers hear when the map is turned back to face north. */
6218
+ "north-label"?: (HelixHeadlessMap["northLabel"]) | undefined;
6219
+ /** What screen readers hear when the map is turned back to face north. */
6220
+ northLabel?: (HelixHeadlessMap["northLabel"]) | undefined;
6149
6221
  /** How far the map is tilted, in degrees from looking straight down.
6150
6222
  `connectMap` keeps it current, and the 3D button is pressed while it is
6151
6223
  above `0`. */
@@ -6166,10 +6238,32 @@ above `0`. */
6166
6238
  "standard-label"?: (HelixHeadlessMap["standardLabel"]) | undefined;
6167
6239
  /** The Standard map type's name. */
6168
6240
  standardLabel?: (HelixHeadlessMap["standardLabel"]) | undefined;
6241
+ /** What screen readers hear when the map is tilted. `{degrees}` is the tilt
6242
+ from looking straight down. */
6243
+ "tilted-label"?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
6244
+ /** What screen readers hear when the map is tilted. `{degrees}` is the tilt
6245
+ from looking straight down. */
6246
+ tiltedLabel?: (HelixHeadlessMap["tiltedLabel"]) | undefined;
6169
6247
  /** The 3D button's label. */
6170
6248
  "tilt-label"?: (HelixHeadlessMap["tiltLabel"]) | undefined;
6171
6249
  /** The 3D button's label. */
6172
6250
  tiltLabel?: (HelixHeadlessMap["tiltLabel"]) | undefined;
6251
+ /** What screen readers hear when the map is turned. `{degrees}` is the way the
6252
+ top of the map faces, clockwise from north. */
6253
+ "turned-label"?: (HelixHeadlessMap["turnedLabel"]) | undefined;
6254
+ /** What screen readers hear when the map is turned. `{degrees}` is the way the
6255
+ top of the map faces, clockwise from north. */
6256
+ turnedLabel?: (HelixHeadlessMap["turnedLabel"]) | undefined;
6257
+ /** What screen readers hear after a zoom. `{level}` is the zoom level. */
6258
+ "zoomed-label"?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
6259
+ /** What screen readers hear after a zoom. `{level}` is the zoom level. */
6260
+ zoomedLabel?: (HelixHeadlessMap["zoomedLabel"]) | undefined;
6261
+ /** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
6262
+ current, and the map says it after a zoom. */
6263
+ "zoom-level"?: (HelixHeadlessMap["zoomLevel"] | `${number}`) | undefined;
6264
+ /** How far the map is zoomed, in its renderer's levels. `connectMap` keeps it
6265
+ current, and the map says it after a zoom. */
6266
+ zoomLevel?: (HelixHeadlessMap["zoomLevel"]) | undefined;
6173
6267
  /** Which controls to show, as a list such as `pan zoom fullscreen`, or
6174
6268
  `none`. A family can add words of its own.
6175
6269