@broadcastingplatforms/player 1.5.8 → 1.5.10

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.
@@ -1,2 +1,4 @@
1
- export {};
1
+ import '../elements/hls-video';
2
+ import '../elements/nano-video';
3
+ import '../elements/livekit-video';
2
4
  //# sourceMappingURL=player-core.test.d.ts.map
@@ -0,0 +1,2 @@
1
+ import './nano-video';
2
+ //# sourceMappingURL=nano-video.test.d.ts.map
@@ -11,4 +11,18 @@ import type { ComplexAttributeConverter } from 'lit';
11
11
  * ```
12
12
  */
13
13
  export declare function jsonConverter<T = unknown>(): ComplexAttributeConverter<T | undefined>;
14
+ /**
15
+ * Creates a converter for boolean properties that default to true.
16
+ * Lit's built-in Boolean converter treats any present attribute as true,
17
+ * so `attr="false"` could never switch the property off. Here the string
18
+ * "false" parses to false; anything else (including absence) to true.
19
+ *
20
+ * @returns A ComplexAttributeConverter for use with Lit @property decorator
21
+ *
22
+ * @example
23
+ * ```typescript
24
+ * @property({ converter: defaultTrueBooleanConverter() }) hotkeys = true;
25
+ * ```
26
+ */
27
+ export declare function defaultTrueBooleanConverter(): ComplexAttributeConverter<boolean>;
14
28
  //# sourceMappingURL=converters.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@broadcastingplatforms/player",
3
- "version": "1.5.8",
3
+ "version": "1.5.10",
4
4
  "description": "Universal video player web component built with Lit",
5
5
  "type": "module",
6
6
  "main": "dist/bp-player.js",