@fusion.dev/helix-headless 0.41.0 → 0.42.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 +6 -6
- package/dist/carousel/root/carousel-root.d.ts +1 -1
- package/dist/image/root/image-root.d.ts +1 -1
- package/dist/video/root/video-root.d.ts +1 -1
- package/dist/video-playlist/item/video-playlist-item.d.ts +1 -1
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +1 -1
- package/dist/video-playlist/root/video-playlist-root.d.ts +1 -1
- package/dist/video-playlist/root/video-playlist-root.js +3 -0
- package/package.json +5 -5
- package/types/jsx.d.ts +4 -4
- package/types/vue.d.ts +1 -1
package/custom-elements.json
CHANGED
|
@@ -10397,7 +10397,7 @@
|
|
|
10397
10397
|
"type": {
|
|
10398
10398
|
"text": "HelixSelectEvent"
|
|
10399
10399
|
},
|
|
10400
|
-
"description": "Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
10400
|
+
"description": "Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`.",
|
|
10401
10401
|
"name": "helix-select",
|
|
10402
10402
|
"reactProp": "onhelix-select"
|
|
10403
10403
|
}
|
|
@@ -46085,7 +46085,7 @@
|
|
|
46085
46085
|
"helix": {
|
|
46086
46086
|
"category": "media",
|
|
46087
46087
|
"since": "0.1.0",
|
|
46088
|
-
"status": "
|
|
46088
|
+
"status": "stable",
|
|
46089
46089
|
"documentation": "https://fusion.dev/helix/components/image",
|
|
46090
46090
|
"aliases": [
|
|
46091
46091
|
"Picture",
|
|
@@ -104775,7 +104775,7 @@
|
|
|
104775
104775
|
"helix": {
|
|
104776
104776
|
"category": "media",
|
|
104777
104777
|
"since": "0.1.0",
|
|
104778
|
-
"status": "
|
|
104778
|
+
"status": "stable",
|
|
104779
104779
|
"documentation": "https://fusion.dev/helix/components/video-playlist",
|
|
104780
104780
|
"tier": "headless",
|
|
104781
104781
|
"group": "BaseVideoPlaylist",
|
|
@@ -105342,7 +105342,7 @@
|
|
|
105342
105342
|
"helix": {
|
|
105343
105343
|
"category": "media",
|
|
105344
105344
|
"since": "0.1.0",
|
|
105345
|
-
"status": "
|
|
105345
|
+
"status": "stable",
|
|
105346
105346
|
"documentation": "https://fusion.dev/helix/components/video-playlist",
|
|
105347
105347
|
"aliases": [
|
|
105348
105348
|
"Episode Menu",
|
|
@@ -106005,7 +106005,7 @@
|
|
|
106005
106005
|
"helix": {
|
|
106006
106006
|
"category": "media",
|
|
106007
106007
|
"since": "0.1.0",
|
|
106008
|
-
"status": "
|
|
106008
|
+
"status": "stable",
|
|
106009
106009
|
"documentation": "https://fusion.dev/helix/components/video-playlist",
|
|
106010
106010
|
"aliases": [
|
|
106011
106011
|
"Playlist",
|
|
@@ -108310,7 +108310,7 @@
|
|
|
108310
108310
|
"helix": {
|
|
108311
108311
|
"category": "media",
|
|
108312
108312
|
"since": "0.1.0",
|
|
108313
|
-
"status": "
|
|
108313
|
+
"status": "stable",
|
|
108314
108314
|
"documentation": "https://fusion.dev/helix/components/video",
|
|
108315
108315
|
"aliases": [
|
|
108316
108316
|
"Player",
|
|
@@ -27,7 +27,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
27
27
|
*
|
|
28
28
|
* @slot - The slides.
|
|
29
29
|
*
|
|
30
|
-
* @event {HelixSelectEvent} helix-select - Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
30
|
+
* @event {HelixSelectEvent} helix-select - Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`.
|
|
31
31
|
*
|
|
32
32
|
* @csspart controls - The row of controls.
|
|
33
33
|
* @csspart indicator - One of them, and a way to reach that slide.
|
|
@@ -15,7 +15,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
15
15
|
* `Skeleton` would make this tier depend on a component it does not ship.
|
|
16
16
|
*
|
|
17
17
|
* @since 0.1.0
|
|
18
|
-
* @status
|
|
18
|
+
* @status stable
|
|
19
19
|
* @category media
|
|
20
20
|
* @aliases Picture, Img, Figure
|
|
21
21
|
* @documentation https://fusion.dev/helix/components/image
|
|
@@ -16,7 +16,7 @@ import '../../menu/index.js';
|
|
|
16
16
|
* `Video`'s `controls` slot is for.
|
|
17
17
|
*
|
|
18
18
|
* @since 0.1.0
|
|
19
|
-
* @status
|
|
19
|
+
* @status stable
|
|
20
20
|
* @category media
|
|
21
21
|
* @aliases Episode Menu, Queue Menu, Up Next
|
|
22
22
|
* @documentation https://fusion.dev/helix/components/video-playlist
|
|
@@ -29,7 +29,7 @@ declare const HelixHeadlessVideoPlaylist_base: (new (...args: any[]) => import("
|
|
|
29
29
|
* here: the reader already pressed play once.
|
|
30
30
|
*
|
|
31
31
|
* @since 0.1.0
|
|
32
|
-
* @status
|
|
32
|
+
* @status stable
|
|
33
33
|
* @category media
|
|
34
34
|
* @aliases Playlist, Queue, Up next
|
|
35
35
|
* @documentation https://fusion.dev/helix/components/video-playlist
|
|
@@ -14,6 +14,9 @@ let HelixHeadlessVideoPlaylist = class HelixHeadlessVideoPlaylist extends MixinC
|
|
|
14
14
|
this.chased = false;
|
|
15
15
|
this.handleSelect = (event) => {
|
|
16
16
|
event.stopImmediatePropagation();
|
|
17
|
+
if (event.defaultPrevented) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
17
20
|
this.chased = true;
|
|
18
21
|
this.requestActive(event.detail.value);
|
|
19
22
|
};
|
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.42.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
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.42.0",
|
|
50
|
+
"@fusion.dev/helix-icons": "0.42.0",
|
|
51
51
|
"uqr": "^0.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.42.0",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.42.0",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -1861,7 +1861,7 @@ server markup never had, which React reports as a mismatch. The one-across
|
|
|
1861
1861
|
case is the absent attribute, and the styles read it that way. */
|
|
1862
1862
|
perView?: (HelixHeadlessCarousel["perView"]) | undefined;
|
|
1863
1863
|
|
|
1864
|
-
/** Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
1864
|
+
/** Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`. */
|
|
1865
1865
|
"onhelix-select"?: ((e: HelixHeadlessCarouselHelixSelectElementEvent) => void) | undefined;
|
|
1866
1866
|
};
|
|
1867
1867
|
|
|
@@ -1961,7 +1961,7 @@ its attribute on upgrade, and the host then carries something a consumer's
|
|
|
1961
1961
|
server markup never had, which React reports as a mismatch. The one-across
|
|
1962
1962
|
case is the absent attribute, and the styles read it that way. */
|
|
1963
1963
|
"prop:perView"?: (HelixHeadlessCarousel["perView"]) | undefined;
|
|
1964
|
-
/** Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
1964
|
+
/** Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`. */
|
|
1965
1965
|
"on:helix-select"?: ((e: HelixHeadlessCarouselHelixSelectElementEvent) => void) | undefined;
|
|
1966
1966
|
|
|
1967
1967
|
/** Set the innerHTML of the element */
|
|
@@ -19076,7 +19076,7 @@ export type CustomElements = {
|
|
|
19076
19076
|
*
|
|
19077
19077
|
* Events that will be emitted by the component.
|
|
19078
19078
|
*
|
|
19079
|
-
* - `helix-select`: Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
19079
|
+
* - `helix-select`: Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`.
|
|
19080
19080
|
*
|
|
19081
19081
|
* ## Slots
|
|
19082
19082
|
*
|
|
@@ -36749,7 +36749,7 @@ export type CustomElementsSolidJs = {
|
|
|
36749
36749
|
*
|
|
36750
36750
|
* Events that will be emitted by the component.
|
|
36751
36751
|
*
|
|
36752
|
-
* - `helix-select`: Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
36752
|
+
* - `helix-select`: Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`.
|
|
36753
36753
|
*
|
|
36754
36754
|
* ## Slots
|
|
36755
36755
|
*
|
package/types/vue.d.ts
CHANGED
|
@@ -1009,7 +1009,7 @@ case is the absent attribute, and the styles read it that way. */
|
|
|
1009
1009
|
};
|
|
1010
1010
|
|
|
1011
1011
|
export type HelixHeadlessCarouselVueEvents = {
|
|
1012
|
-
/** Fired when the slide in view changes, with its index. Cancelable: refusing
|
|
1012
|
+
/** Fired when the slide in view changes, with its index. Cancelable where the carousel is about to move: refusing a control or an indicator takes the decision and nothing moves. A drag has already moved the track, so that one announces after the fact and refusing it does nothing. See `handleScroll`. */
|
|
1013
1013
|
"helix-select": HelixHeadlessCarouselHelixSelectElementEvent;
|
|
1014
1014
|
};
|
|
1015
1015
|
|