@factorialco/f0-react 15.0.0 → 16.0.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-CMOY3hug.js → ArchiveThumbnail-BRDRbsJ6.js} +1 -1
- package/dist/{ArchiveViewer-Bc5iN2gm.js → ArchiveViewer-BeSsY6iL.js} +2 -2
- package/dist/{ChatPostComposerDialog-NOdBRHQW.js → ChatPostComposerDialog-DphlBKTu.js} +2 -2
- package/dist/{CoachmarkProvider-CQE9J_S1.js → CoachmarkProvider-i1d6b_We.js} +21881 -21873
- package/dist/{CodeThumbnail-JLPjPSHE.js → CodeThumbnail-DsZdLZyi.js} +1 -1
- package/dist/{CodeViewer-HhRZ_KtU.js → CodeViewer-CqJUf6Qc.js} +4 -4
- package/dist/{DocumentToolbar-C3YeGLiY.js → DocumentToolbar-_ENhRsXU.js} +4 -4
- package/dist/{DocxViewer-B_pUywX2.js → DocxViewer-DJpRHNoo.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CreyUmNt.js → F0AiProcessingOverlay-ChpomyZU.js} +1109 -1108
- package/dist/{F0Alert-Dfw9wvmG.js → F0Alert-Br1ytekS.js} +3 -3
- package/dist/F0AudioPlayer-OGv5WPST.js +2 -0
- package/dist/{F0Button-Hs9dD3kp.js → F0Button-BCWiHDDV.js} +5 -19
- package/dist/{F0CanvasPanel-QAikAHrt.js → F0CanvasPanel-sui4AhZR.js} +7331 -7350
- package/dist/{F0DocumentViewer-DtBBvHeY.js → F0DocumentViewer-CnWBEUZY.js} +2 -2
- package/dist/{F0DocumentViewer-BBZNZzXF.js → F0DocumentViewer-Jbml8b5g.js} +1 -1
- package/dist/{F0Map-DrGsOz1c.js → F0Map-dh_qX-yp.js} +46 -46
- package/dist/{F0Select-D8elfH2c.js → F0Select-CPIJ4yN6.js} +4 -4
- package/dist/{F0Text-BdLMC6rw.js → F0Text-MqvXgPpZ.js} +1 -1
- package/dist/{F0VideoPlayer-mLzBl6O5.js → F0VideoPlayer-B4XbzPFW.js} +23 -23
- package/dist/F0VideoPlayer-KY4KPEF4.js +1 -0
- package/dist/{HtmlThumbnail-C2fHnIU5.js → HtmlThumbnail-RLEVY9G9.js} +1 -1
- package/dist/{HtmlViewer-CNHsP0_Q.js → HtmlViewer-qEqTDcvl.js} +6 -6
- package/dist/{LayoutGroup-B5tU1ztA.js → LayoutGroup-Bc1Iudo_.js} +1 -1
- package/dist/{Map-Cfzh4DYS.js → Map-KB40H67k.js} +9 -9
- package/dist/{PdfThumbnail-BhMepsUK.js → PdfThumbnail-BNUBnoZl.js} +1 -1
- package/dist/{PdfViewer-CL30Vr4B.js → PdfViewer-C7ZgxDg-.js} +8 -8
- package/dist/{SandboxedHtmlFrame-QjmWXSV-.js → SandboxedHtmlFrame-BNNZgkcF.js} +1 -1
- package/dist/{SheetViewer-Cs_vLeh4.js → SheetViewer-95DeSviP.js} +3 -3
- package/dist/{TextViewer-CGoMovpP.js → TextViewer-xTlKKzFD.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +5 -27
- package/dist/{dist-DpAd2wW2.js → dist-BEGjI3Xp.js} +4 -4
- package/dist/{dist-CJIEhLuL.js → dist-BKmw8oWk.js} +1 -1
- package/dist/{dist-CQSuXDpA.js → dist-Bdbhtnvl.js} +1 -1
- package/dist/{dist-DVsrUl0U.js → dist-CAC7X0BZ.js} +1 -1
- package/dist/{dist-C8J2FPJo.js → dist-DFNqqmLn.js} +1 -1
- package/dist/experimental.d.ts +4 -10
- package/dist/experimental.js +2803 -2827
- package/dist/{exports-BSI98RKf.d.ts → exports-BCwj4qmp.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +729 -729
- package/dist/{highlight-DUGKJ8WM.js → highlight-DKymZz5X.js} +1 -1
- package/dist/{index-CeGTmQfe.d.ts → index-DyzQfXF1.d.ts} +4 -4
- package/dist/{maplibre-iSstWV_1.js → maplibre-Z3vYx0dg.js} +1 -1
- package/dist/{pdfWorker-DwNAnhfp.js → pdfWorker-Bk2BQcyn.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-DGCICoyx.js → toolbarStyles-CDHbnt8G.js} +1 -1
- package/dist/{types-Brch_2zb.d.ts → types-D1p-rbhL.d.ts} +1 -1
- package/dist/{useData-D4FE64eT.js → useData-BtGI0HO3.js} +2 -2
- package/package.json +1 -1
- package/tailwind.config.ts +3 -3
- package/dist/F0AudioPlayer-BqKZE5cb.js +0 -2
- package/dist/F0VideoPlayer-BzehPrsz.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { L as n } from "./tooltip-DFMOxXQO.js";
|
|
3
|
-
import { t as r } from "./F0Button-
|
|
4
|
-
import { Do as i, Ki as a,
|
|
3
|
+
import { t as r } from "./F0Button-BCWiHDDV.js";
|
|
4
|
+
import { Do as i, Ki as a, Ms as o, Vc as s } from "./F0CanvasPanel-sui4AhZR.js";
|
|
5
5
|
import { o as c } from "./F0Icon-C0Ks-zGo.js";
|
|
6
|
-
import { F as l, g as u } from "./useData-
|
|
6
|
+
import { F as l, g as u } from "./useData-BtGI0HO3.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
|
|
@@ -5360,8 +5360,7 @@ var Td = a(l("Tooltip", (e) => /* @__PURE__ */ I(wd, { ...e }))), Ed = [
|
|
|
5360
5360
|
"neutral",
|
|
5361
5361
|
"ghost",
|
|
5362
5362
|
"promote",
|
|
5363
|
-
"outlinePromote"
|
|
5364
|
-
"ai"
|
|
5363
|
+
"outlinePromote"
|
|
5365
5364
|
], Dd = [
|
|
5366
5365
|
"link",
|
|
5367
5366
|
"unstyled",
|
|
@@ -5419,8 +5418,7 @@ var Gd = _({
|
|
|
5419
5418
|
link: d(Pd, Ad(), "text-f1-foreground visited:text-f1-foreground hover:text-f1-foreground active:text-f1-foreground"),
|
|
5420
5419
|
unstyled: d(Pd, "text-inherit no-underline"),
|
|
5421
5420
|
mention: d(Pd, jd),
|
|
5422
|
-
selected: d(Nd, "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)]")
|
|
5423
|
-
ai: d(Nd, "bg-f1-border text-f1-foreground transition-colors duration-200", "[--gradient-angle:0deg]", "hover:bg-[conic-gradient(from_var(--gradient-angle),hsla(229,57%,76%,0.7),hsla(348,80%,50%,0.7),hsla(348,80%,50%,0.7),hsla(18,80%,50%,0.7),hsla(229,57%,76%,0.7),hsla(229,57%,76%,0.7))] hover:before:opacity-100", "hover:animate-rotate-gradient", "before:pointer-events-none before:absolute before:inset-px before:z-10 before:rounded-[9px] before:bg-f1-background before:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.04)] before:content-['']", "after:pointer-events-none after:absolute after:inset-0 after:translate-y-px after:scale-90 after:[animation:rotate-gradient_2s_linear_infinite_paused] hover:after:[animation-play-state:running] after:rounded after:bg-[conic-gradient(from_var(--gradient-angle),hsla(229,57%,76%,0.7),hsla(348,80%,50%,0.7),hsla(348,80%,50%,0.7),hsla(18,80%,50%,0.7),hsla(229,57%,76%,0.7),hsla(229,57%,76%,0.7))] after:opacity-0 after:blur-sm after:content-[''] after:[transition:transform_200ms,opacity_200ms] hover:after:scale-100 hover:after:opacity-80", "active:bg-f1-background-tertiary active:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)]", "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")
|
|
5421
|
+
selected: d(Nd, "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)]")
|
|
5424
5422
|
},
|
|
5425
5423
|
pressed: {
|
|
5426
5424
|
true: "[&_.main]:translate-y-px",
|
|
@@ -5433,9 +5431,9 @@ var Gd = _({
|
|
|
5433
5431
|
}
|
|
5434
5432
|
}), Kd = _({
|
|
5435
5433
|
variants: { size: {
|
|
5436
|
-
sm: "rounded-sm text-base
|
|
5437
|
-
md: "rounded text-base
|
|
5438
|
-
lg: "rounded-md text-lg
|
|
5434
|
+
sm: "rounded-sm text-base after:rounded-sm [&_.main]:h-6 [&_.main]:px-2",
|
|
5435
|
+
md: "rounded text-base after:rounded [&_.main]:h-8 [&_.main]:px-3",
|
|
5436
|
+
lg: "rounded-md text-lg after:rounded-md [&_.main]:h-10 [&_.main]:px-4"
|
|
5439
5437
|
} },
|
|
5440
5438
|
defaultVariants: { size: "md" }
|
|
5441
5439
|
}), qd = _({
|
|
@@ -5463,7 +5461,6 @@ var Gd = _({
|
|
|
5463
5461
|
outlinePromote: "",
|
|
5464
5462
|
legacyCritical: "",
|
|
5465
5463
|
legacyPromote: "",
|
|
5466
|
-
ai: "",
|
|
5467
5464
|
link: "",
|
|
5468
5465
|
mention: "",
|
|
5469
5466
|
selected: "",
|
|
@@ -5540,11 +5537,6 @@ var Gd = _({
|
|
|
5540
5537
|
mode: "default",
|
|
5541
5538
|
class: "[&_svg:not([data-has-color])]:text-f1-icon-promote"
|
|
5542
5539
|
},
|
|
5543
|
-
{
|
|
5544
|
-
variant: "ai",
|
|
5545
|
-
mode: "default",
|
|
5546
|
-
class: "[&_svg:not([data-has-color])]:text-f1-icon"
|
|
5547
|
-
},
|
|
5548
5540
|
{
|
|
5549
5541
|
variant: "link",
|
|
5550
5542
|
mode: "default",
|
|
@@ -5624,11 +5616,6 @@ var Gd = _({
|
|
|
5624
5616
|
variant: "unstyled",
|
|
5625
5617
|
mode: "only",
|
|
5626
5618
|
class: "[&_svg:not([data-has-color])]:text-f1-icon"
|
|
5627
|
-
},
|
|
5628
|
-
{
|
|
5629
|
-
variant: "ai",
|
|
5630
|
-
mode: "only",
|
|
5631
|
-
class: "[&_svg:not([data-has-color])]:text-f1-icon"
|
|
5632
5619
|
}
|
|
5633
5620
|
],
|
|
5634
5621
|
defaultVariants: {
|
|
@@ -5657,7 +5644,6 @@ var Gd = _({
|
|
|
5657
5644
|
outlinePromote: "border-f1-icon-promote border-t-transparent",
|
|
5658
5645
|
legacyCritical: "border-f1-icon-critical border-t-transparent",
|
|
5659
5646
|
legacyPromote: "border-f1-icon-promote border-t-transparent",
|
|
5660
|
-
ai: "border-f1-foreground border-t-transparent",
|
|
5661
5647
|
unstyled: ""
|
|
5662
5648
|
}
|
|
5663
5649
|
}
|