@factorialco/f0-react 12.18.0 → 12.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.
Files changed (41) hide show
  1. package/dist/{ArchiveThumbnail-BLELkkQj.js → ArchiveThumbnail-B3rbpXVF.js} +1 -1
  2. package/dist/{ArchiveViewer-BAvVk82B.js → ArchiveViewer-e1fxWtqq.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-B3roGLPX.js → ChatPostComposerDialog-B7KUyMhn.js} +2 -2
  4. package/dist/{CoachmarkProvider-B9fuRkcm.js → CoachmarkProvider-CPaXTd-j.js} +18900 -18835
  5. package/dist/{CodeThumbnail-CDxjPEFC.js → CodeThumbnail-Y5t2jitc.js} +1 -1
  6. package/dist/{CodeViewer-DHftBVCl.js → CodeViewer-CVZL3m1j.js} +4 -4
  7. package/dist/{DocumentToolbar-P4c9LdMj.js → DocumentToolbar-BxucP3u-.js} +2 -2
  8. package/dist/{DocxViewer-hhB0P1oY.js → DocxViewer-BkcBPKQ9.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-hx671vvU.js → F0AiProcessingOverlay-CBkyL1_h.js} +53 -53
  10. package/dist/{F0Alert-B3h-jG8M.js → F0Alert-Rklc_Vxl.js} +1 -1
  11. package/dist/F0AudioPlayer-C4597ZNk.js +2 -0
  12. package/dist/{F0CanvasPanel-BchoElHd.js → F0CanvasPanel-BuTcey0-.js} +9 -9
  13. package/dist/{F0DocumentViewer-BTWC4jEX.js → F0DocumentViewer-BofWB9ez.js} +1 -1
  14. package/dist/{F0DocumentViewer-BxKE1PvK.js → F0DocumentViewer-DMutXRO1.js} +2 -2
  15. package/dist/{F0Map-B-F66Wyh.js → F0Map-moAdMP9K.js} +3 -3
  16. package/dist/{F0Select-DmSUsNZ8.js → F0Select-CvMv06GW.js} +6 -5
  17. package/dist/{F0VideoPlayer-B24WPRXX.js → F0VideoPlayer-BF6JEDD9.js} +1 -1
  18. package/dist/F0VideoPlayer-DT-pLuut.js +1 -0
  19. package/dist/{HtmlViewer-Km-KBQZ2.js → HtmlViewer-GGtMSGvj.js} +4 -4
  20. package/dist/{Map-DBfHyif3.js → Map-1iG6fqM7.js} +3 -3
  21. package/dist/{PdfThumbnail-iUruDcW_.js → PdfThumbnail-DXCNIgMo.js} +1 -1
  22. package/dist/{PdfViewer-Cpb0Lzp1.js → PdfViewer-BFbpiCYO.js} +3 -3
  23. package/dist/{SheetViewer-Ddx1J8UK.js → SheetViewer-DkxEJy-a.js} +2 -2
  24. package/dist/{TextViewer-Dj8YeCwg.js → TextViewer-C-ciXmbv.js} +1 -1
  25. package/dist/ai.d.ts +2 -2
  26. package/dist/ai.js +2 -2
  27. package/dist/component-status.js +16 -16
  28. package/dist/experimental.d.ts +5 -5
  29. package/dist/experimental.js +7 -7
  30. package/dist/{exports-4R3tYgiD.d.ts → exports-uEdbdS0t.d.ts} +32 -32
  31. package/dist/f0.d.ts +3 -3
  32. package/dist/f0.js +7 -7
  33. package/dist/{highlight-BjHRPWgX.js → highlight-CLTEoOBu.js} +1 -1
  34. package/dist/{index-MOV0Rv_v.d.ts → index-CeS2Wdhj.d.ts} +23 -21
  35. package/dist/{maplibre-rUroLoQR.js → maplibre-53AFhR3J.js} +1 -1
  36. package/dist/{pdfWorker-DOSf7ZRZ.js → pdfWorker-CbtWjaTA.js} +1 -1
  37. package/dist/styles.css +1 -1
  38. package/dist/{types-BUdIuwt4.d.ts → types-BY2VUBWt.d.ts} +24 -3
  39. package/package.json +1 -1
  40. package/dist/F0AudioPlayer-D_i4pruQ.js +0 -2
  41. package/dist/F0VideoPlayer-Cs4ZJlbl.js +0 -1
@@ -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-MOV0Rv_v.js";
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";
@@ -5167,6 +5167,12 @@ interface TableHeadProps {
5167
5167
  * while never shrinking below this value.
5168
5168
  */
5169
5169
  minWidth?: ColumnWidth;
5170
+ /**
5171
+ * Optional maximum width for the header cell, in pixels. Lets a column
5172
+ * without a fixed `width` size to its content up to this value; a longer
5173
+ * label truncates with an ellipsis. Ignored when `width` is a number.
5174
+ */
5175
+ maxWidth?: number;
5170
5176
  /**
5171
5177
  * When true, the header cell will stick in the specified position when scrolling horizontally
5172
5178
  * @default undefined
@@ -5231,7 +5237,7 @@ interface TableHeadProps {
5231
5237
  */
5232
5238
  colSpan?: number;
5233
5239
  }
5234
- declare function TableHead({ children, width, minWidth, sortState, onSortClick, onClick, info, infoIcon, sticky, hidden, highlighted, align, className, colSpan }: TableHeadProps): import("react").JSX.Element;
5240
+ declare function TableHead({ children, width, minWidth, maxWidth, sortState, onSortClick, onClick, info, infoIcon, sticky, hidden, highlighted, align, className, colSpan }: TableHeadProps): import("react").JSX.Element;
5235
5241
  //#endregion
5236
5242
  //#region src/addons/data-collection/OneDataCollection/propertyTypes.d.ts
5237
5243
  type RendererDefinition = ValueDisplayRendererDefinition;
@@ -5929,9 +5935,15 @@ type WithOptionalSorting<R extends RecordType, Sortings extends SortingsDefiniti
5929
5935
  * `width` that should not shrink below a given size.
5930
5936
  */
5931
5937
  minWidth?: number;
5938
+ /**
5939
+ * Optional maximum width for the column in pixels. Without a fixed `width`,
5940
+ * the column sizes to its content between `minWidth` and this value, and
5941
+ * text past it truncates with an ellipsis. Ignored when `width` is set.
5942
+ */
5943
+ maxWidth?: number;
5932
5944
  };
5933
5945
  type ColId = string;
5934
- type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth"> & {
5946
+ type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth" | "maxWidth"> & {
5935
5947
  /**
5936
5948
  * Optional summary configuration for this column
5937
5949
  * References a key in the Summaries definition, similar to how sorting works
@@ -7108,6 +7120,15 @@ interface F0RichTextEditorProps {
7108
7120
  title: string;
7109
7121
  height?: heightType;
7110
7122
  plainHtmlMode?: boolean;
7123
+ /**
7124
+ * Only offers formats Markdown can keep (no underline, alignment, colour,
7125
+ * font size, indentation, highlight, task lists or mentions). Any content
7126
+ * loaded into the editor (initial, pasted, set through the ref or returned
7127
+ * by AI) loses those formats; the onChange emitted on mount already carries
7128
+ * the initial content without them. Set it when the editor mounts: changing
7129
+ * it afterwards is not supported.
7130
+ */
7131
+ isMarkdownOnly?: boolean;
7111
7132
  fullScreenMode?: boolean;
7112
7133
  onFullscreenChange?: (fullscreen: boolean) => void;
7113
7134
  /** Whether the editor is disabled */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "12.18.0",
3
+ "version": "12.20.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -1,2 +0,0 @@
1
- export { vi as F0AudioPlayer } from "./F0CanvasPanel-BchoElHd.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-B24WPRXX.js";