@fusion.dev/helix-headless 0.94.0 → 0.95.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
CHANGED
|
@@ -106614,10 +106614,6 @@
|
|
|
106614
106614
|
}
|
|
106615
106615
|
],
|
|
106616
106616
|
"cssParts": [
|
|
106617
|
-
{
|
|
106618
|
-
"description": "The region top left, for a way out of a set.",
|
|
106619
|
-
"name": "back"
|
|
106620
|
-
},
|
|
106621
106617
|
{
|
|
106622
106618
|
"description": "Subtitles on and off.",
|
|
106623
106619
|
"name": "captions"
|
|
@@ -106694,6 +106690,10 @@
|
|
|
106694
106690
|
"description": "The whole screen, and back.",
|
|
106695
106691
|
"name": "fullscreen"
|
|
106696
106692
|
},
|
|
106693
|
+
{
|
|
106694
|
+
"description": "The region top left, for a heading and a way out of a set.",
|
|
106695
|
+
"name": "header"
|
|
106696
|
+
},
|
|
106697
106697
|
{
|
|
106698
106698
|
"description": "What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.",
|
|
106699
106699
|
"name": "loading"
|
|
@@ -106808,14 +106808,14 @@
|
|
|
106808
106808
|
"description": "`<source>` and `<track>` elements, which are copied into the video.",
|
|
106809
106809
|
"name": ""
|
|
106810
106810
|
},
|
|
106811
|
-
{
|
|
106812
|
-
"description": "Top left over the frame, for a way out of a set.",
|
|
106813
|
-
"name": "back"
|
|
106814
|
-
},
|
|
106815
106811
|
{
|
|
106816
106812
|
"description": "Added to the control bar, before fullscreen.",
|
|
106817
106813
|
"name": "controls"
|
|
106818
106814
|
},
|
|
106815
|
+
{
|
|
106816
|
+
"description": "Top left over the frame: a heading, and a way out of a set beside it.",
|
|
106817
|
+
"name": "header"
|
|
106818
|
+
},
|
|
106819
106819
|
{
|
|
106820
106820
|
"description": "Shown over the video until it starts.",
|
|
106821
106821
|
"name": "poster"
|
|
@@ -38,8 +38,8 @@ import '../../menu/index.js';
|
|
|
38
38
|
* @documentation https://fusion.dev/helix/components/video
|
|
39
39
|
*
|
|
40
40
|
* @slot - `<source>` and `<track>` elements, which are copied into the video.
|
|
41
|
-
* @slot back - Top left over the frame, for a way out of a set.
|
|
42
41
|
* @slot controls - Added to the control bar, before fullscreen.
|
|
42
|
+
* @slot header - Top left over the frame: a heading, and a way out of a set beside it.
|
|
43
43
|
* @slot poster - Shown over the video until it starts.
|
|
44
44
|
*
|
|
45
45
|
* @event {Event} ended - Relayed, because it does not cross a shadow boundary.
|
|
@@ -48,7 +48,6 @@ import '../../menu/index.js';
|
|
|
48
48
|
* @event {Event} pause - Relayed for the same reason.
|
|
49
49
|
* @event {Event} play - Relayed for the same reason.
|
|
50
50
|
*
|
|
51
|
-
* @csspart back - The region top left, for a way out of a set.
|
|
52
51
|
* @csspart captions - Subtitles on and off.
|
|
53
52
|
* @csspart captions-menu - The language menu, where there is more than one.
|
|
54
53
|
* @csspart captions-menu-back - The control that returns from a submenu.
|
|
@@ -68,6 +67,7 @@ import '../../menu/index.js';
|
|
|
68
67
|
* @csspart failure - What is said when the source will not play.
|
|
69
68
|
* @csspart forward - The control that goes on ten seconds.
|
|
70
69
|
* @csspart fullscreen - The whole screen, and back.
|
|
70
|
+
* @csspart header - The region top left, for a heading and a way out of a set.
|
|
71
71
|
* @csspart loading - What is said while the picture waits for more of itself.
|
|
72
72
|
* The part of that which spins is drawn on it, which is `::part(loading)::before`
|
|
73
73
|
* from a consumer's sheet: this tier ships no CSS, so a box it renders for one to
|
|
@@ -734,7 +734,7 @@ let HelixHeadlessVideo = class HelixHeadlessVideo extends HelixElement {
|
|
|
734
734
|
<span aria-hidden="true" hidden><slot @slotchange=${this.handleMedia}></slot></span>
|
|
735
735
|
${this.cue === undefined ? nothing : html `<p aria-live="off" part="cue">${this.cue}</p>`}
|
|
736
736
|
${''}
|
|
737
|
-
<div part="
|
|
737
|
+
<div part="header"><slot name="header"></slot></div>
|
|
738
738
|
<slot name="poster" part="poster"></slot>
|
|
739
739
|
${this.buffering && !this.failed
|
|
740
740
|
? html `<div
|
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.95.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.
|
|
50
|
-
"@fusion.dev/helix-icons": "0.
|
|
49
|
+
"@fusion.dev/helix-core": "0.95.0",
|
|
50
|
+
"@fusion.dev/helix-icons": "0.95.0",
|
|
51
51
|
"uqr": "^0.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@fusion.dev/helix-cem": "0.
|
|
55
|
-
"@fusion.dev/helix-testing": "0.
|
|
54
|
+
"@fusion.dev/helix-cem": "0.95.0",
|
|
55
|
+
"@fusion.dev/helix-testing": "0.95.0",
|
|
56
56
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
57
57
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
58
58
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -35739,8 +35739,8 @@ export type CustomElements = {
|
|
|
35739
35739
|
* Areas where markup can be added to the component.
|
|
35740
35740
|
*
|
|
35741
35741
|
* - `(default)`: `<source>` and `<track>` elements, which are copied into the video.
|
|
35742
|
-
* - `back`: Top left over the frame, for a way out of a set.
|
|
35743
35742
|
* - `controls`: Added to the control bar, before fullscreen.
|
|
35743
|
+
* - `header`: Top left over the frame: a heading, and a way out of a set beside it.
|
|
35744
35744
|
* - `poster`: Shown over the video until it starts.
|
|
35745
35745
|
*
|
|
35746
35746
|
* ## Methods
|
|
@@ -35769,7 +35769,6 @@ export type CustomElements = {
|
|
|
35769
35769
|
*
|
|
35770
35770
|
* Custom selectors for styling elements within the component.
|
|
35771
35771
|
*
|
|
35772
|
-
* - `back`: The region top left, for a way out of a set.
|
|
35773
35772
|
* - `captions`: Subtitles on and off.
|
|
35774
35773
|
* - `captions-menu`: The language menu, where there is more than one.
|
|
35775
35774
|
* - `captions-menu-back`: The control that returns from a submenu.
|
|
@@ -35789,6 +35788,7 @@ export type CustomElements = {
|
|
|
35789
35788
|
* - `failure`: What is said when the source will not play.
|
|
35790
35789
|
* - `forward`: The control that goes on ten seconds.
|
|
35791
35790
|
* - `fullscreen`: The whole screen, and back.
|
|
35791
|
+
* - `header`: The region top left, for a heading and a way out of a set.
|
|
35792
35792
|
* - `loading`: What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.
|
|
35793
35793
|
* - `more`: The button that opens it.
|
|
35794
35794
|
* - `mute`: Sound on and off.
|
|
@@ -53998,8 +53998,8 @@ export type CustomElementsSolidJs = {
|
|
|
53998
53998
|
* Areas where markup can be added to the component.
|
|
53999
53999
|
*
|
|
54000
54000
|
* - `(default)`: `<source>` and `<track>` elements, which are copied into the video.
|
|
54001
|
-
* - `back`: Top left over the frame, for a way out of a set.
|
|
54002
54001
|
* - `controls`: Added to the control bar, before fullscreen.
|
|
54002
|
+
* - `header`: Top left over the frame: a heading, and a way out of a set beside it.
|
|
54003
54003
|
* - `poster`: Shown over the video until it starts.
|
|
54004
54004
|
*
|
|
54005
54005
|
* ## Methods
|
|
@@ -54028,7 +54028,6 @@ export type CustomElementsSolidJs = {
|
|
|
54028
54028
|
*
|
|
54029
54029
|
* Custom selectors for styling elements within the component.
|
|
54030
54030
|
*
|
|
54031
|
-
* - `back`: The region top left, for a way out of a set.
|
|
54032
54031
|
* - `captions`: Subtitles on and off.
|
|
54033
54032
|
* - `captions-menu`: The language menu, where there is more than one.
|
|
54034
54033
|
* - `captions-menu-back`: The control that returns from a submenu.
|
|
@@ -54048,6 +54047,7 @@ export type CustomElementsSolidJs = {
|
|
|
54048
54047
|
* - `failure`: What is said when the source will not play.
|
|
54049
54048
|
* - `forward`: The control that goes on ten seconds.
|
|
54050
54049
|
* - `fullscreen`: The whole screen, and back.
|
|
54050
|
+
* - `header`: The region top left, for a heading and a way out of a set.
|
|
54051
54051
|
* - `loading`: What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.
|
|
54052
54052
|
* - `more`: The button that opens it.
|
|
54053
54053
|
* - `mute`: Sound on and off.
|