@fusion.dev/helix 0.152.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 +867 -52
- 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/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/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +1050 -8
- package/types/vue.d.ts +268 -4
- package/types/words.d.ts +6 -4
package/types/vue.d.ts
CHANGED
|
@@ -689,6 +689,25 @@ export type HelixAreaChartHelixReadingPressElementEvent =
|
|
|
689
689
|
HelixAreaChartElementEvent<HelixReadingPressEvent>;
|
|
690
690
|
|
|
691
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;
|
|
692
711
|
/** The id of the table to read.
|
|
693
712
|
|
|
694
713
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -786,6 +805,29 @@ them, and the tooltip and the table hold every reading. */
|
|
|
786
805
|
Absent draws none: bands read as a composition need no numbers beside
|
|
787
806
|
them, and the tooltip and the table hold every reading. */
|
|
788
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;
|
|
789
831
|
};
|
|
790
832
|
|
|
791
833
|
export type HelixAreaChartVueEvents = {
|
|
@@ -1226,6 +1268,25 @@ every component in the library and mean something on one. `wash` because
|
|
|
1226
1268
|
that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
1227
1269
|
the `bar-wash-start` and `bar-wash-end` stops. */
|
|
1228
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;
|
|
1229
1290
|
/** The id of the table to read.
|
|
1230
1291
|
|
|
1231
1292
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -1385,6 +1446,29 @@ bottom of bars under `orientation="horizontal"`.
|
|
|
1385
1446
|
Absent draws none with one scale, since bars compared with each other need
|
|
1386
1447
|
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
1387
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;
|
|
1388
1472
|
};
|
|
1389
1473
|
|
|
1390
1474
|
export type HelixBarChartVueEvents = {
|
|
@@ -1395,6 +1479,42 @@ export type HelixBarChartVueEvents = {
|
|
|
1395
1479
|
};
|
|
1396
1480
|
|
|
1397
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;
|
|
1398
1518
|
/** Who said it, and where, as words, such as "Maria Lopez, operations
|
|
1399
1519
|
manager". The `attribution` slot replaces them, for markup such as a link.
|
|
1400
1520
|
|
|
@@ -6691,6 +6811,29 @@ rotation that puts the first slice at nine o'clock, the aspect ratio of a
|
|
|
6691
6811
|
box that is no longer square, and where the middle sits once the bottom of
|
|
6692
6812
|
the circle is not drawn. */
|
|
6693
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;
|
|
6694
6837
|
};
|
|
6695
6838
|
|
|
6696
6839
|
export type HelixDonutChartVueEvents = {};
|
|
@@ -8318,6 +8461,29 @@ no order in it. */
|
|
|
8318
8461
|
Set it to start with cells selected. Written by a press or a key under
|
|
8319
8462
|
`selection-mode`. */
|
|
8320
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;
|
|
8321
8487
|
};
|
|
8322
8488
|
|
|
8323
8489
|
export type HelixHeatmapVueEvents = {
|
|
@@ -9411,6 +9577,25 @@ chart and a card mean the same thing by the word.
|
|
|
9411
9577
|
material choice, it is an absent series, and a chart says that by not
|
|
9412
9578
|
having the datum rather than by painting it invisibly. */
|
|
9413
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;
|
|
9414
9599
|
/** The id of the table to read.
|
|
9415
9600
|
|
|
9416
9601
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -9568,6 +9753,29 @@ Set it where the distance from nothing is the point rather than the shape,
|
|
|
9568
9753
|
and accept that a series which never approaches zero becomes a flat rule
|
|
9569
9754
|
near the top of the box. */
|
|
9570
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;
|
|
9571
9779
|
};
|
|
9572
9780
|
|
|
9573
9781
|
export type HelixLineChartVueEvents = {
|
|
@@ -12257,7 +12465,13 @@ the state's word.
|
|
|
12257
12465
|
|
|
12258
12466
|
Off by default, because the name and the busy state already change with
|
|
12259
12467
|
the state, and an orb beside a stream of messages would otherwise talk
|
|
12260
|
-
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`. */
|
|
12261
12475
|
announce?: (HelixOrb["announce"]) | undefined;
|
|
12262
12476
|
/** The name read by screen readers. Defaults to the name of the state, such
|
|
12263
12477
|
as "Thinking".
|
|
@@ -12907,7 +13121,8 @@ decimals. Written as JSON in the attribute.
|
|
|
12907
13121
|
|
|
12908
13122
|
A `percent` style writes the share of the range, and any other the value
|
|
12909
13123
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
12910
|
-
words are announced
|
|
13124
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
13125
|
+
still wins. */
|
|
12911
13126
|
"format-options"?: (HelixProgress["formatOptions"]) | undefined;
|
|
12912
13127
|
/** `Intl.NumberFormat` options the reading is written with, as React Aria's
|
|
12913
13128
|
Meter and ProgressBar take them: a unit, a currency, or a number of
|
|
@@ -12919,7 +13134,8 @@ decimals. Written as JSON in the attribute.
|
|
|
12919
13134
|
|
|
12920
13135
|
A `percent` style writes the share of the range, and any other the value
|
|
12921
13136
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
12922
|
-
words are announced
|
|
13137
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
13138
|
+
still wins. */
|
|
12923
13139
|
formatOptions?: (HelixProgress["formatOptions"]) | undefined;
|
|
12924
13140
|
/** Whether the length of the task is unknown. The bar then shows activity
|
|
12925
13141
|
without a value.
|
|
@@ -13989,6 +14205,25 @@ export type HelixScatterChartHelixReadingPressElementEvent =
|
|
|
13989
14205
|
HelixScatterChartElementEvent<HelixReadingPressEvent>;
|
|
13990
14206
|
|
|
13991
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;
|
|
13992
14227
|
/** The id of the table to read.
|
|
13993
14228
|
|
|
13994
14229
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -14084,6 +14319,29 @@ Absent draws none. A series with fewer than two points, or with every
|
|
|
14084
14319
|
point at one measure across, has no line to draw. The summary already
|
|
14085
14320
|
gives each series' correlation, which says how near the points are to it. */
|
|
14086
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;
|
|
14087
14345
|
};
|
|
14088
14346
|
|
|
14089
14347
|
export type HelixScatterChartVueEvents = {
|
|
@@ -20518,6 +20776,12 @@ export type CustomCssProperties = {
|
|
|
20518
20776
|
"--popover-shadow"?: (string) | undefined;
|
|
20519
20777
|
/** Fill of the part that is done. */
|
|
20520
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;
|
|
20521
20785
|
/** Color of a slotted label. */
|
|
20522
20786
|
"--progress-label-color"?: (string) | undefined;
|
|
20523
20787
|
/** Space between a slotted label and the bar. */
|
|
@@ -21408,7 +21672,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
21408
21672
|
HelixBarChartVueProps,
|
|
21409
21673
|
HelixBarChartVueEvents
|
|
21410
21674
|
>;
|
|
21411
|
-
/** 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. */
|
|
21412
21676
|
"helix-blockquote": DefineCustomElement<
|
|
21413
21677
|
HelixBlockquote,
|
|
21414
21678
|
HelixBlockquoteVueProps,
|
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
|
/**
|