@factorialco/f0-react 4.45.0 → 4.46.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/ChatDocxThumbnail-B3DMs45n.js +48 -0
- package/dist/ChatPdfThumbnail-BFbYv0sb.js +38 -0
- package/dist/ChatSheetThumbnail-BvnxT-4A.js +38 -0
- package/dist/ChatTextThumbnail-yVt_iYi7.js +33 -0
- package/dist/{DocumentToolbar-CW3DaM_j.js → DocumentToolbar-BLcBoeNU.js} +5 -5
- package/dist/DocxViewer-C0K6oFym.js +68 -0
- package/dist/{F0AiProcessingOverlay-rViVqtAb.js → F0AiProcessingOverlay-BZka5wSN.js} +713 -761
- package/dist/{F0CanvasPanel-VGTPb68G.js → F0CanvasPanel-BDwye32b.js} +10679 -10600
- package/dist/{LocationMap-CdKO0X5V.js → LocationMap-NloaE37G.js} +1 -1
- package/dist/Printer-B7iDPx2r.js +54 -0
- package/dist/SheetViewer-1AsPdzFt.js +108 -0
- package/dist/{TextViewer-DXDZcvag.js → TextViewer-Ba0xZQdy.js} +2 -2
- package/dist/_commonjs-dynamic-modules-BpilXLfW.js +6 -0
- package/dist/ai.d.ts +30 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{DocxViewer-Dpj4i6ig.js → docx-preview-CSg41tKY.js} +971 -1034
- package/dist/experimental.d.ts +20 -3
- package/dist/experimental.js +10210 -6404
- package/dist/f0.css +1 -1
- package/dist/f0.d.ts +30 -1
- package/dist/f0.js +65853 -299
- package/dist/{index-CNi_8WQC.js → index-3x-af82e.js} +92 -92
- package/dist/index-BuP079h-.js +545 -0
- package/dist/index.css +1 -1
- package/dist/index2.css +1 -0
- package/dist/pdfWorker-XwYoO_oV.js +13118 -0
- package/dist/pdfWorker.css +1 -0
- package/dist/sheetPreview-5qeAOp0W.js +35 -0
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/tailwind.config.ts +8 -0
- package/dist/SheetViewer-huUU5vFM.js +0 -137
- package/dist/f0-C3TJ0moH.js +0 -79279
package/dist/experimental.d.ts
CHANGED
|
@@ -518,6 +518,15 @@ declare type AiChatProviderProps = {
|
|
|
518
518
|
* @default "right"
|
|
519
519
|
*/
|
|
520
520
|
side?: "left" | "right";
|
|
521
|
+
/**
|
|
522
|
+
* Edge hosted side-panel content (`setPanelContent`) docks to. Defaults to
|
|
523
|
+
* `side`, keeping everything in one panel. Set it to the opposite edge to
|
|
524
|
+
* split them — e.g. communications: conversations dock left while the AI
|
|
525
|
+
* chat keeps its right-side panel and toggle. The two are still exclusive
|
|
526
|
+
* (opening one swaps the other out); only the main content moves during
|
|
527
|
+
* the swap, uncovering the incoming panel in place.
|
|
528
|
+
*/
|
|
529
|
+
panelContentSide?: "left" | "right";
|
|
521
530
|
/**
|
|
522
531
|
* Greeting phrase(s) shown by the welcome screen when the chat is empty.
|
|
523
532
|
* A single string renders once; an array rotates through phrases. Purely
|
|
@@ -9694,18 +9703,26 @@ export declare type SidebarTabPanelProps = {
|
|
|
9694
9703
|
|
|
9695
9704
|
/**
|
|
9696
9705
|
* Tab switcher that replaces the `SearchBar` row when the Sidebar gains tabs.
|
|
9697
|
-
* The active tab shows icon + label (animated in); inactive tabs
|
|
9698
|
-
*
|
|
9706
|
+
* The active tab always shows icon + label (animated in); inactive tabs show
|
|
9707
|
+
* theirs too when every label fits in the row, and fall back to icon-only
|
|
9708
|
+
* when space is tight. Search becomes an icon button on the right.
|
|
9699
9709
|
*
|
|
9700
9710
|
* When no tabs are needed, keep composing the Sidebar header with `SearchBar`
|
|
9701
9711
|
* instead — that path is unchanged.
|
|
9702
9712
|
*/
|
|
9703
|
-
export declare const SidebarTabs: ({ tabs, activeTab, onTabChange, }: SidebarTabsProps) => JSX_2.Element;
|
|
9713
|
+
export declare const SidebarTabs: ({ tabs, activeTab, onTabChange, persistKey, }: SidebarTabsProps) => JSX_2.Element;
|
|
9704
9714
|
|
|
9705
9715
|
export declare type SidebarTabsProps = {
|
|
9706
9716
|
tabs: SidebarTab[];
|
|
9707
9717
|
activeTab: string;
|
|
9708
9718
|
onTabChange: (id: string) => void;
|
|
9719
|
+
/**
|
|
9720
|
+
* Remember the active tab across reloads under this key (namespaced as
|
|
9721
|
+
* `f0-sidebar-tab:<persistKey>` in localStorage). On mount, a stored tab
|
|
9722
|
+
* that still exists in `tabs` is restored via `onTabChange`; unknown ids
|
|
9723
|
+
* (e.g. a tab that no longer ships) are ignored. Omit for session-only tabs.
|
|
9724
|
+
*/
|
|
9725
|
+
persistKey?: string;
|
|
9709
9726
|
};
|
|
9710
9727
|
|
|
9711
9728
|
/**
|