@nicorp/nui 0.11.2 → 0.11.4
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/index.cjs.js +56 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.es.js +30179 -8315
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1413,6 +1413,10 @@ export declare interface NUILocale {
|
|
|
1413
1413
|
videoPlayer_label: string;
|
|
1414
1414
|
videoPlayer_loading: string;
|
|
1415
1415
|
videoPlayer_error: string;
|
|
1416
|
+
videoPlayer_chapter: string;
|
|
1417
|
+
videoPlayer_skipForward: string;
|
|
1418
|
+
videoPlayer_skipBackward: string;
|
|
1419
|
+
videoPlayer_live: string;
|
|
1416
1420
|
videoRecorder_startCamera: string;
|
|
1417
1421
|
videoRecorder_shareScreen: string;
|
|
1418
1422
|
videoRecorder_startRecording: string;
|
|
@@ -1930,6 +1934,12 @@ declare function useTranslate(): NUILocale;
|
|
|
1930
1934
|
export { useTranslate as useNUILocale }
|
|
1931
1935
|
export { useTranslate }
|
|
1932
1936
|
|
|
1937
|
+
export declare interface VideoChapter {
|
|
1938
|
+
time: number;
|
|
1939
|
+
title: string;
|
|
1940
|
+
thumbnail?: string;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1933
1943
|
export declare const VideoGallery: React_2.ForwardRefExoticComponent<VideoGalleryProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1934
1944
|
|
|
1935
1945
|
export declare interface VideoGalleryItem {
|
|
@@ -1967,6 +1977,7 @@ export declare interface VideoPlayerProps extends VariantProps<typeof videoPlaye
|
|
|
1967
1977
|
enablePlaybackRate?: boolean;
|
|
1968
1978
|
playbackRates?: number[];
|
|
1969
1979
|
tracks?: VideoTrack[];
|
|
1980
|
+
chapters?: VideoChapter[];
|
|
1970
1981
|
aspectRatio?: string;
|
|
1971
1982
|
autoPlay?: boolean;
|
|
1972
1983
|
loop?: boolean;
|