@nicorp/nui 0.11.2 → 0.11.3
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 +15 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.es.js +3503 -3367
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1413,6 +1413,9 @@ 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;
|
|
1416
1419
|
videoRecorder_startCamera: string;
|
|
1417
1420
|
videoRecorder_shareScreen: string;
|
|
1418
1421
|
videoRecorder_startRecording: string;
|
|
@@ -1930,6 +1933,11 @@ declare function useTranslate(): NUILocale;
|
|
|
1930
1933
|
export { useTranslate as useNUILocale }
|
|
1931
1934
|
export { useTranslate }
|
|
1932
1935
|
|
|
1936
|
+
export declare interface VideoChapter {
|
|
1937
|
+
time: number;
|
|
1938
|
+
title: string;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1933
1941
|
export declare const VideoGallery: React_2.ForwardRefExoticComponent<VideoGalleryProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1934
1942
|
|
|
1935
1943
|
export declare interface VideoGalleryItem {
|
|
@@ -1967,6 +1975,7 @@ export declare interface VideoPlayerProps extends VariantProps<typeof videoPlaye
|
|
|
1967
1975
|
enablePlaybackRate?: boolean;
|
|
1968
1976
|
playbackRates?: number[];
|
|
1969
1977
|
tracks?: VideoTrack[];
|
|
1978
|
+
chapters?: VideoChapter[];
|
|
1970
1979
|
aspectRatio?: string;
|
|
1971
1980
|
autoPlay?: boolean;
|
|
1972
1981
|
loop?: boolean;
|