@fusion.dev/helix-headless 0.52.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/custom-elements.json +680 -283
  2. package/dist/announcement/root/announcement-root.js +2 -5
  3. package/dist/area-chart/root/area-chart-root.d.ts +7 -0
  4. package/dist/area-chart/root/area-chart-root.js +10 -12
  5. package/dist/bar-chart/root/bar-chart-root.js +4 -5
  6. package/dist/blockquote/root/blockquote-root.js +2 -5
  7. package/dist/chat/composer/chat-composer.js +2 -5
  8. package/dist/chat/message/chat-message.js +4 -11
  9. package/dist/chat/root/chat-root.js +1 -1
  10. package/dist/checkbox-group/root/checkbox-group-root.js +1 -1
  11. package/dist/color-input/root/color-input-root.js +1 -1
  12. package/dist/combobox/root/combobox-root.js +1 -1
  13. package/dist/data-table/root/data-table-root.d.ts +0 -10
  14. package/dist/data-table/root/data-table-root.js +4 -10
  15. package/dist/date-input/root/date-input-root.js +1 -1
  16. package/dist/divider/root/divider-root.js +2 -5
  17. package/dist/donut-chart/root/donut-chart-root.js +5 -6
  18. package/dist/drilldown/item/drilldown-item.d.ts +18 -0
  19. package/dist/drilldown/item/drilldown-item.js +3 -0
  20. package/dist/drilldown/root/drilldown-root.d.ts +20 -1
  21. package/dist/drilldown/root/drilldown-root.js +6 -13
  22. package/dist/file-input/root/file-input-root.js +2 -2
  23. package/dist/filter-input/root/filter-input-root.js +1 -1
  24. package/dist/heatmap/root/buckets.d.ts +2 -2
  25. package/dist/heatmap/root/buckets.js +3 -4
  26. package/dist/heatmap/root/heatmap-root.d.ts +0 -10
  27. package/dist/heatmap/root/heatmap-root.js +2 -8
  28. package/dist/input/root/input-root.js +1 -1
  29. package/dist/line-chart/root/line-chart-root.d.ts +6 -0
  30. package/dist/line-chart/root/line-chart-root.js +15 -17
  31. package/dist/listbox/root/listbox-root.js +1 -1
  32. package/dist/menu/item/menu-item.js +2 -2
  33. package/dist/notifications/notification/notification.d.ts +3 -9
  34. package/dist/notifications/notification/notification.js +3 -11
  35. package/dist/notifications/root/notifications-root.d.ts +0 -10
  36. package/dist/notifications/root/notifications-root.js +3 -9
  37. package/dist/number-input/root/number-input-root.js +2 -2
  38. package/dist/qr-code/root/qr-code-root.d.ts +8 -6
  39. package/dist/qr-code/root/qr-code-root.js +2 -3
  40. package/dist/radio/root/radio-root.d.ts +4 -36
  41. package/dist/radio/root/radio-root.js +2 -27
  42. package/dist/scatter-chart/root/scatter-chart-root.js +10 -11
  43. package/dist/select/root/select-root.js +1 -1
  44. package/dist/slider/root/slider-root.js +1 -1
  45. package/dist/sparkline/root/sparkline-root.d.ts +6 -0
  46. package/dist/sparkline/root/sparkline-root.js +10 -12
  47. package/dist/switch/root/switch-root.js +2 -5
  48. package/dist/tabs/tab/tab.d.ts +5 -34
  49. package/dist/tabs/tab/tab.js +3 -28
  50. package/dist/textarea/root/textarea-root.js +1 -1
  51. package/dist/time-input/root/time-input-root.js +1 -1
  52. package/dist/toggle/root/toggle-root.d.ts +4 -40
  53. package/dist/toggle/root/toggle-root.js +2 -27
  54. package/dist/tree/item/tree-item.js +2 -2
  55. package/dist/video/root/video-root.js +7 -14
  56. package/package.json +5 -5
  57. package/types/jsx.d.ts +302 -100
  58. package/types/vue.d.ts +65 -24
package/types/jsx.d.ts CHANGED
@@ -756,7 +756,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
756
756
  at a moment and is ordered the way `straight` is.
757
757
 
758
758
  Absent rather than defaulted because a reflecting property with a default
759
- writes its attribute onto every host, including the ones nobody configured. */
759
+ writes its attribute onto every host, including the ones nobody configured.
760
+ The resting value therefore lives in the render, as `curve ?? 'straight'`.
761
+
762
+ **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
763
+ line claims a position, so the bounded invention a monotone cubic makes is
764
+ a reading aid and costs nothing. A band claims an amount, and two sums
765
+ smoothed independently can cross, so the same aid here draws a part as less
766
+ than nothing. Same axis, different mark, different resting value. */
760
767
  curve?: (HelixHeadlessAreaChart["curve"]) | undefined;
761
768
  /** Which rules are drawn across the plot, if any.
762
769
 
@@ -799,7 +806,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
799
806
  at a moment and is ordered the way `straight` is.
800
807
 
801
808
  Absent rather than defaulted because a reflecting property with a default
802
- writes its attribute onto every host, including the ones nobody configured. */
809
+ writes its attribute onto every host, including the ones nobody configured.
810
+ The resting value therefore lives in the render, as `curve ?? 'straight'`.
811
+
812
+ **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
813
+ line claims a position, so the bounded invention a monotone cubic makes is
814
+ a reading aid and costs nothing. A band claims an amount, and two sums
815
+ smoothed independently can cross, so the same aid here draws a part as less
816
+ than nothing. Same axis, different mark, different resting value. */
803
817
  "prop:curve"?: (HelixHeadlessAreaChart["curve"]) | undefined;
804
818
  /** Which rules are drawn across the plot, if any.
805
819
 
@@ -8494,7 +8508,13 @@ renders, including the ones nobody configured.
8494
8508
  consumer wrote. The default therefore lives where the path is built, as
8495
8509
  `curve ?? 'smooth'`.
8496
8510
 
8497
- `step` claims the opposite of both, that a reading holds until the next. */
8511
+ `step` claims the opposite of both, that a reading holds until the next.
8512
+
8513
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
8514
+ position and a stacked band claims an amount: a curve fitted through one
8515
+ sum can pass under the curve fitted through the sum beneath it, so a
8516
+ smoothed stack can draw a part as less than nothing. There is no such edge
8517
+ here, which is what lets a line take the reading aid. */
8498
8518
  curve?: (HelixHeadlessLineChart["curve"]) | undefined;
8499
8519
  /** Which rules are drawn across the plot, if any.
8500
8520
 
@@ -8599,7 +8619,13 @@ renders, including the ones nobody configured.
8599
8619
  consumer wrote. The default therefore lives where the path is built, as
8600
8620
  `curve ?? 'smooth'`.
8601
8621
 
8602
- `step` claims the opposite of both, that a reading holds until the next. */
8622
+ `step` claims the opposite of both, that a reading holds until the next.
8623
+
8624
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
8625
+ position and a stacked band claims an amount: a curve fitted through one
8626
+ sum can pass under the curve fitted through the sum beneath it, so a
8627
+ smoothed stack can draw a part as less than nothing. There is no such edge
8628
+ here, which is what lets a line take the reading aid. */
8603
8629
  "prop:curve"?: (HelixHeadlessLineChart["curve"]) | undefined;
8604
8630
  /** Which rules are drawn across the plot, if any.
8605
8631
 
@@ -9979,16 +10005,26 @@ declaration. `:state(read)` is what the stylesheet reads.
9979
10005
  "default-read"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
9980
10006
  /** State to open with, where nothing declared one. */
9981
10007
  defaultRead?: (HelixHeadlessNotification["defaultRead"]) | undefined;
9982
- /** Whether a reader may remove it. */
9983
- dismissible?: (HelixHeadlessNotification["dismissible"]) | undefined;
9984
- /** Accessible name for the dismiss control. */
9985
- "dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
9986
- /** Accessible name for the dismiss control. */
9987
- dismissLabel?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
9988
10008
  /** Locale for the timestamp.
9989
10009
 
9990
10010
  Empty is the runtime's own. */
9991
10011
  locale?: (HelixHeadlessNotification["locale"]) | undefined;
10012
+ /** Whether it offers a control to take it away. */
10013
+ dismissible?: (HelixHeadlessNotification["dismissible"]) | undefined;
10014
+ /** Accessible name for that control.
10015
+
10016
+ `attribute` is spelled out because Lit lowercases a property name to
10017
+ derive one rather than dash-casing it, so this would otherwise be
10018
+ reachable only as `dismisslabel`, which nobody would guess and no linter
10019
+ would catch. */
10020
+ "dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
10021
+ /** Accessible name for that control.
10022
+
10023
+ `attribute` is spelled out because Lit lowercases a property name to
10024
+ derive one rather than dash-casing it, so this would otherwise be
10025
+ reachable only as `dismisslabel`, which nobody would guess and no linter
10026
+ would catch. */
10027
+ dismissLabel?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
9992
10028
 
9993
10029
  /** Fired when a reader asks to remove it, and cancelable. */
9994
10030
  "onhelix-dismiss"?: ((
@@ -10024,16 +10060,26 @@ declaration. `:state(read)` is what the stylesheet reads.
10024
10060
  "bool:default-read"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
10025
10061
  /** State to open with, where nothing declared one. */
10026
10062
  "prop:defaultRead"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
10027
- /** Whether a reader may remove it. */
10028
- "prop:dismissible"?: (HelixHeadlessNotification["dismissible"]) | undefined;
10029
- /** Accessible name for the dismiss control. */
10030
- "attr:dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
10031
- /** Accessible name for the dismiss control. */
10032
- "prop:dismissLabel"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
10033
10063
  /** Locale for the timestamp.
10034
10064
 
10035
10065
  Empty is the runtime's own. */
10036
10066
  "prop:locale"?: (HelixHeadlessNotification["locale"]) | undefined;
10067
+ /** Whether it offers a control to take it away. */
10068
+ "prop:dismissible"?: (HelixHeadlessNotification["dismissible"]) | undefined;
10069
+ /** Accessible name for that control.
10070
+
10071
+ `attribute` is spelled out because Lit lowercases a property name to
10072
+ derive one rather than dash-casing it, so this would otherwise be
10073
+ reachable only as `dismisslabel`, which nobody would guess and no linter
10074
+ would catch. */
10075
+ "attr:dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
10076
+ /** Accessible name for that control.
10077
+
10078
+ `attribute` is spelled out because Lit lowercases a property name to
10079
+ derive one rather than dash-casing it, so this would otherwise be
10080
+ reachable only as `dismisslabel`, which nobody would guess and no linter
10081
+ would catch. */
10082
+ "prop:dismissLabel"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
10037
10083
  /** Fired when a reader asks to remove it, and cancelable. */
10038
10084
  "on:helix-dismiss"?: ((
10039
10085
  e: HelixHeadlessNotificationHelixDismissElementEvent,
@@ -11780,11 +11826,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
11780
11826
  label?: (HelixHeadlessQrCode["label"]) | undefined;
11781
11827
  /** How the modules are drawn.
11782
11828
 
11783
- `square` is the default and the only one that joins runs of adjacent
11784
- modules into a single subpath, which is what keeps a thousand modules to a
11785
- handful of nodes. `rounded` and `dots` draw each module on its own, because
11786
- the corners are the thing being drawn and a joined run has none in the
11787
- middle. That cost is paid only by a code that asks for them.
11829
+ `square` is the resting state and is written by not writing it, per the
11830
+ rule that a reflected property takes no default. It is also the only one
11831
+ that joins runs of adjacent modules into a single subpath, which is what
11832
+ keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
11833
+ each module on its own, because the corners are the thing being drawn and a
11834
+ joined run has none in the middle. That cost is paid only by a code that
11835
+ asks for them.
11788
11836
 
11789
11837
  A scanner reads contrast between cells, not their shape, so all three
11790
11838
  scan. `dots` sits a little under half a module so neighbors do not touch,
@@ -11810,11 +11858,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
11810
11858
  "prop:label"?: (HelixHeadlessQrCode["label"]) | undefined;
11811
11859
  /** How the modules are drawn.
11812
11860
 
11813
- `square` is the default and the only one that joins runs of adjacent
11814
- modules into a single subpath, which is what keeps a thousand modules to a
11815
- handful of nodes. `rounded` and `dots` draw each module on its own, because
11816
- the corners are the thing being drawn and a joined run has none in the
11817
- middle. That cost is paid only by a code that asks for them.
11861
+ `square` is the resting state and is written by not writing it, per the
11862
+ rule that a reflected property takes no default. It is also the only one
11863
+ that joins runs of adjacent modules into a single subpath, which is what
11864
+ keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
11865
+ each module on its own, because the corners are the thing being drawn and a
11866
+ joined run has none in the middle. That cost is paid only by a code that
11867
+ asks for them.
11818
11868
 
11819
11869
  A scanner reads contrast between cells, not their shape, so all three
11820
11870
  scan. `dots` sits a little under half a module so neighbors do not touch,
@@ -12010,13 +12060,15 @@ export type HelixHeadlessRadioHelixSelectElementEvent =
12010
12060
  HelixHeadlessRadioElementEvent<HelixSelectEvent>;
12011
12061
 
12012
12062
  export type HelixHeadlessRadioProps = {
12013
- /** Whether this choice can be made. */
12063
+ /** Whether this one can be chosen. */
12014
12064
  disabled?: (HelixHeadlessRadio["disabled"]) | undefined;
12015
- /** Whether this is the current choice.
12065
+ /** Whether this is the current one.
12016
12066
 
12017
- Written by the group. */
12067
+ Written by the set rather than by a consumer, which is why it takes no
12068
+ default from an attribute here: a family whose selection a consumer
12069
+ declares in markup carries `defaultSelected` of its own to say so. */
12018
12070
  selected?: (HelixHeadlessRadio["selected"]) | undefined;
12019
- /** Identifies this choice to the group, and is what the form submits. */
12071
+ /** Identifies this one to the set, and is what a form submits. */
12020
12072
  value?: (HelixHeadlessRadio["value"]) | undefined;
12021
12073
  /** Whether the markup declared this one chosen, which is what a reset returns to.
12022
12074
 
@@ -12065,13 +12117,15 @@ same reason. */
12065
12117
  };
12066
12118
 
12067
12119
  export type HelixHeadlessRadioSolidJsProps = {
12068
- /** Whether this choice can be made. */
12120
+ /** Whether this one can be chosen. */
12069
12121
  "prop:disabled"?: (HelixHeadlessRadio["disabled"]) | undefined;
12070
- /** Whether this is the current choice.
12122
+ /** Whether this is the current one.
12071
12123
 
12072
- Written by the group. */
12124
+ Written by the set rather than by a consumer, which is why it takes no
12125
+ default from an attribute here: a family whose selection a consumer
12126
+ declares in markup carries `defaultSelected` of its own to say so. */
12073
12127
  "prop:selected"?: (HelixHeadlessRadio["selected"]) | undefined;
12074
- /** Identifies this choice to the group, and is what the form submits. */
12128
+ /** Identifies this one to the set, and is what a form submits. */
12075
12129
  "prop:value"?: (HelixHeadlessRadio["value"]) | undefined;
12076
12130
  /** Whether the markup declared this one chosen, which is what a reset returns to.
12077
12131
 
@@ -13066,7 +13120,13 @@ assert against. So the resting state is still the attribute's absence, and
13066
13120
  `curve ?? 'smooth'` is what reads it.
13067
13121
 
13068
13122
  `step` claims the opposite of both, that a reading holds until the next.
13069
- Bars ignore it, having no between to interpolate. */
13123
+ Bars ignore it, having no between to interpolate.
13124
+
13125
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
13126
+ position and a stacked band claims an amount: a curve fitted through one
13127
+ sum can pass under the curve fitted through the sum beneath it, so a
13128
+ smoothed stack can draw a part as less than nothing. There is no such edge
13129
+ here, which is what lets a line take the reading aid. */
13070
13130
  curve?: (HelixHeadlessSparkline["curve"]) | undefined;
13071
13131
  /** The id of a table to read instead, when there is one behind the line.
13072
13132
 
@@ -13141,7 +13201,13 @@ assert against. So the resting state is still the attribute's absence, and
13141
13201
  `curve ?? 'smooth'` is what reads it.
13142
13202
 
13143
13203
  `step` claims the opposite of both, that a reading holds until the next.
13144
- Bars ignore it, having no between to interpolate. */
13204
+ Bars ignore it, having no between to interpolate.
13205
+
13206
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
13207
+ position and a stacked band claims an amount: a curve fitted through one
13208
+ sum can pass under the curve fitted through the sum beneath it, so a
13209
+ smoothed stack can draw a part as less than nothing. There is no such edge
13210
+ here, which is what lets a line take the reading aid. */
13145
13211
  "prop:curve"?: (HelixHeadlessSparkline["curve"]) | undefined;
13146
13212
  /** The id of a table to read instead, when there is one behind the line.
13147
13213
 
@@ -14474,11 +14540,15 @@ export type HelixHeadlessTabHelixSelectElementEvent =
14474
14540
  HelixHeadlessTabElementEvent<HelixSelectEvent>;
14475
14541
 
14476
14542
  export type HelixHeadlessTabProps = {
14477
- /** Whether the tab can be chosen. */
14543
+ /** Whether this one can be chosen. */
14478
14544
  disabled?: (HelixHeadlessTab["disabled"]) | undefined;
14479
- /** Whether this tab is the current one. */
14545
+ /** Whether this is the current one.
14546
+
14547
+ Written by the set rather than by a consumer, which is why it takes no
14548
+ default from an attribute here: a family whose selection a consumer
14549
+ declares in markup carries `defaultSelected` of its own to say so. */
14480
14550
  selected?: (HelixHeadlessTab["selected"]) | undefined;
14481
- /** Identifies the tab, and pairs it with the panel of the same value. */
14551
+ /** Identifies this one to the set, and is what a form submits. */
14482
14552
  value?: (HelixHeadlessTab["value"]) | undefined;
14483
14553
 
14484
14554
  /** Fired when the tab is chosen. Cancelable: refusing it takes the decision and nothing moves. */
@@ -14486,11 +14556,15 @@ export type HelixHeadlessTabProps = {
14486
14556
  };
14487
14557
 
14488
14558
  export type HelixHeadlessTabSolidJsProps = {
14489
- /** Whether the tab can be chosen. */
14559
+ /** Whether this one can be chosen. */
14490
14560
  "prop:disabled"?: (HelixHeadlessTab["disabled"]) | undefined;
14491
- /** Whether this tab is the current one. */
14561
+ /** Whether this is the current one.
14562
+
14563
+ Written by the set rather than by a consumer, which is why it takes no
14564
+ default from an attribute here: a family whose selection a consumer
14565
+ declares in markup carries `defaultSelected` of its own to say so. */
14492
14566
  "prop:selected"?: (HelixHeadlessTab["selected"]) | undefined;
14493
- /** Identifies the tab, and pairs it with the panel of the same value. */
14567
+ /** Identifies this one to the set, and is what a form submits. */
14494
14568
  "prop:value"?: (HelixHeadlessTab["value"]) | undefined;
14495
14569
  /** Fired when the tab is chosen. Cancelable: refusing it takes the decision and nothing moves. */
14496
14570
  "on:helix-select"?: ((e: HelixHeadlessTabHelixSelectElementEvent) => void) | undefined;
@@ -16013,11 +16087,15 @@ export type HelixHeadlessToggleHelixSelectElementEvent =
16013
16087
  HelixHeadlessToggleElementEvent<HelixSelectEvent>;
16014
16088
 
16015
16089
  export type HelixHeadlessToggleProps = {
16016
- /** Whether the item can be chosen. */
16090
+ /** Whether this one can be chosen. */
16017
16091
  disabled?: (HelixHeadlessToggle["disabled"]) | undefined;
16018
- /** Whether this item is the current one. */
16092
+ /** Whether this is the current one.
16093
+
16094
+ Written by the set rather than by a consumer, which is why it takes no
16095
+ default from an attribute here: a family whose selection a consumer
16096
+ declares in markup carries `defaultSelected` of its own to say so. */
16019
16097
  selected?: (HelixHeadlessToggle["selected"]) | undefined;
16020
- /** Identifies the item to the group. */
16098
+ /** Identifies this one to the set, and is what a form submits. */
16021
16099
  value?: (HelixHeadlessToggle["value"]) | undefined;
16022
16100
  /** Whether the markup declared this one chosen, which is what a reset returns to.
16023
16101
 
@@ -16059,11 +16137,15 @@ hydration reports and does not patch up. */
16059
16137
  };
16060
16138
 
16061
16139
  export type HelixHeadlessToggleSolidJsProps = {
16062
- /** Whether the item can be chosen. */
16140
+ /** Whether this one can be chosen. */
16063
16141
  "prop:disabled"?: (HelixHeadlessToggle["disabled"]) | undefined;
16064
- /** Whether this item is the current one. */
16142
+ /** Whether this is the current one.
16143
+
16144
+ Written by the set rather than by a consumer, which is why it takes no
16145
+ default from an attribute here: a family whose selection a consumer
16146
+ declares in markup carries `defaultSelected` of its own to say so. */
16065
16147
  "prop:selected"?: (HelixHeadlessToggle["selected"]) | undefined;
16066
- /** Identifies the item to the group. */
16148
+ /** Identifies this one to the set, and is what a form submits. */
16067
16149
  "prop:value"?: (HelixHeadlessToggle["value"]) | undefined;
16068
16150
  /** Whether the markup declared this one chosen, which is what a reset returns to.
16069
16151
 
@@ -18202,6 +18284,13 @@ export type CustomElements = {
18202
18284
  *
18203
18285
  * Absent rather than defaulted because a reflecting property with a default
18204
18286
  * writes its attribute onto every host, including the ones nobody configured.
18287
+ * The resting value therefore lives in the render, as `curve ?? 'straight'`.
18288
+ *
18289
+ * **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
18290
+ * line claims a position, so the bounded invention a monotone cubic makes is
18291
+ * a reading aid and costs nothing. A band claims an amount, and two sums
18292
+ * smoothed independently can cross, so the same aid here draws a part as less
18293
+ * than nothing. Same axis, different mark, different resting value.
18205
18294
  * - `gridlines`: Which rules are drawn across the plot, if any.
18206
18295
  *
18207
18296
  * The same three values `LineChart` takes, with the same fallback: a bare
@@ -23472,6 +23561,21 @@ export type CustomElements = {
23472
23561
  * - `showingPage`: Whether this row's own page is the one showing.
23473
23562
  *
23474
23563
  * Written by the stack. (property only)
23564
+ * - `selected`: Whether this is the row the set is on, which in a drill-down is where focus
23565
+ * is.
23566
+ *
23567
+ * A radio group's selection is an answer it holds; a page of rows has no
23568
+ * answer, only the row a reader has walked to, so focus is the whole of what
23569
+ * "the current one" can mean here. This is `Menu.Item`'s reading word for
23570
+ * word, and the two are one pattern: a menu that drills and a drill-down are
23571
+ * the same rows through the same controller.
23572
+ *
23573
+ * Asked of the document rather than of the shadow root. `focusItem` puts
23574
+ * focus on the control inside this row and the platform retargets it, so from
23575
+ * outside the shadow tree `activeElement` is this element already and nothing
23576
+ * has to walk a tree. `ShadowRoot.activeElement` is also the reading that does
23577
+ * not survive happy-dom, which climbs `getRootNode()` to the top and then
23578
+ * dereferences what it ran out of. (property only) (readonly)
23475
23579
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
23476
23580
  *
23477
23581
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -25934,6 +26038,12 @@ export type CustomElements = {
25934
26038
  * `curve ?? 'smooth'`.
25935
26039
  *
25936
26040
  * `step` claims the opposite of both, that a reading holds until the next.
26041
+ *
26042
+ * **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
26043
+ * position and a stacked band claims an amount: a curve fitted through one
26044
+ * sum can pass under the curve fitted through the sum beneath it, so a
26045
+ * smoothed stack can draw a part as less than nothing. There is no such edge
26046
+ * here, which is what lets a line take the reading aid.
25937
26047
  * - `gridlines`: Which rules are drawn across the plot, if any.
25938
26048
  *
25939
26049
  * Absent draws none, which is the honest default rather than a timid one: a
@@ -27449,11 +27559,16 @@ export type CustomElements = {
27449
27559
  * declaration. `:state(read)` is what the stylesheet reads.
27450
27560
  * `hydration.dom.spec.ts` holds it.
27451
27561
  * - `default-read`/`defaultRead`: State to open with, where nothing declared one.
27452
- * - `dismissible`: Whether a reader may remove it.
27453
- * - `dismiss-label`/`dismissLabel`: Accessible name for the dismiss control.
27454
27562
  * - `locale`: Locale for the timestamp.
27455
27563
  *
27456
27564
  * Empty is the runtime's own.
27565
+ * - `dismissible`: Whether it offers a control to take it away.
27566
+ * - `dismiss-label`/`dismissLabel`: Accessible name for that control.
27567
+ *
27568
+ * `attribute` is spelled out because Lit lowercases a property name to
27569
+ * derive one rather than dash-casing it, so this would otherwise be
27570
+ * reachable only as `dismisslabel`, which nobody would guess and no linter
27571
+ * would catch.
27457
27572
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
27458
27573
  *
27459
27574
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -27502,6 +27617,7 @@ export type CustomElements = {
27502
27617
  * Public because a consumer's own control is as likely to ask as this
27503
27618
  * element's own markup is, and because a list marking everything read has to
27504
27619
  * go through the same request rather than writing the property behind it.
27620
+ * - `dismiss() => boolean`: Announces that it should go, and reports whether the request stood.
27505
27621
  *
27506
27622
  * ## CSS Parts
27507
27623
  *
@@ -29288,11 +29404,13 @@ export type CustomElements = {
29288
29404
  * and a URL is a better name than "QR code" for a reader who cannot see it.
29289
29405
  * - `shape`: How the modules are drawn.
29290
29406
  *
29291
- * `square` is the default and the only one that joins runs of adjacent
29292
- * modules into a single subpath, which is what keeps a thousand modules to a
29293
- * handful of nodes. `rounded` and `dots` draw each module on its own, because
29294
- * the corners are the thing being drawn and a joined run has none in the
29295
- * middle. That cost is paid only by a code that asks for them.
29407
+ * `square` is the resting state and is written by not writing it, per the
29408
+ * rule that a reflected property takes no default. It is also the only one
29409
+ * that joins runs of adjacent modules into a single subpath, which is what
29410
+ * keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
29411
+ * each module on its own, because the corners are the thing being drawn and a
29412
+ * joined run has none in the middle. That cost is paid only by a code that
29413
+ * asks for them.
29296
29414
  *
29297
29415
  * A scanner reads contrast between cells, not their shape, so all three
29298
29416
  * scan. `dots` sits a little under half a module so neighbors do not touch,
@@ -29606,11 +29724,13 @@ export type CustomElements = {
29606
29724
  *
29607
29725
  * Component attributes and properties that can be applied to the element or by using JavaScript.
29608
29726
  *
29609
- * - `disabled`: Whether this choice can be made.
29610
- * - `selected`: Whether this is the current choice.
29727
+ * - `disabled`: Whether this one can be chosen.
29728
+ * - `selected`: Whether this is the current one.
29611
29729
  *
29612
- * Written by the group.
29613
- * - `value`: Identifies this choice to the group, and is what the form submits.
29730
+ * Written by the set rather than by a consumer, which is why it takes no
29731
+ * default from an attribute here: a family whose selection a consumer
29732
+ * declares in markup carries `defaultSelected` of its own to say so.
29733
+ * - `value`: Identifies this one to the set, and is what a form submits.
29614
29734
  * - `defaultSelected`: Whether the markup declared this one chosen, which is what a reset returns to.
29615
29735
  *
29616
29736
  * `<option selected>` reflects to `defaultSelected` and `option.selected` is
@@ -29688,8 +29808,12 @@ export type CustomElements = {
29688
29808
  *
29689
29809
  * Methods that can be called to access component functionality.
29690
29810
  *
29691
- * - `focusItem() => void`: Moves focus to this choice, for the group's arrow keys.
29692
- * - `select() => void`: Makes this choice and announces it.
29811
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
29812
+ *
29813
+ * The set drives the keys and cannot reach the control itself, which is
29814
+ * inside this shadow root, so the intent is a method and the internals stay
29815
+ * the item's.
29816
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
29693
29817
  *
29694
29818
  * ## CSS Parts
29695
29819
  *
@@ -30866,6 +30990,12 @@ export type CustomElements = {
30866
30990
  *
30867
30991
  * `step` claims the opposite of both, that a reading holds until the next.
30868
30992
  * Bars ignore it, having no between to interpolate.
30993
+ *
30994
+ * **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
30995
+ * position and a stacked band claims an amount: a curve fitted through one
30996
+ * sum can pass under the curve fitted through the sum beneath it, so a
30997
+ * smoothed stack can draw a part as less than nothing. There is no such edge
30998
+ * here, which is what lets a line take the reading aid.
30869
30999
  * - `for`: The id of a table to read instead, when there is one behind the line.
30870
31000
  *
30871
31001
  * The first column of numbers is the series drawn. This wins over `values`,
@@ -32467,9 +32597,13 @@ export type CustomElements = {
32467
32597
  *
32468
32598
  * Component attributes and properties that can be applied to the element or by using JavaScript.
32469
32599
  *
32470
- * - `disabled`: Whether the tab can be chosen.
32471
- * - `selected`: Whether this tab is the current one.
32472
- * - `value`: Identifies the tab, and pairs it with the panel of the same value.
32600
+ * - `disabled`: Whether this one can be chosen.
32601
+ * - `selected`: Whether this is the current one.
32602
+ *
32603
+ * Written by the set rather than by a consumer, which is why it takes no
32604
+ * default from an attribute here: a family whose selection a consumer
32605
+ * declares in markup carries `defaultSelected` of its own to say so.
32606
+ * - `value`: Identifies this one to the set, and is what a form submits.
32473
32607
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
32474
32608
  *
32475
32609
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -32507,8 +32641,12 @@ export type CustomElements = {
32507
32641
  *
32508
32642
  * Methods that can be called to access component functionality.
32509
32643
  *
32510
- * - `focusItem() => void`: Moves focus to this tab, for the list's arrow keys.
32511
- * - `select() => void`: Selects this tab and announces it.
32644
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
32645
+ *
32646
+ * The set drives the keys and cannot reach the control itself, which is
32647
+ * inside this shadow root, so the intent is a method and the internals stay
32648
+ * the item's.
32649
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
32512
32650
  *
32513
32651
  * ## CSS Parts
32514
32652
  *
@@ -33978,9 +34116,13 @@ export type CustomElements = {
33978
34116
  *
33979
34117
  * Component attributes and properties that can be applied to the element or by using JavaScript.
33980
34118
  *
33981
- * - `disabled`: Whether the item can be chosen.
33982
- * - `selected`: Whether this item is the current one.
33983
- * - `value`: Identifies the item to the group.
34119
+ * - `disabled`: Whether this one can be chosen.
34120
+ * - `selected`: Whether this is the current one.
34121
+ *
34122
+ * Written by the set rather than by a consumer, which is why it takes no
34123
+ * default from an attribute here: a family whose selection a consumer
34124
+ * declares in markup carries `defaultSelected` of its own to say so.
34125
+ * - `value`: Identifies this one to the set, and is what a form submits.
33984
34126
  * - `defaultSelected`: Whether the markup declared this one chosen, which is what a reset returns to.
33985
34127
  *
33986
34128
  * `<option selected>` reflects to `defaultSelected` and `option.selected` is
@@ -34050,12 +34192,12 @@ export type CustomElements = {
34050
34192
  *
34051
34193
  * Methods that can be called to access component functionality.
34052
34194
  *
34053
- * - `focusItem() => void`: Moves focus to this item's own control.
34195
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
34054
34196
  *
34055
- * The group drives arrow-key navigation and cannot reach the control itself,
34056
- * which is inside this shadow root. Exposing the intent as a method keeps the
34057
- * group out of the child's internals.
34058
- * - `select() => void`: Chooses this item and announces it.
34197
+ * The set drives the keys and cannot reach the control itself, which is
34198
+ * inside this shadow root, so the intent is a method and the internals stay
34199
+ * the item's.
34200
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
34059
34201
  *
34060
34202
  * ## CSS Parts
34061
34203
  *
@@ -36093,6 +36235,13 @@ export type CustomElementsSolidJs = {
36093
36235
  *
36094
36236
  * Absent rather than defaulted because a reflecting property with a default
36095
36237
  * writes its attribute onto every host, including the ones nobody configured.
36238
+ * The resting value therefore lives in the render, as `curve ?? 'straight'`.
36239
+ *
36240
+ * **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
36241
+ * line claims a position, so the bounded invention a monotone cubic makes is
36242
+ * a reading aid and costs nothing. A band claims an amount, and two sums
36243
+ * smoothed independently can cross, so the same aid here draws a part as less
36244
+ * than nothing. Same axis, different mark, different resting value.
36096
36245
  * - `gridlines`: Which rules are drawn across the plot, if any.
36097
36246
  *
36098
36247
  * The same three values `LineChart` takes, with the same fallback: a bare
@@ -41435,6 +41584,21 @@ export type CustomElementsSolidJs = {
41435
41584
  * - `showingPage`: Whether this row's own page is the one showing.
41436
41585
  *
41437
41586
  * Written by the stack. (property only)
41587
+ * - `selected`: Whether this is the row the set is on, which in a drill-down is where focus
41588
+ * is.
41589
+ *
41590
+ * A radio group's selection is an answer it holds; a page of rows has no
41591
+ * answer, only the row a reader has walked to, so focus is the whole of what
41592
+ * "the current one" can mean here. This is `Menu.Item`'s reading word for
41593
+ * word, and the two are one pattern: a menu that drills and a drill-down are
41594
+ * the same rows through the same controller.
41595
+ *
41596
+ * Asked of the document rather than of the shadow root. `focusItem` puts
41597
+ * focus on the control inside this row and the platform retargets it, so from
41598
+ * outside the shadow tree `activeElement` is this element already and nothing
41599
+ * has to walk a tree. `ShadowRoot.activeElement` is also the reading that does
41600
+ * not survive happy-dom, which climbs `getRootNode()` to the top and then
41601
+ * dereferences what it ran out of. (property only) (readonly)
41438
41602
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
41439
41603
  *
41440
41604
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -43932,6 +44096,12 @@ export type CustomElementsSolidJs = {
43932
44096
  * `curve ?? 'smooth'`.
43933
44097
  *
43934
44098
  * `step` claims the opposite of both, that a reading holds until the next.
44099
+ *
44100
+ * **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
44101
+ * position and a stacked band claims an amount: a curve fitted through one
44102
+ * sum can pass under the curve fitted through the sum beneath it, so a
44103
+ * smoothed stack can draw a part as less than nothing. There is no such edge
44104
+ * here, which is what lets a line take the reading aid.
43935
44105
  * - `gridlines`: Which rules are drawn across the plot, if any.
43936
44106
  *
43937
44107
  * Absent draws none, which is the honest default rather than a timid one: a
@@ -45476,11 +45646,16 @@ export type CustomElementsSolidJs = {
45476
45646
  * declaration. `:state(read)` is what the stylesheet reads.
45477
45647
  * `hydration.dom.spec.ts` holds it.
45478
45648
  * - `default-read`/`defaultRead`: State to open with, where nothing declared one.
45479
- * - `dismissible`: Whether a reader may remove it.
45480
- * - `dismiss-label`/`dismissLabel`: Accessible name for the dismiss control.
45481
45649
  * - `locale`: Locale for the timestamp.
45482
45650
  *
45483
45651
  * Empty is the runtime's own.
45652
+ * - `dismissible`: Whether it offers a control to take it away.
45653
+ * - `dismiss-label`/`dismissLabel`: Accessible name for that control.
45654
+ *
45655
+ * `attribute` is spelled out because Lit lowercases a property name to
45656
+ * derive one rather than dash-casing it, so this would otherwise be
45657
+ * reachable only as `dismisslabel`, which nobody would guess and no linter
45658
+ * would catch.
45484
45659
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
45485
45660
  *
45486
45661
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -45529,6 +45704,7 @@ export type CustomElementsSolidJs = {
45529
45704
  * Public because a consumer's own control is as likely to ask as this
45530
45705
  * element's own markup is, and because a list marking everything read has to
45531
45706
  * go through the same request rather than writing the property behind it.
45707
+ * - `dismiss() => boolean`: Announces that it should go, and reports whether the request stood.
45532
45708
  *
45533
45709
  * ## CSS Parts
45534
45710
  *
@@ -47338,11 +47514,13 @@ export type CustomElementsSolidJs = {
47338
47514
  * and a URL is a better name than "QR code" for a reader who cannot see it.
47339
47515
  * - `shape`: How the modules are drawn.
47340
47516
  *
47341
- * `square` is the default and the only one that joins runs of adjacent
47342
- * modules into a single subpath, which is what keeps a thousand modules to a
47343
- * handful of nodes. `rounded` and `dots` draw each module on its own, because
47344
- * the corners are the thing being drawn and a joined run has none in the
47345
- * middle. That cost is paid only by a code that asks for them.
47517
+ * `square` is the resting state and is written by not writing it, per the
47518
+ * rule that a reflected property takes no default. It is also the only one
47519
+ * that joins runs of adjacent modules into a single subpath, which is what
47520
+ * keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
47521
+ * each module on its own, because the corners are the thing being drawn and a
47522
+ * joined run has none in the middle. That cost is paid only by a code that
47523
+ * asks for them.
47346
47524
  *
47347
47525
  * A scanner reads contrast between cells, not their shape, so all three
47348
47526
  * scan. `dots` sits a little under half a module so neighbors do not touch,
@@ -47663,11 +47841,13 @@ export type CustomElementsSolidJs = {
47663
47841
  *
47664
47842
  * Component attributes and properties that can be applied to the element or by using JavaScript.
47665
47843
  *
47666
- * - `disabled`: Whether this choice can be made.
47667
- * - `selected`: Whether this is the current choice.
47844
+ * - `disabled`: Whether this one can be chosen.
47845
+ * - `selected`: Whether this is the current one.
47668
47846
  *
47669
- * Written by the group.
47670
- * - `value`: Identifies this choice to the group, and is what the form submits.
47847
+ * Written by the set rather than by a consumer, which is why it takes no
47848
+ * default from an attribute here: a family whose selection a consumer
47849
+ * declares in markup carries `defaultSelected` of its own to say so.
47850
+ * - `value`: Identifies this one to the set, and is what a form submits.
47671
47851
  * - `defaultSelected`: Whether the markup declared this one chosen, which is what a reset returns to.
47672
47852
  *
47673
47853
  * `<option selected>` reflects to `defaultSelected` and `option.selected` is
@@ -47745,8 +47925,12 @@ export type CustomElementsSolidJs = {
47745
47925
  *
47746
47926
  * Methods that can be called to access component functionality.
47747
47927
  *
47748
- * - `focusItem() => void`: Moves focus to this choice, for the group's arrow keys.
47749
- * - `select() => void`: Makes this choice and announces it.
47928
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
47929
+ *
47930
+ * The set drives the keys and cannot reach the control itself, which is
47931
+ * inside this shadow root, so the intent is a method and the internals stay
47932
+ * the item's.
47933
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
47750
47934
  *
47751
47935
  * ## CSS Parts
47752
47936
  *
@@ -48943,6 +49127,12 @@ export type CustomElementsSolidJs = {
48943
49127
  *
48944
49128
  * `step` claims the opposite of both, that a reading holds until the next.
48945
49129
  * Bars ignore it, having no between to interpolate.
49130
+ *
49131
+ * **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
49132
+ * position and a stacked band claims an amount: a curve fitted through one
49133
+ * sum can pass under the curve fitted through the sum beneath it, so a
49134
+ * smoothed stack can draw a part as less than nothing. There is no such edge
49135
+ * here, which is what lets a line take the reading aid.
48946
49136
  * - `for`: The id of a table to read instead, when there is one behind the line.
48947
49137
  *
48948
49138
  * The first column of numbers is the series drawn. This wins over `values`,
@@ -50585,9 +50775,13 @@ export type CustomElementsSolidJs = {
50585
50775
  *
50586
50776
  * Component attributes and properties that can be applied to the element or by using JavaScript.
50587
50777
  *
50588
- * - `disabled`: Whether the tab can be chosen.
50589
- * - `selected`: Whether this tab is the current one.
50590
- * - `value`: Identifies the tab, and pairs it with the panel of the same value.
50778
+ * - `disabled`: Whether this one can be chosen.
50779
+ * - `selected`: Whether this is the current one.
50780
+ *
50781
+ * Written by the set rather than by a consumer, which is why it takes no
50782
+ * default from an attribute here: a family whose selection a consumer
50783
+ * declares in markup carries `defaultSelected` of its own to say so.
50784
+ * - `value`: Identifies this one to the set, and is what a form submits.
50591
50785
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
50592
50786
  *
50593
50787
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -50625,8 +50819,12 @@ export type CustomElementsSolidJs = {
50625
50819
  *
50626
50820
  * Methods that can be called to access component functionality.
50627
50821
  *
50628
- * - `focusItem() => void`: Moves focus to this tab, for the list's arrow keys.
50629
- * - `select() => void`: Selects this tab and announces it.
50822
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
50823
+ *
50824
+ * The set drives the keys and cannot reach the control itself, which is
50825
+ * inside this shadow root, so the intent is a method and the internals stay
50826
+ * the item's.
50827
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
50630
50828
  *
50631
50829
  * ## CSS Parts
50632
50830
  *
@@ -52120,9 +52318,13 @@ export type CustomElementsSolidJs = {
52120
52318
  *
52121
52319
  * Component attributes and properties that can be applied to the element or by using JavaScript.
52122
52320
  *
52123
- * - `disabled`: Whether the item can be chosen.
52124
- * - `selected`: Whether this item is the current one.
52125
- * - `value`: Identifies the item to the group.
52321
+ * - `disabled`: Whether this one can be chosen.
52322
+ * - `selected`: Whether this is the current one.
52323
+ *
52324
+ * Written by the set rather than by a consumer, which is why it takes no
52325
+ * default from an attribute here: a family whose selection a consumer
52326
+ * declares in markup carries `defaultSelected` of its own to say so.
52327
+ * - `value`: Identifies this one to the set, and is what a form submits.
52126
52328
  * - `defaultSelected`: Whether the markup declared this one chosen, which is what a reset returns to.
52127
52329
  *
52128
52330
  * `<option selected>` reflects to `defaultSelected` and `option.selected` is
@@ -52192,12 +52394,12 @@ export type CustomElementsSolidJs = {
52192
52394
  *
52193
52395
  * Methods that can be called to access component functionality.
52194
52396
  *
52195
- * - `focusItem() => void`: Moves focus to this item's own control.
52397
+ * - `focusItem() => void`: Moves focus to the control this renders, for the set's arrow keys.
52196
52398
  *
52197
- * The group drives arrow-key navigation and cannot reach the control itself,
52198
- * which is inside this shadow root. Exposing the intent as a method keeps the
52199
- * group out of the child's internals.
52200
- * - `select() => void`: Chooses this item and announces it.
52399
+ * The set drives the keys and cannot reach the control itself, which is
52400
+ * inside this shadow root, so the intent is a method and the internals stay
52401
+ * the item's.
52402
+ * - `select() => boolean`: Chooses this one and announces it, and reports whether it stood.
52201
52403
  *
52202
52404
  * ## CSS Parts
52203
52405
  *