@fusion.dev/helix 0.150.0 → 0.152.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 +1815 -25
- package/dist/announcement/root/announcement-root.css.js +6 -1
- package/dist/app-header/root/app-header-root.css.js +6 -1
- package/dist/area-chart/root/area-chart-root.css.js +2 -1
- package/dist/bar-chart/root/bar-chart-root.css.js +3 -1
- package/dist/chat/composer/chat-composer.css.js +2 -1
- package/dist/data-table/root/data-table-root.d.ts +2 -0
- package/dist/divider/root/divider-root.css.js +1 -1
- package/dist/element-events.generated.js +4 -0
- package/dist/line-chart/root/line-chart-root.css.js +2 -1
- package/dist/navigation/root/navigation-root.css.js +1 -1
- package/dist/orb/root/orb-root.js +10 -5
- package/dist/progress/root/progress-root.css.js +1 -1
- package/dist/sandbox/root/sandbox-root.d.ts +26 -0
- package/dist/sandbox/root/sandbox-root.js +51 -2
- package/dist/sandbox/source/sandbox-source.css.js +2 -2
- package/dist/sandbox/source/sandbox-source.d.ts +12 -0
- package/dist/sandbox/source/sandbox-source.js +12 -6
- package/dist/steps/step/step.css.js +1 -1
- package/dist/steps/step/step.d.ts +10 -0
- package/dist/table/root/table-root.d.ts +2 -0
- package/dist/table/row/table-row.css.js +2 -1
- package/dist/table/row/table-row.d.ts +1 -0
- package/dist/virtual-list/root/virtual-list-root.css.js +1 -1
- package/dist/virtual-list/root/virtual-list-root.d.ts +3 -0
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +627 -28
- package/types/vue.d.ts +211 -12
- package/types/words.d.ts +8 -0
package/types/vue.d.ts
CHANGED
|
@@ -165,6 +165,8 @@ import type {
|
|
|
165
165
|
HelixBeforeOpenEvent,
|
|
166
166
|
HelixDismissEvent,
|
|
167
167
|
HelixScrolledEvent,
|
|
168
|
+
HelixReadingChangeEvent,
|
|
169
|
+
HelixReadingPressEvent,
|
|
168
170
|
HelixAuraFallbackEvent,
|
|
169
171
|
HelixBeforeChangeEvent,
|
|
170
172
|
HelixPressEvent,
|
|
@@ -648,6 +650,22 @@ the wordmark and the actions happen to measure.
|
|
|
648
650
|
takes a search field or a breadcrumb trail as readily as a `Navigation`, so
|
|
649
651
|
the property carries the part's name, `content`. */
|
|
650
652
|
contentAlign?: (HelixAppHeader["contentAlign"]) | undefined;
|
|
653
|
+
/** The width of the bar, in pixels, below which the middle region folds behind
|
|
654
|
+
a toggle. Unset, it never folds. */
|
|
655
|
+
"fold-below"?: (HelixAppHeader["foldBelow"] | `${number}`) | undefined;
|
|
656
|
+
/** The width of the bar, in pixels, below which the middle region folds behind
|
|
657
|
+
a toggle. Unset, it never folds. */
|
|
658
|
+
foldBelow?: (HelixAppHeader["foldBelow"]) | undefined;
|
|
659
|
+
/** Hides the bar as the page scrolls down past it, and shows it again as the
|
|
660
|
+
page scrolls up. */
|
|
661
|
+
"hide-on-scroll"?: (HelixAppHeader["hideOnScroll"]) | undefined;
|
|
662
|
+
/** Hides the bar as the page scrolls down past it, and shows it again as the
|
|
663
|
+
page scrolls up. */
|
|
664
|
+
hideOnScroll?: (HelixAppHeader["hideOnScroll"]) | undefined;
|
|
665
|
+
/** The name of the toggle that opens a folded middle region. */
|
|
666
|
+
"menu-label"?: (HelixAppHeader["menuLabel"]) | undefined;
|
|
667
|
+
/** The name of the toggle that opens a folded middle region. */
|
|
668
|
+
menuLabel?: (HelixAppHeader["menuLabel"]) | undefined;
|
|
651
669
|
/** The id of the element whose scrolling lifts the bar, for an app shell that
|
|
652
670
|
scrolls a container instead of the window. Unset is the window. */
|
|
653
671
|
scroller?: (HelixAppHeader["scroller"]) | undefined;
|
|
@@ -658,6 +676,18 @@ export type HelixAppHeaderVueEvents = {
|
|
|
658
676
|
"helix-scrolled": HelixAppHeaderHelixScrolledElementEvent;
|
|
659
677
|
};
|
|
660
678
|
|
|
679
|
+
/** `HelixAreaChart` component event */
|
|
680
|
+
export type HelixAreaChartElementEvent<E = Event> = TypedEvent<
|
|
681
|
+
HelixAreaChart,
|
|
682
|
+
E
|
|
683
|
+
>;
|
|
684
|
+
/** `helix-reading-change` event type */
|
|
685
|
+
export type HelixAreaChartHelixReadingChangeElementEvent =
|
|
686
|
+
HelixAreaChartElementEvent<HelixReadingChangeEvent>;
|
|
687
|
+
/** `helix-reading-press` event type */
|
|
688
|
+
export type HelixAreaChartHelixReadingPressElementEvent =
|
|
689
|
+
HelixAreaChartElementEvent<HelixReadingPressEvent>;
|
|
690
|
+
|
|
661
691
|
export type HelixAreaChartVueProps = {
|
|
662
692
|
/** The id of the table to read.
|
|
663
693
|
|
|
@@ -744,9 +774,26 @@ locale, and `{shares}` each part's share, listed as the locale lists. */
|
|
|
744
774
|
"total-label"?: (HelixAreaChart["totalLabel"]) | undefined;
|
|
745
775
|
/** The name for the sum of the parts, shown in the tooltip and the summary. */
|
|
746
776
|
totalLabel?: (HelixAreaChart["totalLabel"]) | undefined;
|
|
777
|
+
/** Draws the scale's numbers beside the plot, the `axis` part, at the levels
|
|
778
|
+
`gridlines` rules: amounts, or percentages under `share`.
|
|
779
|
+
|
|
780
|
+
Absent draws none: bands read as a composition need no numbers beside
|
|
781
|
+
them, and the tooltip and the table hold every reading. */
|
|
782
|
+
"value-axis"?: (HelixAreaChart["valueAxis"]) | undefined;
|
|
783
|
+
/** Draws the scale's numbers beside the plot, the `axis` part, at the levels
|
|
784
|
+
`gridlines` rules: amounts, or percentages under `share`.
|
|
785
|
+
|
|
786
|
+
Absent draws none: bands read as a composition need no numbers beside
|
|
787
|
+
them, and the tooltip and the table hold every reading. */
|
|
788
|
+
valueAxis?: (HelixAreaChart["valueAxis"]) | undefined;
|
|
747
789
|
};
|
|
748
790
|
|
|
749
|
-
export type HelixAreaChartVueEvents = {
|
|
791
|
+
export type HelixAreaChartVueEvents = {
|
|
792
|
+
/** 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. */
|
|
793
|
+
"helix-reading-change": HelixAreaChartHelixReadingChangeElementEvent;
|
|
794
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
795
|
+
"helix-reading-press": HelixAreaChartHelixReadingPressElementEvent;
|
|
796
|
+
};
|
|
750
797
|
|
|
751
798
|
/** `HelixAura` component event */
|
|
752
799
|
export type HelixAuraElementEvent<E = Event> = TypedEvent<HelixAura, E>;
|
|
@@ -1064,6 +1111,15 @@ is showing a count must not lose the count for being handed one. */
|
|
|
1064
1111
|
|
|
1065
1112
|
export type HelixBadgeVueEvents = {};
|
|
1066
1113
|
|
|
1114
|
+
/** `HelixBarChart` component event */
|
|
1115
|
+
export type HelixBarChartElementEvent<E = Event> = TypedEvent<HelixBarChart, E>;
|
|
1116
|
+
/** `helix-reading-change` event type */
|
|
1117
|
+
export type HelixBarChartHelixReadingChangeElementEvent =
|
|
1118
|
+
HelixBarChartElementEvent<HelixReadingChangeEvent>;
|
|
1119
|
+
/** `helix-reading-press` event type */
|
|
1120
|
+
export type HelixBarChartHelixReadingPressElementEvent =
|
|
1121
|
+
HelixBarChartElementEvent<HelixReadingPressEvent>;
|
|
1122
|
+
|
|
1067
1123
|
export type HelixBarChartVueProps = {
|
|
1068
1124
|
/** How strongly the columns are drawn.
|
|
1069
1125
|
|
|
@@ -1315,9 +1371,28 @@ the reading as the table writes it. */
|
|
|
1315
1371
|
`{readings}` each series' highest reading: the series, the category and
|
|
1316
1372
|
the reading as the table writes it. */
|
|
1317
1373
|
summaryLabel?: (HelixBarChart["summaryLabel"]) | undefined;
|
|
1374
|
+
/** Draws the numbers of the scale the bars are measured on, the `axis` part,
|
|
1375
|
+
at the levels `gridlines` rules: down the side of columns, and along the
|
|
1376
|
+
bottom of bars under `orientation="horizontal"`.
|
|
1377
|
+
|
|
1378
|
+
Absent draws none with one scale, since bars compared with each other need
|
|
1379
|
+
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
1380
|
+
"value-axis"?: (HelixBarChart["valueAxis"]) | undefined;
|
|
1381
|
+
/** Draws the numbers of the scale the bars are measured on, the `axis` part,
|
|
1382
|
+
at the levels `gridlines` rules: down the side of columns, and along the
|
|
1383
|
+
bottom of bars under `orientation="horizontal"`.
|
|
1384
|
+
|
|
1385
|
+
Absent draws none with one scale, since bars compared with each other need
|
|
1386
|
+
no numbers. With `secondary` both scales are drawn whatever this says. */
|
|
1387
|
+
valueAxis?: (HelixBarChart["valueAxis"]) | undefined;
|
|
1318
1388
|
};
|
|
1319
1389
|
|
|
1320
|
-
export type HelixBarChartVueEvents = {
|
|
1390
|
+
export type HelixBarChartVueEvents = {
|
|
1391
|
+
/** 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. */
|
|
1392
|
+
"helix-reading-change": HelixBarChartHelixReadingChangeElementEvent;
|
|
1393
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
1394
|
+
"helix-reading-press": HelixBarChartHelixReadingPressElementEvent;
|
|
1395
|
+
};
|
|
1321
1396
|
|
|
1322
1397
|
export type HelixBlockquoteVueProps = {
|
|
1323
1398
|
/** Who said it, and where, as words, such as "Maria Lopez, operations
|
|
@@ -2999,8 +3074,21 @@ export type HelixChatComposerHelixTypingElementEvent =
|
|
|
2999
3074
|
export type HelixChatComposerVueProps = {
|
|
3000
3075
|
/** The field's name, read by screen readers. */
|
|
3001
3076
|
label?: (HelixChatComposer["label"]) | undefined;
|
|
3077
|
+
/** The most characters a draft can have. The field stops taking more. */
|
|
3078
|
+
maxlength?: (HelixChatComposer["maxLength"] | `${number}`) | undefined;
|
|
3079
|
+
/** The most characters a draft can have. The field stops taking more. */
|
|
3080
|
+
maxLength?: (HelixChatComposer["maxLength"]) | undefined;
|
|
3081
|
+
/** The fewest characters a draft can have, once the reader has written in
|
|
3082
|
+
the field, as on a `<textarea>`. */
|
|
3083
|
+
minlength?: (HelixChatComposer["minLength"] | `${number}`) | undefined;
|
|
3084
|
+
/** The fewest characters a draft can have, once the reader has written in
|
|
3085
|
+
the field, as on a `<textarea>`. */
|
|
3086
|
+
minLength?: (HelixChatComposer["minLength"]) | undefined;
|
|
3002
3087
|
/** Placeholder text shown in an empty field. */
|
|
3003
3088
|
placeholder?: (HelixChatComposer["placeholder"]) | undefined;
|
|
3089
|
+
/** Whether the form needs a draft to submit. An empty draft never sends,
|
|
3090
|
+
required or not. */
|
|
3091
|
+
required?: (HelixChatComposer["required"]) | undefined;
|
|
3004
3092
|
/** How many rows the field opens at.
|
|
3005
3093
|
|
|
3006
3094
|
It grows from there. */
|
|
@@ -5299,6 +5387,20 @@ rows are chosen, written in the locale, and a language that needs plural
|
|
|
5299
5387
|
forms writes them: `{count, plural, one {# wybrany} few {# wybrane} many
|
|
5300
5388
|
{# wybranych} other {# wybranego}}`. */
|
|
5301
5389
|
selectedLabel?: (HelixDataTable["selectedLabel"]) | undefined;
|
|
5390
|
+
/** What a key or a press on a row does to the rows already selected, in a
|
|
5391
|
+
`selectable` table. `toggle`, the default, keeps them: Space adds or takes
|
|
5392
|
+
out the row. `replace` selects the row alone, as a file list does: Down and
|
|
5393
|
+
Up carry the selection with them, and a press on a row selects it. Control
|
|
5394
|
+
or Command with a press or Space adds or takes out one row, and with a move
|
|
5395
|
+
goes without selecting. The checkboxes add or take out one row either way. */
|
|
5396
|
+
"selection-behavior"?: (HelixDataTable["selectionBehavior"]) | undefined;
|
|
5397
|
+
/** What a key or a press on a row does to the rows already selected, in a
|
|
5398
|
+
`selectable` table. `toggle`, the default, keeps them: Space adds or takes
|
|
5399
|
+
out the row. `replace` selects the row alone, as a file list does: Down and
|
|
5400
|
+
Up carry the selection with them, and a press on a row selects it. Control
|
|
5401
|
+
or Command with a press or Space adds or takes out one row, and with a move
|
|
5402
|
+
goes without selecting. The checkboxes add or take out one row either way. */
|
|
5403
|
+
selectionBehavior?: (HelixDataTable["selectionBehavior"]) | undefined;
|
|
5302
5404
|
/** The name of a row's checkbox. `{row}` is replaced with the row's value in
|
|
5303
5405
|
the first column that has a field, or with its key. */
|
|
5304
5406
|
"select-row-label"?: (HelixDataTable["selectRowLabel"]) | undefined;
|
|
@@ -6336,8 +6438,14 @@ first, `handleCancel` prevents it, and `requestOpen` decides. So
|
|
|
6336
6438
|
`closedby="any"` gains light dismiss without giving up the refusal, which is
|
|
6337
6439
|
the property this component exists to keep.
|
|
6338
6440
|
|
|
6441
|
+
The press on the backdrop that this element handles itself follows it too:
|
|
6442
|
+
`closerequest` and `none` leave the dialog open on that press, as the
|
|
6443
|
+
platform does, and `none` also keeps it open on Escape in a browser without
|
|
6444
|
+
`closedby`.
|
|
6445
|
+
|
|
6339
6446
|
Absent by default, which is the platform's `auto` and this library's rule
|
|
6340
|
-
that a resting value is an attribute's absence.
|
|
6447
|
+
that a resting value is an attribute's absence. Absent, a press on the
|
|
6448
|
+
backdrop closes the dialog. */
|
|
6341
6449
|
closedby?: (HelixDialog["closedBy"]) | undefined;
|
|
6342
6450
|
/** Which close requests the browser handles on its own.
|
|
6343
6451
|
|
|
@@ -6347,8 +6455,14 @@ first, `handleCancel` prevents it, and `requestOpen` decides. So
|
|
|
6347
6455
|
`closedby="any"` gains light dismiss without giving up the refusal, which is
|
|
6348
6456
|
the property this component exists to keep.
|
|
6349
6457
|
|
|
6458
|
+
The press on the backdrop that this element handles itself follows it too:
|
|
6459
|
+
`closerequest` and `none` leave the dialog open on that press, as the
|
|
6460
|
+
platform does, and `none` also keeps it open on Escape in a browser without
|
|
6461
|
+
`closedby`.
|
|
6462
|
+
|
|
6350
6463
|
Absent by default, which is the platform's `auto` and this library's rule
|
|
6351
|
-
that a resting value is an attribute's absence.
|
|
6464
|
+
that a resting value is an attribute's absence. Absent, a press on the
|
|
6465
|
+
backdrop closes the dialog. */
|
|
6352
6466
|
closedBy?: (HelixDialog["closedBy"]) | undefined;
|
|
6353
6467
|
/** Draws a control that closes the dialog, in the corner where the title is.
|
|
6354
6468
|
|
|
@@ -6418,11 +6532,7 @@ short length of line, `--divider-content-offset`, kept before or after it.
|
|
|
6418
6532
|
A divider with nothing set into it is one line whatever this says. */
|
|
6419
6533
|
contentPlacement?: (HelixDivider["contentPlacement"]) | undefined;
|
|
6420
6534
|
/** Whether screen readers announce the line as a separator, which they now do
|
|
6421
|
-
by default.
|
|
6422
|
-
|
|
6423
|
-
It dates from when the line was decorative by default. It is still read,
|
|
6424
|
-
and it wins over `decorative`, so a divider written with it stays a
|
|
6425
|
-
separator. */
|
|
6535
|
+
by default. */
|
|
6426
6536
|
announced?: (HelixDivider["announced"]) | undefined;
|
|
6427
6537
|
/** Takes the line out of the accessibility tree, for a rule that separates
|
|
6428
6538
|
nothing: one under a heading, or between the facts of a byline.
|
|
@@ -6685,6 +6795,12 @@ lost its focus trap because a consumer forgot a word would be worse than an
|
|
|
6685
6795
|
attribute on the host, and nothing selects on it: the scrim is rendered or
|
|
6686
6796
|
not, rather than shown or hidden by CSS. */
|
|
6687
6797
|
modal?: (HelixDrawer["modal"]) | undefined;
|
|
6798
|
+
/** Stops Escape, a press outside, and a swipe from closing the drawer, for a
|
|
6799
|
+
drawer that has to be answered.
|
|
6800
|
+
|
|
6801
|
+
The close control and `close()` still close it, as on `Dialog`: a panel
|
|
6802
|
+
with no way out at all is a trap. */
|
|
6803
|
+
persistent?: (HelixDrawer["persistent"]) | undefined;
|
|
6688
6804
|
/** Which edge the drawer comes from.
|
|
6689
6805
|
|
|
6690
6806
|
Unset is `end`, and it stays unset rather than being written down: a
|
|
@@ -9242,6 +9358,18 @@ export type HelixLightboxVueEvents = {
|
|
|
9242
9358
|
"helix-before-open": HelixLightboxHelixBeforeOpenElementEvent;
|
|
9243
9359
|
};
|
|
9244
9360
|
|
|
9361
|
+
/** `HelixLineChart` component event */
|
|
9362
|
+
export type HelixLineChartElementEvent<E = Event> = TypedEvent<
|
|
9363
|
+
HelixLineChart,
|
|
9364
|
+
E
|
|
9365
|
+
>;
|
|
9366
|
+
/** `helix-reading-change` event type */
|
|
9367
|
+
export type HelixLineChartHelixReadingChangeElementEvent =
|
|
9368
|
+
HelixLineChartElementEvent<HelixReadingChangeEvent>;
|
|
9369
|
+
/** `helix-reading-press` event type */
|
|
9370
|
+
export type HelixLineChartHelixReadingPressElementEvent =
|
|
9371
|
+
HelixLineChartElementEvent<HelixReadingPressEvent>;
|
|
9372
|
+
|
|
9245
9373
|
export type HelixLineChartVueProps = {
|
|
9246
9374
|
/** How strongly the lines and their washes are drawn.
|
|
9247
9375
|
|
|
@@ -9419,6 +9547,20 @@ masked with one disc per series and every stroke stops at its own ring's
|
|
|
9419
9547
|
inner edge. `mask-composite: intersect` is what makes N holes out of N
|
|
9420
9548
|
layers; a single `mask-image` would only ever cut the last one. */
|
|
9421
9549
|
terminus?: (HelixLineChart["terminus"]) | undefined;
|
|
9550
|
+
/** Draws the scale's numbers beside the plot, the `axis` part, at the levels
|
|
9551
|
+
`gridlines` rules, so a reading can be measured off the drawing as well
|
|
9552
|
+
as read from the tooltip.
|
|
9553
|
+
|
|
9554
|
+
Absent draws none: a line read for its shape needs no numbers beside it,
|
|
9555
|
+
and the tooltip and the table hold every reading. */
|
|
9556
|
+
"value-axis"?: (HelixLineChart["valueAxis"]) | undefined;
|
|
9557
|
+
/** Draws the scale's numbers beside the plot, the `axis` part, at the levels
|
|
9558
|
+
`gridlines` rules, so a reading can be measured off the drawing as well
|
|
9559
|
+
as read from the tooltip.
|
|
9560
|
+
|
|
9561
|
+
Absent draws none: a line read for its shape needs no numbers beside it,
|
|
9562
|
+
and the tooltip and the table hold every reading. */
|
|
9563
|
+
valueAxis?: (HelixLineChart["valueAxis"]) | undefined;
|
|
9422
9564
|
/** Whether the range always includes zero.
|
|
9423
9565
|
|
|
9424
9566
|
Absent measures from the data's own extent, which is what a line is for.
|
|
@@ -9428,7 +9570,12 @@ near the top of the box. */
|
|
|
9428
9570
|
zero?: (HelixLineChart["zero"]) | undefined;
|
|
9429
9571
|
};
|
|
9430
9572
|
|
|
9431
|
-
export type HelixLineChartVueEvents = {
|
|
9573
|
+
export type HelixLineChartVueEvents = {
|
|
9574
|
+
/** 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. */
|
|
9575
|
+
"helix-reading-change": HelixLineChartHelixReadingChangeElementEvent;
|
|
9576
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
9577
|
+
"helix-reading-press": HelixLineChartHelixReadingPressElementEvent;
|
|
9578
|
+
};
|
|
9432
9579
|
|
|
9433
9580
|
/** `HelixListItem` component event */
|
|
9434
9581
|
export type HelixListItemElementEvent<E = Event> = TypedEvent<HelixListItem, E>;
|
|
@@ -13829,6 +13976,18 @@ export type HelixSandboxToolbarVueProps = {};
|
|
|
13829
13976
|
|
|
13830
13977
|
export type HelixSandboxToolbarVueEvents = {};
|
|
13831
13978
|
|
|
13979
|
+
/** `HelixScatterChart` component event */
|
|
13980
|
+
export type HelixScatterChartElementEvent<E = Event> = TypedEvent<
|
|
13981
|
+
HelixScatterChart,
|
|
13982
|
+
E
|
|
13983
|
+
>;
|
|
13984
|
+
/** `helix-reading-change` event type */
|
|
13985
|
+
export type HelixScatterChartHelixReadingChangeElementEvent =
|
|
13986
|
+
HelixScatterChartElementEvent<HelixReadingChangeEvent>;
|
|
13987
|
+
/** `helix-reading-press` event type */
|
|
13988
|
+
export type HelixScatterChartHelixReadingPressElementEvent =
|
|
13989
|
+
HelixScatterChartElementEvent<HelixReadingPressEvent>;
|
|
13990
|
+
|
|
13832
13991
|
export type HelixScatterChartVueProps = {
|
|
13833
13992
|
/** The id of the table to read.
|
|
13834
13993
|
|
|
@@ -13927,7 +14086,12 @@ gives each series' correlation, which says how near the points are to it. */
|
|
|
13927
14086
|
trend?: (HelixScatterChart["trend"]) | undefined;
|
|
13928
14087
|
};
|
|
13929
14088
|
|
|
13930
|
-
export type HelixScatterChartVueEvents = {
|
|
14089
|
+
export type HelixScatterChartVueEvents = {
|
|
14090
|
+
/** 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. */
|
|
14091
|
+
"helix-reading-change": HelixScatterChartHelixReadingChangeElementEvent;
|
|
14092
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
14093
|
+
"helix-reading-press": HelixScatterChartHelixReadingPressElementEvent;
|
|
14094
|
+
};
|
|
13931
14095
|
|
|
13932
14096
|
/** `HelixScrollArea` component event */
|
|
13933
14097
|
export type HelixScrollAreaElementEvent<E = Event> = TypedEvent<
|
|
@@ -14924,6 +15088,9 @@ Reading gives where it is; writing declares it the consumer's, and
|
|
|
14924
15088
|
`default-position` seeds one this element owns. The same accessor pair
|
|
14925
15089
|
`Pagination.page` and the calendar's `month` carry. */
|
|
14926
15090
|
position?: (HelixSplitter["position"]) | undefined;
|
|
15091
|
+
/** The pane that keeps its size when the splitter's own size changes. The
|
|
15092
|
+
other pane takes all of the change. Unset, both keep their share. */
|
|
15093
|
+
primary?: (HelixSplitter["primary"]) | undefined;
|
|
14927
15094
|
/** Where a dragged divider snaps, comma separated, as Web Awesome's split
|
|
14928
15095
|
panel does: a bare number is a percentage and a length such as `240px` is
|
|
14929
15096
|
measured along the splitter, so `snap="25, 50, 75"` or `snap="240px, 50"`.
|
|
@@ -15662,6 +15829,13 @@ export type HelixTableVueEvents = {
|
|
|
15662
15829
|
};
|
|
15663
15830
|
|
|
15664
15831
|
export type HelixTableRowVueProps = {
|
|
15832
|
+
/** Takes the row out of the table's selection and out of its link: the row's
|
|
15833
|
+
checkbox is disabled, Space, Shift ranges, and the checkbox in the heading
|
|
15834
|
+
pass over it, and a press does not follow `href`. A row already selected
|
|
15835
|
+
stays selected. A screen reader hears it as unavailable, and in a `grid`
|
|
15836
|
+
table the arrow keys still reach it, as a disabled cell in a grid is
|
|
15837
|
+
reached. */
|
|
15838
|
+
disabled?: (HelixTableRow["disabled"]) | undefined;
|
|
15665
15839
|
/** The URL a press on the row follows, which makes the whole row a link.
|
|
15666
15840
|
Empty, the default, leaves presses to the row's cells. */
|
|
15667
15841
|
href?: (HelixTableRow["href"]) | undefined;
|
|
@@ -18409,6 +18583,14 @@ regardless, because a reader who stopped it is deciding what to do next. */
|
|
|
18409
18583
|
loadingLabel?: (HelixVideo["loadingLabel"]) | undefined;
|
|
18410
18584
|
/** Whether the video starts again at the end. */
|
|
18411
18585
|
loop?: (HelixVideo["loop"]) | undefined;
|
|
18586
|
+
/** The title the device's own media controls show while the video plays,
|
|
18587
|
+
such as on a lock screen. Empty, the default, shows `label`. A playlist
|
|
18588
|
+
writes the current entry's name here. */
|
|
18589
|
+
"media-title"?: (HelixVideo["mediaTitle"]) | undefined;
|
|
18590
|
+
/** The title the device's own media controls show while the video plays,
|
|
18591
|
+
such as on a lock screen. Empty, the default, shows `label`. A playlist
|
|
18592
|
+
writes the current entry's name here. */
|
|
18593
|
+
mediaTitle?: (HelixVideo["mediaTitle"]) | undefined;
|
|
18412
18594
|
/** What the button that opens `overflow-controls` is called. */
|
|
18413
18595
|
"more-label"?: (HelixVideo["moreLabel"]) | undefined;
|
|
18414
18596
|
/** What the button that opens `overflow-controls` is called. */
|
|
@@ -18667,6 +18849,12 @@ export type HelixVirtualListVueProps = {
|
|
|
18667
18849
|
items out as a grid of that many equal columns, windowed a line at a
|
|
18668
18850
|
time, with Left and Right moving along a line. */
|
|
18669
18851
|
columns?: (HelixVirtualList["columns"]) | undefined;
|
|
18852
|
+
/** The text of the row shown when there are no items and none are loading,
|
|
18853
|
+
where the `empty` slot is empty. Empty, the default, shows no row. */
|
|
18854
|
+
"empty-label"?: (HelixVirtualList["emptyLabel"]) | undefined;
|
|
18855
|
+
/** The text of the row shown when there are no items and none are loading,
|
|
18856
|
+
where the `empty` slot is empty. Empty, the default, shows no row. */
|
|
18857
|
+
emptyLabel?: (HelixVirtualList["emptyLabel"]) | undefined;
|
|
18670
18858
|
/** The height of one row, in pixels, used to find the row at a scroll offset.
|
|
18671
18859
|
|
|
18672
18860
|
An estimate rather than a measurement while `measured` is off, which is
|
|
@@ -18824,6 +19012,8 @@ export type CustomCssProperties = {
|
|
|
18824
19012
|
"--area-chart-width"?: (string) | undefined;
|
|
18825
19013
|
/** Thickness of a band's top edge. Area Chart, Line Chart, and Bar Chart's `lines` all read this one property. `--area-chart-width` overrides it here. */
|
|
18826
19014
|
"--chart-stroke"?: (string) | undefined;
|
|
19015
|
+
/** The width of the axis, in `ch`, set from the widest number on it. Written by the component on the axis. */
|
|
19016
|
+
"--area-chart-axis"?: (string) | undefined;
|
|
18827
19017
|
/** The bright stop of the ramp. Defaults to `--helix-color-primary`. */
|
|
18828
19018
|
"--aura-glow"?: (string) | undefined;
|
|
18829
19019
|
/** The page the field fades into. Defaults to `--helix-color-background`. */
|
|
@@ -19834,6 +20024,8 @@ export type CustomCssProperties = {
|
|
|
19834
20024
|
"--chart-terminus-x"?: (string) | undefined;
|
|
19835
20025
|
/** Where a series' last reading sits vertically, as a percentage. Written by the component. */
|
|
19836
20026
|
"--chart-terminus-y"?: (string) | undefined;
|
|
20027
|
+
/** The width of the axis, in `ch`, set from the widest number on it. Written by the component on the axis. */
|
|
20028
|
+
"--line-chart-axis"?: (string) | undefined;
|
|
19837
20029
|
/** The fill behind a row that is `current`. */
|
|
19838
20030
|
"--list-item-current-background-color"?: (string) | undefined;
|
|
19839
20031
|
/** The opacity of a `disabled` row. */
|
|
@@ -20756,6 +20948,8 @@ export type CustomCssProperties = {
|
|
|
20756
20948
|
"--table-grip-color"?: (string) | undefined;
|
|
20757
20949
|
/** The opacity of a row's grip while a sort decides the order. */
|
|
20758
20950
|
"--table-grip-disabled-opacity"?: (string) | undefined;
|
|
20951
|
+
/** The opacity of the cells of a `disabled` row. */
|
|
20952
|
+
"--table-row-disabled-opacity"?: (string) | undefined;
|
|
20759
20953
|
/** The wash across the cells of a row with `href` under the pointer. */
|
|
20760
20954
|
"--table-row-hover-background-color"?: (string) | undefined;
|
|
20761
20955
|
/** The space between the tab row and the panel's content. */
|
|
@@ -21132,6 +21326,10 @@ export type CustomCssProperties = {
|
|
|
21132
21326
|
"--video-progress"?: (string) | undefined;
|
|
21133
21327
|
/** How tall the scrolling box is. */
|
|
21134
21328
|
"--virtual-list-block-size"?: (string) | undefined;
|
|
21329
|
+
/** The color of the text in the row shown when there are no items. */
|
|
21330
|
+
"--virtual-list-empty-color"?: (string) | undefined;
|
|
21331
|
+
/** The space around the text in the row shown when there are no items. */
|
|
21332
|
+
"--virtual-list-empty-padding"?: (string) | undefined;
|
|
21135
21333
|
/** The color of the text in the row drawn while `loading` is set. */
|
|
21136
21334
|
"--virtual-list-loading-color"?: (string) | undefined;
|
|
21137
21335
|
/** The space around the text in the row drawn while `loading` is set. */
|
|
@@ -21798,7 +21996,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
21798
21996
|
HelixSandboxPreviewVueProps,
|
|
21799
21997
|
HelixSandboxPreviewVueEvents
|
|
21800
21998
|
>;
|
|
21801
|
-
/** A source pane dispatches 'helix-before-edit', which bubbles, and the sandbox passes the value to the preview slotted into it. The source pane and the preview do not reference each other, so you can replace either one or use it alone. The event carries the pane's 'name', so one sandbox can hold several panes. 'html' sets the preview's markup and 'css' sets its stylesheet. The sandbox ignores a pane with any other name, so that pane can show content without changing the preview. **The dividers are two nested 'helix-splitter' elements**, which handle the pointer, the keyboard, and the corner. The inner splitter holds the panes and the outer one holds the panel, so the panel spans the full width. */
|
|
21999
|
+
/** A source pane dispatches 'helix-before-edit', which bubbles, and the sandbox passes the value to the preview slotted into it. The source pane and the preview do not reference each other, so you can replace either one or use it alone. The event carries the pane's 'name', so one sandbox can hold several panes. 'html' sets the preview's markup and 'css' sets its stylesheet. The sandbox ignores a pane with any other name, so that pane can show content without changing the preview. **The dividers are two nested 'helix-splitter' elements**, which handle the pointer, the keyboard, and the corner. The inner splitter holds the panes and the outer one holds the panel, so the panel spans the full width. On a focused divider, the arrow keys move it, and 'Home' and 'End' move it to its ends. 'Enter' on the panes divider shuts the lead pane, and pressed again it opens the pane where it was. 'Enter' on the panel divider shuts the panel to 'panel-collapsed-size', and pressed again it opens the panel to its last height. */
|
|
21802
22000
|
"helix-sandbox": DefineCustomElement<
|
|
21803
22001
|
HelixSandbox,
|
|
21804
22002
|
HelixSandboxVueProps,
|
|
@@ -21912,6 +22110,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
21912
22110
|
HelixStepsVueProps,
|
|
21913
22111
|
HelixStepsVueEvents
|
|
21914
22112
|
>;
|
|
22113
|
+
/** A step draws its mark, its name as a 'helix-button', and the line that joins it to the steps either side. The mark is a tick on a finished step, a dot on the current one, and an empty ring on one nobody has reached. Where the list sets 'variant="numeric"', it is the step's number. Down a column, the current step opens to show what is in its 'content' slot, and the others collapse it. A collapsed stage's content is hidden, so Tab and a screen reader pass over it as well. */
|
|
21915
22114
|
"helix-step": DefineCustomElement<
|
|
21916
22115
|
HelixStep,
|
|
21917
22116
|
HelixStepVueProps,
|
package/types/words.d.ts
CHANGED
|
@@ -832,6 +832,14 @@ declare module '@fusion.dev/helix-core' {
|
|
|
832
832
|
*/
|
|
833
833
|
zoomOutLabel: Message
|
|
834
834
|
}
|
|
835
|
+
'helix-app-header': {
|
|
836
|
+
/**
|
|
837
|
+
* The name of the toggle that opens a folded middle region.
|
|
838
|
+
*
|
|
839
|
+
* English: `Menu`
|
|
840
|
+
*/
|
|
841
|
+
menuLabel: Message
|
|
842
|
+
}
|
|
835
843
|
'helix-avatar-group': {
|
|
836
844
|
/**
|
|
837
845
|
* What a screen reader is told the count is, with `{count}` for the number,
|