@factorialco/f0-react 1.330.2 → 1.332.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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as A, jsx as s, Fragment as et } from "react/jsx-runtime";
2
- import { au as h4, av as rt, aw as d4, ax as C4, ay as Dn, az as v4, aA as tt, E as g4, aB as p4, aC as x4, aD as In, aE as w4, K as Bn, aF as m4, aG as Pn, aH as L4, e as k4, aI as E4, aJ as _4, aK as T4, aL as S4, aM as F4, aN as Hn, aO as A4, aP as M4, aQ as y4, aR as R4, aS as O4, d as N4, aT as D4, aU as I4, aV as B4, aW as P4, aX as H4, aY as V4, aZ as b4, a_ as Vn, a$ as U4, M as $4, b0 as j4, b1 as W4, c as E1, m as N1, a as Z4, u as Ae, F as We, L as c0, b2 as G4, b3 as X4, b4 as z4, b5 as nt, b6 as K4, b7 as Y4, b8 as J4, b9 as q4, aq as Q4, ba as l0, A as Lr, a9 as e6, B as rr, bb as r6, a5 as t6, bc as n6, bd as o6, f as ot } from "./index-DKqhBrTp.js";
2
+ import { au as h4, av as rt, aw as d4, ax as C4, ay as Dn, az as v4, aA as tt, E as g4, aB as p4, aC as x4, aD as In, aE as w4, K as Bn, aF as m4, aG as Pn, aH as L4, e as k4, aI as E4, aJ as _4, aK as T4, aL as S4, aM as F4, aN as Hn, aO as A4, aP as M4, aQ as y4, aR as R4, aS as O4, d as N4, aT as D4, aU as I4, aV as B4, aW as P4, aX as H4, aY as V4, aZ as b4, a_ as Vn, a$ as U4, M as $4, b0 as j4, b1 as W4, c as E1, m as N1, a as Z4, u as Ae, F as We, L as c0, b2 as G4, b3 as X4, b4 as z4, b5 as nt, b6 as K4, b7 as Y4, b8 as J4, b9 as q4, aq as Q4, ba as l0, A as Lr, a9 as e6, B as rr, bb as r6, a5 as t6, bc as n6, bd as o6, f as ot } from "./index-DegD6xrc.js";
3
3
  import { useCopilotChatInternal as ze, useCopilotContext as bn, useCopilotAction as K0, CopilotKit as i6 } from "@copilotkit/react-core";
4
4
  import { Markdown as a6, useChatContext as s6, CopilotSidebar as c6 } from "@copilotkit/react-ui";
5
5
  import * as de from "react";
@@ -22110,17 +22110,18 @@ export {
22110
22110
  a7 as ac,
22111
22111
  B8 as ad,
22112
22112
  P7 as ae,
22113
- C6 as af,
22114
- e7 as ag,
22115
- S3 as ah,
22116
- c3 as ai,
22117
- go as aj,
22118
- Li as ak,
22119
- wi as al,
22120
- Gn as am,
22121
- y9 as an,
22122
- ov as ao,
22123
- $2 as ap,
22113
+ _9 as af,
22114
+ C6 as ag,
22115
+ e7 as ah,
22116
+ S3 as ai,
22117
+ c3 as aj,
22118
+ go as ak,
22119
+ Li as al,
22120
+ wi as am,
22121
+ Gn as an,
22122
+ y9 as ao,
22123
+ ov as ap,
22124
+ $2 as aq,
22124
22125
  _v as b,
22125
22126
  Ev as c,
22126
22127
  Sv as d,
package/dist/ai.d.ts CHANGED
@@ -533,6 +533,18 @@ export declare const defaultTranslations: {
533
533
  readonly greaterThan: "It should be greater than {{min}}";
534
534
  readonly lessThan: "It should be less than {{max}}";
535
535
  };
536
+ readonly imageUpload: {
537
+ readonly uploading: "Uploading...";
538
+ readonly uploadError: "Upload failed";
539
+ readonly insertImage: "Image";
540
+ readonly deleteImage: "Delete";
541
+ readonly errors: {
542
+ readonly fileTooLarge: "The file is too large";
543
+ readonly invalidType: "Invalid file type. Only images are allowed";
544
+ readonly uploadFailed: "Failed to upload image. Please try again";
545
+ readonly dismiss: "Dismiss";
546
+ };
547
+ };
536
548
  readonly coCreationForm: {
537
549
  readonly actions: {
538
550
  readonly actions: "Actions";
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-DNIBU8bk.js";
2
- import { I as f, u as h } from "./index-DKqhBrTp.js";
1
+ import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-C0aF0qGL.js";
2
+ import { I as f, u as h } from "./index-DegD6xrc.js";
3
3
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
4
4
  export {
5
5
  i as ActionItem,
@@ -1 +1 @@
1
- .mention{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500}.mention:focus{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.preserved-selection{background-color:hsl(var(--selected-60) / .2)}.rich-text-editor-container *::-moz-selection{background-color:transparent!important}.rich-text-editor-container *::selection{background-color:transparent!important}.rich-text-editor-container::-moz-selection{background-color:transparent!important}.rich-text-editor-container::selection{background-color:transparent!important}.rich-text-editor-container p,.rich-text-display-container p{position:relative;margin:0 0 8px}.rich-text-editor-container p:last-child,.rich-text-display-container p:last-child{margin-bottom:0}.rich-text-editor-container h1,.rich-text-display-container h1{margin:0 0 12px;padding:0;font-size:1.625rem;line-height:2rem;letter-spacing:-.01em;font-weight:600}.rich-text-editor-container h2,.rich-text-display-container h2{margin:0 0 10px;padding:0;font-size:1.375rem;line-height:1.75rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container h3,.rich-text-display-container h3,.rich-text-editor-container h4,.rich-text-display-container h4{margin:0 0 10px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container ul,.rich-text-display-container ul{margin:0 0 10px;list-style:disc}.rich-text-editor-container ol,.rich-text-display-container ol{margin:0 0 10px;list-style-type:decimal}.rich-text-editor-container a,.rich-text-display-container a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.rich-text-editor-container strong,.rich-text-display-container strong{font-weight:600}.rich-text-editor-container em,.rich-text-display-container em{font-style:italic}.rich-text-editor-container u,.rich-text-display-container u{text-decoration-line:underline}.rich-text-editor-container s,.rich-text-display-container s{text-decoration-line:line-through}.rich-text-editor-container .f1-bullet-list,.rich-text-display-container .f1-bullet-list{list-style-type:disc}.rich-text-editor-container .f1-ordered-list,.rich-text-display-container .f1-ordered-list{list-style-type:decimal}.rich-text-editor-container ul,.rich-text-editor-container ol,.rich-text-display-container ul,.rich-text-display-container ol{padding-left:20px}.rich-text-editor-container .f1-ordered-list p,.rich-text-display-container .f1-ordered-list p,.rich-text-editor-container .f1-bullet-list p,.rich-text-display-container .f1-bullet-list p{margin-left:8px}.rich-text-editor-container li,.rich-text-display-container li{margin-bottom:8px}.rich-text-editor-container pre,.rich-text-display-container pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.rich-text-editor-container code,.rich-text-display-container code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.rich-text-editor-container blockquote,.rich-text-display-container blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.ProseMirror:focus,.rich-text-display-container:focus{outline:2px solid transparent;outline-offset:2px}.rich-text-editor-container hr,.rich-text-display-container hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.rich-text-editor-container mark,.rich-text-display-container mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.rich-text-editor-container p:empty:before,.rich-text-display-container p:empty:before{content:" "}.rich-text-editor-container ul[data-type=taskList],.rich-text-display-container ul[data-type=taskList]{padding-left:0}.shadow-editor-tools{box-shadow:0 -4px 20px #0d162514}.scrollbar-macos{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar{width:8px}.scrollbar-macos::-webkit-scrollbar-track{background:var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}.scrollbar-macos::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}em-emoji-picker{--background-rgb: 255, 255, 255;--border-radius: 12px;--category-icon-size: 20px;--color-border-over: hsl(var(--neutral-10));--color-border: hsl(var(--neutral-10));--font-size: 14px;--rgb-accent: 1, 22, 55;--rgb-background: 255, 255, 255;--rgb-color: 1, 22, 55;--rgb-input: 255, 255, 255;width:372px!important;max-height:518px!important;--shadow: 0px 4px 20px 0px #0d162514}.FactorialOneTextEditor{line-height:1.5rem}.FactorialOneTextEditor .TextEditorTheme__ltr{text-align:left}.FactorialOneTextEditor .TextEditorTheme__rtl{text-align:right}.FactorialOneTextEditor .TextEditorTheme__paragraph{position:relative;margin:0 0 8px}.FactorialOneTextEditor .TextEditorTheme__paragraph:last-child{margin-bottom:0}.FactorialOneTextEditor .TextEditorTheme__quote{margin:0 0 10px 20px;border-bottom-width:4px;padding-left:16px;color:#65676b;border-left-color:#ced0d4}.FactorialOneTextEditor .TextEditorTheme__h1{margin:0 0 12px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__h2{margin:10px 0 0;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.FactorialOneTextEditor .TextEditorTheme__h3{margin:10px 0 0;padding:0;font-size:.875rem;line-height:1.25rem;letter-spacing:-.005em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textBold{font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textItalic{font-style:italic}.FactorialOneTextEditor .TextEditorTheme__textUnderline{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__textStrikethrough{text-decoration-line:line-through}.FactorialOneTextEditor .TextEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.FactorialOneTextEditor .TextEditorTheme__textSubscript{vertical-align:sub!important}.FactorialOneTextEditor .TextEditorTheme__textSuperscript{vertical-align:super}.FactorialOneTextEditor .TextEditorTheme__textCode{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace}.FactorialOneTextEditor .TextEditorTheme__hashtag{border-radius:.375rem;background-color:hsl(var(--info-50) / .1);padding:2px;font-weight:500;color:hsl(var(--info-70));text-decoration-line:none}.FactorialOneTextEditor .TextEditorTheme__link{font-weight:500;color:hsl(var(--neutral-100));text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__link:hover{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__code{margin:8px 0;padding:8px 8px 8px 40px;background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;line-height:1.53;-moz-tab-size:2;-o-tab-size:2;tab-size:2;overflow-x:auto;position:relative}.FactorialOneTextEditor .TextEditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.FactorialOneTextEditor .TextEditorTheme__code:after{content:attr(data-highlight-language);top:0;right:3px;padding:3px;text-transform:uppercase;position:absolute;color:#00000080}.FactorialOneTextEditor .TextEditorTheme__characterLimit{display:inline;background-color:#fbb!important}.FactorialOneTextEditor .TextEditorTheme__ol1{margin:0 0 0 16px;padding:0}.FactorialOneTextEditor .TextEditorTheme__ol2{margin:0 0 0 16px;padding:0;list-style-type:upper-alpha}.FactorialOneTextEditor .TextEditorTheme__ol3{margin:0 0 0 16px;padding:0;list-style-type:lower-alpha}.FactorialOneTextEditor .TextEditorTheme__ol4{margin:0 0 0 16px;padding:0;list-style-type:upper-roman}.FactorialOneTextEditor .TextEditorTheme__ol5{margin:0 0 0 16px;padding:0;list-style-type:lower-roman}.FactorialOneTextEditor .TextEditorTheme__ul{margin:0 0 0 16px;padding:0;list-style:disc}.FactorialOneTextEditor .TextEditorTheme__tokenComment{color:#708090}.FactorialOneTextEditor .TextEditorTheme__tokenPunctuation{color:#999}.FactorialOneTextEditor .TextEditorTheme__tokenProperty{color:#905}.FactorialOneTextEditor.TextEditorTheme__tokenSelector{color:#690}.FactorialOneTextEditor .TextEditorTheme__tokenOperator{color:#9a6e3a}.FactorialOneTextEditor .TextEditorTheme__tokenAttr{color:#07a}.FactorialOneTextEditor .TextEditorTheme__tokenVariable{color:#e90}.FactorialOneTextEditor .TextEditorTheme__tokenFunction{color:#dd4a68}.FactorialOneTextEditor .TextEditorTheme__mark{padding:2px;background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3)}.FactorialOneTextEditor .TextEditorTheme__markOverlap{padding:2px;background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .TextEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}.FactorialOneTextEditor .TextEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .mention a,.FactorialOneTextEditor .mentioned a{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.FactorialOneTextEditor .mention:focus a,.FactorialOneTextEditor .mentioned:focus a{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.FactorialOneTextEditor .link_mentioned{text-decoration:none}._rfx31ssb:before{border-radius:50%}._15m6ys7w:before{border-color:var(--stroke-color)}._3l8810ly:before{border-width:var(--stroke-width)}._kzdanqa1:before{border-style:solid}._13y0usvi:before{box-sizing:border-box}._154ifghn{top:var(--line-main-axis-start)}._154ihv0e{top:var(--main-axis-offset)}._19wo70hn:before{bottom:var(--terminal-cross-axis-offset)}._1auk70hn:before{top:var(--terminal-cross-axis-offset)}._1aukuj5p:before{top:var(--terminal-main-axis-start)}._1bsb10ly{width:var(--stroke-width)}._1cs8stnw:before{position:absolute}._1e02fghn{inset-inline-start:var(--line-main-axis-start)}._1e0c1ule{display:block}._1kt9b3bt:before{content:""}._1ltvhv0e{left:var(--main-axis-offset)}._1mp4vjfa:before{width:var(--terminal-diameter)}._1pbykb7n{z-index:1}._1xi2hv0e{right:var(--main-axis-offset)}._4t3i10ly{height:var(--stroke-width)}._94n5hv0e{bottom:var(--main-axis-offset)}._94n5idpf{bottom:0}._bfhkys7w{background-color:var(--stroke-color)}._cfu11ld9:before{display:var(--terminal-display)}._kfgtvjfa:before{height:var(--terminal-diameter)}._kqswstnw{position:absolute}._lcxvglyw{pointer-events:none}._ooun70hn:before{right:var(--terminal-cross-axis-offset)}._qnec70hn:before{left:var(--terminal-cross-axis-offset)}._rjxpidpf{inset-inline-end:0}._z5wtuj5p:before{inset-inline-start:var(--terminal-main-axis-start)}.notes-text-editor-title::-moz-selection{background-color:hsl(var(--selected-50) / .2)}.preserved-selection,.notes-text-editor-title::selection{background-color:hsl(var(--selected-50) / .2)}.notes-text-editor *::-moz-selection{background-color:transparent!important}.notes-text-editor *::selection{background-color:transparent!important}.notes-text-editor p{position:relative;margin-bottom:8px;padding:0;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-.16px}.notes-text-editor p:last-child{margin-bottom:0}.notes-text-editor h1{margin-bottom:10px;padding:0;font-size:29px;font-weight:600;line-height:39px;letter-spacing:-.58px}.notes-text-editor h2{margin-bottom:8px;padding:0;font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.48px}.notes-text-editor h3{margin-bottom:7px;padding:0;font-size:19px;font-weight:600;line-height:26px;letter-spacing:-.19px}.notes-text-editor ul{margin:0 0 8px;list-style-type:disc}.notes-text-editor ol{margin:0 0 8px;list-style-type:decimal}.notes-text-editor a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.notes-text-editor strong{font-weight:600}.notes-text-editor em{font-style:italic}.notes-text-editor u{text-decoration-line:underline}.notes-text-editor s{text-decoration-line:line-through}.notes-text-editor .f1-bullet-list{list-style-type:disc}.notes-text-editor .f1-ordered-list{list-style-type:decimal}.notes-text-editor ul,.notes-text-editor ol{padding-left:20px}.notes-text-editor .f1-ordered-list p,.notes-text-editor .f1-bullet-list p{margin-left:8px}.notes-text-editor li{margin-bottom:8px}.notes-text-editor pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.notes-text-editor code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.notes-text-editor blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.notes-text-editor:focus{outline:2px solid transparent;outline-offset:2px}.notes-text-editor hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.notes-text-editor mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.notes-text-editor p:empty:before{content:" "}.notes-text-editor ul[data-type=taskList]{padding-left:0}.f1-task-item{margin-bottom:8px;display:flex;list-style-type:none;gap:8px}.f1-task-item div{flex:1 1 0%}.f1-task-item input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;border-radius:.375rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));background-color:hsl(var(--neutral-0));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.f1-task-item input:hover{border-color:hsl(var(--neutral-40))}.f1-task-item input:checked{border-color:hsl(var(--selected-50) / .4);background-color:hsl(var(--selected-60))}.f1-task-item[data-checked=true]>div>p{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}.f1-task-item-content{min-width:0px;flex:1 1 0%;outline:none}.f1-task-item[data-checked=true] .f1-task-item-content{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item-content p{margin:0}.tiptap p.is-empty:before{pointer-events:none;float:left;display:block;height:0px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--neutral-40));content:attr(data-placeholder)}.editor-mood-tracker p{margin:0}.rich-text-details{margin-top:0;margin-bottom:0;display:flex;gap:8px;padding-top:4px;padding-bottom:4px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rich-text-details summary{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.rich-text-details summary::marker{content:""}.rich-text-details>button{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background-color:hsl(var(--neutral-0))}.rich-text-details>button:hover{background-color:hsl(var(--neutral-10))}.rich-text-details>button:before{font-size:.625rem;line-height:.75rem;color:hsl(var(--neutral-100));content:"▶"}.rich-text-details.is-open>button:before{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rich-text-details>div{display:flex;width:100%;flex-direction:column;gap:8px}.rich-text-details>div>[data-type=detailsContent]>:last-child{margin-bottom:8px}.rich-text-details.rich-text-details{margin-bottom:8px}.notes-text-editor table{margin:0;width:100%;table-layout:fixed;overflow:hidden;border-collapse:collapse}.notes-text-editor table td,.notes-text-editor table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));padding:10px 12px;vertical-align:top}.notes-text-editor table td>*,.notes-text-editor table th>*{margin-bottom:0}.notes-text-editor table th{text-align:left}.notes-text-editor table th>*{font-weight:500;color:hsl(var(--neutral-50))}.notes-text-editor table .selectedCell:after{pointer-events:none;position:absolute;inset:0;z-index:10;background-color:hsl(var(--selected-50) / .1);content:""}.notes-text-editor table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;width:.25rem;cursor:col-resize;background-color:hsl(var(--selected-50))}.notes-text-editor .tableWrapper{margin-bottom:12px;overflow-x:auto}.notes-text-editor .resize-cursor{cursor:col-resize}
1
+ .mention{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500}.mention:focus{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.preserved-selection{background-color:hsl(var(--selected-60) / .2)}.rich-text-editor-container *::-moz-selection{background-color:transparent!important}.rich-text-editor-container *::selection{background-color:transparent!important}.rich-text-editor-container::-moz-selection{background-color:transparent!important}.rich-text-editor-container::selection{background-color:transparent!important}.rich-text-editor-container p,.rich-text-display-container p{position:relative;margin:0 0 8px}.rich-text-editor-container p:last-child,.rich-text-display-container p:last-child{margin-bottom:0}.rich-text-editor-container h1,.rich-text-display-container h1{margin:0 0 12px;padding:0;font-size:1.625rem;line-height:2rem;letter-spacing:-.01em;font-weight:600}.rich-text-editor-container h2,.rich-text-display-container h2{margin:0 0 10px;padding:0;font-size:1.375rem;line-height:1.75rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container h3,.rich-text-display-container h3,.rich-text-editor-container h4,.rich-text-display-container h4{margin:0 0 10px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container ul,.rich-text-display-container ul{margin:0 0 10px;list-style:disc}.rich-text-editor-container ol,.rich-text-display-container ol{margin:0 0 10px;list-style-type:decimal}.rich-text-editor-container a,.rich-text-display-container a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.rich-text-editor-container strong,.rich-text-display-container strong{font-weight:600}.rich-text-editor-container em,.rich-text-display-container em{font-style:italic}.rich-text-editor-container u,.rich-text-display-container u{text-decoration-line:underline}.rich-text-editor-container s,.rich-text-display-container s{text-decoration-line:line-through}.rich-text-editor-container .f1-bullet-list,.rich-text-display-container .f1-bullet-list{list-style-type:disc}.rich-text-editor-container .f1-ordered-list,.rich-text-display-container .f1-ordered-list{list-style-type:decimal}.rich-text-editor-container ul,.rich-text-editor-container ol,.rich-text-display-container ul,.rich-text-display-container ol{padding-left:20px}.rich-text-editor-container .f1-ordered-list p,.rich-text-display-container .f1-ordered-list p,.rich-text-editor-container .f1-bullet-list p,.rich-text-display-container .f1-bullet-list p{margin-left:8px}.rich-text-editor-container li,.rich-text-display-container li{margin-bottom:8px}.rich-text-editor-container pre,.rich-text-display-container pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.rich-text-editor-container code,.rich-text-display-container code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.rich-text-editor-container blockquote,.rich-text-display-container blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.ProseMirror:focus,.rich-text-display-container:focus{outline:2px solid transparent;outline-offset:2px}.rich-text-editor-container hr,.rich-text-display-container hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.rich-text-editor-container mark,.rich-text-display-container mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.rich-text-editor-container p:empty:before,.rich-text-display-container p:empty:before{content:" "}.rich-text-editor-container ul[data-type=taskList],.rich-text-display-container ul[data-type=taskList]{padding-left:0}.shadow-editor-tools{box-shadow:0 -4px 20px #0d162514}.scrollbar-macos{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar{width:8px}.scrollbar-macos::-webkit-scrollbar-track{background:var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}.scrollbar-macos::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}em-emoji-picker{--background-rgb: 255, 255, 255;--border-radius: 12px;--category-icon-size: 20px;--color-border-over: hsl(var(--neutral-10));--color-border: hsl(var(--neutral-10));--font-size: 14px;--rgb-accent: 1, 22, 55;--rgb-background: 255, 255, 255;--rgb-color: 1, 22, 55;--rgb-input: 255, 255, 255;width:372px!important;max-height:518px!important;--shadow: 0px 4px 20px 0px #0d162514}.FactorialOneTextEditor{line-height:1.5rem}.FactorialOneTextEditor .TextEditorTheme__ltr{text-align:left}.FactorialOneTextEditor .TextEditorTheme__rtl{text-align:right}.FactorialOneTextEditor .TextEditorTheme__paragraph{position:relative;margin:0 0 8px}.FactorialOneTextEditor .TextEditorTheme__paragraph:last-child{margin-bottom:0}.FactorialOneTextEditor .TextEditorTheme__quote{margin:0 0 10px 20px;border-bottom-width:4px;padding-left:16px;color:#65676b;border-left-color:#ced0d4}.FactorialOneTextEditor .TextEditorTheme__h1{margin:0 0 12px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__h2{margin:10px 0 0;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.FactorialOneTextEditor .TextEditorTheme__h3{margin:10px 0 0;padding:0;font-size:.875rem;line-height:1.25rem;letter-spacing:-.005em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textBold{font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textItalic{font-style:italic}.FactorialOneTextEditor .TextEditorTheme__textUnderline{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__textStrikethrough{text-decoration-line:line-through}.FactorialOneTextEditor .TextEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.FactorialOneTextEditor .TextEditorTheme__textSubscript{vertical-align:sub!important}.FactorialOneTextEditor .TextEditorTheme__textSuperscript{vertical-align:super}.FactorialOneTextEditor .TextEditorTheme__textCode{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace}.FactorialOneTextEditor .TextEditorTheme__hashtag{border-radius:.375rem;background-color:hsl(var(--info-50) / .1);padding:2px;font-weight:500;color:hsl(var(--info-70));text-decoration-line:none}.FactorialOneTextEditor .TextEditorTheme__link{font-weight:500;color:hsl(var(--neutral-100));text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__link:hover{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__code{margin:8px 0;padding:8px 8px 8px 40px;background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;line-height:1.53;-moz-tab-size:2;-o-tab-size:2;tab-size:2;overflow-x:auto;position:relative}.FactorialOneTextEditor .TextEditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.FactorialOneTextEditor .TextEditorTheme__code:after{content:attr(data-highlight-language);top:0;right:3px;padding:3px;text-transform:uppercase;position:absolute;color:#00000080}.FactorialOneTextEditor .TextEditorTheme__characterLimit{display:inline;background-color:#fbb!important}.FactorialOneTextEditor .TextEditorTheme__ol1{margin:0 0 0 16px;padding:0}.FactorialOneTextEditor .TextEditorTheme__ol2{margin:0 0 0 16px;padding:0;list-style-type:upper-alpha}.FactorialOneTextEditor .TextEditorTheme__ol3{margin:0 0 0 16px;padding:0;list-style-type:lower-alpha}.FactorialOneTextEditor .TextEditorTheme__ol4{margin:0 0 0 16px;padding:0;list-style-type:upper-roman}.FactorialOneTextEditor .TextEditorTheme__ol5{margin:0 0 0 16px;padding:0;list-style-type:lower-roman}.FactorialOneTextEditor .TextEditorTheme__ul{margin:0 0 0 16px;padding:0;list-style:disc}.FactorialOneTextEditor .TextEditorTheme__tokenComment{color:#708090}.FactorialOneTextEditor .TextEditorTheme__tokenPunctuation{color:#999}.FactorialOneTextEditor .TextEditorTheme__tokenProperty{color:#905}.FactorialOneTextEditor.TextEditorTheme__tokenSelector{color:#690}.FactorialOneTextEditor .TextEditorTheme__tokenOperator{color:#9a6e3a}.FactorialOneTextEditor .TextEditorTheme__tokenAttr{color:#07a}.FactorialOneTextEditor .TextEditorTheme__tokenVariable{color:#e90}.FactorialOneTextEditor .TextEditorTheme__tokenFunction{color:#dd4a68}.FactorialOneTextEditor .TextEditorTheme__mark{padding:2px;background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3)}.FactorialOneTextEditor .TextEditorTheme__markOverlap{padding:2px;background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .TextEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}.FactorialOneTextEditor .TextEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .mention a,.FactorialOneTextEditor .mentioned a{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.FactorialOneTextEditor .mention:focus a,.FactorialOneTextEditor .mentioned:focus a{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.FactorialOneTextEditor .link_mentioned{text-decoration:none}._rfx31ssb:before{border-radius:50%}._15m6ys7w:before{border-color:var(--stroke-color)}._3l8810ly:before{border-width:var(--stroke-width)}._kzdanqa1:before{border-style:solid}._13y0usvi:before{box-sizing:border-box}._154ifghn{top:var(--line-main-axis-start)}._154ihv0e{top:var(--main-axis-offset)}._19wo70hn:before{bottom:var(--terminal-cross-axis-offset)}._1auk70hn:before{top:var(--terminal-cross-axis-offset)}._1aukuj5p:before{top:var(--terminal-main-axis-start)}._1bsb10ly{width:var(--stroke-width)}._1cs8stnw:before{position:absolute}._1e02fghn{inset-inline-start:var(--line-main-axis-start)}._1e0c1ule{display:block}._1kt9b3bt:before{content:""}._1ltvhv0e{left:var(--main-axis-offset)}._1mp4vjfa:before{width:var(--terminal-diameter)}._1pbykb7n{z-index:1}._1xi2hv0e{right:var(--main-axis-offset)}._4t3i10ly{height:var(--stroke-width)}._94n5hv0e{bottom:var(--main-axis-offset)}._94n5idpf{bottom:0}._bfhkys7w{background-color:var(--stroke-color)}._cfu11ld9:before{display:var(--terminal-display)}._kfgtvjfa:before{height:var(--terminal-diameter)}._kqswstnw{position:absolute}._lcxvglyw{pointer-events:none}._ooun70hn:before{right:var(--terminal-cross-axis-offset)}._qnec70hn:before{left:var(--terminal-cross-axis-offset)}._rjxpidpf{inset-inline-end:0}._z5wtuj5p:before{inset-inline-start:var(--terminal-main-axis-start)}.notes-text-editor-title::-moz-selection{background-color:hsl(var(--selected-50) / .2)}.preserved-selection,.notes-text-editor-title::selection{background-color:hsl(var(--selected-50) / .2)}.notes-text-editor *::-moz-selection{background-color:transparent!important}.notes-text-editor *::selection{background-color:transparent!important}.notes-text-editor p{position:relative;margin-bottom:8px;padding:0;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-.16px}.notes-text-editor p:last-child{margin-bottom:0}.notes-text-editor h1{margin-bottom:10px;padding:0;font-size:29px;font-weight:600;line-height:39px;letter-spacing:-.58px}.notes-text-editor h2{margin-bottom:8px;padding:0;font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.48px}.notes-text-editor h3{margin-bottom:7px;padding:0;font-size:19px;font-weight:600;line-height:26px;letter-spacing:-.19px}.notes-text-editor ul{margin:0 0 8px;list-style-type:disc}.notes-text-editor ol{margin:0 0 8px;list-style-type:decimal}.notes-text-editor a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.notes-text-editor strong{font-weight:600}.notes-text-editor em{font-style:italic}.notes-text-editor u{text-decoration-line:underline}.notes-text-editor s{text-decoration-line:line-through}.notes-text-editor .f1-bullet-list{list-style-type:disc}.notes-text-editor .f1-ordered-list{list-style-type:decimal}.notes-text-editor ul,.notes-text-editor ol{padding-left:20px}.notes-text-editor .f1-ordered-list p,.notes-text-editor .f1-bullet-list p{margin-left:8px}.notes-text-editor li{margin-bottom:8px}.notes-text-editor pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.notes-text-editor code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.notes-text-editor blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.notes-text-editor:focus{outline:2px solid transparent;outline-offset:2px}.notes-text-editor hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.notes-text-editor mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.notes-text-editor p:empty:before{content:" "}.notes-text-editor ul[data-type=taskList]{padding-left:0}.f1-task-item{margin-bottom:8px;display:flex;list-style-type:none;gap:8px}.f1-task-item div{flex:1 1 0%}.f1-task-item input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;border-radius:.375rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));background-color:hsl(var(--neutral-0));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.f1-task-item input:hover{border-color:hsl(var(--neutral-40))}.f1-task-item input:checked{border-color:hsl(var(--selected-50) / .4);background-color:hsl(var(--selected-60))}.f1-task-item[data-checked=true]>div>p{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}.f1-task-item-content{min-width:0px;flex:1 1 0%;outline:none}.f1-task-item[data-checked=true] .f1-task-item-content{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item-content p{margin:0}.tiptap p.is-empty:before{pointer-events:none;float:left;display:block;height:0px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--neutral-40));content:attr(data-placeholder)}.editor-mood-tracker p{margin:0}.rich-text-details{margin-top:0;margin-bottom:0;display:flex;gap:8px;padding-top:4px;padding-bottom:4px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rich-text-details summary{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.rich-text-details summary::marker{content:""}.rich-text-details>button{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background-color:hsl(var(--neutral-0))}.rich-text-details>button:hover{background-color:hsl(var(--neutral-10))}.rich-text-details>button:before{font-size:.625rem;line-height:.75rem;color:hsl(var(--neutral-100));content:"▶"}.rich-text-details.is-open>button:before{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rich-text-details>div{display:flex;width:100%;flex-direction:column;gap:8px}.rich-text-details>div>[data-type=detailsContent]>:last-child{margin-bottom:8px}.rich-text-details.rich-text-details{margin-bottom:8px}.notes-text-editor table{margin:0;width:100%;table-layout:fixed;overflow:hidden;border-collapse:collapse}.notes-text-editor table td,.notes-text-editor table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));padding:10px 12px;vertical-align:top}.notes-text-editor table td>*,.notes-text-editor table th>*{margin-bottom:0}.notes-text-editor table th{text-align:left}.notes-text-editor table th>*{font-weight:500;color:hsl(var(--neutral-50))}.notes-text-editor table .selectedCell:after{pointer-events:none;position:absolute;inset:0;z-index:10;background-color:hsl(var(--selected-50) / .1);content:""}.notes-text-editor table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;width:.25rem;cursor:col-resize;background-color:hsl(var(--selected-50))}.notes-text-editor .tableWrapper{margin-bottom:12px;overflow-x:auto}.notes-text-editor .resize-cursor{cursor:col-resize}.notes-text-editor .image-node-wrapper{margin-top:16px;margin-bottom:16px}.notes-text-editor .image-container{position:relative;display:inline-block;border-radius:.75rem;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);animation-duration:.15s;animation-timing-function:cubic-bezier(0,0,.2,1)}.notes-text-editor .image-container img{display:block;height:auto;max-width:100%;border-radius:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);animation-duration:.15s;animation-timing-function:cubic-bezier(0,0,.2,1)}.notes-text-editor .image-container.is-selected{border-radius:.75rem;box-shadow:0 0 0 1px #00000014,0 4px 12px #00000014}.notes-text-editor .image-container.is-selected img{--tw-brightness: brightness(.98);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.notes-text-editor .image-delete-button{position:absolute;right:8px;top:8px;display:flex;height:1.75rem;width:1.75rem;align-items:center;justify-content:center;border-radius:.5rem;color:hsl(var(--neutral-50));pointer-events:none;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;animation-duration:.15s;background-color:#fff;box-shadow:0 0 0 1px #0000001a,0 2px 8px #0000001f}:root.dark .notes-text-editor .image-delete-button{background-color:#2a2a2a}.notes-text-editor .image-container:hover .image-delete-button,.notes-text-editor .image-container.is-selected .image-delete-button{pointer-events:auto;opacity:1}.notes-text-editor .image-container .image-delete-button:hover{background-color:#f0f0f0!important;color:hsl(var(--neutral-100))}:root.dark .notes-text-editor .image-container .image-delete-button:hover{background-color:#404040!important}.notes-text-editor .image-upload-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:.875rem;background-color:hsl(var(--neutral-0) / .6);--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}
@@ -2559,6 +2559,18 @@ declare const defaultTranslations: {
2559
2559
  readonly greaterThan: "It should be greater than {{min}}";
2560
2560
  readonly lessThan: "It should be less than {{max}}";
2561
2561
  };
2562
+ readonly imageUpload: {
2563
+ readonly uploading: "Uploading...";
2564
+ readonly uploadError: "Upload failed";
2565
+ readonly insertImage: "Image";
2566
+ readonly deleteImage: "Delete";
2567
+ readonly errors: {
2568
+ readonly fileTooLarge: "The file is too large";
2569
+ readonly invalidType: "Invalid file type. Only images are allowed";
2570
+ readonly uploadFailed: "Failed to upload image. Please try again";
2571
+ readonly dismiss: "Dismiss";
2572
+ };
2573
+ };
2562
2574
  readonly coCreationForm: {
2563
2575
  readonly actions: {
2564
2576
  readonly actions: "Actions";
@@ -3618,6 +3630,17 @@ declare type IdStructure = {
3618
3630
  children?: IdStructure[];
3619
3631
  };
3620
3632
 
3633
+ export declare interface ImageUploadConfig {
3634
+ onUpload: (file: File) => Promise<{
3635
+ url: string;
3636
+ signedId?: string;
3637
+ }>;
3638
+ maxFileSize?: number;
3639
+ onError?: (errorType: ImageUploadErrorType) => void;
3640
+ }
3641
+
3642
+ declare type ImageUploadErrorType = "file-too-large" | "invalid-type" | "upload-failed";
3643
+
3621
3644
  declare const Indicator: ForwardRefExoticComponent<IndicatorProps & RefAttributes<HTMLDivElement>>;
3622
3645
 
3623
3646
  declare type IndicatorProps = {
@@ -4133,6 +4156,7 @@ export declare const modules: {
4133
4156
  readonly calendar: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4134
4157
  readonly cards: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4135
4158
  readonly "clock-in": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4159
+ readonly communities: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4136
4160
  readonly company_attendance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4137
4161
  readonly company_documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
4138
4162
  readonly company_projects: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
@@ -4313,6 +4337,7 @@ export declare type NotesTextEditorHandle = {
4313
4337
  insertAIBlock: () => void;
4314
4338
  insertTranscript: (title: string, users: User[], messages: Message[]) => void;
4315
4339
  pushContent: (content: string) => void;
4340
+ insertImage: (file: File) => void;
4316
4341
  };
4317
4342
 
4318
4343
  export declare interface NotesTextEditorProps {
@@ -4327,6 +4352,7 @@ export declare interface NotesTextEditorProps {
4327
4352
  };
4328
4353
  readonly?: boolean;
4329
4354
  aiBlockConfig?: AIBlockConfig;
4355
+ imageUploadConfig?: ImageUploadConfig;
4330
4356
  onTitleChange?: (title: string) => void;
4331
4357
  labels: {
4332
4358
  toolbarLabels: ToolbarLabels;