@aircall/blocks 0.7.0 → 0.10.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/globals.css +1 -1
- package/dist/index.d.ts +396 -107
- package/dist/index.js +792 -161
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
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
|
-
import { DeepKeys, DeepKeysOfType, FieldAsyncValidateOrFn, FieldValidateOrFn } from "@tanstack/react-form";
|
|
6
|
+
import { DeepKeys, DeepKeysOfType, DeepValue, FieldAsyncValidateOrFn, FieldListeners, FieldValidateOrFn, FieldValidators } from "@tanstack/react-form";
|
|
7
7
|
import { useRender } from "@base-ui/react/use-render";
|
|
8
8
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
9
9
|
|
|
@@ -119,41 +119,178 @@ declare function ChatbotResponseBlock({
|
|
|
119
119
|
sources,
|
|
120
120
|
onFeedback,
|
|
121
121
|
className
|
|
122
|
-
}: ChatbotResponseBlockProps):
|
|
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
|
|
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
|
-
/**
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
*
|
|
146
|
-
*
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
738
|
+
}: SubmitButtonProps): react_jsx_runtime0.JSX.Element;
|
|
491
739
|
//#endregion
|
|
492
740
|
//#region src/form/use-form.d.ts
|
|
493
741
|
/**
|
|
@@ -1036,17 +1284,33 @@ declare const useForm: <TFormData, TOnMount extends _tanstack_react_form0.FormVa
|
|
|
1036
1284
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1037
1285
|
}>;
|
|
1038
1286
|
declare const withForm: <TFormData, TOnMount extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
1042
|
-
readonly SubmitButton: typeof SubmitButton;
|
|
1043
|
-
readonly CardSaveBar: typeof CardSaveBar;
|
|
1044
|
-
}, TRenderProps>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1045
|
-
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {}, {
|
|
1287
|
+
render,
|
|
1288
|
+
props
|
|
1289
|
+
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
1046
1290
|
readonly SubmitButton: typeof SubmitButton;
|
|
1047
1291
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1292
|
+
}, TRenderProps>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1293
|
+
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {}, {
|
|
1294
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
1295
|
+
readonly CardSaveBar: typeof CardSaveBar;
|
|
1296
|
+
}>;
|
|
1297
|
+
}>>, withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1298
|
+
render,
|
|
1299
|
+
props,
|
|
1300
|
+
defaultValues
|
|
1301
|
+
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {}, {
|
|
1302
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
1303
|
+
readonly CardSaveBar: typeof CardSaveBar;
|
|
1304
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: React$1.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1305
|
+
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
1306
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
1307
|
+
readonly CardSaveBar: typeof CardSaveBar;
|
|
1308
|
+
}> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
1309
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
1310
|
+
readonly CardSaveBar: typeof CardSaveBar;
|
|
1311
|
+
}>;
|
|
1312
|
+
fields: TFields;
|
|
1313
|
+
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1050
1314
|
//#endregion
|
|
1051
1315
|
//#region src/form/form-context.d.ts
|
|
1052
1316
|
/**
|
|
@@ -1096,26 +1360,62 @@ type BoundForm = {
|
|
|
1096
1360
|
};
|
|
1097
1361
|
AppField: (...args: never[]) => unknown;
|
|
1098
1362
|
};
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1363
|
+
/**
|
|
1364
|
+
* Field validators typed against the field's value — the `validators` prop of every wrapper.
|
|
1365
|
+
*
|
|
1366
|
+
* Reuses TanStack's own `FieldValidators` (the exact interface `AppField` accepts) instead of a
|
|
1367
|
+
* hand-rolled mirror, so every slot AppField supports is exposed with identical typing:
|
|
1368
|
+
* `onMount`, `onChange`/`onChangeAsync`/`onChangeListenTo`, `onBlur`/`onBlurAsync`/`onBlurListenTo`,
|
|
1369
|
+
* `onSubmit`/`onSubmitAsync`, `onDynamic`/`onDynamicAsync`, plus the `*DebounceMs` knobs.
|
|
1370
|
+
*
|
|
1371
|
+
* The per-slot validator generics can't be inferred here (the wrapper is generic over `TForm`/
|
|
1372
|
+
* `TName`, not a generic *function* like `AppField`), so each is instantiated to its widest
|
|
1373
|
+
* `FieldValidateOrFn`/`FieldAsyncValidateOrFn`. `value` still infers as the field's real type
|
|
1374
|
+
* because `TData` (`DeepValue<TFormData, TName>`) is concrete. The outer conditional keeps `TName`
|
|
1375
|
+
* unconstrained at the boundary so `DeepKeysOfType` subsets (e.g. the string-only Select keys)
|
|
1376
|
+
* resolve without a constraint clash, exactly like the previous guard.
|
|
1377
|
+
*/
|
|
1378
|
+
type FormFieldValidators<TFormData, TName> = TName extends DeepKeys<TFormData> ? FieldValidators<TFormData, TName, DeepValue<TFormData, TName>, FieldValidateOrFn<TFormData, TName>, FieldValidateOrFn<TFormData, TName>, FieldAsyncValidateOrFn<TFormData, TName>, FieldValidateOrFn<TFormData, TName>, FieldAsyncValidateOrFn<TFormData, TName>, FieldValidateOrFn<TFormData, TName>, FieldAsyncValidateOrFn<TFormData, TName>, FieldValidateOrFn<TFormData, TName>, FieldAsyncValidateOrFn<TFormData, TName>> : never;
|
|
1379
|
+
/**
|
|
1380
|
+
* The full `AppField` binding surface every wrapper forwards, typed against the field's value.
|
|
1381
|
+
*
|
|
1382
|
+
* This is the **single source of truth** for which `form.AppField` props the `Form*Field` wrappers
|
|
1383
|
+
* pass through — spread it into each wrapper's props so the set can't drift per-wrapper. The
|
|
1384
|
+
* `app-field-coverage` type test asserts this stays in sync with `AppField`'s real prop surface:
|
|
1385
|
+
* every `AppField` prop must be forwarded here or appear in that test's explicit omission list.
|
|
1386
|
+
*
|
|
1387
|
+
* Forwarded: `validators`, `listeners`, `defaultValue`, `asyncDebounceMs`, `asyncAlways`.
|
|
1388
|
+
* Deliberately omitted (see the coverage test): `name`/`children` (owned by the wrapper),
|
|
1389
|
+
* `defaultMeta`/`disableErrorFlat` (advanced escape hatches that fight the shared shell).
|
|
1390
|
+
*/
|
|
1391
|
+
type FieldBindingProps<TFormData, TName> = TName extends DeepKeys<TFormData> ? {
|
|
1392
|
+
validators?: FormFieldValidators<TFormData, TName>;
|
|
1393
|
+
listeners?: FieldListeners<TFormData, TName>;
|
|
1394
|
+
defaultValue?: DeepValue<TFormData, TName>;
|
|
1395
|
+
asyncDebounceMs?: number;
|
|
1396
|
+
asyncAlways?: boolean;
|
|
1397
|
+
} : never;
|
|
1398
|
+
/**
|
|
1399
|
+
* Presentational necessity props every wrapper exposes, forwarded to the DS `FieldLabel` to mark a
|
|
1400
|
+
* field required/optional in the label. Enforcement stays in `validators` — this is label-only.
|
|
1401
|
+
* Shared so the set can't drift per-wrapper.
|
|
1402
|
+
*/
|
|
1403
|
+
type NecessityProps = {
|
|
1404
|
+
required?: boolean;
|
|
1405
|
+
necessityIndicator?: 'icon' | 'label';
|
|
1112
1406
|
};
|
|
1113
1407
|
type FormFieldBaseProps<TData, TControl> = {
|
|
1114
1408
|
form: Pick<BoundForm, 'AppField'>;
|
|
1115
1409
|
name: string;
|
|
1116
1410
|
validators?: unknown;
|
|
1117
|
-
|
|
1118
|
-
|
|
1411
|
+
listeners?: unknown;
|
|
1412
|
+
defaultValue?: unknown;
|
|
1413
|
+
asyncDebounceMs?: number;
|
|
1414
|
+
asyncAlways?: boolean;
|
|
1415
|
+
label?: string;
|
|
1416
|
+
description?: string;
|
|
1417
|
+
required?: boolean;
|
|
1418
|
+
necessityIndicator?: 'icon' | 'label'; /** Builds the primitive-specific wiring bundle handed to `children`. */
|
|
1119
1419
|
buildControl: (field: TypedField<TData>) => TControl;
|
|
1120
1420
|
children: (field: TypedField<TData>, control: TControl) => React$1.ReactNode;
|
|
1121
1421
|
};
|
|
@@ -1124,7 +1424,7 @@ type FormFieldBaseProps<TData, TControl> = {
|
|
|
1124
1424
|
* Field-name/value/validator typing is enforced at each wrapper's boundary; this just renders
|
|
1125
1425
|
* the AppField + shared shell. `TData`/`TControl` carry the precise field + bundle shapes through.
|
|
1126
1426
|
*/
|
|
1127
|
-
declare function FormFieldBase<TData, TControl>(props: FormFieldBaseProps<TData, TControl>):
|
|
1427
|
+
declare function FormFieldBase<TData, TControl>(props: FormFieldBaseProps<TData, TControl>): react_jsx_runtime0.JSX.Element;
|
|
1128
1428
|
//#endregion
|
|
1129
1429
|
//#region src/components/form-select-field.d.ts
|
|
1130
1430
|
/**
|
|
@@ -1145,11 +1445,10 @@ type SelectControl = {
|
|
|
1145
1445
|
type FormSelectFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1146
1446
|
/** The form instance from `useForm()` — threaded as a prop so `name`/`validators` are typed. */form: TForm;
|
|
1147
1447
|
name: TName;
|
|
1148
|
-
label
|
|
1149
|
-
description?: string;
|
|
1150
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>; /** Compose the Select yourself; spread the bundles. Trigger/content stay fully customizable. */
|
|
1448
|
+
label?: string;
|
|
1449
|
+
description?: string; /** Compose the Select yourself; spread the bundles. Trigger/content stay fully customizable. */
|
|
1151
1450
|
children: (field: TypedField<string>, control: SelectControl) => React$1.ReactNode;
|
|
1152
|
-
};
|
|
1451
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1153
1452
|
/**
|
|
1154
1453
|
* Select field wrapper. Owns the binding + shared `Field/Label/Error` shell, and hands the
|
|
1155
1454
|
* consumer pre-wired `selectProps` / `selectTriggerProps` to spread onto `@aircall/ds` Select
|
|
@@ -1168,7 +1467,7 @@ type FormSelectFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
|
|
|
1168
1467
|
* )}
|
|
1169
1468
|
* </FormSelectField>
|
|
1170
1469
|
*/
|
|
1171
|
-
declare function FormSelectField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormSelectFieldProps<TForm, TName>):
|
|
1470
|
+
declare function FormSelectField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormSelectFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1172
1471
|
//#endregion
|
|
1173
1472
|
//#region src/components/form-input-field.d.ts
|
|
1174
1473
|
/**
|
|
@@ -1186,11 +1485,10 @@ type InputControl = {
|
|
|
1186
1485
|
type FormInputFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1187
1486
|
form: TForm;
|
|
1188
1487
|
name: TName;
|
|
1189
|
-
label
|
|
1488
|
+
label?: string;
|
|
1190
1489
|
description?: string;
|
|
1191
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1192
1490
|
children: (field: TypedField<string>, control: InputControl) => React$1.ReactNode;
|
|
1193
|
-
};
|
|
1491
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1194
1492
|
/**
|
|
1195
1493
|
* Text-input field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1196
1494
|
* with an `inputProps` bundle. Compose the input yourself (add adornments, counters, prefixes).
|
|
@@ -1201,7 +1499,7 @@ type FormInputFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<T
|
|
|
1201
1499
|
* {(field, { inputProps }) => <Input {...inputProps} type="email" placeholder="you@co.com" />}
|
|
1202
1500
|
* </FormInputField>
|
|
1203
1501
|
*/
|
|
1204
|
-
declare function FormInputField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormInputFieldProps<TForm, TName>):
|
|
1502
|
+
declare function FormInputField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormInputFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1205
1503
|
//#endregion
|
|
1206
1504
|
//#region src/components/form-combobox-field.d.ts
|
|
1207
1505
|
/**
|
|
@@ -1222,11 +1520,10 @@ type ComboboxControl = {
|
|
|
1222
1520
|
type FormComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1223
1521
|
form: TForm;
|
|
1224
1522
|
name: TName;
|
|
1225
|
-
label
|
|
1523
|
+
label?: string;
|
|
1226
1524
|
description?: string;
|
|
1227
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1228
1525
|
children: (field: TypedField<string>, control: ComboboxControl) => React$1.ReactNode;
|
|
1229
|
-
};
|
|
1526
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1230
1527
|
/**
|
|
1231
1528
|
* Combobox (searchable single-select) field wrapper for **string-valued** fields. Same threaded-
|
|
1232
1529
|
* `form` typing and shared shell as the other wrappers; the render-prop hands you `comboboxProps`
|
|
@@ -1246,7 +1543,7 @@ type FormComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeysOfTyp
|
|
|
1246
1543
|
* )}
|
|
1247
1544
|
* </FormComboboxField>
|
|
1248
1545
|
*/
|
|
1249
|
-
declare function FormComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormComboboxFieldProps<TForm, TName>):
|
|
1546
|
+
declare function FormComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormComboboxFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1250
1547
|
//#endregion
|
|
1251
1548
|
//#region src/components/form-multi-combobox-field.d.ts
|
|
1252
1549
|
/**
|
|
@@ -1267,11 +1564,10 @@ type MultiComboboxControl = {
|
|
|
1267
1564
|
type FormMultiComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string[]>> = {
|
|
1268
1565
|
form: TForm;
|
|
1269
1566
|
name: TName;
|
|
1270
|
-
label
|
|
1567
|
+
label?: string;
|
|
1271
1568
|
description?: string;
|
|
1272
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1273
1569
|
children: (field: TypedField<string[]>, control: MultiComboboxControl) => React$1.ReactNode;
|
|
1274
|
-
};
|
|
1570
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1275
1571
|
/**
|
|
1276
1572
|
* Multi-select combobox field wrapper — same threaded-`form` typing and shared shell as
|
|
1277
1573
|
* `FormSelectField`, with `comboboxProps` / `comboboxInputProps` bundles. `name` is restricted
|
|
@@ -1286,7 +1582,7 @@ type FormMultiComboboxFieldProps<TForm extends BoundForm, TName extends DeepKeys
|
|
|
1286
1582
|
* )}
|
|
1287
1583
|
* </FormMultiComboboxField>
|
|
1288
1584
|
*/
|
|
1289
|
-
declare function FormMultiComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string[]>>(props: FormMultiComboboxFieldProps<TForm, TName>):
|
|
1585
|
+
declare function FormMultiComboboxField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string[]>>(props: FormMultiComboboxFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1290
1586
|
//#endregion
|
|
1291
1587
|
//#region src/components/form-textarea-field.d.ts
|
|
1292
1588
|
/**
|
|
@@ -1304,11 +1600,10 @@ type TextareaControl = {
|
|
|
1304
1600
|
type FormTextareaFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1305
1601
|
form: TForm;
|
|
1306
1602
|
name: TName;
|
|
1307
|
-
label
|
|
1603
|
+
label?: string;
|
|
1308
1604
|
description?: string;
|
|
1309
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1310
1605
|
children: (field: TypedField<string>, control: TextareaControl) => React$1.ReactNode;
|
|
1311
|
-
};
|
|
1606
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1312
1607
|
/**
|
|
1313
1608
|
* Multiline text-input field wrapper — same threaded-`form` typing and shared shell as
|
|
1314
1609
|
* `FormSelectField`, with a `textareaProps` bundle. Compose the textarea yourself (rows,
|
|
@@ -1319,7 +1614,7 @@ type FormTextareaFieldProps<TForm extends BoundForm, TName extends DeepKeysOfTyp
|
|
|
1319
1614
|
* {(field, { textareaProps }) => <Textarea {...textareaProps} rows={4} />}
|
|
1320
1615
|
* </FormTextareaField>
|
|
1321
1616
|
*/
|
|
1322
|
-
declare function FormTextareaField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormTextareaFieldProps<TForm, TName>):
|
|
1617
|
+
declare function FormTextareaField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormTextareaFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1323
1618
|
//#endregion
|
|
1324
1619
|
//#region src/components/form-radio-group-field.d.ts
|
|
1325
1620
|
/**
|
|
@@ -1338,11 +1633,10 @@ type RadioGroupControl = {
|
|
|
1338
1633
|
type FormRadioGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1339
1634
|
form: TForm;
|
|
1340
1635
|
name: TName;
|
|
1341
|
-
label
|
|
1636
|
+
label?: string;
|
|
1342
1637
|
description?: string;
|
|
1343
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1344
1638
|
children: (field: TypedField<string>, control: RadioGroupControl) => React$1.ReactNode;
|
|
1345
|
-
};
|
|
1639
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1346
1640
|
/**
|
|
1347
1641
|
* Radio-group field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1348
1642
|
* with a `radioGroupProps` bundle. Compose the items yourself. `name` is restricted to the
|
|
@@ -1357,7 +1651,7 @@ type FormRadioGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOfT
|
|
|
1357
1651
|
* )}
|
|
1358
1652
|
* </FormRadioGroupField>
|
|
1359
1653
|
*/
|
|
1360
|
-
declare function FormRadioGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormRadioGroupFieldProps<TForm, TName>):
|
|
1654
|
+
declare function FormRadioGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormRadioGroupFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1361
1655
|
//#endregion
|
|
1362
1656
|
//#region src/components/form-otp-field.d.ts
|
|
1363
1657
|
/**
|
|
@@ -1375,11 +1669,10 @@ type OTPControl = {
|
|
|
1375
1669
|
type FormOTPFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>> = {
|
|
1376
1670
|
form: TForm;
|
|
1377
1671
|
name: TName;
|
|
1378
|
-
label
|
|
1672
|
+
label?: string;
|
|
1379
1673
|
description?: string;
|
|
1380
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1381
1674
|
children: (field: TypedField<string>, control: OTPControl) => React$1.ReactNode;
|
|
1382
|
-
};
|
|
1675
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1383
1676
|
/**
|
|
1384
1677
|
* One-time-code field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1385
1678
|
* with an `otpProps` bundle. Compose the slots yourself. `name` is restricted to the form's
|
|
@@ -1390,7 +1683,7 @@ type FormOTPFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TFo
|
|
|
1390
1683
|
* {(field, { otpProps }) => <InputOTP maxLength={6} {...otpProps}>{slots}</InputOTP>}
|
|
1391
1684
|
* </FormOTPField>
|
|
1392
1685
|
*/
|
|
1393
|
-
declare function FormOTPField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormOTPFieldProps<TForm, TName>):
|
|
1686
|
+
declare function FormOTPField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string>>(props: FormOTPFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1394
1687
|
//#endregion
|
|
1395
1688
|
//#region src/components/form-switch-field.d.ts
|
|
1396
1689
|
/**
|
|
@@ -1408,11 +1701,10 @@ type SwitchControl = {
|
|
|
1408
1701
|
type FormSwitchFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], boolean>> = {
|
|
1409
1702
|
form: TForm;
|
|
1410
1703
|
name: TName;
|
|
1411
|
-
label
|
|
1704
|
+
label?: string;
|
|
1412
1705
|
description?: string;
|
|
1413
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1414
1706
|
children: (field: TypedField<boolean>, control: SwitchControl) => React$1.ReactNode;
|
|
1415
|
-
};
|
|
1707
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1416
1708
|
/**
|
|
1417
1709
|
* Toggle field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1418
1710
|
* with a `switchProps` bundle. `name` is restricted to the form's **boolean** fields — a
|
|
@@ -1423,40 +1715,39 @@ type FormSwitchFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
|
|
|
1423
1715
|
* {(field, { switchProps }) => <Switch {...switchProps} />}
|
|
1424
1716
|
* </FormSwitchField>
|
|
1425
1717
|
*/
|
|
1426
|
-
declare function FormSwitchField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], boolean>>(props: FormSwitchFieldProps<TForm, TName>):
|
|
1718
|
+
declare function FormSwitchField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], boolean>>(props: FormSwitchFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1427
1719
|
//#endregion
|
|
1428
|
-
//#region src/components/form-
|
|
1720
|
+
//#region src/components/form-numeric-field.d.ts
|
|
1429
1721
|
/**
|
|
1430
|
-
* Wiring bundle handed to a `
|
|
1431
|
-
*
|
|
1722
|
+
* Wiring bundle handed to a `FormNumericField` child. Spread `numericProps` onto a DS
|
|
1723
|
+
* `NumericInput` — value/onValueChange/onBlur/aria are pre-wired (a cleared input coerces to `0`).
|
|
1432
1724
|
*/
|
|
1433
|
-
type
|
|
1434
|
-
|
|
1725
|
+
type NumericControl = {
|
|
1726
|
+
numericProps: {
|
|
1435
1727
|
value: number;
|
|
1436
|
-
|
|
1728
|
+
onValueChange: (value: number | null) => void;
|
|
1437
1729
|
onBlur: () => void;
|
|
1438
1730
|
'aria-invalid': true | undefined;
|
|
1439
1731
|
};
|
|
1440
1732
|
};
|
|
1441
|
-
type
|
|
1733
|
+
type FormNumericFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>> = {
|
|
1442
1734
|
form: TForm;
|
|
1443
1735
|
name: TName;
|
|
1444
|
-
label
|
|
1736
|
+
label?: string;
|
|
1445
1737
|
description?: string;
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
};
|
|
1738
|
+
children: (field: TypedField<number>, control: NumericControl) => React$1.ReactNode;
|
|
1739
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1449
1740
|
/**
|
|
1450
|
-
* Numeric
|
|
1451
|
-
* with a `
|
|
1452
|
-
* string/boolean `name` is a type error.
|
|
1741
|
+
* Numeric field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1742
|
+
* with a `numericProps` bundle for the DS `NumericInput` (prefer it over `Input type="number"`).
|
|
1743
|
+
* `name` is restricted to the form's **number** fields — a string/boolean `name` is a type error.
|
|
1453
1744
|
*
|
|
1454
1745
|
* @example
|
|
1455
|
-
* <
|
|
1456
|
-
* {(field, {
|
|
1457
|
-
* </
|
|
1746
|
+
* <FormNumericField form={form} name="age" label="Age" validators={{ onChange }}>
|
|
1747
|
+
* {(field, { numericProps }) => <NumericInput {...numericProps} />}
|
|
1748
|
+
* </FormNumericField>
|
|
1458
1749
|
*/
|
|
1459
|
-
declare function
|
|
1750
|
+
declare function FormNumericField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormNumericFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1460
1751
|
//#endregion
|
|
1461
1752
|
//#region src/components/form-slider-field.d.ts
|
|
1462
1753
|
/**
|
|
@@ -1473,11 +1764,10 @@ type SliderControl = {
|
|
|
1473
1764
|
type FormSliderFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>> = {
|
|
1474
1765
|
form: TForm;
|
|
1475
1766
|
name: TName;
|
|
1476
|
-
label
|
|
1767
|
+
label?: string;
|
|
1477
1768
|
description?: string;
|
|
1478
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1479
1769
|
children: (field: TypedField<number>, control: SliderControl) => React$1.ReactNode;
|
|
1480
|
-
};
|
|
1770
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1481
1771
|
/**
|
|
1482
1772
|
* Slider field wrapper — same threaded-`form` typing and shared shell as `FormSelectField`,
|
|
1483
1773
|
* with a `sliderProps` bundle. `name` is restricted to the form's **number** fields; the bundle
|
|
@@ -1488,7 +1778,7 @@ type FormSliderFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<
|
|
|
1488
1778
|
* {(field, { sliderProps }) => <Slider min={0} max={100} step={1} {...sliderProps} />}
|
|
1489
1779
|
* </FormSliderField>
|
|
1490
1780
|
*/
|
|
1491
|
-
declare function FormSliderField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormSliderFieldProps<TForm, TName>):
|
|
1781
|
+
declare function FormSliderField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], number>>(props: FormSliderFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1492
1782
|
//#endregion
|
|
1493
1783
|
//#region src/components/form-toggle-group-field.d.ts
|
|
1494
1784
|
/**
|
|
@@ -1506,11 +1796,10 @@ type ToggleGroupControl = {
|
|
|
1506
1796
|
type FormToggleGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string | null>> = {
|
|
1507
1797
|
form: TForm;
|
|
1508
1798
|
name: TName;
|
|
1509
|
-
label
|
|
1799
|
+
label?: string;
|
|
1510
1800
|
description?: string;
|
|
1511
|
-
validators?: FormFieldValidators<TForm['state']['values'], TName>;
|
|
1512
1801
|
children: (field: TypedField<string | null>, control: ToggleGroupControl) => React$1.ReactNode;
|
|
1513
|
-
};
|
|
1802
|
+
} & FieldBindingProps<TForm['state']['values'], TName> & NecessityProps;
|
|
1514
1803
|
/**
|
|
1515
1804
|
* Single-select toggle-group field wrapper — same threaded-`form` typing and shared shell as
|
|
1516
1805
|
* `FormSelectField`, with a `toggleGroupProps` bundle. `name` is restricted to the form's
|
|
@@ -1526,7 +1815,7 @@ type FormToggleGroupFieldProps<TForm extends BoundForm, TName extends DeepKeysOf
|
|
|
1526
1815
|
* )}
|
|
1527
1816
|
* </FormToggleGroupField>
|
|
1528
1817
|
*/
|
|
1529
|
-
declare function FormToggleGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string | null>>(props: FormToggleGroupFieldProps<TForm, TName>):
|
|
1818
|
+
declare function FormToggleGroupField<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], string | null>>(props: FormToggleGroupFieldProps<TForm, TName>): react_jsx_runtime0.JSX.Element;
|
|
1530
1819
|
//#endregion
|
|
1531
1820
|
//#region src/form/field-errors.d.ts
|
|
1532
1821
|
/**
|
|
@@ -1574,7 +1863,7 @@ declare function SaveBar({
|
|
|
1574
1863
|
savingLabel,
|
|
1575
1864
|
resetLabel,
|
|
1576
1865
|
className
|
|
1577
|
-
}: SaveBarProps):
|
|
1866
|
+
}: SaveBarProps): react_jsx_runtime0.JSX.Element;
|
|
1578
1867
|
//#endregion
|
|
1579
1868
|
//#region src/components/dashboard-sidebar-nav.d.ts
|
|
1580
1869
|
type DashboardSidebarNavSubmenuSeparator = {
|
|
@@ -1658,7 +1947,7 @@ type DashboardSidebarNavProps = {
|
|
|
1658
1947
|
declare function DashboardSidebarNav({
|
|
1659
1948
|
groups,
|
|
1660
1949
|
renderLink
|
|
1661
|
-
}: DashboardSidebarNavProps):
|
|
1950
|
+
}: DashboardSidebarNavProps): react_jsx_runtime0.JSX.Element;
|
|
1662
1951
|
//#endregion
|
|
1663
1952
|
//#region src/components/dashboard-sidebar.d.ts
|
|
1664
1953
|
declare const DashboardSidebarProvider: React$1.ForwardRefExoticComponent<Omit<DashboardSidebarProviderProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1758,4 +2047,4 @@ declare namespace DashboardSidebarSubmenuSeparator {
|
|
|
1758
2047
|
type Props = DashboardSidebarSubmenuSeparatorProps;
|
|
1759
2048
|
}
|
|
1760
2049
|
//#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,
|
|
2050
|
+
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, type FieldBindingProps, FormComboboxField, type FormComboboxFieldProps, FormFieldBase, type FormFieldValidators, FormInputField, type FormInputFieldProps, FormMultiComboboxField, type FormMultiComboboxFieldProps, FormNumericField, type FormNumericFieldProps, 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, type NecessityProps, NewBadge, NoDataDescription, NoDataEmptyState, NoDataMedia, NoDataTitle, NoSupportDescription, NoSupportEmptyState, NoSupportMedia, NoSupportTitle, NotFoundDescription, NotFoundEmptyState, NotFoundMedia, NotFoundTitle, type NumericControl, 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, withFieldGroup, withForm };
|