@factorialco/f0-react 12.17.0 → 12.18.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 (37) hide show
  1. package/dist/{ArchiveThumbnail-dGuKclaw.js → ArchiveThumbnail-BLELkkQj.js} +1 -1
  2. package/dist/{ArchiveViewer-D4fZ2Zko.js → ArchiveViewer-BAvVk82B.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-ZUy4oL4n.js → ChatPostComposerDialog-B3roGLPX.js} +2 -2
  4. package/dist/{CoachmarkProvider-Bui0J43V.js → CoachmarkProvider-B9fuRkcm.js} +20122 -20122
  5. package/dist/{CodeThumbnail-BN74kiZ4.js → CodeThumbnail-CDxjPEFC.js} +1 -1
  6. package/dist/{CodeViewer-DAISBEVU.js → CodeViewer-DHftBVCl.js} +3 -3
  7. package/dist/{DocumentToolbar-DY0Zl0N_.js → DocumentToolbar-P4c9LdMj.js} +1 -1
  8. package/dist/{DocxViewer-CU-h8JZo.js → DocxViewer-hhB0P1oY.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-1sgWr47b.js → F0AiProcessingOverlay-hx671vvU.js} +1 -1
  10. package/dist/{F0Alert--45qrdm9.js → F0Alert-B3h-jG8M.js} +1 -1
  11. package/dist/F0AudioPlayer-D_i4pruQ.js +2 -0
  12. package/dist/{F0CanvasPanel-B07KPl9L.js → F0CanvasPanel-BchoElHd.js} +98 -74
  13. package/dist/{F0DocumentViewer-gfD2E9-m.js → F0DocumentViewer-BTWC4jEX.js} +1 -1
  14. package/dist/{F0DocumentViewer-CPu9X2o1.js → F0DocumentViewer-BxKE1PvK.js} +2 -2
  15. package/dist/{F0Map-CpggFT94.js → F0Map-B-F66Wyh.js} +17 -17
  16. package/dist/{F0VideoPlayer-C1JRJ63P.js → F0VideoPlayer-B24WPRXX.js} +1 -1
  17. package/dist/F0VideoPlayer-Cs4ZJlbl.js +1 -0
  18. package/dist/{HtmlViewer-D6_vKugG.js → HtmlViewer-Km-KBQZ2.js} +3 -3
  19. package/dist/{Map-BSvthUb7.js → Map-DBfHyif3.js} +3 -3
  20. package/dist/{PdfThumbnail-CXumcn98.js → PdfThumbnail-iUruDcW_.js} +1 -1
  21. package/dist/{PdfViewer-Pdk37Dts.js → PdfViewer-Cpb0Lzp1.js} +2 -2
  22. package/dist/{SheetViewer-BvAA9h38.js → SheetViewer-Ddx1J8UK.js} +2 -2
  23. package/dist/{TextViewer-D9CCbblP.js → TextViewer-Dj8YeCwg.js} +1 -1
  24. package/dist/ai.js +2 -2
  25. package/dist/component-status.js +1 -1
  26. package/dist/experimental.d.ts +26 -1
  27. package/dist/experimental.js +4539 -4464
  28. package/dist/f0.d.ts +1 -1
  29. package/dist/f0.js +157 -157
  30. package/dist/{highlight-cuPZlWw_.js → highlight-BjHRPWgX.js} +1 -1
  31. package/dist/{maplibre-D0TBtDi0.js → maplibre-rUroLoQR.js} +1 -1
  32. package/dist/{pdfWorker-B3PnBrSO.js → pdfWorker-DOSf7ZRZ.js} +1 -1
  33. package/dist/styles.css +1 -1
  34. package/dist/{types-BdObZULx.d.ts → types-BUdIuwt4.d.ts} +9 -0
  35. package/package.json +1 -1
  36. package/dist/F0AudioPlayer-ZqghWPaS.js +0 -2
  37. package/dist/F0VideoPlayer-BqAcQLm4.js +0 -1
@@ -3031,6 +3031,8 @@ declare const dialogPositions: readonly ["center", "left", "right", "fullscreen"
3031
3031
  type DialogPosition = (typeof dialogPositions)[number];
3032
3032
  declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
3033
3033
  type DialogWidth = (typeof dialogWidths)[number];
3034
+ declare const dialogMaxHeights: readonly ["sm", "md", "lg"];
3035
+ type DialogMaxHeight = (typeof dialogMaxHeights)[number];
3034
3036
  interface F0DialogPrimaryAction {
3035
3037
  label: string;
3036
3038
  icon?: IconType;
@@ -3185,6 +3187,13 @@ type F0DialogInternalProps = {
3185
3187
  asBottomSheetInMobile?: boolean;
3186
3188
  position?: DialogPosition;
3187
3189
  width?: DialogWidth;
3190
+ /**
3191
+ * The most a centred dialog grows to before its content scrolls under the
3192
+ * header, for one that would otherwise stretch to the window's height: a
3193
+ * long list reads better in a steady box than in one as tall as the screen.
3194
+ * Never taller than the window. Unset, it grows to the window's height.
3195
+ */
3196
+ maxHeight?: DialogMaxHeight;
3188
3197
  primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
3189
3198
  secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
3190
3199
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "12.17.0",
3
+ "version": "12.18.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-B07KPl9L.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-C1JRJ63P.js";