@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.
@@ -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.0",
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.0",
49
- "@fusion.dev/helix-icons": "0.24.0",
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.0",
55
- "@fusion.dev/helix-testing": "0.24.0",
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
@@ -165,6 +165,7 @@ import type {
165
165
  fromMinutes,
166
166
  initialsOf,
167
167
  isTime,
168
+ optionsAmong,
168
169
  toMinutes,
169
170
  writeTime,
170
171
  } from '@fusion.dev/helix-headless';
package/types/vue.d.ts CHANGED
@@ -73,6 +73,7 @@ import type {
73
73
  HelixHeadlessNumberInput,
74
74
  HelixHeadlessObjectInspector,
75
75
  HelixHeadlessOptionGroup,
76
+ optionsAmong,
76
77
  HelixHeadlessOption,
77
78
  HelixHeadlessOutline,
78
79
  HelixHeadlessPagination,