@photoroom/ui 0.1.843 → 0.1.844
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/components/content/VideoPlayer/VideoPlayerTile.d.ts +28 -0
- package/components/content/VideoPlayer/VideoPlayerTile.d.ts.map +1 -0
- package/components/content/VideoPlayer/index.d.ts +1 -0
- package/components/content/VideoPlayer/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +9791 -9649
- package/package.json +2 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type TileProps } from "../Tile";
|
|
2
|
+
export type VideoPlayerTileProps = Readonly<{
|
|
3
|
+
src: string;
|
|
4
|
+
posterSrc?: string;
|
|
5
|
+
/** Names the player for assistive technologies; it is not shown. */
|
|
6
|
+
label: string;
|
|
7
|
+
playback?: "clickToPlay" | "autoplay";
|
|
8
|
+
aspectRatio?: TileProps["aspectRatio"];
|
|
9
|
+
/** Revealed on hover or focus, e.g. the selection. */
|
|
10
|
+
leadingTop?: React.ReactNode;
|
|
11
|
+
/** Revealed on hover or focus, e.g. Save and More. */
|
|
12
|
+
trailingTop?: React.ReactNode;
|
|
13
|
+
playLabel: string;
|
|
14
|
+
pauseLabel: string;
|
|
15
|
+
muteLabel: string;
|
|
16
|
+
unmuteLabel: string;
|
|
17
|
+
seekLabel: string;
|
|
18
|
+
/** Shows the expand button. */
|
|
19
|
+
expand?: Readonly<{
|
|
20
|
+
label: string;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}>;
|
|
23
|
+
/** Draws the Tile's selection border, e.g. while the selection in `leadingTop` is on. */
|
|
24
|
+
isSelected?: boolean;
|
|
25
|
+
className?: string;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const VideoPlayerTile: (props: VideoPlayerTileProps) => React.JSX.Element;
|
|
28
|
+
//# sourceMappingURL=VideoPlayerTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/VideoPlayer/VideoPlayerTile.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAI/C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,aAAa,GAAG,UAAU,CAAC;IACtC,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IACvC,sDAAsD;IACtD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,sDAAsD;IACtD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,QAAQ,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IAC1D,yFAAyF;IACzF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AA4BH,eAAO,MAAM,eAAe,UAAW,oBAAoB,KAAG,KAAK,CAAC,GAAG,CAAC,OAEvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/VideoPlayer/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/VideoPlayer/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
|