@gomeniucivan/ui 1.0.69 → 1.0.72
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/INSTRUCTION.md +2166 -0
- package/dist/index.d.mts +117 -20
- package/dist/index.d.ts +117 -20
- package/dist/index.js +379 -379
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +379 -379
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -114,6 +114,7 @@ type TextAreaProps$1 = HTMLAttributes<HTMLTextAreaElement>;
|
|
|
114
114
|
type SpanProps = HTMLAttributes<HTMLSpanElement>;
|
|
115
115
|
|
|
116
116
|
declare const A: FC<AProps & {
|
|
117
|
+
cy?: string;
|
|
117
118
|
ref?: Ref<HTMLAnchorElement>;
|
|
118
119
|
}>;
|
|
119
120
|
|
|
@@ -136,6 +137,7 @@ interface FlexProps extends FlexProps$1 {
|
|
|
136
137
|
declare const Flex: react.ForwardRefExoticComponent<Omit<FlexProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
137
138
|
|
|
138
139
|
interface BlockProps extends FlexProps {
|
|
140
|
+
cy?: string;
|
|
139
141
|
clickable?: boolean;
|
|
140
142
|
glass?: boolean;
|
|
141
143
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -230,6 +232,7 @@ interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'
|
|
|
230
232
|
* @default false
|
|
231
233
|
*/
|
|
232
234
|
accordion?: boolean;
|
|
235
|
+
cy?: string;
|
|
233
236
|
/**
|
|
234
237
|
* Accordion items
|
|
235
238
|
*/
|
|
@@ -422,6 +425,7 @@ type TooltipPopupComponentProps = Omit<TooltipPopupProps, 'className' | 'style'
|
|
|
422
425
|
*/
|
|
423
426
|
type TooltipPortalProps = Omit<TooltipPortalProps$1, 'children' | 'container'>;
|
|
424
427
|
interface TooltipProps {
|
|
428
|
+
cy?: string;
|
|
425
429
|
/**
|
|
426
430
|
* Whether the tooltip has an arrow pointer.
|
|
427
431
|
* @default false
|
|
@@ -580,6 +584,7 @@ interface ActionIconSizeConfig extends IconSizeConfig {
|
|
|
580
584
|
type ActionIconSize = number | IconSizeType | ActionIconSizeConfig;
|
|
581
585
|
interface ActionIconProps extends Partial<LucideIconProps>, Omit<FlexProps, 'title' | 'children'> {
|
|
582
586
|
active?: boolean;
|
|
587
|
+
cy?: string;
|
|
583
588
|
danger?: boolean;
|
|
584
589
|
disabled?: boolean;
|
|
585
590
|
glass?: boolean;
|
|
@@ -661,6 +666,7 @@ interface MenuDividerType extends MenuDividerType$1 {
|
|
|
661
666
|
type ItemType<T extends MenuItemType = MenuItemType> = T | SubMenuType<T> | MenuItemGroupType<T> | MenuDividerType | null;
|
|
662
667
|
type GenericItemType<T = unknown> = T extends infer U extends MenuItemType ? unknown extends U ? ItemType : ItemType<U> : ItemType;
|
|
663
668
|
interface MenuProps<T = unknown> extends Omit<MenuProps$1, 'items'> {
|
|
669
|
+
cy?: string;
|
|
664
670
|
compact?: boolean;
|
|
665
671
|
iconProps?: IconContentConfig;
|
|
666
672
|
items: GenericItemType<T>[];
|
|
@@ -710,6 +716,7 @@ type DropdownMenuCheckboxItem = MenuCheckboxItemType;
|
|
|
710
716
|
type DropdownItem = BaseMenuItemType;
|
|
711
717
|
interface DropdownMenuProps<Payload = unknown> extends Omit<MenuRootProps<Payload>, 'children'> {
|
|
712
718
|
children: ReactNode;
|
|
719
|
+
cy?: string;
|
|
713
720
|
/**
|
|
714
721
|
* 图标空间保留模式
|
|
715
722
|
* - 'global': 当任何一个选项有图标时,所有 item 都保留图标位
|
|
@@ -844,6 +851,7 @@ declare const ActionIconGroup: FC<ActionIconGroupProps>;
|
|
|
844
851
|
type AlertClassNames = NonNullable<AlertProps$1['classNames']>;
|
|
845
852
|
type AlertStyles = NonNullable<AlertProps$1['styles']>;
|
|
846
853
|
interface AlertProps extends Omit<AlertProps$1, 'classNames' | 'icon' | 'styles' | 'type'> {
|
|
854
|
+
cy?: string;
|
|
847
855
|
classNames?: AlertClassNames & {
|
|
848
856
|
alert?: string;
|
|
849
857
|
container?: string;
|
|
@@ -872,12 +880,14 @@ interface AlertProps extends Omit<AlertProps$1, 'classNames' | 'icon' | 'styles'
|
|
|
872
880
|
declare const Alert: react.NamedExoticComponent<AlertProps>;
|
|
873
881
|
|
|
874
882
|
interface AutoCompleteProps extends AutoCompleteProps$1 {
|
|
883
|
+
cy?: string;
|
|
875
884
|
shadow?: boolean;
|
|
876
885
|
}
|
|
877
886
|
|
|
878
887
|
declare const AutoComplete: react.NamedExoticComponent<AutoCompleteProps>;
|
|
879
888
|
|
|
880
889
|
interface AvatarProps extends AvatarProps$1 {
|
|
890
|
+
cy?: string;
|
|
881
891
|
animation?: boolean;
|
|
882
892
|
avatar?: string | ReactNode;
|
|
883
893
|
background?: string;
|
|
@@ -926,6 +936,7 @@ interface IAvatar {
|
|
|
926
936
|
declare const Avatar: IAvatar;
|
|
927
937
|
|
|
928
938
|
interface BurgerProps {
|
|
939
|
+
cy?: string;
|
|
929
940
|
className?: string;
|
|
930
941
|
drawerProps?: Partial<Omit<DrawerProps$1, 'items' | 'opened' | 'setOpened'>>;
|
|
931
942
|
fullscreen?: boolean;
|
|
@@ -947,6 +958,7 @@ interface BurgerProps {
|
|
|
947
958
|
declare const Burger: react.NamedExoticComponent<BurgerProps>;
|
|
948
959
|
|
|
949
960
|
interface ButtonProps extends Omit<ButtonProps$1, 'icon'> {
|
|
961
|
+
cy?: string;
|
|
950
962
|
glass?: boolean;
|
|
951
963
|
icon?: IconProps$1['icon'];
|
|
952
964
|
iconProps?: Partial<Omit<IconProps$1, 'icon'>>;
|
|
@@ -957,6 +969,7 @@ interface ButtonProps extends Omit<ButtonProps$1, 'icon'> {
|
|
|
957
969
|
declare const Button: FC<ButtonProps>;
|
|
958
970
|
|
|
959
971
|
interface CardFormProps extends Omit<FlexProps, 'title'> {
|
|
972
|
+
cy?: string;
|
|
960
973
|
actions?: ReactNode;
|
|
961
974
|
backButtonProps?: Omit<ActionIconProps, 'icon' | 'onClick'>;
|
|
962
975
|
backIcon?: ActionIconProps['icon'];
|
|
@@ -982,6 +995,7 @@ interface CardFormProps extends Omit<FlexProps, 'title'> {
|
|
|
982
995
|
declare const CardForm: react.NamedExoticComponent<CardFormProps>;
|
|
983
996
|
|
|
984
997
|
interface TextProps extends DivProps {
|
|
998
|
+
cy?: string;
|
|
985
999
|
align?: 'left' | 'center' | 'right';
|
|
986
1000
|
as?: ElementType;
|
|
987
1001
|
code?: boolean;
|
|
@@ -1023,6 +1037,7 @@ interface TextProps extends DivProps {
|
|
|
1023
1037
|
declare const Text: FC<TextProps>;
|
|
1024
1038
|
|
|
1025
1039
|
interface CheckboxProps extends Omit<DivProps, 'onChange'> {
|
|
1040
|
+
cy?: string;
|
|
1026
1041
|
backgroundColor?: string;
|
|
1027
1042
|
checked?: boolean;
|
|
1028
1043
|
classNames?: {
|
|
@@ -1212,6 +1227,7 @@ interface CollapseItemType extends ItemType$1 {
|
|
|
1212
1227
|
icon?: IconProps$1['icon'];
|
|
1213
1228
|
}
|
|
1214
1229
|
interface CollapseProps extends Omit<CollapseProps$1, 'collapsible' | 'ghost' | 'items'> {
|
|
1230
|
+
cy?: string;
|
|
1215
1231
|
classNames?: {
|
|
1216
1232
|
desc?: string;
|
|
1217
1233
|
header?: string;
|
|
@@ -1236,6 +1252,7 @@ interface CollapseProps extends Omit<CollapseProps$1, 'collapsible' | 'ghost' |
|
|
|
1236
1252
|
declare const Collapse: react.NamedExoticComponent<CollapseProps>;
|
|
1237
1253
|
|
|
1238
1254
|
interface ColorPickerProps extends ColorPickerProps$1 {
|
|
1255
|
+
cy?: string;
|
|
1239
1256
|
}
|
|
1240
1257
|
|
|
1241
1258
|
declare const ColorPicker: react.NamedExoticComponent<ColorPickerProps>;
|
|
@@ -1246,6 +1263,7 @@ interface ColorSwatchesItemType {
|
|
|
1246
1263
|
title?: ReactNode;
|
|
1247
1264
|
}
|
|
1248
1265
|
interface ColorSwatchesProps extends Omit<FlexProps, 'onChange'> {
|
|
1266
|
+
cy?: string;
|
|
1249
1267
|
colors: ColorSwatchesItemType[];
|
|
1250
1268
|
defaultValue?: string;
|
|
1251
1269
|
enableColorPicker?: boolean;
|
|
@@ -1436,6 +1454,7 @@ declare const updateContextMenuItems: (items: ContextMenuItem[]) => void;
|
|
|
1436
1454
|
declare const closeContextMenu: () => void;
|
|
1437
1455
|
|
|
1438
1456
|
interface CopyButtonProps extends Omit<ActionIconProps, 'content'> {
|
|
1457
|
+
cy?: string;
|
|
1439
1458
|
content: string | (() => string);
|
|
1440
1459
|
}
|
|
1441
1460
|
|
|
@@ -1459,6 +1478,7 @@ declare const confirmConfirmationModal: (props: ConfirmationModalProps) => Confi
|
|
|
1459
1478
|
declare const ConfirmationModal: ConfirmationModalAPI;
|
|
1460
1479
|
|
|
1461
1480
|
interface DatePickerProps extends DatePickerProps$1 {
|
|
1481
|
+
cy?: string;
|
|
1462
1482
|
shadow?: boolean;
|
|
1463
1483
|
/**
|
|
1464
1484
|
* Force mobile drawer / wheel UI when true; otherwise uses ThemeProvider context.
|
|
@@ -1481,6 +1501,7 @@ interface DatePickerProps extends DatePickerProps$1 {
|
|
|
1481
1501
|
declare const DatePicker: react.NamedExoticComponent<DatePickerProps>;
|
|
1482
1502
|
|
|
1483
1503
|
interface DownloadButtonProps extends ActionIconProps {
|
|
1504
|
+
cy?: string;
|
|
1484
1505
|
blobUrl?: string;
|
|
1485
1506
|
fileName?: string;
|
|
1486
1507
|
fileType?: string;
|
|
@@ -1489,6 +1510,7 @@ interface DownloadButtonProps extends ActionIconProps {
|
|
|
1489
1510
|
declare const DownloadButton: react__default.NamedExoticComponent<DownloadButtonProps>;
|
|
1490
1511
|
|
|
1491
1512
|
interface InputProps extends InputProps$1 {
|
|
1513
|
+
cy?: string;
|
|
1492
1514
|
ref?: Ref<InputRef>;
|
|
1493
1515
|
shadow?: boolean;
|
|
1494
1516
|
}
|
|
@@ -1574,6 +1596,7 @@ interface SelectClassNames {
|
|
|
1574
1596
|
value?: string;
|
|
1575
1597
|
}
|
|
1576
1598
|
interface SelectProps<Value = string> {
|
|
1599
|
+
cy?: string;
|
|
1577
1600
|
allowClear?: boolean;
|
|
1578
1601
|
autoFocus?: boolean;
|
|
1579
1602
|
/**
|
|
@@ -1650,6 +1673,7 @@ type TimeValue = {
|
|
|
1650
1673
|
};
|
|
1651
1674
|
interface TimePickerProps extends Omit<InputProps, 'defaultValue' | 'onChange' | 'type' | 'value' | 'size' | 'status' | 'addonAfter' | 'addonBefore' | 'suffix'> {
|
|
1652
1675
|
allowClear?: boolean;
|
|
1676
|
+
cy?: string;
|
|
1653
1677
|
className?: string;
|
|
1654
1678
|
defaultOpen?: boolean;
|
|
1655
1679
|
defaultValue?: string | null;
|
|
@@ -1693,6 +1717,7 @@ declare const DraggablePanelHeader: react.NamedExoticComponent<DraggablePanelHea
|
|
|
1693
1717
|
|
|
1694
1718
|
type PlacementType = 'right' | 'left' | 'top' | 'bottom';
|
|
1695
1719
|
interface DraggablePanelProps extends DivProps {
|
|
1720
|
+
cy?: string;
|
|
1696
1721
|
backgroundColor?: string;
|
|
1697
1722
|
classNames?: {
|
|
1698
1723
|
content?: string;
|
|
@@ -1741,6 +1766,7 @@ interface IDraggablePanel {
|
|
|
1741
1766
|
declare const DraggablePanel: IDraggablePanel;
|
|
1742
1767
|
|
|
1743
1768
|
interface DraggableSideNavProps extends Omit<DivProps, 'children' | 'onSelect'> {
|
|
1769
|
+
cy?: string;
|
|
1744
1770
|
backgroundColor?: string;
|
|
1745
1771
|
/**
|
|
1746
1772
|
* Body content (main content area)
|
|
@@ -1860,6 +1886,7 @@ interface DraggableSideNavProps extends Omit<DivProps, 'children' | 'onSelect'>
|
|
|
1860
1886
|
declare const DraggableSideNav: react.NamedExoticComponent<DraggableSideNavProps>;
|
|
1861
1887
|
|
|
1862
1888
|
interface DrawerProps extends Omit<DrawerProps$1, 'styles' | 'classNames'> {
|
|
1889
|
+
cy?: string;
|
|
1863
1890
|
classNames?: DrawerProps$1['classNames'] & {
|
|
1864
1891
|
bodyContent?: string;
|
|
1865
1892
|
extra?: string;
|
|
@@ -1888,6 +1915,7 @@ interface DrawerProps extends Omit<DrawerProps$1, 'styles' | 'classNames'> {
|
|
|
1888
1915
|
declare const Drawer: react.NamedExoticComponent<DrawerProps>;
|
|
1889
1916
|
|
|
1890
1917
|
interface DropdownProps extends Omit<DropdownProps$1, 'menu'> {
|
|
1918
|
+
cy?: string;
|
|
1891
1919
|
iconProps?: IconContentConfig;
|
|
1892
1920
|
menu: MenuProps;
|
|
1893
1921
|
}
|
|
@@ -1926,6 +1954,7 @@ interface ControlInputProps extends Omit<InputProps, 'onChange' | 'value' | 'onA
|
|
|
1926
1954
|
|
|
1927
1955
|
interface EditableTextProps extends Omit<FlexProps, 'onChange' | 'onBlur' | 'onFocus'>, Pick<ControlInputProps, 'onChange' | 'value' | 'onChangeEnd' | 'onValueChanging' | 'texts' | 'variant' | 'onBlur' | 'onFocus' | 'size'> {
|
|
1928
1956
|
className?: string;
|
|
1957
|
+
cy?: string;
|
|
1929
1958
|
classNames?: {
|
|
1930
1959
|
container?: string;
|
|
1931
1960
|
input?: string;
|
|
@@ -2063,6 +2092,7 @@ type PopoverBackdropProps = Omit<PopoverBackdropProps$1, 'className' | 'style'>;
|
|
|
2063
2092
|
*/
|
|
2064
2093
|
type PopoverPortalProps = Omit<PopoverPortalProps$1, 'children' | 'container'>;
|
|
2065
2094
|
interface PopoverProps {
|
|
2095
|
+
cy?: string;
|
|
2066
2096
|
/**
|
|
2067
2097
|
* 是否显示箭头, 在 `inset` 下无法使用
|
|
2068
2098
|
* @default false
|
|
@@ -2305,6 +2335,7 @@ interface EmojiPickerCustomTab {
|
|
|
2305
2335
|
value: string;
|
|
2306
2336
|
}
|
|
2307
2337
|
interface EmojiPickerProps extends Omit<AvatarProps, 'onChange' | 'avatar'> {
|
|
2338
|
+
cy?: string;
|
|
2308
2339
|
allowDelete?: boolean;
|
|
2309
2340
|
allowUpload?: boolean | {
|
|
2310
2341
|
enableEmoji?: boolean;
|
|
@@ -2338,6 +2369,7 @@ interface EmojiPickerProps extends Omit<AvatarProps, 'onChange' | 'avatar'> {
|
|
|
2338
2369
|
declare const EmojiPicker: react.NamedExoticComponent<EmojiPickerProps>;
|
|
2339
2370
|
|
|
2340
2371
|
interface EmptyProps extends Omit<FlexProps, 'title'> {
|
|
2372
|
+
cy?: string;
|
|
2341
2373
|
action?: ReactNode;
|
|
2342
2374
|
actionProps?: Omit<FlexProps, 'children'>;
|
|
2343
2375
|
description?: ReactNode;
|
|
@@ -2425,6 +2457,7 @@ interface FolderTreeNode {
|
|
|
2425
2457
|
count?: number;
|
|
2426
2458
|
}
|
|
2427
2459
|
interface FolderTreeProps {
|
|
2460
|
+
cy?: string;
|
|
2428
2461
|
/**
|
|
2429
2462
|
* Tree data.
|
|
2430
2463
|
*/
|
|
@@ -2503,6 +2536,7 @@ interface FolderIconProps {
|
|
|
2503
2536
|
declare const FolderIcon: react.NamedExoticComponent<FolderIconProps>;
|
|
2504
2537
|
|
|
2505
2538
|
interface FooterProps extends FlexProps {
|
|
2539
|
+
cy?: string;
|
|
2506
2540
|
bottom?: ReactNode;
|
|
2507
2541
|
columns: FooterProps$1['columns'];
|
|
2508
2542
|
contentMaxWidth?: number;
|
|
@@ -2574,6 +2608,11 @@ type FormInstance<T extends Record<string, any>> = UseFormReturn<T> | UseFormRet
|
|
|
2574
2608
|
type FormVariant = 'borderless' | 'filled' | 'outlined';
|
|
2575
2609
|
interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
|
|
2576
2610
|
children: ReactNode;
|
|
2611
|
+
/**
|
|
2612
|
+
* Cypress test-id prefix. When the ThemeProvider `cy` flag is enabled, form field components
|
|
2613
|
+
* emit `data-cy="<cy>-<name>"`.
|
|
2614
|
+
*/
|
|
2615
|
+
cy?: string;
|
|
2577
2616
|
onSubmit?: (values: T) => void | Promise<void>;
|
|
2578
2617
|
form?: FormInstance<T>;
|
|
2579
2618
|
initialValues?: T;
|
|
@@ -2641,32 +2680,35 @@ interface FormBlockProps {
|
|
|
2641
2680
|
onLabelClick?: () => void;
|
|
2642
2681
|
}
|
|
2643
2682
|
|
|
2644
|
-
declare function Form<T extends Record<string, any>>({ children, onSubmit, form, initialValues, validate, className, style, layout, labelWidth, variant, fieldMinWidth, maxWidth, ...props }: FormProps<T>): react_jsx_runtime.JSX.Element;
|
|
2683
|
+
declare function Form<T extends Record<string, any>>({ children, cy, onSubmit, form, initialValues, validate, className, style, layout, labelWidth, variant, fieldMinWidth, maxWidth, ...props }: FormProps<T>): react_jsx_runtime.JSX.Element;
|
|
2645
2684
|
declare namespace Form {
|
|
2646
2685
|
var displayName: string;
|
|
2647
2686
|
}
|
|
2648
2687
|
|
|
2649
2688
|
type FormErrorProps = {
|
|
2689
|
+
cy?: string;
|
|
2650
2690
|
message?: string;
|
|
2651
2691
|
className?: string;
|
|
2652
2692
|
style?: react__default.CSSProperties;
|
|
2653
2693
|
};
|
|
2654
2694
|
declare const FormError: {
|
|
2655
|
-
({ message, className, style }: FormErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
2695
|
+
({ cy, message, className, style }: FormErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
2656
2696
|
displayName: string;
|
|
2657
2697
|
};
|
|
2658
2698
|
|
|
2659
2699
|
type FormDescriptionProps = {
|
|
2700
|
+
cy?: string;
|
|
2660
2701
|
children?: react__default.ReactNode;
|
|
2661
2702
|
className?: string;
|
|
2662
2703
|
style?: react__default.CSSProperties;
|
|
2663
2704
|
};
|
|
2664
2705
|
declare const FormDescription: {
|
|
2665
|
-
({ children, className, style }: FormDescriptionProps): react_jsx_runtime.JSX.Element | null;
|
|
2706
|
+
({ cy, children, className, style }: FormDescriptionProps): react_jsx_runtime.JSX.Element | null;
|
|
2666
2707
|
displayName: string;
|
|
2667
2708
|
};
|
|
2668
2709
|
|
|
2669
2710
|
type FormInputProps<T extends Record<string, any>> = Omit<InputProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
|
|
2711
|
+
cy?: string;
|
|
2670
2712
|
name: keyof T & string;
|
|
2671
2713
|
label?: string;
|
|
2672
2714
|
description?: react__default.ReactNode;
|
|
@@ -2697,11 +2739,12 @@ type FormFieldRules<T extends Record<string, any>> = {
|
|
|
2697
2739
|
} | string;
|
|
2698
2740
|
declare const runRules: <T extends Record<string, any>>(rules: FormFieldRules<T> | undefined, value: any, values: T) => string | undefined;
|
|
2699
2741
|
declare const FormInput: {
|
|
2700
|
-
<T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputProps<T>): react_jsx_runtime.JSX.Element;
|
|
2742
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputProps<T>): react_jsx_runtime.JSX.Element;
|
|
2701
2743
|
displayName: string;
|
|
2702
2744
|
};
|
|
2703
2745
|
|
|
2704
2746
|
type FormTextareaProps<T extends Record<string, any>> = Omit<TextAreaProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
|
|
2747
|
+
cy?: string;
|
|
2705
2748
|
name: keyof T & string;
|
|
2706
2749
|
label?: string;
|
|
2707
2750
|
description?: react__default.ReactNode;
|
|
@@ -2713,11 +2756,12 @@ type FormTextareaProps<T extends Record<string, any>> = Omit<TextAreaProps, 'nam
|
|
|
2713
2756
|
rules?: FormFieldRules<T>;
|
|
2714
2757
|
};
|
|
2715
2758
|
declare const FormTextarea: {
|
|
2716
|
-
<T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormTextareaProps<T>): react_jsx_runtime.JSX.Element;
|
|
2759
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormTextareaProps<T>): react_jsx_runtime.JSX.Element;
|
|
2717
2760
|
displayName: string;
|
|
2718
2761
|
};
|
|
2719
2762
|
|
|
2720
2763
|
type FormLabelProps = {
|
|
2764
|
+
cy?: string;
|
|
2721
2765
|
htmlFor?: string;
|
|
2722
2766
|
children: react__default.ReactNode;
|
|
2723
2767
|
className?: string;
|
|
@@ -2732,7 +2776,7 @@ type FormLabelProps = {
|
|
|
2732
2776
|
onLabelClick?: () => void;
|
|
2733
2777
|
};
|
|
2734
2778
|
declare const FormLabel: {
|
|
2735
|
-
({ htmlFor, children, className, description, required, onLabelClick, }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2779
|
+
({ cy, htmlFor, children, className, description, required, onLabelClick, }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2736
2780
|
displayName: string;
|
|
2737
2781
|
};
|
|
2738
2782
|
|
|
@@ -2742,6 +2786,7 @@ declare const FormBlock: {
|
|
|
2742
2786
|
};
|
|
2743
2787
|
|
|
2744
2788
|
type FormTimePickerProps<T extends Record<string, any>> = Omit<TimePickerProps, 'name' | 'value' | 'onChange' | 'defaultValue' | 'form'> & {
|
|
2789
|
+
cy?: string;
|
|
2745
2790
|
name: keyof T & string;
|
|
2746
2791
|
label?: string;
|
|
2747
2792
|
description?: react__default.ReactNode;
|
|
@@ -2751,11 +2796,12 @@ type FormTimePickerProps<T extends Record<string, any>> = Omit<TimePickerProps,
|
|
|
2751
2796
|
rules?: FormFieldRules<T>;
|
|
2752
2797
|
};
|
|
2753
2798
|
declare const FormTimePicker: {
|
|
2754
|
-
<T extends Record<string, any>>({ name, label, description, form, required, className, variant: timeVariant, onValueChange, rules, ...pickerProps }: FormTimePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
2799
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, className, variant: timeVariant, onValueChange, rules, ...pickerProps }: FormTimePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
2755
2800
|
displayName: string;
|
|
2756
2801
|
};
|
|
2757
2802
|
|
|
2758
2803
|
type FormCheckboxProps<T extends Record<string, any>> = Omit<CheckboxProps, 'checked' | 'defaultChecked' | 'onChange'> & {
|
|
2804
|
+
cy?: string;
|
|
2759
2805
|
name: keyof T & string;
|
|
2760
2806
|
label?: react__default.ReactNode;
|
|
2761
2807
|
description?: react__default.ReactNode;
|
|
@@ -2764,7 +2810,7 @@ type FormCheckboxProps<T extends Record<string, any>> = Omit<CheckboxProps, 'che
|
|
|
2764
2810
|
onChange?: (checked: boolean) => void;
|
|
2765
2811
|
};
|
|
2766
2812
|
declare const FormCheckbox: {
|
|
2767
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2813
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, className, rules, onChange, disabled, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2768
2814
|
displayName: string;
|
|
2769
2815
|
};
|
|
2770
2816
|
|
|
@@ -2801,6 +2847,7 @@ type SwitchIconProps = HTMLMotionProps<'span'> & {
|
|
|
2801
2847
|
transition?: Transition;
|
|
2802
2848
|
};
|
|
2803
2849
|
interface SwitchProps {
|
|
2850
|
+
cy?: string;
|
|
2804
2851
|
/**
|
|
2805
2852
|
* Whether to set focus automatically when mounted
|
|
2806
2853
|
*/
|
|
@@ -2893,6 +2940,7 @@ interface SwitchProps {
|
|
|
2893
2940
|
}
|
|
2894
2941
|
|
|
2895
2942
|
type FormSwitchProps<T extends Record<string, any>> = Omit<SwitchProps, 'checked' | 'defaultChecked' | 'onChange' | 'value'> & {
|
|
2943
|
+
cy?: string;
|
|
2896
2944
|
name: keyof T & string;
|
|
2897
2945
|
label?: string;
|
|
2898
2946
|
description?: react__default.ReactNode;
|
|
@@ -2901,11 +2949,12 @@ type FormSwitchProps<T extends Record<string, any>> = Omit<SwitchProps, 'checked
|
|
|
2901
2949
|
onChange?: (checked: boolean) => void;
|
|
2902
2950
|
};
|
|
2903
2951
|
declare const FormSwitch: {
|
|
2904
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2952
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, className, rules, onChange, disabled, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2905
2953
|
displayName: string;
|
|
2906
2954
|
};
|
|
2907
2955
|
|
|
2908
2956
|
type FormDatePickerProps<T extends Record<string, any>> = Omit<DatePickerProps, 'name' | 'value' | 'onChange' | 'defaultValue' | 'form'> & {
|
|
2957
|
+
cy?: string;
|
|
2909
2958
|
name: keyof T & string;
|
|
2910
2959
|
label?: string;
|
|
2911
2960
|
description?: react__default.ReactNode;
|
|
@@ -2913,11 +2962,12 @@ type FormDatePickerProps<T extends Record<string, any>> = Omit<DatePickerProps,
|
|
|
2913
2962
|
rules?: FormFieldRules<T>;
|
|
2914
2963
|
};
|
|
2915
2964
|
declare const FormDatePicker: {
|
|
2916
|
-
<T extends Record<string, any>>({ name, label, description, form, className, variant: dateVariant, rules, ...rest }: FormDatePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
2965
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, className, variant: dateVariant, rules, ...rest }: FormDatePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
2917
2966
|
displayName: string;
|
|
2918
2967
|
};
|
|
2919
2968
|
|
|
2920
2969
|
type FormSelectProps<T extends Record<string, any>, Value = string> = Omit<SelectProps<Value>, 'name' | 'value' | 'onChange' | 'defaultValue' | 'form'> & {
|
|
2970
|
+
cy?: string;
|
|
2921
2971
|
name: keyof T & string;
|
|
2922
2972
|
label?: string;
|
|
2923
2973
|
description?: react__default.ReactNode;
|
|
@@ -2926,11 +2976,12 @@ type FormSelectProps<T extends Record<string, any>, Value = string> = Omit<Selec
|
|
|
2926
2976
|
options?: SelectOption<Value>[];
|
|
2927
2977
|
};
|
|
2928
2978
|
declare const FormSelect: {
|
|
2929
|
-
<T extends Record<string, any>, Value = string>({ name, label, description, form, className, variant: selectVariant, rules, ...rest }: FormSelectProps<T, Value>): react_jsx_runtime.JSX.Element;
|
|
2979
|
+
<T extends Record<string, any>, Value = string>({ cy: cyProp, name, label, description, form, className, variant: selectVariant, rules, ...rest }: FormSelectProps<T, Value>): react_jsx_runtime.JSX.Element;
|
|
2930
2980
|
displayName: string;
|
|
2931
2981
|
};
|
|
2932
2982
|
|
|
2933
2983
|
interface SegmentedProps extends SegmentedProps$1 {
|
|
2984
|
+
cy?: string;
|
|
2934
2985
|
glass?: boolean;
|
|
2935
2986
|
iconProps?: Omit<IconProps$1, 'icon'>;
|
|
2936
2987
|
padding?: string | number;
|
|
@@ -2940,6 +2991,7 @@ interface SegmentedProps extends SegmentedProps$1 {
|
|
|
2940
2991
|
}
|
|
2941
2992
|
|
|
2942
2993
|
type FormSegmentProps<T extends Record<string, any>> = Omit<SegmentedProps, 'name' | 'value' | 'onChange' | 'defaultValue' | 'form'> & {
|
|
2994
|
+
cy?: string;
|
|
2943
2995
|
name: keyof T & string;
|
|
2944
2996
|
label?: string;
|
|
2945
2997
|
description?: react__default.ReactNode;
|
|
@@ -2947,7 +2999,7 @@ type FormSegmentProps<T extends Record<string, any>> = Omit<SegmentedProps, 'nam
|
|
|
2947
2999
|
rules?: FormFieldRules<T>;
|
|
2948
3000
|
};
|
|
2949
3001
|
declare const FormSegment: {
|
|
2950
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, ...rest }: FormSegmentProps<T>): react_jsx_runtime.JSX.Element;
|
|
3002
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, className, rules, ...rest }: FormSegmentProps<T>): react_jsx_runtime.JSX.Element;
|
|
2951
3003
|
displayName: string;
|
|
2952
3004
|
};
|
|
2953
3005
|
|
|
@@ -2957,6 +3009,7 @@ declare const FormGroup: {
|
|
|
2957
3009
|
};
|
|
2958
3010
|
|
|
2959
3011
|
type FormInputNumberProps<T extends Record<string, any>> = Omit<InputNumberProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
|
|
3012
|
+
cy?: string;
|
|
2960
3013
|
name: keyof T & string;
|
|
2961
3014
|
label?: string;
|
|
2962
3015
|
description?: react__default.ReactNode;
|
|
@@ -2968,11 +3021,12 @@ type FormInputNumberProps<T extends Record<string, any>> = Omit<InputNumberProps
|
|
|
2968
3021
|
rules?: FormFieldRules<T>;
|
|
2969
3022
|
};
|
|
2970
3023
|
declare const FormInputNumber: {
|
|
2971
|
-
<T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputNumberProps<T>): react_jsx_runtime.JSX.Element;
|
|
3024
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputNumberProps<T>): react_jsx_runtime.JSX.Element;
|
|
2972
3025
|
displayName: string;
|
|
2973
3026
|
};
|
|
2974
3027
|
|
|
2975
3028
|
type FormInputPasswordProps<T extends Record<string, any>> = Omit<InputPasswordProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
|
|
3029
|
+
cy?: string;
|
|
2976
3030
|
name: keyof T & string;
|
|
2977
3031
|
label?: string;
|
|
2978
3032
|
description?: react__default.ReactNode;
|
|
@@ -2984,11 +3038,12 @@ type FormInputPasswordProps<T extends Record<string, any>> = Omit<InputPasswordP
|
|
|
2984
3038
|
rules?: FormFieldRules<T>;
|
|
2985
3039
|
};
|
|
2986
3040
|
declare const FormInputPassword: {
|
|
2987
|
-
<T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputPasswordProps<T>): react_jsx_runtime.JSX.Element;
|
|
3041
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormInputPasswordProps<T>): react_jsx_runtime.JSX.Element;
|
|
2988
3042
|
displayName: string;
|
|
2989
3043
|
};
|
|
2990
3044
|
|
|
2991
3045
|
type FormInputMaskProps<T extends Record<string, any>> = Omit<InputMaskProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
|
|
3046
|
+
cy?: string;
|
|
2992
3047
|
name: keyof T & string;
|
|
2993
3048
|
label?: string;
|
|
2994
3049
|
description?: react__default.ReactNode;
|
|
@@ -3000,11 +3055,12 @@ type FormInputMaskProps<T extends Record<string, any>> = Omit<InputMaskProps, 'n
|
|
|
3000
3055
|
rules?: FormFieldRules<T>;
|
|
3001
3056
|
};
|
|
3002
3057
|
declare const FormInputMask: {
|
|
3003
|
-
<T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, mask, maskChar, maskPlaceholder, alwaysShowMask, ...inputProps }: FormInputMaskProps<T>): react_jsx_runtime.JSX.Element;
|
|
3058
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, mask, maskChar, maskPlaceholder, alwaysShowMask, ...inputProps }: FormInputMaskProps<T>): react_jsx_runtime.JSX.Element;
|
|
3004
3059
|
displayName: string;
|
|
3005
3060
|
};
|
|
3006
3061
|
|
|
3007
3062
|
type FormColorPickerProps<T extends Record<string, any>> = Omit<ColorPickerProps, 'value' | 'onChange' | 'defaultValue'> & {
|
|
3063
|
+
cy?: string;
|
|
3008
3064
|
name: keyof T & string;
|
|
3009
3065
|
label?: string;
|
|
3010
3066
|
description?: react__default.ReactNode;
|
|
@@ -3014,16 +3070,18 @@ type FormColorPickerProps<T extends Record<string, any>> = Omit<ColorPickerProps
|
|
|
3014
3070
|
onChange?: ColorPickerProps['onChange'];
|
|
3015
3071
|
};
|
|
3016
3072
|
declare const FormColorPicker: {
|
|
3017
|
-
<T extends Record<string, any>>({ name, label, description, form, required, className, rules, onChange, disabled, ...rest }: FormColorPickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
3073
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, required, className, rules, onChange, disabled, ...rest }: FormColorPickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
3018
3074
|
displayName: string;
|
|
3019
3075
|
};
|
|
3020
3076
|
|
|
3021
3077
|
interface RadioProps extends RadioProps$1 {
|
|
3078
|
+
cy?: string;
|
|
3022
3079
|
}
|
|
3023
3080
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
3024
3081
|
}
|
|
3025
3082
|
|
|
3026
3083
|
type FormRadioProps<T extends Record<string, any>> = Omit<RadioGroupProps, 'value' | 'defaultValue' | 'onChange'> & {
|
|
3084
|
+
cy?: string;
|
|
3027
3085
|
name: keyof T & string;
|
|
3028
3086
|
label?: react__default.ReactNode;
|
|
3029
3087
|
description?: react__default.ReactNode;
|
|
@@ -3032,7 +3090,7 @@ type FormRadioProps<T extends Record<string, any>> = Omit<RadioGroupProps, 'valu
|
|
|
3032
3090
|
onChange?: (value: any) => void;
|
|
3033
3091
|
};
|
|
3034
3092
|
declare const FormRadio: {
|
|
3035
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, children, ...rest }: FormRadioProps<T>): react_jsx_runtime.JSX.Element;
|
|
3093
|
+
<T extends Record<string, any>>({ cy: cyProp, name, label, description, form, className, rules, onChange, disabled, children, ...rest }: FormRadioProps<T>): react_jsx_runtime.JSX.Element;
|
|
3036
3094
|
displayName: string;
|
|
3037
3095
|
};
|
|
3038
3096
|
|
|
@@ -3059,7 +3117,16 @@ type FormCompound = FormComponent & {
|
|
|
3059
3117
|
};
|
|
3060
3118
|
declare const FormComponentImpl: FormCompound;
|
|
3061
3119
|
|
|
3120
|
+
/**
|
|
3121
|
+
* Returns `{ 'data-cy': cy }` when the ThemeProvider `cy` flag is enabled and a `cy` value is provided.
|
|
3122
|
+
* Otherwise returns an empty object.
|
|
3123
|
+
*/
|
|
3124
|
+
declare const useCy: (cy?: string) => {
|
|
3125
|
+
"data-cy"?: string;
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3062
3128
|
type ModalProps = Omit<ModalProps$1, 'okType' | 'wrapClassName'> & {
|
|
3129
|
+
cy?: string;
|
|
3063
3130
|
allowFullscreen?: boolean;
|
|
3064
3131
|
enableResponsive?: boolean;
|
|
3065
3132
|
paddings?: {
|
|
@@ -3114,6 +3181,7 @@ declare const useModalContext: () => ModalContextValue;
|
|
|
3114
3181
|
|
|
3115
3182
|
interface FormModalProps<T extends Record<string, any>> extends Omit<ModalProps, 'footer' | 'onOk' | 'children' | 'title'> {
|
|
3116
3183
|
children: ReactNode;
|
|
3184
|
+
cy?: string;
|
|
3117
3185
|
form?: FormInstance<T>;
|
|
3118
3186
|
initialValues?: T;
|
|
3119
3187
|
onSubmit?: FormProps<T>['onSubmit'];
|
|
@@ -3149,11 +3217,12 @@ interface FormModalProps<T extends Record<string, any>> extends Omit<ModalProps,
|
|
|
3149
3217
|
}
|
|
3150
3218
|
|
|
3151
3219
|
declare const FormModal: {
|
|
3152
|
-
<T extends Record<string, any>>({ children, form, initialValues, onSubmit, validate, submitText, submitButtonProps, loading, layout, labelWidth, fieldMinWidth, maxWidth, variant, ...modalProps }: FormModalProps<T>): react_jsx_runtime.JSX.Element;
|
|
3220
|
+
<T extends Record<string, any>>({ children, cy, form, initialValues, onSubmit, validate, submitText, submitButtonProps, loading, layout, labelWidth, fieldMinWidth, maxWidth, variant, ...modalProps }: FormModalProps<T>): react_jsx_runtime.JSX.Element;
|
|
3153
3221
|
displayName: string;
|
|
3154
3222
|
};
|
|
3155
3223
|
|
|
3156
3224
|
interface GridProps extends Omit<FlexProps, 'gap'> {
|
|
3225
|
+
cy?: string;
|
|
3157
3226
|
gap?: string | number;
|
|
3158
3227
|
maxItemWidth?: string | number;
|
|
3159
3228
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -3176,6 +3245,7 @@ declare const SMOOTH_CORNER_MASKS: {
|
|
|
3176
3245
|
|
|
3177
3246
|
type AvatarItem = string | Omit<AvatarProps, 'size'>;
|
|
3178
3247
|
interface GroupAvatarProps extends Omit<BlockProps, 'width' | 'height' | 'variant'> {
|
|
3248
|
+
cy?: string;
|
|
3179
3249
|
avatarShape?: AvatarProps['shape'];
|
|
3180
3250
|
avatars?: AvatarItem[];
|
|
3181
3251
|
cornerShape?: keyof typeof SMOOTH_CORNER_MASKS;
|
|
@@ -3187,6 +3257,7 @@ interface GroupAvatarProps extends Omit<BlockProps, 'width' | 'height' | 'varian
|
|
|
3187
3257
|
declare const GroupAvatar: FC<GroupAvatarProps>;
|
|
3188
3258
|
|
|
3189
3259
|
interface GuideCardProps extends Omit<FlexProps, 'title'> {
|
|
3260
|
+
cy?: string;
|
|
3190
3261
|
afterClose?: () => void;
|
|
3191
3262
|
alt?: string;
|
|
3192
3263
|
classNames?: {
|
|
@@ -3216,6 +3287,7 @@ interface GuideCardProps extends Omit<FlexProps, 'title'> {
|
|
|
3216
3287
|
declare const GuideCard: react.NamedExoticComponent<GuideCardProps>;
|
|
3217
3288
|
|
|
3218
3289
|
interface HeaderProps extends FlexProps {
|
|
3290
|
+
cy?: string;
|
|
3219
3291
|
actions?: ReactNode;
|
|
3220
3292
|
actionsClassName?: string;
|
|
3221
3293
|
actionsStyle?: CSSProperties;
|
|
@@ -3246,6 +3318,7 @@ interface SyntaxHighlighterProps extends DivProps {
|
|
|
3246
3318
|
variant?: HighlighterProps['variant'];
|
|
3247
3319
|
}
|
|
3248
3320
|
interface HighlighterProps extends Omit<FlexProps, 'children' | 'wrap'> {
|
|
3321
|
+
cy?: string;
|
|
3249
3322
|
actionIconSize?: ActionIconProps['size'];
|
|
3250
3323
|
actionsRender?: (props: {
|
|
3251
3324
|
actionIconSize: ActionIconProps['size'];
|
|
@@ -3301,6 +3374,7 @@ interface PreprocessOptions {
|
|
|
3301
3374
|
declare const preprocessMarkdownContent: (str: string, { enableCustomFootnotes, enableLatex, citationsLength }?: PreprocessOptions) => string;
|
|
3302
3375
|
|
|
3303
3376
|
interface HotkeyInputProps {
|
|
3377
|
+
cy?: string;
|
|
3304
3378
|
allowReset?: boolean;
|
|
3305
3379
|
className?: string;
|
|
3306
3380
|
defaultValue?: string;
|
|
@@ -3343,6 +3417,7 @@ interface ImagePreviewOptions extends PreviewConfig {
|
|
|
3343
3417
|
toolbarAddon?: ReactNode;
|
|
3344
3418
|
}
|
|
3345
3419
|
interface ImageProps$1 extends Omit<ImageProps$2, 'preview'> {
|
|
3420
|
+
cy?: string;
|
|
3346
3421
|
actions?: ReactNode;
|
|
3347
3422
|
alwaysShowActions?: boolean;
|
|
3348
3423
|
classNames?: {
|
|
@@ -3382,6 +3457,7 @@ interface ImageSelectItem {
|
|
|
3382
3457
|
value: string;
|
|
3383
3458
|
}
|
|
3384
3459
|
interface ImageSelectProps extends FlexProps {
|
|
3460
|
+
cy?: string;
|
|
3385
3461
|
className?: string;
|
|
3386
3462
|
classNames?: {
|
|
3387
3463
|
img?: string;
|
|
@@ -3486,6 +3562,7 @@ interface ListItemProps extends Omit<FlexProps, 'title'> {
|
|
|
3486
3562
|
title: ReactNode;
|
|
3487
3563
|
}
|
|
3488
3564
|
interface ListProps extends Omit<FlexProps, 'onClick'> {
|
|
3565
|
+
cy?: string;
|
|
3489
3566
|
activeKey?: string;
|
|
3490
3567
|
classNames?: {
|
|
3491
3568
|
item?: string;
|
|
@@ -3691,6 +3768,7 @@ declare const Mermaid: react.NamedExoticComponent<MermaidProps>;
|
|
|
3691
3768
|
declare const SyntaxMermaid: react.NamedExoticComponent<SyntaxMermaidProps>;
|
|
3692
3769
|
|
|
3693
3770
|
interface TagProps extends Omit<TagProps$1, 'color' | 'variant'> {
|
|
3771
|
+
cy?: string;
|
|
3694
3772
|
color?: TagProps$1['color'] | 'info';
|
|
3695
3773
|
ref?: Ref<HTMLDivElement>;
|
|
3696
3774
|
size?: 'small' | 'middle' | 'large';
|
|
@@ -3709,6 +3787,7 @@ interface CitationItem {
|
|
|
3709
3787
|
}
|
|
3710
3788
|
|
|
3711
3789
|
interface SnippetProps extends FlexProps {
|
|
3790
|
+
cy?: string;
|
|
3712
3791
|
children: string;
|
|
3713
3792
|
copyable?: boolean;
|
|
3714
3793
|
language?: string;
|
|
@@ -3725,6 +3804,7 @@ type PreProps = HighlighterProps;
|
|
|
3725
3804
|
|
|
3726
3805
|
interface VideoProps$1 extends VideoProps$2, Pick<FlexProps, 'width' | 'height'> {
|
|
3727
3806
|
autoPlay?: boolean;
|
|
3807
|
+
cy?: string;
|
|
3728
3808
|
classNames?: {
|
|
3729
3809
|
mask?: string;
|
|
3730
3810
|
video?: string;
|
|
@@ -3762,6 +3842,7 @@ declare const Video: react.NamedExoticComponent<VideoProps$1>;
|
|
|
3762
3842
|
type VideoProps = VideoProps$1;
|
|
3763
3843
|
|
|
3764
3844
|
interface TabsProps extends TabsProps$1 {
|
|
3845
|
+
cy?: string;
|
|
3765
3846
|
compact?: boolean;
|
|
3766
3847
|
variant?: 'square' | 'rounded' | 'point';
|
|
3767
3848
|
}
|
|
@@ -3806,6 +3887,7 @@ interface SyntaxMarkdownProps {
|
|
|
3806
3887
|
variant?: 'default' | 'chat';
|
|
3807
3888
|
}
|
|
3808
3889
|
interface MarkdownProps extends SyntaxMarkdownProps, Omit<TypographyProps, 'children'> {
|
|
3890
|
+
cy?: string;
|
|
3809
3891
|
className?: string;
|
|
3810
3892
|
customRender?: (dom: ReactNode, context: {
|
|
3811
3893
|
text: string;
|
|
@@ -3887,6 +3969,7 @@ interface RemarkVideoOptions {
|
|
|
3887
3969
|
declare const remarkVideo: (options?: RemarkVideoOptions) => (tree: any) => void;
|
|
3888
3970
|
|
|
3889
3971
|
interface MaskShadowProps extends FlexProps {
|
|
3972
|
+
cy?: string;
|
|
3890
3973
|
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
3891
3974
|
size?: number;
|
|
3892
3975
|
visibility?: 'auto' | 'always' | 'never';
|
|
@@ -3972,6 +4055,7 @@ declare const ScrollAreaCorner: {
|
|
|
3972
4055
|
};
|
|
3973
4056
|
|
|
3974
4057
|
interface ScrollAreaProps extends Omit<ScrollAreaRootProps, 'children'> {
|
|
4058
|
+
cy?: string;
|
|
3975
4059
|
children?: ReactNode;
|
|
3976
4060
|
contentProps?: Omit<ScrollAreaContentProps, 'children'>;
|
|
3977
4061
|
corner?: boolean;
|
|
@@ -3985,6 +4069,7 @@ interface ScrollAreaProps extends Omit<ScrollAreaRootProps, 'children'> {
|
|
|
3985
4069
|
declare const ScrollArea: FC<ScrollAreaProps>;
|
|
3986
4070
|
|
|
3987
4071
|
interface ScrollShadowProps extends FlexProps {
|
|
4072
|
+
cy?: string;
|
|
3988
4073
|
hideScrollBar?: boolean;
|
|
3989
4074
|
isEnabled?: boolean;
|
|
3990
4075
|
offset?: number;
|
|
@@ -4003,6 +4088,7 @@ interface ScrollShadowProps extends FlexProps {
|
|
|
4003
4088
|
declare const ScrollShadow: FC<ScrollShadowProps>;
|
|
4004
4089
|
|
|
4005
4090
|
interface SearchBarProps extends Omit<InputProps, 'styles' | 'classNames'> {
|
|
4091
|
+
cy?: string;
|
|
4006
4092
|
classNames?: {
|
|
4007
4093
|
input?: string;
|
|
4008
4094
|
shortKey?: string;
|
|
@@ -4036,6 +4122,7 @@ declare const SearchBar: react.NamedExoticComponent<SearchBarProps>;
|
|
|
4036
4122
|
declare const Segmented: react.NamedExoticComponent<SegmentedProps>;
|
|
4037
4123
|
|
|
4038
4124
|
interface SideNavProps extends FlexProps {
|
|
4125
|
+
cy?: string;
|
|
4039
4126
|
avatar?: ReactNode;
|
|
4040
4127
|
bottomActions: ReactNode;
|
|
4041
4128
|
topActions?: ReactNode;
|
|
@@ -4080,6 +4167,7 @@ interface SkeletonButtonProps extends SkeletonBlockProps {
|
|
|
4080
4167
|
size?: 'large' | 'small' | 'default';
|
|
4081
4168
|
}
|
|
4082
4169
|
interface SkeletonProps extends SkeletonBlockProps {
|
|
4170
|
+
cy?: string;
|
|
4083
4171
|
avatar?: SkeletonAvatarProps | boolean;
|
|
4084
4172
|
classNames?: {
|
|
4085
4173
|
avatar?: string;
|
|
@@ -4122,6 +4210,7 @@ interface ISkeleton {
|
|
|
4122
4210
|
declare const Skeleton: ISkeleton;
|
|
4123
4211
|
|
|
4124
4212
|
interface SliderWithInputProps extends Omit<SliderSingleProps, 'classNames' | 'styles'> {
|
|
4213
|
+
cy?: string;
|
|
4125
4214
|
changeOnWheel?: boolean;
|
|
4126
4215
|
classNames?: {
|
|
4127
4216
|
input?: string;
|
|
@@ -4153,6 +4242,7 @@ interface SortableListItem {
|
|
|
4153
4242
|
id: string | number;
|
|
4154
4243
|
}
|
|
4155
4244
|
interface SortableListProps extends Omit<FlexProps, 'onChange'> {
|
|
4245
|
+
cy?: string;
|
|
4156
4246
|
items: SortableListItem[];
|
|
4157
4247
|
onChange(items: SortableListItem[]): void;
|
|
4158
4248
|
ref?: Ref<HTMLUListElement>;
|
|
@@ -4224,6 +4314,7 @@ type TableTexts = {
|
|
|
4224
4314
|
};
|
|
4225
4315
|
type AntdTablePropsBase<TData> = Omit<TableProps$1<TData>, "columns" | "dataSource" | "pagination">;
|
|
4226
4316
|
interface TableProps<TData> extends AntdTablePropsBase<TData> {
|
|
4317
|
+
cy?: string;
|
|
4227
4318
|
data: TableDataSource<TData>;
|
|
4228
4319
|
columns: TableColumn<TData>[];
|
|
4229
4320
|
pagination?: boolean;
|
|
@@ -4244,7 +4335,7 @@ interface TableProps<TData> extends AntdTablePropsBase<TData> {
|
|
|
4244
4335
|
}
|
|
4245
4336
|
|
|
4246
4337
|
declare const Table: {
|
|
4247
|
-
<TData extends object>({ data, columns, pagination, sortable, reload, filterable, selectable: selectableProp, height, defaultPageSize, pageSize, className, emptyState, onDataChange, loading: loadingProp, rowSelection: rowSelectionProp, rowKey: rowKeyProp, bordered: borderedProp, size: sizeProp, sticky: stickyProp, scroll: scrollProp, virtual: virtualProp, locale: localeProp, style: tableStyle, texts: textsProp, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
4338
|
+
<TData extends object>({ cy, data, columns, pagination, sortable, reload, filterable, selectable: selectableProp, height, defaultPageSize, pageSize, className, emptyState, onDataChange, loading: loadingProp, rowSelection: rowSelectionProp, rowKey: rowKeyProp, bordered: borderedProp, size: sizeProp, sticky: stickyProp, scroll: scrollProp, virtual: virtualProp, locale: localeProp, style: tableStyle, texts: textsProp, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
4248
4339
|
displayName: string;
|
|
4249
4340
|
};
|
|
4250
4341
|
|
|
@@ -4672,6 +4763,10 @@ declare const CLASSNAMES: {
|
|
|
4672
4763
|
|
|
4673
4764
|
interface ThemeProviderProps extends ThemeProviderProps$1<any> {
|
|
4674
4765
|
className?: string;
|
|
4766
|
+
/**
|
|
4767
|
+
* When `true`, components with a `cy` prop will render a `data-cy` attribute for Cypress/testing selectors.
|
|
4768
|
+
*/
|
|
4769
|
+
cy?: boolean;
|
|
4675
4770
|
customFonts?: string[];
|
|
4676
4771
|
customStylish?: (theme: CustomStylishParams) => {
|
|
4677
4772
|
[key: string]: any;
|
|
@@ -4702,6 +4797,7 @@ declare const Meta: FC<MetaProps>;
|
|
|
4702
4797
|
declare const ThemeProvider: react.NamedExoticComponent<ThemeProviderProps>;
|
|
4703
4798
|
|
|
4704
4799
|
interface ThemeSwitchProps extends DivProps {
|
|
4800
|
+
cy?: string;
|
|
4705
4801
|
labels?: {
|
|
4706
4802
|
auto: string;
|
|
4707
4803
|
dark: string;
|
|
@@ -4903,6 +4999,7 @@ interface TocMobileProps {
|
|
|
4903
4999
|
tocWidth?: number;
|
|
4904
5000
|
}
|
|
4905
5001
|
interface TocProps extends TocMobileProps {
|
|
5002
|
+
cy?: string;
|
|
4906
5003
|
isMobile?: boolean;
|
|
4907
5004
|
}
|
|
4908
5005
|
|
|
@@ -5483,4 +5580,4 @@ declare const useToken: () => {
|
|
|
5483
5580
|
motionDurationSlow: string;
|
|
5484
5581
|
};
|
|
5485
5582
|
|
|
5486
|
-
export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, CardForm, type CardFormProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, ConfirmationModal, type ConfirmationModalAPI, type ConfirmationModalInstance, type ConfirmationModalProps, type ConfirmationModalType, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FolderIcon, FolderTree, type FolderTreeNode, type FolderTreeProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormBlock, type FormBlockProps, FormCheckbox, FormColorPicker, type FormConfig, FormDatePicker, FormDescription, FormError, type FormFieldRules, FormGroup, FormInput, FormInputMask, FormInputNumber, FormInputPassword, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormRadio, FormSegment, FormSelect, type FormState, FormSwitch, FormTextarea, FormTimePicker, type GenericItemType, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps$1 as IconProps, IconProvider, type IconSize, Image, type ImageProps$1 as ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, Input, InputMask, type InputMaskProps, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, A as Link, List, ListItem, type ListItemProps, type ListProps, type LobeCustomStylish, type LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuCheckboxItemType, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, ModalHost, type ModalHostProps, type ModalInstance, type ModalProps, ModalProvider, MotionComponent, type MotionComponentType, MotionProvider, type NeutralColors, type NeutralColorsObj, POPOVER_CONTAINER_ATTR, PatchDiff, type PatchDiffProps, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverContextValue, PopoverGroup, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, PopoverPortal, type PopoverPortalAtomProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, type PrimaryColors, type PrimaryColorsObj, Radio, type RadioGroupProps, type RadioProps, type RawModalComponent, type RawModalComponentProps, type RawModalInstance, type RawModalKeyOptions, type RawModalOptions, SELECT_CONTAINER_ATTR, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default as ShikiLobeTheme, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, type SpanProps, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, type TableColumn, type TableDataSource, type TablePageSizeConfig, type TableProps, type TableReadConfig, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type Meridiem as TimePickerMeridiem, type TimePickerProps, type TimeValue as TimePickerValue, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, type Trigger, Typography, type TypographyProps, type UseFormReturn, Video, type VideoProps$1 as VideoProps, closeContextMenu, combineKeys, confirmConfirmationModal, copyToClipboard, createModal, createRawModal, createStyles, cx, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, staticStylish as lobeStaticStylish, styles as menuSharedStyles, mermaidThemes, neutralColors, neutralColorsSwatches, placementMap, preprocessMarkdownContent, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, runRules, showContextMenu, stopPropagation, toFloatingUIPlacement, toast, updateContextMenuItems, useCdnFn, useForm, useModalContext, useMotionComponent, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast, useToken, useTranslation };
|
|
5583
|
+
export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, CardForm, type CardFormProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, ConfirmationModal, type ConfirmationModalAPI, type ConfirmationModalInstance, type ConfirmationModalProps, type ConfirmationModalType, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FolderIcon, FolderTree, type FolderTreeNode, type FolderTreeProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormBlock, type FormBlockProps, FormCheckbox, FormColorPicker, type FormConfig, FormDatePicker, FormDescription, FormError, type FormFieldRules, FormGroup, FormInput, FormInputMask, FormInputNumber, FormInputPassword, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormRadio, FormSegment, FormSelect, type FormState, FormSwitch, FormTextarea, FormTimePicker, type GenericItemType, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps$1 as IconProps, IconProvider, type IconSize, Image, type ImageProps$1 as ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, Input, InputMask, type InputMaskProps, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, A as Link, List, ListItem, type ListItemProps, type ListProps, type LobeCustomStylish, type LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuCheckboxItemType, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, ModalHost, type ModalHostProps, type ModalInstance, type ModalProps, ModalProvider, MotionComponent, type MotionComponentType, MotionProvider, type NeutralColors, type NeutralColorsObj, POPOVER_CONTAINER_ATTR, PatchDiff, type PatchDiffProps, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverContextValue, PopoverGroup, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, PopoverPortal, type PopoverPortalAtomProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, type PrimaryColors, type PrimaryColorsObj, Radio, type RadioGroupProps, type RadioProps, type RawModalComponent, type RawModalComponentProps, type RawModalInstance, type RawModalKeyOptions, type RawModalOptions, SELECT_CONTAINER_ATTR, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default as ShikiLobeTheme, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, type SpanProps, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, type TableColumn, type TableDataSource, type TablePageSizeConfig, type TableProps, type TableReadConfig, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type Meridiem as TimePickerMeridiem, type TimePickerProps, type TimeValue as TimePickerValue, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, type Trigger, Typography, type TypographyProps, type UseFormReturn, Video, type VideoProps$1 as VideoProps, closeContextMenu, combineKeys, confirmConfirmationModal, copyToClipboard, createModal, createRawModal, createStyles, cx, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, staticStylish as lobeStaticStylish, styles as menuSharedStyles, mermaidThemes, neutralColors, neutralColorsSwatches, placementMap, preprocessMarkdownContent, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, runRules, showContextMenu, stopPropagation, toFloatingUIPlacement, toast, updateContextMenuItems, useCdnFn, useCy, useForm, useModalContext, useMotionComponent, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast, useToken, useTranslation };
|