@factorialco/f0-react 4.66.2 → 4.68.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/{ChatPdfThumbnail-CypqI0QE.js → ChatPdfThumbnail-CaG1phtP.js} +1 -1
- package/dist/{DocumentToolbar-B8_6iPrh.js → DocumentToolbar-DxRPtnyk.js} +2 -2
- package/dist/{DocxViewer-DwqUv3Fq.js → DocxViewer-B_wA8l77.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BAQJEu-V.js → F0AiProcessingOverlay-C0NmG1vV.js} +1396 -1579
- package/dist/{F0CanvasPanel-CLVPKEOJ.js → F0CanvasPanel-BStowVw4.js} +556 -554
- package/dist/F0VideoPlayer-BWRlLaGW.js +1418 -0
- package/dist/{SheetViewer-CC309Vre.js → SheetViewer-BioSNqUs.js} +2 -2
- package/dist/{TextViewer-D8Y1PtfH.js → TextViewer-BtNnw0eP.js} +2 -2
- package/dist/VolumeMuted-XL3dwOL-.js +189 -0
- package/dist/ai.d.ts +6 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +6 -6
- package/dist/experimental.d.ts +207 -39
- package/dist/experimental.js +7483 -6477
- package/dist/f0.d.ts +18 -1
- package/dist/f0.js +16320 -17708
- package/dist/i18n-provider-defaults.d.ts +6 -0
- package/dist/i18n-provider-defaults.js +7 -1
- package/dist/{index-QK0B0PyF.js → index-BZPUbw4M.js} +7135 -7100
- package/dist/{index-Dv0mMX6Q.js → index-Cql9uxeA.js} +4 -4
- package/dist/index-D_vSP4tQ.js +4 -0
- package/dist/{pdfWorker-1ntTXPy9.js → pdfWorker-CMiWD9U2.js} +3 -3
- package/dist/styles.css +1 -1
- package/dist/{tooltip-DTpaXpXW.js → tooltip-Cik7KBQT.js} +2 -2
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -5012,7 +5012,9 @@ export declare const defaultTranslations: {
|
|
|
5012
5012
|
readonly cancelRecording: "Cancel recording";
|
|
5013
5013
|
readonly dropFilesHere: "Drop your files here";
|
|
5014
5014
|
readonly removeFile: "Remove";
|
|
5015
|
+
readonly removeNamedFile: "Remove {{name}}";
|
|
5015
5016
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
5017
|
+
readonly fileTooLargeError: "Each file must be {{maxFileSize}} or smaller";
|
|
5016
5018
|
readonly fileUploadError: "Upload failed";
|
|
5017
5019
|
readonly micPermissionDenied: "Microphone access is blocked. Allow it in your browser settings to dictate.";
|
|
5018
5020
|
readonly micError: "Couldn't access the microphone.";
|
|
@@ -5048,6 +5050,7 @@ export declare const defaultTranslations: {
|
|
|
5048
5050
|
readonly reply: "Reply";
|
|
5049
5051
|
readonly react: "Add reaction";
|
|
5050
5052
|
readonly download: "Download";
|
|
5053
|
+
readonly downloadNamedFile: "Download {{name}}";
|
|
5051
5054
|
readonly removeQuote: "Remove quote";
|
|
5052
5055
|
readonly edit: "Edit";
|
|
5053
5056
|
readonly editing: "Editing";
|
|
@@ -5061,7 +5064,10 @@ export declare const defaultTranslations: {
|
|
|
5061
5064
|
readonly previousImage: "Previous image";
|
|
5062
5065
|
readonly nextImage: "Next image";
|
|
5063
5066
|
readonly openDocument: "Open document";
|
|
5067
|
+
readonly openNamedDocument: "Open {{name}}";
|
|
5064
5068
|
readonly documentPreview: "Document preview";
|
|
5069
|
+
readonly videoPlayerLabel: "Video player: {{name}}";
|
|
5070
|
+
readonly loadingVideo: "Loading video: {{name}}";
|
|
5065
5071
|
readonly photo: "Photo";
|
|
5066
5072
|
readonly photoCount: {
|
|
5067
5073
|
readonly one: "{{count}} photo";
|
|
@@ -12069,9 +12075,11 @@ export declare const F0VideoPlayer: WithDataTestIdReturnType_3<typeof F0VideoPla
|
|
|
12069
12075
|
* useRestrictForwardSeek → blocks seeking past the furthest-watched point.
|
|
12070
12076
|
* <Controls> → presentation only; interactions delegated back here.
|
|
12071
12077
|
*/
|
|
12072
|
-
declare function F0VideoPlayerInternal({ src, poster, silent, persistControls, content, defaultLanguage, autoPlay, autoFocus, restrictForwardSeek, onTrackAction, onMilestone, onComplete, ...dataAttributes }: F0VideoPlayerProps): JSX_2.Element;
|
|
12078
|
+
declare function F0VideoPlayerInternal({ src, poster, ariaLabel, silent, persistControls, content, defaultLanguage, autoPlay, autoFocus, download, restrictForwardSeek, onTrackAction, onMilestone, onComplete, ...dataAttributes }: F0VideoPlayerProps): JSX_2.Element;
|
|
12073
12079
|
|
|
12074
12080
|
export declare interface F0VideoPlayerProps extends DataAttributes_2 {
|
|
12081
|
+
/** Accessible name for this player region. Defaults to "Video player". */
|
|
12082
|
+
ariaLabel?: string;
|
|
12075
12083
|
/**
|
|
12076
12084
|
* Video source URL. Localizable — pass a per-locale list of dubbed renditions
|
|
12077
12085
|
* to offer selectable audio languages; an "Audio" selector then appears,
|
|
@@ -12121,6 +12129,15 @@ export declare interface F0VideoPlayerProps extends DataAttributes_2 {
|
|
|
12121
12129
|
autoPlay?: boolean;
|
|
12122
12130
|
/** Focus the player on mount so keyboard shortcuts work immediately. Default `false`. */
|
|
12123
12131
|
autoFocus?: boolean;
|
|
12132
|
+
/**
|
|
12133
|
+
* Optional download action rendered inside the player controls. Native media
|
|
12134
|
+
* downloads remain disabled, so embedded surfaces that allow saving the
|
|
12135
|
+
* source can expose an explicit, keyboard-accessible action here.
|
|
12136
|
+
*/
|
|
12137
|
+
download?: {
|
|
12138
|
+
label: string;
|
|
12139
|
+
onClick: () => void;
|
|
12140
|
+
};
|
|
12124
12141
|
/**
|
|
12125
12142
|
* Prevent seeking past the furthest point already watched. Renders a marker at
|
|
12126
12143
|
* that position and blocks the cursor beyond it. Default `false`.
|