@factorialco/f0-react 16.19.0 → 16.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/{ArchiveThumbnail-CAzO9emN.js → ArchiveThumbnail-D5RdDTI0.js} +6 -6
- package/dist/{ArchiveViewer-BkqvVOz0.js → ArchiveViewer-rn7u3Dpm.js} +5 -5
- package/dist/{ChatPostComposerDialog-BY1-ToCS.js → ChatPostComposerDialog-K_Vnt0ro.js} +3 -3
- package/dist/{CoachmarkProvider-CFjffyu5.js → CoachmarkProvider-BmIZobyx.js} +14230 -14230
- package/dist/{CodeThumbnail-D-gb6TUF.js → CodeThumbnail-DQbEA2Rl.js} +1 -1
- package/dist/{CodeViewer-SI7TC_K2.js → CodeViewer-BvFVnvZG.js} +6 -6
- package/dist/{DocumentToolbar-DGyD9SN0.js → DocumentToolbar-94u6vk8m.js} +7 -7
- package/dist/{DocxViewer-kDcXxo0v.js → DocxViewer-C20S3kO5.js} +3 -3
- package/dist/{F0AiProcessingOverlay-OhgXIPB4.js → F0AiProcessingOverlay-DdYHU_e8.js} +1859 -1931
- package/dist/{F0Alert-TC2esFmC.js → F0Alert-DBVF8WK7.js} +7 -7
- package/dist/F0AudioPlayer-LlajNDAA.js +2 -0
- package/dist/{F0Button-BPjCHo83.js → F0Button-B217B6lh.js} +9 -9
- package/dist/{F0CanvasPanel-CwuS7Fc_.js → F0CanvasPanel-CVk_7eK7.js} +7699 -7722
- package/dist/{F0DocumentViewer-CNQvQsnx.js → F0DocumentViewer-7SDA8bY3.js} +1 -1
- package/dist/{F0DocumentViewer-DIFsg5pY.js → F0DocumentViewer-CLwKmjK-.js} +4 -4
- package/dist/{F0Icon-BWIoBqUz.js → F0Icon-CRETnjaC.js} +1 -1
- package/dist/{F0Map-BxSjjHyY.js → F0Map-Dz64Vvtw.js} +19 -19
- package/dist/{F0Select-CaRfMBA3.js → F0Select-Ef_MkLqL.js} +9 -9
- package/dist/{F0Text-D9BR3ipr.js → F0Text-DEJMiNLl.js} +2 -2
- package/dist/{F0VideoPlayer-CfY8KJ7I.js → F0VideoPlayer-Boe5ntER.js} +71 -71
- package/dist/F0VideoPlayer-CWr6L2CQ.js +1 -0
- package/dist/{HtmlThumbnail-Cj27H9QK.js → HtmlThumbnail-DLYEHdZx.js} +1 -1
- package/dist/{HtmlViewer-DRfrtuKN.js → HtmlViewer-DnBkFfLk.js} +9 -9
- package/dist/{LayoutGroup-Clgr-vB9.js → LayoutGroup-DECnUFBB.js} +1 -1
- package/dist/{Map-x2t4rK66.js → Map-XGapa9ke.js} +13 -13
- package/dist/{PdfThumbnail-Ue08FfiS.js → PdfThumbnail-f8cxvUJR.js} +1 -1
- package/dist/{PdfViewer-V3C2gmbs.js → PdfViewer-DfEWMASa.js} +12 -12
- package/dist/{SandboxedHtmlFrame-DQqfMeCl.js → SandboxedHtmlFrame-Ba5FAjt6.js} +2 -2
- package/dist/{SheetViewer-ByBIMFf1.js → SheetViewer-8TM8_Mcn.js} +5 -5
- package/dist/{TextViewer-CR4-k8HR.js → TextViewer-gYqYfc8o.js} +4 -4
- package/dist/ai.d.ts +4 -4
- package/dist/ai.js +5 -5
- package/dist/component-status.js +2 -2
- package/dist/{dist-DYydiVIh.js → dist-BAsn0JfF.js} +1 -1
- package/dist/{dist-CAmWmLKl.js → dist-CBsv_N04.js} +4 -4
- package/dist/{dist-tqa6n0_D.js → dist-CLXu6f__.js} +2 -2
- package/dist/{dist-tiM2lERI.js → dist-ClS5kbGd.js} +1 -1
- package/dist/{dist-qs-4_N_R.js → dist-CpxH3Mhm.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +611 -611
- package/dist/{exports-CLYkiCcv.d.ts → exports-B8qwxvwL.d.ts} +14 -44
- package/dist/f0.d.ts +6 -6
- package/dist/f0.js +218 -218
- package/dist/{highlight-D7BcbXP5.js → highlight-Bg7vgyjH.js} +4 -4
- package/dist/{i18n-provider-B3-kjPXK.js → i18n-provider-DyI_r6Au.js} +1 -1
- package/dist/{i18n-provider-defaults-BlGnW4EH.js → i18n-provider-defaults-C8fwj3sA.js} +4 -6
- package/dist/{i18n-provider-defaults-Csxr33dy.d.ts → i18n-provider-defaults-FGAsdJJR.d.ts} +4 -6
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-B01mneLV.d.ts → index-DC_v_uUG.d.ts} +33 -79
- package/dist/{maplibre-BMusGtni.js → maplibre-eOX45GBr.js} +1 -1
- package/dist/{pdfWorker-csDGfjpV.js → pdfWorker-DBQyzjMh.js} +1 -1
- package/dist/{popover-CBQ6ifku.js → popover-CKVOp9XF.js} +1 -1
- package/dist/{skeleton-Dl-alAMY.js → skeleton-Dw-7r7zp.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-Dx_088Js.js → toolbarStyles-C_OrVxv7.js} +1 -1
- package/dist/{types-QOTzx6bl.d.ts → types-Ia5pcWL6.d.ts} +2 -2
- package/dist/{useData-0FR__MaY.js → useData-CVTa0m1L.js} +6 -6
- package/package.json +1 -1
- package/dist/F0AudioPlayer-GshtwrMI.js +0 -2
- package/dist/F0VideoPlayer-HzLnLN2W.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e, r as t } from "./i18n-provider-
|
|
1
|
+
import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
|
|
2
2
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
3
|
-
import { t as r } from "./F0Button-
|
|
4
|
-
import {
|
|
5
|
-
import { o as c } from "./F0Icon-
|
|
6
|
-
import { N as l, _ as u } from "./useData-
|
|
3
|
+
import { t as r } from "./F0Button-B217B6lh.js";
|
|
4
|
+
import { Bo as i, Ys as a, il as o, oa as s } from "./F0CanvasPanel-CVk_7eK7.js";
|
|
5
|
+
import { o as c } from "./F0Icon-CRETnjaC.js";
|
|
6
|
+
import { N as l, _ as u } from "./useData-CVTa0m1L.js";
|
|
7
7
|
import { useRef as d } from "react";
|
|
8
8
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
9
9
|
//#region src/elements/F0Alert/F0Alert.tsx
|
|
@@ -32,7 +32,7 @@ var m = c({
|
|
|
32
32
|
}), g = ({ onClose: e }) => {
|
|
33
33
|
let { actions: n } = t();
|
|
34
34
|
return /* @__PURE__ */ f(r, {
|
|
35
|
-
icon:
|
|
35
|
+
icon: o,
|
|
36
36
|
label: n.close,
|
|
37
37
|
hideLabel: !0,
|
|
38
38
|
variant: "outline",
|
|
@@ -49,7 +49,7 @@ var m = c({
|
|
|
49
49
|
alignItems: "center",
|
|
50
50
|
gap: "lg",
|
|
51
51
|
children: [
|
|
52
|
-
i ? /* @__PURE__ */ f(
|
|
52
|
+
i ? /* @__PURE__ */ f(s, {
|
|
53
53
|
href: i.href,
|
|
54
54
|
target: "_blank",
|
|
55
55
|
variant: "link",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { a, d as o, l as s, r as c } from "./i18n-provider-
|
|
3
|
-
import { n as l, t as u } from "./skeleton-
|
|
2
|
+
import { a, d as o, l as s, r as c } from "./i18n-provider-DyI_r6Au.js";
|
|
3
|
+
import { n as l, t as u } from "./skeleton-Dw-7r7zp.js";
|
|
4
4
|
import { L as d, R as f, i as p, n as m, r as h, t as g } from "./tooltip-NXXT56H4.js";
|
|
5
|
-
import { o as _, t as v } from "./F0Icon-
|
|
5
|
+
import { o as _, t as v } from "./F0Icon-CRETnjaC.js";
|
|
6
6
|
import { t as y } from "./purify.es-CJ7gZxxn.js";
|
|
7
7
|
import * as b from "react";
|
|
8
8
|
import x, { Children as S, Component as C, Fragment as w, cloneElement as T, createContext as E, createElement as ee, forwardRef as D, isValidElement as te, useCallback as O, useContext as k, useEffect as A, useId as j, useInsertionEffect as ne, useLayoutEffect as re, useMemo as M, useRef as N, useState as P } from "react";
|
|
@@ -5371,7 +5371,7 @@ var kd = [
|
|
|
5371
5371
|
"sm",
|
|
5372
5372
|
"md",
|
|
5373
5373
|
"lg"
|
|
5374
|
-
], Ad = (e) => Od.includes(e), jd = _({
|
|
5374
|
+
], Ad = (e) => Od.includes(e), jd = "bg-f1-background-secondary hover:bg-f1-background-secondary-hover !px-1.5 font-medium text-f1-foreground rounded-xs no-underline transition-colors", Md = `${jd} focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold`, Nd = _({
|
|
5375
5375
|
base: "text-current underline decoration-f1-border-hover decoration-1 underline-offset-5 hover:decoration-f1-border-bold",
|
|
5376
5376
|
variants: {
|
|
5377
5377
|
decoration: {
|
|
@@ -5379,7 +5379,7 @@ var kd = [
|
|
|
5379
5379
|
dotted: "decoration-dotted hover:decoration-solid"
|
|
5380
5380
|
},
|
|
5381
5381
|
focusable: {
|
|
5382
|
-
true: "focus-visible:rounded-
|
|
5382
|
+
true: "focus-visible:rounded-2xs focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-f1-special-ring",
|
|
5383
5383
|
false: ""
|
|
5384
5384
|
}
|
|
5385
5385
|
},
|
|
@@ -5387,7 +5387,7 @@ var kd = [
|
|
|
5387
5387
|
decoration: "solid",
|
|
5388
5388
|
focusable: !1
|
|
5389
5389
|
}
|
|
5390
|
-
}),
|
|
5390
|
+
}), Pd = "group relative inline-flex items-center justify-center gap-1 whitespace-nowrap rounded border-none p-0 text-base font-medium shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.04)] transition-colors [&_.main]:transform-gpu [&_.main]:transition-transform [&_.main]:duration-100 active:[&_.main]:translate-y-px active:[&_.main]:scale-[0.97] [&_.main]:flex [&_.main]:items-center [&_.main]:justify-center disabled:opacity-30 disabled:cursor-not-allowed [&[aria-disabled=true]]:pointer-events-none [&[aria-disabled=true]]:cursor-not-allowed [&[aria-disabled=true]]:opacity-30 no-underline [&_.main]:z-20", Fd = "relative flex-row font-medium [&[aria-disabled=true]]:pointer-events-none [&[aria-disabled=true]]:cursor-not-allowed [&[aria-disabled=true]]:opacity-30 transition-colors", Id = d(Pd, "bg-f1-background-accent-bold text-f1-foreground-inverse shadow-[0_2px_6px_-1px_rgba(13,22,37,.10),inset_0_-2px_4px_rgba(13,22,37,.08)] after:pointer-events-none after:absolute after:inset-0 after:rounded after:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.25)] after:content-[''] hover:bg-f1-background-accent-bold-hover", "active:bg-f1-background-accent-bold-hover active:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] active:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]", "data-[pressed=true]:bg-f1-background-accent-bold-hover data-[pressed=true]:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] data-[pressed=true]:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]"), Ld = d(Pd, "bg-f1-background-inverse text-f1-background shadow-[0_2px_6px_-1px_rgba(13,22,37,.10),inset_0_-2px_4px_rgba(13,22,37,.08)] after:pointer-events-none after:absolute after:inset-0 after:rounded after:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.25)] after:content-[''] hover:bg-f1-foreground", "active:bg-f1-foreground active:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] active:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]", "data-[pressed=true]:bg-f1-foreground data-[pressed=true]:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] data-[pressed=true]:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]"), Rd = d(Pd, "bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary text-f1-foreground after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] hover:bg-f1-background-tertiary hover:after:opacity-70 hover:after:ring-f1-border-hover", "active:bg-f1-background-tertiary active:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] active:after:opacity-70 active:after:ring-f1-border-hover", "data-[pressed=true]:bg-f1-background-tertiary data-[pressed=true]:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] data-[pressed=true]:after:opacity-70 data-[pressed=true]:after:ring-f1-border-hover"), zd = d(Pd, "bg-f1-background-secondary text-f1-foreground hover:bg-f1-background-secondary-hover", "active:bg-f1-background-secondary-hover active:shadow-[inset_0_2px_8px_0_rgba(13,22,37,.16)]", "data-[pressed=true]:bg-f1-background-secondary-hover data-[pressed=true]:shadow-[inset_0_2px_8px_0_rgba(13,22,37,.16)]"), Bd = d(Pd, "bg-f1-background text-f1-foreground-critical dark:bg-transparent after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border-critical-bold after:transition-all after:content-[''] hover:bg-f1-background-critical", "active:bg-f1-background-critical active:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)]", "data-[pressed=true]:bg-f1-background-critical data-[pressed=true]:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)]"), Vd = d(Pd, "bg-f1-background-secondary text-f1-foreground-critical after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] hover:bg-f1-background-critical-bold hover:text-f1-foreground-inverse hover:after:ring-transparent dark:bg-transparent dark:hover:bg-f1-background-critical-bold", "active:bg-f1-background-critical-bold active:text-f1-foreground-inverse active:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)] active:after:ring-transparent", "data-[pressed=true]:bg-f1-background-critical-bold data-[pressed=true]:text-f1-foreground-inverse data-[pressed=true]:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)] data-[pressed=true]:after:ring-transparent"), Hd = d(Pd, "bg-f1-background-promote text-f1-foreground shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(245,165,28,.15)] after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border-promote after:transition-all after:content-[''] hover:bg-f1-background-promote-hover dark:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.30)]", "active:shadow-[inset_0_2px_4px_0_rgba(206,139,24,.5)]", "data-[pressed=true]:shadow-[inset_0_2px_4px_0_rgba(206,139,24,.5)]"), Ud = "[&_svg:not([data-has-color])]:text-f1-icon-critical-bold group-hover:[&_svg:not([data-has-color])]:text-f1-icon-inverse group-active:[&_svg:not([data-has-color])]:text-f1-icon-inverse group-data-[pressed=true]:[&_svg:not([data-has-color])]:text-f1-icon-inverse dark:group-hover:[&_svg:not([data-has-color])]:text-f1-icon-bold/80 dark:group-active:[&_svg:not([data-has-color])]:text-f1-icon-bold/80 dark:group-data-[pressed=true]:[&_svg:not([data-has-color])]:text-f1-icon-bold/80", Wd = {
|
|
5391
5391
|
hero: "default",
|
|
5392
5392
|
primary: "default",
|
|
5393
5393
|
secondary: "outline",
|
|
@@ -5415,9 +5415,9 @@ var Kd = _({
|
|
|
5415
5415
|
outlinePromote: Rd,
|
|
5416
5416
|
legacyCritical: Vd,
|
|
5417
5417
|
legacyPromote: Hd,
|
|
5418
|
-
link: d(Fd,
|
|
5418
|
+
link: d(Fd, Nd(), "text-f1-foreground visited:text-f1-foreground hover:text-f1-foreground active:text-f1-foreground"),
|
|
5419
5419
|
unstyled: d(Fd, "text-inherit no-underline"),
|
|
5420
|
-
mention: d(Fd,
|
|
5420
|
+
mention: d(Fd, jd),
|
|
5421
5421
|
selected: d(Pd, "bg-f1-background-selected text-f1-icon-selected shadow-none hover:bg-f1-background-selected-hover hover:text-f1-icon-selected-hover hover:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.04)]", "active:bg-f1-background-selected-hover active:shadow-[inset_0_2px_4px_0_rgba(13,22,37,.1)]", "data-[pressed=true]:bg-f1-background-selected-hover data-[pressed=true]:shadow-[inset_0_2px_4px_0_rgba(13,22,37,.1)]")
|
|
5422
5422
|
},
|
|
5423
5423
|
pressed: {
|
|
@@ -14450,4 +14450,4 @@ var ZS = _({
|
|
|
14450
14450
|
rC.displayName = "F0Button";
|
|
14451
14451
|
var iC = a(rC);
|
|
14452
14452
|
//#endregion
|
|
14453
|
-
export { ns as $,
|
|
14453
|
+
export { ns as $, Nd as A, ge as At, pd as B, Cf as C, I as Ct, $d as D, Ee as Dt, nf as E, Ae as Et, kd as F, ce as Ft, ud as G, rd as H, Ed as I, se as It, _l as J, td as K, Sd as L, oe as Lt, Md as M, fe as Mt, Dd as N, de as Nt, Kd as O, we as Ot, Od as P, le as Pt, Qs as Q, Td as R, xf as S, rt as St, af as T, Le as Tt, ad as U, dd as V, id as W, Zc as X, tl as Y, Hc as Z, vf as _, Fn as _t, GS as a, qa as at, df as b, yn as bt, Zb as c, Ta as ct, If as d, H as dt, Ko as et, Af as f, ri as ft, _f as g, In as gt, Df as h, jr as ht, WS as i, to as it, jd as j, he as jt, qd as k, _e as kt, cb as l, ta as lt, Nf as m, ni as mt, nC as n, io as nt, jS as o, U as ot, Mf as p, ei as pt, ed as q, XS as r, no as rt, rS as s, Va as st, iC as t, lo as tt, zm as u, ji as ut, pf as v, Pn as vt, Ef as w, Je as wt, hf as x, B as xt, yf as y, kn as yt, yd as z };
|