@fusion.dev/helix 0.168.0 → 0.169.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 +47 -5
- 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 +118 -10
- package/types/vue.d.ts +30 -4
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.169.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.169.0",
|
|
58
|
+
"@fusion.dev/helix-headless": "0.169.0",
|
|
59
|
+
"@fusion.dev/helix-styles": "0.169.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.169.0",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.169.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
|
|
@@ -57477,6 +57523,13 @@ export type CustomElements = {
|
|
|
57477
57523
|
* follow than a background that switches from one item to another, and the
|
|
57478
57524
|
* movement shows which page you came from as well as which one is current.
|
|
57479
57525
|
*
|
|
57526
|
+
* The marker depends on `variant`, as `Tabs`' mark does:
|
|
57527
|
+
*
|
|
57528
|
+
* - Unset, it is a pill on the current destination, with nothing behind the
|
|
57529
|
+
* row.
|
|
57530
|
+
* - `underlined` makes it a bar along the bottom of the row, on a rule.
|
|
57531
|
+
* - `segmented` makes it a raised pill inside a sunken track.
|
|
57532
|
+
*
|
|
57480
57533
|
* ## Attributes & Properties
|
|
57481
57534
|
*
|
|
57482
57535
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -57493,6 +57546,25 @@ export type CustomElements = {
|
|
|
57493
57546
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
57494
57547
|
* for a header or a footer. The marker follows the current destination down
|
|
57495
57548
|
* the column as it does along the row.
|
|
57549
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
57550
|
+
* reasons.
|
|
57551
|
+
*
|
|
57552
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
57553
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
57554
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
57555
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
57556
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
57557
|
+
*
|
|
57558
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
57559
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
57560
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
57561
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
57562
|
+
*
|
|
57563
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
57564
|
+
* column's inline end.
|
|
57565
|
+
*
|
|
57566
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
57567
|
+
* consumer's server markup does not already have.
|
|
57496
57568
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
57497
57569
|
*
|
|
57498
57570
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -57527,9 +57599,10 @@ export type CustomElements = {
|
|
|
57527
57599
|
*
|
|
57528
57600
|
* - `--navigation-block-size`: Height of the bar in a row. Each destination fills it.
|
|
57529
57601
|
* - `--navigation-gap`: Space between destinations.
|
|
57530
|
-
* - `--navigation-indicator-color`: Fill of the marker on the current destination.
|
|
57602
|
+
* - `--navigation-indicator-color`: Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise.
|
|
57531
57603
|
* - `--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.
|
|
57604
|
+
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it.
|
|
57605
|
+
* - `--navigation-indicator-thickness`: Height of the bar under `underlined`, and its width down a column.
|
|
57533
57606
|
* - `--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
57607
|
* - `--navigation-item-current-color`: Text color of the current destination, the one marked `aria-current="page"`.
|
|
57535
57608
|
* - `--navigation-item-current-font-weight`: Weight of the current destination's text.
|
|
@@ -57539,6 +57612,7 @@ export type CustomElements = {
|
|
|
57539
57612
|
* - `--navigation-item-hover-color`: Text color of a destination under the pointer.
|
|
57540
57613
|
* - `--navigation-item-padding-inline`: Space either side of a destination's text.
|
|
57541
57614
|
* - `--navigation-item-radius`: Corner radius of a destination, which its hover background follows.
|
|
57615
|
+
* - `--navigation-rule-color`: Color of the rule under the row in `underlined`.
|
|
57542
57616
|
*
|
|
57543
57617
|
* ## CSS Parts
|
|
57544
57618
|
*
|
|
@@ -71645,7 +71719,9 @@ export type CustomElementsSolidJs = {
|
|
|
71645
71719
|
* report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
71646
71720
|
* a listener bound after the picture settled hears neither, which is the
|
|
71647
71721
|
* platform on an `<img>` too, and this is what that listener asks instead.
|
|
71648
|
-
* Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
71722
|
+
* Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
71723
|
+
* picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
71724
|
+
* and as `:state(error)`, and writes no `data-status`. (property only)
|
|
71649
71725
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
71650
71726
|
*
|
|
71651
71727
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -86891,6 +86967,13 @@ export type CustomElementsSolidJs = {
|
|
|
86891
86967
|
* follow than a background that switches from one item to another, and the
|
|
86892
86968
|
* movement shows which page you came from as well as which one is current.
|
|
86893
86969
|
*
|
|
86970
|
+
* The marker depends on `variant`, as `Tabs`' mark does:
|
|
86971
|
+
*
|
|
86972
|
+
* - Unset, it is a pill on the current destination, with nothing behind the
|
|
86973
|
+
* row.
|
|
86974
|
+
* - `underlined` makes it a bar along the bottom of the row, on a rule.
|
|
86975
|
+
* - `segmented` makes it a raised pill inside a sunken track.
|
|
86976
|
+
*
|
|
86894
86977
|
* ## Attributes & Properties
|
|
86895
86978
|
*
|
|
86896
86979
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -86907,6 +86990,25 @@ export type CustomElementsSolidJs = {
|
|
|
86907
86990
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
86908
86991
|
* for a header or a footer. The marker follows the current destination down
|
|
86909
86992
|
* the column as it does along the row.
|
|
86993
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
86994
|
+
* reasons.
|
|
86995
|
+
*
|
|
86996
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
86997
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
86998
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
86999
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
87000
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
87001
|
+
*
|
|
87002
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
87003
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
87004
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
87005
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
87006
|
+
*
|
|
87007
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
87008
|
+
* column's inline end.
|
|
87009
|
+
*
|
|
87010
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
87011
|
+
* consumer's server markup does not already have.
|
|
86910
87012
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
86911
87013
|
*
|
|
86912
87014
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -86941,9 +87043,10 @@ export type CustomElementsSolidJs = {
|
|
|
86941
87043
|
*
|
|
86942
87044
|
* - `--navigation-block-size`: Height of the bar in a row. Each destination fills it.
|
|
86943
87045
|
* - `--navigation-gap`: Space between destinations.
|
|
86944
|
-
* - `--navigation-indicator-color`: Fill of the marker on the current destination.
|
|
87046
|
+
* - `--navigation-indicator-color`: Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise.
|
|
86945
87047
|
* - `--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.
|
|
87048
|
+
* - `--navigation-indicator-shadow`: Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it.
|
|
87049
|
+
* - `--navigation-indicator-thickness`: Height of the bar under `underlined`, and its width down a column.
|
|
86947
87050
|
* - `--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
87051
|
* - `--navigation-item-current-color`: Text color of the current destination, the one marked `aria-current="page"`.
|
|
86949
87052
|
* - `--navigation-item-current-font-weight`: Weight of the current destination's text.
|
|
@@ -86953,6 +87056,7 @@ export type CustomElementsSolidJs = {
|
|
|
86953
87056
|
* - `--navigation-item-hover-color`: Text color of a destination under the pointer.
|
|
86954
87057
|
* - `--navigation-item-padding-inline`: Space either side of a destination's text.
|
|
86955
87058
|
* - `--navigation-item-radius`: Corner radius of a destination, which its hover background follows.
|
|
87059
|
+
* - `--navigation-rule-color`: Color of the rule under the row in `underlined`.
|
|
86956
87060
|
*
|
|
86957
87061
|
* ## CSS Parts
|
|
86958
87062
|
*
|
|
@@ -101422,12 +101526,14 @@ export type CustomCssProperties = {
|
|
|
101422
101526
|
"--navigation-block-size"?: (string) | undefined;
|
|
101423
101527
|
/** Space between destinations. */
|
|
101424
101528
|
"--navigation-gap"?: (string) | undefined;
|
|
101425
|
-
/** Fill of the marker on the current destination. */
|
|
101529
|
+
/** Fill of the marker on the current destination: the bar under `underlined`, and the pill otherwise. */
|
|
101426
101530
|
"--navigation-indicator-color"?: (string) | undefined;
|
|
101427
101531
|
/** Corner radius of the marker. */
|
|
101428
101532
|
"--navigation-indicator-radius"?: (string) | undefined;
|
|
101429
|
-
/** Shadow under the marker, for a marker that sits raised on the bar. */
|
|
101533
|
+
/** Shadow under the marker, for a marker that sits raised on the bar, as `segmented` draws it. */
|
|
101430
101534
|
"--navigation-indicator-shadow"?: (string) | undefined;
|
|
101535
|
+
/** Height of the bar under `underlined`, and its width down a column. */
|
|
101536
|
+
"--navigation-indicator-thickness"?: (string) | undefined;
|
|
101431
101537
|
/** Text color of a destination that is not the current one. Read by the page's stylesheet, which styles the links you slot. */
|
|
101432
101538
|
"--navigation-item-color"?: (string) | undefined;
|
|
101433
101539
|
/** Text color of the current destination, the one marked `aria-current="page"`. */
|
|
@@ -101446,6 +101552,8 @@ export type CustomCssProperties = {
|
|
|
101446
101552
|
"--navigation-item-padding-inline"?: (string) | undefined;
|
|
101447
101553
|
/** Corner radius of a destination, which its hover background follows. */
|
|
101448
101554
|
"--navigation-item-radius"?: (string) | undefined;
|
|
101555
|
+
/** Color of the rule under the row in `underlined`. */
|
|
101556
|
+
"--navigation-rule-color"?: (string) | undefined;
|
|
101449
101557
|
/** Text color in a read item. */
|
|
101450
101558
|
"--notifications-color"?: (string) | undefined;
|
|
101451
101559
|
/** 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. */
|
|
@@ -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,
|