@fusion.dev/helix 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.
package/types/vue.d.ts CHANGED
@@ -340,10 +340,9 @@ export type HelixAnnouncementVueProps = {
340
340
  it up to the surface step, for a band that reads as part of the furniture
341
341
  rather than as a slot cut into it.
342
342
 
343
- **This was `tone="surface"`**, which put an elevation on the axis that says
344
- what a thing means. The band's own doc admitted it, calling `surface` the
345
- one value that was not a color. A band can be `info` and elevated at the
346
- same time, and two values that can both be true are two axes.
343
+ **`separation` and not `tone`, because a rung is not a meaning.** A band
344
+ can be `info` and elevated at the same time, and two values that can both
345
+ be true are two axes, which is the test the registry answers to.
347
346
 
348
347
  Styled and not headless, because a rung of a ladder is paint: the headless
349
348
  tier has no stylesheet to sit a band on. `tone` crosses because meaning
@@ -514,7 +513,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
514
513
  at a moment and is ordered the way `straight` is.
515
514
 
516
515
  Absent rather than defaulted because a reflecting property with a default
517
- writes its attribute onto every host, including the ones nobody configured. */
516
+ writes its attribute onto every host, including the ones nobody configured.
517
+ The resting value therefore lives in the render, as `curve ?? 'straight'`.
518
+
519
+ **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
520
+ line claims a position, so the bounded invention a monotone cubic makes is
521
+ a reading aid and costs nothing. A band claims an amount, and two sums
522
+ smoothed independently can cross, so the same aid here draws a part as less
523
+ than nothing. Same axis, different mark, different resting value. */
518
524
  curve?: (HelixAreaChart["curve"]) | undefined;
519
525
  /** Which rules are drawn across the plot, if any.
520
526
 
@@ -5256,7 +5262,13 @@ renders, including the ones nobody configured.
5256
5262
  consumer wrote. The default therefore lives where the path is built, as
5257
5263
  `curve ?? 'smooth'`.
5258
5264
 
5259
- `step` claims the opposite of both, that a reading holds until the next. */
5265
+ `step` claims the opposite of both, that a reading holds until the next.
5266
+
5267
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
5268
+ position and a stacked band claims an amount: a curve fitted through one
5269
+ sum can pass under the curve fitted through the sum beneath it, so a
5270
+ smoothed stack can draw a part as less than nothing. There is no such edge
5271
+ here, which is what lets a line take the reading aid. */
5260
5272
  curve?: (HelixLineChart["curve"]) | undefined;
5261
5273
  /** Which rules are drawn across the plot, if any.
5262
5274
 
@@ -5822,8 +5834,10 @@ the loudest thing in the region. The case is a dashboard of several meters
5822
5834
  where one is the number being watched and the rest are context, which is a
5823
5835
  fact about the region rather than about any one of them.
5824
5836
 
5825
- **One value and not the four.** `ghost` would leave a track with nothing in
5826
- it, which is not a quiet reading but an absent one. `outlined` earns its
5837
+ **One value of the five.** `ghost` would leave a track with nothing in
5838
+ it, which is not a quiet reading but an absent one. `muted` is the quiet
5839
+ ink `Text` takes and a reading draws a fill rather than ink, so `subtle` is
5840
+ the whole of what quiet means here. `outlined` earns its
5827
5841
  place in `BarChart`, which keeps the area and fades it toward the page, only
5828
5842
  because a chart has other series for the outlined one to be a *different
5829
5843
  kind of fact from* (a forecast, a target, a budget). A meter reports one
@@ -6021,6 +6035,22 @@ separated.** A consumer wanting the whole feed carded says so once, in a
6021
6035
  document rule on the element, rather than on every item: this is a styled
6022
6036
  axis and a stylesheet is where it is set. */
6023
6037
  separation?: (HelixNotification["separation"]) | undefined;
6038
+ /** Whether it offers a control to take it away. */
6039
+ dismissible?: (HelixNotification["dismissible"]) | undefined;
6040
+ /** Accessible name for that control.
6041
+
6042
+ `attribute` is spelled out because Lit lowercases a property name to
6043
+ derive one rather than dash-casing it, so this would otherwise be
6044
+ reachable only as `dismisslabel`, which nobody would guess and no linter
6045
+ would catch. */
6046
+ "dismiss-label"?: (HelixNotification["dismissLabel"]) | undefined;
6047
+ /** Accessible name for that control.
6048
+
6049
+ `attribute` is spelled out because Lit lowercases a property name to
6050
+ derive one rather than dash-casing it, so this would otherwise be
6051
+ reachable only as `dismisslabel`, which nobody would guess and no linter
6052
+ would catch. */
6053
+ dismissLabel?: (HelixNotification["dismissLabel"]) | undefined;
6024
6054
  /** When it happened, as anything `Date` parses.
6025
6055
 
6026
6056
  An ISO string is what an API sends and what `<time datetime>` takes, so it
@@ -6046,12 +6076,6 @@ declaration. `:state(read)` is what the stylesheet reads.
6046
6076
  "default-read"?: (HelixNotification["defaultRead"]) | undefined;
6047
6077
  /** State to open with, where nothing declared one. */
6048
6078
  defaultRead?: (HelixNotification["defaultRead"]) | undefined;
6049
- /** Whether a reader may remove it. */
6050
- dismissible?: (HelixNotification["dismissible"]) | undefined;
6051
- /** Accessible name for the dismiss control. */
6052
- "dismiss-label"?: (HelixNotification["dismissLabel"]) | undefined;
6053
- /** Accessible name for the dismiss control. */
6054
- dismissLabel?: (HelixNotification["dismissLabel"]) | undefined;
6055
6079
  /** Locale for the timestamp.
6056
6080
 
6057
6081
  Empty is the runtime's own. */
@@ -6443,7 +6467,7 @@ the name of the tool being run, or the file being read. */
6443
6467
 
6444
6468
  Reflected because the stylesheet selects on it. The mesh is chosen from the
6445
6469
  rendered box rather than from this, so `--orb-size` and a consumer's own
6446
- `inline-size` get the same treatment as the three named steps. */
6470
+ `inline-size` get the same treatment as the named steps. */
6447
6471
  size?: (HelixOrb["size"]) | undefined;
6448
6472
  /** What the agent is doing.
6449
6473
 
@@ -6906,8 +6930,10 @@ export type HelixProgressVueProps = {
6906
6930
  the loudest thing in the region. The case is a background task, which has to
6907
6931
  be visible and must not compete with what the reader is actually looking at.
6908
6932
 
6909
- **One value and not the four.** `ghost` would leave a track with nothing in
6910
- it, which is not a quiet reading but an absent one. `outlined` is the
6933
+ **One value of the five.** `ghost` would leave a track with nothing in
6934
+ it, which is not a quiet reading but an absent one. `muted` is the quiet
6935
+ ink `Text` takes and a bar draws a fill rather than ink, so `subtle` is the
6936
+ whole of what quiet means here. `outlined` is the
6911
6937
  interesting refusal: `BarChart` earns it by keeping the area and fading it
6912
6938
  toward the page, so an outlined column still encodes its value and stands as
6913
6939
  a *different kind of fact* from the series beside it (a forecast, a target,
@@ -7005,11 +7031,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
7005
7031
  label?: (HelixQrCode["label"]) | undefined;
7006
7032
  /** How the modules are drawn.
7007
7033
 
7008
- `square` is the default and the only one that joins runs of adjacent
7009
- modules into a single subpath, which is what keeps a thousand modules to a
7010
- handful of nodes. `rounded` and `dots` draw each module on its own, because
7011
- the corners are the thing being drawn and a joined run has none in the
7012
- middle. That cost is paid only by a code that asks for them.
7034
+ `square` is the resting state and is written by not writing it, per the
7035
+ rule that a reflected property takes no default. It is also the only one
7036
+ that joins runs of adjacent modules into a single subpath, which is what
7037
+ keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
7038
+ each module on its own, because the corners are the thing being drawn and a
7039
+ joined run has none in the middle. That cost is paid only by a code that
7040
+ asks for them.
7013
7041
 
7014
7042
  A scanner reads contrast between cells, not their shape, so all three
7015
7043
  scan. `dots` sits a little under half a module so neighbors do not touch,
@@ -7165,13 +7193,15 @@ The circle stays in both. A card whose only marker was its own border would
7165
7193
  ask a reader to compare surfaces across a row to find the answer, and would
7166
7194
  leave nothing for a high-contrast display. */
7167
7195
  variant?: (HelixRadio["variant"]) | undefined;
7168
- /** Whether this choice can be made. */
7196
+ /** Whether this one can be chosen. */
7169
7197
  disabled?: (HelixRadio["disabled"]) | undefined;
7170
- /** Whether this is the current choice.
7198
+ /** Whether this is the current one.
7171
7199
 
7172
- Written by the group. */
7200
+ Written by the set rather than by a consumer, which is why it takes no
7201
+ default from an attribute here: a family whose selection a consumer
7202
+ declares in markup carries `defaultSelected` of its own to say so. */
7173
7203
  selected?: (HelixRadio["selected"]) | undefined;
7174
- /** Identifies this choice to the group, and is what the form submits. */
7204
+ /** Identifies this one to the set, and is what a form submits. */
7175
7205
  value?: (HelixRadio["value"]) | undefined;
7176
7206
  /** Whether the markup declared this one chosen, which is what a reset returns to.
7177
7207
 
@@ -7760,9 +7790,12 @@ inside a sentence.
7760
7790
  **`emphasis` and not `separation`, which the registry decides rather than
7761
7791
  taste.** Emphasis is asked of controls, how loud this one is; separation is
7762
7792
  asked of containers, where the surface ends. A trigger is a control, and a
7763
- family may not declare both. Two of the four values are refused: `solid` and
7764
- `subtle` are a button's way of being the one thing to press, which is not a
7765
- thing an answer should ever be.
7793
+ family may not declare both. Three of the five values are refused: `solid`
7794
+ and `subtle` are a button's way of being the one thing to press, which is
7795
+ not a thing an answer should ever be, and `muted` is the quiet ink `Text`
7796
+ takes, where a trigger's loudness is its frame rather than its ink.
7797
+ `outlined` is what the unset frame already draws, so writing it would be
7798
+ writing the resting state out.
7766
7799
 
7767
7800
  **The other three fields want this too and do not have it yet.** `Input`,
7768
7801
  `Textarea` and `Combobox` wear the same frame from the same shared
@@ -8092,7 +8125,13 @@ assert against. So the resting state is still the attribute's absence, and
8092
8125
  `curve ?? 'smooth'` is what reads it.
8093
8126
 
8094
8127
  `step` claims the opposite of both, that a reading holds until the next.
8095
- Bars ignore it, having no between to interpolate. */
8128
+ Bars ignore it, having no between to interpolate.
8129
+
8130
+ **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
8131
+ position and a stacked band claims an amount: a curve fitted through one
8132
+ sum can pass under the curve fitted through the sum beneath it, so a
8133
+ smoothed stack can draw a part as less than nothing. There is no such edge
8134
+ here, which is what lets a line take the reading aid. */
8096
8135
  curve?: (HelixSparkline["curve"]) | undefined;
8097
8136
  /** The id of a table to read instead, when there is one behind the line.
8098
8137
 
@@ -8814,11 +8853,15 @@ export type HelixTabHelixSelectElementEvent =
8814
8853
  HelixTabElementEvent<HelixSelectEvent>;
8815
8854
 
8816
8855
  export type HelixTabVueProps = {
8817
- /** Whether the tab can be chosen. */
8856
+ /** Whether this one can be chosen. */
8818
8857
  disabled?: (HelixTab["disabled"]) | undefined;
8819
- /** Whether this tab is the current one. */
8858
+ /** Whether this is the current one.
8859
+
8860
+ Written by the set rather than by a consumer, which is why it takes no
8861
+ default from an attribute here: a family whose selection a consumer
8862
+ declares in markup carries `defaultSelected` of its own to say so. */
8820
8863
  selected?: (HelixTab["selected"]) | undefined;
8821
- /** Identifies the tab, and pairs it with the panel of the same value. */
8864
+ /** Identifies this one to the set, and is what a form submits. */
8822
8865
  value?: (HelixTab["value"]) | undefined;
8823
8866
  };
8824
8867
 
@@ -9671,11 +9714,15 @@ export type HelixToggleHelixSelectElementEvent =
9671
9714
  HelixToggleElementEvent<HelixSelectEvent>;
9672
9715
 
9673
9716
  export type HelixToggleVueProps = {
9674
- /** Whether the item can be chosen. */
9717
+ /** Whether this one can be chosen. */
9675
9718
  disabled?: (HelixToggle["disabled"]) | undefined;
9676
- /** Whether this item is the current one. */
9719
+ /** Whether this is the current one.
9720
+
9721
+ Written by the set rather than by a consumer, which is why it takes no
9722
+ default from an attribute here: a family whose selection a consumer
9723
+ declares in markup carries `defaultSelected` of its own to say so. */
9677
9724
  selected?: (HelixToggle["selected"]) | undefined;
9678
- /** Identifies the item to the group. */
9725
+ /** Identifies this one to the set, and is what a form submits. */
9679
9726
  value?: (HelixToggle["value"]) | undefined;
9680
9727
  /** Whether the markup declared this one chosen, which is what a reset returns to.
9681
9728