@factorialco/f0-react 4.4.1 → 4.5.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/{F0CanvasPanel-QUIIThsf.js → F0CanvasPanel-BiW5s0PT.js} +528 -529
- package/dist/ai.d.ts +9 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +23 -6
- package/dist/experimental.js +963 -927
- package/dist/f0.d.ts +43 -6
- package/dist/f0.js +4985 -4920
- package/dist/i18n-provider-defaults.d.ts +9 -6
- package/dist/i18n-provider-defaults.js +4 -1
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-D212C-fT.js → useChatHistory-BgraXtVf.js} +1 -1
- package/dist/{useDataCollectionSource-Q4blWhWZ.js → useDataCollectionSource-DwS_R8Ua.js} +83 -83
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1174,6 +1174,15 @@ export declare interface AudioPlayerControls extends AudioPlayerState {
|
|
|
1174
1174
|
setPlaybackRate: (rate: number) => void;
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
|
+
export declare interface AudioPlayerDetailTab {
|
|
1178
|
+
/** Stable value used to identify the tab. */
|
|
1179
|
+
value: string;
|
|
1180
|
+
/** Visible (already translated) tab label, e.g. "Summary". */
|
|
1181
|
+
label: string;
|
|
1182
|
+
/** Tab panel content, rendered inside a scrollable area. */
|
|
1183
|
+
content: ReactNode;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1177
1186
|
export declare interface AudioPlayerMenuAction {
|
|
1178
1187
|
label: string;
|
|
1179
1188
|
icon?: IconType;
|
|
@@ -4363,6 +4372,9 @@ export declare const defaultTranslations: {
|
|
|
4363
4372
|
readonly options: "Recording options";
|
|
4364
4373
|
readonly playbackSpeed: "Playback speed";
|
|
4365
4374
|
readonly position: "{{current}} of {{total}}";
|
|
4375
|
+
readonly viewDetail: "View detail";
|
|
4376
|
+
readonly hideDetail: "Hide detail";
|
|
4377
|
+
readonly details: "Recording details";
|
|
4366
4378
|
};
|
|
4367
4379
|
readonly actions: {
|
|
4368
4380
|
readonly add: "Add";
|
|
@@ -6625,6 +6637,31 @@ export declare interface F0AudioPlayerCardProps extends F0AudioPlayerProps {
|
|
|
6625
6637
|
* is always rendered by the card.
|
|
6626
6638
|
*/
|
|
6627
6639
|
actions?: AudioPlayerMenuAction[];
|
|
6640
|
+
/**
|
|
6641
|
+
* Tabbed detail content revealed by a "View detail" toggle in the header
|
|
6642
|
+
* (e.g. a Summary and a Transcript tab). When omitted or empty, no toggle and
|
|
6643
|
+
* no panel are rendered and the card behaves like a plain recording player.
|
|
6644
|
+
*/
|
|
6645
|
+
details?: AudioPlayerDetailTab[];
|
|
6646
|
+
/**
|
|
6647
|
+
* Controlled expanded state of the detail panel. Pair with
|
|
6648
|
+
* `onExpandedChange`.
|
|
6649
|
+
*/
|
|
6650
|
+
expanded?: boolean;
|
|
6651
|
+
/**
|
|
6652
|
+
* Initial expanded state of the detail panel when uncontrolled.
|
|
6653
|
+
* @default false
|
|
6654
|
+
*/
|
|
6655
|
+
defaultExpanded?: boolean;
|
|
6656
|
+
/**
|
|
6657
|
+
* Fired when the detail panel expands or collapses.
|
|
6658
|
+
*/
|
|
6659
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
6660
|
+
/**
|
|
6661
|
+
* Max height (in pixels) of the scrollable detail area before it scrolls.
|
|
6662
|
+
* @default 200
|
|
6663
|
+
*/
|
|
6664
|
+
detailsMaxHeight?: number;
|
|
6628
6665
|
}
|
|
6629
6666
|
|
|
6630
6667
|
export declare interface F0AudioPlayerProps extends WithDataTestIdProps, DataAttributes_2 {
|
|
@@ -17155,8 +17192,10 @@ declare module "@tiptap/core" {
|
|
|
17155
17192
|
|
|
17156
17193
|
declare module "@tiptap/core" {
|
|
17157
17194
|
interface Commands<ReturnType> {
|
|
17158
|
-
|
|
17159
|
-
|
|
17195
|
+
videoEmbed: {
|
|
17196
|
+
setVideoEmbed: (options: {
|
|
17197
|
+
src: string;
|
|
17198
|
+
}) => ReturnType;
|
|
17160
17199
|
};
|
|
17161
17200
|
}
|
|
17162
17201
|
}
|
|
@@ -17164,10 +17203,8 @@ declare module "@tiptap/core" {
|
|
|
17164
17203
|
|
|
17165
17204
|
declare module "@tiptap/core" {
|
|
17166
17205
|
interface Commands<ReturnType> {
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
src: string;
|
|
17170
|
-
}) => ReturnType;
|
|
17206
|
+
transcript: {
|
|
17207
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
17171
17208
|
};
|
|
17172
17209
|
}
|
|
17173
17210
|
}
|