@gomeniucivan/ui 1.0.48 → 1.0.50
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.mts +133 -5
- package/dist/index.d.ts +133 -5
- package/dist/index.js +352 -295
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +257 -200
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2353,6 +2353,123 @@ interface FontLoaderProps {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
declare const FontLoader: react.NamedExoticComponent<FontLoaderProps>;
|
|
2355
2355
|
|
|
2356
|
+
interface FolderTreeNode {
|
|
2357
|
+
/**
|
|
2358
|
+
* Unique key for the node.
|
|
2359
|
+
*/
|
|
2360
|
+
key: Key;
|
|
2361
|
+
/**
|
|
2362
|
+
* Display label.
|
|
2363
|
+
*/
|
|
2364
|
+
label: ReactNode;
|
|
2365
|
+
/**
|
|
2366
|
+
* Optional tag rendered after the label.
|
|
2367
|
+
*/
|
|
2368
|
+
tag?: ReactNode;
|
|
2369
|
+
/**
|
|
2370
|
+
* Custom icon override for this node.
|
|
2371
|
+
* When omitted the default folder icon is used.
|
|
2372
|
+
*/
|
|
2373
|
+
icon?: ReactNode;
|
|
2374
|
+
/**
|
|
2375
|
+
* Custom colour for the folder icon of this node.
|
|
2376
|
+
* Overrides the tree-level `folderColor`.
|
|
2377
|
+
*/
|
|
2378
|
+
folderColor?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* Children nodes. When provided the node is treated as a folder
|
|
2381
|
+
* and can be expanded / collapsed.
|
|
2382
|
+
*/
|
|
2383
|
+
children?: FolderTreeNode[];
|
|
2384
|
+
/**
|
|
2385
|
+
* Whether this node is disabled.
|
|
2386
|
+
*/
|
|
2387
|
+
disabled?: boolean;
|
|
2388
|
+
/**
|
|
2389
|
+
* Explicit count displayed next to the label.
|
|
2390
|
+
* When set, this value is used instead of `children.length`.
|
|
2391
|
+
* Useful for showing a server-side total that differs from the loaded children.
|
|
2392
|
+
*/
|
|
2393
|
+
count?: number;
|
|
2394
|
+
}
|
|
2395
|
+
interface FolderTreeProps {
|
|
2396
|
+
/**
|
|
2397
|
+
* Tree data.
|
|
2398
|
+
*/
|
|
2399
|
+
data: FolderTreeNode[];
|
|
2400
|
+
/**
|
|
2401
|
+
* Default colour for all folder icons.
|
|
2402
|
+
* Can be overridden per-node via `FolderTreeNode.folderColor`.
|
|
2403
|
+
* @default '#66bb6a'
|
|
2404
|
+
*/
|
|
2405
|
+
folderColor?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Leaf icon colour.
|
|
2408
|
+
* @default '#90a4ae'
|
|
2409
|
+
*/
|
|
2410
|
+
leafColor?: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* Keys that are expanded (controlled).
|
|
2413
|
+
*/
|
|
2414
|
+
expandedKeys?: Key[];
|
|
2415
|
+
/**
|
|
2416
|
+
* Keys that are expanded by default (uncontrolled).
|
|
2417
|
+
*/
|
|
2418
|
+
defaultExpandedKeys?: Key[];
|
|
2419
|
+
/**
|
|
2420
|
+
* Fired when a folder is expanded or collapsed.
|
|
2421
|
+
*/
|
|
2422
|
+
onExpandedKeysChange?: (keys: Key[]) => void;
|
|
2423
|
+
/**
|
|
2424
|
+
* Fired when a node is clicked.
|
|
2425
|
+
*/
|
|
2426
|
+
onNodeClick?: (node: FolderTreeNode) => void;
|
|
2427
|
+
/**
|
|
2428
|
+
* Additional class name.
|
|
2429
|
+
*/
|
|
2430
|
+
className?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* Style object.
|
|
2433
|
+
*/
|
|
2434
|
+
style?: CSSProperties;
|
|
2435
|
+
/**
|
|
2436
|
+
* Ref forwarded to the root element.
|
|
2437
|
+
*/
|
|
2438
|
+
ref?: Ref<HTMLDivElement>;
|
|
2439
|
+
/**
|
|
2440
|
+
* Whether to show the child count next to expandable folder labels.
|
|
2441
|
+
* @default true
|
|
2442
|
+
*/
|
|
2443
|
+
showCount?: boolean;
|
|
2444
|
+
/**
|
|
2445
|
+
* Indent per nesting level in pixels.
|
|
2446
|
+
* @default 24
|
|
2447
|
+
*/
|
|
2448
|
+
indent?: number;
|
|
2449
|
+
/**
|
|
2450
|
+
* Folder / leaf icon size in pixels.
|
|
2451
|
+
* @default 18
|
|
2452
|
+
*/
|
|
2453
|
+
iconSize?: number;
|
|
2454
|
+
/**
|
|
2455
|
+
* Label font size. Accepts any CSS font-size value.
|
|
2456
|
+
* @default 14
|
|
2457
|
+
*/
|
|
2458
|
+
fontSize?: number | string;
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
declare const FolderTree: react.NamedExoticComponent<FolderTreeProps>;
|
|
2462
|
+
|
|
2463
|
+
interface FolderIconProps {
|
|
2464
|
+
color?: string;
|
|
2465
|
+
open?: boolean;
|
|
2466
|
+
size?: number;
|
|
2467
|
+
}
|
|
2468
|
+
/**
|
|
2469
|
+
* Folder SVG icon with tab/ear shape. Supports open/closed states.
|
|
2470
|
+
*/
|
|
2471
|
+
declare const FolderIcon: react.NamedExoticComponent<FolderIconProps>;
|
|
2472
|
+
|
|
2356
2473
|
interface FooterProps extends FlexProps {
|
|
2357
2474
|
bottom?: ReactNode;
|
|
2358
2475
|
columns: FooterProps$1['columns'];
|
|
@@ -2430,6 +2547,10 @@ interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttribut
|
|
|
2430
2547
|
initialValues?: T;
|
|
2431
2548
|
validate?: (values: T) => Partial<Record<keyof T, string>>;
|
|
2432
2549
|
className?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* Maximum width of the form. Accepts any CSS width value (e.g., `'56rem'`, `'800px'`, `'100%'`).
|
|
2552
|
+
*/
|
|
2553
|
+
maxWidth?: string | number;
|
|
2433
2554
|
/**
|
|
2434
2555
|
* Layout of form fields.
|
|
2435
2556
|
* - `vertical`: label/description stacked above control (default)
|
|
@@ -2472,7 +2593,7 @@ interface FormGroupProps {
|
|
|
2472
2593
|
variant?: FormVariant;
|
|
2473
2594
|
}
|
|
2474
2595
|
|
|
2475
|
-
declare function Form<T extends Record<string, any>>({ children, onSubmit, form, initialValues, validate, className, style, layout, labelWidth, variant, fieldMinWidth, ...props }: FormProps<T>): react_jsx_runtime.JSX.Element;
|
|
2596
|
+
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;
|
|
2476
2597
|
declare namespace Form {
|
|
2477
2598
|
var displayName: string;
|
|
2478
2599
|
}
|
|
@@ -2528,9 +2649,16 @@ type FormLabelProps = {
|
|
|
2528
2649
|
className?: string;
|
|
2529
2650
|
description?: react__default.ReactNode;
|
|
2530
2651
|
required?: boolean;
|
|
2652
|
+
/**
|
|
2653
|
+
* Called when the label is clicked. Used by form field components
|
|
2654
|
+
* to focus inputs, open selects, toggle switches, etc.
|
|
2655
|
+
* When provided, the native `htmlFor` behaviour is prevented
|
|
2656
|
+
* so the callback has full control.
|
|
2657
|
+
*/
|
|
2658
|
+
onLabelClick?: () => void;
|
|
2531
2659
|
};
|
|
2532
2660
|
declare const FormLabel: {
|
|
2533
|
-
({ htmlFor, children, className, description, required }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2661
|
+
({ htmlFor, children, className, description, required, onLabelClick, }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2534
2662
|
displayName: string;
|
|
2535
2663
|
};
|
|
2536
2664
|
|
|
@@ -2557,7 +2685,7 @@ type FormCheckboxProps<T extends Record<string, any>> = Omit<CheckboxProps, 'che
|
|
|
2557
2685
|
onChange?: (checked: boolean) => void;
|
|
2558
2686
|
};
|
|
2559
2687
|
declare const FormCheckbox: {
|
|
2560
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2688
|
+
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2561
2689
|
displayName: string;
|
|
2562
2690
|
};
|
|
2563
2691
|
|
|
@@ -2694,7 +2822,7 @@ type FormSwitchProps<T extends Record<string, any>> = Omit<SwitchProps, 'checked
|
|
|
2694
2822
|
onChange?: (checked: boolean) => void;
|
|
2695
2823
|
};
|
|
2696
2824
|
declare const FormSwitch: {
|
|
2697
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2825
|
+
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2698
2826
|
displayName: string;
|
|
2699
2827
|
};
|
|
2700
2828
|
|
|
@@ -4803,4 +4931,4 @@ declare const useToken: () => {
|
|
|
4803
4931
|
motionDurationSlow: string;
|
|
4804
4932
|
};
|
|
4805
4933
|
|
|
4806
|
-
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, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, 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, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, 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, 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, copyToClipboard, createModal, createRawModal, 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 };
|
|
4934
|
+
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, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, 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, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, 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, 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, copyToClipboard, createModal, createRawModal, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2353,6 +2353,123 @@ interface FontLoaderProps {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
declare const FontLoader: react.NamedExoticComponent<FontLoaderProps>;
|
|
2355
2355
|
|
|
2356
|
+
interface FolderTreeNode {
|
|
2357
|
+
/**
|
|
2358
|
+
* Unique key for the node.
|
|
2359
|
+
*/
|
|
2360
|
+
key: Key;
|
|
2361
|
+
/**
|
|
2362
|
+
* Display label.
|
|
2363
|
+
*/
|
|
2364
|
+
label: ReactNode;
|
|
2365
|
+
/**
|
|
2366
|
+
* Optional tag rendered after the label.
|
|
2367
|
+
*/
|
|
2368
|
+
tag?: ReactNode;
|
|
2369
|
+
/**
|
|
2370
|
+
* Custom icon override for this node.
|
|
2371
|
+
* When omitted the default folder icon is used.
|
|
2372
|
+
*/
|
|
2373
|
+
icon?: ReactNode;
|
|
2374
|
+
/**
|
|
2375
|
+
* Custom colour for the folder icon of this node.
|
|
2376
|
+
* Overrides the tree-level `folderColor`.
|
|
2377
|
+
*/
|
|
2378
|
+
folderColor?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* Children nodes. When provided the node is treated as a folder
|
|
2381
|
+
* and can be expanded / collapsed.
|
|
2382
|
+
*/
|
|
2383
|
+
children?: FolderTreeNode[];
|
|
2384
|
+
/**
|
|
2385
|
+
* Whether this node is disabled.
|
|
2386
|
+
*/
|
|
2387
|
+
disabled?: boolean;
|
|
2388
|
+
/**
|
|
2389
|
+
* Explicit count displayed next to the label.
|
|
2390
|
+
* When set, this value is used instead of `children.length`.
|
|
2391
|
+
* Useful for showing a server-side total that differs from the loaded children.
|
|
2392
|
+
*/
|
|
2393
|
+
count?: number;
|
|
2394
|
+
}
|
|
2395
|
+
interface FolderTreeProps {
|
|
2396
|
+
/**
|
|
2397
|
+
* Tree data.
|
|
2398
|
+
*/
|
|
2399
|
+
data: FolderTreeNode[];
|
|
2400
|
+
/**
|
|
2401
|
+
* Default colour for all folder icons.
|
|
2402
|
+
* Can be overridden per-node via `FolderTreeNode.folderColor`.
|
|
2403
|
+
* @default '#66bb6a'
|
|
2404
|
+
*/
|
|
2405
|
+
folderColor?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Leaf icon colour.
|
|
2408
|
+
* @default '#90a4ae'
|
|
2409
|
+
*/
|
|
2410
|
+
leafColor?: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* Keys that are expanded (controlled).
|
|
2413
|
+
*/
|
|
2414
|
+
expandedKeys?: Key[];
|
|
2415
|
+
/**
|
|
2416
|
+
* Keys that are expanded by default (uncontrolled).
|
|
2417
|
+
*/
|
|
2418
|
+
defaultExpandedKeys?: Key[];
|
|
2419
|
+
/**
|
|
2420
|
+
* Fired when a folder is expanded or collapsed.
|
|
2421
|
+
*/
|
|
2422
|
+
onExpandedKeysChange?: (keys: Key[]) => void;
|
|
2423
|
+
/**
|
|
2424
|
+
* Fired when a node is clicked.
|
|
2425
|
+
*/
|
|
2426
|
+
onNodeClick?: (node: FolderTreeNode) => void;
|
|
2427
|
+
/**
|
|
2428
|
+
* Additional class name.
|
|
2429
|
+
*/
|
|
2430
|
+
className?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* Style object.
|
|
2433
|
+
*/
|
|
2434
|
+
style?: CSSProperties;
|
|
2435
|
+
/**
|
|
2436
|
+
* Ref forwarded to the root element.
|
|
2437
|
+
*/
|
|
2438
|
+
ref?: Ref<HTMLDivElement>;
|
|
2439
|
+
/**
|
|
2440
|
+
* Whether to show the child count next to expandable folder labels.
|
|
2441
|
+
* @default true
|
|
2442
|
+
*/
|
|
2443
|
+
showCount?: boolean;
|
|
2444
|
+
/**
|
|
2445
|
+
* Indent per nesting level in pixels.
|
|
2446
|
+
* @default 24
|
|
2447
|
+
*/
|
|
2448
|
+
indent?: number;
|
|
2449
|
+
/**
|
|
2450
|
+
* Folder / leaf icon size in pixels.
|
|
2451
|
+
* @default 18
|
|
2452
|
+
*/
|
|
2453
|
+
iconSize?: number;
|
|
2454
|
+
/**
|
|
2455
|
+
* Label font size. Accepts any CSS font-size value.
|
|
2456
|
+
* @default 14
|
|
2457
|
+
*/
|
|
2458
|
+
fontSize?: number | string;
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
declare const FolderTree: react.NamedExoticComponent<FolderTreeProps>;
|
|
2462
|
+
|
|
2463
|
+
interface FolderIconProps {
|
|
2464
|
+
color?: string;
|
|
2465
|
+
open?: boolean;
|
|
2466
|
+
size?: number;
|
|
2467
|
+
}
|
|
2468
|
+
/**
|
|
2469
|
+
* Folder SVG icon with tab/ear shape. Supports open/closed states.
|
|
2470
|
+
*/
|
|
2471
|
+
declare const FolderIcon: react.NamedExoticComponent<FolderIconProps>;
|
|
2472
|
+
|
|
2356
2473
|
interface FooterProps extends FlexProps {
|
|
2357
2474
|
bottom?: ReactNode;
|
|
2358
2475
|
columns: FooterProps$1['columns'];
|
|
@@ -2430,6 +2547,10 @@ interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttribut
|
|
|
2430
2547
|
initialValues?: T;
|
|
2431
2548
|
validate?: (values: T) => Partial<Record<keyof T, string>>;
|
|
2432
2549
|
className?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* Maximum width of the form. Accepts any CSS width value (e.g., `'56rem'`, `'800px'`, `'100%'`).
|
|
2552
|
+
*/
|
|
2553
|
+
maxWidth?: string | number;
|
|
2433
2554
|
/**
|
|
2434
2555
|
* Layout of form fields.
|
|
2435
2556
|
* - `vertical`: label/description stacked above control (default)
|
|
@@ -2472,7 +2593,7 @@ interface FormGroupProps {
|
|
|
2472
2593
|
variant?: FormVariant;
|
|
2473
2594
|
}
|
|
2474
2595
|
|
|
2475
|
-
declare function Form<T extends Record<string, any>>({ children, onSubmit, form, initialValues, validate, className, style, layout, labelWidth, variant, fieldMinWidth, ...props }: FormProps<T>): react_jsx_runtime.JSX.Element;
|
|
2596
|
+
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;
|
|
2476
2597
|
declare namespace Form {
|
|
2477
2598
|
var displayName: string;
|
|
2478
2599
|
}
|
|
@@ -2528,9 +2649,16 @@ type FormLabelProps = {
|
|
|
2528
2649
|
className?: string;
|
|
2529
2650
|
description?: react__default.ReactNode;
|
|
2530
2651
|
required?: boolean;
|
|
2652
|
+
/**
|
|
2653
|
+
* Called when the label is clicked. Used by form field components
|
|
2654
|
+
* to focus inputs, open selects, toggle switches, etc.
|
|
2655
|
+
* When provided, the native `htmlFor` behaviour is prevented
|
|
2656
|
+
* so the callback has full control.
|
|
2657
|
+
*/
|
|
2658
|
+
onLabelClick?: () => void;
|
|
2531
2659
|
};
|
|
2532
2660
|
declare const FormLabel: {
|
|
2533
|
-
({ htmlFor, children, className, description, required }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2661
|
+
({ htmlFor, children, className, description, required, onLabelClick, }: FormLabelProps): react_jsx_runtime.JSX.Element;
|
|
2534
2662
|
displayName: string;
|
|
2535
2663
|
};
|
|
2536
2664
|
|
|
@@ -2557,7 +2685,7 @@ type FormCheckboxProps<T extends Record<string, any>> = Omit<CheckboxProps, 'che
|
|
|
2557
2685
|
onChange?: (checked: boolean) => void;
|
|
2558
2686
|
};
|
|
2559
2687
|
declare const FormCheckbox: {
|
|
2560
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2688
|
+
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2561
2689
|
displayName: string;
|
|
2562
2690
|
};
|
|
2563
2691
|
|
|
@@ -2694,7 +2822,7 @@ type FormSwitchProps<T extends Record<string, any>> = Omit<SwitchProps, 'checked
|
|
|
2694
2822
|
onChange?: (checked: boolean) => void;
|
|
2695
2823
|
};
|
|
2696
2824
|
declare const FormSwitch: {
|
|
2697
|
-
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2825
|
+
<T extends Record<string, any>>({ name, label, description, form, className, rules, onChange, disabled, ...rest }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
|
|
2698
2826
|
displayName: string;
|
|
2699
2827
|
};
|
|
2700
2828
|
|
|
@@ -4803,4 +4931,4 @@ declare const useToken: () => {
|
|
|
4803
4931
|
motionDurationSlow: string;
|
|
4804
4932
|
};
|
|
4805
4933
|
|
|
4806
|
-
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, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, 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, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, 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, 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, copyToClipboard, createModal, createRawModal, 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 };
|
|
4934
|
+
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, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, 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, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, 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, 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, copyToClipboard, createModal, createRawModal, 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 };
|