@factorialco/f0-react 8.18.0 → 8.20.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-D-TgkXMH.js → ChatPdfThumbnail-QQ-DIFjX.js} +1 -1
- package/dist/{ChatPostComposerDialog-C8-RBOnX.js → ChatPostComposerDialog-C0BSdIEf.js} +3 -3
- package/dist/{DocumentToolbar-CpMk_F7T.js → DocumentToolbar-CLOwkjWF.js} +2 -2
- package/dist/{DocxViewer-CvntAgom.js → DocxViewer-xQ1VGshu.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CF4m9csf.js → F0AiProcessingOverlay-ChuNuaON.js} +1 -1
- package/dist/{F0CanvasPanel-CqwBZSlw.js → F0CanvasPanel-BEQLTZPB.js} +14912 -14887
- package/dist/{F0Map-C5UXm_VK.js → F0Map-DCamR9ck.js} +322 -319
- package/dist/{F0VideoPlayer-CBMKm5dv.js → F0VideoPlayer-BquSWbzr.js} +2 -2
- package/dist/{MapProvider-DmI6CflB.js → MapProvider-84Qqrrlq.js} +2 -2
- package/dist/{SheetViewer-DyGSlsxQ.js → SheetViewer-RF8QUteM.js} +2 -2
- package/dist/{TextViewer-CKdQssq1.js → TextViewer-BfSoMHHy.js} +2 -2
- package/dist/ai.d.ts +6 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{experimental-C4TKuEK6.js → experimental-B6T-a60d.js} +5750 -5453
- package/dist/experimental.d.ts +48 -3
- package/dist/experimental.js +277 -275
- package/dist/f0.d.ts +6 -0
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +4 -0
- package/dist/i18n-provider-defaults.js +4 -0
- package/dist/index-C3RxAkcX.js +4 -0
- package/dist/{index-Ds_Xacqs.js → index-CE0LkHWA.js} +2 -2
- package/dist/{index-CbSQyCbB.js → index-CnQnZEqH.js} +3 -3
- package/dist/{index-QrmVaDiy.js → index-DbwzNe2F.js} +1 -1
- package/dist/{index-DsFMCrrD.js → index-GMXyKXCE.js} +3 -3
- package/dist/{pdfWorker-ttDTEYqK.js → pdfWorker-CdLQgVnT.js} +2 -2
- package/dist/styles.css +1 -1
- package/icons/modules/Marketplace.js +1 -1
- package/icons/modules/Megaphone.d.ts +4 -0
- package/icons/modules/Megaphone.d.ts.map +1 -0
- package/icons/modules/Megaphone.js +5 -0
- package/icons/modules/index.d.ts +1 -0
- package/icons/modules/index.d.ts.map +1 -1
- package/icons/modules/index.js +1 -0
- package/package.json +2 -2
- package/dist/index-D_-y6ome.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -46,6 +46,9 @@ import { F0EmojiPickerProps as F0EmojiPickerProps_2 } from './types';
|
|
|
46
46
|
import { F0ENPSButtonProps as F0ENPSButtonProps_2 } from './types';
|
|
47
47
|
import { F0LocationInputProps as F0LocationInputProps_2 } from './types';
|
|
48
48
|
import { F0PhoneInputProps as F0PhoneInputProps_2 } from './types';
|
|
49
|
+
import { F0ResizableHandleProps as F0ResizableHandleProps_2 } from './types';
|
|
50
|
+
import { F0ResizablePanelProps as F0ResizablePanelProps_2 } from './types';
|
|
51
|
+
import { F0ResizableProps as F0ResizableProps_2 } from './types';
|
|
49
52
|
import { F0SegmentedControlProps as F0SegmentedControlProps_2 } from './types';
|
|
50
53
|
import { F0SelectProps as F0SelectProps_2 } from './types';
|
|
51
54
|
import { F0TagBalanceProps as F0TagBalanceProps_2 } from './types';
|
|
@@ -131,6 +134,7 @@ import { VerticalBarChartProps } from './experimental';
|
|
|
131
134
|
import { VirtualItem } from '@tanstack/react-virtual';
|
|
132
135
|
import { WidgetProps as WidgetProps_2 } from './experimental';
|
|
133
136
|
import { WithDataTestIdProps as WithDataTestIdProps_2 } from './experimental';
|
|
137
|
+
import { WithDataTestIdProps as WithDataTestIdProps_3 } from './experimental';
|
|
134
138
|
import { WithDataTestIdReturnType } from './experimental';
|
|
135
139
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from './experimental';
|
|
136
140
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from './experimental';
|
|
@@ -4346,8 +4350,9 @@ export declare type CompanySelectorProps = {
|
|
|
4346
4350
|
/**
|
|
4347
4351
|
* `"compact"` is the logo alone — no name, no chevron — for the module rail,
|
|
4348
4352
|
* where the name has nowhere to go. It is the same select underneath: the
|
|
4349
|
-
* company list
|
|
4350
|
-
* the
|
|
4353
|
+
* company list and switch are shared. The compact menu remains available
|
|
4354
|
+
* when the floating panel hides; the full menu closes with its panel.
|
|
4355
|
+
* The name reaches assistive tech through the trigger's `aria-label`.
|
|
4351
4356
|
*/
|
|
4352
4357
|
variant?: "default" | "compact";
|
|
4353
4358
|
};
|
|
@@ -6620,6 +6625,10 @@ declare const defaultTranslations: {
|
|
|
6620
6625
|
readonly recommended: "Recommended";
|
|
6621
6626
|
readonly cannotMoveHere: "You can't move a widget here — {{title}} is locked.";
|
|
6622
6627
|
};
|
|
6628
|
+
readonly resizable: {
|
|
6629
|
+
readonly resize: "Resize panels";
|
|
6630
|
+
readonly size: "{{size}} percent";
|
|
6631
|
+
};
|
|
6623
6632
|
readonly pdfViewer: {
|
|
6624
6633
|
readonly toolbar: "Document toolbar";
|
|
6625
6634
|
readonly previousPage: "Previous page";
|
|
@@ -6909,6 +6918,8 @@ declare type DropdownInternalProps = {
|
|
|
6909
6918
|
size?: F0ButtonProps["size"];
|
|
6910
6919
|
children?: default_2.ReactNode;
|
|
6911
6920
|
align?: "start" | "end" | "center";
|
|
6921
|
+
alignOffset?: number;
|
|
6922
|
+
disableExitAnimation?: boolean;
|
|
6912
6923
|
open?: boolean;
|
|
6913
6924
|
onOpenChange?: (open: boolean) => void;
|
|
6914
6925
|
label?: string;
|
|
@@ -11934,6 +11945,33 @@ export declare type F0Rect = {
|
|
|
11934
11945
|
height: number;
|
|
11935
11946
|
};
|
|
11936
11947
|
|
|
11948
|
+
export declare const F0Resizable: ForwardRefExoticComponent<F0ResizableProps_2 & WithDataTestIdProps_3 & RefAttributes<unknown>> & Pick<({ direction, children, }: F0ResizableProps_2) => JSX_2.Element, never> & {
|
|
11949
|
+
Panel: {
|
|
11950
|
+
(_props: F0ResizablePanelProps_2): never;
|
|
11951
|
+
displayName: string;
|
|
11952
|
+
};
|
|
11953
|
+
Handle: {
|
|
11954
|
+
(_props: F0ResizableHandleProps_2): never;
|
|
11955
|
+
displayName: string;
|
|
11956
|
+
};
|
|
11957
|
+
};
|
|
11958
|
+
|
|
11959
|
+
export declare type F0ResizableHandleProps = {
|
|
11960
|
+
ariaLabel?: string;
|
|
11961
|
+
};
|
|
11962
|
+
|
|
11963
|
+
export declare type F0ResizablePanelProps = {
|
|
11964
|
+
children: ReactNode;
|
|
11965
|
+
defaultSize?: number;
|
|
11966
|
+
minSize?: number;
|
|
11967
|
+
maxSize?: number;
|
|
11968
|
+
};
|
|
11969
|
+
|
|
11970
|
+
export declare type F0ResizableProps = {
|
|
11971
|
+
direction?: ResizableDirection;
|
|
11972
|
+
children: ReactNode;
|
|
11973
|
+
};
|
|
11974
|
+
|
|
11937
11975
|
/**
|
|
11938
11976
|
* Header for a resource detail page: avatar, title, description, status,
|
|
11939
11977
|
* metadata and its primary, secondary and overflow actions.
|
|
@@ -12862,6 +12900,7 @@ declare interface FrameContextType {
|
|
|
12862
12900
|
toggleSidebar: (callData?: {
|
|
12863
12901
|
isInvokedByUser: boolean;
|
|
12864
12902
|
}) => void;
|
|
12903
|
+
hideSidebar: () => void;
|
|
12865
12904
|
setForceFloat: (force: boolean) => void;
|
|
12866
12905
|
/**
|
|
12867
12906
|
* How much room the permanent module rail takes, or 0 when the sidebar has
|
|
@@ -15405,6 +15444,7 @@ export declare const modules: {
|
|
|
15405
15444
|
readonly kudos: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15406
15445
|
readonly lms: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15407
15446
|
readonly meetings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15447
|
+
readonly marketplace: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15408
15448
|
readonly my_benefits: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15409
15449
|
readonly my_documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15410
15450
|
readonly my_projects: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
@@ -15436,6 +15476,7 @@ export declare const modules: {
|
|
|
15436
15476
|
readonly "time-tracking": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15437
15477
|
readonly timeoff: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15438
15478
|
readonly workflows: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15479
|
+
readonly whats_new: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
15439
15480
|
};
|
|
15440
15481
|
|
|
15441
15482
|
export declare type NavigationFilter<T, InitialValue = T> = {
|
|
@@ -16864,7 +16905,7 @@ declare const privateProps_3: readonly ["buttonToggle", "variant", "editing", "o
|
|
|
16864
16905
|
|
|
16865
16906
|
declare const privateProps_4: readonly ["forceVerticalMetadata", "disableOverlayLink"];
|
|
16866
16907
|
|
|
16867
|
-
declare const privateProps_5: readonly [];
|
|
16908
|
+
declare const privateProps_5: readonly ["alignOffset", "disableExitAnimation"];
|
|
16868
16909
|
|
|
16869
16910
|
declare const privateProps_6: readonly ["compact"];
|
|
16870
16911
|
|
|
@@ -17298,6 +17339,10 @@ declare type RequisitionProfile = {
|
|
|
17298
17339
|
};
|
|
17299
17340
|
};
|
|
17300
17341
|
|
|
17342
|
+
export declare type ResizableDirection = (typeof resizableDirections)[number];
|
|
17343
|
+
|
|
17344
|
+
export declare const resizableDirections: readonly ["horizontal", "vertical"];
|
|
17345
|
+
|
|
17301
17346
|
/**
|
|
17302
17347
|
* Decides which tile is spotlighted. Pure, so every branch is a unit test.
|
|
17303
17348
|
*
|