@factorialco/f0-react 16.32.1 → 16.33.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-BuNA4UrO.js → ArchiveThumbnail-VRBMnfOQ.js} +4 -4
- package/dist/{ArchiveViewer-W103xRky.js → ArchiveViewer-FmO3W9El.js} +12 -12
- package/dist/{ChatPostComposerDialog-BCXfHgyD.js → ChatPostComposerDialog-UWNCaU6S.js} +2 -2
- package/dist/{CoachmarkProvider-CXRAZo57.js → CoachmarkProvider-NJDyjcbB.js} +17288 -17310
- package/dist/{CodeThumbnail-CrMWds9n.js → CodeThumbnail-BLWM5FmO.js} +1 -1
- package/dist/{CodeViewer-BYY3y3VG.js → CodeViewer-BjVmQeMm.js} +4 -4
- package/dist/{DocumentToolbar-CipRq68O.js → DocumentToolbar-Dq3Lwikl.js} +3 -3
- package/dist/{DocxViewer-8dEvcQjH.js → DocxViewer-70VqeeOa.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CelAhVN1.js → F0AiProcessingOverlay-DFJNq358.js} +506 -506
- package/dist/{F0Alert-CjoArzBk.js → F0Alert-nVgfw7WI.js} +6 -6
- package/dist/F0AudioPlayer-CG3RpwqJ.js +2 -0
- package/dist/{F0CanvasPanel-B7AXL0XT.js → F0CanvasPanel-Dg-yCd06.js} +9497 -9662
- package/dist/{F0DocumentViewer-DcNc-yXR.js → F0DocumentViewer-QvayGtJt.js} +2 -2
- package/dist/{F0DocumentViewer-DVByu4vb.js → F0DocumentViewer-s2CNCz31.js} +1 -1
- package/dist/{F0Map-BN8BQzMZ.js → F0Map-BPWgG3Br.js} +503 -503
- package/dist/{F0Select-CtRlKRnL.js → F0Select-DV2A6yo2.js} +5684 -5684
- package/dist/{F0VideoPlayer-THvSQSCu.js → F0VideoPlayer-D7wWuao2.js} +14 -14
- package/dist/F0VideoPlayer-Dn8MFW-n.js +1 -0
- package/dist/{HtmlViewer-ClgjG-H_.js → HtmlViewer-B79wACEv.js} +4 -4
- package/dist/{Map-CdRcz8MV.js → Map-BwNqQnRV.js} +7 -7
- package/dist/{PdfThumbnail-CXYyO2sc.js → PdfThumbnail-BiI4wG8G.js} +1 -1
- package/dist/{PdfViewer-BNPz0po0.js → PdfViewer-DxW7iBqZ.js} +6 -6
- package/dist/{SheetViewer-BV4RjCqC.js → SheetViewer-CDGVktjK.js} +4 -4
- package/dist/{TextViewer-B-a77tb9.js → TextViewer-DSWQD1PY.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +3 -3
- package/dist/component-status.js +5 -5
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +570 -570
- package/dist/{exports-DxWkQJMl.d.ts → exports-DjzAyxYh.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +944 -944
- package/dist/{highlight-B3C1rkLK.js → highlight-Ca0-nk5V.js} +6 -6
- package/dist/{index-MQOQkW-2.d.ts → index-D-HizTYE.d.ts} +13 -8
- package/dist/{index-CZ-TTSgT.d.ts → index-g72aneMP.d.ts} +6 -2
- package/dist/{maplibre-D5u_EpGf.js → maplibre-CQlQTgFD.js} +1 -1
- package/dist/{pdfWorker-allMZ4J8.js → pdfWorker-VXyiKOiL.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useData-Clrt5l2P.js → useData-BUahpDRq.js} +1 -1
- package/package.json +2 -2
- package/dist/F0AudioPlayer-_zrcaPAA.js +0 -2
- package/dist/F0VideoPlayer-CB52ikkB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { On as e, bn as t, kn as n } from "./F0CanvasPanel-Dg-yCd06.js";
|
|
2
2
|
import { t as r } from "./purify.es-CJ7gZxxn.js";
|
|
3
3
|
import { t as i } from "./ownValue-D4uSXt0d.js";
|
|
4
4
|
//#region src/addons/documents/lib/codeLanguages.ts
|
|
@@ -14,12 +14,12 @@ var a = {
|
|
|
14
14
|
xhtml: "xml",
|
|
15
15
|
svg: "xml",
|
|
16
16
|
env: "bash"
|
|
17
|
-
}, o = (
|
|
18
|
-
let n =
|
|
19
|
-
return n ? o(n) ? n : i(
|
|
17
|
+
}, o = (e) => n.includes(e), s = (t) => {
|
|
18
|
+
let n = t?.trim().toLowerCase();
|
|
19
|
+
return n ? o(n) ? n : i(e, n) ?? i(a, n) ?? null : null;
|
|
20
20
|
}, c = (e) => {
|
|
21
|
-
let
|
|
22
|
-
return
|
|
21
|
+
let n = e?.split(/[\\/]/).pop()?.trim();
|
|
22
|
+
return n ? t({ name: n }) : null;
|
|
23
23
|
}, l = {
|
|
24
24
|
bash: () => import("./bash-D6uqvgOi.js"),
|
|
25
25
|
c: () => import("./c-BCnJboA_.js"),
|
|
@@ -790,8 +790,10 @@ type F0ButtonProps = {
|
|
|
790
790
|
* the promote yellow. Pair it with the `Upsell` icon.
|
|
791
791
|
*
|
|
792
792
|
* Deprecated: `"default"`, `"outline"`, `"neutral"` and `"outlinePromote"`
|
|
793
|
-
* are aliases of `"hero"`, `"secondary"`, `"tertiary"` and `"promote"`.
|
|
794
|
-
*
|
|
793
|
+
* are aliases of `"hero"`, `"secondary"`, `"tertiary"` and `"promote"`. One
|
|
794
|
+
* exception: while `F0Provider`'s `newButtonStyles` is off, `"promote"` is
|
|
795
|
+
* the filled legacy button and `"outlinePromote"` keeps its outline. A button
|
|
796
|
+
* with no variant still renders the hero.
|
|
795
797
|
*/
|
|
796
798
|
variant?: ButtonVariant;
|
|
797
799
|
/**
|
|
@@ -7080,9 +7082,9 @@ declare const MobileDropdown: typeof MobileDropdownInternal;
|
|
|
7080
7082
|
//#endregion
|
|
7081
7083
|
//#region src/elements/F0CardHorizontal/components/CardHorizontalActions.d.ts
|
|
7082
7084
|
/**
|
|
7083
|
-
* Container breakpoint
|
|
7084
|
-
*
|
|
7085
|
-
*
|
|
7085
|
+
* Container breakpoint below which the horizontal card stacks its actions on
|
|
7086
|
+
* their own line. With `never`, and at or above the breakpoint, the actions sit
|
|
7087
|
+
* beside the text when they fit and drop below it when they don't.
|
|
7086
7088
|
*/
|
|
7087
7089
|
type CardHorizontalStackAt = "sm" | "md" | "lg" | "never";
|
|
7088
7090
|
/** Size of the trailing controls (buttons and the "⋯" menu trigger). */
|
|
@@ -7151,7 +7153,7 @@ interface F0CardHorizontalProps {
|
|
|
7151
7153
|
*/
|
|
7152
7154
|
actionsSize?: CardHorizontalActionsSize;
|
|
7153
7155
|
/**
|
|
7154
|
-
* Confirm/reject variant: renders
|
|
7156
|
+
* Confirm/reject variant: renders a labelled reject (✗) + confirm (✓) pair
|
|
7155
7157
|
* instead of the standard actions. Provide either or both.
|
|
7156
7158
|
*/
|
|
7157
7159
|
confirmAction?: CardHorizontalConfirmAction;
|
|
@@ -7173,8 +7175,11 @@ interface F0CardHorizontalProps {
|
|
|
7173
7175
|
*/
|
|
7174
7176
|
inactive?: boolean;
|
|
7175
7177
|
/**
|
|
7176
|
-
* Container width
|
|
7177
|
-
*
|
|
7178
|
+
* Container width below which the actions drop to their own line, with a
|
|
7179
|
+
* footer hairline, at its start. At or above it (at every width for `never`)
|
|
7180
|
+
* they sit beside the text at the trailing edge when they fit next to its
|
|
7181
|
+
* 12rem minimum, and drop below it, without the hairline, when they don't. A
|
|
7182
|
+
* confirm/reject pair always sits on its own line, whatever `stackAt` says.
|
|
7178
7183
|
* @default "never"
|
|
7179
7184
|
*/
|
|
7180
7185
|
stackAt?: CardHorizontalStackAt;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Eo as DataAttributes, Go as CountryCode, Gt as CardImageSize, Hn as AlertAvatarProps, Io as IconAvatarVariant, Lo as PersonAvatarVariant, No as CompanyAvatarVariant, Oo as AvatarAction, Qn as Variant, Ro as TeamAvatarVariant, Tt as TranscribeFn, Ut as CardImageAspectRatio, Vn as CardAvatarVariant, Wt as CardImageFit, Zn as StatusVariant, _s as WithDataTestIdProps, ao as DropdownItemSeparator, do as F0ButtonProps, en as CardMetadata, eo as DropdownInternalProps, f as ButtonDropdownItem, fs as DistributiveOmit$1, hs as IconType, ko as AvatarVariant, ls as NewColor, ms as F0IconProps, nn as ValueDisplayRendererDefinition, on as TagVariant, ro as DropdownItemObject, ss as ModuleId, to as DropdownItem, ys as WithDataTestIdReturnType } from "./index-
|
|
1
|
+
import { Eo as DataAttributes, Go as CountryCode, Gt as CardImageSize, Hn as AlertAvatarProps, Io as IconAvatarVariant, Lo as PersonAvatarVariant, No as CompanyAvatarVariant, Oo as AvatarAction, Qn as Variant, Ro as TeamAvatarVariant, Tt as TranscribeFn, Ut as CardImageAspectRatio, Vn as CardAvatarVariant, Wt as CardImageFit, Zn as StatusVariant, _s as WithDataTestIdProps, ao as DropdownItemSeparator, do as F0ButtonProps, en as CardMetadata, eo as DropdownInternalProps, f as ButtonDropdownItem, fs as DistributiveOmit$1, hs as IconType, ko as AvatarVariant, ls as NewColor, ms as F0IconProps, nn as ValueDisplayRendererDefinition, on as TagVariant, ro as DropdownItemObject, ss as ModuleId, to as DropdownItem, ys as WithDataTestIdReturnType } from "./index-D-HizTYE.js";
|
|
2
2
|
import { n as TranslationsType } from "./i18n-provider-defaults-SQ7US7M7.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, RefObject, TextareaHTMLAttributes } from "react";
|
|
@@ -3007,7 +3007,11 @@ interface BaseHeaderProps$1 {
|
|
|
3007
3007
|
compact?: boolean;
|
|
3008
3008
|
/** Renders a 1px bottom border at the very bottom of the header. */
|
|
3009
3009
|
showBottomBorder?: boolean;
|
|
3010
|
-
/**
|
|
3010
|
+
/**
|
|
3011
|
+
* When set, renders a close button that calls this on click: after the
|
|
3012
|
+
* actions in a wide header, and in the header's top-right corner in a
|
|
3013
|
+
* narrow one, level with the title, or with the avatar when there is one.
|
|
3014
|
+
*/
|
|
3011
3015
|
onClose?: () => void;
|
|
3012
3016
|
}
|
|
3013
3017
|
declare function BaseHeader({ title, avatar, deactivated, description, primaryAction, secondaryActions, otherActions, status, metadata, metadataRowGap, compact, showBottomBorder, onClose }: BaseHeaderProps$1): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { t } from "./dist-DMTFO2gF.js";
|
|
3
|
-
import { s as n } from "./F0Map-
|
|
3
|
+
import { s as n } from "./F0Map-BPWgG3Br.js";
|
|
4
4
|
import './maplibre-gl.css';import './maplibre.css';/* empty css */
|
|
5
5
|
import { t as r } from "./maplibre-gl-C9VxucUv.js";
|
|
6
6
|
//#region ../../node_modules/.bun/@mapbox+mapbox-gl-rtl-text@0.2.3+aaf0d59d7a26626d/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { z as r } from "./tooltip-NXXT56H4.js";
|
|
3
|
-
import {
|
|
3
|
+
import { no as i } from "./F0CanvasPanel-Dg-yCd06.js";
|
|
4
4
|
import { t as a } from "./dist-ZjZbrLOW.js";
|
|
5
5
|
import { n as o, r as s } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
6
6
|
import { createContext as c, forwardRef as l, useCallback as u, useContext as d, useEffect as f, useImperativeHandle as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _ } from "react";
|