@factorialco/f0-react 8.13.1 → 8.14.1
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-CfBQgTmG.js → ChatPdfThumbnail-CsiuO9oP.js} +1 -1
- package/dist/{ChatPostComposerDialog-j3WkMYEM.js → ChatPostComposerDialog-BfM7WCc-.js} +3 -3
- package/dist/{DocumentToolbar-DoxbkZ0Q.js → DocumentToolbar-CcD4C-Jg.js} +2 -2
- package/dist/{DocxViewer-hDyColTJ.js → DocxViewer-CGS53Aqk.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CdARCdjY.js → F0AiProcessingOverlay-C8BRJj9F.js} +1 -1
- package/dist/{F0CanvasPanel-DNldfGAD.js → F0CanvasPanel-CqHQYY7O.js} +87 -32
- package/dist/{F0Map-BP47bCIe.js → F0Map-JM3oeRpm.js} +4 -4
- package/dist/{F0VideoPlayer-BQPQelhy.js → F0VideoPlayer-DL82tE4N.js} +2 -2
- package/dist/{MapProvider-C5LLBpRM.js → MapProvider-DQ09_kIy.js} +2 -2
- package/dist/{SheetViewer-BBfhFgoj.js → SheetViewer-D6KrcSU1.js} +2 -2
- package/dist/{TextViewer-C7jS2ujf.js → TextViewer-BBgoHN09.js} +2 -2
- package/dist/ai.d.ts +19 -19
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +19 -19
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BreZtWX2.js → experimental-Biuwhl4k.js} +3700 -3598
- package/dist/experimental.d.ts +70 -19
- package/dist/experimental.js +286 -283
- package/dist/f0.d.ts +19 -19
- package/dist/f0.js +750 -753
- package/dist/i18n-provider-defaults.d.ts +19 -19
- package/dist/{index-Dg4X2EGu.js → index-C0iQVTCw.js} +3 -3
- package/dist/{index-B1XOetyW.js → index-CP96ooCt.js} +2 -2
- package/dist/{index-69C6iS9a.js → index-CVZ_U0_h.js} +3 -3
- package/dist/index-DWleZhT1.js +4 -0
- package/dist/{index-Cditp0m4.js → index-N4xGSF1m.js} +1 -1
- package/dist/{pdfWorker-BI-9lR39.js → pdfWorker-Be2sPFEm.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/dist/index-De5im5x0.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -4364,6 +4364,33 @@ declare type CompareToDef = {
|
|
|
4364
4364
|
|
|
4365
4365
|
declare type CompareToDefKey = string;
|
|
4366
4366
|
|
|
4367
|
+
export declare interface ConfettiOptions {
|
|
4368
|
+
preset?: ConfettiPreset;
|
|
4369
|
+
/**
|
|
4370
|
+
* Hex colours. `canvas-confetti` parses these with its own hex reader, so
|
|
4371
|
+
* design tokens and `hsl()` strings are silently mangled.
|
|
4372
|
+
*/
|
|
4373
|
+
colors?: string[];
|
|
4374
|
+
particleCount?: number;
|
|
4375
|
+
spread?: number;
|
|
4376
|
+
/** Burst only: rain always falls from a random point along the top edge. */
|
|
4377
|
+
origin?: {
|
|
4378
|
+
x?: number;
|
|
4379
|
+
y?: number;
|
|
4380
|
+
};
|
|
4381
|
+
/** Rain only: how long the fall lasts, in milliseconds. */
|
|
4382
|
+
duration?: number;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
/**
|
|
4386
|
+
* `canvas-confetti` reads colours as hex and nothing else, so the design tokens
|
|
4387
|
+
* cannot reach the canvas. These are the paper colours from the celebration
|
|
4388
|
+
* design; pass `colors` to override them.
|
|
4389
|
+
*/
|
|
4390
|
+
export declare const confettiPalette: string[];
|
|
4391
|
+
|
|
4392
|
+
export declare type ConfettiPreset = "burst" | "rain";
|
|
4393
|
+
|
|
4367
4394
|
/**
|
|
4368
4395
|
* @experimental This is an experimental component use it at your own risk
|
|
4369
4396
|
*/
|
|
@@ -9814,6 +9841,25 @@ export declare interface F0CommunityPostsCarouselProps {
|
|
|
9814
9841
|
pagination?: CarouselPaging;
|
|
9815
9842
|
}
|
|
9816
9843
|
|
|
9844
|
+
/**
|
|
9845
|
+
* @experimental This is an experimental component, use it at your own risk.
|
|
9846
|
+
*/
|
|
9847
|
+
export declare const F0Confetti: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0ConfettiProps & RefAttributes<F0ConfettiHandle>>>;
|
|
9848
|
+
|
|
9849
|
+
export declare interface F0ConfettiHandle {
|
|
9850
|
+
fire: (options?: ConfettiOptions) => void;
|
|
9851
|
+
reset: () => void;
|
|
9852
|
+
}
|
|
9853
|
+
|
|
9854
|
+
export declare interface F0ConfettiProps extends WithDataTestIdProps {
|
|
9855
|
+
/** `container` fills the nearest positioned ancestor, `viewport` the screen. */
|
|
9856
|
+
layer?: "container" | "viewport";
|
|
9857
|
+
/** Fires once when the canvas mounts, never again on re-render. */
|
|
9858
|
+
fireOnMount?: boolean;
|
|
9859
|
+
/** Defaults for the mount burst and for `fire()` calls; `fire(options)` overrides them. */
|
|
9860
|
+
options?: ConfettiOptions;
|
|
9861
|
+
}
|
|
9862
|
+
|
|
9817
9863
|
declare type F0DialogActionItem = {
|
|
9818
9864
|
value: string;
|
|
9819
9865
|
label: string;
|
|
@@ -19474,6 +19520,11 @@ export declare function useCompactOnScroll({ threshold,
|
|
|
19474
19520
|
container: React.RefObject<HTMLElement | null>;
|
|
19475
19521
|
}): boolean;
|
|
19476
19522
|
|
|
19523
|
+
export declare const useConfetti: (canvasRef: RefObject<HTMLCanvasElement | null>) => {
|
|
19524
|
+
fire: (options?: ConfettiOptions) => void;
|
|
19525
|
+
reset: () => void;
|
|
19526
|
+
};
|
|
19527
|
+
|
|
19477
19528
|
export declare type UseDataCollectionData<R extends RecordType> = UseDataCollectionDataReturn<R> & {
|
|
19478
19529
|
summaries?: R;
|
|
19479
19530
|
};
|
|
@@ -20823,11 +20874,9 @@ declare namespace Calendar {
|
|
|
20823
20874
|
|
|
20824
20875
|
declare module "@tiptap/core" {
|
|
20825
20876
|
interface Commands<ReturnType> {
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
}) => ReturnType;
|
|
20830
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
20877
|
+
aiBlock: {
|
|
20878
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
20879
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
20831
20880
|
};
|
|
20832
20881
|
}
|
|
20833
20882
|
}
|
|
@@ -20835,9 +20884,11 @@ declare module "@tiptap/core" {
|
|
|
20835
20884
|
|
|
20836
20885
|
declare module "@tiptap/core" {
|
|
20837
20886
|
interface Commands<ReturnType> {
|
|
20838
|
-
|
|
20839
|
-
|
|
20840
|
-
|
|
20887
|
+
enhanceHighlight: {
|
|
20888
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
20889
|
+
placeholder?: string;
|
|
20890
|
+
}) => ReturnType;
|
|
20891
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
20841
20892
|
};
|
|
20842
20893
|
}
|
|
20843
20894
|
}
|
|
@@ -20845,9 +20896,8 @@ declare module "@tiptap/core" {
|
|
|
20845
20896
|
|
|
20846
20897
|
declare module "@tiptap/core" {
|
|
20847
20898
|
interface Commands<ReturnType> {
|
|
20848
|
-
|
|
20849
|
-
|
|
20850
|
-
unsetFontSize: () => ReturnType;
|
|
20899
|
+
moodTracker: {
|
|
20900
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
20851
20901
|
};
|
|
20852
20902
|
}
|
|
20853
20903
|
}
|
|
@@ -20866,8 +20916,9 @@ declare module "@tiptap/core" {
|
|
|
20866
20916
|
|
|
20867
20917
|
declare module "@tiptap/core" {
|
|
20868
20918
|
interface Commands<ReturnType> {
|
|
20869
|
-
|
|
20870
|
-
|
|
20919
|
+
fontSize: {
|
|
20920
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
20921
|
+
unsetFontSize: () => ReturnType;
|
|
20871
20922
|
};
|
|
20872
20923
|
}
|
|
20873
20924
|
}
|
|
@@ -20875,8 +20926,10 @@ declare module "@tiptap/core" {
|
|
|
20875
20926
|
|
|
20876
20927
|
declare module "@tiptap/core" {
|
|
20877
20928
|
interface Commands<ReturnType> {
|
|
20878
|
-
|
|
20879
|
-
|
|
20929
|
+
videoEmbed: {
|
|
20930
|
+
setVideoEmbed: (options: {
|
|
20931
|
+
src: string;
|
|
20932
|
+
}) => ReturnType;
|
|
20880
20933
|
};
|
|
20881
20934
|
}
|
|
20882
20935
|
}
|
|
@@ -20884,10 +20937,8 @@ declare module "@tiptap/core" {
|
|
|
20884
20937
|
|
|
20885
20938
|
declare module "@tiptap/core" {
|
|
20886
20939
|
interface Commands<ReturnType> {
|
|
20887
|
-
|
|
20888
|
-
|
|
20889
|
-
src: string;
|
|
20890
|
-
}) => ReturnType;
|
|
20940
|
+
transcript: {
|
|
20941
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
20891
20942
|
};
|
|
20892
20943
|
}
|
|
20893
20944
|
}
|