@fusion.dev/helix 0.168.0 → 0.170.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 +124 -7
- package/dist/data-table/root/data-table-root.css.js +3 -1
- package/dist/data-table/root/data-table-root.d.ts +6 -3
- package/dist/navigation/root/navigation-root.css.js +7 -1
- package/dist/navigation/root/navigation-root.d.ts +11 -2
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +130 -16
- package/types/vue.d.ts +31 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix",
|
|
3
3
|
"description": "Styled component tier. Extends the headless tier with token-driven presentation.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.170.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@fusion.dev/helix-core": "0.
|
|
58
|
-
"@fusion.dev/helix-headless": "0.
|
|
59
|
-
"@fusion.dev/helix-styles": "0.
|
|
57
|
+
"@fusion.dev/helix-core": "0.170.0",
|
|
58
|
+
"@fusion.dev/helix-headless": "0.170.0",
|
|
59
|
+
"@fusion.dev/helix-styles": "0.170.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.170.0",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.170.0",
|
|
64
64
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
65
65
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
66
66
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -2033,7 +2033,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
2033
2033
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
2034
2034
|
a listener bound after the picture settled hears neither, which is the
|
|
2035
2035
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
2036
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
2036
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
2037
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
2038
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
2037
2039
|
status?: (HelixAvatar["status"]) | undefined;
|
|
2038
2040
|
|
|
2039
2041
|
/** Relayed from the image when it fails. */
|
|
@@ -2099,7 +2101,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
2099
2101
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
2100
2102
|
a listener bound after the picture settled hears neither, which is the
|
|
2101
2103
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
2102
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
2104
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
2105
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
2106
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
2103
2107
|
"prop:status"?: (HelixAvatar["status"]) | undefined;
|
|
2104
2108
|
/** Relayed from the image when it fails. */
|
|
2105
2109
|
"on:error"?: ((e: HelixAvatarElementEvent) => void) | undefined;
|
|
@@ -24308,6 +24312,26 @@ second "Main". */
|
|
|
24308
24312
|
for a header or a footer. The marker follows the current destination down
|
|
24309
24313
|
the column as it does along the row. */
|
|
24310
24314
|
orientation?: (HelixNavigation["orientation"]) | undefined;
|
|
24315
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
24316
|
+
reasons.
|
|
24317
|
+
|
|
24318
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
24319
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
24320
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
24321
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
24322
|
+
framed, sunken track, for a short set that reads as one control.
|
|
24323
|
+
|
|
24324
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
24325
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
24326
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
24327
|
+
could not draw them the way its underlined tabs were drawn.
|
|
24328
|
+
|
|
24329
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
24330
|
+
column's inline end.
|
|
24331
|
+
|
|
24332
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
24333
|
+
consumer's server markup does not already have. */
|
|
24334
|
+
variant?: (HelixNavigation["variant"]) | undefined;
|
|
24311
24335
|
};
|
|
24312
24336
|
|
|
24313
24337
|
export type HelixNavigationSolidJsProps = {
|
|
@@ -24326,6 +24350,26 @@ second "Main". */
|
|
|
24326
24350
|
for a header or a footer. The marker follows the current destination down
|
|
24327
24351
|
the column as it does along the row. */
|
|
24328
24352
|
"prop:orientation"?: (HelixNavigation["orientation"]) | undefined;
|
|
24353
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
24354
|
+
reasons.
|
|
24355
|
+
|
|
24356
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
24357
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
24358
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
24359
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
24360
|
+
framed, sunken track, for a short set that reads as one control.
|
|
24361
|
+
|
|
24362
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
24363
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
24364
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
24365
|
+
could not draw them the way its underlined tabs were drawn.
|
|
24366
|
+
|
|
24367
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
24368
|
+
column's inline end.
|
|
24369
|
+
|
|
24370
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
24371
|
+
consumer's server markup does not already have. */
|
|
24372
|
+
"prop:variant"?: (HelixNavigation["variant"]) | undefined;
|
|
24329
24373
|
|
|
24330
24374
|
/** Set the innerHTML of the element */
|
|
24331
24375
|
innerHTML?: (string) | undefined;
|
|
@@ -42465,7 +42509,9 @@ export type CustomElements = {
|
|
|
42465
42509
|
* report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
42466
42510
|
* a listener bound after the picture settled hears neither, which is the
|
|
42467
42511
|
* platform on an `<img>` too, and this is what that listener asks instead.
|
|
42468
|
-
* Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
42512
|
+
* Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
42513
|
+
* picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
42514
|
+
* and as `:state(error)`, and writes no `data-status`. (property only)
|
|
42469
42515
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
42470
42516
|
*
|
|
42471
42517
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -48181,8 +48227,11 @@ export type CustomElements = {
|
|
|
48181
48227
|
* without `paginated` and with either `mode`, so a page or a chunk from a
|
|
48182
48228
|
* server can be windowed.
|
|
48183
48229
|
*
|
|
48184
|
-
* **
|
|
48185
|
-
*
|
|
48230
|
+
* **Write the first page as rows, so the served HTML carries the values.**
|
|
48231
|
+
* Write it under the columns as `helix-table-row` and `helix-table-cell`
|
|
48232
|
+
* elements. `@fusion.dev/helix-styles/helix.css` lays them out as the table
|
|
48233
|
+
* draws them before it upgrades, and the table shows them until `rows` holds a
|
|
48234
|
+
* row.
|
|
48186
48235
|
*
|
|
48187
48236
|
* ## Attributes & Properties
|
|
48188
48237
|
*
|
|
@@ -48435,7 +48484,7 @@ export type CustomElements = {
|
|
|
48435
48484
|
*
|
|
48436
48485
|
* Areas where markup can be added to the component.
|
|
48437
48486
|
*
|
|
48438
|
-
* - `(default)`: The columns, as `TableColumn` elements.
|
|
48487
|
+
* - `(default)`: The columns, as `TableColumn` elements, and the first page served as `TableRow` elements, which show until `rows` holds a row.
|
|
48439
48488
|
* - `empty`: Content shown when there are no rows to show and none are loading, such as a picture and a link. Falls back to `empty-text`, which the live region still says.
|
|
48440
48489
|
* - `error`: Content shown while `error-text` is set, such as a button that tries again. Falls back to `error-text`, which the live region still says.
|
|
48441
48490
|
* - `footer`: Content below the grid. It replaces the built-in pagination.
|
|
@@ -57477,6 +57526,13 @@ export type CustomElements = {
|
|
|
57477
57526
|
* follow than a background that switches from one item to another, and the
|
|
57478
57527
|
* movement shows which page you came from as well as which one is current.
|
|
57479
57528
|
*
|
|
57529
|
+
* The marker depends on `variant`, as `Tabs`' mark does:
|
|
57530
|
+
*
|
|
57531
|
+
* - Unset, it is a pill on the current destination, with nothing behind the
|
|
57532
|
+
* row.
|
|
57533
|
+
* - `underlined` makes it a bar along the bottom of the row, on a rule.
|
|
57534
|
+
* - `segmented` makes it a raised pill inside a sunken track.
|
|
57535
|
+
*
|
|
57480
57536
|
* ## Attributes & Properties
|
|
57481
57537
|
*
|
|
57482
57538
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -57493,6 +57549,25 @@ export type CustomElements = {
|
|
|
57493
57549
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
57494
57550
|
* for a header or a footer. The marker follows the current destination down
|
|
57495
57551
|
* the column as it does along the row.
|
|
57552
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
57553
|
+
* reasons.
|
|
57554
|
+
*
|
|
57555
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
57556
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
57557
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
57558
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
57559
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
57560
|
+
*
|
|
57561
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
57562
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
57563
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
57564
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
57565
|
+
*
|
|
57566
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
57567
|
+
* column's inline end.
|
|
57568
|
+
*
|
|
57569
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
57570
|
+
* consumer's server markup does not already have.
|
|
57496
57571
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
57497
57572
|
*
|
|
57498
57573
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -57527,9 +57602,10 @@ export type CustomElements = {
|
|
|
57527
57602
|
*
|
|
57528
57603
|
* - `--navigation-block-size`: Height of the bar in a row. Each destination fills it.
|
|
57529
57604
|
* - `--navigation-gap`: Space between destinations.
|
|
57530
|
-
* - `--navigation-indicator-color`: Fill of the marker on the current destination.
|
|
57605
|
+
* - `--navigation-indicator-color`: Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise.
|
|
57531
57606
|
* - `--navigation-indicator-radius`: Corner radius of the marker.
|
|
57532
|
-
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar.
|
|
57607
|
+
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it.
|
|
57608
|
+
* - `--navigation-indicator-thickness`: Height of the bar under `underlined`, and its width down a column.
|
|
57533
57609
|
* - `--navigation-item-color`: Text color of a destination that is not the current one. Read by the page's stylesheet, which styles the links you slot.
|
|
57534
57610
|
* - `--navigation-item-current-color`: Text color of the current destination, the one marked `aria-current="page"`.
|
|
57535
57611
|
* - `--navigation-item-current-font-weight`: Weight of the current destination's text.
|
|
@@ -57539,6 +57615,7 @@ export type CustomElements = {
|
|
|
57539
57615
|
* - `--navigation-item-hover-color`: Text color of a destination under the pointer.
|
|
57540
57616
|
* - `--navigation-item-padding-inline`: Space either side of a destination's text.
|
|
57541
57617
|
* - `--navigation-item-radius`: Corner radius of a destination, which its hover background follows.
|
|
57618
|
+
* - `--navigation-rule-color`: Color of the rule under the row in `underlined`.
|
|
57542
57619
|
*
|
|
57543
57620
|
* ## CSS Parts
|
|
57544
57621
|
*
|
|
@@ -71645,7 +71722,9 @@ export type CustomElementsSolidJs = {
|
|
|
71645
71722
|
* report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
71646
71723
|
* a listener bound after the picture settled hears neither, which is the
|
|
71647
71724
|
* platform on an `<img>` too, and this is what that listener asks instead.
|
|
71648
|
-
* Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
71725
|
+
* Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
71726
|
+
* picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
71727
|
+
* and as `:state(error)`, and writes no `data-status`. (property only)
|
|
71649
71728
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
71650
71729
|
*
|
|
71651
71730
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -77438,8 +77517,11 @@ export type CustomElementsSolidJs = {
|
|
|
77438
77517
|
* without `paginated` and with either `mode`, so a page or a chunk from a
|
|
77439
77518
|
* server can be windowed.
|
|
77440
77519
|
*
|
|
77441
|
-
* **
|
|
77442
|
-
*
|
|
77520
|
+
* **Write the first page as rows, so the served HTML carries the values.**
|
|
77521
|
+
* Write it under the columns as `helix-table-row` and `helix-table-cell`
|
|
77522
|
+
* elements. `@fusion.dev/helix-styles/helix.css` lays them out as the table
|
|
77523
|
+
* draws them before it upgrades, and the table shows them until `rows` holds a
|
|
77524
|
+
* row.
|
|
77443
77525
|
*
|
|
77444
77526
|
* ## Attributes & Properties
|
|
77445
77527
|
*
|
|
@@ -77692,7 +77774,7 @@ export type CustomElementsSolidJs = {
|
|
|
77692
77774
|
*
|
|
77693
77775
|
* Areas where markup can be added to the component.
|
|
77694
77776
|
*
|
|
77695
|
-
* - `(default)`: The columns, as `TableColumn` elements.
|
|
77777
|
+
* - `(default)`: The columns, as `TableColumn` elements, and the first page served as `TableRow` elements, which show until `rows` holds a row.
|
|
77696
77778
|
* - `empty`: Content shown when there are no rows to show and none are loading, such as a picture and a link. Falls back to `empty-text`, which the live region still says.
|
|
77697
77779
|
* - `error`: Content shown while `error-text` is set, such as a button that tries again. Falls back to `error-text`, which the live region still says.
|
|
77698
77780
|
* - `footer`: Content below the grid. It replaces the built-in pagination.
|
|
@@ -86891,6 +86973,13 @@ export type CustomElementsSolidJs = {
|
|
|
86891
86973
|
* follow than a background that switches from one item to another, and the
|
|
86892
86974
|
* movement shows which page you came from as well as which one is current.
|
|
86893
86975
|
*
|
|
86976
|
+
* The marker depends on `variant`, as `Tabs`' mark does:
|
|
86977
|
+
*
|
|
86978
|
+
* - Unset, it is a pill on the current destination, with nothing behind the
|
|
86979
|
+
* row.
|
|
86980
|
+
* - `underlined` makes it a bar along the bottom of the row, on a rule.
|
|
86981
|
+
* - `segmented` makes it a raised pill inside a sunken track.
|
|
86982
|
+
*
|
|
86894
86983
|
* ## Attributes & Properties
|
|
86895
86984
|
*
|
|
86896
86985
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -86907,6 +86996,25 @@ export type CustomElementsSolidJs = {
|
|
|
86907
86996
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
86908
86997
|
* for a header or a footer. The marker follows the current destination down
|
|
86909
86998
|
* the column as it does along the row.
|
|
86999
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
87000
|
+
* reasons.
|
|
87001
|
+
*
|
|
87002
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
87003
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
87004
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
87005
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
87006
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
87007
|
+
*
|
|
87008
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
87009
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
87010
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
87011
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
87012
|
+
*
|
|
87013
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
87014
|
+
* column's inline end.
|
|
87015
|
+
*
|
|
87016
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
87017
|
+
* consumer's server markup does not already have.
|
|
86910
87018
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
86911
87019
|
*
|
|
86912
87020
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -86941,9 +87049,10 @@ export type CustomElementsSolidJs = {
|
|
|
86941
87049
|
*
|
|
86942
87050
|
* - `--navigation-block-size`: Height of the bar in a row. Each destination fills it.
|
|
86943
87051
|
* - `--navigation-gap`: Space between destinations.
|
|
86944
|
-
* - `--navigation-indicator-color`: Fill of the marker on the current destination.
|
|
87052
|
+
* - `--navigation-indicator-color`: Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise.
|
|
86945
87053
|
* - `--navigation-indicator-radius`: Corner radius of the marker.
|
|
86946
|
-
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar.
|
|
87054
|
+
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it.
|
|
87055
|
+
* - `--navigation-indicator-thickness`: Height of the bar under `underlined`, and its width down a column.
|
|
86947
87056
|
* - `--navigation-item-color`: Text color of a destination that is not the current one. Read by the page's stylesheet, which styles the links you slot.
|
|
86948
87057
|
* - `--navigation-item-current-color`: Text color of the current destination, the one marked `aria-current="page"`.
|
|
86949
87058
|
* - `--navigation-item-current-font-weight`: Weight of the current destination's text.
|
|
@@ -86953,6 +87062,7 @@ export type CustomElementsSolidJs = {
|
|
|
86953
87062
|
* - `--navigation-item-hover-color`: Text color of a destination under the pointer.
|
|
86954
87063
|
* - `--navigation-item-padding-inline`: Space either side of a destination's text.
|
|
86955
87064
|
* - `--navigation-item-radius`: Corner radius of a destination, which its hover background follows.
|
|
87065
|
+
* - `--navigation-rule-color`: Color of the rule under the row in `underlined`.
|
|
86956
87066
|
*
|
|
86957
87067
|
* ## CSS Parts
|
|
86958
87068
|
*
|
|
@@ -101422,12 +101532,14 @@ export type CustomCssProperties = {
|
|
|
101422
101532
|
"--navigation-block-size"?: (string) | undefined;
|
|
101423
101533
|
/** Space between destinations. */
|
|
101424
101534
|
"--navigation-gap"?: (string) | undefined;
|
|
101425
|
-
/** Fill of the marker on the current destination. */
|
|
101535
|
+
/** Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise. */
|
|
101426
101536
|
"--navigation-indicator-color"?: (string) | undefined;
|
|
101427
101537
|
/** Corner radius of the marker. */
|
|
101428
101538
|
"--navigation-indicator-radius"?: (string) | undefined;
|
|
101429
|
-
/** Shadow under the marker, for a marker that sits raised on the bar. */
|
|
101539
|
+
/** Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it. */
|
|
101430
101540
|
"--navigation-indicator-shadow"?: (string) | undefined;
|
|
101541
|
+
/** Height of the bar under `underlined`, and its width down a column. */
|
|
101542
|
+
"--navigation-indicator-thickness"?: (string) | undefined;
|
|
101431
101543
|
/** Text color of a destination that is not the current one. Read by the page's stylesheet, which styles the links you slot. */
|
|
101432
101544
|
"--navigation-item-color"?: (string) | undefined;
|
|
101433
101545
|
/** Text color of the current destination, the one marked `aria-current="page"`. */
|
|
@@ -101446,6 +101558,8 @@ export type CustomCssProperties = {
|
|
|
101446
101558
|
"--navigation-item-padding-inline"?: (string) | undefined;
|
|
101447
101559
|
/** Corner radius of a destination, which its hover background follows. */
|
|
101448
101560
|
"--navigation-item-radius"?: (string) | undefined;
|
|
101561
|
+
/** Color of the rule under the row in `underlined`. */
|
|
101562
|
+
"--navigation-rule-color"?: (string) | undefined;
|
|
101449
101563
|
/** Text color in a read item. */
|
|
101450
101564
|
"--notifications-color"?: (string) | undefined;
|
|
101451
101565
|
/** Color of the dismiss control. It is `danger`, because dismissing an item removes it for good. */
|
package/types/vue.d.ts
CHANGED
|
@@ -1108,7 +1108,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
1108
1108
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
1109
1109
|
a listener bound after the picture settled hears neither, which is the
|
|
1110
1110
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
1111
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
1111
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
1112
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
1113
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
1112
1114
|
status?: (HelixAvatar["status"]) | undefined;
|
|
1113
1115
|
};
|
|
1114
1116
|
|
|
@@ -12479,6 +12481,26 @@ second "Main". */
|
|
|
12479
12481
|
for a header or a footer. The marker follows the current destination down
|
|
12480
12482
|
the column as it does along the row. */
|
|
12481
12483
|
orientation?: (HelixNavigation["orientation"]) | undefined;
|
|
12484
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
12485
|
+
reasons.
|
|
12486
|
+
|
|
12487
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
12488
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
12489
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
12490
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
12491
|
+
framed, sunken track, for a short set that reads as one control.
|
|
12492
|
+
|
|
12493
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
12494
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
12495
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
12496
|
+
could not draw them the way its underlined tabs were drawn.
|
|
12497
|
+
|
|
12498
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
12499
|
+
column's inline end.
|
|
12500
|
+
|
|
12501
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
12502
|
+
consumer's server markup does not already have. */
|
|
12503
|
+
variant?: (HelixNavigation["variant"]) | undefined;
|
|
12482
12504
|
};
|
|
12483
12505
|
|
|
12484
12506
|
export type HelixNavigationVueEvents = {};
|
|
@@ -22525,12 +22547,14 @@ export type CustomCssProperties = {
|
|
|
22525
22547
|
"--navigation-block-size"?: (string) | undefined;
|
|
22526
22548
|
/** Space between destinations. */
|
|
22527
22549
|
"--navigation-gap"?: (string) | undefined;
|
|
22528
|
-
/** Fill of the marker on the current destination. */
|
|
22550
|
+
/** Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise. */
|
|
22529
22551
|
"--navigation-indicator-color"?: (string) | undefined;
|
|
22530
22552
|
/** Corner radius of the marker. */
|
|
22531
22553
|
"--navigation-indicator-radius"?: (string) | undefined;
|
|
22532
|
-
/** Shadow under the marker, for a marker that sits raised on the bar. */
|
|
22554
|
+
/** Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it. */
|
|
22533
22555
|
"--navigation-indicator-shadow"?: (string) | undefined;
|
|
22556
|
+
/** Height of the bar under `underlined`, and its width down a column. */
|
|
22557
|
+
"--navigation-indicator-thickness"?: (string) | undefined;
|
|
22534
22558
|
/** Text color of a destination that is not the current one. Read by the page's stylesheet, which styles the links you slot. */
|
|
22535
22559
|
"--navigation-item-color"?: (string) | undefined;
|
|
22536
22560
|
/** Text color of the current destination, the one marked `aria-current="page"`. */
|
|
@@ -22549,6 +22573,8 @@ export type CustomCssProperties = {
|
|
|
22549
22573
|
"--navigation-item-padding-inline"?: (string) | undefined;
|
|
22550
22574
|
/** Corner radius of a destination, which its hover background follows. */
|
|
22551
22575
|
"--navigation-item-radius"?: (string) | undefined;
|
|
22576
|
+
/** Color of the rule under the row in `underlined`. */
|
|
22577
|
+
"--navigation-rule-color"?: (string) | undefined;
|
|
22552
22578
|
/** Text color in a read item. */
|
|
22553
22579
|
"--notifications-color"?: (string) | undefined;
|
|
22554
22580
|
/** Color of the dismiss control. It is `danger`, because dismissing an item removes it for good. */
|
|
@@ -23831,7 +23857,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
23831
23857
|
HelixCopyButtonVueProps,
|
|
23832
23858
|
HelixCopyButtonVueEvents
|
|
23833
23859
|
>;
|
|
23834
|
-
/** Rows have hairline rules between them and no fill, and the headings are set apart by weight and color. Helix shows depth with a single border and no elevation, and a header band would be elevation. The grid scrolls in its own box, and the toolbar and footer sit outside it, so the search field stays in place when the columns scroll sideways. 'windowed' draws only the rows in view, for a result too long to lay out at once, and the headings stay in place while the rows scroll. It works with or without 'paginated' and with either 'mode', so a page or a chunk from a server can be windowed. **
|
|
23860
|
+
/** Rows have hairline rules between them and no fill, and the headings are set apart by weight and color. Helix shows depth with a single border and no elevation, and a header band would be elevation. The grid scrolls in its own box, and the toolbar and footer sit outside it, so the search field stays in place when the columns scroll sideways. 'windowed' draws only the rows in view, for a result too long to lay out at once, and the headings stay in place while the rows scroll. It works with or without 'paginated' and with either 'mode', so a page or a chunk from a server can be windowed. **Write the first page as rows, so the served HTML carries the values.** Write it under the columns as 'helix-table-row' and 'helix-table-cell' elements. '@fusion.dev/helix-styles/helix.css' lays them out as the table draws them before it upgrades, and the table shows them until 'rows' holds a row. */
|
|
23835
23861
|
"helix-data-table": DefineCustomElement<
|
|
23836
23862
|
HelixDataTable,
|
|
23837
23863
|
HelixDataTableVueProps,
|
|
@@ -24143,7 +24169,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
24143
24169
|
HelixMeterVueProps,
|
|
24144
24170
|
HelixMeterVueEvents
|
|
24145
24171
|
>;
|
|
24146
|
-
/** One marker moves to the current destination. A moving marker is easier to follow than a background that switches from one item to another, and the movement shows which page you came from as well as which one is current. */
|
|
24172
|
+
/** One marker moves to the current destination. A moving marker is easier to follow than a background that switches from one item to another, and the movement shows which page you came from as well as which one is current. The marker depends on 'variant', as 'Tabs'' mark does: - Unset, it is a pill on the current destination, with nothing behind the row. - 'underlined' makes it a bar along the bottom of the row, on a rule. - 'segmented' makes it a raised pill inside a sunken track. */
|
|
24147
24173
|
"helix-navigation": DefineCustomElement<
|
|
24148
24174
|
HelixNavigation,
|
|
24149
24175
|
HelixNavigationVueProps,
|