@factorialco/f0-react 12.19.0 → 12.21.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/{ArchiveThumbnail-C6VAmA8m.js → ArchiveThumbnail-DjGqm8M-.js} +1 -1
- package/dist/{ArchiveViewer-BazW1aiB.js → ArchiveViewer-BJJfbi_U.js} +2 -2
- package/dist/{ChatPostComposerDialog-B0y-__Ze.js → ChatPostComposerDialog-_EwTp6mL.js} +2 -2
- package/dist/{CoachmarkProvider-DLRXLziQ.js → CoachmarkProvider-Dp5MKO1j.js} +258 -246
- package/dist/{CodeThumbnail-CWieoY1L.js → CodeThumbnail-CPLxU3Ih.js} +1 -1
- package/dist/{CodeViewer-TxnjmBpq.js → CodeViewer-rQ7Em-Gy.js} +3 -3
- package/dist/{DocumentToolbar-DahGBwqk.js → DocumentToolbar-Ds1E9q0M.js} +1 -1
- package/dist/{DocxViewer-D0Y18q6_.js → DocxViewer-C0T0z8Vs.js} +1 -1
- package/dist/{F0AiProcessingOverlay-ohDfa0Py.js → F0AiProcessingOverlay-BFpxgMh2.js} +52 -52
- package/dist/{F0Alert-jXXSuKRF.js → F0Alert-Bjvtxn3H.js} +1 -1
- package/dist/F0AudioPlayer-0tGyuoCw.js +2 -0
- package/dist/{F0CanvasPanel-CnonRuvY.js → F0CanvasPanel-CKf9KGYf.js} +4552 -4546
- package/dist/{F0DocumentViewer-Dg4NWXCa.js → F0DocumentViewer-Db7Df7NG.js} +2 -2
- package/dist/{F0DocumentViewer-D7haXuNZ.js → F0DocumentViewer-keL5XY86.js} +1 -1
- package/dist/{F0Map-BDieutRV.js → F0Map-Bd3wEarQ.js} +3 -3
- package/dist/F0VideoPlayer-BRfsQaLa.js +1 -0
- package/dist/{F0VideoPlayer-qlCZpqK5.js → F0VideoPlayer-CNjhk2KG.js} +1 -1
- package/dist/{HtmlViewer-CcIgTEz4.js → HtmlViewer-DLFZ5Ssa.js} +3 -3
- package/dist/{Map-Bcgnkg1N.js → Map-BQ0v7igE.js} +3 -3
- package/dist/{PdfThumbnail-Bb_lyqOG.js → PdfThumbnail-COj6Xf_h.js} +1 -1
- package/dist/{PdfViewer-D6cxjRu6.js → PdfViewer-BFlZkPXF.js} +2 -2
- package/dist/{SheetViewer-BYBFxR76.js → SheetViewer-BiG8XWoD.js} +2 -2
- package/dist/{TextViewer-BnG61rah.js → TextViewer-d55mf95-.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +16 -16
- package/dist/experimental.d.ts +10 -9
- package/dist/experimental.js +22 -28
- package/dist/{exports-C7jMRUms.d.ts → exports-uEdbdS0t.d.ts} +32 -32
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +6 -6
- package/dist/{highlight-pN8V_hHA.js → highlight-Dsp6kNdi.js} +1 -1
- package/dist/{index-DhHqqZvu.d.ts → index-CeS2Wdhj.d.ts} +21 -21
- package/dist/{maplibre-BpImIhom.js → maplibre-KrZthfWQ.js} +1 -1
- package/dist/{pdfWorker-BnuMhHAU.js → pdfWorker-CWeWN68D.js} +1 -1
- package/dist/{types-zDD6DPqU.d.ts → types-DBBkQ3Ea.d.ts} +24 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-CH1sHdho.js +0 -2
- package/dist/F0VideoPlayer-BOMjuJ6J.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { z as clsx } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import { sa as invariant } from "./F0CanvasPanel-
|
|
3
|
+
import { sa as invariant } from "./F0CanvasPanel-CKf9KGYf.js";
|
|
4
4
|
import { t as dequal } from "./dist-Dt-cTb6D.js";
|
|
5
5
|
import { n as pdfWorkerOverride, r as registerPdfWorkerApplier } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
6
6
|
import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Aa as WithDataTestIdProps, Da as F0IconProps, Dn as ChartColorToken, Fn as CardAvatarVariant, Hi as AvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Ki as CompanyAvatarVariant, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Ma as WithDataTestIdReturnType, Oa as IconType, Qt as TagVariant, Ri as DataAttributes, Rt as CardImageFit, Sa as NewColor, Ta as DistributiveOmit$1, Un as DropdownInternalProps, Vi as AvatarAction, Wn as DropdownItem, Xi as PersonAvatarVariant, Yi as IconAvatarVariant, Zi as TeamAvatarVariant, _r as Variant, ba as ModuleId, er as F0ButtonProps, gr as StatusVariant, ia as CountryCode, yt as TranscribeFn, zt as CardImageSize } from "./index-
|
|
1
|
+
import { Aa as WithDataTestIdProps, Da as F0IconProps, Dn as ChartColorToken, Fn as CardAvatarVariant, Hi as AvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Ki as CompanyAvatarVariant, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Ma as WithDataTestIdReturnType, Oa as IconType, Qt as TagVariant, Ri as DataAttributes, Rt as CardImageFit, Sa as NewColor, Ta as DistributiveOmit$1, Un as DropdownInternalProps, Vi as AvatarAction, Wn as DropdownItem, Xi as PersonAvatarVariant, Yi as IconAvatarVariant, Zi as TeamAvatarVariant, _r as Variant, ba as ModuleId, er as F0ButtonProps, gr as StatusVariant, ia as CountryCode, yt as TranscribeFn, zt as CardImageSize } from "./index-CeS2Wdhj.js";
|
|
2
2
|
import { n as TranslationsType } from "./i18n-provider-defaults-DyPn8R7T.js";
|
|
3
3
|
import * as React$2 from "react";
|
|
4
4
|
import React$1, { AriaAttributes, AutoFill, CSSProperties, ComponentProps, ComponentType, Dispatch, FC, ForwardedRef, HTMLAttributes, HTMLInputTypeAttribute, ReactElement, ReactNode, Ref, RefAttributes, RefObject, TextareaHTMLAttributes } from "react";
|
|
@@ -3078,6 +3078,13 @@ type F0DialogSecondaryActionItem = F0DialogActionItem;
|
|
|
3078
3078
|
interface F0DialogActionsProps {
|
|
3079
3079
|
primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
|
|
3080
3080
|
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
3081
|
+
/**
|
|
3082
|
+
* Several secondary actions drawn as separate outline buttons, side by side
|
|
3083
|
+
* before the primary: for equals the reader chooses between at a glance
|
|
3084
|
+
* ("Approve all", "Reject all"), where a menu would hide all but one. For a
|
|
3085
|
+
* menu of choices, pass an array to `secondaryAction` instead.
|
|
3086
|
+
*/
|
|
3087
|
+
secondaryActions?: F0DialogSecondaryAction[];
|
|
3081
3088
|
}
|
|
3082
3089
|
type DialogControls = {
|
|
3083
3090
|
kind: "resource";
|
|
@@ -3196,6 +3203,13 @@ type F0DialogInternalProps = {
|
|
|
3196
3203
|
maxHeight?: DialogMaxHeight;
|
|
3197
3204
|
primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
|
|
3198
3205
|
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
3206
|
+
/**
|
|
3207
|
+
* Several secondary actions drawn as separate outline buttons, side by side
|
|
3208
|
+
* before the primary: for equals the reader chooses between at a glance
|
|
3209
|
+
* ("Approve all", "Reject all"), where a menu would hide all but one. For a
|
|
3210
|
+
* menu of choices, pass an array to `secondaryAction` instead.
|
|
3211
|
+
*/
|
|
3212
|
+
secondaryActions?: F0DialogSecondaryAction[];
|
|
3199
3213
|
title?: string;
|
|
3200
3214
|
description?: string;
|
|
3201
3215
|
module?: F0DialogHeaderProps["module"];
|
|
@@ -7120,6 +7134,15 @@ interface F0RichTextEditorProps {
|
|
|
7120
7134
|
title: string;
|
|
7121
7135
|
height?: heightType;
|
|
7122
7136
|
plainHtmlMode?: boolean;
|
|
7137
|
+
/**
|
|
7138
|
+
* Only offers formats Markdown can keep (no underline, alignment, colour,
|
|
7139
|
+
* font size, indentation, highlight, task lists or mentions). Any content
|
|
7140
|
+
* loaded into the editor (initial, pasted, set through the ref or returned
|
|
7141
|
+
* by AI) loses those formats; the onChange emitted on mount already carries
|
|
7142
|
+
* the initial content without them. Set it when the editor mounts: changing
|
|
7143
|
+
* it afterwards is not supported.
|
|
7144
|
+
*/
|
|
7145
|
+
isMarkdownOnly?: boolean;
|
|
7123
7146
|
fullScreenMode?: boolean;
|
|
7124
7147
|
onFullscreenChange?: (fullscreen: boolean) => void;
|
|
7125
7148
|
/** Whether the editor is disabled */
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as F0VideoPlayer } from "./F0VideoPlayer-qlCZpqK5.js";
|