@aircall/blocks 0.7.0 → 0.9.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Badge, Button, CounterBadge, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, SidebarProvider, TabsList, useSidebar } from "@aircall/ds";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime1 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as _tanstack_react_form0 from "@tanstack/react-form";
6
6
  import { DeepKeys, DeepKeysOfType, FieldAsyncValidateOrFn, FieldValidateOrFn } from "@tanstack/react-form";
@@ -119,41 +119,178 @@ declare function ChatbotResponseBlock({
119
119
  sources,
120
120
  onFeedback,
121
121
  className
122
- }: ChatbotResponseBlockProps): react_jsx_runtime1.JSX.Element;
122
+ }: ChatbotResponseBlockProps): react_jsx_runtime0.JSX.Element;
123
123
  //#endregion
124
124
  //#region src/components/chatbot-page.d.ts
125
125
  declare const ChatbotPage: React$1.ForwardRefExoticComponent<ChatbotPageProps & React$1.RefAttributes<HTMLDivElement>>;
126
126
  interface ChatbotPageProps {
127
- children: React$1.ReactNode;
127
+ children?: React$1.ReactNode;
128
128
  className?: string;
129
129
  }
130
130
  declare namespace ChatbotPage {
131
131
  type Props = ChatbotPageProps;
132
132
  }
133
+ /**
134
+ * Content area that fills the right side of `ChatbotPage`. Use alongside
135
+ * `ChatbotSidebar` as a direct child of `ChatbotPage`.
136
+ *
137
+ * In the **idle state** place `ChatbotPageBody`, then `ChatbotPageFooter`.
138
+ * In the **active conversation state** place `ChatbotPageConversation`,
139
+ * `ChatbotPageInputBar`, then `ChatbotPageFooter`.
140
+ *
141
+ * @example
142
+ * ```tsx
143
+ * <ChatbotPage>
144
+ * <ChatbotSidebar conversations={[...]} />
145
+ * <ChatbotPageContent>
146
+ * <ChatbotPageBody>
147
+ * <ChatbotPageHeading>Need help with Aircall?</ChatbotPageHeading>
148
+ * <ChatbotInput />
149
+ * <ChatbotExpandSuggestion categories={[...]} suggestions={[...]} />
150
+ * </ChatbotPageBody>
151
+ * <ChatbotPageFooter betaTermsHref="https://legal.aircall.io/..." />
152
+ * </ChatbotPageContent>
153
+ * </ChatbotPage>
154
+ * ```
155
+ */
156
+ declare const ChatbotPageContent: React$1.ForwardRefExoticComponent<Omit<ChatbotPageContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
157
+ interface ChatbotPageContentProps extends React$1.ComponentProps<'div'> {}
158
+ declare namespace ChatbotPageContent {
159
+ type Props = ChatbotPageContentProps;
160
+ }
161
+ /**
162
+ * Centered content area for the idle/empty state inside `ChatbotPageContent`.
163
+ * Constrains children to a max-width of 896px and vertically centers them.
164
+ * Place `ChatbotPageHeading`, `ChatbotInput`, and `ChatbotExpandSuggestion`
165
+ * as children.
166
+ */
167
+ declare const ChatbotPageBody: React$1.ForwardRefExoticComponent<Omit<ChatbotPageBodyProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
168
+ interface ChatbotPageBodyProps extends React$1.ComponentProps<'div'> {}
169
+ declare namespace ChatbotPageBody {
170
+ type Props = ChatbotPageBodyProps;
171
+ }
172
+ /**
173
+ * Centered heading displayed above the input area in the idle state.
174
+ * Renders an `<h2>` element styled at 24px / medium weight.
175
+ *
176
+ * @example
177
+ * ```tsx
178
+ * <ChatbotPageHeading>Need help with Aircall?</ChatbotPageHeading>
179
+ * ```
180
+ */
181
+ declare const ChatbotPageHeading: React$1.ForwardRefExoticComponent<Omit<ChatbotPageHeadingProps, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
182
+ interface ChatbotPageHeadingProps extends React$1.ComponentProps<'h2'> {}
183
+ declare namespace ChatbotPageHeading {
184
+ type Props = ChatbotPageHeadingProps;
185
+ }
186
+ /**
187
+ * Footer bar showing the AI beta disclaimer. The "Beta terms" phrase is
188
+ * rendered as an external `Anchor` link pointing to `betaTermsHref`.
189
+ *
190
+ * @example
191
+ * ```tsx
192
+ * <ChatbotPageFooter betaTermsHref="https://legal.aircall.io/#template-9jw4r0usl" />
193
+ * ```
194
+ */
195
+ declare const ChatbotPageFooter: React$1.ForwardRefExoticComponent<Omit<ChatbotPageFooterProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
196
+ interface ChatbotPageFooterProps extends React$1.ComponentProps<'div'> {
197
+ /** URL for the "Beta terms" external link in the disclaimer footer. */
198
+ betaTermsHref: string;
199
+ }
200
+ declare namespace ChatbotPageFooter {
201
+ type Props = ChatbotPageFooterProps;
202
+ }
203
+ /**
204
+ * Scrollable conversation thread for the active chatbot state. Place
205
+ * `ChatbotUserMessage` and `ChatbotResponseBlock` as alternating children.
206
+ * Use alongside `ChatbotPageInputBar` and `ChatbotPageFooter` inside
207
+ * `ChatbotPageContent`.
208
+ *
209
+ * The component is `relative` so consumers can absolutely-position a
210
+ * scroll-to-bottom FAB inside it.
211
+ *
212
+ * @example
213
+ * ```tsx
214
+ * <ChatbotPageContent>
215
+ * <ChatbotPageConversation>
216
+ * <ChatbotUserMessage>How do I set my phone line?</ChatbotUserMessage>
217
+ * <ChatbotResponseBlock messageId="1" markdown="..." />
218
+ * </ChatbotPageConversation>
219
+ * <ChatbotPageInputBar>
220
+ * <ChatbotInput size="large" />
221
+ * </ChatbotPageInputBar>
222
+ * <ChatbotPageFooter betaTermsHref="https://legal.aircall.io/..." />
223
+ * </ChatbotPageContent>
224
+ * ```
225
+ */
226
+ declare const ChatbotPageConversation: React$1.ForwardRefExoticComponent<Omit<ChatbotPageConversationProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
227
+ interface ChatbotPageConversationProps extends React$1.ComponentProps<'div'> {}
228
+ declare namespace ChatbotPageConversation {
229
+ type Props = ChatbotPageConversationProps;
230
+ }
231
+ /**
232
+ * Wrapper that anchors `ChatbotInput` to the bottom of `ChatbotPageContent`
233
+ * at the correct max-width. Place between `ChatbotPageConversation` and
234
+ * `ChatbotPageFooter`.
235
+ *
236
+ * @example
237
+ * ```tsx
238
+ * <ChatbotPageInputBar>
239
+ * <ChatbotInput size="large" />
240
+ * </ChatbotPageInputBar>
241
+ * ```
242
+ */
243
+ declare const ChatbotPageInputBar: React$1.ForwardRefExoticComponent<Omit<ChatbotPageInputBarProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
244
+ interface ChatbotPageInputBarProps extends React$1.ComponentProps<'div'> {}
245
+ declare namespace ChatbotPageInputBar {
246
+ type Props = ChatbotPageInputBarProps;
247
+ }
133
248
  //#endregion
134
249
  //#region src/components/chatbot-panel-header.d.ts
135
250
  type ChatbotPanelHeaderProps = React$1.ComponentProps<'div'> & {
136
- /** Panel title displayed in the header. Defaults to "Ask Aircall". */title?: React$1.ReactNode; /** Whether the panel body is currently expanded (controlled). */
137
- open: boolean; /** Fires when the collapse (−) / expand (+) button is pressed. */
138
- onOpenChange: (open: boolean) => void; /** Fires when the "Send feedback" button is pressed. Omit to hide the button. */
139
- onFeedback?: () => void; /** Fires when the close (×) button is pressed. Omit to hide the close button. */
251
+ /** Title displayed in the header. Defaults to "Ask Aircall"; pass an empty
252
+ * string to hide it. */
253
+ title?: string; /** Fires when the menu (☰) button is pressed. Omit to hide the button. */
254
+ onMenu?: () => void;
255
+ /** When provided, the menu (☰) opens a Popover rendering this content (e.g. the
256
+ * conversation-history sidebar). The button shows even without `onMenu`. */
257
+ menuContent?: React$1.ReactNode;
258
+ /** Controls the `menuContent` Popover's open state. Omit to leave it
259
+ * uncontrolled. Provide together with `onMenuOpenChange` to close it
260
+ * programmatically (e.g. on conversation select). */
261
+ menuOpen?: boolean;
262
+ /** Fires when the `menuContent` Popover requests an open-state change (trigger
263
+ * press, outside press, Escape). */
264
+ onMenuOpenChange?: (open: boolean) => void; /** Fires when the "Send feedback" button is pressed. Omit to hide it. */
265
+ onFeedback?: () => void; /** Fires when the expand (fullscreen) button is pressed. Omit to hide it. */
266
+ onExpand?: () => void;
267
+ /** Whether the panel body is currently expanded. Provide with `onOpenChange`
268
+ * to show the collapse/expand (—/+) toggle. */
269
+ open?: boolean; /** Fires when the collapse/expand (—/+) toggle is pressed. Omit to hide it. */
270
+ onOpenChange?: (open: boolean) => void; /** Fires when the collapse (—) button is pressed. Omit to hide it. */
140
271
  onClose?: () => void;
141
272
  };
142
273
  /**
143
- * Header bar for the chatbot panel.
144
- *
145
- * Always visible the panel body collapses/expands below it. Controlled by
146
- * the parent via `open` + `onOpenChange`; pass `onClose` to show the dismiss (×) button.
274
+ * Header bar for the chatbot panel. Each control renders only when its handler is
275
+ * provided. The leading ☰ opens a Popover (conversation history) when
276
+ * `menuContent` is set, otherwise fires `onMenu`; with no menu handler it falls
277
+ * back to a non-interactive panel indicator. Title is optional pass an empty
278
+ * string to hide it.
147
279
  */
148
280
  declare function ChatbotPanelHeader({
149
281
  title,
282
+ onMenu,
283
+ menuContent,
284
+ menuOpen,
285
+ onMenuOpenChange,
286
+ onFeedback,
287
+ onExpand,
150
288
  open,
151
289
  onOpenChange,
152
- onFeedback,
153
290
  onClose,
154
291
  className,
155
292
  ...props
156
- }: ChatbotPanelHeaderProps): react_jsx_runtime1.JSX.Element;
293
+ }: ChatbotPanelHeaderProps): react_jsx_runtime0.JSX.Element;
157
294
  //#endregion
158
295
  //#region src/components/chatbot-sidebar.d.ts
159
296
  interface ChatbotSidebarConversation {
@@ -187,6 +324,7 @@ interface ChatbotSidebarProps {
187
324
  renderConversationMenuContent?: (conversation: ChatbotSidebarConversation) => React$1.ReactNode;
188
325
  /** Label above the conversation list. Defaults to "Recent"*/
189
326
  recentLabel?: string;
327
+ popup?: boolean;
190
328
  className?: string;
191
329
  }
192
330
  declare const ChatbotSidebar: React$1.ForwardRefExoticComponent<ChatbotSidebarProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -197,6 +335,7 @@ declare namespace ChatbotSidebar {
197
335
  //#region src/components/chatbot-input.d.ts
198
336
  declare const textareaVariants: (props?: ({
199
337
  size?: "default" | "large" | null | undefined;
338
+ expanded?: boolean | null | undefined;
200
339
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
201
340
  type ChatbotInputProps = Omit<React$1.ComponentProps<'textarea'>, 'onChange' | 'value' | 'size' | 'onSubmit'> & VariantProps<typeof textareaVariants> & {
202
341
  /** Current text value (controlled). */value?: string; /** Called with the new text whenever the user types. */
@@ -205,6 +344,12 @@ type ChatbotInputProps = Omit<React$1.ComponentProps<'textarea'>, 'onChange' | '
205
344
  onStop?: () => void; /** Placeholder shown when empty. */
206
345
  placeholder?: string; /** When true, shows the stop button instead of send, and disables typing submission. */
207
346
  loading?: boolean;
347
+ /**
348
+ * When true, the textarea starts at 80px tall even when empty.
349
+ * Use in the idle/home state where a prominent input is desired.
350
+ * @default false
351
+ */
352
+ expanded?: boolean;
208
353
  };
209
354
  declare function ChatbotInput({
210
355
  className,
@@ -215,9 +360,10 @@ declare function ChatbotInput({
215
360
  placeholder,
216
361
  loading,
217
362
  size,
363
+ expanded,
218
364
  disabled,
219
365
  ...textareaProps
220
- }: ChatbotInputProps): react_jsx_runtime1.JSX.Element;
366
+ }: ChatbotInputProps): react_jsx_runtime0.JSX.Element;
221
367
  //#endregion
222
368
  //#region src/components/copy-button.d.ts
223
369
  declare const CopyButton: React$1.ForwardRefExoticComponent<Omit<CopyButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -253,7 +399,7 @@ type ChatbotPanelSuggestionProps = Omit<React.ComponentProps<typeof Button>, 'va
253
399
  declare function ChatbotPanelSuggestion({
254
400
  className,
255
401
  ...props
256
- }: ChatbotPanelSuggestionProps): react_jsx_runtime1.JSX.Element;
402
+ }: ChatbotPanelSuggestionProps): react_jsx_runtime0.JSX.Element;
257
403
  //#endregion
258
404
  //#region src/components/chatbot-user-message.d.ts
259
405
  type ChatbotUserMessageProps = React.ComponentProps<'div'>;
@@ -261,7 +407,7 @@ declare function ChatbotUserMessage({
261
407
  className,
262
408
  children,
263
409
  ...props
264
- }: ChatbotUserMessageProps): react_jsx_runtime1.JSX.Element;
410
+ }: ChatbotUserMessageProps): react_jsx_runtime0.JSX.Element;
265
411
  //#endregion
266
412
  //#region src/components/dashboard-standalone-page.d.ts
267
413
  declare const DashboardStandalonePage: React$1.ForwardRefExoticComponent<Omit<DashboardStandalonePageProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -426,7 +572,109 @@ declare function ChatbotPanelTrigger({
426
572
  icon,
427
573
  className,
428
574
  ...buttonProps
429
- }: ChatbotPanelTriggerProps): react_jsx_runtime1.JSX.Element;
575
+ }: ChatbotPanelTriggerProps): react_jsx_runtime0.JSX.Element;
576
+ //#endregion
577
+ //#region src/components/chatbot-expand-suggestion.d.ts
578
+ interface ChatbotExpandSuggestionCategory {
579
+ value: string;
580
+ label: string;
581
+ }
582
+ interface ChatbotExpandSuggestionItem {
583
+ id: string;
584
+ text: string;
585
+ }
586
+ interface ChatbotExpandSuggestionProps {
587
+ /** Category filter pills rendered above the suggestions list. Hidden when empty or undefined. */
588
+ categories?: ChatbotExpandSuggestionCategory[];
589
+ /** Controlled selected category value. Pass undefined to clear. */
590
+ selectedCategory?: string;
591
+ /** Fired when the user presses a category pill. Receives undefined when deselected. */
592
+ onCategoryChange?: (value: string | undefined) => void;
593
+ /** Label above the suggestion rows. Defaults to "Suggestions". */
594
+ label?: string;
595
+ /** Clickable suggestion rows. Hidden when empty or undefined. */
596
+ suggestions?: ChatbotExpandSuggestionItem[];
597
+ /** Fired when the user clicks a suggestion row. */
598
+ onSuggestionClick?: (suggestion: ChatbotExpandSuggestionItem) => void;
599
+ className?: string;
600
+ }
601
+ declare const ChatbotExpandSuggestion: React$1.ForwardRefExoticComponent<ChatbotExpandSuggestionProps & React$1.RefAttributes<HTMLDivElement>>;
602
+ declare namespace ChatbotExpandSuggestion {
603
+ type Props = ChatbotExpandSuggestionProps;
604
+ }
605
+ //#endregion
606
+ //#region src/components/chatbot-panel.d.ts
607
+ type ChatbotPanelSuggestionItem = {
608
+ /** Stable id; falls back to the label when omitted. */id?: string; /** Pill copy, also used as the message text on select. */
609
+ label: string;
610
+ };
611
+ type ChatbotPanelProps = Omit<React$1.ComponentProps<'div'>, 'title' | 'onSubmit'> & {
612
+ /** Title shown in the header. Defaults to the i18n "Ask Aircall". */title?: string; /** Fires when the header menu (☰) is pressed. Omit to hide the button. */
613
+ onMenu?: () => void;
614
+ /** Recent conversations. When provided (even `[]`), the header ☰ opens a Popover
615
+ * with the conversation history (reuses ChatbotSidebar). */
616
+ conversations?: ChatbotSidebarProps['conversations']; /** Highlights the active conversation row in the menu. */
617
+ activeConversationId?: ChatbotSidebarProps['activeConversationId']; /** Fires when "New chat" is selected in the menu. */
618
+ onNewChat?: ChatbotSidebarProps['onNewChat']; /** Fires when a conversation row is selected in the menu. */
619
+ onSelectConversation?: ChatbotSidebarProps['onSelectConversation']; /** Render prop for each conversation row's trailing ⋯ menu items. */
620
+ renderConversationMenuContent?: ChatbotSidebarProps['renderConversationMenuContent']; /** Fires when the header expand (fullscreen) is pressed. Omit to hide it. */
621
+ onExpand?: () => void; /** Fires when the header close (×) is pressed. Omit to hide the close button. */
622
+ onClose?: () => void; /** Empty-state heading. Defaults to the i18n "Need help with Aircall?". */
623
+ emptyTitle?: React$1.ReactNode; /** Empty-state subheading. Defaults to the i18n description. */
624
+ emptyDescription?: React$1.ReactNode; /** Suggestion pills shown in the empty state. */
625
+ suggestions?: ChatbotPanelSuggestionItem[]; /** Fires when a suggestion pill is selected. */
626
+ onSuggestionSelect?: (suggestion: ChatbotPanelSuggestionItem) => void; /** Composer value (controlled). */
627
+ inputValue?: string; /** Fires as the composer value changes. */
628
+ onInputValueChange?: (value: string) => void; /** Fires when the composer is submitted (Enter or send button). */
629
+ onSubmit?: (value: string) => void; /** Fires when the stop button is pressed while `loading`. */
630
+ onStop?: () => void; /** Shows the stop button instead of send. */
631
+ loading?: boolean; /** Composer placeholder. */
632
+ placeholder?: string;
633
+ /**
634
+ * Focus the composer when the panel mounts. Use this when the panel is
635
+ * mounted on open (e.g. `{open && <ChatbotPanel autoFocus />}`).
636
+ */
637
+ autoFocus?: boolean; /** Footer disclaimer. Pass `null` to hide; defaults to the AI beta notice. */
638
+ disclaimer?: React$1.ReactNode; /** Enable the left-edge resize handle. Defaults to true. */
639
+ resizable?: boolean; /** Initial width in px (uncontrolled). Defaults to 400. */
640
+ defaultWidth?: number; /** Minimum width in px. Defaults to 320. */
641
+ minWidth?: number; /** Maximum width in px. Defaults to 768. */
642
+ maxWidth?: number; /** Fires with the new width (px) as the panel is resized. */
643
+ onWidthChange?: (width: number) => void; /** Conversation content. When empty, the empty state renders instead. */
644
+ children?: React$1.ReactNode;
645
+ };
646
+ declare function ChatbotPanel({
647
+ title,
648
+ onMenu,
649
+ conversations,
650
+ activeConversationId,
651
+ onNewChat,
652
+ onSelectConversation,
653
+ renderConversationMenuContent,
654
+ onExpand,
655
+ onClose,
656
+ emptyTitle,
657
+ emptyDescription,
658
+ suggestions,
659
+ onSuggestionSelect,
660
+ inputValue,
661
+ onInputValueChange,
662
+ onSubmit,
663
+ onStop,
664
+ loading,
665
+ placeholder,
666
+ autoFocus,
667
+ disclaimer,
668
+ resizable,
669
+ defaultWidth,
670
+ minWidth,
671
+ maxWidth,
672
+ onWidthChange,
673
+ className,
674
+ style,
675
+ children,
676
+ ...props
677
+ }: ChatbotPanelProps): react_jsx_runtime0.JSX.Element;
430
678
  //#endregion
431
679
  //#region src/hooks/use-copy-to-clipboard.d.ts
432
680
  interface UseCopyToClipboardOptions {
@@ -463,7 +711,7 @@ declare function CardSaveBar({
463
711
  submitLabel,
464
712
  savingLabel,
465
713
  resetLabel
466
- }: CardSaveBarProps): react_jsx_runtime1.JSX.Element;
714
+ }: CardSaveBarProps): react_jsx_runtime0.JSX.Element;
467
715
  //#endregion
468
716
  //#region src/components/submit-button.d.ts
469
717
  /**
@@ -487,7 +735,7 @@ declare function SubmitButton({
487
735
  loadingLabel,
488
736
  className,
489
737
  ...buttonProps
490
- }: SubmitButtonProps): react_jsx_runtime1.JSX.Element;
738
+ }: SubmitButtonProps): react_jsx_runtime0.JSX.Element;
491
739
  //#endregion
492
740
  //#region src/form/use-form.d.ts
493
741
  /**
@@ -1124,7 +1372,7 @@ type FormFieldBaseProps<TData, TControl> = {
1124
1372
  * Field-name/value/validator typing is enforced at each wrapper's boundary; this just renders
1125
1373
  * the AppField + shared shell. `TData`/`TControl` carry the precise field + bundle shapes through.
1126
1374
  */
1127
- declare function FormFieldBase<TData, TControl>(props: FormFieldBaseProps<TData, TControl>): react_jsx_runtime1.JSX.Element;
1375
+ declare function FormFieldBase<TData, TControl>(props: FormFieldBaseProps<TData, TControl>): react_jsx_runtime0.JSX.Element;
1128
1376
  //#endregion
1129
1377
  //#region src/components/form-select-field.d.ts
1130
1378
  /**
@@ -1168,7 +1416,7 @@ type FormSelectFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
1168
1416
  * )}
1169
1417
  * </FormSelectField>
1170
1418
  */
1171
- declare function FormSelectField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormSelectFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1419
+ declare function FormSelectField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormSelectFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1172
1420
  //#endregion
1173
1421
  //#region src/components/form-input-field.d.ts
1174
1422
  /**
@@ -1201,7 +1449,7 @@ type FormInputFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<T
1201
1449
  * {(field, { inputProps }) => <Input {...inputProps} type="email" placeholder="you@co.com" />}
1202
1450
  * </FormInputField>
1203
1451
  */
1204
- declare function FormInputField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormInputFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1452
+ declare function FormInputField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormInputFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1205
1453
  //#endregion
1206
1454
  //#region src/components/form-combobox-field.d.ts
1207
1455
  /**
@@ -1246,7 +1494,7 @@ type FormComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeysOfTyp
1246
1494
  * )}
1247
1495
  * </FormComboboxField>
1248
1496
  */
1249
- declare function FormComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormComboboxFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1497
+ declare function FormComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormComboboxFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1250
1498
  //#endregion
1251
1499
  //#region src/components/form-multi-combobox-field.d.ts
1252
1500
  /**
@@ -1286,7 +1534,7 @@ type FormMultiComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeys
1286
1534
  * )}
1287
1535
  * </FormMultiComboboxField>
1288
1536
  */
1289
- declare function FormMultiComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string[]>>(props: FormMultiComboboxFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1537
+ declare function FormMultiComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string[]>>(props: FormMultiComboboxFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1290
1538
  //#endregion
1291
1539
  //#region src/components/form-textarea-field.d.ts
1292
1540
  /**
@@ -1319,7 +1567,7 @@ type FormTextareaFieldProps<TForm extends BoundForm, TName extends DeepKeysOfTyp
1319
1567
  * {(field, { textareaProps }) => <Textarea {...textareaProps} rows={4} />}
1320
1568
  * </FormTextareaField>
1321
1569
  */
1322
- declare function FormTextareaField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormTextareaFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1570
+ declare function FormTextareaField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormTextareaFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1323
1571
  //#endregion
1324
1572
  //#region src/components/form-radio-group-field.d.ts
1325
1573
  /**
@@ -1357,7 +1605,7 @@ type FormRadioGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOfT
1357
1605
  * )}
1358
1606
  * </FormRadioGroupField>
1359
1607
  */
1360
- declare function FormRadioGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormRadioGroupFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1608
+ declare function FormRadioGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormRadioGroupFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1361
1609
  //#endregion
1362
1610
  //#region src/components/form-otp-field.d.ts
1363
1611
  /**
@@ -1390,7 +1638,7 @@ type FormOTPFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TFo
1390
1638
  * {(field, { otpProps }) => <InputOTP maxLength={6} {...otpProps}>{slots}</InputOTP>}
1391
1639
  * </FormOTPField>
1392
1640
  */
1393
- declare function FormOTPField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormOTPFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1641
+ declare function FormOTPField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormOTPFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1394
1642
  //#endregion
1395
1643
  //#region src/components/form-switch-field.d.ts
1396
1644
  /**
@@ -1423,7 +1671,7 @@ type FormSwitchFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
1423
1671
  * {(field, { switchProps }) => <Switch {...switchProps} />}
1424
1672
  * </FormSwitchField>
1425
1673
  */
1426
- declare function FormSwitchField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], boolean>>(props: FormSwitchFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1674
+ declare function FormSwitchField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], boolean>>(props: FormSwitchFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1427
1675
  //#endregion
1428
1676
  //#region src/components/form-number-field.d.ts
1429
1677
  /**
@@ -1456,7 +1704,7 @@ type FormNumberFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
1456
1704
  * {(field, { numberProps }) => <Input type="number" {...numberProps} />}
1457
1705
  * </FormNumberField>
1458
1706
  */
1459
- declare function FormNumberField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormNumberFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1707
+ declare function FormNumberField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormNumberFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1460
1708
  //#endregion
1461
1709
  //#region src/components/form-slider-field.d.ts
1462
1710
  /**
@@ -1488,7 +1736,7 @@ type FormSliderFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
1488
1736
  * {(field, { sliderProps }) => <Slider min={0} max={100} step={1} {...sliderProps} />}
1489
1737
  * </FormSliderField>
1490
1738
  */
1491
- declare function FormSliderField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormSliderFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1739
+ declare function FormSliderField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormSliderFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1492
1740
  //#endregion
1493
1741
  //#region src/components/form-toggle-group-field.d.ts
1494
1742
  /**
@@ -1526,7 +1774,7 @@ type FormToggleGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOf
1526
1774
  * )}
1527
1775
  * </FormToggleGroupField>
1528
1776
  */
1529
- declare function FormToggleGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string | null>>(props: FormToggleGroupFieldProps<TForm, TName>): react_jsx_runtime1.JSX.Element;
1777
+ declare function FormToggleGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string | null>>(props: FormToggleGroupFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
1530
1778
  //#endregion
1531
1779
  //#region src/form/field-errors.d.ts
1532
1780
  /**
@@ -1574,7 +1822,7 @@ declare function SaveBar({
1574
1822
  savingLabel,
1575
1823
  resetLabel,
1576
1824
  className
1577
- }: SaveBarProps): react_jsx_runtime1.JSX.Element;
1825
+ }: SaveBarProps): react_jsx_runtime0.JSX.Element;
1578
1826
  //#endregion
1579
1827
  //#region src/components/dashboard-sidebar-nav.d.ts
1580
1828
  type DashboardSidebarNavSubmenuSeparator = {
@@ -1658,7 +1906,7 @@ type DashboardSidebarNavProps = {
1658
1906
  declare function DashboardSidebarNav({
1659
1907
  groups,
1660
1908
  renderLink
1661
- }: DashboardSidebarNavProps): react_jsx_runtime1.JSX.Element;
1909
+ }: DashboardSidebarNavProps): react_jsx_runtime0.JSX.Element;
1662
1910
  //#endregion
1663
1911
  //#region src/components/dashboard-sidebar.d.ts
1664
1912
  declare const DashboardSidebarProvider: React$1.ForwardRefExoticComponent<Omit<DashboardSidebarProviderProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1758,4 +2006,4 @@ declare namespace DashboardSidebarSubmenuSeparator {
1758
2006
  type Props = DashboardSidebarSubmenuSeparatorProps;
1759
2007
  }
1760
2008
  //#endregion
1761
- export { BetaBadge, type BoundForm, CardSaveBar, type CardSaveBarProps, ChatbotInput, type ChatbotInputProps, ChatbotPage, ChatbotPanelHeader, type ChatbotPanelHeaderProps, ChatbotPanelSuggestion, type ChatbotPanelSuggestionProps, ChatbotPanelTrigger, type ChatbotPanelTriggerProps, ChatbotResponseBlock, type ChatbotResponseBlockFeedback, type ChatbotResponseBlockProps, ChatbotSidebar, type ChatbotSidebarConversation, ChatbotUserMessage, type ChatbotUserMessageProps, type ComboboxControl, ComingSoonDescription, ComingSoonEmptyState, ComingSoonMedia, ComingSoonTitle, CommonForm, CopyButton, CopyButtonIcon, CopyButtonLabel, DashboardPage, DashboardPageBanner, DashboardPageContent, DashboardPageHeader, DashboardPageHeaderAction, DashboardPageHeaderActions, DashboardPageHeaderDescription, DashboardPageHeaderNav, DashboardPageHeaderNavBack, DashboardPageHeaderPrefix, DashboardPageHeaderSubtitle, DashboardPageHeaderTitle, DashboardPageHeaderTitleGroup, DashboardPageMain, DashboardPageTabs, DashboardSidebar, DashboardSidebarContent, DashboardSidebarFooter, DashboardSidebarGroup, DashboardSidebarGroupLabel, DashboardSidebarHeader, DashboardSidebarMenu, DashboardSidebarMenuBadge, DashboardSidebarMenuButton, DashboardSidebarMenuItem, DashboardSidebarNav, type DashboardSidebarNavGroup, type DashboardSidebarNavItem, type DashboardSidebarNavItemAction, type DashboardSidebarNavItemLink, type DashboardSidebarNavItemSubmenu, type DashboardSidebarNavSubmenuItem, DashboardSidebarProvider, DashboardSidebarSubmenu, DashboardSidebarSubmenuItem, DashboardSidebarSubmenuSeparator, DashboardSidebarTrigger, DashboardStandalonePage, DashboardStandalonePageAction, DashboardStandalonePageActions, DashboardStandalonePageContent, DashboardStandalonePageHeader, DashboardStandalonePageTitle, DeprecatedBadge, EmptyState, EmptyStateActions, EmptyStateButton, EmptyStateDescription, EmptyStateExternalLink, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, FormComboboxField, type FormComboboxFieldProps, FormFieldBase, type FormFieldValidators, FormInputField, type FormInputFieldProps, FormMultiComboboxField, type FormMultiComboboxFieldProps, FormNumberField, type FormNumberFieldProps, FormOTPField, type FormOTPFieldProps, FormRadioGroupField, type FormRadioGroupFieldProps, FormSelectField, type FormSelectFieldProps, FormSliderField, type FormSliderFieldProps, FormSwitchField, type FormSwitchFieldProps, FormTextareaField, type FormTextareaFieldProps, FormToggleGroupField, type FormToggleGroupFieldProps, type InputControl, type MultiComboboxControl, NewBadge, NoDataDescription, NoDataEmptyState, NoDataMedia, NoDataTitle, NoSupportDescription, NoSupportEmptyState, NoSupportMedia, NoSupportTitle, NotFoundDescription, NotFoundEmptyState, NotFoundMedia, NotFoundTitle, type NumberControl, type OTPControl, ProfessionalBadge, type RadioGroupControl, RestrictedAccessDescription, RestrictedAccessEmptyState, RestrictedAccessMedia, RestrictedAccessTitle, RoleBadge, type RoleBadgeRole, SaveBar, type SaveBarProps, type SelectControl, type SliderControl, SubmitButton, type SubmitButtonProps, type SwitchControl, type TextareaControl, type ToggleGroupControl, TrialBadge, type TypedField, UnknownErrorDescription, UnknownErrorEmptyState, UnknownErrorMedia, UnknownErrorTitle, fieldContext, formContext, toFieldErrors, useCopyToClipboard, useSidebar as useDashboardSidebar, useFieldContext, useForm, useFormContext, withForm };
2009
+ export { BetaBadge, type BoundForm, CardSaveBar, type CardSaveBarProps, ChatbotExpandSuggestion, type ChatbotExpandSuggestionProps, ChatbotInput, type ChatbotInputProps, ChatbotPage, ChatbotPageBody, type ChatbotPageBodyProps, ChatbotPageContent, type ChatbotPageContentProps, ChatbotPageConversation, type ChatbotPageConversationProps, ChatbotPageFooter, type ChatbotPageFooterProps, ChatbotPageHeading, type ChatbotPageHeadingProps, ChatbotPageInputBar, type ChatbotPageInputBarProps, type ChatbotPageProps, ChatbotPanel, ChatbotPanelHeader, type ChatbotPanelHeaderProps, type ChatbotPanelProps, ChatbotPanelSuggestion, type ChatbotPanelSuggestionItem, type ChatbotPanelSuggestionProps, ChatbotPanelTrigger, type ChatbotPanelTriggerProps, ChatbotResponseBlock, type ChatbotResponseBlockFeedback, type ChatbotResponseBlockProps, ChatbotSidebar, type ChatbotSidebarConversation, ChatbotUserMessage, type ChatbotUserMessageProps, type ComboboxControl, ComingSoonDescription, ComingSoonEmptyState, ComingSoonMedia, ComingSoonTitle, CommonForm, CopyButton, CopyButtonIcon, CopyButtonLabel, DashboardPage, DashboardPageBanner, DashboardPageContent, DashboardPageHeader, DashboardPageHeaderAction, DashboardPageHeaderActions, DashboardPageHeaderDescription, DashboardPageHeaderNav, DashboardPageHeaderNavBack, DashboardPageHeaderPrefix, DashboardPageHeaderSubtitle, DashboardPageHeaderTitle, DashboardPageHeaderTitleGroup, DashboardPageMain, DashboardPageTabs, DashboardSidebar, DashboardSidebarContent, DashboardSidebarFooter, DashboardSidebarGroup, DashboardSidebarGroupLabel, DashboardSidebarHeader, DashboardSidebarMenu, DashboardSidebarMenuBadge, DashboardSidebarMenuButton, DashboardSidebarMenuItem, DashboardSidebarNav, type DashboardSidebarNavGroup, type DashboardSidebarNavItem, type DashboardSidebarNavItemAction, type DashboardSidebarNavItemLink, type DashboardSidebarNavItemSubmenu, type DashboardSidebarNavSubmenuItem, DashboardSidebarProvider, DashboardSidebarSubmenu, DashboardSidebarSubmenuItem, DashboardSidebarSubmenuSeparator, DashboardSidebarTrigger, DashboardStandalonePage, DashboardStandalonePageAction, DashboardStandalonePageActions, DashboardStandalonePageContent, DashboardStandalonePageHeader, DashboardStandalonePageTitle, DeprecatedBadge, EmptyState, EmptyStateActions, EmptyStateButton, EmptyStateDescription, EmptyStateExternalLink, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, FormComboboxField, type FormComboboxFieldProps, FormFieldBase, type FormFieldValidators, FormInputField, type FormInputFieldProps, FormMultiComboboxField, type FormMultiComboboxFieldProps, FormNumberField, type FormNumberFieldProps, FormOTPField, type FormOTPFieldProps, FormRadioGroupField, type FormRadioGroupFieldProps, FormSelectField, type FormSelectFieldProps, FormSliderField, type FormSliderFieldProps, FormSwitchField, type FormSwitchFieldProps, FormTextareaField, type FormTextareaFieldProps, FormToggleGroupField, type FormToggleGroupFieldProps, type InputControl, type MultiComboboxControl, NewBadge, NoDataDescription, NoDataEmptyState, NoDataMedia, NoDataTitle, NoSupportDescription, NoSupportEmptyState, NoSupportMedia, NoSupportTitle, NotFoundDescription, NotFoundEmptyState, NotFoundMedia, NotFoundTitle, type NumberControl, type OTPControl, ProfessionalBadge, type RadioGroupControl, RestrictedAccessDescription, RestrictedAccessEmptyState, RestrictedAccessMedia, RestrictedAccessTitle, RoleBadge, type RoleBadgeRole, SaveBar, type SaveBarProps, type SelectControl, type SliderControl, SubmitButton, type SubmitButtonProps, type SwitchControl, type TextareaControl, type ToggleGroupControl, TrialBadge, type TypedField, UnknownErrorDescription, UnknownErrorEmptyState, UnknownErrorMedia, UnknownErrorTitle, fieldContext, formContext, toFieldErrors, useCopyToClipboard, useSidebar as useDashboardSidebar, useFieldContext, useForm, useFormContext, withForm };