@fusion.dev/helix 0.151.0 → 0.153.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/custom-elements.json +1672 -64
- package/dist/app-header/root/app-header-root.css.js +6 -1
- package/dist/area-chart/root/area-chart-root.js +2 -1
- package/dist/bar-chart/root/bar-chart-root.js +2 -1
- package/dist/blockquote/root/blockquote-root.css.js +2 -1
- package/dist/blockquote/root/blockquote-root.d.ts +27 -0
- package/dist/blockquote/root/blockquote-root.js +7 -0
- package/dist/line-chart/root/line-chart-root.js +8 -1
- package/dist/navigation/root/navigation-root.css.js +1 -1
- package/dist/orb/root/orb-root.d.ts +6 -0
- package/dist/progress/root/progress-root.css.js +12 -3
- package/dist/progress/root/progress-root.d.ts +4 -0
- package/dist/scatter-chart/root/scatter-chart-root.js +2 -1
- package/dist/shared/chart/status.css.d.ts +1 -0
- package/dist/shared/chart/status.css.js +3 -0
- package/dist/steps/step/step.css.js +1 -1
- package/dist/steps/step/step.d.ts +10 -0
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +1192 -14
- package/types/vue.d.ts +308 -6
- package/types/words.d.ts +14 -4
package/types/vue.d.ts
CHANGED
|
@@ -650,6 +650,22 @@ the wordmark and the actions happen to measure.
|
|
|
650
650
|
takes a search field or a breadcrumb trail as readily as a `Navigation`, so
|
|
651
651
|
the property carries the part's name, `content`. */
|
|
652
652
|
contentAlign?: (HelixAppHeader["contentAlign"]) | undefined;
|
|
653
|
+
/** The width of the bar, in pixels, below which the middle region folds behind
|
|
654
|
+
a toggle. Unset, it never folds. */
|
|
655
|
+
"fold-below"?: (HelixAppHeader["foldBelow"] | `${number}`) | undefined;
|
|
656
|
+
/** The width of the bar, in pixels, below which the middle region folds behind
|
|
657
|
+
a toggle. Unset, it never folds. */
|
|
658
|
+
foldBelow?: (HelixAppHeader["foldBelow"]) | undefined;
|
|
659
|
+
/** Hides the bar as the page scrolls down past it, and shows it again as the
|
|
660
|
+
page scrolls up. */
|
|
661
|
+
"hide-on-scroll"?: (HelixAppHeader["hideOnScroll"]) | undefined;
|
|
662
|
+
/** Hides the bar as the page scrolls down past it, and shows it again as the
|
|
663
|
+
page scrolls up. */
|
|
664
|
+
hideOnScroll?: (HelixAppHeader["hideOnScroll"]) | undefined;
|
|
665
|
+
/** The name of the toggle that opens a folded middle region. */
|
|
666
|
+
"menu-label"?: (HelixAppHeader["menuLabel"]) | undefined;
|
|
667
|
+
/** The name of the toggle that opens a folded middle region. */
|
|
668
|
+
menuLabel?: (HelixAppHeader["menuLabel"]) | undefined;
|
|
653
669
|
/** The id of the element whose scrolling lifts the bar, for an app shell that
|
|
654
670
|
scrolls a container instead of the window. Unset is the window. */
|
|
655
671
|
scroller?: (HelixAppHeader["scroller"]) | undefined;
|
|
@@ -673,6 +689,25 @@ export type HelixAreaChartHelixReadingPressElementEvent =
|
|
|
673
689
|
HelixAreaChartElementEvent<HelixReadingPressEvent>;
|
|
674
690
|
|
|
675
691
|
export type HelixAreaChartVueProps = {
|
|
692
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
693
|
+
and the fallback of the `empty` slot. */
|
|
694
|
+
"empty-text"?: (HelixAreaChart["emptyText"]) | undefined;
|
|
695
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
696
|
+
and the fallback of the `empty` slot. */
|
|
697
|
+
emptyText?: (HelixAreaChart["emptyText"]) | undefined;
|
|
698
|
+
/** Whether the readings are still on their way. The chart shows
|
|
699
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
700
|
+
|
|
701
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
702
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
703
|
+
blank it. */
|
|
704
|
+
loading?: (HelixAreaChart["loading"]) | undefined;
|
|
705
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
706
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
707
|
+
"loading-text"?: (HelixAreaChart["loadingText"]) | undefined;
|
|
708
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
709
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
710
|
+
loadingText?: (HelixAreaChart["loadingText"]) | undefined;
|
|
676
711
|
/** The id of the table to read.
|
|
677
712
|
|
|
678
713
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -770,6 +805,29 @@ them, and the tooltip and the table hold every reading. */
|
|
|
770
805
|
Absent draws none: bands read as a composition need no numbers beside
|
|
771
806
|
them, and the tooltip and the table hold every reading. */
|
|
772
807
|
valueAxis?: (HelixAreaChart["valueAxis"]) | undefined;
|
|
808
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
809
|
+
table to point `for` at. `for` wins where both are set.
|
|
810
|
+
|
|
811
|
+
```js
|
|
812
|
+
chart.data = {
|
|
813
|
+
caption: 'Sessions by channel',
|
|
814
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
815
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
816
|
+
}
|
|
817
|
+
```
|
|
818
|
+
|
|
819
|
+
The first column holds each row's label and every column after it a
|
|
820
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
821
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
822
|
+
number is shown in `locale`.
|
|
823
|
+
|
|
824
|
+
**A table is still the better source where the page can show one**:
|
|
825
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
826
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
827
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
828
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
829
|
+
does not look inside the one it has. */
|
|
830
|
+
data?: (HelixAreaChart["data"]) | undefined;
|
|
773
831
|
};
|
|
774
832
|
|
|
775
833
|
export type HelixAreaChartVueEvents = {
|
|
@@ -1210,6 +1268,25 @@ every component in the library and mean something on one. `wash` because
|
|
|
1210
1268
|
that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
1211
1269
|
the `bar-wash-start` and `bar-wash-end` stops. */
|
|
1212
1270
|
wash?: (HelixBarChart["wash"]) | undefined;
|
|
1271
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1272
|
+
and the fallback of the `empty` slot. */
|
|
1273
|
+
"empty-text"?: (HelixBarChart["emptyText"]) | undefined;
|
|
1274
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1275
|
+
and the fallback of the `empty` slot. */
|
|
1276
|
+
emptyText?: (HelixBarChart["emptyText"]) | undefined;
|
|
1277
|
+
/** Whether the readings are still on their way. The chart shows
|
|
1278
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
1279
|
+
|
|
1280
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
1281
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
1282
|
+
blank it. */
|
|
1283
|
+
loading?: (HelixBarChart["loading"]) | undefined;
|
|
1284
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1285
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1286
|
+
"loading-text"?: (HelixBarChart["loadingText"]) | undefined;
|
|
1287
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1288
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1289
|
+
loadingText?: (HelixBarChart["loadingText"]) | undefined;
|
|
1213
1290
|
/** The id of the table to read.
|
|
1214
1291
|
|
|
1215
1292
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -1369,6 +1446,29 @@ bottom of bars under `orientation="horizontal"`.
|
|
|
1369
1446
|
Absent draws none with one scale, since bars compared with each other need
|
|
1370
1447
|
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
1371
1448
|
valueAxis?: (HelixBarChart["valueAxis"]) | undefined;
|
|
1449
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
1450
|
+
table to point `for` at. `for` wins where both are set.
|
|
1451
|
+
|
|
1452
|
+
```js
|
|
1453
|
+
chart.data = {
|
|
1454
|
+
caption: 'Sessions by channel',
|
|
1455
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
1456
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
1457
|
+
}
|
|
1458
|
+
```
|
|
1459
|
+
|
|
1460
|
+
The first column holds each row's label and every column after it a
|
|
1461
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
1462
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
1463
|
+
number is shown in `locale`.
|
|
1464
|
+
|
|
1465
|
+
**A table is still the better source where the page can show one**:
|
|
1466
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
1467
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
1468
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
1469
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
1470
|
+
does not look inside the one it has. */
|
|
1471
|
+
data?: (HelixBarChart["data"]) | undefined;
|
|
1372
1472
|
};
|
|
1373
1473
|
|
|
1374
1474
|
export type HelixBarChartVueEvents = {
|
|
@@ -1379,6 +1479,42 @@ export type HelixBarChartVueEvents = {
|
|
|
1379
1479
|
};
|
|
1380
1480
|
|
|
1381
1481
|
export type HelixBlockquoteVueProps = {
|
|
1482
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
1483
|
+
|
|
1484
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
1485
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
1486
|
+
the first line. Absent aligns as the prose around it does.
|
|
1487
|
+
|
|
1488
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
1489
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
1490
|
+
and it has no `start` or `end`. */
|
|
1491
|
+
"text-align"?: (HelixBlockquote["textAlign"]) | undefined;
|
|
1492
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
1493
|
+
|
|
1494
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
1495
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
1496
|
+
the first line. Absent aligns as the prose around it does.
|
|
1497
|
+
|
|
1498
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
1499
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
1500
|
+
and it has no `start` or `end`. */
|
|
1501
|
+
textAlign?: (HelixBlockquote["textAlign"]) | undefined;
|
|
1502
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
1503
|
+
|
|
1504
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
1505
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
1506
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
1507
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
1508
|
+
more than one line. */
|
|
1509
|
+
"text-wrap"?: (HelixBlockquote["textWrap"]) | undefined;
|
|
1510
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
1511
|
+
|
|
1512
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
1513
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
1514
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
1515
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
1516
|
+
more than one line. */
|
|
1517
|
+
textWrap?: (HelixBlockquote["textWrap"]) | undefined;
|
|
1382
1518
|
/** Who said it, and where, as words, such as "Maria Lopez, operations
|
|
1383
1519
|
manager". The `attribution` slot replaces them, for markup such as a link.
|
|
1384
1520
|
|
|
@@ -6422,8 +6558,14 @@ first, `handleCancel` prevents it, and `requestOpen` decides. So
|
|
|
6422
6558
|
`closedby="any"` gains light dismiss without giving up the refusal, which is
|
|
6423
6559
|
the property this component exists to keep.
|
|
6424
6560
|
|
|
6561
|
+
The press on the backdrop that this element handles itself follows it too:
|
|
6562
|
+
`closerequest` and `none` leave the dialog open on that press, as the
|
|
6563
|
+
platform does, and `none` also keeps it open on Escape in a browser without
|
|
6564
|
+
`closedby`.
|
|
6565
|
+
|
|
6425
6566
|
Absent by default, which is the platform's `auto` and this library's rule
|
|
6426
|
-
that a resting value is an attribute's absence.
|
|
6567
|
+
that a resting value is an attribute's absence. Absent, a press on the
|
|
6568
|
+
backdrop closes the dialog. */
|
|
6427
6569
|
closedby?: (HelixDialog["closedBy"]) | undefined;
|
|
6428
6570
|
/** Which close requests the browser handles on its own.
|
|
6429
6571
|
|
|
@@ -6433,8 +6575,14 @@ first, `handleCancel` prevents it, and `requestOpen` decides. So
|
|
|
6433
6575
|
`closedby="any"` gains light dismiss without giving up the refusal, which is
|
|
6434
6576
|
the property this component exists to keep.
|
|
6435
6577
|
|
|
6578
|
+
The press on the backdrop that this element handles itself follows it too:
|
|
6579
|
+
`closerequest` and `none` leave the dialog open on that press, as the
|
|
6580
|
+
platform does, and `none` also keeps it open on Escape in a browser without
|
|
6581
|
+
`closedby`.
|
|
6582
|
+
|
|
6436
6583
|
Absent by default, which is the platform's `auto` and this library's rule
|
|
6437
|
-
that a resting value is an attribute's absence.
|
|
6584
|
+
that a resting value is an attribute's absence. Absent, a press on the
|
|
6585
|
+
backdrop closes the dialog. */
|
|
6438
6586
|
closedBy?: (HelixDialog["closedBy"]) | undefined;
|
|
6439
6587
|
/** Draws a control that closes the dialog, in the corner where the title is.
|
|
6440
6588
|
|
|
@@ -6663,6 +6811,29 @@ rotation that puts the first slice at nine o'clock, the aspect ratio of a
|
|
|
6663
6811
|
box that is no longer square, and where the middle sits once the bottom of
|
|
6664
6812
|
the circle is not drawn. */
|
|
6665
6813
|
sweep?: (HelixDonutChart["sweep"]) | undefined;
|
|
6814
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
6815
|
+
table to point `for` at. `for` wins where both are set.
|
|
6816
|
+
|
|
6817
|
+
```js
|
|
6818
|
+
chart.data = {
|
|
6819
|
+
caption: 'Sessions by channel',
|
|
6820
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
6821
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
6822
|
+
}
|
|
6823
|
+
```
|
|
6824
|
+
|
|
6825
|
+
The first column holds each row's label and every column after it a
|
|
6826
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
6827
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
6828
|
+
number is shown in `locale`.
|
|
6829
|
+
|
|
6830
|
+
**A table is still the better source where the page can show one**:
|
|
6831
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
6832
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
6833
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
6834
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
6835
|
+
does not look inside the one it has. */
|
|
6836
|
+
data?: (HelixDonutChart["data"]) | undefined;
|
|
6666
6837
|
};
|
|
6667
6838
|
|
|
6668
6839
|
export type HelixDonutChartVueEvents = {};
|
|
@@ -6767,6 +6938,12 @@ lost its focus trap because a consumer forgot a word would be worse than an
|
|
|
6767
6938
|
attribute on the host, and nothing selects on it: the scrim is rendered or
|
|
6768
6939
|
not, rather than shown or hidden by CSS. */
|
|
6769
6940
|
modal?: (HelixDrawer["modal"]) | undefined;
|
|
6941
|
+
/** Stops Escape, a press outside, and a swipe from closing the drawer, for a
|
|
6942
|
+
drawer that has to be answered.
|
|
6943
|
+
|
|
6944
|
+
The close control and `close()` still close it, as on `Dialog`: a panel
|
|
6945
|
+
with no way out at all is a trap. */
|
|
6946
|
+
persistent?: (HelixDrawer["persistent"]) | undefined;
|
|
6770
6947
|
/** Which edge the drawer comes from.
|
|
6771
6948
|
|
|
6772
6949
|
Unset is `end`, and it stays unset rather than being written down: a
|
|
@@ -8284,6 +8461,29 @@ no order in it. */
|
|
|
8284
8461
|
Set it to start with cells selected. Written by a press or a key under
|
|
8285
8462
|
`selection-mode`. */
|
|
8286
8463
|
value?: (HelixHeatmap["value"]) | undefined;
|
|
8464
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
8465
|
+
table to point `for` at. `for` wins where both are set.
|
|
8466
|
+
|
|
8467
|
+
```js
|
|
8468
|
+
chart.data = {
|
|
8469
|
+
caption: 'Sessions by channel',
|
|
8470
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
8471
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
8472
|
+
}
|
|
8473
|
+
```
|
|
8474
|
+
|
|
8475
|
+
The first column holds each row's label and every column after it a
|
|
8476
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
8477
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
8478
|
+
number is shown in `locale`.
|
|
8479
|
+
|
|
8480
|
+
**A table is still the better source where the page can show one**:
|
|
8481
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
8482
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
8483
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
8484
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
8485
|
+
does not look inside the one it has. */
|
|
8486
|
+
data?: (HelixHeatmap["data"]) | undefined;
|
|
8287
8487
|
};
|
|
8288
8488
|
|
|
8289
8489
|
export type HelixHeatmapVueEvents = {
|
|
@@ -9377,6 +9577,25 @@ chart and a card mean the same thing by the word.
|
|
|
9377
9577
|
material choice, it is an absent series, and a chart says that by not
|
|
9378
9578
|
having the datum rather than by painting it invisibly. */
|
|
9379
9579
|
material?: (HelixLineChart["material"]) | undefined;
|
|
9580
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
9581
|
+
and the fallback of the `empty` slot. */
|
|
9582
|
+
"empty-text"?: (HelixLineChart["emptyText"]) | undefined;
|
|
9583
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
9584
|
+
and the fallback of the `empty` slot. */
|
|
9585
|
+
emptyText?: (HelixLineChart["emptyText"]) | undefined;
|
|
9586
|
+
/** Whether the readings are still on their way. The chart shows
|
|
9587
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
9588
|
+
|
|
9589
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
9590
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
9591
|
+
blank it. */
|
|
9592
|
+
loading?: (HelixLineChart["loading"]) | undefined;
|
|
9593
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
9594
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
9595
|
+
"loading-text"?: (HelixLineChart["loadingText"]) | undefined;
|
|
9596
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
9597
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
9598
|
+
loadingText?: (HelixLineChart["loadingText"]) | undefined;
|
|
9380
9599
|
/** The id of the table to read.
|
|
9381
9600
|
|
|
9382
9601
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -9534,6 +9753,29 @@ Set it where the distance from nothing is the point rather than the shape,
|
|
|
9534
9753
|
and accept that a series which never approaches zero becomes a flat rule
|
|
9535
9754
|
near the top of the box. */
|
|
9536
9755
|
zero?: (HelixLineChart["zero"]) | undefined;
|
|
9756
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
9757
|
+
table to point `for` at. `for` wins where both are set.
|
|
9758
|
+
|
|
9759
|
+
```js
|
|
9760
|
+
chart.data = {
|
|
9761
|
+
caption: 'Sessions by channel',
|
|
9762
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
9763
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
9764
|
+
}
|
|
9765
|
+
```
|
|
9766
|
+
|
|
9767
|
+
The first column holds each row's label and every column after it a
|
|
9768
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
9769
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
9770
|
+
number is shown in `locale`.
|
|
9771
|
+
|
|
9772
|
+
**A table is still the better source where the page can show one**:
|
|
9773
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
9774
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
9775
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
9776
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
9777
|
+
does not look inside the one it has. */
|
|
9778
|
+
data?: (HelixLineChart["data"]) | undefined;
|
|
9537
9779
|
};
|
|
9538
9780
|
|
|
9539
9781
|
export type HelixLineChartVueEvents = {
|
|
@@ -12223,7 +12465,13 @@ the state's word.
|
|
|
12223
12465
|
|
|
12224
12466
|
Off by default, because the name and the busy state already change with
|
|
12225
12467
|
the state, and an orb beside a stream of messages would otherwise talk
|
|
12226
|
-
over them. Set it on an orb that is the only sign of progress on the page.
|
|
12468
|
+
over them. Set it on an orb that is the only sign of progress on the page.
|
|
12469
|
+
|
|
12470
|
+
**Without it, finishing is silent.** `done` turns the orb into an image
|
|
12471
|
+
named "Done" that is no longer busy, which a screen reader reports when it
|
|
12472
|
+
next reaches the orb and does not say as it happens. A page whose own
|
|
12473
|
+
result arrives in a live region, such as a chat reply, already says the
|
|
12474
|
+
work is done; one that shows nothing else sets `announce`. */
|
|
12227
12475
|
announce?: (HelixOrb["announce"]) | undefined;
|
|
12228
12476
|
/** The name read by screen readers. Defaults to the name of the state, such
|
|
12229
12477
|
as "Thinking".
|
|
@@ -12873,7 +13121,8 @@ decimals. Written as JSON in the attribute.
|
|
|
12873
13121
|
|
|
12874
13122
|
A `percent` style writes the share of the range, and any other the value
|
|
12875
13123
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
12876
|
-
words are announced
|
|
13124
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
13125
|
+
still wins. */
|
|
12877
13126
|
"format-options"?: (HelixProgress["formatOptions"]) | undefined;
|
|
12878
13127
|
/** `Intl.NumberFormat` options the reading is written with, as React Aria's
|
|
12879
13128
|
Meter and ProgressBar take them: a unit, a currency, or a number of
|
|
@@ -12885,7 +13134,8 @@ decimals. Written as JSON in the attribute.
|
|
|
12885
13134
|
|
|
12886
13135
|
A `percent` style writes the share of the range, and any other the value
|
|
12887
13136
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
12888
|
-
words are announced
|
|
13137
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
13138
|
+
still wins. */
|
|
12889
13139
|
formatOptions?: (HelixProgress["formatOptions"]) | undefined;
|
|
12890
13140
|
/** Whether the length of the task is unknown. The bar then shows activity
|
|
12891
13141
|
without a value.
|
|
@@ -13955,6 +14205,25 @@ export type HelixScatterChartHelixReadingPressElementEvent =
|
|
|
13955
14205
|
HelixScatterChartElementEvent<HelixReadingPressEvent>;
|
|
13956
14206
|
|
|
13957
14207
|
export type HelixScatterChartVueProps = {
|
|
14208
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
14209
|
+
and the fallback of the `empty` slot. */
|
|
14210
|
+
"empty-text"?: (HelixScatterChart["emptyText"]) | undefined;
|
|
14211
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
14212
|
+
and the fallback of the `empty` slot. */
|
|
14213
|
+
emptyText?: (HelixScatterChart["emptyText"]) | undefined;
|
|
14214
|
+
/** Whether the readings are still on their way. The chart shows
|
|
14215
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
14216
|
+
|
|
14217
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
14218
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
14219
|
+
blank it. */
|
|
14220
|
+
loading?: (HelixScatterChart["loading"]) | undefined;
|
|
14221
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
14222
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
14223
|
+
"loading-text"?: (HelixScatterChart["loadingText"]) | undefined;
|
|
14224
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
14225
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
14226
|
+
loadingText?: (HelixScatterChart["loadingText"]) | undefined;
|
|
13958
14227
|
/** The id of the table to read.
|
|
13959
14228
|
|
|
13960
14229
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -14050,6 +14319,29 @@ Absent draws none. A series with fewer than two points, or with every
|
|
|
14050
14319
|
point at one measure across, has no line to draw. The summary already
|
|
14051
14320
|
gives each series' correlation, which says how near the points are to it. */
|
|
14052
14321
|
trend?: (HelixScatterChart["trend"]) | undefined;
|
|
14322
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
14323
|
+
table to point `for` at. `for` wins where both are set.
|
|
14324
|
+
|
|
14325
|
+
```js
|
|
14326
|
+
chart.data = {
|
|
14327
|
+
caption: 'Sessions by channel',
|
|
14328
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
14329
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
14330
|
+
}
|
|
14331
|
+
```
|
|
14332
|
+
|
|
14333
|
+
The first column holds each row's label and every column after it a
|
|
14334
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
14335
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
14336
|
+
number is shown in `locale`.
|
|
14337
|
+
|
|
14338
|
+
**A table is still the better source where the page can show one**:
|
|
14339
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
14340
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
14341
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
14342
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
14343
|
+
does not look inside the one it has. */
|
|
14344
|
+
data?: (HelixScatterChart["data"]) | undefined;
|
|
14053
14345
|
};
|
|
14054
14346
|
|
|
14055
14347
|
export type HelixScatterChartVueEvents = {
|
|
@@ -15054,6 +15346,9 @@ Reading gives where it is; writing declares it the consumer's, and
|
|
|
15054
15346
|
`default-position` seeds one this element owns. The same accessor pair
|
|
15055
15347
|
`Pagination.page` and the calendar's `month` carry. */
|
|
15056
15348
|
position?: (HelixSplitter["position"]) | undefined;
|
|
15349
|
+
/** The pane that keeps its size when the splitter's own size changes. The
|
|
15350
|
+
other pane takes all of the change. Unset, both keep their share. */
|
|
15351
|
+
primary?: (HelixSplitter["primary"]) | undefined;
|
|
15057
15352
|
/** Where a dragged divider snaps, comma separated, as Web Awesome's split
|
|
15058
15353
|
panel does: a bare number is a percentage and a length such as `240px` is
|
|
15059
15354
|
measured along the splitter, so `snap="25, 50, 75"` or `snap="240px, 50"`.
|
|
@@ -20481,6 +20776,12 @@ export type CustomCssProperties = {
|
|
|
20481
20776
|
"--popover-shadow"?: (string) | undefined;
|
|
20482
20777
|
/** Fill of the part that is done. */
|
|
20483
20778
|
"--progress-color"?: (string) | undefined;
|
|
20779
|
+
/** The color of the words of the default slot where they are over the track, and in a ring. */
|
|
20780
|
+
"--progress-content-color"?: (string) | undefined;
|
|
20781
|
+
/** The color of the words of the default slot where they are over the fill. */
|
|
20782
|
+
"--progress-content-fill-color"?: (string) | undefined;
|
|
20783
|
+
/** The type size of the words of the default slot. */
|
|
20784
|
+
"--progress-content-size"?: (string) | undefined;
|
|
20484
20785
|
/** Color of a slotted label. */
|
|
20485
20786
|
"--progress-label-color"?: (string) | undefined;
|
|
20486
20787
|
/** Space between a slotted label and the bar. */
|
|
@@ -21371,7 +21672,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
21371
21672
|
HelixBarChartVueProps,
|
|
21372
21673
|
HelixBarChartVueEvents
|
|
21373
21674
|
>;
|
|
21374
|
-
/** Set in the display face, larger than body text, to mark a change of voice. No quotation marks are drawn by default, because the size and spacing already set the passage apart. 'marks' draws one large opening mark over the passage, as a pull quote sets it, in the element's language. */
|
|
21675
|
+
/** Set in the display face, larger than body text, to mark a change of voice. No quotation marks are drawn by default, because the size and spacing already set the passage apart. 'marks' draws one large opening mark over the passage, as a pull quote sets it, in the element's language. 'text-align' sets the passage and its attribution in the middle of the column or against its far edge, as a pull quote often stands. There, the mark 'marks' draws stands over the passage rather than beside it. 'text-wrap="balance"' evens out a short passage's lines. */
|
|
21375
21676
|
"helix-blockquote": DefineCustomElement<
|
|
21376
21677
|
HelixBlockquote,
|
|
21377
21678
|
HelixBlockquoteVueProps,
|
|
@@ -22073,6 +22374,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
22073
22374
|
HelixStepsVueProps,
|
|
22074
22375
|
HelixStepsVueEvents
|
|
22075
22376
|
>;
|
|
22377
|
+
/** A step draws its mark, its name as a 'helix-button', and the line that joins it to the steps either side. The mark is a tick on a finished step, a dot on the current one, and an empty ring on one nobody has reached. Where the list sets 'variant="numeric"', it is the step's number. Down a column, the current step opens to show what is in its 'content' slot, and the others collapse it. A collapsed stage's content is hidden, so Tab and a screen reader pass over it as well. */
|
|
22076
22378
|
"helix-step": DefineCustomElement<
|
|
22077
22379
|
HelixStep,
|
|
22078
22380
|
HelixStepVueProps,
|
package/types/words.d.ts
CHANGED
|
@@ -148,9 +148,10 @@ declare module '@fusion.dev/helix-core' {
|
|
|
148
148
|
*/
|
|
149
149
|
emptySegmentLabel: Message
|
|
150
150
|
/**
|
|
151
|
-
* The
|
|
151
|
+
* The words shown in place of the drawing when the table has no readings,
|
|
152
|
+
* and the fallback of the `empty` slot.
|
|
152
153
|
*
|
|
153
|
-
* English: `
|
|
154
|
+
* English: `No readings`
|
|
154
155
|
*/
|
|
155
156
|
emptyText: Message
|
|
156
157
|
/**
|
|
@@ -305,9 +306,10 @@ declare module '@fusion.dev/helix-core' {
|
|
|
305
306
|
*/
|
|
306
307
|
listLabel: Message
|
|
307
308
|
/**
|
|
308
|
-
* The
|
|
309
|
+
* The words shown in place of the drawing while `loading` is set and
|
|
310
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
309
311
|
*
|
|
310
|
-
* English: `Loading`
|
|
312
|
+
* English: `Loading readings`
|
|
311
313
|
*/
|
|
312
314
|
loadingText: Message
|
|
313
315
|
/**
|
|
@@ -832,6 +834,14 @@ declare module '@fusion.dev/helix-core' {
|
|
|
832
834
|
*/
|
|
833
835
|
zoomOutLabel: Message
|
|
834
836
|
}
|
|
837
|
+
'helix-app-header': {
|
|
838
|
+
/**
|
|
839
|
+
* The name of the toggle that opens a folded middle region.
|
|
840
|
+
*
|
|
841
|
+
* English: `Menu`
|
|
842
|
+
*/
|
|
843
|
+
menuLabel: Message
|
|
844
|
+
}
|
|
835
845
|
'helix-avatar-group': {
|
|
836
846
|
/**
|
|
837
847
|
* What a screen reader is told the count is, with `{count}` for the number,
|