@ttt-productions/media-viewer 0.4.5 → 0.7.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/dist/components/media-job-status-list.d.ts +1 -1
- package/dist/components/media-job-status-list.d.ts.map +1 -1
- package/dist/react/audio-viewer.d.ts +2 -1
- package/dist/react/audio-viewer.d.ts.map +1 -1
- package/dist/react/fallback.d.ts +3 -3
- package/dist/react/fallback.d.ts.map +1 -1
- package/dist/react/image-viewer.d.ts +2 -1
- package/dist/react/image-viewer.d.ts.map +1 -1
- package/dist/react/media-viewer.d.ts +2 -1
- package/dist/react/media-viewer.d.ts.map +1 -1
- package/dist/react/video-viewer.d.ts +2 -1
- package/dist/react/video-viewer.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -9,5 +9,5 @@ export interface MediaJobStatusListProps {
|
|
|
9
9
|
/** default: 50 */
|
|
10
10
|
maxItems?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare function MediaJobStatusList(props: MediaJobStatusListProps): import("react
|
|
12
|
+
export declare function MediaJobStatusList(props: MediaJobStatusListProps): import("react").JSX.Element | null;
|
|
13
13
|
//# sourceMappingURL=media-job-status-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-job-status-list.d.ts","sourceRoot":"","sources":["../../src/components/media-job-status-list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAK5E,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA+BD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"media-job-status-list.d.ts","sourceRoot":"","sources":["../../src/components/media-job-status-list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAK5E,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA+BD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,sCAyEhE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { AudioViewerProps } from "../types.js";
|
|
2
|
-
export declare function AudioViewer(props: AudioViewerProps):
|
|
3
|
+
export declare function AudioViewer(props: AudioViewerProps): React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=audio-viewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-viewer.d.ts","sourceRoot":"","sources":["../../src/react/audio-viewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audio-viewer.d.ts","sourceRoot":"","sources":["../../src/react/audio-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBA0IlD"}
|
package/dist/react/fallback.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ export declare function MediaFallbackLink(props: {
|
|
|
4
4
|
filename?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
label?: string;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
8
|
export declare function shouldShowFallback(mode: FallbackMode | undefined): boolean;
|
|
9
9
|
/** Empty state: no URL provided */
|
|
10
10
|
export declare function EmptyFallback(props: {
|
|
11
11
|
isCircular?: boolean;
|
|
12
12
|
className?: string;
|
|
13
|
-
}): import("react
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
14
|
/** Error state: failed to load */
|
|
15
15
|
export declare function ErrorFallback(props: {
|
|
16
16
|
isCircular?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
-
}): import("react
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=fallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fallback.d.ts","sourceRoot":"","sources":["../../src/react/fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB
|
|
1
|
+
{"version":3,"file":"fallback.d.ts","sourceRoot":"","sources":["../../src/react/fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,+BAcA;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED,mCAAmC;AACnC,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAehF;AAED,kCAAkC;AAClC,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAchF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { ImageViewerProps } from "../types.js";
|
|
2
|
-
export declare function ImageViewer(props: ImageViewerProps):
|
|
3
|
+
export declare function ImageViewer(props: ImageViewerProps): React.JSX.Element | null;
|
|
3
4
|
//# sourceMappingURL=image-viewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-viewer.d.ts","sourceRoot":"","sources":["../../src/react/image-viewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-viewer.d.ts","sourceRoot":"","sources":["../../src/react/image-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,4BA4IlD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { MediaPreviewProps } from "../types.js";
|
|
2
|
-
export declare function MediaViewer(props: MediaPreviewProps):
|
|
3
|
+
export declare function MediaViewer(props: MediaPreviewProps): React.JSX.Element | null;
|
|
3
4
|
/** Back-compat alias */
|
|
4
5
|
export declare const MediaPreview: typeof MediaViewer;
|
|
5
6
|
//# sourceMappingURL=media-viewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-viewer.d.ts","sourceRoot":"","sources":["../../src/react/media-viewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media-viewer.d.ts","sourceRoot":"","sources":["../../src/react/media-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,iBAAiB,EAAiC,MAAM,aAAa,CAAC;AAoBpF,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,4BAyJnD;AAED,wBAAwB;AACxB,eAAO,MAAM,YAAY,oBAAc,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { VideoViewerProps } from "../types.js";
|
|
2
|
-
export declare function VideoViewer(props: VideoViewerProps):
|
|
3
|
+
export declare function VideoViewer(props: VideoViewerProps): React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=video-viewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-viewer.d.ts","sourceRoot":"","sources":["../../src/react/video-viewer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"video-viewer.d.ts","sourceRoot":"","sources":["../../src/react/video-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBA0KlD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/media-viewer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/ttt-productions/ttt-packages.git",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"prepublishOnly": "npm run clean && npm run build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ttt-productions/media-schemas": "^0.
|
|
37
|
-
"@ttt-productions/ui-core": "^0.
|
|
36
|
+
"@ttt-productions/media-schemas": "^0.10.0",
|
|
37
|
+
"@ttt-productions/ui-core": "^0.10.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"react": ">=
|
|
41
|
-
"react-dom": ">=
|
|
40
|
+
"react": ">=19.0.0",
|
|
41
|
+
"react-dom": ">=19.0.0",
|
|
42
42
|
"lucide-react": ">=0.0.0",
|
|
43
43
|
"react-intersection-observer": ">=9.0.0"
|
|
44
44
|
},
|