@bixlab/mtone 0.3.0 → 0.5.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
@@ -8,6 +8,70 @@ import * as _rc_component_table_es_Footer_Summary from '@rc-component/table/es/F
8
8
  import { TableProps as TableProps$1, ColumnType, ExpandableConfig, Reference } from '@rc-component/table';
9
9
  import { ToastManagerAddOptions, ToastManagerUpdateOptions, ToastObject } from '@base-ui/react/toast';
10
10
 
11
+ interface InputOTPProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
12
+ /** Number of cells, clamped to 1–32. */
13
+ length?: number;
14
+ value?: string;
15
+ defaultValue?: string;
16
+ onValueChange?: (value: string) => void;
17
+ onComplete?: (value: string) => void;
18
+ disabled?: boolean;
19
+ readOnly?: boolean;
20
+ name?: string;
21
+ form?: string;
22
+ mask?: boolean;
23
+ inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
24
+ controlSize?: "sm" | "md" | "lg";
25
+ separator?: React.ReactNode;
26
+ autoFocus?: boolean;
27
+ autoComplete?: string;
28
+ }
29
+
30
+ type InputVariant = "outlined" | "filled" | "borderless" | "underlined";
31
+ type InputControlSize = "sm" | "md" | "lg";
32
+ interface InputAppearance {
33
+ controlSize?: InputControlSize;
34
+ variant?: InputVariant;
35
+ status?: "error" | "warning";
36
+ showCount?: boolean;
37
+ countCharacters?: (value: string) => number;
38
+ }
39
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "prefix">, InputAppearance {
40
+ prefix?: React.ReactNode;
41
+ suffix?: React.ReactNode;
42
+ allowClear?: boolean;
43
+ onClear?: () => void;
44
+ clearLabel?: string;
45
+ /** Class on the stable wrapper. className/style still target the native input. */
46
+ wrapperClassName?: string;
47
+ }
48
+ interface InputSearchProps extends InputProps {
49
+ onSearch?: (value: string) => void;
50
+ searchButton?: React.ReactNode;
51
+ loading?: boolean;
52
+ }
53
+ declare const SearchInput: React.ForwardRefExoticComponent<InputSearchProps & React.RefAttributes<HTMLInputElement>>;
54
+ interface InputPasswordProps extends Omit<InputProps, "type"> {
55
+ visible?: boolean;
56
+ defaultVisible?: boolean;
57
+ onVisibleChange?: (visible: boolean) => void;
58
+ }
59
+ interface InputTextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>, InputAppearance {
60
+ autoSize?: boolean | {
61
+ minRows?: number;
62
+ maxRows?: number;
63
+ };
64
+ }
65
+ declare const Textarea: React.ForwardRefExoticComponent<InputTextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
66
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>> & {
67
+ Search: React.ForwardRefExoticComponent<InputSearchProps & React.RefAttributes<HTMLInputElement>>;
68
+ TextArea: React.ForwardRefExoticComponent<InputTextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
69
+ Password: React.ForwardRefExoticComponent<InputPasswordProps & React.RefAttributes<HTMLInputElement>>;
70
+ OTP: React.ForwardRefExoticComponent<InputOTPProps & React.RefAttributes<HTMLInputElement>> & {
71
+ formValueType: string;
72
+ };
73
+ };
74
+
11
75
  type FormValues = Record<string, unknown>;
12
76
  interface FormRule {
13
77
  required?: boolean;
@@ -82,6 +146,208 @@ declare const Form: typeof FormRoot & {
82
146
  Item: typeof FormField;
83
147
  };
84
148
 
149
+ type AvatarBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
150
+ type AvatarSize = number | "sm" | "md" | "lg" | "small" | "medium" | "large" | Partial<Record<AvatarBreakpoint, number>>;
151
+ interface AvatarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onError" | "children"> {
152
+ name?: string;
153
+ src?: string | React.ReactElement;
154
+ srcSet?: string;
155
+ alt?: string;
156
+ crossOrigin?: React.ImgHTMLAttributes<HTMLImageElement>["crossOrigin"];
157
+ draggable?: React.ImgHTMLAttributes<HTMLImageElement>["draggable"];
158
+ onError?: (event: React.SyntheticEvent<HTMLImageElement>) => boolean | void;
159
+ icon?: React.ReactNode;
160
+ children?: React.ReactNode;
161
+ size?: AvatarSize;
162
+ shape?: "circle" | "square";
163
+ gap?: number;
164
+ }
165
+ interface AvatarGroupProps extends React.HTMLAttributes<HTMLSpanElement> {
166
+ items?: AvatarProps[];
167
+ max?: number | {
168
+ count?: number;
169
+ style?: React.CSSProperties;
170
+ };
171
+ size?: AvatarSize;
172
+ shape?: "circle" | "square";
173
+ side?: "top" | "bottom" | "left" | "right";
174
+ }
175
+ declare function AvatarGroup({ items, children, max, size, shape, side, className, ...props }: AvatarGroupProps): React.JSX.Element;
176
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>> & {
177
+ Group: typeof AvatarGroup;
178
+ };
179
+
180
+ type ProgressType = "line" | "circle" | "dashboard";
181
+ type ProgressStatus = "normal" | "active" | "success" | "exception";
182
+ type ProgressColor = string | {
183
+ from: string;
184
+ to: string;
185
+ };
186
+ interface ProgressProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "color"> {
187
+ value: number;
188
+ label?: string;
189
+ type?: ProgressType;
190
+ status?: ProgressStatus;
191
+ showInfo?: boolean;
192
+ format?: (value: number, successValue: number) => React.ReactNode;
193
+ size?: "small" | "medium" | number;
194
+ strokeWidth?: number;
195
+ strokeLinecap?: "round" | "butt" | "square";
196
+ color?: ProgressColor;
197
+ trackColor?: string;
198
+ success?: {
199
+ value: number;
200
+ color?: string;
201
+ };
202
+ steps?: number | {
203
+ count: number;
204
+ gap?: number;
205
+ };
206
+ gapDegree?: number;
207
+ gapPosition?: "top" | "bottom" | "left" | "right";
208
+ }
209
+ /** Compact progress indicator. Numeric size is line height or circular diameter in px. */
210
+ declare function Progress({ value, label, type, status, showInfo, format, size, strokeWidth, strokeLinecap, color, trackColor, success, steps, gapDegree, gapPosition, className, style, ...props }: ProgressProps): React.JSX.Element;
211
+
212
+ type TypographyTone = "secondary" | "success" | "warning" | "danger";
213
+ interface TypographyCopyable {
214
+ text?: string | (() => string | Promise<string>);
215
+ onCopy?: () => void;
216
+ onError?: (error: unknown) => void;
217
+ label?: string;
218
+ }
219
+ interface TypographyEditable {
220
+ text?: string;
221
+ editing?: boolean;
222
+ onEditingChange?: (editing: boolean) => void;
223
+ onChange?: (text: string) => void;
224
+ onStart?: () => void;
225
+ onCancel?: () => void;
226
+ maxLength?: number;
227
+ label?: string;
228
+ }
229
+ interface TypographyEllipsis {
230
+ rows?: number;
231
+ expandable?: boolean;
232
+ expanded?: boolean;
233
+ defaultExpanded?: boolean;
234
+ onExpandedChange?: (expanded: boolean) => void;
235
+ expandLabel?: string;
236
+ collapseLabel?: string;
237
+ }
238
+ interface TextProps extends React.HTMLAttributes<HTMLSpanElement> {
239
+ muted?: boolean;
240
+ type?: TypographyTone;
241
+ disabled?: boolean;
242
+ strong?: boolean;
243
+ italic?: boolean;
244
+ underline?: boolean;
245
+ delete?: boolean;
246
+ mark?: boolean;
247
+ code?: boolean;
248
+ keyboard?: boolean;
249
+ copyable?: boolean | TypographyCopyable;
250
+ editable?: boolean | TypographyEditable;
251
+ ellipsis?: boolean | TypographyEllipsis;
252
+ }
253
+ interface TitleProps extends TextProps {
254
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
255
+ }
256
+ type ParagraphProps = TextProps;
257
+ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
258
+ muted?: boolean;
259
+ type?: TypographyTone;
260
+ disabled?: boolean;
261
+ }
262
+ declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
263
+ declare const Title: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
264
+ declare const Paragraph: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLParagraphElement>>;
265
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
266
+ interface BlockquoteProps extends Omit<React.BlockquoteHTMLAttributes<HTMLQuoteElement>, "cite" | "color"> {
267
+ /** Visible attribution; use citeUrl for the HTML source URL. */
268
+ cite?: React.ReactNode;
269
+ citeUrl?: string;
270
+ /** Decorative icon. Keep interactive controls in children or cite instead. */
271
+ icon?: React.ReactNode;
272
+ iconSize?: number | string;
273
+ /** Any CSS color value, including a theme variable. */
274
+ color?: React.CSSProperties["color"];
275
+ radius?: React.CSSProperties["borderRadius"];
276
+ textWrap?: React.CSSProperties["textWrap"];
277
+ }
278
+ declare const Blockquote: React.ForwardRefExoticComponent<BlockquoteProps & React.RefAttributes<HTMLQuoteElement>>;
279
+ declare const Typography: {
280
+ Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
281
+ Title: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
282
+ Paragraph: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLParagraphElement>>;
283
+ Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
284
+ Blockquote: React.ForwardRefExoticComponent<BlockquoteProps & React.RefAttributes<HTMLQuoteElement>>;
285
+ };
286
+
287
+ interface DividerProps extends React.HTMLAttributes<HTMLElement> {
288
+ orientation?: "horizontal" | "vertical";
289
+ variant?: "solid" | "dashed" | "dotted";
290
+ size?: "small" | "medium" | "large";
291
+ titlePlacement?: "start" | "center" | "end";
292
+ plain?: boolean;
293
+ titleClassName?: string;
294
+ titleStyle?: React.CSSProperties;
295
+ }
296
+ /** A non-interactive separator. Titles are supported in horizontal orientation only. */
297
+ declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement | HTMLHRElement>>;
298
+
299
+ type DropdownAlign = "start" | "end" | "left" | "right";
300
+ interface DropdownLayoutProps {
301
+ /** Content-sized by default. Numbers are CSS pixels; strings are CSS widths. */
302
+ width?: React__default.CSSProperties["width"];
303
+ /** start/end are logical; left/right are physical even in RTL. */
304
+ align?: DropdownAlign;
305
+ }
306
+ interface DropdownProps extends OpenProps, DropdownLayoutProps {
307
+ trigger: React__default.ReactElement;
308
+ content: React__default.ReactNode;
309
+ /** Accessible name for the nonmodal dialog. */
310
+ label?: string;
311
+ }
312
+ declare function Dropdown({ trigger, content, width, align, label, ...props }: DropdownProps): React__default.JSX.Element;
313
+
314
+ interface TabItem {
315
+ value: string;
316
+ label: React__default.ReactNode;
317
+ content: React__default.ReactNode;
318
+ disabled?: boolean;
319
+ icon?: React__default.ReactNode;
320
+ closable?: boolean;
321
+ closeLabel?: string;
322
+ forceRender?: boolean;
323
+ destroyOnHidden?: boolean;
324
+ }
325
+ interface TabsProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "children"> {
326
+ items: TabItem[];
327
+ value?: string;
328
+ defaultValue?: string;
329
+ onValueChange?: (value: string) => void;
330
+ label?: string;
331
+ placement?: "top" | "bottom" | "start" | "end";
332
+ variant?: "line" | "card" | "editable-card";
333
+ size?: "small" | "medium" | "large";
334
+ centered?: boolean;
335
+ gap?: number;
336
+ extraStart?: React__default.ReactNode;
337
+ extraEnd?: React__default.ReactNode;
338
+ activateOnFocus?: boolean;
339
+ destroyOnHidden?: boolean;
340
+ hideAdd?: boolean;
341
+ addIcon?: React__default.ReactNode;
342
+ addLabel?: string;
343
+ moreLabel?: string;
344
+ onEdit?: (action: "add" | "remove", value?: string) => void;
345
+ onTabClick?: (value: string, event: React__default.MouseEvent<HTMLButtonElement>) => void;
346
+ reorderable?: boolean;
347
+ onOrderChange?: (values: string[]) => void;
348
+ }
349
+ declare const Tabs: React__default.ForwardRefExoticComponent<TabsProps & React__default.RefAttributes<HTMLDivElement>>;
350
+
85
351
  type ToastPosition = "top-right" | "bottom-right" | "top-left" | "bottom-left" | "top-center" | "bottom-center" | "center" | "center-top";
86
352
  type ToastType = "success" | "error" | "info" | "loading";
87
353
  type Presentation = {
@@ -194,16 +460,10 @@ interface NumberInputProps extends Common, Omit<ValueProps<number | null>, "defa
194
460
  step?: number;
195
461
  }
196
462
  declare function NumberInput({ label, className, ...props }: NumberInputProps): React__default.JSX.Element;
197
- interface TabItem extends Option {
198
- content: React__default.ReactNode;
199
- }
200
- interface TabsProps extends ValueProps<string> {
201
- items: TabItem[];
202
- className?: string;
203
- }
204
- declare function Tabs({ items, className, onValueChange, defaultValue, ...props }: TabsProps): React__default.JSX.Element;
463
+
205
464
  declare function Segmented({ options, label, className, ...props }: RadioGroupProps): React__default.JSX.Element;
206
465
  interface MenuItem {
466
+ type?: "item";
207
467
  icon?: React__default.ReactNode;
208
468
  key: string;
209
469
  label: React__default.ReactNode;
@@ -211,14 +471,67 @@ interface MenuItem {
211
471
  danger?: boolean;
212
472
  shortcut?: string;
213
473
  onSelect?: () => void;
474
+ /** Nonempty children open a submenu; parent callbacks are not invoked. */
475
+ children?: MenuEntry[];
476
+ }
477
+ interface MenuGroup {
478
+ type: "group";
479
+ key: string;
480
+ label: React__default.ReactNode;
481
+ children: MenuEntry[];
482
+ }
483
+ interface MenuDivider {
484
+ type: "divider";
485
+ key: string;
486
+ }
487
+ interface MenuCheckboxItem extends Omit<MenuItem, "type" | "children" | "onSelect"> {
488
+ type: "checkbox";
489
+ checked?: boolean;
490
+ defaultChecked?: boolean;
491
+ onCheckedChange?: (checked: boolean) => void;
492
+ closeOnClick?: boolean;
493
+ }
494
+ interface MenuRadioGroup {
495
+ type: "radio-group";
496
+ key: string;
497
+ label: React__default.ReactNode;
498
+ value?: string;
499
+ defaultValue?: string;
500
+ onValueChange?: (value: string) => void;
501
+ children: Omit<MenuItem, "type" | "children" | "onSelect">[];
214
502
  }
215
- interface DropdownMenuProps extends OpenProps {
503
+ type MenuEntry = MenuItem | MenuGroup | MenuDivider | MenuCheckboxItem | MenuRadioGroup;
504
+ interface MenuProps extends OpenProps, DropdownLayoutProps {
216
505
  trigger: React__default.ReactElement;
217
- items: MenuItem[];
506
+ items: MenuEntry[];
218
507
  onSelect?: (key: string) => void;
219
508
  }
220
- declare function DropdownMenu({ trigger, items, onSelect, ...props }: DropdownMenuProps): React__default.JSX.Element;
221
- declare function ContextMenu({ children, items, onSelect, ...props }: Omit<DropdownMenuProps, "trigger"> & {
509
+ declare function Menu({ trigger, items, onSelect, width, align, ...props }: MenuProps): React__default.JSX.Element;
510
+ /** A top-level application menu. Keys must be unique within the bar. */
511
+ interface MenubarMenu extends DropdownLayoutProps {
512
+ key: string;
513
+ label: React__default.ReactNode;
514
+ icon?: React__default.ReactNode;
515
+ disabled?: boolean;
516
+ items: MenuEntry[];
517
+ }
518
+ interface MenubarProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onSelect" | "children">, DropdownLayoutProps {
519
+ menus: MenubarMenu[];
520
+ openKey?: string | null;
521
+ defaultOpenKey?: string | null;
522
+ onOpenChange?: (key: string | null) => void;
523
+ onSelect?: (itemKey: string, menuKey: string) => void;
524
+ disabled?: boolean;
525
+ loop?: boolean;
526
+ trigger?: "click" | "hover";
527
+ }
528
+ /** Coordinated command menus, sharing Menu items and Dropdown surfaces. */
529
+ declare function Menubar({ menus, openKey, defaultOpenKey, onOpenChange, onSelect, disabled, loop, trigger, width, align, className, ...props }: MenubarProps): React__default.JSX.Element;
530
+ /** @deprecated Use MenuProps instead. */
531
+ type DropdownMenuProps = MenuProps;
532
+ /** @deprecated Use Menu instead. */
533
+ declare const DropdownMenu: typeof Menu;
534
+ declare function ContextMenu({ children, items, onSelect, width, ...props }: Omit<MenuProps, "trigger" | "align"> & {
222
535
  children: React__default.ReactNode;
223
536
  }): React__default.JSX.Element;
224
537
  interface PopoverProps extends OpenProps {
@@ -325,6 +638,58 @@ declare const Card: typeof CardRoot & {
325
638
  Grid: typeof CardGrid;
326
639
  };
327
640
 
641
+ type ListScrollTarget = number | {
642
+ top?: number;
643
+ left?: number;
644
+ } | {
645
+ key: React__default.Key;
646
+ align?: "start" | "center" | "end" | "auto";
647
+ offset?: number;
648
+ } | {
649
+ index: number;
650
+ align?: "start" | "center" | "end" | "auto";
651
+ offset?: number;
652
+ } | {
653
+ group: React__default.Key;
654
+ align?: "start" | "center" | "end" | "auto";
655
+ offset?: number;
656
+ };
657
+ interface ListHandle {
658
+ readonly element: HTMLUListElement | null;
659
+ scrollTo(target: ListScrollTarget): void;
660
+ }
661
+ interface ListProps<T = unknown> extends Omit<React__default.HTMLAttributes<HTMLUListElement>, "children"> {
662
+ children?: React__default.ReactNode;
663
+ items?: readonly T[];
664
+ getKey?: (item: T, index: number) => React__default.Key;
665
+ /** Render row content, not a li/ListItem. The List owns the row element. */
666
+ renderItem?: (item: T, index: number) => React__default.ReactNode;
667
+ groupBy?: (item: T) => React__default.Key;
668
+ renderGroup?: (key: React__default.Key, items: readonly T[]) => React__default.ReactNode;
669
+ stickyGroups?: boolean;
670
+ height?: number;
671
+ contentWidth?: React__default.CSSProperties["minWidth"];
672
+ virtual?: boolean;
673
+ estimatedItemHeight?: number;
674
+ estimatedGroupHeight?: number;
675
+ overscan?: number;
676
+ hoverable?: boolean;
677
+ emptyContent?: React__default.ReactNode;
678
+ loading?: boolean;
679
+ loadingContent?: React__default.ReactNode;
680
+ onEndReached?: () => void;
681
+ endThreshold?: number;
682
+ ref?: React__default.Ref<ListHandle>;
683
+ }
684
+ /** Compact native list, with optional grouped and windowed data rendering. */
685
+ declare function List<T = unknown>({ children, items, getKey, renderItem, groupBy, renderGroup, stickyGroups, height, contentWidth, virtual, estimatedItemHeight, estimatedGroupHeight, overscan, hoverable, emptyContent, loading, loadingContent, onEndReached, endThreshold, ref, className, style, onScroll, ...props }: ListProps<T>): React__default.JSX.Element;
686
+ interface ListItemProps extends React__default.LiHTMLAttributes<HTMLLIElement> {
687
+ icon?: React__default.ReactNode;
688
+ description?: React__default.ReactNode;
689
+ actions?: React__default.ReactNode;
690
+ }
691
+ declare function ListItem({ children, icon, description, actions, ...props }: ListItemProps): React__default.JSX.Element;
692
+
328
693
  declare const cn: (...v: (string | false | null | undefined)[]) => string;
329
694
  type Locale = "zh" | "en";
330
695
  type Tokens = React.CSSProperties & Record<`--mt-${string}`, string | number>;
@@ -364,10 +729,11 @@ declare const IconButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<_base_u
364
729
  } & {
365
730
  "aria-label": string;
366
731
  } & React.RefAttributes<HTMLButtonElement>>;
367
- declare const ButtonGroup: ({ className, ...p }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
368
- declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
369
- declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
370
- declare const SearchInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
732
+ type ButtonGroupProps = React.HTMLAttributes<HTMLDivElement> & {
733
+ /** Join adjacent buttons, keeping only the outside corners rounded. */
734
+ connected?: boolean;
735
+ };
736
+ declare const ButtonGroup: ({ className, connected, ...p }: ButtonGroupProps) => React.JSX.Element;
371
737
 
372
738
  type Tone = "neutral" | "blue" | "green" | "orange" | "red" | "purple";
373
739
  declare function Badge({ children, tone, onRemove, className, ...p }: React.HTMLAttributes<HTMLSpanElement> & {
@@ -378,33 +744,7 @@ declare const Status: ({ children, tone, }: {
378
744
  children: React.ReactNode;
379
745
  tone?: Tone;
380
746
  }) => React.JSX.Element;
381
- declare function Avatar({ src, name, size, }: {
382
- src?: string;
383
- name?: string;
384
- size?: number;
385
- }): React.JSX.Element;
386
- declare function AvatarGroup({ items, max, }: {
387
- items: {
388
- name: string;
389
- src?: string;
390
- }[];
391
- max?: number;
392
- }): React.JSX.Element;
393
- declare function Progress({ value, label }: {
394
- value: number;
395
- label?: string;
396
- }): React.JSX.Element;
397
- declare const Text: ({ muted, className, ...p }: React.HTMLAttributes<HTMLSpanElement> & {
398
- muted?: boolean;
399
- }) => React.JSX.Element;
400
- declare const Divider: () => React.JSX.Element;
401
747
 
402
- declare const List: ({ className, ...p }: React.HTMLAttributes<HTMLUListElement>) => React.JSX.Element;
403
- declare function ListItem({ children, icon, description, actions, ...p }: React.LiHTMLAttributes<HTMLLIElement> & {
404
- icon?: React.ReactNode;
405
- description?: React.ReactNode;
406
- actions?: React.ReactNode;
407
- }): React.JSX.Element;
408
748
  type DocumentItem = {
409
749
  id: string;
410
750
  title: string;
@@ -460,13 +800,25 @@ declare function NavGroup({ label, children, }: {
460
800
  label?: React.ReactNode;
461
801
  children: React.ReactNode;
462
802
  }): React.JSX.Element;
463
- declare function Breadcrumb({ items, "aria-label": label, }: {
464
- items: {
465
- label: React.ReactNode;
466
- href?: string;
467
- }[];
803
+ interface BreadcrumbItem {
804
+ key?: React.Key;
805
+ label: React.ReactNode;
806
+ icon?: React.ReactNode;
807
+ href?: string;
808
+ target?: React.HTMLAttributeAnchorTarget;
809
+ rel?: string;
810
+ disabled?: boolean;
468
811
  "aria-label"?: string;
469
- }): React.JSX.Element;
812
+ /** Separator after this item; null hides it. */
813
+ separator?: React.ReactNode;
814
+ onClick?: React.MouseEventHandler<HTMLAnchorElement | HTMLButtonElement>;
815
+ menu?: Omit<MenuProps, "trigger">;
816
+ }
817
+ interface BreadcrumbProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
818
+ items: BreadcrumbItem[];
819
+ separator?: React.ReactNode;
820
+ }
821
+ declare function Breadcrumb({ items, separator, "aria-label": label, ...props }: BreadcrumbProps): React.JSX.Element;
470
822
  declare function FilterChip({ children, onRemove, }: {
471
823
  children: React.ReactNode;
472
824
  onRemove: () => void;
@@ -709,34 +1061,175 @@ declare const Table: (<T>(props: TableProps<T> & React.RefAttributes<Reference>)
709
1061
  SELECTION_NONE: "none";
710
1062
  };
711
1063
 
712
- type PaginationProps = {
713
- total: number;
714
- pageSize?: number;
715
- page: number;
716
- onPageChange: (page: number) => void;
717
- className?: string;
718
- };
719
- declare function Pagination({ total, pageSize, page, onPageChange, className, }: PaginationProps): React.JSX.Element;
720
-
1064
+ type TreeKey = string | number;
1065
+ /** Legacy items retain id/label; normalized treeData uses the same shape. */
721
1066
  type TreeItem = {
722
- id: string;
1067
+ id: TreeKey;
723
1068
  label: React.ReactNode;
724
1069
  children?: TreeItem[];
725
1070
  disabled?: boolean;
726
- icon?: React.ReactNode;
1071
+ disableCheckbox?: boolean;
1072
+ checkable?: boolean;
1073
+ selectable?: boolean;
1074
+ isLeaf?: boolean;
1075
+ icon?: React.ReactNode | ((node: TreeItem) => React.ReactNode);
1076
+ [field: string]: unknown;
727
1077
  };
728
- type TreeProps = {
729
- items: TreeItem[];
1078
+ /** Data-node form; custom field mappings can also be supplied. */
1079
+ type TreeNode = {
1080
+ key: TreeKey;
1081
+ title?: React.ReactNode;
1082
+ children?: TreeNode[];
1083
+ disabled?: boolean;
1084
+ disableCheckbox?: boolean;
1085
+ checkable?: boolean;
1086
+ selectable?: boolean;
1087
+ isLeaf?: boolean;
1088
+ icon?: React.ReactNode | ((node: TreeItem) => React.ReactNode);
1089
+ [field: string]: unknown;
1090
+ };
1091
+
1092
+ type TreeCheckedKeys = TreeKey[] | {
1093
+ checked: TreeKey[];
1094
+ halfChecked: TreeKey[];
1095
+ };
1096
+ type TreeNodeInfo = {
1097
+ node: TreeItem;
1098
+ expanded: boolean;
1099
+ selected: boolean;
1100
+ checked: boolean;
1101
+ loading: boolean;
1102
+ };
1103
+ type TreeDropInfo = {
1104
+ event: React.DragEvent;
1105
+ node: TreeItem;
1106
+ dragNode: TreeItem;
1107
+ dragNodesKeys: TreeKey[];
1108
+ dropPosition: -1 | 0 | 1;
1109
+ dropToGap: boolean;
1110
+ };
1111
+ type TreeRef = {
1112
+ nativeElement: HTMLDivElement | null;
1113
+ focus: () => void;
1114
+ scrollTo: (options: {
1115
+ key: TreeKey;
1116
+ align?: "top" | "bottom" | "auto";
1117
+ offset?: number;
1118
+ autoExpand?: boolean;
1119
+ }) => void;
1120
+ };
1121
+ interface TreeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "draggable" | "onSelect" | "onLoad" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragOver" | "onDragLeave" | "onDrop" | "onDoubleClick"> {
1122
+ items?: TreeItem[];
1123
+ treeData?: TreeNode[] | Record<string, unknown>[];
1124
+ fieldNames?: {
1125
+ key?: string;
1126
+ title?: string;
1127
+ children?: string;
1128
+ };
730
1129
  value?: string;
731
1130
  defaultValue?: string;
732
1131
  onValueChange?: (value: string) => void;
733
1132
  expanded?: string[];
734
1133
  defaultExpanded?: string[];
735
1134
  onExpandedChange?: (ids: string[]) => void;
1135
+ selectedKeys?: TreeKey[];
1136
+ defaultSelectedKeys?: TreeKey[];
1137
+ multiple?: boolean;
1138
+ selectable?: boolean;
1139
+ expandedKeys?: TreeKey[];
1140
+ defaultExpandedKeys?: TreeKey[];
1141
+ defaultExpandAll?: boolean;
1142
+ defaultExpandParent?: boolean;
1143
+ autoExpandParent?: boolean;
1144
+ onSelect?: (keys: TreeKey[], info: {
1145
+ selected: boolean;
1146
+ node: TreeItem;
1147
+ selectedNodes: TreeItem[];
1148
+ event: React.SyntheticEvent;
1149
+ }) => void;
1150
+ onExpand?: (keys: TreeKey[], info: {
1151
+ expanded: boolean;
1152
+ node: TreeItem;
1153
+ }) => void;
1154
+ checkable?: boolean;
1155
+ checkStrictly?: boolean;
1156
+ checkedKeys?: TreeCheckedKeys;
1157
+ defaultCheckedKeys?: TreeKey[];
1158
+ onCheck?: (keys: TreeCheckedKeys, info: {
1159
+ checked: boolean;
1160
+ node: TreeItem;
1161
+ checkedNodes: TreeItem[];
1162
+ halfCheckedKeys: TreeKey[];
1163
+ event: React.SyntheticEvent;
1164
+ }) => void;
1165
+ disabled?: boolean;
736
1166
  label?: string;
1167
+ blockNode?: boolean;
1168
+ showLine?: boolean;
1169
+ showIcon?: boolean;
1170
+ icon?: React.ReactNode | ((info: TreeNodeInfo) => React.ReactNode);
1171
+ switcherIcon?: React.ReactNode | ((info: TreeNodeInfo) => React.ReactNode);
1172
+ switcherLoadingIcon?: React.ReactNode;
1173
+ titleRender?: (node: TreeItem) => React.ReactNode;
1174
+ filterTreeNode?: (node: TreeItem) => boolean;
1175
+ loadData?: (node: TreeItem) => Promise<unknown>;
1176
+ loadedKeys?: TreeKey[];
1177
+ defaultLoadedKeys?: TreeKey[];
1178
+ onLoad?: (keys: TreeKey[], info: {
1179
+ node: TreeItem;
1180
+ }) => void;
1181
+ onLoadError?: (error: unknown, node: TreeItem) => void;
1182
+ height?: number;
1183
+ itemHeight?: number;
1184
+ virtual?: boolean;
1185
+ draggable?: boolean | ((node: TreeItem) => boolean);
1186
+ allowDrop?: (info: {
1187
+ dragNode: TreeItem;
1188
+ dropNode: TreeItem;
1189
+ dropPosition: -1 | 0 | 1;
1190
+ }) => boolean;
1191
+ onDragStart?: (info: {
1192
+ event: React.DragEvent;
1193
+ node: TreeItem;
1194
+ }) => void;
1195
+ onDragEnd?: (info: {
1196
+ event: React.DragEvent;
1197
+ node: TreeItem;
1198
+ }) => void;
1199
+ onDragEnter?: (info: {
1200
+ event: React.DragEvent;
1201
+ node: TreeItem;
1202
+ expandedKeys: TreeKey[];
1203
+ }) => void;
1204
+ onDragOver?: (info: {
1205
+ event: React.DragEvent;
1206
+ node: TreeItem;
1207
+ }) => void;
1208
+ onDragLeave?: (info: {
1209
+ event: React.DragEvent;
1210
+ node: TreeItem;
1211
+ }) => void;
1212
+ onDrop?: (info: TreeDropInfo) => void;
1213
+ onRightClick?: (info: {
1214
+ event: React.MouseEvent;
1215
+ node: TreeItem;
1216
+ }) => void;
1217
+ onDoubleClick?: (event: React.MouseEvent, node: TreeItem) => void;
1218
+ /** Directory interaction without creating a separate data format. */ directory?: boolean;
1219
+ expandAction?: false | "click" | "doubleClick";
1220
+ }
1221
+ declare const Tree: React.ForwardRefExoticComponent<TreeProps & React.RefAttributes<TreeRef>>;
1222
+ declare const DirectoryTree: React.ForwardRefExoticComponent<TreeProps & React.RefAttributes<TreeRef>>;
1223
+
1224
+ type PaginationProps = {
1225
+ total: number;
1226
+ pageSize?: number;
1227
+ page: number;
1228
+ onPageChange: (page: number) => void;
737
1229
  className?: string;
738
1230
  };
739
- declare function Tree({ items, value, defaultValue, onValueChange, expanded, defaultExpanded, onExpandedChange, label, className, }: TreeProps): React.JSX.Element;
1231
+ declare function Pagination({ total, pageSize, page, onPageChange, className, }: PaginationProps): React.JSX.Element;
1232
+
740
1233
  type DatePickerProps = {
741
1234
  value?: string;
742
1235
  defaultValue?: string;
@@ -878,4 +1371,649 @@ declare const Splitter: typeof SplitterRoot & {
878
1371
  Panel: typeof SplitterPanel;
879
1372
  };
880
1373
 
881
- export { Alert, Avatar, AvatarGroup, Badge, Breadcrumb, Button, ButtonGroup, type ButtonProps, Card, type CardGridProps, type CardMetaProps, type CardMetaSemantic, type CardProps, type CardSemantic, type CardTabItem, type CardTokens, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, DatePicker, type DatePickerProps, Dialog, type DialogProps, Divider, DocumentCard, type DocumentItem, DocumentList, Drawer, DropdownMenu, type DropdownMenuProps, Dropzone, Empty, FilterBar, FilterChip, Form, FormField, type FormFieldProps, type FormInstance, type FormProps, type FormRule, type FormValidateTrigger, type FormValidationError, type FormValues, IconButton, Input, Layout, type LayoutContentProps, type LayoutHeaderProps, type LayoutProps, type LayoutSiderProps, List, ListItem, type Locale, type MenuItem, Modal, type ModalProps, MtoneProvider, MtoneScope, MultiSelect, type MultiSelectProps, NavGroup, NavItem, NumberInput, type NumberInputProps, type OpenProps, type Option, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, PropertyItem, PropertyList, RadioGroup, type RadioGroupProps, SearchInput, Segmented, Select, type SelectProps, Sidebar, type SidebarProps, Skeleton, Slider, type SliderProps, type SortOrder, Spinner, Splitter, type SplitterPanelProps, type SplitterProps, type SplitterSize, Spotlight, type SpotlightAction, type SpotlightProps, Status, Switch, type TabItem, Table, type TableClassNames, type TableColumn, type TableColumnTitleProps, type TableColumnsType, type TableExpandableConfig, type TableFilterDropdownProps, type TableFilterItem, type TableFilterValue, type TableFilters, type TableLocale, type TablePagination, type TableProps, type TableRef, type TableRowSelection, type TableSelectionType, type TableSortResult, type TableState, type TableStyles, Tabs, type TabsProps, Text, Textarea, Toast, type ToastOptions, type ToastPosition, type ToastPromiseOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToastUpdateOptions, type Tokens, type Tone, Tooltip, Tree, type TreeItem, type TreeProps, Upload, type UploadAdapter, type UploadContext, type UploadFile, type UploadProps, cn, useMtone, useToast };
1374
+ /** Extract boundary-delimited mentions from plain text; does not validate membership in options. */
1375
+ declare function getMentions(value: string, config?: {
1376
+ prefix?: string | string[];
1377
+ split?: string;
1378
+ }): {
1379
+ prefix: string;
1380
+ value: string;
1381
+ }[];
1382
+
1383
+ type MentionOption = {
1384
+ value: string;
1385
+ label?: React.ReactNode;
1386
+ key?: React.Key;
1387
+ disabled?: boolean;
1388
+ className?: string;
1389
+ style?: React.CSSProperties;
1390
+ };
1391
+ type MentionsSemantic = "root" | "textarea" | "popup" | "option" | "clear";
1392
+ type MentionsRef = {
1393
+ nativeElement: HTMLTextAreaElement | null;
1394
+ focus: (options?: FocusOptions) => void;
1395
+ blur: () => void;
1396
+ };
1397
+ type MentionsProps = Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "defaultValue" | "onChange" | "onSelect" | "prefix" | "children"> & {
1398
+ value?: string;
1399
+ defaultValue?: string;
1400
+ onChange?: (value: string) => void;
1401
+ options?: MentionOption[];
1402
+ prefix?: string | string[];
1403
+ split?: string;
1404
+ onSearch?: (text: string, prefix: string) => void;
1405
+ onSelect?: (option: MentionOption, prefix: string) => void;
1406
+ filterOption?: false | ((input: string, option: MentionOption) => boolean);
1407
+ validateSearch?: (text: string, split: string) => boolean;
1408
+ loading?: boolean;
1409
+ notFoundContent?: React.ReactNode;
1410
+ placement?: "top" | "bottom";
1411
+ getPopupContainer?: () => HTMLElement;
1412
+ popupRender?: (menu: React.ReactElement) => React.ReactNode;
1413
+ onPopupScroll?: React.UIEventHandler<HTMLDivElement>;
1414
+ size?: "sm" | "md" | "lg";
1415
+ status?: "error" | "warning";
1416
+ autoSize?: boolean | {
1417
+ minRows?: number;
1418
+ maxRows?: number;
1419
+ };
1420
+ allowClear?: boolean | {
1421
+ clearIcon?: React.ReactNode;
1422
+ label?: string;
1423
+ tabIndex?: number;
1424
+ };
1425
+ onClear?: () => void;
1426
+ classNames?: Partial<Record<MentionsSemantic, string>>;
1427
+ styles?: Partial<Record<MentionsSemantic, React.CSSProperties>>;
1428
+ };
1429
+ declare const Mentions: React.ForwardRefExoticComponent<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "children" | "defaultValue" | "prefix" | "onChange" | "onSelect" | "value"> & {
1430
+ value?: string;
1431
+ defaultValue?: string;
1432
+ onChange?: (value: string) => void;
1433
+ options?: MentionOption[];
1434
+ prefix?: string | string[];
1435
+ split?: string;
1436
+ onSearch?: (text: string, prefix: string) => void;
1437
+ onSelect?: (option: MentionOption, prefix: string) => void;
1438
+ filterOption?: false | ((input: string, option: MentionOption) => boolean);
1439
+ validateSearch?: (text: string, split: string) => boolean;
1440
+ loading?: boolean;
1441
+ notFoundContent?: React.ReactNode;
1442
+ placement?: "top" | "bottom";
1443
+ getPopupContainer?: () => HTMLElement;
1444
+ popupRender?: (menu: React.ReactElement) => React.ReactNode;
1445
+ onPopupScroll?: React.UIEventHandler<HTMLDivElement>;
1446
+ size?: "sm" | "md" | "lg";
1447
+ status?: "error" | "warning";
1448
+ autoSize?: boolean | {
1449
+ minRows?: number;
1450
+ maxRows?: number;
1451
+ };
1452
+ allowClear?: boolean | {
1453
+ clearIcon?: React.ReactNode;
1454
+ label?: string;
1455
+ tabIndex?: number;
1456
+ };
1457
+ onClear?: () => void;
1458
+ classNames?: Partial<Record<MentionsSemantic, string>>;
1459
+ styles?: Partial<Record<MentionsSemantic, React.CSSProperties>>;
1460
+ } & React.RefAttributes<MentionsRef>>;
1461
+ declare const Mention: React.ForwardRefExoticComponent<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "children" | "defaultValue" | "prefix" | "onChange" | "onSelect" | "value"> & {
1462
+ value?: string;
1463
+ defaultValue?: string;
1464
+ onChange?: (value: string) => void;
1465
+ options?: MentionOption[];
1466
+ prefix?: string | string[];
1467
+ split?: string;
1468
+ onSearch?: (text: string, prefix: string) => void;
1469
+ onSelect?: (option: MentionOption, prefix: string) => void;
1470
+ filterOption?: false | ((input: string, option: MentionOption) => boolean);
1471
+ validateSearch?: (text: string, split: string) => boolean;
1472
+ loading?: boolean;
1473
+ notFoundContent?: React.ReactNode;
1474
+ placement?: "top" | "bottom";
1475
+ getPopupContainer?: () => HTMLElement;
1476
+ popupRender?: (menu: React.ReactElement) => React.ReactNode;
1477
+ onPopupScroll?: React.UIEventHandler<HTMLDivElement>;
1478
+ size?: "sm" | "md" | "lg";
1479
+ status?: "error" | "warning";
1480
+ autoSize?: boolean | {
1481
+ minRows?: number;
1482
+ maxRows?: number;
1483
+ };
1484
+ allowClear?: boolean | {
1485
+ clearIcon?: React.ReactNode;
1486
+ label?: string;
1487
+ tabIndex?: number;
1488
+ };
1489
+ onClear?: () => void;
1490
+ classNames?: Partial<Record<MentionsSemantic, string>>;
1491
+ styles?: Partial<Record<MentionsSemantic, React.CSSProperties>>;
1492
+ } & React.RefAttributes<MentionsRef>>;
1493
+
1494
+ type CalendarMode = "month" | "year";
1495
+ type CalendarSelectInfo = {
1496
+ source: "date" | "month" | "year" | "customize";
1497
+ };
1498
+ type CalendarCellInfo = {
1499
+ type: "date" | "month";
1500
+ originNode: React.ReactElement;
1501
+ today: string;
1502
+ };
1503
+ type CalendarHeaderInfo = {
1504
+ value: string;
1505
+ type: CalendarMode;
1506
+ onChange: (value: string) => void;
1507
+ onTypeChange: (mode: CalendarMode) => void;
1508
+ };
1509
+ type CalendarSemanticSlot = "root" | "header" | "body" | "cell";
1510
+ interface CalendarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "onSelect" | "defaultValue"> {
1511
+ value?: string;
1512
+ defaultValue?: string;
1513
+ onChange?: (value: string) => void;
1514
+ onValueChange?: (value: string) => void;
1515
+ mode?: CalendarMode;
1516
+ defaultMode?: CalendarMode;
1517
+ onPanelChange?: (value: string, mode: CalendarMode) => void;
1518
+ onSelect?: (value: string, info: CalendarSelectInfo) => void;
1519
+ validRange?: readonly [string, string];
1520
+ disabledDate?: (value: string) => boolean;
1521
+ disabled?: boolean;
1522
+ fullscreen?: boolean;
1523
+ showWeek?: boolean;
1524
+ locale?: Locale;
1525
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
1526
+ cellRender?: (value: string, info: CalendarCellInfo) => React.ReactNode;
1527
+ fullCellRender?: (value: string, info: CalendarCellInfo) => React.ReactNode;
1528
+ headerRender?: (info: CalendarHeaderInfo) => React.ReactNode;
1529
+ classNames?: Partial<Record<CalendarSemanticSlot, string>>;
1530
+ styles?: Partial<Record<CalendarSemanticSlot, React.CSSProperties>>;
1531
+ }
1532
+ declare function Calendar({ value, defaultValue, onChange, onValueChange, mode, defaultMode, onPanelChange, onSelect, validRange, disabledDate, disabled, fullscreen, showWeek, locale, weekStartsOn, cellRender, fullCellRender, headerRender, classNames, styles, className, style, ...props }: CalendarProps): React.JSX.Element;
1533
+
1534
+ interface RateCharacterInfo {
1535
+ /** Zero-based character index. */
1536
+ index: number;
1537
+ /** Committed, normalized value (hover never changes this). */
1538
+ value: number;
1539
+ /** Value currently painted, including a pointer preview. */
1540
+ displayValue: number;
1541
+ count: number;
1542
+ disabled: boolean;
1543
+ }
1544
+ interface RateProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onChange" | "defaultValue" | "children"> {
1545
+ value?: number;
1546
+ defaultValue?: number;
1547
+ onChange?: (value: number) => void;
1548
+ count?: number;
1549
+ allowHalf?: boolean;
1550
+ allowClear?: boolean;
1551
+ disabled?: boolean;
1552
+ keyboard?: boolean;
1553
+ autoFocus?: boolean;
1554
+ size?: "small" | "medium" | "large";
1555
+ /** Display-only content; do not supply links, inputs or other interactive nodes. */
1556
+ character?: React.ReactNode | ((info: RateCharacterInfo) => React.ReactNode);
1557
+ tooltips?: readonly string[];
1558
+ /** undefined means pointer preview ended. */
1559
+ onHoverChange?: (value: number | undefined) => void;
1560
+ }
1561
+ /** Compact star rating, exposed as one keyboard-focusable slider. */
1562
+ declare const Rate: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<HTMLSpanElement>>;
1563
+
1564
+ type PopconfirmPlacement = "top" | "topLeft" | "topRight" | "bottom" | "bottomLeft" | "bottomRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom";
1565
+ type Content = React.ReactNode | (() => React.ReactNode);
1566
+ interface PopconfirmProps {
1567
+ trigger: React.ReactElement;
1568
+ title: Content;
1569
+ description?: Content;
1570
+ icon?: React.ReactNode;
1571
+ open?: boolean;
1572
+ defaultOpen?: boolean;
1573
+ onOpenChange?: (open: boolean) => void;
1574
+ disabled?: boolean;
1575
+ placement?: PopconfirmPlacement;
1576
+ arrow?: boolean;
1577
+ autoAdjustOverflow?: boolean;
1578
+ okText?: React.ReactNode;
1579
+ cancelText?: React.ReactNode;
1580
+ showCancel?: boolean;
1581
+ okButtonProps?: Omit<ButtonProps, "onClick" | "children">;
1582
+ cancelButtonProps?: Omit<ButtonProps, "onClick" | "children">;
1583
+ onConfirm?: (event: React.MouseEvent<HTMLButtonElement>) => void | boolean | Promise<void | boolean>;
1584
+ onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
1585
+ onConfirmError?: (error: unknown) => void;
1586
+ errorText?: React.ReactNode;
1587
+ onPopupClick?: React.MouseEventHandler<HTMLDivElement>;
1588
+ className?: string;
1589
+ style?: React.CSSProperties;
1590
+ }
1591
+ declare function Popconfirm({ trigger, title, description, icon, open, defaultOpen, onOpenChange, disabled, placement, arrow, autoAdjustOverflow, okText, cancelText, showCancel, okButtonProps, cancelButtonProps, onConfirm, onCancel, onConfirmError, errorText, onPopupClick, className, style, }: PopconfirmProps): React.JSX.Element;
1592
+
1593
+ type TimelinePlacement = "start" | "end";
1594
+ type TimelineSemantic = "root" | "item" | "tail" | "icon" | "title" | "content";
1595
+ interface TimelineItem extends Omit<React.HTMLAttributes<HTMLLIElement>, "title" | "children" | "content" | "color"> {
1596
+ key?: React.Key;
1597
+ title?: React.ReactNode;
1598
+ content?: React.ReactNode;
1599
+ icon?: React.ReactNode;
1600
+ color?: string;
1601
+ loading?: boolean;
1602
+ placement?: TimelinePlacement;
1603
+ /** Compatibility aliases; prefer title/content/icon/placement. */
1604
+ label?: React.ReactNode;
1605
+ children?: React.ReactNode;
1606
+ dot?: React.ReactNode;
1607
+ position?: TimelinePlacement | "left" | "right";
1608
+ }
1609
+ interface TimelineProps extends Omit<React.HTMLAttributes<HTMLOListElement>, "children"> {
1610
+ items?: readonly TimelineItem[];
1611
+ mode?: TimelinePlacement | "alternate" | "left" | "right";
1612
+ orientation?: "vertical" | "horizontal";
1613
+ reverse?: boolean;
1614
+ variant?: "outlined" | "filled";
1615
+ /** Title column width. A number is pixels, not a grid-column span. */
1616
+ titleSpan?: number | string;
1617
+ /** Compatibility ghost item. Prefer an explicit item with loading=true. */
1618
+ pending?: React.ReactNode;
1619
+ pendingDot?: React.ReactNode;
1620
+ classNames?: Partial<Record<TimelineSemantic, string>>;
1621
+ styles?: Partial<Record<TimelineSemantic, React.CSSProperties>>;
1622
+ }
1623
+ declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLOListElement>>;
1624
+
1625
+ interface AffixProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
1626
+ /** Top offset, defaults to zero unless offsetBottom is supplied. Takes precedence. */
1627
+ offsetTop?: number;
1628
+ offsetBottom?: number;
1629
+ target?: () => Window | HTMLElement | null;
1630
+ onChange?: (affixed: boolean) => void;
1631
+ }
1632
+ /** Fixed positioning with an in-flow placeholder. Use with vertical scrolling. */
1633
+ declare const Affix: React.ForwardRefExoticComponent<AffixProps & React.RefAttributes<HTMLDivElement>>;
1634
+
1635
+ type ResultStatus = "success" | "error" | "info" | "warning" | "403" | "404" | "500";
1636
+ type ResultSemantic = "root" | "icon" | "title" | "subTitle" | "extra" | "body";
1637
+ type SemanticValue<T> = Partial<Record<ResultSemantic, T>> | ((info: {
1638
+ props: ResultProps & {
1639
+ status: ResultStatus;
1640
+ };
1641
+ }) => Partial<Record<ResultSemantic, T>>);
1642
+ interface ResultProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
1643
+ status?: ResultStatus;
1644
+ title?: React.ReactNode;
1645
+ subTitle?: React.ReactNode;
1646
+ icon?: React.ReactNode;
1647
+ extra?: React.ReactNode;
1648
+ classNames?: SemanticValue<string>;
1649
+ styles?: SemanticValue<React.CSSProperties>;
1650
+ }
1651
+ /** Static result summary. Opt into role="status" or aria-live only for dynamic announcements. */
1652
+ declare const Result: React.ForwardRefExoticComponent<ResultProps & React.RefAttributes<HTMLDivElement>>;
1653
+
1654
+ interface ImageItem {
1655
+ src: string;
1656
+ alt?: string;
1657
+ previewSrc?: string;
1658
+ fallback?: string;
1659
+ crossOrigin?: React.ImgHTMLAttributes<HTMLImageElement>["crossOrigin"];
1660
+ referrerPolicy?: React.ImgHTMLAttributes<HTMLImageElement>["referrerPolicy"];
1661
+ }
1662
+ interface ImagePreviewProps {
1663
+ items: readonly ImageItem[];
1664
+ open: boolean;
1665
+ onOpenChange: (open: boolean) => void;
1666
+ current?: number;
1667
+ defaultCurrent?: number;
1668
+ onCurrentChange?: (index: number) => void;
1669
+ /** Focus target after dismissal. Otherwise Base UI returns to the active opener. */
1670
+ returnFocus?: React.RefObject<HTMLElement | null>;
1671
+ closeOnBackdrop?: boolean;
1672
+ className?: string;
1673
+ }
1674
+ interface ImageProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "placeholder"> {
1675
+ src: string;
1676
+ fallback?: string;
1677
+ placeholder?: React.ReactNode;
1678
+ errorContent?: React.ReactNode;
1679
+ preview?: boolean;
1680
+ previewSrc?: string;
1681
+ open?: boolean;
1682
+ defaultOpen?: boolean;
1683
+ onOpenChange?: (open: boolean) => void;
1684
+ fit?: React.CSSProperties["objectFit"];
1685
+ wrapperClassName?: string;
1686
+ }
1687
+ declare function ImagePreview({ items, open, onOpenChange, current, defaultCurrent, onCurrentChange, returnFocus, closeOnBackdrop, className, }: ImagePreviewProps): React.JSX.Element;
1688
+ declare function Image({ src, fallback, placeholder, errorContent, preview, previewSrc, open, defaultOpen, onOpenChange, fit, wrapperClassName, width, height, style, ...props }: ImageProps): React.JSX.Element;
1689
+ interface ImageGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
1690
+ items: readonly ImageItem[];
1691
+ open?: boolean;
1692
+ defaultOpen?: boolean;
1693
+ onOpenChange?: (open: boolean) => void;
1694
+ current?: number;
1695
+ defaultCurrent?: number;
1696
+ onCurrentChange?: (index: number) => void;
1697
+ thumbnailWidth?: number | string;
1698
+ thumbnailHeight?: number | string;
1699
+ }
1700
+ declare function ImageGroup({ items, open, defaultOpen, onOpenChange, current, defaultCurrent, onCurrentChange, thumbnailWidth, thumbnailHeight, className, ...props }: ImageGroupProps): React.JSX.Element;
1701
+
1702
+ interface TableOfContentsItem {
1703
+ id: string;
1704
+ label: string;
1705
+ level: number;
1706
+ }
1707
+ interface TableOfContentsHandle {
1708
+ refresh: () => void;
1709
+ }
1710
+ interface TableOfContentsProps extends Omit<React__default.HTMLAttributes<HTMLElement>, "title" | "onSelect"> {
1711
+ /** Heading scope. null means not ready; omitted means document. */
1712
+ root?: HTMLElement | null | (() => HTMLElement | null);
1713
+ /** Scroller containing the headings. Omitted means window. */
1714
+ scrollContainer?: HTMLElement | null | (() => HTMLElement | null);
1715
+ selector?: string;
1716
+ title?: React__default.ReactNode;
1717
+ initialItems?: TableOfContentsItem[];
1718
+ observe?: boolean;
1719
+ offset?: number;
1720
+ behavior?: ScrollBehavior;
1721
+ indent?: number;
1722
+ variant?: "default" | "subtle";
1723
+ emptyContent?: React__default.ReactNode;
1724
+ getLabel?: (element: HTMLElement) => string;
1725
+ getLevel?: (element: HTMLElement) => number;
1726
+ renderLabel?: (item: TableOfContentsItem, active: boolean) => React__default.ReactNode;
1727
+ onActiveChange?: (id: string | null) => void;
1728
+ onItemClick?: (item: TableOfContentsItem, event: React__default.MouseEvent<HTMLAnchorElement>) => void;
1729
+ }
1730
+ /** An accessible on-page heading index, independent of router hash state. */
1731
+ declare const TableOfContents: React__default.ForwardRefExoticComponent<TableOfContentsProps & React__default.RefAttributes<TableOfContentsHandle>>;
1732
+
1733
+ type AutoCompleteOption = {
1734
+ value: string;
1735
+ label?: React.ReactNode;
1736
+ disabled?: boolean;
1737
+ keywords?: string;
1738
+ };
1739
+ type AutoCompleteGroup = {
1740
+ label: string;
1741
+ options: AutoCompleteOption[];
1742
+ };
1743
+ type AutoCompleteProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue" | "onChange" | "onSelect" | "prefix" | "children"> & {
1744
+ options?: (AutoCompleteOption | AutoCompleteGroup)[];
1745
+ value?: string;
1746
+ defaultValue?: string;
1747
+ onChange?: (value: string) => void;
1748
+ onSelect?: (value: string, option: AutoCompleteOption) => void;
1749
+ onSearch?: (value: string) => void;
1750
+ open?: boolean;
1751
+ defaultOpen?: boolean;
1752
+ onOpenChange?: (open: boolean) => void;
1753
+ filterOption?: false | ((query: string, option: AutoCompleteOption) => boolean);
1754
+ autoHighlight?: boolean;
1755
+ backfill?: boolean;
1756
+ allowClear?: boolean;
1757
+ onClear?: () => void;
1758
+ loading?: boolean;
1759
+ notFoundContent?: React.ReactNode;
1760
+ size?: "sm" | "md" | "lg";
1761
+ status?: "error" | "warning";
1762
+ prefix?: React.ReactNode;
1763
+ suffix?: React.ReactNode;
1764
+ popupClassName?: string;
1765
+ popupStyle?: React.CSSProperties;
1766
+ placement?: "top" | "bottom";
1767
+ popupWidth?: number;
1768
+ };
1769
+ /** Free text input with optional suggestions; ref points to the native input. */
1770
+ declare const AutoComplete: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "children" | "defaultValue" | "prefix" | "onChange" | "onSelect" | "value" | "size"> & {
1771
+ options?: (AutoCompleteOption | AutoCompleteGroup)[];
1772
+ value?: string;
1773
+ defaultValue?: string;
1774
+ onChange?: (value: string) => void;
1775
+ onSelect?: (value: string, option: AutoCompleteOption) => void;
1776
+ onSearch?: (value: string) => void;
1777
+ open?: boolean;
1778
+ defaultOpen?: boolean;
1779
+ onOpenChange?: (open: boolean) => void;
1780
+ filterOption?: false | ((query: string, option: AutoCompleteOption) => boolean);
1781
+ autoHighlight?: boolean;
1782
+ backfill?: boolean;
1783
+ allowClear?: boolean;
1784
+ onClear?: () => void;
1785
+ loading?: boolean;
1786
+ notFoundContent?: React.ReactNode;
1787
+ size?: "sm" | "md" | "lg";
1788
+ status?: "error" | "warning";
1789
+ prefix?: React.ReactNode;
1790
+ suffix?: React.ReactNode;
1791
+ popupClassName?: string;
1792
+ popupStyle?: React.CSSProperties;
1793
+ placement?: "top" | "bottom";
1794
+ popupWidth?: number;
1795
+ } & React.RefAttributes<HTMLInputElement>>;
1796
+
1797
+ type CascaderKey = string | number;
1798
+ type CascaderPath = CascaderKey[];
1799
+ interface CascaderOption {
1800
+ value: CascaderKey;
1801
+ label: React.ReactNode;
1802
+ /** Required for searching non-text labels. */
1803
+ textValue?: string;
1804
+ children?: CascaderOption[];
1805
+ disabled?: boolean;
1806
+ /** false declares an unloaded branch; loadOptions must supply its children. */
1807
+ isLeaf?: boolean;
1808
+ }
1809
+ interface CascaderCommon {
1810
+ options: CascaderOption[];
1811
+ disabled?: boolean;
1812
+ readOnly?: boolean;
1813
+ changeOnSelect?: boolean;
1814
+ expandTrigger?: "click" | "hover";
1815
+ searchable?: boolean;
1816
+ searchValue?: string;
1817
+ defaultSearchValue?: string;
1818
+ onSearchChange?: (value: string) => void;
1819
+ filterOption?: (query: string, path: CascaderOption[]) => boolean;
1820
+ loadOptions?: (path: CascaderOption[]) => Promise<CascaderOption[]>;
1821
+ onLoadError?: (error: unknown, path: CascaderOption[]) => void;
1822
+ renderOption?: (option: CascaderOption, path: CascaderOption[]) => React.ReactNode;
1823
+ emptyContent?: React.ReactNode;
1824
+ loadingText?: React.ReactNode;
1825
+ loadErrorText?: React.ReactNode;
1826
+ searchPlaceholder?: string;
1827
+ className?: string;
1828
+ style?: React.CSSProperties;
1829
+ "aria-label"?: string;
1830
+ "aria-labelledby"?: string;
1831
+ }
1832
+ type CascaderSelection = {
1833
+ multiple?: false;
1834
+ value?: CascaderPath;
1835
+ defaultValue?: CascaderPath;
1836
+ onValueChange?: (value: CascaderPath, options: CascaderOption[]) => void;
1837
+ } | {
1838
+ multiple: true;
1839
+ value?: CascaderPath[];
1840
+ defaultValue?: CascaderPath[];
1841
+ onValueChange?: (value: CascaderPath[], options: CascaderOption[][]) => void;
1842
+ };
1843
+ type CascaderPanelProps = CascaderCommon & CascaderSelection;
1844
+ type CascaderProps = CascaderPanelProps & {
1845
+ open?: boolean;
1846
+ defaultOpen?: boolean;
1847
+ onOpenChange?: (open: boolean) => void;
1848
+ placeholder?: string;
1849
+ allowClear?: boolean;
1850
+ onClear?: () => void;
1851
+ size?: "sm" | "md" | "lg";
1852
+ status?: "error" | "warning";
1853
+ placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
1854
+ /** Only changes multiple-value presentation; callbacks always contain leaf paths. */
1855
+ showCheckedStrategy?: "parent" | "leaf";
1856
+ maxTagCount?: number;
1857
+ renderValue?: (options: CascaderOption[], path: CascaderPath) => React.ReactNode;
1858
+ prefix?: React.ReactNode;
1859
+ name?: string;
1860
+ id?: string;
1861
+ };
1862
+ declare function CascaderPanel(props: CascaderPanelProps): React.JSX.Element;
1863
+ declare const Cascader: React.ForwardRefExoticComponent<CascaderProps & React.RefAttributes<HTMLButtonElement>>;
1864
+
1865
+ interface TransferItem {
1866
+ key: string;
1867
+ label: React.ReactNode;
1868
+ description?: React.ReactNode;
1869
+ searchText?: string;
1870
+ disabled?: boolean;
1871
+ }
1872
+ type TransferDirection = "left" | "right";
1873
+ interface TransferListContext {
1874
+ direction: TransferDirection;
1875
+ items: TransferItem[];
1876
+ selectedKeys: string[];
1877
+ disabled: boolean;
1878
+ select: (keys: string[], selected: boolean) => void;
1879
+ remove: (keys: string[]) => void;
1880
+ }
1881
+ interface TransferProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "children"> {
1882
+ items: TransferItem[];
1883
+ targetKeys?: string[];
1884
+ defaultTargetKeys?: string[];
1885
+ onChange?: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
1886
+ selectedKeys?: string[];
1887
+ defaultSelectedKeys?: string[];
1888
+ onSelectChange?: (sourceKeys: string[], targetKeys: string[]) => void;
1889
+ showSearch?: boolean;
1890
+ filterOption?: (query: string, item: TransferItem, direction: TransferDirection) => boolean;
1891
+ onSearch?: (direction: TransferDirection, query: string) => void;
1892
+ titles?: [React.ReactNode, React.ReactNode];
1893
+ panelLabels?: [string, string];
1894
+ operationLabels?: [string, string];
1895
+ searchPlaceholder?: string;
1896
+ emptyContent?: React.ReactNode;
1897
+ disabled?: boolean;
1898
+ loading?: boolean;
1899
+ oneWay?: boolean;
1900
+ showSelectAll?: boolean;
1901
+ pagination?: boolean | {
1902
+ pageSize?: number;
1903
+ };
1904
+ height?: number | string;
1905
+ status?: "error" | "warning";
1906
+ renderItem?: (item: TransferItem, direction: TransferDirection) => React.ReactNode;
1907
+ renderList?: (context: TransferListContext) => React.ReactNode;
1908
+ footer?: (context: TransferListContext) => React.ReactNode;
1909
+ }
1910
+ declare const Transfer: React.ForwardRefExoticComponent<TransferProps & React.RefAttributes<HTMLDivElement>>;
1911
+
1912
+ interface LoadingOverlayProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
1913
+ /** Whether to mount the local overlay. Defaults to false. */
1914
+ visible?: boolean;
1915
+ /** Optional visible text, also used to name the loading status. */
1916
+ label?: string;
1917
+ /** Replaces the default Spinner; null intentionally hides the spinner. */
1918
+ loader?: React.ReactNode;
1919
+ overlayColor?: string;
1920
+ /** Surface opacity only; clamped to 0–1. */
1921
+ opacity?: number;
1922
+ /** Background blur in pixels. */
1923
+ blur?: number;
1924
+ radius?: React.CSSProperties["borderRadius"];
1925
+ zIndex?: number;
1926
+ }
1927
+ /** Place inside a positioned parent. Blocks pointers, not keyboard focus. */
1928
+ declare const LoadingOverlay: React.ForwardRefExoticComponent<LoadingOverlayProps & React.RefAttributes<HTMLDivElement>>;
1929
+
1930
+ interface HoverCardProps {
1931
+ /** Use a focusable element; custom components must forward refs and props. */
1932
+ trigger: React__default.ReactElement;
1933
+ content: React__default.ReactNode;
1934
+ title?: React__default.ReactNode;
1935
+ open?: boolean;
1936
+ defaultOpen?: boolean;
1937
+ onOpenChange?: (open: boolean) => void;
1938
+ openDelay?: number;
1939
+ closeDelay?: number;
1940
+ side?: "top" | "bottom" | "left" | "right";
1941
+ align?: "start" | "center" | "end";
1942
+ sideOffset?: number;
1943
+ width?: React__default.CSSProperties["width"];
1944
+ withArrow?: boolean;
1945
+ disabled?: boolean;
1946
+ }
1947
+ /** Supplemental rich preview. Essential actions and forms belong in Popover. */
1948
+ declare function HoverCard({ trigger, content, title, open, defaultOpen, onOpenChange, openDelay, closeDelay, side, align, sideOffset, width, withArrow, disabled, }: HoverCardProps): React__default.JSX.Element;
1949
+
1950
+ interface FieldsetProps extends React.FieldsetHTMLAttributes<HTMLFieldSetElement> {
1951
+ legend?: React.ReactNode;
1952
+ variant?: "default" | "filled" | "unstyled";
1953
+ radius?: React.CSSProperties["borderRadius"];
1954
+ }
1955
+ /** Semantic grouping for related form controls. Not a form or validation boundary. */
1956
+ declare const Fieldset: React.ForwardRefExoticComponent<FieldsetProps & React.RefAttributes<HTMLFieldSetElement>>;
1957
+
1958
+ interface TreeSelectCommonProps {
1959
+ items: TreeItem[];
1960
+ disabled?: boolean;
1961
+ readOnly?: boolean;
1962
+ searchable?: boolean;
1963
+ searchValue?: string;
1964
+ defaultSearchValue?: string;
1965
+ onSearchChange?: (value: string) => void;
1966
+ /** Use textValue on a node to search a non-text label. */
1967
+ filterNode?: (query: string, node: TreeItem) => boolean;
1968
+ open?: boolean;
1969
+ defaultOpen?: boolean;
1970
+ onOpenChange?: (open: boolean) => void;
1971
+ placeholder?: string;
1972
+ searchPlaceholder?: string;
1973
+ emptyContent?: React.ReactNode;
1974
+ allowClear?: boolean;
1975
+ onClear?: () => void;
1976
+ checkStrictly?: boolean;
1977
+ /** Display only; onValueChange always returns all checked keys. */
1978
+ showCheckedStrategy?: "all" | "parent" | "leaf";
1979
+ maxTagCount?: number;
1980
+ renderValue?: (node: TreeItem) => React.ReactNode;
1981
+ expandedKeys?: TreeKey[];
1982
+ defaultExpandedKeys?: TreeKey[];
1983
+ defaultExpandAll?: boolean;
1984
+ onExpand?: TreeProps["onExpand"];
1985
+ loadData?: TreeProps["loadData"];
1986
+ onLoadError?: TreeProps["onLoadError"];
1987
+ loadedKeys?: TreeKey[];
1988
+ onLoad?: TreeProps["onLoad"];
1989
+ showLine?: boolean;
1990
+ showIcon?: boolean;
1991
+ titleRender?: TreeProps["titleRender"];
1992
+ height?: number;
1993
+ virtual?: boolean;
1994
+ size?: "sm" | "md" | "lg";
1995
+ status?: "error" | "warning";
1996
+ placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
1997
+ dropdownWidth?: React.CSSProperties["width"];
1998
+ prefix?: React.ReactNode;
1999
+ name?: string;
2000
+ id?: string;
2001
+ className?: string;
2002
+ style?: React.CSSProperties;
2003
+ "aria-label"?: string;
2004
+ "aria-labelledby"?: string;
2005
+ }
2006
+ type TreeSelectProps = TreeSelectCommonProps & ({
2007
+ multiple?: false;
2008
+ value?: TreeKey | null;
2009
+ defaultValue?: TreeKey | null;
2010
+ onValueChange?: (value: TreeKey | null, nodes: TreeItem[]) => void;
2011
+ } | {
2012
+ multiple: true;
2013
+ value?: TreeKey[];
2014
+ defaultValue?: TreeKey[];
2015
+ onValueChange?: (value: TreeKey[], nodes: TreeItem[]) => void;
2016
+ });
2017
+ declare const TreeSelect: React.ForwardRefExoticComponent<TreeSelectProps & React.RefAttributes<HTMLButtonElement>>;
2018
+
2019
+ export { Affix, type AffixProps, Alert, AutoComplete, type AutoCompleteGroup, type AutoCompleteOption, type AutoCompleteProps, Avatar, type AvatarBreakpoint, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, Blockquote, type BlockquoteProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarCellInfo, type CalendarHeaderInfo, type CalendarMode, type CalendarProps, type CalendarSelectInfo, type CalendarSemanticSlot, Card, type CardGridProps, type CardMetaProps, type CardMetaSemantic, type CardProps, type CardSemantic, type CardTabItem, type CardTokens, Cascader, type CascaderKey, type CascaderOption, CascaderPanel, type CascaderPanelProps, type CascaderPath, type CascaderProps, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, DatePicker, type DatePickerProps, Dialog, type DialogProps, DirectoryTree, Divider, type DividerProps, DocumentCard, type DocumentItem, DocumentList, Drawer, Dropdown, type DropdownAlign, type DropdownLayoutProps, DropdownMenu, type DropdownMenuProps, type DropdownProps, Dropzone, Empty, Fieldset, type FieldsetProps, FilterBar, FilterChip, Form, FormField, type FormFieldProps, type FormInstance, type FormProps, type FormRule, type FormValidateTrigger, type FormValidationError, type FormValues, HoverCard, type HoverCardProps, IconButton, Image, ImageGroup, type ImageGroupProps, type ImageItem, ImagePreview, type ImagePreviewProps, type ImageProps, Input, type InputControlSize, type InputOTPProps, type InputPasswordProps, type InputProps, type InputSearchProps, type InputTextAreaProps, type InputVariant, Layout, type LayoutContentProps, type LayoutHeaderProps, type LayoutProps, type LayoutSiderProps, Link, type LinkProps, List, type ListHandle, ListItem, type ListItemProps, type ListProps, type ListScrollTarget, LoadingOverlay, type LoadingOverlayProps, type Locale, Mention, type MentionOption, Mentions, type MentionsProps, type MentionsRef, type MentionsSemantic, Menu, type MenuCheckboxItem, type MenuDivider, type MenuEntry, type MenuGroup, type MenuItem, type MenuProps, type MenuRadioGroup, Menubar, type MenubarMenu, type MenubarProps, Modal, type ModalProps, MtoneProvider, MtoneScope, MultiSelect, type MultiSelectProps, NavGroup, NavItem, NumberInput, type NumberInputProps, type OpenProps, type Option, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popconfirm, type PopconfirmPlacement, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressColor, type ProgressProps, type ProgressStatus, type ProgressType, PropertyItem, PropertyList, RadioGroup, type RadioGroupProps, Rate, type RateCharacterInfo, type RateProps, Result, type ResultProps, type ResultSemantic, type ResultStatus, SearchInput, Segmented, Select, type SelectProps, Sidebar, type SidebarProps, Skeleton, Slider, type SliderProps, type SortOrder, Spinner, Splitter, type SplitterPanelProps, type SplitterProps, type SplitterSize, Spotlight, type SpotlightAction, type SpotlightProps, Status, Switch, type TabItem, Table, type TableClassNames, type TableColumn, type TableColumnTitleProps, type TableColumnsType, type TableExpandableConfig, type TableFilterDropdownProps, type TableFilterItem, type TableFilterValue, type TableFilters, type TableLocale, TableOfContents, type TableOfContentsHandle, type TableOfContentsItem, type TableOfContentsProps, type TablePagination, type TableProps, type TableRef, type TableRowSelection, type TableSelectionType, type TableSortResult, type TableState, type TableStyles, Tabs, type TabsProps, Text, type TextProps, Textarea, Timeline, type TimelineItem, type TimelinePlacement, type TimelineProps, type TimelineSemantic, Title, type TitleProps, Toast, type ToastOptions, type ToastPosition, type ToastPromiseOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToastUpdateOptions, type Tokens, type Tone, Tooltip, Transfer, type TransferDirection, type TransferItem, type TransferListContext, type TransferProps, Tree, type TreeCheckedKeys, type TreeDropInfo, type TreeItem, type TreeKey, type TreeNode, type TreeNodeInfo, type TreeProps, type TreeRef, TreeSelect, type TreeSelectCommonProps, type TreeSelectProps, Typography, type TypographyCopyable, type TypographyEditable, type TypographyEllipsis, type TypographyTone, Upload, type UploadAdapter, type UploadContext, type UploadFile, type UploadProps, cn, getMentions, useMtone, useToast };