@factorialco/f0-react 13.12.0 → 14.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.
Files changed (54) hide show
  1. package/dist/{ArchiveThumbnail-BKLyYbOq.js → ArchiveThumbnail-CWbHqWac.js} +1 -1
  2. package/dist/{ArchiveViewer-Cz5T16vE.js → ArchiveViewer-BoRgb-kZ.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-C67F4elc.js → ChatPostComposerDialog-D5bqpNEA.js} +2 -2
  4. package/dist/{CoachmarkProvider-BuWFPpmG.js → CoachmarkProvider-D-MDnUFV.js} +23651 -23539
  5. package/dist/{CodeThumbnail-D-wJheIP.js → CodeThumbnail-Bj-Abcwc.js} +1 -1
  6. package/dist/{CodeViewer-gDQOS6iI.js → CodeViewer-wZ8404xZ.js} +4 -4
  7. package/dist/{DocumentToolbar-DLK2n_-s.js → DocumentToolbar-BzEUGQ-2.js} +4 -4
  8. package/dist/{DocxViewer-9hhmeMbJ.js → DocxViewer-iewvkeU1.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-CbHR_I3P.js → F0AiProcessingOverlay-BwpYdSpL.js} +172 -172
  10. package/dist/{F0Alert-BibfCJRG.js → F0Alert-B4OGXz1X.js} +3 -3
  11. package/dist/F0AudioPlayer-DcdzvgBI.js +2 -0
  12. package/dist/{F0Button-Cql35ZB4.js → F0Button-DliApWoo.js} +5764 -5335
  13. package/dist/{F0CanvasPanel-DjbzJ4if.js → F0CanvasPanel-D8tYmeE6.js} +9616 -9564
  14. package/dist/{F0DocumentViewer-DdQaLXAs.js → F0DocumentViewer-BVMBxQHk.js} +2 -2
  15. package/dist/{F0DocumentViewer-Biac8pVX.js → F0DocumentViewer-bdMJ__pm.js} +1 -1
  16. package/dist/{F0Map-BgIwfjqD.js → F0Map-CFrkRgDC.js} +56 -56
  17. package/dist/{F0Select-qyqqfXH7.js → F0Select-DLK87Tv6.js} +187 -187
  18. package/dist/{F0Text-DulwHmaW.js → F0Text-Cb-FVBzx.js} +1 -1
  19. package/dist/F0VideoPlayer-BmIMWeWW.js +1 -0
  20. package/dist/{F0VideoPlayer-BbmoKHh4.js → F0VideoPlayer-Dlwo-iuI.js} +2 -2
  21. package/dist/{HtmlThumbnail-lVNYvRe4.js → HtmlThumbnail-B_9tldlm.js} +1 -1
  22. package/dist/{HtmlViewer-DTorB5Ni.js → HtmlViewer-Bq-aon1a.js} +6 -6
  23. package/dist/LayoutGroup-gwem4ADm.js +57 -0
  24. package/dist/{Map-B6eQeS3P.js → Map-C21lIrof.js} +7 -7
  25. package/dist/{PdfThumbnail-Ds_9D-7B.js → PdfThumbnail-Bb-KOb3F.js} +1 -1
  26. package/dist/{PdfViewer-e2eSdSp-.js → PdfViewer-Xiqq3HFU.js} +6 -6
  27. package/dist/{SandboxedHtmlFrame-C6RrQ2yQ.js → SandboxedHtmlFrame-CWcJ_fWA.js} +1 -1
  28. package/dist/{SheetViewer-CSkVsC3-.js → SheetViewer-DH28ndQ_.js} +3 -3
  29. package/dist/{TextViewer-10UG7pXL.js → TextViewer-DjfPIFEN.js} +2 -2
  30. package/dist/__vite-browser-external-beAkYNVS.js +7 -0
  31. package/dist/ai.d.ts +2 -2
  32. package/dist/ai.js +3 -3
  33. package/dist/component-status.js +1 -1
  34. package/dist/{dist-BJcZ_X3W.js → dist-2k-bLufS.js} +1 -1
  35. package/dist/experimental.d.ts +3 -3
  36. package/dist/experimental.js +502 -502
  37. package/dist/{exports-B2pLsxhF.d.ts → exports-CXZ5MFdq.d.ts} +1 -1
  38. package/dist/f0.d.ts +3 -3
  39. package/dist/f0.js +202 -202
  40. package/dist/{highlight-CKsTraEJ.js → highlight-zua_Bm-I.js} +1 -1
  41. package/dist/{maplibre-DZrUxuUr.js → maplibre-D1XfKyDL.js} +1 -1
  42. package/dist/pdfWorker-CB3PMTjf.js +12788 -0
  43. package/dist/pdfWorker.css +1 -1
  44. package/dist/{scrollarea-NoqKFiLU.js → scrollarea-B6RGaKme.js} +1 -1
  45. package/dist/{toolbarStyles-BgK2AYri.js → toolbarStyles-Bm2pq-KH.js} +1 -1
  46. package/dist/{types-BD4eJ3Ek.d.ts → types-CntCsM69.d.ts} +3 -18
  47. package/dist/{useData-DPmbJ0Mf.js → useData-CuyhVJ87.js} +2 -2
  48. package/icons/animated/PalmTree.js +2 -2
  49. package/package.json +7 -6
  50. package/dist/F0AudioPlayer-CWwt7LV6.js +0 -2
  51. package/dist/F0VideoPlayer-y0zqezdL.js +0 -1
  52. package/dist/LayoutGroup-OL4BUDqc.js +0 -57
  53. package/dist/pdfWorker-Dhn7-lDq.js +0 -11908
  54. /package/dist/{index-D87y-J1D.d.ts → index-BRJdHLME.d.ts} +0 -0
@@ -1 +1 @@
1
- :root{--react-pdf-annotation-layer:1;--annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color:Highlight;--input-focus-outline:1px solid Canvas;--input-unfocused-border-color:transparent;--input-disabled-border-color:transparent;--input-hover-border-color:black;--link-outline:none}@media screen and (forced-colors:active){:root{--input-focus-border-color:CanvasText;--input-unfocused-border-color:ActiveText;--input-disabled-border-color:GrayText;--input-hover-border-color:Highlight;--link-outline:1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selecteditem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert();backdrop-filter:invert()}}.annotationLayer{pointer-events:none;transform-origin:0 0;z-index:3;position:absolute;top:0;left:0}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg)translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg)translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg)translateY(-100%)}.annotationLayer canvas{width:100%;height:100%;position:absolute}.annotationLayer section{text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0;margin:0;position:absolute}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{width:100%;height:100%;font-size:1em;position:absolute;top:0;left:0}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;vertical-align:top;width:100%;height:100%;margin:0}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{border:2px solid var(--input-disabled-border-color);cursor:not-allowed;background:0 0}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);background:0 0;border-radius:2px}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:#0000;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);border-radius:2px}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{content:"";background-color:canvastext;display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{width:1px;height:80%;left:45%}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;width:50%;height:50%;top:20%;left:30%}.annotationLayer .textWidgetAnnotation input.comb{padding-left:2px;padding-right:0;font-family:monospace}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{width:100%;height:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none;position:absolute}.annotationLayer .popup{max-width:calc(180px * var(--scale-factor));box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;background-color:#ff9;position:absolute}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{margin-left:calc(5px * var(--scale-factor));display:inline-block}.annotationLayer .popupContent{margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor));border-top:1px solid #333}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .annotationTextContent{opacity:0;color:#0000;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;position:absolute}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@media screen and (forced-colors:active){:root{--highlight-bg-color:Highlight;--highlight-selected-bg-color:ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg)translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg)translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg)translate(-100%)}.textLayer{text-align:initial;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2;line-height:1;position:absolute;inset:0;overflow:hidden}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;margin:0;position:absolute}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:0 0}.textLayer .endOfContent{z-index:-1;cursor:default;-webkit-user-select:none;user-select:none;display:block;position:absolute;inset:100% 0 0}.textLayer .endOfContent.active{top:0}
1
+ :root{--react-pdf-annotation-layer:1;--annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color:Highlight;--input-focus-outline:1px solid Canvas;--input-unfocused-border-color:transparent;--input-disabled-border-color:transparent;--input-hover-border-color:black;--link-outline:none}@media screen and (forced-colors:active){:root{--input-focus-border-color:CanvasText;--input-unfocused-border-color:ActiveText;--input-disabled-border-color:GrayText;--input-hover-border-color:Highlight;--link-outline:1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selecteditem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert();backdrop-filter:invert()}}.annotationLayer{pointer-events:none;transform-origin:0 0;z-index:3;position:absolute;top:0;left:0}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg)translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg)translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg)translateY(-100%)}.annotationLayer canvas{width:100%;height:100%;position:absolute}.annotationLayer section{text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0;margin:0;position:absolute}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{width:100%;height:100%;font-size:1em;position:absolute;top:0;left:0}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;vertical-align:top;width:100%;height:100%;margin:0}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{border:2px solid var(--input-disabled-border-color);cursor:not-allowed;background:0 0}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);background:0 0;border-radius:2px}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:#0000;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);border-radius:2px}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{content:"";background-color:canvastext;display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{width:1px;height:80%;left:45%}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;width:50%;height:50%;top:20%;left:30%}.annotationLayer .textWidgetAnnotation input.comb{padding-left:2px;padding-right:0;font-family:monospace}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{width:100%;height:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none;position:absolute}.annotationLayer .popup{max-width:calc(180px * var(--scale-factor));box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;background-color:#ff9;position:absolute}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{margin-left:calc(5px * var(--scale-factor));display:inline-block}.annotationLayer .popupContent{margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor));border-top:1px solid #333}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .annotationTextContent{opacity:0;color:#0000;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;position:absolute}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@media screen and (forced-colors:active){:root{--highlight-bg-color:Highlight;--highlight-selected-bg-color:ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg)translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg)translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg)translate(-100%)}.textLayer{text-align:initial;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2;line-height:1;position:absolute;inset:0;overflow:hidden}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;margin:0;position:absolute}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:0 0}.textLayer .endOfContent{z-index:-1;cursor:default;-webkit-user-select:none;user-select:none;display:block;position:absolute;inset:100% 0 0}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{width:0;height:0;display:none;position:absolute;top:0;left:0}
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { i as t, r as n } from "./F0Button-Cql35ZB4.js";
2
+ import { i as t, r as n } from "./F0Button-DliApWoo.js";
3
3
  import { o as r } from "./F0Icon-Dw-YD4Mz.js";
4
4
  import { E as i, O as a, T as o, b as s, p as c, w as l, y as u } from "./popover-Cd6ZZfjD.js";
5
5
  import * as d from "react";
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { t } from "./F0Button-Cql35ZB4.js";
2
+ import { t } from "./F0Button-DliApWoo.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,9 +1,10 @@
1
- import { $a as F0IconProps, Aa as CountryCode, Ca as TeamAvatarVariant, Cn as TagVariant, Hr as StatusVariant, Ja as NewColor, Ka as ModuleId, Qn as ChartColorToken, Sa as PersonAvatarVariant, Tr as F0ButtonProps, Ur as Variant, Wt as TranscribeFn, Za as DistributiveOmit$1, _n as CardMetadata, _r as DropdownItemObject, cn as CardImageAspectRatio, eo as IconType, hr as DropdownItem, io as WithDataTestIdReturnType, ln as CardImageFit, ma as AvatarVariant, mr as DropdownInternalProps, no as WithDataTestIdProps, or as CardAvatarVariant, pa as AvatarAction, pr as DropdownContentVariant, sr as AlertAvatarProps, ua as DataAttributes, un as CardImageSize, va as CompanyAvatarVariant, xa as IconAvatarVariant, yn as ValueDisplayRendererDefinition, yr as DropdownItemSeparator } from "./index-D87y-J1D.js";
1
+ import { $a as F0IconProps, Aa as CountryCode, Ca as TeamAvatarVariant, Cn as TagVariant, Hr as StatusVariant, Ja as NewColor, Ka as ModuleId, Qn as ChartColorToken, Sa as PersonAvatarVariant, Tr as F0ButtonProps, Ur as Variant, Wt as TranscribeFn, Za as DistributiveOmit$1, _n as CardMetadata, _r as DropdownItemObject, cn as CardImageAspectRatio, eo as IconType, hr as DropdownItem, io as WithDataTestIdReturnType, ln as CardImageFit, ma as AvatarVariant, mr as DropdownInternalProps, no as WithDataTestIdProps, or as CardAvatarVariant, pa as AvatarAction, pr as DropdownContentVariant, sr as AlertAvatarProps, ua as DataAttributes, un as CardImageSize, va as CompanyAvatarVariant, xa as IconAvatarVariant, yn as ValueDisplayRendererDefinition, yr as DropdownItemSeparator } from "./index-BRJdHLME.js";
2
2
  import { n as TranslationsType } from "./i18n-provider-defaults-BHAedisF.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";
6
6
  import { Observable } from "zen-observable-ts";
7
+ import { Variants } from "motion/react";
7
8
  import * as RechartsPrimitive from "recharts";
8
9
  import "libphonenumber-js";
9
10
  import "@xyflow/react";
@@ -1512,23 +1513,7 @@ interface AnimationVariantsOptions {
1512
1513
  duration?: number;
1513
1514
  maxDelay?: number;
1514
1515
  }
1515
- declare const getAnimationVariants: (options?: AnimationVariantsOptions) => {
1516
- hidden: {
1517
- opacity: number;
1518
- y: number;
1519
- };
1520
- visible: (i: number) => {
1521
- opacity: number;
1522
- y: number;
1523
- transition: {
1524
- delay: number;
1525
- duration: number;
1526
- type: string;
1527
- stiffness: number;
1528
- damping: number;
1529
- };
1530
- };
1531
- };
1516
+ declare const getAnimationVariants: (options?: AnimationVariantsOptions) => Variants;
1532
1517
  //#endregion
1533
1518
  //#region src/blocks/datasource/useSelectable/typings.d.ts
1534
1519
  interface AllSelectionStatus {
@@ -2,10 +2,10 @@ import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { a as t, i as n, r } from "./i18n-provider-C_jciu_6.js";
3
3
  import { n as i, t as a } from "./skeleton-BEiQvWC1.js";
4
4
  import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
5
- import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-Cql35ZB4.js";
5
+ import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-DliApWoo.js";
6
6
  import { o as p, r as m, t as h } from "./F0Icon-Dw-YD4Mz.js";
7
7
  import { A as g, E as _, H as v, M as y, O as b, T as x, a as ee, b as S, i as te, k as C, t as w } from "./popover-Cd6ZZfjD.js";
8
- import { n as T, r as E } from "./scrollarea-NoqKFiLU.js";
8
+ import { n as T, r as E } from "./scrollarea-B6RGaKme.js";
9
9
  import { t as D } from "./dist-Cuwaibqg.js";
10
10
  import { t as ne } from "./ownValue-D4uSXt0d.js";
11
11
  import * as O from "react";
@@ -7,12 +7,12 @@ const defaultTransition = {
7
7
  };
8
8
  const treeVariants = {
9
9
  normal: {
10
- skew: 0,
10
+ skewX: 0,
11
11
  originX: "50%",
12
12
  originY: "100%",
13
13
  },
14
14
  animate: {
15
- skew: [0, 8, -8, 0],
15
+ skewX: [0, 8, -8, 0],
16
16
  },
17
17
  };
18
18
  const palmVariants = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "13.12.0",
3
+ "version": "14.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -182,16 +182,17 @@
182
182
  "maplibre-gl": "^5.24.0",
183
183
  "markdown-to-jsx": "^9.3.3",
184
184
  "mockdate": "^3.0.5",
185
+ "motion": "^12.43.0",
185
186
  "npm-run-all": "^4.1.5",
186
187
  "oxc-parser": "^0.155.0",
187
188
  "oxfmt": "^0.26.0",
188
189
  "oxlint": "^1.33.0",
189
190
  "oxlint-tsgolint": "7.0.2001",
190
- "pdfjs-dist": "^3.11.174",
191
+ "pdfjs-dist": "4.8.69",
191
192
  "playwright": "^1.57.0",
192
193
  "postcss": "^8.5.3",
193
194
  "postcss-import": "^16.1.0",
194
- "react-pdf": "^8.0.2",
195
+ "react-pdf": "^9.2.1",
195
196
  "react-router-dom": "^7.18.4",
196
197
  "react-syntax-highlighter": "^15.6.1",
197
198
  "rolldown": "^1.2.14",
@@ -234,15 +235,15 @@
234
235
  "livekit-client": "^2.17.0",
235
236
  "lucide-react": "^0.383.0",
236
237
  "maplibre-gl": "^5.24.0",
237
- "motion": "^12",
238
+ "motion": "^12.34.5",
238
239
  "nanoid": "^5.0.7",
239
- "pdfjs-dist": "^3.11.174",
240
+ "pdfjs-dist": "4.8.69",
240
241
  "react": "18.3.1",
241
242
  "react-day-picker": "^8.10.1",
242
243
  "react-dom": "18.3.1",
243
244
  "react-hook-form": "^7.52.1",
244
245
  "react-masonry": "^1.0.7",
245
- "react-pdf": "^8.0.2",
246
+ "react-pdf": "^9.2.1",
246
247
  "recharts": "^2.12.7",
247
248
  "ress": "^5.0.2",
248
249
  "tailwind-merge": "^2.3.0",
@@ -1,2 +0,0 @@
1
- export { Ai as F0AudioPlayer } from "./F0CanvasPanel-DjbzJ4if.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-BbmoKHh4.js";
@@ -1,57 +0,0 @@
1
- import { At as e, Ot as t, St as n } from "./F0Button-Cql35ZB4.js";
2
- import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
3
- import { jsx as l } from "react/jsx-runtime";
4
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
5
- var u = r(null);
6
- //#endregion
7
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-is-mounted.mjs
8
- function d() {
9
- let e = s(!1);
10
- return t(() => (e.current = !0, () => {
11
- e.current = !1;
12
- }), []), e;
13
- }
14
- //#endregion
15
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-force-update.mjs
16
- function f() {
17
- let e = d(), [t, r] = c(0), a = i(() => {
18
- e.current && r(t + 1);
19
- }, [t]);
20
- return [i(() => n.postRender(a), [a]), t];
21
- }
22
- //#endregion
23
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/group.mjs
24
- var p = (e) => !e.isLayoutDirty && e.willUpdate(!1);
25
- function m() {
26
- let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(p);
27
- return {
28
- add: (r) => {
29
- e.add(r), t.set(r, r.addEventListener("willUpdate", n));
30
- },
31
- remove: (r) => {
32
- e.delete(r);
33
- let i = t.get(r);
34
- i && (i(), t.delete(r)), n();
35
- },
36
- dirty: n
37
- };
38
- }
39
- //#endregion
40
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/components/LayoutGroup/index.mjs
41
- var h = (e) => e === !0, g = (e) => h(e === !0) || e === "id", _ = ({ children: t, id: n, inherit: r = !0 }) => {
42
- let i = a(e), c = a(u), [d, p] = f(), _ = s(null), v = i.id || c;
43
- _.current === null && (g(r) && v && (n = n ? v + "-" + n : v), _.current = {
44
- id: n,
45
- group: h(r) && i.group || m()
46
- });
47
- let y = o(() => ({
48
- ..._.current,
49
- forceRender: d
50
- }), [p]);
51
- return l(e.Provider, {
52
- value: y,
53
- children: t
54
- });
55
- };
56
- //#endregion
57
- export { _ as t };