@fusion.dev/helix-headless 0.24.0 → 0.24.1
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 +1891 -4
- package/dist/avatar/group/avatar-group.d.ts +1 -0
- package/dist/avatar/group/avatar-group.js +5 -1
- package/dist/avatar/root/avatar-root.d.ts +1 -0
- package/dist/avatar/root/avatar-root.js +11 -0
- package/dist/carousel/root/carousel-root.d.ts +2 -0
- package/dist/carousel/root/carousel-root.js +5 -2
- package/dist/combobox/root/combobox-root.d.ts +1 -0
- package/dist/combobox/root/combobox-root.js +6 -1
- package/dist/command/root/command-root.d.ts +7 -0
- package/dist/command/root/command-root.js +10 -0
- package/dist/format-date/root/format-date-root.js +4 -1
- package/dist/image/root/image-root.d.ts +9 -0
- package/dist/image/root/image-root.js +16 -3
- package/dist/kbd/root/kbd-root.d.ts +9 -2
- package/dist/kbd/root/kbd-root.js +7 -2
- package/dist/option/root/option-root.d.ts +17 -0
- package/dist/option/root/option-root.js +4 -0
- package/dist/qr-code/root/qr-code-root.d.ts +3 -1
- package/dist/qr-code/root/qr-code-root.js +11 -1
- package/dist/rating/root/rating-root.d.ts +3 -0
- package/dist/rating/root/rating-root.js +9 -0
- package/dist/select/root/select-root.d.ts +8 -0
- package/dist/select/root/select-root.js +8 -6
- package/dist/steps/root/steps-root.js +5 -2
- package/dist/tour/root/tour-root.d.ts +13 -0
- package/dist/tour/root/tour-root.js +43 -18
- package/dist/video/root/video-root.js +4 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +1 -0
- package/types/vue.d.ts +1 -0
|
@@ -237,7 +237,7 @@ let HelixHeadlessVideo = class HelixHeadlessVideo extends HelixElement {
|
|
|
237
237
|
}
|
|
238
238
|
offers(one) {
|
|
239
239
|
if (one === 'pip') {
|
|
240
|
-
return typeof document !== 'undefined' && document.pictureInPictureEnabled;
|
|
240
|
+
return !this.hydrating && typeof document !== 'undefined' && document.pictureInPictureEnabled;
|
|
241
241
|
}
|
|
242
242
|
if (one === 'remote') {
|
|
243
243
|
return this.remoteAvailable;
|
|
@@ -559,6 +559,9 @@ let HelixHeadlessVideo = class HelixHeadlessVideo extends HelixElement {
|
|
|
559
559
|
this.finishHydration();
|
|
560
560
|
const video = this.video;
|
|
561
561
|
if (video) {
|
|
562
|
+
if (this.defaultMuted || this.silent) {
|
|
563
|
+
video.muted = true;
|
|
564
|
+
}
|
|
562
565
|
this.silent = video.muted;
|
|
563
566
|
this.loudness = video.volume;
|
|
564
567
|
video.remote?.addEventListener?.('connect', this.handleRemoteState);
|
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.24.
|
|
4
|
+
"version": "0.24.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
},
|
|
46
46
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@fusion.dev/helix-core": "0.24.
|
|
49
|
-
"@fusion.dev/helix-icons": "0.24.
|
|
48
|
+
"@fusion.dev/helix-core": "0.24.1",
|
|
49
|
+
"@fusion.dev/helix-icons": "0.24.1",
|
|
50
50
|
"uqr": "^0.1.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
54
|
-
"@fusion.dev/helix-cem": "0.24.
|
|
55
|
-
"@fusion.dev/helix-testing": "0.24.
|
|
54
|
+
"@fusion.dev/helix-cem": "0.24.1",
|
|
55
|
+
"@fusion.dev/helix-testing": "0.24.1",
|
|
56
56
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
57
57
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
58
58
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED