@factorialco/f0-react 1.343.2 → 1.345.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,6 +1,6 @@
1
1
  import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
2
  import { createContext as c, useContext as h } from "react";
3
- import { w as n, x as u } from "./F0AiChat-i24G2QqO.js";
3
+ import { w as n, x as u } from "./F0AiChat-CKUw1Ydt.js";
4
4
  const b = ["xs", "sm", "md", "lg"], w = [
5
5
  "inProgress",
6
6
  "executing",
package/dist/ai.d.ts CHANGED
@@ -531,6 +531,16 @@ declare module "@tiptap/core" {
531
531
  }
532
532
 
533
533
 
534
+ declare module "@tiptap/core" {
535
+ interface Commands<ReturnType> {
536
+ enhanceHighlight: {
537
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
538
+ clearEnhanceHighlight: () => ReturnType;
539
+ };
540
+ }
541
+ }
542
+
543
+
534
544
  declare module "@tiptap/core" {
535
545
  interface Commands<ReturnType> {
536
546
  moodTracker: {
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as e, B as t, C as o, E as i, g as n, F as r, a as l, v as c, h as A, b as h, q as F, r as u, s as C, t as T, c as d, l as g, m, n as S, H as I, I as f, L as p, O as H, o as b, P as k, S as x, T as O, j as P, k as M, U as v, p as w, i as E, u as L, d as q, f as B, e as U } from "./F0AiChat-i24G2QqO.js";
2
- import { A as z, F as D, b as R, a as y, o as G, u as J } from "./F0HILActionConfirmation-BaICebwX.js";
1
+ import { A as e, B as t, C as o, E as i, g as n, F as r, a as l, v as c, h as A, b as h, q as F, r as u, s as C, t as T, c as d, l as g, m, n as S, H as I, I as f, L as p, O as H, o as b, P as k, S as x, T as O, j as P, k as M, U as v, p as w, i as E, u as L, d as q, f as B, e as U } from "./F0AiChat-CKUw1Ydt.js";
2
+ import { A as z, F as D, b as R, a as y, o as G, u as J } from "./F0HILActionConfirmation-DWHKToXy.js";
3
3
  export {
4
4
  e as A,
5
5
  z as AiChatTranslationsProvider,
@@ -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)}.enhance-highlight{background:linear-gradient(90deg,#e5561980,#a1ade580,#e5194380,#e5561980);background-size:300% 100%;animation:enhance-gradient-move 3s linear infinite;border-radius:4px}@keyframes enhance-gradient-move{0%{background-position:0% 50%}to{background-position:100% 50%}}.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;top:50%;left: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}
@@ -321,15 +321,6 @@ declare type ActionType_2 = {
321
321
  description?: string;
322
322
  };
323
323
 
324
- declare type actionType_2 = {
325
- label: string;
326
- onClick: () => void;
327
- disabled?: boolean;
328
- icon?: IconType;
329
- hideLabel?: boolean;
330
- variant?: "default" | "outline" | "neutral";
331
- };
332
-
333
324
  declare type ActionType_3 = CopyActionType | NavigateActionType | OpenLinkActionType;
334
325
 
335
326
  declare type ActionVariant = (typeof actionVariants)[number];
@@ -624,6 +615,14 @@ export declare type BannerAction = {
624
615
  icon?: IconType;
625
616
  };
626
617
 
618
+ declare interface BannerProps {
619
+ icon: IconType;
620
+ title: string;
621
+ variant: BannerVariant;
622
+ }
623
+
624
+ declare type BannerVariant = "info" | "warning" | "critical" | "neutral" | "positive";
625
+
627
626
  export declare const BarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
628
627
  chart: BarChartProps;
629
628
  } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
@@ -984,6 +983,10 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
984
983
  * The variant of the button.
985
984
  */
986
985
  variant?: ActionButtonVariant;
986
+ /**
987
+ * The filters'counter value to display.
988
+ */
989
+ counterValue?: number;
987
990
  /**
988
991
  * Callback fired when the button is clicked. Supports async functions for loading state.
989
992
  */
@@ -2578,6 +2581,16 @@ declare const defaultTranslations: {
2578
2581
  readonly lists: "Lists";
2579
2582
  readonly blocks: "Blocks";
2580
2583
  };
2584
+ readonly ai: {
2585
+ readonly enhanceButtonLabel: "Enhance";
2586
+ readonly loadingEnhanceLabel: "Loading...";
2587
+ readonly defaultError: "An error occurred while loading";
2588
+ readonly closeErrorButtonLabel: "Continue editing";
2589
+ readonly acceptChangesButtonLabel: "Accept";
2590
+ readonly rejectChangesButtonLabel: "Reject";
2591
+ readonly repeatButtonLabel: "Repeat";
2592
+ readonly customPromptPlaceholder: "What do you want to do?";
2593
+ };
2581
2594
  };
2582
2595
  };
2583
2596
 
@@ -2723,7 +2736,6 @@ declare type EmptyStateType = (typeof emptyStatesTypes)[number];
2723
2736
  export declare type enhanceConfig = {
2724
2737
  onEnhanceText: (params: enhanceTextParams) => Promise<enhancedTextResponse>;
2725
2738
  enhancementOptions?: EnhancementOption[];
2726
- enhanceLabels: enhanceLabelsType;
2727
2739
  };
2728
2740
 
2729
2741
  export declare type enhancedTextResponse = {
@@ -2732,16 +2744,6 @@ export declare type enhancedTextResponse = {
2732
2744
  error?: string;
2733
2745
  };
2734
2746
 
2735
- export declare type enhanceLabelsType = {
2736
- defaultError: string;
2737
- enhanceButtonLabel: string;
2738
- acceptChangesButtonLabel: string;
2739
- rejectChangesButtonLabel: string;
2740
- repeatButtonLabel: string;
2741
- customPromptPlaceholder: string;
2742
- loadingEnhanceLabel: string;
2743
- };
2744
-
2745
2747
  export declare type EnhancementOption = {
2746
2748
  id: string;
2747
2749
  label: string;
@@ -2826,11 +2828,6 @@ export declare type EntitySelectSubEntity = {
2826
2828
 
2827
2829
  declare type Enumerate<N extends number, Acc extends number[] = []> = Acc["length"] extends N ? [...Acc, N][number] : Enumerate<N, [...Acc, Acc["length"]]>;
2828
2830
 
2829
- export declare type errorConfig = {
2830
- onClose?: () => void;
2831
- closeErrorButtonLabel?: string;
2832
- };
2833
-
2834
2831
  declare interface ErrorMessageProps {
2835
2832
  title: string;
2836
2833
  description: string;
@@ -4053,30 +4050,6 @@ declare type MetadataItemValue = {
4053
4050
  icon?: "warning" | "critical";
4054
4051
  };
4055
4052
 
4056
- declare type MetadataItemValue_2 = {
4057
- type: "text";
4058
- content: string;
4059
- label: string;
4060
- } | {
4061
- type: "status";
4062
- label: string;
4063
- variant: StatusVariant;
4064
- } | {
4065
- type: "dot-tag";
4066
- label: string;
4067
- color: NewColor;
4068
- } | {
4069
- type: "tag";
4070
- label: string;
4071
- icon?: IconType;
4072
- } | {
4073
- type: "person";
4074
- label: string;
4075
- firstName: string;
4076
- lastName: string;
4077
- src?: string;
4078
- };
4079
-
4080
4053
  declare interface MetadataProps {
4081
4054
  /**
4082
4055
  * Everything is not a MetadataItem is ignored.
@@ -4308,10 +4281,11 @@ export declare interface NotesTextEditorProps {
4308
4281
  imageUploadConfig?: ImageUploadConfig;
4309
4282
  onTitleChange?: (title: string) => void;
4310
4283
  titlePlaceholder?: string;
4311
- actions?: actionType_2[];
4312
- secondaryActions?: secondaryActionsType_2[];
4313
- metadata?: MetadataItemValue_2[];
4314
- withPadding?: boolean;
4284
+ primaryAction?: PrimaryActionButton | PrimaryDropdownAction<string>;
4285
+ secondaryActions?: HeaderSecondaryAction[];
4286
+ otherActions?: DropdownItem[];
4287
+ metadata?: MetadataItem[];
4288
+ banner?: BannerProps;
4315
4289
  showBubbleMenu?: boolean;
4316
4290
  }
4317
4291
 
@@ -4320,7 +4294,6 @@ export declare const NotesTextEditorSkeleton: ({ withHeader, withTitle, withTool
4320
4294
  export declare interface NotesTextEditorSkeletonProps {
4321
4295
  withHeader?: boolean;
4322
4296
  withTitle?: boolean;
4323
- withPadding?: boolean;
4324
4297
  withToolbar?: boolean;
4325
4298
  }
4326
4299
 
@@ -4601,6 +4574,8 @@ declare type OneFilterPickerRootProps<Definition extends FiltersDefinition> = {
4601
4574
  mode?: FiltersMode;
4602
4575
  /** Callback fired when filters open state is changed */
4603
4576
  onOpenChange?: (isOpen: boolean) => void;
4577
+ /** Display counter for the applied filters */
4578
+ displayCounter?: boolean;
4604
4579
  };
4605
4580
 
4606
4581
  /**
@@ -5260,7 +5235,6 @@ export declare interface RichTextEditorProps {
5260
5235
  files?: File[];
5261
5236
  };
5262
5237
  title: string;
5263
- errorConfig?: errorConfig;
5264
5238
  height?: heightType;
5265
5239
  plainHtmlMode?: boolean;
5266
5240
  fullScreenMode?: boolean;
@@ -5328,14 +5302,6 @@ export declare type SecondaryActionsItems = SecondaryActionItem[] | SecondaryAct
5328
5302
 
5329
5303
  export declare type secondaryActionsType = secondaryActionType | secondaryActionType[];
5330
5304
 
5331
- declare type secondaryActionsType_2 = {
5332
- label: string;
5333
- onClick: () => void;
5334
- disabled?: boolean;
5335
- icon?: IconType;
5336
- critical?: boolean;
5337
- };
5338
-
5339
5305
  export declare type secondaryActionType = (actionType | toggleActionType) & {
5340
5306
  type?: "button" | "switch";
5341
5307
  };
@@ -6529,6 +6495,16 @@ declare module "@tiptap/core" {
6529
6495
  }
6530
6496
 
6531
6497
 
6498
+ declare module "@tiptap/core" {
6499
+ interface Commands<ReturnType> {
6500
+ enhanceHighlight: {
6501
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
6502
+ clearEnhanceHighlight: () => ReturnType;
6503
+ };
6504
+ }
6505
+ }
6506
+
6507
+
6532
6508
  declare module "@tiptap/core" {
6533
6509
  interface Commands<ReturnType> {
6534
6510
  moodTracker: {