@gomeniucivan/ui 1.0.45 → 1.0.47

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 CHANGED
@@ -949,6 +949,31 @@ interface ButtonProps extends Omit<ButtonProps$1, 'icon'> {
949
949
 
950
950
  declare const Button: FC<ButtonProps>;
951
951
 
952
+ interface CardFormProps extends Omit<FlexProps, 'title'> {
953
+ actions?: ReactNode;
954
+ backButtonProps?: Omit<ActionIconProps, 'icon' | 'onClick'>;
955
+ backIcon?: ActionIconProps['icon'];
956
+ contentClassName?: string;
957
+ contentStyle?: CSSProperties;
958
+ continueButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
959
+ continueText?: ReactNode;
960
+ headerClassName?: string;
961
+ headerStyle?: CSSProperties;
962
+ onBack?: ActionIconProps['onClick'];
963
+ onSave?: ButtonProps['onClick'];
964
+ onSaveAndContinue?: ButtonProps['onClick'];
965
+ ref?: Ref<HTMLDivElement>;
966
+ saveButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
967
+ saveText?: ReactNode;
968
+ showContinue?: boolean;
969
+ showSave?: boolean;
970
+ sticky?: boolean;
971
+ stickyOffset?: number | string;
972
+ title?: ReactNode;
973
+ }
974
+
975
+ declare const CardForm: react.NamedExoticComponent<CardFormProps>;
976
+
952
977
  interface TextProps extends DivProps {
953
978
  align?: 'left' | 'center' | 'right';
954
979
  as?: ElementType;
@@ -1234,7 +1259,18 @@ declare const MotionProvider: react.NamedExoticComponent<{
1234
1259
  }>;
1235
1260
  declare const useMotionComponent: () => MotionComponentType;
1236
1261
 
1237
- declare const _default$8: {
1262
+ declare const _default$a: {
1263
+ readonly 'timePicker.placeholder': "Select time";
1264
+ readonly 'timePicker.hour': "Hour";
1265
+ readonly 'timePicker.minute': "Minute";
1266
+ readonly 'timePicker.period': "Period";
1267
+ readonly 'timePicker.am': "AM";
1268
+ readonly 'timePicker.pm': "PM";
1269
+ readonly 'timePicker.clear': "Clear";
1270
+ readonly 'timePicker.done': "Done";
1271
+ };
1272
+
1273
+ declare const _default$9: {
1238
1274
  readonly 'sideNav.collapse': "Collapse sidebar";
1239
1275
  readonly 'sideNav.demoActiveLabel': "Active";
1240
1276
  readonly 'sideNav.demoFeatureAutoCollapseDesc': "Drag below threshold for smart collapse";
@@ -1252,27 +1288,27 @@ declare const _default$8: {
1252
1288
  readonly 'sideNav.expand': "Expand sidebar";
1253
1289
  };
1254
1290
 
1255
- declare const _default$7: {
1291
+ declare const _default$8: {
1256
1292
  readonly 'messageModal.cancel': "Cancel";
1257
1293
  readonly 'messageModal.confirm': "Confirm";
1258
1294
  readonly 'messageModal.edit': "Edit";
1259
1295
  };
1260
1296
 
1261
- declare const _default$6: {
1297
+ declare const _default$7: {
1262
1298
  readonly 'hotkey.conflict': "This shortcut conflicts with an existing one.";
1263
1299
  readonly 'hotkey.invalidCombination': "Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.";
1264
1300
  readonly 'hotkey.placeholder': "Press keys to record shortcut";
1265
1301
  readonly 'hotkey.reset': "Reset to default";
1266
1302
  };
1267
1303
 
1268
- declare const _default$5: {
1304
+ declare const _default$6: {
1269
1305
  readonly 'form.reset': "Reset";
1270
1306
  readonly 'form.submit': "Submit";
1271
1307
  readonly 'form.unsavedChanges': "Unsaved changes";
1272
1308
  readonly 'form.unsavedWarning': "You have unsaved changes. Are you sure you want to leave?";
1273
1309
  };
1274
1310
 
1275
- declare const _default$4: {
1311
+ declare const _default$5: {
1276
1312
  readonly 'emojiPicker.delete': "Delete";
1277
1313
  readonly 'emojiPicker.draggerDesc': "Click or Drag image to this area to upload";
1278
1314
  readonly 'emojiPicker.emoji': "Emoji";
@@ -1281,7 +1317,7 @@ declare const _default$4: {
1281
1317
  readonly 'emojiPicker.uploadBtn': "Crop and Upload";
1282
1318
  };
1283
1319
 
1284
- declare const _default$3: {
1320
+ declare const _default$4: {
1285
1321
  readonly 'editableMessage.addProps': "Add Props";
1286
1322
  readonly 'editableMessage.delete': "Delete";
1287
1323
  readonly 'editableMessage.input': "Input";
@@ -1291,6 +1327,16 @@ declare const _default$3: {
1291
1327
  readonly 'editableMessage.system': "System";
1292
1328
  };
1293
1329
 
1330
+ declare const _default$3: {
1331
+ readonly 'datePicker.placeholder': "Select date";
1332
+ readonly 'datePicker.month': "Month";
1333
+ readonly 'datePicker.day': "Day";
1334
+ readonly 'datePicker.year': "Year";
1335
+ readonly 'datePicker.clear': "Clear";
1336
+ readonly 'datePicker.done': "Done";
1337
+ readonly 'datePicker.emptyRange': "No selectable dates in the provided range.";
1338
+ };
1339
+
1294
1340
  declare const _default$2: {
1295
1341
  readonly 'common.cancel': "Cancel";
1296
1342
  readonly 'common.confirm': "Confirm";
@@ -1307,7 +1353,7 @@ declare const _default$1: {
1307
1353
  readonly 'tokenTag.used': "Used";
1308
1354
  };
1309
1355
 
1310
- type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8;
1356
+ type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8 & typeof _default$9 & typeof _default$a;
1311
1357
  type TranslationKey = keyof BuiltinTranslationResources;
1312
1358
  type TranslationValue = string;
1313
1359
  /**
@@ -2320,6 +2366,11 @@ interface FormConfig<T extends Record<string, any>> {
2320
2366
  initialValues: T;
2321
2367
  onSubmit: (values: T) => void | Promise<void>;
2322
2368
  validate?: (values: T) => Partial<Record<keyof T, string>>;
2369
+ /**
2370
+ * When true, validation runs on every field change.
2371
+ * Default is false so errors show on blur or submit, not while typing.
2372
+ */
2373
+ validateOnChange?: boolean;
2323
2374
  }
2324
2375
  interface FormState<T extends Record<string, any>> {
2325
2376
  values: T;
@@ -2331,13 +2382,14 @@ interface FormState<T extends Record<string, any>> {
2331
2382
  validationSequence: number;
2332
2383
  }
2333
2384
  declare function useForm<T extends Record<string, any>>(config: FormConfig<T>): {
2385
+ readonly validateOnChange: boolean;
2334
2386
  readonly form: {
2335
2387
  readonly values: T;
2336
2388
  readonly errors: Partial<Record<keyof T, string>>;
2337
2389
  readonly fieldErrors: Partial<Record<keyof T, string>>;
2338
2390
  readonly touched: Partial<Record<keyof T, boolean>>;
2339
2391
  readonly validationSequence: number;
2340
- readonly setFieldValue: (field: PropertyKey, value: unknown) => void;
2392
+ readonly setFieldValue: (field: PropertyKey, value: any) => void;
2341
2393
  readonly setFieldError: (field: PropertyKey, error?: string) => void;
2342
2394
  readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
2343
2395
  readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
@@ -2348,10 +2400,11 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
2348
2400
  readonly triggerValidation: () => void;
2349
2401
  readonly isSubmitting: boolean;
2350
2402
  readonly isValid: boolean;
2403
+ readonly validateOnChange: boolean;
2351
2404
  };
2352
- readonly setFieldValue: (field: keyof T, value: any) => void;
2353
- readonly setFieldTouched: (field: keyof T, touched?: boolean) => void;
2354
- readonly setFieldError: (field: keyof T, error?: string) => void;
2405
+ readonly setFieldValue: (field: PropertyKey, value: any) => void;
2406
+ readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
2407
+ readonly setFieldError: (field: PropertyKey, error?: string) => void;
2355
2408
  readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
2356
2409
  readonly handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
2357
2410
  readonly handleSubmit: (e?: FormEvent) => void;
@@ -2367,7 +2420,7 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
2367
2420
  readonly validationSequence: number;
2368
2421
  };
2369
2422
  type UseFormReturn<T extends Record<string, any>> = ReturnType<typeof useForm<T>>;
2370
- type FormInstance<T extends Record<string, any>> = UseFormReturn<T>['form'];
2423
+ type FormInstance<T extends Record<string, any>> = UseFormReturn<T> | UseFormReturn<T>['form'];
2371
2424
 
2372
2425
  type FormVariant = 'borderless' | 'filled' | 'outlined';
2373
2426
  interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
@@ -3828,6 +3881,20 @@ type TablePageSizeConfig = {
3828
3881
  count?: number;
3829
3882
  options?: number[];
3830
3883
  };
3884
+ type TableTexts = {
3885
+ /** Search input placeholder. @default 'Search rows...' */
3886
+ searchPlaceholder?: string;
3887
+ /** Pagination range display. Receives `{start}`, `{end}`, `{total}` placeholders. @default 'Displaying items {start}-{end} of {total}' */
3888
+ displayingItems?: string;
3889
+ /** Page size dropdown label. Receives `{count}` placeholder. @default '{count} / page' */
3890
+ perPage?: string;
3891
+ /** Selection summary. Receives `{selected}`, `{total}` placeholders. @default '{selected} of {total} row(s) selected.' */
3892
+ selectedRows?: string;
3893
+ /** Fallback error message. @default 'Unable to fetch data' */
3894
+ fetchError?: string;
3895
+ /** Empty state text. @default 'No data' */
3896
+ noData?: string;
3897
+ };
3831
3898
  type AntdTablePropsBase<TData> = Omit<TableProps$1<TData>, "columns" | "dataSource" | "pagination">;
3832
3899
  interface TableProps<TData> extends AntdTablePropsBase<TData> {
3833
3900
  data: TableDataSource<TData>;
@@ -3845,10 +3912,12 @@ interface TableProps<TData> extends AntdTablePropsBase<TData> {
3845
3912
  className?: string;
3846
3913
  emptyState?: react.ReactNode;
3847
3914
  onDataChange?: (rows: TData[]) => void;
3915
+ /** Override hardcoded UI texts for i18n / localisation */
3916
+ texts?: TableTexts;
3848
3917
  }
3849
3918
 
3850
3919
  declare const Table: {
3851
- <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, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
3920
+ <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;
3852
3921
  displayName: string;
3853
3922
  };
3854
3923
 
@@ -4233,4 +4302,4 @@ declare const _default: {
4233
4302
  type: string;
4234
4303
  };
4235
4304
 
4236
- 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, 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, 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, useTranslation };
4305
+ 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, useTranslation };
package/dist/index.d.ts CHANGED
@@ -949,6 +949,31 @@ interface ButtonProps extends Omit<ButtonProps$1, 'icon'> {
949
949
 
950
950
  declare const Button: FC<ButtonProps>;
951
951
 
952
+ interface CardFormProps extends Omit<FlexProps, 'title'> {
953
+ actions?: ReactNode;
954
+ backButtonProps?: Omit<ActionIconProps, 'icon' | 'onClick'>;
955
+ backIcon?: ActionIconProps['icon'];
956
+ contentClassName?: string;
957
+ contentStyle?: CSSProperties;
958
+ continueButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
959
+ continueText?: ReactNode;
960
+ headerClassName?: string;
961
+ headerStyle?: CSSProperties;
962
+ onBack?: ActionIconProps['onClick'];
963
+ onSave?: ButtonProps['onClick'];
964
+ onSaveAndContinue?: ButtonProps['onClick'];
965
+ ref?: Ref<HTMLDivElement>;
966
+ saveButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
967
+ saveText?: ReactNode;
968
+ showContinue?: boolean;
969
+ showSave?: boolean;
970
+ sticky?: boolean;
971
+ stickyOffset?: number | string;
972
+ title?: ReactNode;
973
+ }
974
+
975
+ declare const CardForm: react.NamedExoticComponent<CardFormProps>;
976
+
952
977
  interface TextProps extends DivProps {
953
978
  align?: 'left' | 'center' | 'right';
954
979
  as?: ElementType;
@@ -1234,7 +1259,18 @@ declare const MotionProvider: react.NamedExoticComponent<{
1234
1259
  }>;
1235
1260
  declare const useMotionComponent: () => MotionComponentType;
1236
1261
 
1237
- declare const _default$8: {
1262
+ declare const _default$a: {
1263
+ readonly 'timePicker.placeholder': "Select time";
1264
+ readonly 'timePicker.hour': "Hour";
1265
+ readonly 'timePicker.minute': "Minute";
1266
+ readonly 'timePicker.period': "Period";
1267
+ readonly 'timePicker.am': "AM";
1268
+ readonly 'timePicker.pm': "PM";
1269
+ readonly 'timePicker.clear': "Clear";
1270
+ readonly 'timePicker.done': "Done";
1271
+ };
1272
+
1273
+ declare const _default$9: {
1238
1274
  readonly 'sideNav.collapse': "Collapse sidebar";
1239
1275
  readonly 'sideNav.demoActiveLabel': "Active";
1240
1276
  readonly 'sideNav.demoFeatureAutoCollapseDesc': "Drag below threshold for smart collapse";
@@ -1252,27 +1288,27 @@ declare const _default$8: {
1252
1288
  readonly 'sideNav.expand': "Expand sidebar";
1253
1289
  };
1254
1290
 
1255
- declare const _default$7: {
1291
+ declare const _default$8: {
1256
1292
  readonly 'messageModal.cancel': "Cancel";
1257
1293
  readonly 'messageModal.confirm': "Confirm";
1258
1294
  readonly 'messageModal.edit': "Edit";
1259
1295
  };
1260
1296
 
1261
- declare const _default$6: {
1297
+ declare const _default$7: {
1262
1298
  readonly 'hotkey.conflict': "This shortcut conflicts with an existing one.";
1263
1299
  readonly 'hotkey.invalidCombination': "Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.";
1264
1300
  readonly 'hotkey.placeholder': "Press keys to record shortcut";
1265
1301
  readonly 'hotkey.reset': "Reset to default";
1266
1302
  };
1267
1303
 
1268
- declare const _default$5: {
1304
+ declare const _default$6: {
1269
1305
  readonly 'form.reset': "Reset";
1270
1306
  readonly 'form.submit': "Submit";
1271
1307
  readonly 'form.unsavedChanges': "Unsaved changes";
1272
1308
  readonly 'form.unsavedWarning': "You have unsaved changes. Are you sure you want to leave?";
1273
1309
  };
1274
1310
 
1275
- declare const _default$4: {
1311
+ declare const _default$5: {
1276
1312
  readonly 'emojiPicker.delete': "Delete";
1277
1313
  readonly 'emojiPicker.draggerDesc': "Click or Drag image to this area to upload";
1278
1314
  readonly 'emojiPicker.emoji': "Emoji";
@@ -1281,7 +1317,7 @@ declare const _default$4: {
1281
1317
  readonly 'emojiPicker.uploadBtn': "Crop and Upload";
1282
1318
  };
1283
1319
 
1284
- declare const _default$3: {
1320
+ declare const _default$4: {
1285
1321
  readonly 'editableMessage.addProps': "Add Props";
1286
1322
  readonly 'editableMessage.delete': "Delete";
1287
1323
  readonly 'editableMessage.input': "Input";
@@ -1291,6 +1327,16 @@ declare const _default$3: {
1291
1327
  readonly 'editableMessage.system': "System";
1292
1328
  };
1293
1329
 
1330
+ declare const _default$3: {
1331
+ readonly 'datePicker.placeholder': "Select date";
1332
+ readonly 'datePicker.month': "Month";
1333
+ readonly 'datePicker.day': "Day";
1334
+ readonly 'datePicker.year': "Year";
1335
+ readonly 'datePicker.clear': "Clear";
1336
+ readonly 'datePicker.done': "Done";
1337
+ readonly 'datePicker.emptyRange': "No selectable dates in the provided range.";
1338
+ };
1339
+
1294
1340
  declare const _default$2: {
1295
1341
  readonly 'common.cancel': "Cancel";
1296
1342
  readonly 'common.confirm': "Confirm";
@@ -1307,7 +1353,7 @@ declare const _default$1: {
1307
1353
  readonly 'tokenTag.used': "Used";
1308
1354
  };
1309
1355
 
1310
- type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8;
1356
+ type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8 & typeof _default$9 & typeof _default$a;
1311
1357
  type TranslationKey = keyof BuiltinTranslationResources;
1312
1358
  type TranslationValue = string;
1313
1359
  /**
@@ -2320,6 +2366,11 @@ interface FormConfig<T extends Record<string, any>> {
2320
2366
  initialValues: T;
2321
2367
  onSubmit: (values: T) => void | Promise<void>;
2322
2368
  validate?: (values: T) => Partial<Record<keyof T, string>>;
2369
+ /**
2370
+ * When true, validation runs on every field change.
2371
+ * Default is false so errors show on blur or submit, not while typing.
2372
+ */
2373
+ validateOnChange?: boolean;
2323
2374
  }
2324
2375
  interface FormState<T extends Record<string, any>> {
2325
2376
  values: T;
@@ -2331,13 +2382,14 @@ interface FormState<T extends Record<string, any>> {
2331
2382
  validationSequence: number;
2332
2383
  }
2333
2384
  declare function useForm<T extends Record<string, any>>(config: FormConfig<T>): {
2385
+ readonly validateOnChange: boolean;
2334
2386
  readonly form: {
2335
2387
  readonly values: T;
2336
2388
  readonly errors: Partial<Record<keyof T, string>>;
2337
2389
  readonly fieldErrors: Partial<Record<keyof T, string>>;
2338
2390
  readonly touched: Partial<Record<keyof T, boolean>>;
2339
2391
  readonly validationSequence: number;
2340
- readonly setFieldValue: (field: PropertyKey, value: unknown) => void;
2392
+ readonly setFieldValue: (field: PropertyKey, value: any) => void;
2341
2393
  readonly setFieldError: (field: PropertyKey, error?: string) => void;
2342
2394
  readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
2343
2395
  readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
@@ -2348,10 +2400,11 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
2348
2400
  readonly triggerValidation: () => void;
2349
2401
  readonly isSubmitting: boolean;
2350
2402
  readonly isValid: boolean;
2403
+ readonly validateOnChange: boolean;
2351
2404
  };
2352
- readonly setFieldValue: (field: keyof T, value: any) => void;
2353
- readonly setFieldTouched: (field: keyof T, touched?: boolean) => void;
2354
- readonly setFieldError: (field: keyof T, error?: string) => void;
2405
+ readonly setFieldValue: (field: PropertyKey, value: any) => void;
2406
+ readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
2407
+ readonly setFieldError: (field: PropertyKey, error?: string) => void;
2355
2408
  readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
2356
2409
  readonly handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
2357
2410
  readonly handleSubmit: (e?: FormEvent) => void;
@@ -2367,7 +2420,7 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
2367
2420
  readonly validationSequence: number;
2368
2421
  };
2369
2422
  type UseFormReturn<T extends Record<string, any>> = ReturnType<typeof useForm<T>>;
2370
- type FormInstance<T extends Record<string, any>> = UseFormReturn<T>['form'];
2423
+ type FormInstance<T extends Record<string, any>> = UseFormReturn<T> | UseFormReturn<T>['form'];
2371
2424
 
2372
2425
  type FormVariant = 'borderless' | 'filled' | 'outlined';
2373
2426
  interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
@@ -3828,6 +3881,20 @@ type TablePageSizeConfig = {
3828
3881
  count?: number;
3829
3882
  options?: number[];
3830
3883
  };
3884
+ type TableTexts = {
3885
+ /** Search input placeholder. @default 'Search rows...' */
3886
+ searchPlaceholder?: string;
3887
+ /** Pagination range display. Receives `{start}`, `{end}`, `{total}` placeholders. @default 'Displaying items {start}-{end} of {total}' */
3888
+ displayingItems?: string;
3889
+ /** Page size dropdown label. Receives `{count}` placeholder. @default '{count} / page' */
3890
+ perPage?: string;
3891
+ /** Selection summary. Receives `{selected}`, `{total}` placeholders. @default '{selected} of {total} row(s) selected.' */
3892
+ selectedRows?: string;
3893
+ /** Fallback error message. @default 'Unable to fetch data' */
3894
+ fetchError?: string;
3895
+ /** Empty state text. @default 'No data' */
3896
+ noData?: string;
3897
+ };
3831
3898
  type AntdTablePropsBase<TData> = Omit<TableProps$1<TData>, "columns" | "dataSource" | "pagination">;
3832
3899
  interface TableProps<TData> extends AntdTablePropsBase<TData> {
3833
3900
  data: TableDataSource<TData>;
@@ -3845,10 +3912,12 @@ interface TableProps<TData> extends AntdTablePropsBase<TData> {
3845
3912
  className?: string;
3846
3913
  emptyState?: react.ReactNode;
3847
3914
  onDataChange?: (rows: TData[]) => void;
3915
+ /** Override hardcoded UI texts for i18n / localisation */
3916
+ texts?: TableTexts;
3848
3917
  }
3849
3918
 
3850
3919
  declare const Table: {
3851
- <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, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
3920
+ <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;
3852
3921
  displayName: string;
3853
3922
  };
3854
3923
 
@@ -4233,4 +4302,4 @@ declare const _default: {
4233
4302
  type: string;
4234
4303
  };
4235
4304
 
4236
- 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, 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, 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, useTranslation };
4305
+ 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, useTranslation };