@gomeniucivan/ui 1.0.52 → 1.0.54

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
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { AnchorHTMLAttributes, HTMLAttributes, FC, Ref, ElementType, CSSProperties, ReactNode, Key, ReactElement, ComponentPropsWithRef, RefAttributes, Context, MouseEvent, ComponentProps, ChangeEvent, FocusEvent, FormEvent, FormHTMLAttributes, KeyboardEvent, ComponentType } from 'react';
3
- import { FlexProps as FlexProps$1, MenuProps as MenuProps$1, MenuRef, AlertProps as AlertProps$1, AutoCompleteProps as AutoCompleteProps$1, AvatarProps as AvatarProps$1, DrawerProps as DrawerProps$1, ButtonProps as ButtonProps$1, CollapseProps as CollapseProps$1, ColorPickerProps as ColorPickerProps$1, ModalFuncProps, Modal as Modal$1, DatePickerProps as DatePickerProps$1, InputProps as InputProps$1, InputRef, InputNumberProps as InputNumberProps$1, SegmentedProps as SegmentedProps$1, ModalProps as ModalProps$1, ImageProps as ImageProps$2, SelectProps as SelectProps$1, TagProps as TagProps$1, TabsProps as TabsProps$1, AnchorProps, SliderSingleProps } from 'antd';
3
+ import { FlexProps as FlexProps$1, MenuProps as MenuProps$1, MenuRef, AlertProps as AlertProps$1, AutoCompleteProps as AutoCompleteProps$1, AvatarProps as AvatarProps$1, DrawerProps as DrawerProps$1, ButtonProps as ButtonProps$1, CollapseProps as CollapseProps$1, ColorPickerProps as ColorPickerProps$1, ModalFuncProps, Modal as Modal$1, DatePickerProps as DatePickerProps$1, InputProps as InputProps$1, InputRef, InputNumberProps as InputNumberProps$1, SegmentedProps as SegmentedProps$1, ModalProps as ModalProps$1, ImageProps as ImageProps$2, SelectProps as SelectProps$1, TagProps as TagProps$1, TabsProps as TabsProps$1, AnchorProps, SliderSingleProps, ThemeConfig } from 'antd';
4
4
  import { LucideProps, LucideIcon } from 'lucide-react';
5
5
  import { TooltipPopupProps, TooltipPortalProps as TooltipPortalProps$1, TooltipPositionerProps as TooltipPositionerProps$1, Tooltip as Tooltip$1, TooltipTriggerProps } from '@base-ui/react/tooltip';
6
6
  import { Placement as Placement$1 } from '@floating-ui/react';
@@ -33,6 +33,7 @@ import { Switch as Switch$1 } from '@base-ui/react/switch';
33
33
  import { BuiltinTheme } from 'shiki';
34
34
  import { PreviewConfig } from 'antd/es/image';
35
35
  import { GroupPreviewConfig } from 'antd/es/image/PreviewGroup';
36
+ import { EmotionCache, ArrayClassNamesArg } from '@emotion/css/create-instance';
36
37
  import * as node_modules__base_ui_react_esm_separator_Separator from 'node_modules/@base-ui/react/esm/separator/Separator';
37
38
  import * as _base_ui_react_select from '@base-ui/react/select';
38
39
  import { Select as Select$1 } from '@base-ui/react/select';
@@ -43,9 +44,12 @@ import { Node } from 'unist';
43
44
  import { Root } from 'hast';
44
45
  import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
45
46
  import { TableProps as TableProps$1 } from 'antd/es/table';
46
- import { GetCustomStylish, GetCustomToken, ThemeProviderProps as ThemeProviderProps$1, CustomStylishParams, CustomTokenParams, ThemeMode } from 'antd-style';
47
- export { createStyles, cx } from 'antd-style';
47
+ import { CSSInterpolation, SerializedStyles, CSSObject } from '@emotion/serialize';
48
48
  import { AliasToken } from 'antd/es/theme/interface';
49
+ import { ThemeConfig as ThemeConfig$1 } from 'antd/es/config-provider/context';
50
+ import { MessageInstance, ConfigOptions } from 'antd/es/message/interface';
51
+ import { ModalStaticFunctions } from 'antd/es/modal/confirm';
52
+ import { NotificationInstance, NotificationConfig } from 'antd/es/notification/interface';
49
53
  import { Toast } from '@base-ui/react/toast';
50
54
  export { ErrorBoundary, ErrorBoundaryProps } from 'react-error-boundary';
51
55
 
@@ -2691,6 +2695,22 @@ declare const FormInput: {
2691
2695
  displayName: string;
2692
2696
  };
2693
2697
 
2698
+ type FormTextareaProps<T extends Record<string, any>> = Omit<TextAreaProps, 'name' | 'value' | 'onChange' | 'onBlur' | 'defaultValue' | 'form'> & {
2699
+ name: keyof T & string;
2700
+ label?: string;
2701
+ description?: react__default.ReactNode;
2702
+ form?: FormInstance<T>;
2703
+ required?: boolean;
2704
+ helperText?: react__default.ReactNode;
2705
+ onChange?: TextAreaProps['onChange'];
2706
+ onBlur?: TextAreaProps['onBlur'];
2707
+ rules?: FormFieldRules<T>;
2708
+ };
2709
+ declare const FormTextarea: {
2710
+ <T extends Record<string, any>>({ name, label, description, form, required, helperText, className, id, variant: inputVariant, onChange, onBlur, rules, ...inputProps }: FormTextareaProps<T>): react_jsx_runtime.JSX.Element;
2711
+ displayName: string;
2712
+ };
2713
+
2694
2714
  type FormLabelProps = {
2695
2715
  htmlFor?: string;
2696
2716
  children: react__default.ReactNode;
@@ -2995,6 +3015,7 @@ declare const FormColorPicker: {
2995
3015
  type FormComponent = <T extends Record<string, any>>(props: FormProps<T> & RefAttributes<HTMLFormElement>) => ReturnType<typeof Form>;
2996
3016
  type FormCompound = FormComponent & {
2997
3017
  Input: typeof FormInput;
3018
+ Textarea: typeof FormTextarea;
2998
3019
  Block: typeof FormBlock;
2999
3020
  Label: typeof FormLabel;
3000
3021
  Description: typeof FormDescription;
@@ -4223,6 +4244,356 @@ type NeutralColorsObj = typeof neutralColors;
4223
4244
  type NeutralColors = keyof NeutralColorsObj;
4224
4245
  declare const findCustomThemeName: (type: "primary" | "neutral", value: string) => string | undefined;
4225
4246
 
4247
+ declare class CacheManager {
4248
+ private _cacheList;
4249
+ add(cache: EmotionCache): EmotionCache;
4250
+ delete(cache: EmotionCache): void;
4251
+ hasCache(cache: EmotionCache): boolean;
4252
+ getCache(key: string): EmotionCache | undefined;
4253
+ getCacheList(): EmotionCache[];
4254
+ }
4255
+
4256
+ type BrowserPrefers = 'dark' | 'light';
4257
+ type ThemeAppearance = 'dark' | 'light' | string;
4258
+ type ThemeMode = 'auto' | 'dark' | 'light';
4259
+
4260
+ /**
4261
+ * @title 主题上下文状态
4262
+ */
4263
+ interface ThemeContextState {
4264
+ /**
4265
+ * @title 外观
4266
+ */
4267
+ appearance: ThemeAppearance;
4268
+ setAppearance: (appearance: ThemeAppearance) => void;
4269
+ /**
4270
+ * @title 主题模式
4271
+ * @enum ["light", "dark"]
4272
+ * @enumNames ["亮色模式", "暗色模式"]
4273
+ * @default "light"
4274
+ */
4275
+ themeMode: ThemeMode;
4276
+ setThemeMode: (themeMode: ThemeMode) => void;
4277
+ /**
4278
+ * @title 是否为暗色模式
4279
+ */
4280
+ isDarkMode: boolean;
4281
+ /**
4282
+ * @title 浏览器偏好的外观
4283
+ */
4284
+ browserPrefers: BrowserPrefers;
4285
+ }
4286
+ type AppearanceState = Pick<ThemeContextState, 'appearance' | 'isDarkMode'>;
4287
+ type AntdToken = AliasToken;
4288
+ /**
4289
+ * 一组统一封装好的 antd 标准样式
4290
+ */
4291
+ interface AntdStylish {
4292
+ buttonDefaultHover: string;
4293
+ }
4294
+ /**
4295
+ * @title 获取 Antd 主题的函数
4296
+ * @param appearance - 主题外观
4297
+ * @returns Antd 主题配置对象或 undefined
4298
+ */
4299
+ interface GetAntdTheme {
4300
+ (appearance: ThemeAppearance): ThemeConfig | undefined;
4301
+ }
4302
+
4303
+ interface CustomToken {
4304
+ }
4305
+ interface CustomStylish {
4306
+ }
4307
+ interface FullStylish extends AntdStylish, CustomStylish {
4308
+ }
4309
+ interface FullToken extends AntdToken, CustomToken {
4310
+ }
4311
+ interface Theme extends FullToken, ThemeContextState {
4312
+ stylish: FullStylish;
4313
+ /**
4314
+ * antd 组件的 prefixCls
4315
+ */
4316
+ prefixCls: string;
4317
+ iconPrefixCls: string;
4318
+ }
4319
+
4320
+ interface ClassNameGeneratorOption {
4321
+ label?: string;
4322
+ hashPriority?: HashPriority;
4323
+ /**
4324
+ * Source file path for debugging. When provided (typically by the build-time
4325
+ * webpack/esbuild loader), generated class names are registered in a global
4326
+ * registry so that DebugObserver can annotate DOM elements with
4327
+ * `data-insp-path`.
4328
+ */
4329
+ path?: string;
4330
+ }
4331
+ /**
4332
+ * @title CSS 工具函数
4333
+ * @param template - 模板字符串数组
4334
+ * @param args - CSS 插值数组
4335
+ * @returns CSS 序列化后的样式
4336
+ */
4337
+ interface CssUtil {
4338
+ (template: TemplateStringsArray, ...args: Array<CSSInterpolation>): SerializedStyles;
4339
+ (...args: Array<CSSInterpolation>): SerializedStyles;
4340
+ }
4341
+ type ClassNamesArg = undefined | null | string | boolean | {
4342
+ [className: string]: boolean | null | undefined;
4343
+ } | ArrayClassNamesArg | SerializedStyles;
4344
+ /**
4345
+ * 可以传入多个 css 对象 或者 className 字符串,最终会合并成一个 className 字符串
4346
+ * 支持入参:{SerializedStyles} | string
4347
+ */
4348
+ type ClassNamesUtil = (...classNames: ClassNamesArg[]) => string;
4349
+ type HashPriority = 'low' | 'high';
4350
+
4351
+ /**
4352
+ * 任何一组样式,最基础的入参有三种 CSS Style 对象
4353
+ * 第一种: css` color: red; ` -> SerializedStyles
4354
+ * 第二种:cx('abc-xxx',css` color:blue; `) -> string
4355
+ * 第三种: { color:"red" } -> CSSObject
4356
+ */
4357
+ type AtomInputType = string | CSSObject | SerializedStyles;
4358
+ /**
4359
+ * getStyle 函数的的基础出参类型,我们需要将为这个类型提供准确定义,进而为开发者用户提供精准的类型提示
4360
+ * 用户输入的类型有两类
4361
+ * KvObject: 以键值对形态记录的样式 { a: css``,b: css``, c: { ... }}
4362
+ * AtomInput: css`` 或 { } 的CSSObject
4363
+ */
4364
+ type BaseReturnType = KVObject | AtomInputType;
4365
+ type KVObject = Record<string, CSSObject | string | SerializedStyles>;
4366
+ /**
4367
+ * @title StyleObjectOnly
4368
+ * @description 从 BaseReturnType 中排除 string 和 SerializedStyles 类型,只保留对象类型
4369
+ * @template T - BaseReturnType 的类型变量
4370
+ * @returns BaseReturnType 中的对象类型
4371
+ */
4372
+ type StyleObjectOnly<T extends BaseReturnType> = T extends string ? never : T extends SerializedStyles ? never : T;
4373
+ /**
4374
+ * 根据用户输入的样式对象,导出可以给用户使用消费的类型泛型
4375
+ * 譬如用户输入为 { a: css`color: red;`, b: { color: 'red' }
4376
+ * 输出的类型泛型为 { a:string; b:string }
4377
+ */
4378
+ type DefinitionToResult<T, K extends keyof T = keyof T> = {
4379
+ [P in K]: string;
4380
+ };
4381
+ /**
4382
+ * 根据用户返回的样式对象,返回一个可以给用户使用的类型定义
4383
+ * 用户输入为 { a: css`color: red;`, b: { color: 'red' }
4384
+ * 输出的类型泛型为 { a:string; b:string }
4385
+ */
4386
+ type ReturnStyleToUse<T extends BaseReturnType> = T extends string ? T : T extends SerializedStyles ? string : DefinitionToResult<StyleObjectOnly<T>>;
4387
+
4388
+ type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm'
4389
+ /**
4390
+ * 最小断点,可以作为移动端的判断断点
4391
+ */
4392
+ | 'xs';
4393
+ type DeviceScreen = 'mobile' | 'tablet' | 'laptop' | 'desktop';
4394
+ type ResponsiveKey = Breakpoint | DeviceScreen;
4395
+
4396
+ type BreakpointMapParams = Partial<Record<ResponsiveKey, AtomInputType>>;
4397
+ /**
4398
+ * 响应式断点工具函数
4399
+ */
4400
+ interface ResponsiveUtil extends Record<ResponsiveKey, string> {
4401
+ /**
4402
+ * 支持使用函数表达式
4403
+ * @param breakpoints
4404
+ */
4405
+ (breakpoints: BreakpointMapParams): SerializedStyles;
4406
+ }
4407
+ /**
4408
+ * @title 通用样式工具函数
4409
+ */
4410
+ interface CommonStyleUtils {
4411
+ /**
4412
+ * @title CSS 类名工具函数
4413
+ */
4414
+ cx: ClassNamesUtil;
4415
+ /**
4416
+ * @title CSS 序列化函数
4417
+ */
4418
+ css: CssUtil;
4419
+ /**
4420
+ * @title 响应式媒体查询工具函数
4421
+ * @description 可以快速创建响应式媒体查询的工具函数
4422
+ */
4423
+ responsive: ResponsiveUtil;
4424
+ }
4425
+ interface CustomTokenParams extends AppearanceState {
4426
+ token: AntdToken;
4427
+ }
4428
+ /**
4429
+ * 创建 自定义 token
4430
+ */
4431
+ type GetCustomToken<T> = (theme: CustomTokenParams) => T;
4432
+ interface CustomStylishParams extends AppearanceState {
4433
+ token: FullToken;
4434
+ stylish: AntdStylish;
4435
+ css: CssUtil;
4436
+ }
4437
+ /**
4438
+ * 创建 自定义 stylish
4439
+ */
4440
+ type GetCustomStylish<S> = (theme: CustomStylishParams) => {
4441
+ [T in keyof S]: SerializedStyles;
4442
+ };
4443
+
4444
+ interface StyledConfig {
4445
+ /**
4446
+ * styled 对象所对应的 ThemeContext
4447
+ * @requires
4448
+ */
4449
+ ThemeContext: Context<any>;
4450
+ /**
4451
+ * 可以注入相应 styled 方法的 ThemeProvider,或其他自己定义的ThemeProvider
4452
+ */
4453
+ ThemeProvider?: StyledThemeProvider;
4454
+ }
4455
+ type StyledThemeProvider = FC<{
4456
+ theme: Theme;
4457
+ children: ReactNode;
4458
+ }>;
4459
+
4460
+ /**
4461
+ * 书写样式时使用的第一个参数
4462
+ */
4463
+ interface CreateStylesUtils extends CommonStyleUtils {
4464
+ /**
4465
+ * 包含 antd 的 token 和所有自定义 token
4466
+ */
4467
+ token: FullToken;
4468
+ /**
4469
+ * 支持通过 cssVar 访问的 antd Token,[不包含自定义 Token](https://github.com/ant-design/antd-style/issues/199)
4470
+ */
4471
+ cssVar: AntdToken;
4472
+ stylish: FullStylish;
4473
+ /**
4474
+ * ThemeProvider 下当前的主题模式
4475
+ */
4476
+ appearance: ThemeAppearance;
4477
+ /**
4478
+ * appearance === 'dark' 的语法糖,可以直接使用 isDarkMode 来降低外观的判断成本
4479
+ */
4480
+ isDarkMode: boolean;
4481
+ /**
4482
+ * 在 ThemeProvider 上标记的 prefix,可以拿到当前的 组件 prefix
4483
+ * 便于更加灵活地响应组件 prefix
4484
+ * @default ant
4485
+ */
4486
+ prefixCls: string;
4487
+ iconPrefixCls: string;
4488
+ }
4489
+ /**
4490
+ * 最终返回 styles 对象的类型定义
4491
+ */
4492
+ interface ReturnStyles<T extends BaseReturnType> extends Pick<CommonStyleUtils, 'cx'> {
4493
+ styles: ReturnStyleToUse<T>;
4494
+ theme: Omit<Theme, 'prefixCls'>;
4495
+ iconPrefixCls: string;
4496
+ prefixCls: string;
4497
+ }
4498
+ type GetStyleFn<Input extends BaseReturnType, Props> = (utils: CreateStylesUtils, props: Props) => Input;
4499
+ /**
4500
+ * 创建样式的函数或者对象
4501
+ * 可以传入 StyleObject 或者 ()=> StyleObject 函数
4502
+ * StyleObject 可以是
4503
+ */
4504
+ type StyleOrGetStyleFn<Input extends BaseReturnType, Props> = Input | GetStyleFn<Input, Props>;
4505
+
4506
+ interface ThemeProviderProps$1<T, S = Record<string, string>> {
4507
+ children?: ReactNode;
4508
+ /**
4509
+ * 自定义 Token
4510
+ */
4511
+ customToken?: T | GetCustomToken<T>;
4512
+ /**
4513
+ * 自定义 Stylish
4514
+ */
4515
+ customStylish?: GetCustomStylish<S>;
4516
+ styled?: StyledConfig;
4517
+ prefixCls?: string;
4518
+ /**
4519
+ * 直接传入 antd 主题,或者传入一个函数,根据当前的主题模式返回对应的主题
4520
+ */
4521
+ theme?: ThemeConfig$1 | GetAntdTheme;
4522
+ /**
4523
+ * 从 ThemeProvider 中获取静态方法的实例对象
4524
+ * @param instances
4525
+ */
4526
+ getStaticInstance?: (instances: StaticInstance) => void;
4527
+ /**
4528
+ * 静态方法的入参
4529
+ */
4530
+ staticInstanceConfig?: {
4531
+ message?: ConfigOptions;
4532
+ notification?: NotificationConfig;
4533
+ };
4534
+ /**
4535
+ * 应用的展示外观主题,默认提供亮色和暗色两种,用户可以自行扩展
4536
+ * @default light
4537
+ */
4538
+ appearance?: ThemeAppearance;
4539
+ defaultAppearance?: ThemeAppearance;
4540
+ onAppearanceChange?: (appearance: ThemeAppearance) => void;
4541
+ /**
4542
+ * 主题的展示模式,有三种配置:跟随系统、亮色、暗色
4543
+ * 默认不开启自动模式,需要手动进行配置
4544
+ * @default light
4545
+ */
4546
+ themeMode?: ThemeMode;
4547
+ defaultThemeMode?: ThemeMode;
4548
+ onThemeModeChange?: (mode: ThemeMode) => void;
4549
+ /**
4550
+ * Enable debug mode. When true, `<style data-emotion>` elements receive
4551
+ * a `data-insp-path` attribute listing source paths, and Emotion class
4552
+ * names include labels derived from those paths (e.g. acss-Button-style-hash).
4553
+ *
4554
+ * Also sets the global debug flag so that lazily-imported static styles
4555
+ * automatically include labels.
4556
+ *
4557
+ * - `true` — always enabled
4558
+ * - `false` — always disabled
4559
+ * - `'auto'` — enabled when running on localhost, disabled otherwise
4560
+ *
4561
+ * @default false
4562
+ */
4563
+ isDebug?: boolean | 'auto';
4564
+ }
4565
+ /**
4566
+ * 静态实例
4567
+ */
4568
+ interface StaticInstance {
4569
+ /**
4570
+ * 消息实例
4571
+ */
4572
+ message: MessageInstance;
4573
+ /**
4574
+ * 通知实例
4575
+ */
4576
+ notification: NotificationInstance;
4577
+ /**
4578
+ * 弹窗实例,不包含 warn 方法
4579
+ * @typedef {object} Omit<ModalStaticFunctions, 'warn'>
4580
+ * @property {Function} info - info 弹窗
4581
+ * @property {Function} success - success 弹窗
4582
+ * @property {Function} error - error 弹窗
4583
+ * @property {Function} warning - warning 弹窗
4584
+ * @property {Function} confirm - confirm 弹窗
4585
+ * @property {Function} destroyAll - 关闭所有弹窗
4586
+ */
4587
+ modal: Omit<ModalStaticFunctions, 'warn'>;
4588
+ }
4589
+
4590
+ declare global {
4591
+ var __ANTD_STYLE_CACHE_MANAGER_FOR_SSR__: CacheManager;
4592
+ }
4593
+
4594
+ declare const createStyles: <Props, Input extends BaseReturnType = BaseReturnType>(styleOrGetStyle: StyleOrGetStyleFn<Input, Props>, options?: ClassNameGeneratorOption) => (props?: Props) => ReturnStyles<Input>;
4595
+ declare const cx: ClassNamesUtil;
4596
+
4226
4597
  declare const generateCustomStylish: GetCustomStylish<LobeCustomStylish>;
4227
4598
 
4228
4599
  declare const staticStylish: LobeCustomStylish;
@@ -5076,4 +5447,4 @@ declare const useToken: () => {
5076
5447
  motionDurationSlow: string;
5077
5448
  };
5078
5449
 
5079
- export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, CardForm, type CardFormProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, ConfirmationModal, type ConfirmationModalAPI, type ConfirmationModalInstance, type ConfirmationModalProps, type ConfirmationModalType, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FolderIcon, FolderTree, type FolderTreeNode, type FolderTreeProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormBlock, type FormBlockProps, FormCheckbox, FormColorPicker, type FormConfig, FormDatePicker, FormDescription, FormError, type FormFieldRules, FormGroup, FormInput, FormInputMask, FormInputNumber, FormInputPassword, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, 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, confirmConfirmationModal, 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 };
5450
+ export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, CardForm, type CardFormProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorPicker, type ColorPickerProps, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, ConfirmationModal, type ConfirmationModalAPI, type ConfirmationModalInstance, type ConfirmationModalProps, type ConfirmationModalType, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FolderIcon, FolderTree, type FolderTreeNode, type FolderTreeProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormBlock, type FormBlockProps, FormCheckbox, FormColorPicker, type FormConfig, FormDatePicker, FormDescription, FormError, type FormFieldRules, FormGroup, FormInput, FormInputMask, FormInputNumber, FormInputPassword, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, FormTextarea, FormTimePicker, type GenericItemType, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps$1 as IconProps, IconProvider, type IconSize, Image, type ImageProps$1 as ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, Input, InputMask, type InputMaskProps, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, A as Link, List, ListItem, type ListItemProps, type ListProps, type LobeCustomStylish, type LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuCheckboxItemType, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, ModalHost, type ModalHostProps, type ModalInstance, type ModalProps, ModalProvider, MotionComponent, type MotionComponentType, MotionProvider, type NeutralColors, type NeutralColorsObj, POPOVER_CONTAINER_ATTR, PatchDiff, type PatchDiffProps, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverContextValue, PopoverGroup, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, PopoverPortal, type PopoverPortalAtomProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, type PrimaryColors, type PrimaryColorsObj, type RawModalComponent, type RawModalComponentProps, type RawModalInstance, type RawModalKeyOptions, type RawModalOptions, SELECT_CONTAINER_ATTR, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default as ShikiLobeTheme, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, type SpanProps, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, type TableColumn, type TableDataSource, type TablePageSizeConfig, type TableProps, type TableReadConfig, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type Meridiem as TimePickerMeridiem, type TimePickerProps, type TimeValue as TimePickerValue, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, type Trigger, Typography, type TypographyProps, type UseFormReturn, Video, type VideoProps$1 as VideoProps, closeContextMenu, combineKeys, confirmConfirmationModal, copyToClipboard, createModal, createRawModal, createStyles, cx, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, staticStylish as lobeStaticStylish, styles as menuSharedStyles, mermaidThemes, neutralColors, neutralColorsSwatches, placementMap, preprocessMarkdownContent, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, runRules, showContextMenu, stopPropagation, toFloatingUIPlacement, toast, updateContextMenuItems, useCdnFn, useForm, useModalContext, useMotionComponent, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast, useToken, useTranslation };