@fusion.dev/helix-headless 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 +20 -2
- package/dist/avatar/root/avatar-root.d.ts +3 -1
- package/dist/avatar/root/avatar-root.js +2 -2
- package/dist/navigation/root/navigation-root.d.ts +22 -0
- package/dist/navigation/root/navigation-root.js +3 -0
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +90 -4
- package/types/vue.d.ts +23 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.169.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fusion.dev/helix-core": "0.
|
|
53
|
-
"@fusion.dev/helix-icons": "0.
|
|
52
|
+
"@fusion.dev/helix-core": "0.169.0",
|
|
53
|
+
"@fusion.dev/helix-icons": "0.169.0",
|
|
54
54
|
"uqr": "^0.1.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@fusion.dev/helix-cem": "0.
|
|
58
|
-
"@fusion.dev/helix-testing": "0.
|
|
57
|
+
"@fusion.dev/helix-cem": "0.169.0",
|
|
58
|
+
"@fusion.dev/helix-testing": "0.169.0",
|
|
59
59
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
60
60
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
61
61
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -1601,7 +1601,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
1601
1601
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
1602
1602
|
a listener bound after the picture settled hears neither, which is the
|
|
1603
1603
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
1604
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
1604
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
1605
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
1606
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
1605
1607
|
status?: (HelixHeadlessAvatar["status"]) | undefined;
|
|
1606
1608
|
|
|
1607
1609
|
/** Relayed from the image when it fails. */
|
|
@@ -1659,7 +1661,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
1659
1661
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
1660
1662
|
a listener bound after the picture settled hears neither, which is the
|
|
1661
1663
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
1662
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
1664
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
1665
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
1666
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
1663
1667
|
"prop:status"?: (HelixHeadlessAvatar["status"]) | undefined;
|
|
1664
1668
|
/** Relayed from the image when it fails. */
|
|
1665
1669
|
"on:error"?: ((e: HelixHeadlessAvatarElementEvent) => void) | undefined;
|
|
@@ -21590,6 +21594,26 @@ second "Main". */
|
|
|
21590
21594
|
for a header or a footer. The marker follows the current destination down
|
|
21591
21595
|
the column as it does along the row. */
|
|
21592
21596
|
orientation?: (HelixHeadlessNavigation["orientation"]) | undefined;
|
|
21597
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
21598
|
+
reasons.
|
|
21599
|
+
|
|
21600
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
21601
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
21602
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
21603
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
21604
|
+
framed, sunken track, for a short set that reads as one control.
|
|
21605
|
+
|
|
21606
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
21607
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
21608
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
21609
|
+
could not draw them the way its underlined tabs were drawn.
|
|
21610
|
+
|
|
21611
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
21612
|
+
column's inline end.
|
|
21613
|
+
|
|
21614
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
21615
|
+
consumer's server markup does not already have. */
|
|
21616
|
+
variant?: (HelixHeadlessNavigation["variant"]) | undefined;
|
|
21593
21617
|
};
|
|
21594
21618
|
|
|
21595
21619
|
export type HelixHeadlessNavigationSolidJsProps = {
|
|
@@ -21608,6 +21632,26 @@ second "Main". */
|
|
|
21608
21632
|
for a header or a footer. The marker follows the current destination down
|
|
21609
21633
|
the column as it does along the row. */
|
|
21610
21634
|
"prop:orientation"?: (HelixHeadlessNavigation["orientation"]) | undefined;
|
|
21635
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
21636
|
+
reasons.
|
|
21637
|
+
|
|
21638
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
21639
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
21640
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
21641
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
21642
|
+
framed, sunken track, for a short set that reads as one control.
|
|
21643
|
+
|
|
21644
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
21645
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
21646
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
21647
|
+
could not draw them the way its underlined tabs were drawn.
|
|
21648
|
+
|
|
21649
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
21650
|
+
column's inline end.
|
|
21651
|
+
|
|
21652
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
21653
|
+
consumer's server markup does not already have. */
|
|
21654
|
+
"prop:variant"?: (HelixHeadlessNavigation["variant"]) | undefined;
|
|
21611
21655
|
|
|
21612
21656
|
/** Set the innerHTML of the element */
|
|
21613
21657
|
innerHTML?: (string) | undefined;
|
|
@@ -37510,7 +37554,9 @@ export type CustomElements = {
|
|
|
37510
37554
|
* report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
37511
37555
|
* a listener bound after the picture settled hears neither, which is the
|
|
37512
37556
|
* platform on an `<img>` too, and this is what that listener asks instead.
|
|
37513
|
-
* Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
37557
|
+
* Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
37558
|
+
* picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
37559
|
+
* and as `:state(error)`, and writes no `data-status`. (property only)
|
|
37514
37560
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
37515
37561
|
*
|
|
37516
37562
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -52832,6 +52878,25 @@ export type CustomElements = {
|
|
|
52832
52878
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
52833
52879
|
* for a header or a footer. The marker follows the current destination down
|
|
52834
52880
|
* the column as it does along the row.
|
|
52881
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
52882
|
+
* reasons.
|
|
52883
|
+
*
|
|
52884
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
52885
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
52886
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
52887
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
52888
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
52889
|
+
*
|
|
52890
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
52891
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
52892
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
52893
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
52894
|
+
*
|
|
52895
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
52896
|
+
* column's inline end.
|
|
52897
|
+
*
|
|
52898
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
52899
|
+
* consumer's server markup does not already have.
|
|
52835
52900
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
52836
52901
|
*
|
|
52837
52902
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -66458,7 +66523,9 @@ export type CustomElementsSolidJs = {
|
|
|
66458
66523
|
* report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
66459
66524
|
* a listener bound after the picture settled hears neither, which is the
|
|
66460
66525
|
* platform on an `<img>` too, and this is what that listener asks instead.
|
|
66461
|
-
* Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
66526
|
+
* Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
66527
|
+
* picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
66528
|
+
* and as `:state(error)`, and writes no `data-status`. (property only)
|
|
66462
66529
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
66463
66530
|
*
|
|
66464
66531
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -81946,6 +82013,25 @@ export type CustomElementsSolidJs = {
|
|
|
81946
82013
|
* - `orientation`: Stacks the destinations in a column, for a sidebar, where unset is a row
|
|
81947
82014
|
* for a header or a footer. The marker follows the current destination down
|
|
81948
82015
|
* the column as it does along the row.
|
|
82016
|
+
* - `variant`: How the destinations are drawn, with `Tabs`' three values and for the same
|
|
82017
|
+
* reasons.
|
|
82018
|
+
*
|
|
82019
|
+
* Unset is a pill under the current destination with nothing behind the row,
|
|
82020
|
+
* for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
82021
|
+
* thicker one under the current destination, for a bar that heads a page, as
|
|
82022
|
+
* a repository's or a project's sections do. `segmented` puts the pill in a
|
|
82023
|
+
* framed, sunken track, for a short set that reads as one control.
|
|
82024
|
+
*
|
|
82025
|
+
* **The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
82026
|
+
* Navigation moves between pages and tabs between the panels of one page,
|
|
82027
|
+
* and the bar looks the same either way. A console whose sections are pages
|
|
82028
|
+
* could not draw them the way its underlined tabs were drawn.
|
|
82029
|
+
*
|
|
82030
|
+
* Down a column, `underlined` stands the rule and the mark along the
|
|
82031
|
+
* column's inline end.
|
|
82032
|
+
*
|
|
82033
|
+
* Reflected and left unset by default, so the host carries nothing a
|
|
82034
|
+
* consumer's server markup does not already have.
|
|
81949
82035
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
81950
82036
|
*
|
|
81951
82037
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
package/types/vue.d.ts
CHANGED
|
@@ -896,7 +896,9 @@ Read-only to a consumer: it is a report rather than a setting, and the same
|
|
|
896
896
|
report `Image` gives, for the same reason. `load` and `error` fire once, so
|
|
897
897
|
a listener bound after the picture settled hears neither, which is the
|
|
898
898
|
platform on an `<img>` too, and this is what that listener asks instead.
|
|
899
|
-
Mirrored to `data-status` rather than reflected, as `Image` explains
|
|
899
|
+
Mirrored to `data-status` rather than reflected, as `Image` explains, once a
|
|
900
|
+
picture has loaded or failed. An avatar with no `src` reports `error` here
|
|
901
|
+
and as `:state(error)`, and writes no `data-status`. */
|
|
900
902
|
status?: (HelixHeadlessAvatar["status"]) | undefined;
|
|
901
903
|
};
|
|
902
904
|
|
|
@@ -11065,6 +11067,26 @@ second "Main". */
|
|
|
11065
11067
|
for a header or a footer. The marker follows the current destination down
|
|
11066
11068
|
the column as it does along the row. */
|
|
11067
11069
|
orientation?: (HelixHeadlessNavigation["orientation"]) | undefined;
|
|
11070
|
+
/** How the destinations are drawn, with `Tabs`' three values and for the same
|
|
11071
|
+
reasons.
|
|
11072
|
+
|
|
11073
|
+
Unset is a pill under the current destination with nothing behind the row,
|
|
11074
|
+
for a bar inside other chrome. `underlined` is a rule under the row and a
|
|
11075
|
+
thicker one under the current destination, for a bar that heads a page, as
|
|
11076
|
+
a repository's or a project's sections do. `segmented` puts the pill in a
|
|
11077
|
+
framed, sunken track, for a short set that reads as one control.
|
|
11078
|
+
|
|
11079
|
+
**The same words as `Tabs`, because a reader cannot tell the two apart.**
|
|
11080
|
+
Navigation moves between pages and tabs between the panels of one page,
|
|
11081
|
+
and the bar looks the same either way. A console whose sections are pages
|
|
11082
|
+
could not draw them the way its underlined tabs were drawn.
|
|
11083
|
+
|
|
11084
|
+
Down a column, `underlined` stands the rule and the mark along the
|
|
11085
|
+
column's inline end.
|
|
11086
|
+
|
|
11087
|
+
Reflected and left unset by default, so the host carries nothing a
|
|
11088
|
+
consumer's server markup does not already have. */
|
|
11089
|
+
variant?: (HelixHeadlessNavigation["variant"]) | undefined;
|
|
11068
11090
|
};
|
|
11069
11091
|
|
|
11070
11092
|
export type HelixHeadlessNavigationVueEvents = {};
|