@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/jsx.d.ts
CHANGED
|
@@ -1255,6 +1255,25 @@ export type HelixAreaChartHelixReadingPressElementEvent =
|
|
|
1255
1255
|
HelixAreaChartElementEvent<HelixReadingPressEvent>;
|
|
1256
1256
|
|
|
1257
1257
|
export type HelixAreaChartProps = {
|
|
1258
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1259
|
+
and the fallback of the `empty` slot. */
|
|
1260
|
+
"empty-text"?: (HelixAreaChart["emptyText"]) | undefined;
|
|
1261
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1262
|
+
and the fallback of the `empty` slot. */
|
|
1263
|
+
emptyText?: (HelixAreaChart["emptyText"]) | undefined;
|
|
1264
|
+
/** Whether the readings are still on their way. The chart shows
|
|
1265
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
1266
|
+
|
|
1267
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
1268
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
1269
|
+
blank it. */
|
|
1270
|
+
loading?: (HelixAreaChart["loading"]) | undefined;
|
|
1271
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1272
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1273
|
+
"loading-text"?: (HelixAreaChart["loadingText"]) | undefined;
|
|
1274
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1275
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1276
|
+
loadingText?: (HelixAreaChart["loadingText"]) | undefined;
|
|
1258
1277
|
/** The id of the table to read.
|
|
1259
1278
|
|
|
1260
1279
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -1352,6 +1371,29 @@ them, and the tooltip and the table hold every reading. */
|
|
|
1352
1371
|
Absent draws none: bands read as a composition need no numbers beside
|
|
1353
1372
|
them, and the tooltip and the table hold every reading. */
|
|
1354
1373
|
valueAxis?: (HelixAreaChart["valueAxis"]) | undefined;
|
|
1374
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
1375
|
+
table to point `for` at. `for` wins where both are set.
|
|
1376
|
+
|
|
1377
|
+
```js
|
|
1378
|
+
chart.data = {
|
|
1379
|
+
caption: 'Sessions by channel',
|
|
1380
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
1381
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
1382
|
+
}
|
|
1383
|
+
```
|
|
1384
|
+
|
|
1385
|
+
The first column holds each row's label and every column after it a
|
|
1386
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
1387
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
1388
|
+
number is shown in `locale`.
|
|
1389
|
+
|
|
1390
|
+
**A table is still the better source where the page can show one**:
|
|
1391
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
1392
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
1393
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
1394
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
1395
|
+
does not look inside the one it has. */
|
|
1396
|
+
data?: (HelixAreaChart["data"]) | undefined;
|
|
1355
1397
|
|
|
1356
1398
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
1357
1399
|
"onhelix-reading-change"?: ((
|
|
@@ -1364,6 +1406,25 @@ them, and the tooltip and the table hold every reading. */
|
|
|
1364
1406
|
};
|
|
1365
1407
|
|
|
1366
1408
|
export type HelixAreaChartSolidJsProps = {
|
|
1409
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1410
|
+
and the fallback of the `empty` slot. */
|
|
1411
|
+
"attr:empty-text"?: (HelixAreaChart["emptyText"]) | undefined;
|
|
1412
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
1413
|
+
and the fallback of the `empty` slot. */
|
|
1414
|
+
"prop:emptyText"?: (HelixAreaChart["emptyText"]) | undefined;
|
|
1415
|
+
/** Whether the readings are still on their way. The chart shows
|
|
1416
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
1417
|
+
|
|
1418
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
1419
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
1420
|
+
blank it. */
|
|
1421
|
+
"prop:loading"?: (HelixAreaChart["loading"]) | undefined;
|
|
1422
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1423
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1424
|
+
"attr:loading-text"?: (HelixAreaChart["loadingText"]) | undefined;
|
|
1425
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
1426
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
1427
|
+
"prop:loadingText"?: (HelixAreaChart["loadingText"]) | undefined;
|
|
1367
1428
|
/** The id of the table to read.
|
|
1368
1429
|
|
|
1369
1430
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -1461,6 +1522,29 @@ them, and the tooltip and the table hold every reading. */
|
|
|
1461
1522
|
Absent draws none: bands read as a composition need no numbers beside
|
|
1462
1523
|
them, and the tooltip and the table hold every reading. */
|
|
1463
1524
|
"prop:valueAxis"?: (HelixAreaChart["valueAxis"]) | undefined;
|
|
1525
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
1526
|
+
table to point `for` at. `for` wins where both are set.
|
|
1527
|
+
|
|
1528
|
+
```js
|
|
1529
|
+
chart.data = {
|
|
1530
|
+
caption: 'Sessions by channel',
|
|
1531
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
1532
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
1533
|
+
}
|
|
1534
|
+
```
|
|
1535
|
+
|
|
1536
|
+
The first column holds each row's label and every column after it a
|
|
1537
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
1538
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
1539
|
+
number is shown in `locale`.
|
|
1540
|
+
|
|
1541
|
+
**A table is still the better source where the page can show one**:
|
|
1542
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
1543
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
1544
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
1545
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
1546
|
+
does not look inside the one it has. */
|
|
1547
|
+
"prop:data"?: (HelixAreaChart["data"]) | undefined;
|
|
1464
1548
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
1465
1549
|
"on:helix-reading-change"?: ((
|
|
1466
1550
|
e: HelixAreaChartHelixReadingChangeElementEvent,
|
|
@@ -2218,6 +2302,25 @@ every component in the library and mean something on one. `wash` because
|
|
|
2218
2302
|
that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
2219
2303
|
the `bar-wash-start` and `bar-wash-end` stops. */
|
|
2220
2304
|
wash?: (HelixBarChart["wash"]) | undefined;
|
|
2305
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
2306
|
+
and the fallback of the `empty` slot. */
|
|
2307
|
+
"empty-text"?: (HelixBarChart["emptyText"]) | undefined;
|
|
2308
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
2309
|
+
and the fallback of the `empty` slot. */
|
|
2310
|
+
emptyText?: (HelixBarChart["emptyText"]) | undefined;
|
|
2311
|
+
/** Whether the readings are still on their way. The chart shows
|
|
2312
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
2313
|
+
|
|
2314
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
2315
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
2316
|
+
blank it. */
|
|
2317
|
+
loading?: (HelixBarChart["loading"]) | undefined;
|
|
2318
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
2319
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
2320
|
+
"loading-text"?: (HelixBarChart["loadingText"]) | undefined;
|
|
2321
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
2322
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
2323
|
+
loadingText?: (HelixBarChart["loadingText"]) | undefined;
|
|
2221
2324
|
/** The id of the table to read.
|
|
2222
2325
|
|
|
2223
2326
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -2377,6 +2480,29 @@ bottom of bars under `orientation="horizontal"`.
|
|
|
2377
2480
|
Absent draws none with one scale, since bars compared with each other need
|
|
2378
2481
|
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
2379
2482
|
valueAxis?: (HelixBarChart["valueAxis"]) | undefined;
|
|
2483
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
2484
|
+
table to point `for` at. `for` wins where both are set.
|
|
2485
|
+
|
|
2486
|
+
```js
|
|
2487
|
+
chart.data = {
|
|
2488
|
+
caption: 'Sessions by channel',
|
|
2489
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
2490
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
2491
|
+
}
|
|
2492
|
+
```
|
|
2493
|
+
|
|
2494
|
+
The first column holds each row's label and every column after it a
|
|
2495
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
2496
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
2497
|
+
number is shown in `locale`.
|
|
2498
|
+
|
|
2499
|
+
**A table is still the better source where the page can show one**:
|
|
2500
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
2501
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
2502
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
2503
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
2504
|
+
does not look inside the one it has. */
|
|
2505
|
+
data?: (HelixBarChart["data"]) | undefined;
|
|
2380
2506
|
|
|
2381
2507
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
2382
2508
|
"onhelix-reading-change"?: ((
|
|
@@ -2494,6 +2620,25 @@ every component in the library and mean something on one. `wash` because
|
|
|
2494
2620
|
that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
2495
2621
|
the `bar-wash-start` and `bar-wash-end` stops. */
|
|
2496
2622
|
"prop:wash"?: (HelixBarChart["wash"]) | undefined;
|
|
2623
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
2624
|
+
and the fallback of the `empty` slot. */
|
|
2625
|
+
"attr:empty-text"?: (HelixBarChart["emptyText"]) | undefined;
|
|
2626
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
2627
|
+
and the fallback of the `empty` slot. */
|
|
2628
|
+
"prop:emptyText"?: (HelixBarChart["emptyText"]) | undefined;
|
|
2629
|
+
/** Whether the readings are still on their way. The chart shows
|
|
2630
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
2631
|
+
|
|
2632
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
2633
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
2634
|
+
blank it. */
|
|
2635
|
+
"prop:loading"?: (HelixBarChart["loading"]) | undefined;
|
|
2636
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
2637
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
2638
|
+
"attr:loading-text"?: (HelixBarChart["loadingText"]) | undefined;
|
|
2639
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
2640
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
2641
|
+
"prop:loadingText"?: (HelixBarChart["loadingText"]) | undefined;
|
|
2497
2642
|
/** The id of the table to read.
|
|
2498
2643
|
|
|
2499
2644
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -2653,6 +2798,29 @@ bottom of bars under `orientation="horizontal"`.
|
|
|
2653
2798
|
Absent draws none with one scale, since bars compared with each other need
|
|
2654
2799
|
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
2655
2800
|
"prop:valueAxis"?: (HelixBarChart["valueAxis"]) | undefined;
|
|
2801
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
2802
|
+
table to point `for` at. `for` wins where both are set.
|
|
2803
|
+
|
|
2804
|
+
```js
|
|
2805
|
+
chart.data = {
|
|
2806
|
+
caption: 'Sessions by channel',
|
|
2807
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
2808
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
2809
|
+
}
|
|
2810
|
+
```
|
|
2811
|
+
|
|
2812
|
+
The first column holds each row's label and every column after it a
|
|
2813
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
2814
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
2815
|
+
number is shown in `locale`.
|
|
2816
|
+
|
|
2817
|
+
**A table is still the better source where the page can show one**:
|
|
2818
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
2819
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
2820
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
2821
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
2822
|
+
does not look inside the one it has. */
|
|
2823
|
+
"prop:data"?: (HelixBarChart["data"]) | undefined;
|
|
2656
2824
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
2657
2825
|
"on:helix-reading-change"?: ((
|
|
2658
2826
|
e: HelixBarChartHelixReadingChangeElementEvent,
|
|
@@ -2669,6 +2837,42 @@ no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
|
2669
2837
|
};
|
|
2670
2838
|
|
|
2671
2839
|
export type HelixBlockquoteProps = {
|
|
2840
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
2841
|
+
|
|
2842
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
2843
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
2844
|
+
the first line. Absent aligns as the prose around it does.
|
|
2845
|
+
|
|
2846
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
2847
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
2848
|
+
and it has no `start` or `end`. */
|
|
2849
|
+
"text-align"?: (HelixBlockquote["textAlign"]) | undefined;
|
|
2850
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
2851
|
+
|
|
2852
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
2853
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
2854
|
+
the first line. Absent aligns as the prose around it does.
|
|
2855
|
+
|
|
2856
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
2857
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
2858
|
+
and it has no `start` or `end`. */
|
|
2859
|
+
textAlign?: (HelixBlockquote["textAlign"]) | undefined;
|
|
2860
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
2861
|
+
|
|
2862
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
2863
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
2864
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
2865
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
2866
|
+
more than one line. */
|
|
2867
|
+
"text-wrap"?: (HelixBlockquote["textWrap"]) | undefined;
|
|
2868
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
2869
|
+
|
|
2870
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
2871
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
2872
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
2873
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
2874
|
+
more than one line. */
|
|
2875
|
+
textWrap?: (HelixBlockquote["textWrap"]) | undefined;
|
|
2672
2876
|
/** Who said it, and where, as words, such as "Maria Lopez, operations
|
|
2673
2877
|
manager". The `attribution` slot replaces them, for markup such as a link.
|
|
2674
2878
|
|
|
@@ -2685,6 +2889,42 @@ element's language. Leave the marks out of the text. */
|
|
|
2685
2889
|
};
|
|
2686
2890
|
|
|
2687
2891
|
export type HelixBlockquoteSolidJsProps = {
|
|
2892
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
2893
|
+
|
|
2894
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
2895
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
2896
|
+
the first line. Absent aligns as the prose around it does.
|
|
2897
|
+
|
|
2898
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
2899
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
2900
|
+
and it has no `start` or `end`. */
|
|
2901
|
+
"attr:text-align"?: (HelixBlockquote["textAlign"]) | undefined;
|
|
2902
|
+
/** How the passage and its attribution align, set as `text-align`.
|
|
2903
|
+
|
|
2904
|
+
`center` for a pull quote in the middle of a column and `end` for one
|
|
2905
|
+
against its far edge. Under either, the mark `marks` draws stands over
|
|
2906
|
+
the first line. Absent aligns as the prose around it does.
|
|
2907
|
+
|
|
2908
|
+
Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
2909
|
+
is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
2910
|
+
and it has no `start` or `end`. */
|
|
2911
|
+
"prop:textAlign"?: (HelixBlockquote["textAlign"]) | undefined;
|
|
2912
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
2913
|
+
|
|
2914
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
2915
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
2916
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
2917
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
2918
|
+
more than one line. */
|
|
2919
|
+
"attr:text-wrap"?: (HelixBlockquote["textWrap"]) | undefined;
|
|
2920
|
+
/** How the passage's lines break, set as `text-wrap`.
|
|
2921
|
+
|
|
2922
|
+
`balance` evens out the length of every line, which suits a pull quote of
|
|
2923
|
+
a few lines in display type. `pretty` avoids a last line of one short
|
|
2924
|
+
word, for a longer passage. Absent, the lines break as the browser breaks
|
|
2925
|
+
them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
2926
|
+
more than one line. */
|
|
2927
|
+
"prop:textWrap"?: (HelixBlockquote["textWrap"]) | undefined;
|
|
2688
2928
|
/** Who said it, and where, as words, such as "Maria Lopez, operations
|
|
2689
2929
|
manager". The `attribution` slot replaces them, for markup such as a link.
|
|
2690
2930
|
|
|
@@ -12935,6 +13175,29 @@ rotation that puts the first slice at nine o'clock, the aspect ratio of a
|
|
|
12935
13175
|
box that is no longer square, and where the middle sits once the bottom of
|
|
12936
13176
|
the circle is not drawn. */
|
|
12937
13177
|
sweep?: (HelixDonutChart["sweep"]) | undefined;
|
|
13178
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
13179
|
+
table to point `for` at. `for` wins where both are set.
|
|
13180
|
+
|
|
13181
|
+
```js
|
|
13182
|
+
chart.data = {
|
|
13183
|
+
caption: 'Sessions by channel',
|
|
13184
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
13185
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
13186
|
+
}
|
|
13187
|
+
```
|
|
13188
|
+
|
|
13189
|
+
The first column holds each row's label and every column after it a
|
|
13190
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
13191
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
13192
|
+
number is shown in `locale`.
|
|
13193
|
+
|
|
13194
|
+
**A table is still the better source where the page can show one**:
|
|
13195
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
13196
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
13197
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
13198
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
13199
|
+
does not look inside the one it has. */
|
|
13200
|
+
data?: (HelixDonutChart["data"]) | undefined;
|
|
12938
13201
|
};
|
|
12939
13202
|
|
|
12940
13203
|
export type HelixDonutChartSolidJsProps = {
|
|
@@ -13079,6 +13342,29 @@ rotation that puts the first slice at nine o'clock, the aspect ratio of a
|
|
|
13079
13342
|
box that is no longer square, and where the middle sits once the bottom of
|
|
13080
13343
|
the circle is not drawn. */
|
|
13081
13344
|
"prop:sweep"?: (HelixDonutChart["sweep"]) | undefined;
|
|
13345
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
13346
|
+
table to point `for` at. `for` wins where both are set.
|
|
13347
|
+
|
|
13348
|
+
```js
|
|
13349
|
+
chart.data = {
|
|
13350
|
+
caption: 'Sessions by channel',
|
|
13351
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
13352
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
13353
|
+
}
|
|
13354
|
+
```
|
|
13355
|
+
|
|
13356
|
+
The first column holds each row's label and every column after it a
|
|
13357
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
13358
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
13359
|
+
number is shown in `locale`.
|
|
13360
|
+
|
|
13361
|
+
**A table is still the better source where the page can show one**:
|
|
13362
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
13363
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
13364
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
13365
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
13366
|
+
does not look inside the one it has. */
|
|
13367
|
+
"prop:data"?: (HelixDonutChart["data"]) | undefined;
|
|
13082
13368
|
|
|
13083
13369
|
/** Set the innerHTML of the element */
|
|
13084
13370
|
innerHTML?: (string) | undefined;
|
|
@@ -16074,6 +16360,29 @@ no order in it. */
|
|
|
16074
16360
|
Set it to start with cells selected. Written by a press or a key under
|
|
16075
16361
|
`selection-mode`. */
|
|
16076
16362
|
value?: (HelixHeatmap["value"]) | undefined;
|
|
16363
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
16364
|
+
table to point `for` at. `for` wins where both are set.
|
|
16365
|
+
|
|
16366
|
+
```js
|
|
16367
|
+
chart.data = {
|
|
16368
|
+
caption: 'Sessions by channel',
|
|
16369
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
16370
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
16371
|
+
}
|
|
16372
|
+
```
|
|
16373
|
+
|
|
16374
|
+
The first column holds each row's label and every column after it a
|
|
16375
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
16376
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
16377
|
+
number is shown in `locale`.
|
|
16378
|
+
|
|
16379
|
+
**A table is still the better source where the page can show one**:
|
|
16380
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
16381
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
16382
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
16383
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
16384
|
+
does not look inside the one it has. */
|
|
16385
|
+
data?: (HelixHeatmap["data"]) | undefined;
|
|
16077
16386
|
|
|
16078
16387
|
/** Fired once a press or a key has changed which cells are selected. */
|
|
16079
16388
|
onchange?: ((e: HelixHeatmapElementEvent) => void) | undefined;
|
|
@@ -16257,6 +16566,29 @@ no order in it. */
|
|
|
16257
16566
|
Set it to start with cells selected. Written by a press or a key under
|
|
16258
16567
|
`selection-mode`. */
|
|
16259
16568
|
"prop:value"?: (HelixHeatmap["value"]) | undefined;
|
|
16569
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
16570
|
+
table to point `for` at. `for` wins where both are set.
|
|
16571
|
+
|
|
16572
|
+
```js
|
|
16573
|
+
chart.data = {
|
|
16574
|
+
caption: 'Sessions by channel',
|
|
16575
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
16576
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
16577
|
+
}
|
|
16578
|
+
```
|
|
16579
|
+
|
|
16580
|
+
The first column holds each row's label and every column after it a
|
|
16581
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
16582
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
16583
|
+
number is shown in `locale`.
|
|
16584
|
+
|
|
16585
|
+
**A table is still the better source where the page can show one**:
|
|
16586
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
16587
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
16588
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
16589
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
16590
|
+
does not look inside the one it has. */
|
|
16591
|
+
"prop:data"?: (HelixHeatmap["data"]) | undefined;
|
|
16260
16592
|
/** Fired once a press or a key has changed which cells are selected. */
|
|
16261
16593
|
"on:change"?: ((e: HelixHeatmapElementEvent) => void) | undefined;
|
|
16262
16594
|
/** Fired before a press or a key changes which cells are selected, with the `value` it would leave. Cancelable. */
|
|
@@ -18352,6 +18684,25 @@ chart and a card mean the same thing by the word.
|
|
|
18352
18684
|
material choice, it is an absent series, and a chart says that by not
|
|
18353
18685
|
having the datum rather than by painting it invisibly. */
|
|
18354
18686
|
material?: (HelixLineChart["material"]) | undefined;
|
|
18687
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18688
|
+
and the fallback of the `empty` slot. */
|
|
18689
|
+
"empty-text"?: (HelixLineChart["emptyText"]) | undefined;
|
|
18690
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18691
|
+
and the fallback of the `empty` slot. */
|
|
18692
|
+
emptyText?: (HelixLineChart["emptyText"]) | undefined;
|
|
18693
|
+
/** Whether the readings are still on their way. The chart shows
|
|
18694
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
18695
|
+
|
|
18696
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
18697
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
18698
|
+
blank it. */
|
|
18699
|
+
loading?: (HelixLineChart["loading"]) | undefined;
|
|
18700
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18701
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18702
|
+
"loading-text"?: (HelixLineChart["loadingText"]) | undefined;
|
|
18703
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18704
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18705
|
+
loadingText?: (HelixLineChart["loadingText"]) | undefined;
|
|
18355
18706
|
/** The id of the table to read.
|
|
18356
18707
|
|
|
18357
18708
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -18509,6 +18860,29 @@ Set it where the distance from nothing is the point rather than the shape,
|
|
|
18509
18860
|
and accept that a series which never approaches zero becomes a flat rule
|
|
18510
18861
|
near the top of the box. */
|
|
18511
18862
|
zero?: (HelixLineChart["zero"]) | undefined;
|
|
18863
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
18864
|
+
table to point `for` at. `for` wins where both are set.
|
|
18865
|
+
|
|
18866
|
+
```js
|
|
18867
|
+
chart.data = {
|
|
18868
|
+
caption: 'Sessions by channel',
|
|
18869
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
18870
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
18871
|
+
}
|
|
18872
|
+
```
|
|
18873
|
+
|
|
18874
|
+
The first column holds each row's label and every column after it a
|
|
18875
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
18876
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
18877
|
+
number is shown in `locale`.
|
|
18878
|
+
|
|
18879
|
+
**A table is still the better source where the page can show one**:
|
|
18880
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
18881
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
18882
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
18883
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
18884
|
+
does not look inside the one it has. */
|
|
18885
|
+
data?: (HelixLineChart["data"]) | undefined;
|
|
18512
18886
|
|
|
18513
18887
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
18514
18888
|
"onhelix-reading-change"?: ((
|
|
@@ -18561,6 +18935,25 @@ chart and a card mean the same thing by the word.
|
|
|
18561
18935
|
material choice, it is an absent series, and a chart says that by not
|
|
18562
18936
|
having the datum rather than by painting it invisibly. */
|
|
18563
18937
|
"prop:material"?: (HelixLineChart["material"]) | undefined;
|
|
18938
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18939
|
+
and the fallback of the `empty` slot. */
|
|
18940
|
+
"attr:empty-text"?: (HelixLineChart["emptyText"]) | undefined;
|
|
18941
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18942
|
+
and the fallback of the `empty` slot. */
|
|
18943
|
+
"prop:emptyText"?: (HelixLineChart["emptyText"]) | undefined;
|
|
18944
|
+
/** Whether the readings are still on their way. The chart shows
|
|
18945
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
18946
|
+
|
|
18947
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
18948
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
18949
|
+
blank it. */
|
|
18950
|
+
"prop:loading"?: (HelixLineChart["loading"]) | undefined;
|
|
18951
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18952
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18953
|
+
"attr:loading-text"?: (HelixLineChart["loadingText"]) | undefined;
|
|
18954
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18955
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18956
|
+
"prop:loadingText"?: (HelixLineChart["loadingText"]) | undefined;
|
|
18564
18957
|
/** The id of the table to read.
|
|
18565
18958
|
|
|
18566
18959
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -18718,6 +19111,29 @@ Set it where the distance from nothing is the point rather than the shape,
|
|
|
18718
19111
|
and accept that a series which never approaches zero becomes a flat rule
|
|
18719
19112
|
near the top of the box. */
|
|
18720
19113
|
"prop:zero"?: (HelixLineChart["zero"]) | undefined;
|
|
19114
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
19115
|
+
table to point `for` at. `for` wins where both are set.
|
|
19116
|
+
|
|
19117
|
+
```js
|
|
19118
|
+
chart.data = {
|
|
19119
|
+
caption: 'Sessions by channel',
|
|
19120
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
19121
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
19122
|
+
}
|
|
19123
|
+
```
|
|
19124
|
+
|
|
19125
|
+
The first column holds each row's label and every column after it a
|
|
19126
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
19127
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
19128
|
+
number is shown in `locale`.
|
|
19129
|
+
|
|
19130
|
+
**A table is still the better source where the page can show one**:
|
|
19131
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
19132
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
19133
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
19134
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
19135
|
+
does not look inside the one it has. */
|
|
19136
|
+
"prop:data"?: (HelixLineChart["data"]) | undefined;
|
|
18721
19137
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
18722
19138
|
"on:helix-reading-change"?: ((
|
|
18723
19139
|
e: HelixLineChartHelixReadingChangeElementEvent,
|
|
@@ -23911,7 +24327,13 @@ the state's word.
|
|
|
23911
24327
|
|
|
23912
24328
|
Off by default, because the name and the busy state already change with
|
|
23913
24329
|
the state, and an orb beside a stream of messages would otherwise talk
|
|
23914
|
-
over them. Set it on an orb that is the only sign of progress on the page.
|
|
24330
|
+
over them. Set it on an orb that is the only sign of progress on the page.
|
|
24331
|
+
|
|
24332
|
+
**Without it, finishing is silent.** `done` turns the orb into an image
|
|
24333
|
+
named "Done" that is no longer busy, which a screen reader reports when it
|
|
24334
|
+
next reaches the orb and does not say as it happens. A page whose own
|
|
24335
|
+
result arrives in a live region, such as a chat reply, already says the
|
|
24336
|
+
work is done; one that shows nothing else sets `announce`. */
|
|
23915
24337
|
announce?: (HelixOrb["announce"]) | undefined;
|
|
23916
24338
|
/** The name read by screen readers. Defaults to the name of the state, such
|
|
23917
24339
|
as "Thinking".
|
|
@@ -23971,7 +24393,13 @@ the state's word.
|
|
|
23971
24393
|
|
|
23972
24394
|
Off by default, because the name and the busy state already change with
|
|
23973
24395
|
the state, and an orb beside a stream of messages would otherwise talk
|
|
23974
|
-
over them. Set it on an orb that is the only sign of progress on the page.
|
|
24396
|
+
over them. Set it on an orb that is the only sign of progress on the page.
|
|
24397
|
+
|
|
24398
|
+
**Without it, finishing is silent.** `done` turns the orb into an image
|
|
24399
|
+
named "Done" that is no longer busy, which a screen reader reports when it
|
|
24400
|
+
next reaches the orb and does not say as it happens. A page whose own
|
|
24401
|
+
result arrives in a live region, such as a chat reply, already says the
|
|
24402
|
+
work is done; one that shows nothing else sets `announce`. */
|
|
23975
24403
|
"prop:announce"?: (HelixOrb["announce"]) | undefined;
|
|
23976
24404
|
/** The name read by screen readers. Defaults to the name of the state, such
|
|
23977
24405
|
as "Thinking".
|
|
@@ -25145,7 +25573,8 @@ decimals. Written as JSON in the attribute.
|
|
|
25145
25573
|
|
|
25146
25574
|
A `percent` style writes the share of the range, and any other the value
|
|
25147
25575
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
25148
|
-
words are announced
|
|
25576
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
25577
|
+
still wins. */
|
|
25149
25578
|
"format-options"?: (HelixProgress["formatOptions"]) | undefined;
|
|
25150
25579
|
/** `Intl.NumberFormat` options the reading is written with, as React Aria's
|
|
25151
25580
|
Meter and ProgressBar take them: a unit, a currency, or a number of
|
|
@@ -25157,7 +25586,8 @@ decimals. Written as JSON in the attribute.
|
|
|
25157
25586
|
|
|
25158
25587
|
A `percent` style writes the share of the range, and any other the value
|
|
25159
25588
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
25160
|
-
words are announced
|
|
25589
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
25590
|
+
still wins. */
|
|
25161
25591
|
formatOptions?: (HelixProgress["formatOptions"]) | undefined;
|
|
25162
25592
|
/** Whether the length of the task is unknown. The bar then shows activity
|
|
25163
25593
|
without a value.
|
|
@@ -25289,7 +25719,8 @@ decimals. Written as JSON in the attribute.
|
|
|
25289
25719
|
|
|
25290
25720
|
A `percent` style writes the share of the range, and any other the value
|
|
25291
25721
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
25292
|
-
words are announced
|
|
25722
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
25723
|
+
still wins. */
|
|
25293
25724
|
"attr:format-options"?: (HelixProgress["formatOptions"]) | undefined;
|
|
25294
25725
|
/** `Intl.NumberFormat` options the reading is written with, as React Aria's
|
|
25295
25726
|
Meter and ProgressBar take them: a unit, a currency, or a number of
|
|
@@ -25301,7 +25732,8 @@ decimals. Written as JSON in the attribute.
|
|
|
25301
25732
|
|
|
25302
25733
|
A `percent` style writes the share of the range, and any other the value
|
|
25303
25734
|
itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
25304
|
-
words are announced
|
|
25735
|
+
words are announced whether or not `show-value` shows them. `value-text`
|
|
25736
|
+
still wins. */
|
|
25305
25737
|
"prop:formatOptions"?: (HelixProgress["formatOptions"]) | undefined;
|
|
25306
25738
|
/** Whether the length of the task is unknown. The bar then shows activity
|
|
25307
25739
|
without a value.
|
|
@@ -27277,6 +27709,25 @@ export type HelixScatterChartHelixReadingPressElementEvent =
|
|
|
27277
27709
|
HelixScatterChartElementEvent<HelixReadingPressEvent>;
|
|
27278
27710
|
|
|
27279
27711
|
export type HelixScatterChartProps = {
|
|
27712
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
27713
|
+
and the fallback of the `empty` slot. */
|
|
27714
|
+
"empty-text"?: (HelixScatterChart["emptyText"]) | undefined;
|
|
27715
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
27716
|
+
and the fallback of the `empty` slot. */
|
|
27717
|
+
emptyText?: (HelixScatterChart["emptyText"]) | undefined;
|
|
27718
|
+
/** Whether the readings are still on their way. The chart shows
|
|
27719
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
27720
|
+
|
|
27721
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
27722
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
27723
|
+
blank it. */
|
|
27724
|
+
loading?: (HelixScatterChart["loading"]) | undefined;
|
|
27725
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
27726
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
27727
|
+
"loading-text"?: (HelixScatterChart["loadingText"]) | undefined;
|
|
27728
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
27729
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
27730
|
+
loadingText?: (HelixScatterChart["loadingText"]) | undefined;
|
|
27280
27731
|
/** The id of the table to read.
|
|
27281
27732
|
|
|
27282
27733
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -27372,6 +27823,29 @@ Absent draws none. A series with fewer than two points, or with every
|
|
|
27372
27823
|
point at one measure across, has no line to draw. The summary already
|
|
27373
27824
|
gives each series' correlation, which says how near the points are to it. */
|
|
27374
27825
|
trend?: (HelixScatterChart["trend"]) | undefined;
|
|
27826
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
27827
|
+
table to point `for` at. `for` wins where both are set.
|
|
27828
|
+
|
|
27829
|
+
```js
|
|
27830
|
+
chart.data = {
|
|
27831
|
+
caption: 'Sessions by channel',
|
|
27832
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
27833
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
27834
|
+
}
|
|
27835
|
+
```
|
|
27836
|
+
|
|
27837
|
+
The first column holds each row's label and every column after it a
|
|
27838
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
27839
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
27840
|
+
number is shown in `locale`.
|
|
27841
|
+
|
|
27842
|
+
**A table is still the better source where the page can show one**:
|
|
27843
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
27844
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
27845
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
27846
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
27847
|
+
does not look inside the one it has. */
|
|
27848
|
+
data?: (HelixScatterChart["data"]) | undefined;
|
|
27375
27849
|
|
|
27376
27850
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
27377
27851
|
"onhelix-reading-change"?: ((
|
|
@@ -27384,6 +27858,25 @@ gives each series' correlation, which says how near the points are to it. */
|
|
|
27384
27858
|
};
|
|
27385
27859
|
|
|
27386
27860
|
export type HelixScatterChartSolidJsProps = {
|
|
27861
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
27862
|
+
and the fallback of the `empty` slot. */
|
|
27863
|
+
"attr:empty-text"?: (HelixScatterChart["emptyText"]) | undefined;
|
|
27864
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
27865
|
+
and the fallback of the `empty` slot. */
|
|
27866
|
+
"prop:emptyText"?: (HelixScatterChart["emptyText"]) | undefined;
|
|
27867
|
+
/** Whether the readings are still on their way. The chart shows
|
|
27868
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
27869
|
+
|
|
27870
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
27871
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
27872
|
+
blank it. */
|
|
27873
|
+
"prop:loading"?: (HelixScatterChart["loading"]) | undefined;
|
|
27874
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
27875
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
27876
|
+
"attr:loading-text"?: (HelixScatterChart["loadingText"]) | undefined;
|
|
27877
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
27878
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
27879
|
+
"prop:loadingText"?: (HelixScatterChart["loadingText"]) | undefined;
|
|
27387
27880
|
/** The id of the table to read.
|
|
27388
27881
|
|
|
27389
27882
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -27479,6 +27972,29 @@ Absent draws none. A series with fewer than two points, or with every
|
|
|
27479
27972
|
point at one measure across, has no line to draw. The summary already
|
|
27480
27973
|
gives each series' correlation, which says how near the points are to it. */
|
|
27481
27974
|
"prop:trend"?: (HelixScatterChart["trend"]) | undefined;
|
|
27975
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
27976
|
+
table to point `for` at. `for` wins where both are set.
|
|
27977
|
+
|
|
27978
|
+
```js
|
|
27979
|
+
chart.data = {
|
|
27980
|
+
caption: 'Sessions by channel',
|
|
27981
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
27982
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
27983
|
+
}
|
|
27984
|
+
```
|
|
27985
|
+
|
|
27986
|
+
The first column holds each row's label and every column after it a
|
|
27987
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
27988
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
27989
|
+
number is shown in `locale`.
|
|
27990
|
+
|
|
27991
|
+
**A table is still the better source where the page can show one**:
|
|
27992
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
27993
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
27994
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
27995
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
27996
|
+
does not look inside the one it has. */
|
|
27997
|
+
"prop:data"?: (HelixScatterChart["data"]) | undefined;
|
|
27482
27998
|
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
27483
27999
|
"on:helix-reading-change"?: ((
|
|
27484
28000
|
e: HelixScatterChartHelixReadingChangeElementEvent,
|
|
@@ -37565,6 +38081,16 @@ export type CustomElements = {
|
|
|
37565
38081
|
*
|
|
37566
38082
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
37567
38083
|
*
|
|
38084
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
38085
|
+
* and the fallback of the `empty` slot.
|
|
38086
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
38087
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
38088
|
+
*
|
|
38089
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
38090
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
38091
|
+
* blank it.
|
|
38092
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
38093
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
37568
38094
|
* - `for`: The id of the table to read.
|
|
37569
38095
|
*
|
|
37570
38096
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -37637,6 +38163,28 @@ export type CustomElements = {
|
|
|
37637
38163
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
37638
38164
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
37639
38165
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
38166
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
38167
|
+
* table to point `for` at. `for` wins where both are set.
|
|
38168
|
+
*
|
|
38169
|
+
* ```js
|
|
38170
|
+
* chart.data = {
|
|
38171
|
+
* caption: 'Sessions by channel',
|
|
38172
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
38173
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
38174
|
+
* }
|
|
38175
|
+
* ```
|
|
38176
|
+
*
|
|
38177
|
+
* The first column holds each row's label and every column after it a
|
|
38178
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
38179
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
38180
|
+
* number is shown in `locale`.
|
|
38181
|
+
*
|
|
38182
|
+
* **A table is still the better source where the page can show one**:
|
|
38183
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
38184
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
38185
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
38186
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
38187
|
+
* does not look inside the one it has. (property only)
|
|
37640
38188
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
37641
38189
|
*
|
|
37642
38190
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -37653,6 +38201,9 @@ export type CustomElements = {
|
|
|
37653
38201
|
* names an element, and the chart is a generic around its plot: written
|
|
37654
38202
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
37655
38203
|
* strip always did. (property only) (readonly)
|
|
38204
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
38205
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
38206
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
37656
38207
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
37657
38208
|
*
|
|
37658
38209
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -37699,6 +38250,13 @@ export type CustomElements = {
|
|
|
37699
38250
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
37700
38251
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
37701
38252
|
*
|
|
38253
|
+
* ## Slots
|
|
38254
|
+
*
|
|
38255
|
+
* Areas where markup can be added to the component.
|
|
38256
|
+
*
|
|
38257
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
38258
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
38259
|
+
*
|
|
37702
38260
|
* ## Methods
|
|
37703
38261
|
*
|
|
37704
38262
|
* Methods that can be called to access component functionality.
|
|
@@ -37755,12 +38313,14 @@ export type CustomElements = {
|
|
|
37755
38313
|
* - `area`: One part's band.
|
|
37756
38314
|
* - `axis`: The numbers of the scale beside the plot, under `value-axis`.
|
|
37757
38315
|
* - `baseline`: The rule at zero, which is the floor of the drawing.
|
|
38316
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
37758
38317
|
* - `gridline`: One rule across the plot, under `gridlines`.
|
|
37759
38318
|
* - `guide`: A rule down the reading a pointer is resting on.
|
|
37760
38319
|
* - `label`: One reading's name.
|
|
37761
38320
|
* - `labels`: The row of reading names.
|
|
37762
38321
|
* - `line`: The top edge of one part's band.
|
|
37763
38322
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
38323
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
37764
38324
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
37765
38325
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
37766
38326
|
* - `summary`: The total and each part's share at the latest reading, written as a sentence for screen readers.
|
|
@@ -38449,6 +39009,16 @@ export type CustomElements = {
|
|
|
38449
39009
|
* every component in the library and mean something on one. `wash` because
|
|
38450
39010
|
* that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
38451
39011
|
* the `bar-wash-start` and `bar-wash-end` stops.
|
|
39012
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
39013
|
+
* and the fallback of the `empty` slot.
|
|
39014
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
39015
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
39016
|
+
*
|
|
39017
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
39018
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
39019
|
+
* blank it.
|
|
39020
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
39021
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
38452
39022
|
* - `for`: The id of the table to read.
|
|
38453
39023
|
*
|
|
38454
39024
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -38580,6 +39150,28 @@ export type CustomElements = {
|
|
|
38580
39150
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
38581
39151
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
38582
39152
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
39153
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
39154
|
+
* table to point `for` at. `for` wins where both are set.
|
|
39155
|
+
*
|
|
39156
|
+
* ```js
|
|
39157
|
+
* chart.data = {
|
|
39158
|
+
* caption: 'Sessions by channel',
|
|
39159
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
39160
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
39161
|
+
* }
|
|
39162
|
+
* ```
|
|
39163
|
+
*
|
|
39164
|
+
* The first column holds each row's label and every column after it a
|
|
39165
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
39166
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
39167
|
+
* number is shown in `locale`.
|
|
39168
|
+
*
|
|
39169
|
+
* **A table is still the better source where the page can show one**:
|
|
39170
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
39171
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
39172
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
39173
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
39174
|
+
* does not look inside the one it has. (property only)
|
|
38583
39175
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
38584
39176
|
*
|
|
38585
39177
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -38596,6 +39188,9 @@ export type CustomElements = {
|
|
|
38596
39188
|
* names an element, and the chart is a generic around its plot: written
|
|
38597
39189
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
38598
39190
|
* strip always did. (property only) (readonly)
|
|
39191
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
39192
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
39193
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
38599
39194
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
38600
39195
|
*
|
|
38601
39196
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -38642,6 +39237,13 @@ export type CustomElements = {
|
|
|
38642
39237
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
38643
39238
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
38644
39239
|
*
|
|
39240
|
+
* ## Slots
|
|
39241
|
+
*
|
|
39242
|
+
* Areas where markup can be added to the component.
|
|
39243
|
+
*
|
|
39244
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
39245
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
39246
|
+
*
|
|
38645
39247
|
* ## Methods
|
|
38646
39248
|
*
|
|
38647
39249
|
* Methods that can be called to access component functionality.
|
|
@@ -38705,6 +39307,7 @@ export type CustomElements = {
|
|
|
38705
39307
|
* - `bar-wash-end`: The far stop of a bar's gradient, where one is used.
|
|
38706
39308
|
* - `bar-wash-start`: The stop of a bar's gradient at its base.
|
|
38707
39309
|
* - `baseline`: The line the columns stand on.
|
|
39310
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
38708
39311
|
* - `gridline`: One gridline across the plot, drawn when `gridlines` is set.
|
|
38709
39312
|
* - `group`: One category's columns, together.
|
|
38710
39313
|
* - `group-active`: The group the tooltip describes. Set together with `group`.
|
|
@@ -38712,6 +39315,7 @@ export type CustomElements = {
|
|
|
38712
39315
|
* - `labels`: The row of category names.
|
|
38713
39316
|
* - `line`: A series drawn as a line, named in `lines`.
|
|
38714
39317
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
39318
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
38715
39319
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
38716
39320
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
38717
39321
|
* - `summary`: The chart's name and each series' highest reading, written as a sentence for screen readers. Hide it visually.
|
|
@@ -38750,10 +39354,31 @@ export type CustomElements = {
|
|
|
38750
39354
|
* set the passage apart. `marks` draws one large opening mark over the passage,
|
|
38751
39355
|
* as a pull quote sets it, in the element's language.
|
|
38752
39356
|
*
|
|
39357
|
+
* `text-align` sets the passage and its attribution in the middle of the
|
|
39358
|
+
* column or against its far edge, as a pull quote often stands. There, the
|
|
39359
|
+
* mark `marks` draws stands over the passage rather than beside it.
|
|
39360
|
+
* `text-wrap="balance"` evens out a short passage's lines.
|
|
39361
|
+
*
|
|
38753
39362
|
* ## Attributes & Properties
|
|
38754
39363
|
*
|
|
38755
39364
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
38756
39365
|
*
|
|
39366
|
+
* - `text-align`/`textAlign`: How the passage and its attribution align, set as `text-align`.
|
|
39367
|
+
*
|
|
39368
|
+
* `center` for a pull quote in the middle of a column and `end` for one
|
|
39369
|
+
* against its far edge. Under either, the mark `marks` draws stands over
|
|
39370
|
+
* the first line. Absent aligns as the prose around it does.
|
|
39371
|
+
*
|
|
39372
|
+
* Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
39373
|
+
* is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
39374
|
+
* and it has no `start` or `end`.
|
|
39375
|
+
* - `text-wrap`/`textWrap`: How the passage's lines break, set as `text-wrap`.
|
|
39376
|
+
*
|
|
39377
|
+
* `balance` evens out the length of every line, which suits a pull quote of
|
|
39378
|
+
* a few lines in display type. `pretty` avoids a last line of one short
|
|
39379
|
+
* word, for a longer passage. Absent, the lines break as the browser breaks
|
|
39380
|
+
* them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
39381
|
+
* more than one line.
|
|
38757
39382
|
* - `attribution`: Who said it, and where, as words, such as "Maria Lopez, operations
|
|
38758
39383
|
* manager". The `attribution` slot replaces them, for markup such as a link.
|
|
38759
39384
|
*
|
|
@@ -45340,6 +45965,28 @@ export type CustomElements = {
|
|
|
45340
45965
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
45341
45966
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
45342
45967
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
45968
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
45969
|
+
* table to point `for` at. `for` wins where both are set.
|
|
45970
|
+
*
|
|
45971
|
+
* ```js
|
|
45972
|
+
* chart.data = {
|
|
45973
|
+
* caption: 'Sessions by channel',
|
|
45974
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
45975
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
45976
|
+
* }
|
|
45977
|
+
* ```
|
|
45978
|
+
*
|
|
45979
|
+
* The first column holds each row's label and every column after it a
|
|
45980
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
45981
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
45982
|
+
* number is shown in `locale`.
|
|
45983
|
+
*
|
|
45984
|
+
* **A table is still the better source where the page can show one**:
|
|
45985
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
45986
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
45987
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
45988
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
45989
|
+
* does not look inside the one it has. (property only)
|
|
45343
45990
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
45344
45991
|
*
|
|
45345
45992
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -45356,6 +46003,9 @@ export type CustomElements = {
|
|
|
45356
46003
|
* names an element, and the chart is a generic around its plot: written
|
|
45357
46004
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
45358
46005
|
* strip always did. (property only) (readonly)
|
|
46006
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
46007
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
46008
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
45359
46009
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
45360
46010
|
*
|
|
45361
46011
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -47823,6 +48473,28 @@ export type CustomElements = {
|
|
|
47823
48473
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
47824
48474
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
47825
48475
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
48476
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
48477
|
+
* table to point `for` at. `for` wins where both are set.
|
|
48478
|
+
*
|
|
48479
|
+
* ```js
|
|
48480
|
+
* chart.data = {
|
|
48481
|
+
* caption: 'Sessions by channel',
|
|
48482
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
48483
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
48484
|
+
* }
|
|
48485
|
+
* ```
|
|
48486
|
+
*
|
|
48487
|
+
* The first column holds each row's label and every column after it a
|
|
48488
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
48489
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
48490
|
+
* number is shown in `locale`.
|
|
48491
|
+
*
|
|
48492
|
+
* **A table is still the better source where the page can show one**:
|
|
48493
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
48494
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
48495
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
48496
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
48497
|
+
* does not look inside the one it has. (property only)
|
|
47826
48498
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
47827
48499
|
*
|
|
47828
48500
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -47839,6 +48511,9 @@ export type CustomElements = {
|
|
|
47839
48511
|
* names an element, and the chart is a generic around its plot: written
|
|
47840
48512
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
47841
48513
|
* strip always did. (property only) (readonly)
|
|
48514
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
48515
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
48516
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
47842
48517
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
47843
48518
|
*
|
|
47844
48519
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -49526,6 +50201,16 @@ export type CustomElements = {
|
|
|
49526
50201
|
* **`transparent` is where this one stops.** A mark with no ink is not a
|
|
49527
50202
|
* material choice, it is an absent series, and a chart says that by not
|
|
49528
50203
|
* having the datum rather than by painting it invisibly.
|
|
50204
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
50205
|
+
* and the fallback of the `empty` slot.
|
|
50206
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
50207
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
50208
|
+
*
|
|
50209
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
50210
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
50211
|
+
* blank it.
|
|
50212
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
50213
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
49529
50214
|
* - `for`: The id of the table to read.
|
|
49530
50215
|
*
|
|
49531
50216
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -49662,6 +50347,28 @@ export type CustomElements = {
|
|
|
49662
50347
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
49663
50348
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
49664
50349
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
50350
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
50351
|
+
* table to point `for` at. `for` wins where both are set.
|
|
50352
|
+
*
|
|
50353
|
+
* ```js
|
|
50354
|
+
* chart.data = {
|
|
50355
|
+
* caption: 'Sessions by channel',
|
|
50356
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
50357
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
50358
|
+
* }
|
|
50359
|
+
* ```
|
|
50360
|
+
*
|
|
50361
|
+
* The first column holds each row's label and every column after it a
|
|
50362
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
50363
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
50364
|
+
* number is shown in `locale`.
|
|
50365
|
+
*
|
|
50366
|
+
* **A table is still the better source where the page can show one**:
|
|
50367
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
50368
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
50369
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
50370
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
50371
|
+
* does not look inside the one it has. (property only)
|
|
49665
50372
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
49666
50373
|
*
|
|
49667
50374
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -49678,6 +50385,9 @@ export type CustomElements = {
|
|
|
49678
50385
|
* names an element, and the chart is a generic around its plot: written
|
|
49679
50386
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
49680
50387
|
* strip always did. (property only) (readonly)
|
|
50388
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
50389
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
50390
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
49681
50391
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
49682
50392
|
*
|
|
49683
50393
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -49724,6 +50434,13 @@ export type CustomElements = {
|
|
|
49724
50434
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
49725
50435
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
49726
50436
|
*
|
|
50437
|
+
* ## Slots
|
|
50438
|
+
*
|
|
50439
|
+
* Areas where markup can be added to the component.
|
|
50440
|
+
*
|
|
50441
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
50442
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
50443
|
+
*
|
|
49727
50444
|
* ## Methods
|
|
49728
50445
|
*
|
|
49729
50446
|
* Methods that can be called to access component functionality.
|
|
@@ -49788,6 +50505,7 @@ export type CustomElements = {
|
|
|
49788
50505
|
* - `axis`: The numbers of the scale beside the plot, under `value-axis`.
|
|
49789
50506
|
* - `band`: The band around the reading under the pointer.
|
|
49790
50507
|
* - `baseline`: The rule at zero, where zero is inside the range.
|
|
50508
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
49791
50509
|
* - `gridline`: One rule across the plot, under `gridlines`.
|
|
49792
50510
|
* - `guide`: A rule down the reading a pointer is resting on.
|
|
49793
50511
|
* - `label`: One reading's name.
|
|
@@ -49795,6 +50513,7 @@ export type CustomElements = {
|
|
|
49795
50513
|
* - `line`: The line for one series.
|
|
49796
50514
|
* - `line-dashed`: A `line` whose series `dashed` names. Set alongside `line`.
|
|
49797
50515
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
50516
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
49798
50517
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
49799
50518
|
* - `marker`: The mark on one reading, under `markers`, and on a reading with a blank on either side. Placed with `inset-inline-start` and `inset-block-start`, and carries its series color as `--chart-series`.
|
|
49800
50519
|
* - `marker-lone`: A `marker` on a reading with a blank on either side, which no line reaches. Set alongside `marker`.
|
|
@@ -53861,6 +54580,12 @@ export type CustomElements = {
|
|
|
53861
54580
|
* Off by default, because the name and the busy state already change with
|
|
53862
54581
|
* the state, and an orb beside a stream of messages would otherwise talk
|
|
53863
54582
|
* over them. Set it on an orb that is the only sign of progress on the page.
|
|
54583
|
+
*
|
|
54584
|
+
* **Without it, finishing is silent.** `done` turns the orb into an image
|
|
54585
|
+
* named "Done" that is no longer busy, which a screen reader reports when it
|
|
54586
|
+
* next reaches the orb and does not say as it happens. A page whose own
|
|
54587
|
+
* result arrives in a live region, such as a chat reply, already says the
|
|
54588
|
+
* work is done; one that shows nothing else sets `announce`.
|
|
53864
54589
|
* - `label`: The name read by screen readers. Defaults to the name of the state, such
|
|
53865
54590
|
* as "Thinking".
|
|
53866
54591
|
*
|
|
@@ -54981,7 +55706,8 @@ export type CustomElements = {
|
|
|
54981
55706
|
*
|
|
54982
55707
|
* A `percent` style writes the share of the range, and any other the value
|
|
54983
55708
|
* itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
54984
|
-
* words are announced
|
|
55709
|
+
* words are announced whether or not `show-value` shows them. `value-text`
|
|
55710
|
+
* still wins.
|
|
54985
55711
|
* - `indeterminate`: Whether the length of the task is unknown. The bar then shows activity
|
|
54986
55712
|
* without a value.
|
|
54987
55713
|
*
|
|
@@ -55070,6 +55796,7 @@ export type CustomElements = {
|
|
|
55070
55796
|
*
|
|
55071
55797
|
* Areas where markup can be added to the component.
|
|
55072
55798
|
*
|
|
55799
|
+
* - `(default)`: Words drawn on the bar, or in the middle of a ring, such as the reading. The bar grows to their height, and over the fill they take the fill's own ink.
|
|
55073
55800
|
* - `label`: A visible label, above a bar and under a ring. Its words name it in place of `label`.
|
|
55074
55801
|
*
|
|
55075
55802
|
* ## CSS Custom Properties
|
|
@@ -55077,6 +55804,9 @@ export type CustomElements = {
|
|
|
55077
55804
|
* CSS variables available for styling the component.
|
|
55078
55805
|
*
|
|
55079
55806
|
* - `--progress-color`: Fill of the part that is done.
|
|
55807
|
+
* - `--progress-content-color`: The color of the words of the default slot where they are over the track, and in a ring.
|
|
55808
|
+
* - `--progress-content-fill-color`: The color of the words of the default slot where they are over the fill.
|
|
55809
|
+
* - `--progress-content-size`: The type size of the words of the default slot.
|
|
55080
55810
|
* - `--progress-label-color`: Color of a slotted label.
|
|
55081
55811
|
* - `--progress-label-gap`: Space between a slotted label and the bar.
|
|
55082
55812
|
* - `--progress-label-size`: Type size of a slotted label.
|
|
@@ -55095,6 +55825,7 @@ export type CustomElements = {
|
|
|
55095
55825
|
*
|
|
55096
55826
|
* Custom selectors for styling elements within the component.
|
|
55097
55827
|
*
|
|
55828
|
+
* - `content`: The box holding the words of the default slot, over the track or in the middle of the ring. Carries `--progress-fraction`.
|
|
55098
55829
|
* - `groove`: The unfilled circle under the ring's filled arc.
|
|
55099
55830
|
* - `indicator`: The filled part that shows the work done.
|
|
55100
55831
|
* - `live`: A polite region that says `complete-label` when the work is done, rendered from that moment. Hide it visually.
|
|
@@ -55106,6 +55837,7 @@ export type CustomElements = {
|
|
|
55106
55837
|
* These can be used to apply styling when a component is in a given state.
|
|
55107
55838
|
*
|
|
55108
55839
|
* - `complete`: The value is at `max` and the bar is not indeterminate.
|
|
55840
|
+
* - `content`: Words are set in the default slot.
|
|
55109
55841
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
55110
55842
|
*/
|
|
55111
55843
|
"helix-progress": Partial<
|
|
@@ -56687,6 +57419,16 @@ export type CustomElements = {
|
|
|
56687
57419
|
*
|
|
56688
57420
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
56689
57421
|
*
|
|
57422
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
57423
|
+
* and the fallback of the `empty` slot.
|
|
57424
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
57425
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
57426
|
+
*
|
|
57427
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
57428
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
57429
|
+
* blank it.
|
|
57430
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
57431
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
56690
57432
|
* - `for`: The id of the table to read.
|
|
56691
57433
|
*
|
|
56692
57434
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -56748,6 +57490,28 @@ export type CustomElements = {
|
|
|
56748
57490
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
56749
57491
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
56750
57492
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
57493
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
57494
|
+
* table to point `for` at. `for` wins where both are set.
|
|
57495
|
+
*
|
|
57496
|
+
* ```js
|
|
57497
|
+
* chart.data = {
|
|
57498
|
+
* caption: 'Sessions by channel',
|
|
57499
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
57500
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
57501
|
+
* }
|
|
57502
|
+
* ```
|
|
57503
|
+
*
|
|
57504
|
+
* The first column holds each row's label and every column after it a
|
|
57505
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
57506
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
57507
|
+
* number is shown in `locale`.
|
|
57508
|
+
*
|
|
57509
|
+
* **A table is still the better source where the page can show one**:
|
|
57510
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
57511
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
57512
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
57513
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
57514
|
+
* does not look inside the one it has. (property only)
|
|
56751
57515
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
56752
57516
|
*
|
|
56753
57517
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -56764,6 +57528,9 @@ export type CustomElements = {
|
|
|
56764
57528
|
* names an element, and the chart is a generic around its plot: written
|
|
56765
57529
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
56766
57530
|
* strip always did. (property only) (readonly)
|
|
57531
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
57532
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
57533
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
56767
57534
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
56768
57535
|
*
|
|
56769
57536
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -56810,6 +57577,13 @@ export type CustomElements = {
|
|
|
56810
57577
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
56811
57578
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
56812
57579
|
*
|
|
57580
|
+
* ## Slots
|
|
57581
|
+
*
|
|
57582
|
+
* Areas where markup can be added to the component.
|
|
57583
|
+
*
|
|
57584
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
57585
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
57586
|
+
*
|
|
56813
57587
|
* ## Methods
|
|
56814
57588
|
*
|
|
56815
57589
|
* Methods that can be called to access component functionality.
|
|
@@ -56868,8 +57642,10 @@ export type CustomElements = {
|
|
|
56868
57642
|
*
|
|
56869
57643
|
* Custom selectors for styling elements within the component.
|
|
56870
57644
|
*
|
|
57645
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
56871
57646
|
* - `gridline`: One line across the plot, drawn when `gridlines` is set.
|
|
56872
57647
|
* - `live`: The readout: a polite live region that says the row the keys moved to. Hide it visually.
|
|
57648
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
56873
57649
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
56874
57650
|
* - `plane`: The grid that holds the plot, both axes, and their names. It runs left to right on every page.
|
|
56875
57651
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
@@ -64966,6 +65742,16 @@ export type CustomElementsSolidJs = {
|
|
|
64966
65742
|
*
|
|
64967
65743
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
64968
65744
|
*
|
|
65745
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
65746
|
+
* and the fallback of the `empty` slot.
|
|
65747
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
65748
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
65749
|
+
*
|
|
65750
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
65751
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
65752
|
+
* blank it.
|
|
65753
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
65754
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
64969
65755
|
* - `for`: The id of the table to read.
|
|
64970
65756
|
*
|
|
64971
65757
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -65038,6 +65824,28 @@ export type CustomElementsSolidJs = {
|
|
|
65038
65824
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
65039
65825
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
65040
65826
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
65827
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
65828
|
+
* table to point `for` at. `for` wins where both are set.
|
|
65829
|
+
*
|
|
65830
|
+
* ```js
|
|
65831
|
+
* chart.data = {
|
|
65832
|
+
* caption: 'Sessions by channel',
|
|
65833
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
65834
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
65835
|
+
* }
|
|
65836
|
+
* ```
|
|
65837
|
+
*
|
|
65838
|
+
* The first column holds each row's label and every column after it a
|
|
65839
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
65840
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
65841
|
+
* number is shown in `locale`.
|
|
65842
|
+
*
|
|
65843
|
+
* **A table is still the better source where the page can show one**:
|
|
65844
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
65845
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
65846
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
65847
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
65848
|
+
* does not look inside the one it has. (property only)
|
|
65041
65849
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
65042
65850
|
*
|
|
65043
65851
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -65054,6 +65862,9 @@ export type CustomElementsSolidJs = {
|
|
|
65054
65862
|
* names an element, and the chart is a generic around its plot: written
|
|
65055
65863
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
65056
65864
|
* strip always did. (property only) (readonly)
|
|
65865
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
65866
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
65867
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
65057
65868
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
65058
65869
|
*
|
|
65059
65870
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -65100,6 +65911,13 @@ export type CustomElementsSolidJs = {
|
|
|
65100
65911
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
65101
65912
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
65102
65913
|
*
|
|
65914
|
+
* ## Slots
|
|
65915
|
+
*
|
|
65916
|
+
* Areas where markup can be added to the component.
|
|
65917
|
+
*
|
|
65918
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
65919
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
65920
|
+
*
|
|
65103
65921
|
* ## Methods
|
|
65104
65922
|
*
|
|
65105
65923
|
* Methods that can be called to access component functionality.
|
|
@@ -65156,12 +65974,14 @@ export type CustomElementsSolidJs = {
|
|
|
65156
65974
|
* - `area`: One part's band.
|
|
65157
65975
|
* - `axis`: The numbers of the scale beside the plot, under `value-axis`.
|
|
65158
65976
|
* - `baseline`: The rule at zero, which is the floor of the drawing.
|
|
65977
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
65159
65978
|
* - `gridline`: One rule across the plot, under `gridlines`.
|
|
65160
65979
|
* - `guide`: A rule down the reading a pointer is resting on.
|
|
65161
65980
|
* - `label`: One reading's name.
|
|
65162
65981
|
* - `labels`: The row of reading names.
|
|
65163
65982
|
* - `line`: The top edge of one part's band.
|
|
65164
65983
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
65984
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
65165
65985
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
65166
65986
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
65167
65987
|
* - `summary`: The total and each part's share at the latest reading, written as a sentence for screen readers.
|
|
@@ -65866,6 +66686,16 @@ export type CustomElementsSolidJs = {
|
|
|
65866
66686
|
* every component in the library and mean something on one. `wash` because
|
|
65867
66687
|
* that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
65868
66688
|
* the `bar-wash-start` and `bar-wash-end` stops.
|
|
66689
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
66690
|
+
* and the fallback of the `empty` slot.
|
|
66691
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
66692
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
66693
|
+
*
|
|
66694
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
66695
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
66696
|
+
* blank it.
|
|
66697
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
66698
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
65869
66699
|
* - `for`: The id of the table to read.
|
|
65870
66700
|
*
|
|
65871
66701
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -65997,6 +66827,28 @@ export type CustomElementsSolidJs = {
|
|
|
65997
66827
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
65998
66828
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
65999
66829
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
66830
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
66831
|
+
* table to point `for` at. `for` wins where both are set.
|
|
66832
|
+
*
|
|
66833
|
+
* ```js
|
|
66834
|
+
* chart.data = {
|
|
66835
|
+
* caption: 'Sessions by channel',
|
|
66836
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
66837
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
66838
|
+
* }
|
|
66839
|
+
* ```
|
|
66840
|
+
*
|
|
66841
|
+
* The first column holds each row's label and every column after it a
|
|
66842
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
66843
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
66844
|
+
* number is shown in `locale`.
|
|
66845
|
+
*
|
|
66846
|
+
* **A table is still the better source where the page can show one**:
|
|
66847
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
66848
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
66849
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
66850
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
66851
|
+
* does not look inside the one it has. (property only)
|
|
66000
66852
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
66001
66853
|
*
|
|
66002
66854
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -66013,6 +66865,9 @@ export type CustomElementsSolidJs = {
|
|
|
66013
66865
|
* names an element, and the chart is a generic around its plot: written
|
|
66014
66866
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
66015
66867
|
* strip always did. (property only) (readonly)
|
|
66868
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
66869
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
66870
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
66016
66871
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
66017
66872
|
*
|
|
66018
66873
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -66059,6 +66914,13 @@ export type CustomElementsSolidJs = {
|
|
|
66059
66914
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
66060
66915
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
66061
66916
|
*
|
|
66917
|
+
* ## Slots
|
|
66918
|
+
*
|
|
66919
|
+
* Areas where markup can be added to the component.
|
|
66920
|
+
*
|
|
66921
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
66922
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
66923
|
+
*
|
|
66062
66924
|
* ## Methods
|
|
66063
66925
|
*
|
|
66064
66926
|
* Methods that can be called to access component functionality.
|
|
@@ -66122,6 +66984,7 @@ export type CustomElementsSolidJs = {
|
|
|
66122
66984
|
* - `bar-wash-end`: The far stop of a bar's gradient, where one is used.
|
|
66123
66985
|
* - `bar-wash-start`: The stop of a bar's gradient at its base.
|
|
66124
66986
|
* - `baseline`: The line the columns stand on.
|
|
66987
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
66125
66988
|
* - `gridline`: One gridline across the plot, drawn when `gridlines` is set.
|
|
66126
66989
|
* - `group`: One category's columns, together.
|
|
66127
66990
|
* - `group-active`: The group the tooltip describes. Set together with `group`.
|
|
@@ -66129,6 +66992,7 @@ export type CustomElementsSolidJs = {
|
|
|
66129
66992
|
* - `labels`: The row of category names.
|
|
66130
66993
|
* - `line`: A series drawn as a line, named in `lines`.
|
|
66131
66994
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
66995
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
66132
66996
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
66133
66997
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
66134
66998
|
* - `summary`: The chart's name and each series' highest reading, written as a sentence for screen readers. Hide it visually.
|
|
@@ -66170,10 +67034,31 @@ export type CustomElementsSolidJs = {
|
|
|
66170
67034
|
* set the passage apart. `marks` draws one large opening mark over the passage,
|
|
66171
67035
|
* as a pull quote sets it, in the element's language.
|
|
66172
67036
|
*
|
|
67037
|
+
* `text-align` sets the passage and its attribution in the middle of the
|
|
67038
|
+
* column or against its far edge, as a pull quote often stands. There, the
|
|
67039
|
+
* mark `marks` draws stands over the passage rather than beside it.
|
|
67040
|
+
* `text-wrap="balance"` evens out a short passage's lines.
|
|
67041
|
+
*
|
|
66173
67042
|
* ## Attributes & Properties
|
|
66174
67043
|
*
|
|
66175
67044
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
66176
67045
|
*
|
|
67046
|
+
* - `text-align`/`textAlign`: How the passage and its attribution align, set as `text-align`.
|
|
67047
|
+
*
|
|
67048
|
+
* `center` for a pull quote in the middle of a column and `end` for one
|
|
67049
|
+
* against its far edge. Under either, the mark `marks` draws stands over
|
|
67050
|
+
* the first line. Absent aligns as the prose around it does.
|
|
67051
|
+
*
|
|
67052
|
+
* Named for the CSS property it sets, as `Text.textAlign` is: `align` alone
|
|
67053
|
+
* is a legacy HTML attribute the browser maps to `text-align` by itself,
|
|
67054
|
+
* and it has no `start` or `end`.
|
|
67055
|
+
* - `text-wrap`/`textWrap`: How the passage's lines break, set as `text-wrap`.
|
|
67056
|
+
*
|
|
67057
|
+
* `balance` evens out the length of every line, which suits a pull quote of
|
|
67058
|
+
* a few lines in display type. `pretty` avoids a last line of one short
|
|
67059
|
+
* word, for a longer passage. Absent, the lines break as the browser breaks
|
|
67060
|
+
* them. The same name and values `Text` takes, but `nowrap`, a passage being
|
|
67061
|
+
* more than one line.
|
|
66177
67062
|
* - `attribution`: Who said it, and where, as words, such as "Maria Lopez, operations
|
|
66178
67063
|
* manager". The `attribution` slot replaces them, for markup such as a link.
|
|
66179
67064
|
*
|
|
@@ -72845,6 +73730,28 @@ export type CustomElementsSolidJs = {
|
|
|
72845
73730
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
72846
73731
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
72847
73732
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
73733
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
73734
|
+
* table to point `for` at. `for` wins where both are set.
|
|
73735
|
+
*
|
|
73736
|
+
* ```js
|
|
73737
|
+
* chart.data = {
|
|
73738
|
+
* caption: 'Sessions by channel',
|
|
73739
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
73740
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
73741
|
+
* }
|
|
73742
|
+
* ```
|
|
73743
|
+
*
|
|
73744
|
+
* The first column holds each row's label and every column after it a
|
|
73745
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
73746
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
73747
|
+
* number is shown in `locale`.
|
|
73748
|
+
*
|
|
73749
|
+
* **A table is still the better source where the page can show one**:
|
|
73750
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
73751
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
73752
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
73753
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
73754
|
+
* does not look inside the one it has. (property only)
|
|
72848
73755
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
72849
73756
|
*
|
|
72850
73757
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -72861,6 +73768,9 @@ export type CustomElementsSolidJs = {
|
|
|
72861
73768
|
* names an element, and the chart is a generic around its plot: written
|
|
72862
73769
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
72863
73770
|
* strip always did. (property only) (readonly)
|
|
73771
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
73772
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
73773
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
72864
73774
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
72865
73775
|
*
|
|
72866
73776
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -75375,6 +76285,28 @@ export type CustomElementsSolidJs = {
|
|
|
75375
76285
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
75376
76286
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
75377
76287
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
76288
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
76289
|
+
* table to point `for` at. `for` wins where both are set.
|
|
76290
|
+
*
|
|
76291
|
+
* ```js
|
|
76292
|
+
* chart.data = {
|
|
76293
|
+
* caption: 'Sessions by channel',
|
|
76294
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
76295
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
76296
|
+
* }
|
|
76297
|
+
* ```
|
|
76298
|
+
*
|
|
76299
|
+
* The first column holds each row's label and every column after it a
|
|
76300
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
76301
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
76302
|
+
* number is shown in `locale`.
|
|
76303
|
+
*
|
|
76304
|
+
* **A table is still the better source where the page can show one**:
|
|
76305
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
76306
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
76307
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
76308
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
76309
|
+
* does not look inside the one it has. (property only)
|
|
75378
76310
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
75379
76311
|
*
|
|
75380
76312
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -75391,6 +76323,9 @@ export type CustomElementsSolidJs = {
|
|
|
75391
76323
|
* names an element, and the chart is a generic around its plot: written
|
|
75392
76324
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
75393
76325
|
* strip always did. (property only) (readonly)
|
|
76326
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
76327
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
76328
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
75394
76329
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
75395
76330
|
*
|
|
75396
76331
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -77107,6 +78042,16 @@ export type CustomElementsSolidJs = {
|
|
|
77107
78042
|
* **`transparent` is where this one stops.** A mark with no ink is not a
|
|
77108
78043
|
* material choice, it is an absent series, and a chart says that by not
|
|
77109
78044
|
* having the datum rather than by painting it invisibly.
|
|
78045
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
78046
|
+
* and the fallback of the `empty` slot.
|
|
78047
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
78048
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
78049
|
+
*
|
|
78050
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
78051
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
78052
|
+
* blank it.
|
|
78053
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
78054
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
77110
78055
|
* - `for`: The id of the table to read.
|
|
77111
78056
|
*
|
|
77112
78057
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -77243,6 +78188,28 @@ export type CustomElementsSolidJs = {
|
|
|
77243
78188
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
77244
78189
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
77245
78190
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
78191
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
78192
|
+
* table to point `for` at. `for` wins where both are set.
|
|
78193
|
+
*
|
|
78194
|
+
* ```js
|
|
78195
|
+
* chart.data = {
|
|
78196
|
+
* caption: 'Sessions by channel',
|
|
78197
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
78198
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
78199
|
+
* }
|
|
78200
|
+
* ```
|
|
78201
|
+
*
|
|
78202
|
+
* The first column holds each row's label and every column after it a
|
|
78203
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
78204
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
78205
|
+
* number is shown in `locale`.
|
|
78206
|
+
*
|
|
78207
|
+
* **A table is still the better source where the page can show one**:
|
|
78208
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
78209
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
78210
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
78211
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
78212
|
+
* does not look inside the one it has. (property only)
|
|
77246
78213
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
77247
78214
|
*
|
|
77248
78215
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -77259,6 +78226,9 @@ export type CustomElementsSolidJs = {
|
|
|
77259
78226
|
* names an element, and the chart is a generic around its plot: written
|
|
77260
78227
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
77261
78228
|
* strip always did. (property only) (readonly)
|
|
78229
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
78230
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
78231
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
77262
78232
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
77263
78233
|
*
|
|
77264
78234
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -77305,6 +78275,13 @@ export type CustomElementsSolidJs = {
|
|
|
77305
78275
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
77306
78276
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
77307
78277
|
*
|
|
78278
|
+
* ## Slots
|
|
78279
|
+
*
|
|
78280
|
+
* Areas where markup can be added to the component.
|
|
78281
|
+
*
|
|
78282
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
78283
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
78284
|
+
*
|
|
77308
78285
|
* ## Methods
|
|
77309
78286
|
*
|
|
77310
78287
|
* Methods that can be called to access component functionality.
|
|
@@ -77369,6 +78346,7 @@ export type CustomElementsSolidJs = {
|
|
|
77369
78346
|
* - `axis`: The numbers of the scale beside the plot, under `value-axis`.
|
|
77370
78347
|
* - `band`: The band around the reading under the pointer.
|
|
77371
78348
|
* - `baseline`: The rule at zero, where zero is inside the range.
|
|
78349
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
77372
78350
|
* - `gridline`: One rule across the plot, under `gridlines`.
|
|
77373
78351
|
* - `guide`: A rule down the reading a pointer is resting on.
|
|
77374
78352
|
* - `label`: One reading's name.
|
|
@@ -77376,6 +78354,7 @@ export type CustomElementsSolidJs = {
|
|
|
77376
78354
|
* - `line`: The line for one series.
|
|
77377
78355
|
* - `line-dashed`: A `line` whose series `dashed` names. Set alongside `line`.
|
|
77378
78356
|
* - `live`: The readout: a polite live region that says the reading the keys moved to. Hide it visually.
|
|
78357
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
77379
78358
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
77380
78359
|
* - `marker`: The mark on one reading, under `markers`, and on a reading with a blank on either side. Placed with `inset-inline-start` and `inset-block-start`, and carries its series color as `--chart-series`.
|
|
77381
78360
|
* - `marker-lone`: A `marker` on a reading with a blank on either side, which no line reaches. Set alongside `marker`.
|
|
@@ -81531,6 +82510,12 @@ export type CustomElementsSolidJs = {
|
|
|
81531
82510
|
* Off by default, because the name and the busy state already change with
|
|
81532
82511
|
* the state, and an orb beside a stream of messages would otherwise talk
|
|
81533
82512
|
* over them. Set it on an orb that is the only sign of progress on the page.
|
|
82513
|
+
*
|
|
82514
|
+
* **Without it, finishing is silent.** `done` turns the orb into an image
|
|
82515
|
+
* named "Done" that is no longer busy, which a screen reader reports when it
|
|
82516
|
+
* next reaches the orb and does not say as it happens. A page whose own
|
|
82517
|
+
* result arrives in a live region, such as a chat reply, already says the
|
|
82518
|
+
* work is done; one that shows nothing else sets `announce`.
|
|
81534
82519
|
* - `label`: The name read by screen readers. Defaults to the name of the state, such
|
|
81535
82520
|
* as "Thinking".
|
|
81536
82521
|
*
|
|
@@ -82671,7 +83656,8 @@ export type CustomElementsSolidJs = {
|
|
|
82671
83656
|
*
|
|
82672
83657
|
* A `percent` style writes the share of the range, and any other the value
|
|
82673
83658
|
* itself, so the example says "18 GB". Absent is a whole percentage. The
|
|
82674
|
-
* words are announced
|
|
83659
|
+
* words are announced whether or not `show-value` shows them. `value-text`
|
|
83660
|
+
* still wins.
|
|
82675
83661
|
* - `indeterminate`: Whether the length of the task is unknown. The bar then shows activity
|
|
82676
83662
|
* without a value.
|
|
82677
83663
|
*
|
|
@@ -82760,6 +83746,7 @@ export type CustomElementsSolidJs = {
|
|
|
82760
83746
|
*
|
|
82761
83747
|
* Areas where markup can be added to the component.
|
|
82762
83748
|
*
|
|
83749
|
+
* - `(default)`: Words drawn on the bar, or in the middle of a ring, such as the reading. The bar grows to their height, and over the fill they take the fill's own ink.
|
|
82763
83750
|
* - `label`: A visible label, above a bar and under a ring. Its words name it in place of `label`.
|
|
82764
83751
|
*
|
|
82765
83752
|
* ## CSS Custom Properties
|
|
@@ -82767,6 +83754,9 @@ export type CustomElementsSolidJs = {
|
|
|
82767
83754
|
* CSS variables available for styling the component.
|
|
82768
83755
|
*
|
|
82769
83756
|
* - `--progress-color`: Fill of the part that is done.
|
|
83757
|
+
* - `--progress-content-color`: The color of the words of the default slot where they are over the track, and in a ring.
|
|
83758
|
+
* - `--progress-content-fill-color`: The color of the words of the default slot where they are over the fill.
|
|
83759
|
+
* - `--progress-content-size`: The type size of the words of the default slot.
|
|
82770
83760
|
* - `--progress-label-color`: Color of a slotted label.
|
|
82771
83761
|
* - `--progress-label-gap`: Space between a slotted label and the bar.
|
|
82772
83762
|
* - `--progress-label-size`: Type size of a slotted label.
|
|
@@ -82785,6 +83775,7 @@ export type CustomElementsSolidJs = {
|
|
|
82785
83775
|
*
|
|
82786
83776
|
* Custom selectors for styling elements within the component.
|
|
82787
83777
|
*
|
|
83778
|
+
* - `content`: The box holding the words of the default slot, over the track or in the middle of the ring. Carries `--progress-fraction`.
|
|
82788
83779
|
* - `groove`: The unfilled circle under the ring's filled arc.
|
|
82789
83780
|
* - `indicator`: The filled part that shows the work done.
|
|
82790
83781
|
* - `live`: A polite region that says `complete-label` when the work is done, rendered from that moment. Hide it visually.
|
|
@@ -82796,6 +83787,7 @@ export type CustomElementsSolidJs = {
|
|
|
82796
83787
|
* These can be used to apply styling when a component is in a given state.
|
|
82797
83788
|
*
|
|
82798
83789
|
* - `complete`: The value is at `max` and the bar is not indeterminate.
|
|
83790
|
+
* - `content`: Words are set in the default slot.
|
|
82799
83791
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
82800
83792
|
*/
|
|
82801
83793
|
"helix-progress": Partial<
|
|
@@ -84417,6 +85409,16 @@ export type CustomElementsSolidJs = {
|
|
|
84417
85409
|
*
|
|
84418
85410
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
84419
85411
|
*
|
|
85412
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
85413
|
+
* and the fallback of the `empty` slot.
|
|
85414
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
85415
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
85416
|
+
*
|
|
85417
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
85418
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
85419
|
+
* blank it.
|
|
85420
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
85421
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
84420
85422
|
* - `for`: The id of the table to read.
|
|
84421
85423
|
*
|
|
84422
85424
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -84478,6 +85480,28 @@ export type CustomElementsSolidJs = {
|
|
|
84478
85480
|
* cannot be cast onto across unrelated classes, so it would be invisible to
|
|
84479
85481
|
* every chart that needs it. Reading where a pointer is resting is a fair
|
|
84480
85482
|
* thing to ask a chart anyway. (property only) (readonly)
|
|
85483
|
+
* - `data`: The readings as data, in the shape of a table, where the page has no
|
|
85484
|
+
* table to point `for` at. `for` wins where both are set.
|
|
85485
|
+
*
|
|
85486
|
+
* ```js
|
|
85487
|
+
* chart.data = {
|
|
85488
|
+
* caption: 'Sessions by channel',
|
|
85489
|
+
* columns: ['Month', 'Direct', 'Referral'],
|
|
85490
|
+
* rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
85491
|
+
* }
|
|
85492
|
+
* ```
|
|
85493
|
+
*
|
|
85494
|
+
* The first column holds each row's label and every column after it a
|
|
85495
|
+
* series, as in a table. A cell is a number, words, `null` for a blank,
|
|
85496
|
+
* or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
85497
|
+
* number is shown in `locale`.
|
|
85498
|
+
*
|
|
85499
|
+
* **A table is still the better source where the page can show one**:
|
|
85500
|
+
* it reads with no script and before hydration, and a reader can sort and
|
|
85501
|
+
* copy it. Data is drawn on the client only, so a server serves the
|
|
85502
|
+
* frame, and the summary, the keys and the readout are then the whole of
|
|
85503
|
+
* what a screen reader is given. Set a new object to redraw: the chart
|
|
85504
|
+
* does not look inside the one it has. (property only)
|
|
84481
85505
|
* - `series`: The table's columns, one series each. Empty when there is no table.
|
|
84482
85506
|
*
|
|
84483
85507
|
* Held by the controller between edits, so a render reading this five
|
|
@@ -84494,6 +85518,9 @@ export type CustomElementsSolidJs = {
|
|
|
84494
85518
|
* names an element, and the chart is a generic around its plot: written
|
|
84495
85519
|
* on the host, the name reached nobody. The plot takes it, as Heatmap's
|
|
84496
85520
|
* strip always did. (property only) (readonly)
|
|
85521
|
+
* - `readingsKnown`: Whether the readings have been looked for: false on the server and
|
|
85522
|
+
* while hydrating, where no table is resolved and no data is read. A
|
|
85523
|
+
* chart says it has no readings only once this is true. (property only) (readonly)
|
|
84497
85524
|
* - `sourceRows`: Every row of the table, with each cell's text and number.
|
|
84498
85525
|
*
|
|
84499
85526
|
* This is where a tooltip's content comes from, and it is deliberately not
|
|
@@ -84540,6 +85567,13 @@ export type CustomElementsSolidJs = {
|
|
|
84540
85567
|
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
84541
85568
|
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
84542
85569
|
*
|
|
85570
|
+
* ## Slots
|
|
85571
|
+
*
|
|
85572
|
+
* Areas where markup can be added to the component.
|
|
85573
|
+
*
|
|
85574
|
+
* - `empty`: Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
85575
|
+
* - `loading`: Content shown in place of the drawing while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
85576
|
+
*
|
|
84543
85577
|
* ## Methods
|
|
84544
85578
|
*
|
|
84545
85579
|
* Methods that can be called to access component functionality.
|
|
@@ -84598,8 +85632,10 @@ export type CustomElementsSolidJs = {
|
|
|
84598
85632
|
*
|
|
84599
85633
|
* Custom selectors for styling elements within the component.
|
|
84600
85634
|
*
|
|
85635
|
+
* - `empty`: The words in place of the drawing when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration.
|
|
84601
85636
|
* - `gridline`: One line across the plot, drawn when `gridlines` is set.
|
|
84602
85637
|
* - `live`: The readout: a polite live region that says the row the keys moved to. Hide it visually.
|
|
85638
|
+
* - `loading`: The words in place of the drawing while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
84603
85639
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
84604
85640
|
* - `plane`: The grid that holds the plot, both axes, and their names. It runs left to right on every page.
|
|
84605
85641
|
* - `plot`: The drawing, which takes focus to be read by key.
|
|
@@ -93818,6 +94854,12 @@ export type CustomCssProperties = {
|
|
|
93818
94854
|
"--popover-shadow"?: (string) | undefined;
|
|
93819
94855
|
/** Fill of the part that is done. */
|
|
93820
94856
|
"--progress-color"?: (string) | undefined;
|
|
94857
|
+
/** The color of the words of the default slot where they are over the track, and in a ring. */
|
|
94858
|
+
"--progress-content-color"?: (string) | undefined;
|
|
94859
|
+
/** The color of the words of the default slot where they are over the fill. */
|
|
94860
|
+
"--progress-content-fill-color"?: (string) | undefined;
|
|
94861
|
+
/** The type size of the words of the default slot. */
|
|
94862
|
+
"--progress-content-size"?: (string) | undefined;
|
|
93821
94863
|
/** Color of a slotted label. */
|
|
93822
94864
|
"--progress-label-color"?: (string) | undefined;
|
|
93823
94865
|
/** Space between a slotted label and the bar. */
|