@factorialco/f0-react 1.352.0 → 1.353.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 X, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
3
- import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-RkM5La7N.js";
3
+ import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-CV7nDRrI.js";
4
4
  import { useTrackVolume as pt } from "@livekit/components-react";
5
5
  function vt(t, e, r) {
6
6
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -687,6 +687,45 @@ export declare const defaultTranslations: {
687
687
  readonly customPromptPlaceholder: "What do you want to do?";
688
688
  };
689
689
  };
690
+ readonly forms: {
691
+ readonly actionBar: {
692
+ readonly unsavedChanges: "You have changes pending to be saved";
693
+ readonly discard: "Discard";
694
+ readonly issues: {
695
+ readonly one: "{{count}} issue";
696
+ readonly other: "{{count}} issues";
697
+ };
698
+ };
699
+ readonly validation: {
700
+ readonly required: "This field is required";
701
+ readonly invalidType: "Invalid value";
702
+ readonly string: {
703
+ readonly email: "Enter a valid email address";
704
+ readonly url: "Enter a valid URL";
705
+ readonly min: "Must be at least {{min}} characters";
706
+ readonly max: "Must be at most {{max}} characters";
707
+ };
708
+ readonly number: {
709
+ readonly min: "Must be at least {{min}}";
710
+ readonly max: "Must be at most {{max}}";
711
+ readonly positive: "Must be a positive number";
712
+ readonly negative: "Must be a negative number";
713
+ readonly integer: "Must be a whole number";
714
+ };
715
+ readonly date: {
716
+ readonly min: "Date must be after {{min}}";
717
+ readonly max: "Date must be before {{max}}";
718
+ readonly invalid: "Enter a valid date";
719
+ };
720
+ readonly array: {
721
+ readonly min: "Select at least {{min}} option";
722
+ readonly max: "Select at most {{max}} options";
723
+ };
724
+ readonly checkbox: {
725
+ readonly mustBeChecked: "This option must be selected";
726
+ };
727
+ };
728
+ };
690
729
  };
691
730
 
692
731
  export declare function downloadTableAsExcel(table: HTMLTableElement, filename?: string): void;
@@ -1093,11 +1132,6 @@ declare module "gridstack" {
1093
1132
  }
1094
1133
 
1095
1134
 
1096
- declare namespace Calendar {
1097
- var displayName: string;
1098
- }
1099
-
1100
-
1101
1135
  declare module "@tiptap/core" {
1102
1136
  interface Commands<ReturnType> {
1103
1137
  aiBlock: {
@@ -1134,3 +1168,8 @@ declare module "@tiptap/core" {
1134
1168
  };
1135
1169
  }
1136
1170
  }
1171
+
1172
+
1173
+ declare namespace Calendar {
1174
+ var displayName: string;
1175
+ }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-RkM5La7N.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-CV7nDRrI.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-caKPHcY6.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DFgT-7fx.js";
4
4
  export {
5
5
  e as A,
6
6
  y 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)}.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}
1
+ .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}
@@ -1211,7 +1211,7 @@ declare const cardPropertyRenderers: {
1211
1211
 
1212
1212
  declare type CardPropertyType = keyof typeof cardPropertyRenderers;
1213
1213
 
1214
- export declare function CardSelectable<T extends CardSelectableValue>({ item, selected, disabled, multiple, onSelect, }: CardSelectableProps<T>): JSX_2.Element;
1214
+ export declare function CardSelectable<T extends CardSelectableValue>({ item, selected, disabled, multiple, onSelect, isToggle, grouped, }: CardSelectableProps<T>): JSX_2.Element;
1215
1215
 
1216
1216
  declare type CardSelectableAvatarVariant = AvatarVariant | {
1217
1217
  type: "emoji";
@@ -1239,6 +1239,8 @@ export declare interface CardSelectableItem<T extends CardSelectableValue> {
1239
1239
  avatar?: CardSelectableAvatarVariant;
1240
1240
  /** Whether this item is disabled */
1241
1241
  disabled?: boolean;
1242
+ /** Whether this item is required (shows asterisk indicator) */
1243
+ required?: boolean;
1242
1244
  }
1243
1245
 
1244
1246
  export declare interface CardSelectableMultipleProps<T extends CardSelectableValue> {
@@ -1256,6 +1258,10 @@ export declare interface CardSelectableMultipleProps<T extends CardSelectableVal
1256
1258
  label?: string;
1257
1259
  /** Layout direction (default: vertical) */
1258
1260
  layout?: "vertical" | "horizontal";
1261
+ /** When true, shows a toggle/switch indicator instead of checkbox */
1262
+ isToggle?: boolean;
1263
+ /** When true, items are grouped in a single bordered container with dividers */
1264
+ grouped?: boolean;
1259
1265
  }
1260
1266
 
1261
1267
  declare interface CardSelectableProps<T extends CardSelectableValue> {
@@ -1264,6 +1270,10 @@ declare interface CardSelectableProps<T extends CardSelectableValue> {
1264
1270
  disabled: boolean;
1265
1271
  multiple: boolean;
1266
1272
  onSelect: () => void;
1273
+ /** When true, shows a toggle/switch indicator instead of checkbox/radio */
1274
+ isToggle?: boolean;
1275
+ /** When true, renders without individual card borders (for grouped layout) */
1276
+ grouped?: boolean;
1267
1277
  }
1268
1278
 
1269
1279
  export declare interface CardSelectableSingleProps<T extends CardSelectableValue> {
@@ -1273,14 +1283,18 @@ export declare interface CardSelectableSingleProps<T extends CardSelectableValue
1273
1283
  multiple?: false;
1274
1284
  /** Currently selected value */
1275
1285
  value?: T;
1276
- /** Callback when selection changes */
1277
- onChange?: (value: T) => void;
1286
+ /** Callback when selection changes (receives undefined when isToggle and toggling off) */
1287
+ onChange?: (value: T | undefined) => void;
1278
1288
  /** Whether the entire selector is disabled */
1279
1289
  disabled?: boolean;
1280
1290
  /** Label for the group (used for accessibility) */
1281
1291
  label?: string;
1282
1292
  /** Layout direction (default: vertical) */
1283
1293
  layout?: "vertical" | "horizontal";
1294
+ /** When true, shows a toggle/switch indicator instead of radio and allows toggling off */
1295
+ isToggle?: boolean;
1296
+ /** When true, items are grouped in a single bordered container with dividers */
1297
+ grouped?: boolean;
1284
1298
  }
1285
1299
 
1286
1300
  export declare type CardSelectableValue = string | number;
@@ -2607,6 +2621,45 @@ declare const defaultTranslations: {
2607
2621
  readonly customPromptPlaceholder: "What do you want to do?";
2608
2622
  };
2609
2623
  };
2624
+ readonly forms: {
2625
+ readonly actionBar: {
2626
+ readonly unsavedChanges: "You have changes pending to be saved";
2627
+ readonly discard: "Discard";
2628
+ readonly issues: {
2629
+ readonly one: "{{count}} issue";
2630
+ readonly other: "{{count}} issues";
2631
+ };
2632
+ };
2633
+ readonly validation: {
2634
+ readonly required: "This field is required";
2635
+ readonly invalidType: "Invalid value";
2636
+ readonly string: {
2637
+ readonly email: "Enter a valid email address";
2638
+ readonly url: "Enter a valid URL";
2639
+ readonly min: "Must be at least {{min}} characters";
2640
+ readonly max: "Must be at most {{max}} characters";
2641
+ };
2642
+ readonly number: {
2643
+ readonly min: "Must be at least {{min}}";
2644
+ readonly max: "Must be at most {{max}}";
2645
+ readonly positive: "Must be a positive number";
2646
+ readonly negative: "Must be a negative number";
2647
+ readonly integer: "Must be a whole number";
2648
+ };
2649
+ readonly date: {
2650
+ readonly min: "Date must be after {{min}}";
2651
+ readonly max: "Date must be before {{max}}";
2652
+ readonly invalid: "Enter a valid date";
2653
+ };
2654
+ readonly array: {
2655
+ readonly min: "Select at least {{min}} option";
2656
+ readonly max: "Select at most {{max}} options";
2657
+ };
2658
+ readonly checkbox: {
2659
+ readonly mustBeChecked: "This option must be selected";
2660
+ };
2661
+ };
2662
+ };
2610
2663
  };
2611
2664
 
2612
2665
  /**
@@ -2861,7 +2914,7 @@ declare type ExtractVisualizationSettings<T> = T extends {
2861
2914
  };
2862
2915
  } ? S : never;
2863
2916
 
2864
- export declare const F0ActionBar: ({ isOpen, secondaryActions, label, ...props }: F0ActionBarProps) => JSX_2.Element;
2917
+ export declare const F0ActionBar: ({ isOpen, secondaryActions, label, variant, leftContent, centerInFrameContent, ...props }: F0ActionBarProps) => JSX_2.Element;
2865
2918
 
2866
2919
  declare interface F0ActionBarProps {
2867
2920
  /**
@@ -2880,6 +2933,23 @@ declare interface F0ActionBarProps {
2880
2933
  * The label of the action bar
2881
2934
  */
2882
2935
  label?: string;
2936
+ /**
2937
+ * Visual variant of the action bar
2938
+ * - "dark": Dark background with light text (default)
2939
+ * - "light": Light background with dark text
2940
+ * @default "dark"
2941
+ */
2942
+ variant?: "dark" | "light";
2943
+ /**
2944
+ * Custom content to render on the left side (e.g., error navigation)
2945
+ */
2946
+ leftContent?: React.ReactNode;
2947
+ /**
2948
+ * When true, centers the action bar relative to the ApplicationFrame content area
2949
+ * (accounting for the sidebar width) instead of the full viewport.
2950
+ * @default false
2951
+ */
2952
+ centerInFrameContent?: boolean;
2883
2953
  }
2884
2954
 
2885
2955
  export declare const F0AiBanner: ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>> & {
@@ -3810,7 +3880,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
3810
3880
 
3811
3881
  declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
3812
3882
 
3813
- declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength"> & {
3883
+ declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading"> & {
3814
3884
  type?: Exclude<HTMLInputTypeAttribute, "number">;
3815
3885
  onPressEnter?: () => void;
3816
3886
  };
@@ -5642,7 +5712,7 @@ export declare type SummaryType = "sum";
5642
5712
  */
5643
5713
  export declare const Switch: typeof _Switch;
5644
5714
 
5645
- declare function _Switch({ title, onCheckedChange, id, disabled, checked, value, hideLabel, presentational, ...rest }: SwitchProps): JSX_2.Element;
5715
+ declare function _Switch({ title, onCheckedChange, id, disabled, checked, value, hideLabel, presentational, required, ...rest }: SwitchProps): JSX_2.Element;
5646
5716
 
5647
5717
  declare interface SwitchProps extends DataAttributes_2 {
5648
5718
  /**
@@ -5681,6 +5751,11 @@ declare interface SwitchProps extends DataAttributes_2 {
5681
5751
  * @default false
5682
5752
  */
5683
5753
  presentational?: boolean;
5754
+ /**
5755
+ * Whether the switch is required (must be true)
5756
+ * @default false
5757
+ */
5758
+ required?: boolean;
5684
5759
  }
5685
5760
 
5686
5761
  export declare type TabItem = {
@@ -5875,9 +5950,9 @@ export declare const Textarea: FC<TextareaProps>;
5875
5950
 
5876
5951
  declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
5877
5952
  value?: string;
5878
- } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "maxLength" | "placeholder" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
5953
+ } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
5879
5954
 
5880
- export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error">;
5955
+ export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading">;
5881
5956
 
5882
5957
  declare type TextQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
5883
5958
  type: "text" | "longText";
@@ -6498,11 +6573,6 @@ declare module "gridstack" {
6498
6573
  }
6499
6574
 
6500
6575
 
6501
- declare namespace Calendar {
6502
- var displayName: string;
6503
- }
6504
-
6505
-
6506
6576
  declare module "@tiptap/core" {
6507
6577
  interface Commands<ReturnType> {
6508
6578
  aiBlock: {
@@ -6539,3 +6609,8 @@ declare module "@tiptap/core" {
6539
6609
  };
6540
6610
  }
6541
6611
  }
6612
+
6613
+
6614
+ declare namespace Calendar {
6615
+ var displayName: string;
6616
+ }