@factorialco/f0-react 13.1.0 → 13.2.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.
Files changed (61) hide show
  1. package/dist/{ArchiveThumbnail-Bz26vD3k.js → ArchiveThumbnail-BGWiJFfA.js} +3 -3
  2. package/dist/{ArchiveViewer-Br_UrMQq.js → ArchiveViewer-gaakCGJ3.js} +5 -5
  3. package/dist/{ChatPostComposerDialog-xaCrNutP.js → ChatPostComposerDialog-Ap8woczj.js} +3 -3
  4. package/dist/{CoachmarkProvider-DYNzyAzo.js → CoachmarkProvider-E3_-IxOV.js} +27367 -27377
  5. package/dist/{CodeThumbnail-gCUveng3.js → CodeThumbnail-Bm_GaLxm.js} +1 -1
  6. package/dist/{CodeViewer-DIWvig04.js → CodeViewer-Ia0NwKX_.js} +6 -6
  7. package/dist/{DocumentToolbar-KSR6JvwX.js → DocumentToolbar-D4KElA1V.js} +5 -5
  8. package/dist/{DocxViewer-BaJCyWOv.js → DocxViewer-C6otSnj3.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-BOFAcdmY.js → F0AiProcessingOverlay-DMkI1tRu.js} +9 -9
  10. package/dist/{F0Alert-BkFPrwRK.js → F0Alert-D664MgOC.js} +5 -5
  11. package/dist/F0AudioPlayer-CgoLw3-_.js +2 -0
  12. package/dist/{F0Button-C1-0hRRA.js → F0Button-Bo-Zw0Zx.js} +3 -3
  13. package/dist/{F0CanvasPanel-DUZAHcRh.js → F0CanvasPanel-BWbAs38E.js} +5876 -5869
  14. package/dist/{F0DocumentViewer-DaymVJJ7.js → F0DocumentViewer-D8VcE-pQ.js} +4 -4
  15. package/dist/{F0DocumentViewer-D4NVYpen.js → F0DocumentViewer-DGk2W39u.js} +1 -1
  16. package/dist/{F0Icon-DmCBV0gK.js → F0Icon-P9uOVsGz.js} +1 -1
  17. package/dist/{F0Map-DValPZZ3.js → F0Map-Pl6RC3T5.js} +172 -151
  18. package/dist/{F0Select-DDqZWGSC.js → F0Select-CzWp91j0.js} +8 -8
  19. package/dist/{F0Text-KD9_ThWl.js → F0Text-BG36S9Xx.js} +2 -2
  20. package/dist/F0VideoPlayer-BDUW3ILk.js +1 -0
  21. package/dist/{F0VideoPlayer-_ThwtIuS.js → F0VideoPlayer-C_fMkaxj.js} +6 -6
  22. package/dist/{HtmlThumbnail-CGNpFG13.js → HtmlThumbnail-BiphE7Y5.js} +1 -1
  23. package/dist/{HtmlViewer-Bqei9VAg.js → HtmlViewer-DZHyuKz5.js} +9 -9
  24. package/dist/{LayoutGroup-88jf2Qrz.js → LayoutGroup-DLtALSqH.js} +1 -1
  25. package/dist/{Map-CSuL7eRp.js → Map-Gf6bkS6T.js} +10 -10
  26. package/dist/{PdfThumbnail-B20soGGL.js → PdfThumbnail-9X44csq5.js} +3 -3
  27. package/dist/{PdfViewer-06FXAmNj.js → PdfViewer-DtdRvpvP.js} +10 -10
  28. package/dist/{SandboxedHtmlFrame-B29PHJ6m.js → SandboxedHtmlFrame-DeAt348C.js} +2 -2
  29. package/dist/{SheetViewer-C3Phf24V.js → SheetViewer-_iq4uwXW.js} +5 -5
  30. package/dist/{TextViewer-DCVutuqX.js → TextViewer-C7xx-4YQ.js} +4 -4
  31. package/dist/ai.d.ts +3 -3
  32. package/dist/ai.js +4 -4
  33. package/dist/component-status.js +1 -1
  34. package/dist/{dist-CBheMQQo.js → dist-C_W2CLtJ.js} +4 -4
  35. package/dist/{dist-CFY0KELA.js → dist-Do5FlVaY.js} +1 -1
  36. package/dist/{dist-zvwuNflP.js → dist-Ol7JA7z9.js} +1 -1
  37. package/dist/experimental.d.ts +3 -3
  38. package/dist/experimental.js +16 -15
  39. package/dist/{exports-BPCb_V_l.d.ts → exports-CebiqGLM.d.ts} +1 -1
  40. package/dist/f0.d.ts +4 -4
  41. package/dist/f0.js +17 -17
  42. package/dist/{highlight-BfB_NSI3.js → highlight-izD68Eru.js} +1 -1
  43. package/dist/{i18n-provider-Bdgo-LeP.js → i18n-provider-C_PTccYX.js} +1 -1
  44. package/dist/{i18n-provider-defaults-DyPn8R7T.d.ts → i18n-provider-defaults-DD3oVvPp.d.ts} +1 -0
  45. package/dist/{i18n-provider-defaults-B9vdZZeS.js → i18n-provider-defaults-JkDaKXzI.js} +2 -1
  46. package/dist/i18n-provider-defaults.d.ts +1 -1
  47. package/dist/i18n-provider-defaults.js +1 -1
  48. package/dist/{index-BrWCSgfc.d.ts → index-CpTdsnxc.d.ts} +7 -2
  49. package/dist/{maplibre-6PzgwdR7.js → maplibre-nQ8eXeKQ.js} +1 -1
  50. package/dist/{pdfWorker-BhhAlqi1.js → pdfWorker-kyGjjW4X.js} +15 -6
  51. package/dist/pdfWorker.css +1 -0
  52. package/dist/{popover-ics24JxK.js → popover-DhWTWc7-.js} +1 -1
  53. package/dist/{scrollarea-BbCUnpY7.js → scrollarea-pyluD6aV.js} +3 -3
  54. package/dist/{skeleton-AC0Fb8zj.js → skeleton-CyLv1Ytt.js} +1 -1
  55. package/dist/styles.css +1 -1
  56. package/dist/{toolbarStyles-BffylLUB.js → toolbarStyles-stzlyka-.js} +1 -1
  57. package/dist/{types-CRx-aTBt.d.ts → types-ei71RXBT.d.ts} +19 -7
  58. package/dist/{useData-DikJqoNa.js → useData-BmoyjoRL.js} +150 -129
  59. package/package.json +1 -1
  60. package/dist/F0AudioPlayer-Dq4-9QDJ.js +0 -2
  61. package/dist/F0VideoPlayer-D3U1y8RL.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { t } from "./F0Button-C1-0hRRA.js";
2
+ import { t } from "./F0Button-Bo-Zw0Zx.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/addons/documents/F0DocumentViewer/pdfActions.ts
5
5
  var r = async (e) => {
@@ -1,5 +1,5 @@
1
- import { Ca as NewColor, Dn as ChartColorToken, Ea as DistributiveOmit$1, Fn as CardAvatarVariant, Hi as AvatarAction, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Na as WithDataTestIdReturnType, Oa as F0IconProps, Qi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Ui as AvatarVariant, Un as DropdownInternalProps, Wn as DropdownItem, Xi as IconAvatarVariant, Zi as PersonAvatarVariant, _r as StatusVariant, aa as CountryCode, er as F0ButtonProps, ja as WithDataTestIdProps, ka as IconType, qi as CompanyAvatarVariant, vr as Variant, xa as ModuleId, yt as TranscribeFn, zi as DataAttributes, zt as CardImageSize } from "./index-BrWCSgfc.js";
2
- import { n as TranslationsType } from "./i18n-provider-defaults-DyPn8R7T.js";
1
+ import { Ca as NewColor, Dn as ChartColorToken, Ea as DistributiveOmit$1, Fn as CardAvatarVariant, Hi as AvatarAction, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Na as WithDataTestIdReturnType, Oa as F0IconProps, Qi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Ui as AvatarVariant, Un as DropdownInternalProps, Wn as DropdownItem, Xi as IconAvatarVariant, Zi as PersonAvatarVariant, _r as StatusVariant, aa as CountryCode, er as F0ButtonProps, ja as WithDataTestIdProps, ka as IconType, qi as CompanyAvatarVariant, vr as Variant, xa as ModuleId, yt as TranscribeFn, zi as DataAttributes, zt as CardImageSize } from "./index-CpTdsnxc.js";
2
+ import { n as TranslationsType } from "./i18n-provider-defaults-DD3oVvPp.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";
5
5
  import { VariantProps } from "cva";
@@ -2967,6 +2967,8 @@ interface BaseHeaderProps$1 {
2967
2967
  } | AvatarVariant) & {
2968
2968
  /** What the viewer can do from the header avatar, e.g. change the picture. */
2969
2969
  actions?: AvatarAction[];
2970
+ /** Makes the avatar a button, e.g. to open the picture at full size. */
2971
+ onClick?: () => void;
2970
2972
  };
2971
2973
  /**
2972
2974
  * Markdown. Inline formatting only — a link out to the resource's source of
@@ -4637,6 +4639,12 @@ interface TOCProps {
4637
4639
  hideChildrenCounter?: boolean;
4638
4640
  /** Enable vertical scrolling when content overflows (default: true) */
4639
4641
  scrollable?: boolean;
4642
+ /**
4643
+ * Lines the search box and the item pills up with the page content above
4644
+ * and beside the panel, by dropping the panel's left and top insets.
4645
+ * @default false
4646
+ */
4647
+ alignToContent?: boolean;
4640
4648
  /** Action buttons pinned in a footer at the bottom of the panel */
4641
4649
  actions?: TOCAction[];
4642
4650
  }
@@ -11050,7 +11058,8 @@ interface InlineFieldRowProps {
11050
11058
  required?: boolean;
11051
11059
  /** Hint shown beside the label. */
11052
11060
  hint?: string;
11053
- value: ReactNode;
11061
+ /** Without one, a row that cannot be activated shows a muted "-", read as "No value". */
11062
+ value?: ReactNode;
11054
11063
  /** Fixed order, closest to the value first. Copy is appended after it. */
11055
11064
  actions: RowAction[];
11056
11065
  /** When set, the row appends a copy action that writes exactly this string. */
@@ -11067,9 +11076,7 @@ interface InlineFieldRowProps {
11067
11076
  valueHeight?: "fixed" | "auto";
11068
11077
  /**
11069
11078
  * The narrowest the value may get beside its label before the label stacks
11070
- * above it. Rows in one `InlineFieldRowList` share one label column, so a
11071
- * long label also stacks when the column it needs would squeeze another
11072
- * row's value below its minimum.
11079
+ * above it.
11073
11080
  * @default 15
11074
11081
  */
11075
11082
  valueMinWidth?: InlineValueMinWidth;
@@ -11084,7 +11091,12 @@ interface InlineFieldRowProps {
11084
11091
  }
11085
11092
  //#endregion
11086
11093
  //#region src/blocks/F0Form/fields/inline/InlineFieldRow.d.ts
11087
- /** One card of rows, sharing one label column so their values line up. */
11094
+ /**
11095
+ * One card of rows. Each row splits its own width the same way, so values line
11096
+ * up. Rows are size containers, so they cannot take their width from their
11097
+ * content: put the card in a parent that gives it one, not a `w-fit` box or a
11098
+ * flex row that sizes its items to their content.
11099
+ */
11088
11100
  declare const InlineFieldRowList: ({ children }: {
11089
11101
  children: ReactNode;
11090
11102
  }) => import("react").JSX.Element;