lingee-ui 0.0.13 → 0.0.15

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.
Files changed (65) hide show
  1. package/dist/button/index.d.mts +1 -1
  2. package/dist/button/index.d.ts +1 -1
  3. package/dist/button/index.js +1 -1
  4. package/dist/button/index.mjs +1 -1
  5. package/dist/{chunk-HYN4Y4AW.js → chunk-7I26V66U.js} +1 -1
  6. package/dist/{chunk-XOVQPZCB.js → chunk-E3NN26A5.js} +1 -1
  7. package/dist/{chunk-B6CAD73P.mjs → chunk-HOX3ZANF.mjs} +1 -1
  8. package/dist/{chunk-FRXQG2XX.mjs → chunk-JWOTGIJI.mjs} +1 -1
  9. package/dist/chunk-K3345E52.mjs +2 -0
  10. package/dist/{chunk-M37T4ADR.mjs → chunk-K7VTWIZJ.mjs} +1 -1
  11. package/dist/chunk-KXUUVDLA.mjs +1 -0
  12. package/dist/{chunk-LSZ4P7R5.js → chunk-P36XWLE4.js} +1 -1
  13. package/dist/{chunk-YSWFM6ML.js → chunk-P427AFIE.js} +1 -1
  14. package/dist/chunk-R5EGWXDT.mjs +1 -0
  15. package/dist/chunk-TVE57POC.js +1 -0
  16. package/dist/{chunk-T534AXC3.js → chunk-U4ZQGUSG.js} +2 -2
  17. package/dist/chunk-URZBMGD4.js +1 -0
  18. package/dist/chunk-VDUTBGPN.mjs +1 -0
  19. package/dist/chunk-XTBZBKJT.js +2 -0
  20. package/dist/{chunk-56AGGSSV.mjs → chunk-XWFDVFPJ.mjs} +1 -1
  21. package/dist/{index-7pb5YOcq.d.mts → index-89atTLPD.d.mts} +2 -2
  22. package/dist/{index-7pb5YOcq.d.ts → index-89atTLPD.d.ts} +2 -2
  23. package/dist/index.css +1 -1
  24. package/dist/index.d.mts +152 -6
  25. package/dist/index.d.ts +152 -6
  26. package/dist/index.js +2 -2
  27. package/dist/index.mjs +2 -2
  28. package/dist/input/index.css +1 -1
  29. package/dist/input/index.js +1 -1
  30. package/dist/input/index.mjs +1 -1
  31. package/dist/popover/index.css +1 -1
  32. package/dist/popover/index.d.mts +28 -2
  33. package/dist/popover/index.d.ts +28 -2
  34. package/dist/popover/index.js +1 -1
  35. package/dist/popover/index.mjs +1 -1
  36. package/dist/tabs/index.css +1 -1
  37. package/dist/tabs/index.js +1 -1
  38. package/dist/tabs/index.mjs +1 -1
  39. package/dist/toast/index.css +1 -1
  40. package/dist/toast/index.js +1 -1
  41. package/dist/toast/index.mjs +1 -1
  42. package/dist/tooltip/index.js +1 -1
  43. package/dist/tooltip/index.mjs +1 -1
  44. package/dist/tree/index.css +1 -1
  45. package/dist/tree/index.js +1 -1
  46. package/dist/tree/index.mjs +1 -1
  47. package/package.json +1 -1
  48. package/skill/AGENTS-SNIPPET.md +2 -2
  49. package/skill/SKILL.md +5 -5
  50. package/skill/VERSION.json +3 -3
  51. package/skill/references/components/dialog.md +40 -0
  52. package/skill/references/components/empty.md +2 -1
  53. package/skill/references/components/popover.md +16 -12
  54. package/skill/references/components/sidebar.md +43 -2
  55. package/skill/references/components/tooltip.md +1 -0
  56. package/skill/references/icons.md +3 -2
  57. package/skill/references/setup.md +1 -1
  58. package/skill/references/tokens.md +1 -1
  59. package/dist/chunk-6QCL57T5.mjs +0 -2
  60. package/dist/chunk-DHCCF3XI.mjs +0 -1
  61. package/dist/chunk-FTEVUZKX.js +0 -1
  62. package/dist/chunk-LBNA6G3N.js +0 -1
  63. package/dist/chunk-N524EGAL.mjs +0 -1
  64. package/dist/chunk-TL6FYFGR.js +0 -2
  65. package/dist/chunk-VV2IBN64.mjs +0 -1
package/dist/index.d.mts CHANGED
@@ -1,12 +1,12 @@
1
- import { B as ButtonProps } from './index-7pb5YOcq.mjs';
2
- export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-7pb5YOcq.mjs';
1
+ import { B as ButtonProps } from './index-89atTLPD.mjs';
2
+ export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-89atTLPD.mjs';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, CSSProperties, HTMLAttributes, MouseEvent, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.mjs';
6
6
  export { Tooltip, TooltipPlacement } from './tooltip/index.mjs';
7
7
  export { TabItem, Tabs, TabsOverflow, TabsProps, TabsScrollOptions, TabsSize, TabsVariant } from './tabs/index.mjs';
8
8
  import { PopoverContentProps } from './popover/index.mjs';
9
- export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerProps } from './popover/index.mjs';
9
+ export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerAction, PopoverTriggerProps } from './popover/index.mjs';
10
10
  export { Switch, SwitchProps, SwitchSize } from './switch/index.mjs';
11
11
  export { Input, InputProps, InputShape, InputSize } from './input/index.mjs';
12
12
  export { Textarea, TextareaProps } from './textarea/index.mjs';
@@ -244,6 +244,14 @@ declare const zhCN: {
244
244
  /** 错误态传入 onRetry 后,固定追加在 description 之后的重试引导 */
245
245
  retry: string;
246
246
  };
247
+ Sidebar: {
248
+ expand: string;
249
+ collapse: string;
250
+ /** 文件夹三态占位的兜底文案,业务有更贴切说法时用 statusText 覆盖 */
251
+ loading: string;
252
+ empty: string;
253
+ loadError: string;
254
+ };
247
255
  };
248
256
 
249
257
  /** 语言包类型,由 zh-CN 推导结构 */
@@ -383,6 +391,13 @@ declare const enUS: {
383
391
  Empty: {
384
392
  retry: string;
385
393
  };
394
+ Sidebar: {
395
+ expand: string;
396
+ collapse: string;
397
+ loading: string;
398
+ empty: string;
399
+ loadError: string;
400
+ };
386
401
  };
387
402
 
388
403
  interface ComponentConfig {
@@ -709,10 +724,22 @@ interface HostModalPageProps<P> {
709
724
  * 渲染函数收到 `close`,用于绘制自己的关闭按钮。
710
725
  *
711
726
  * 只传本属性不会让宿主去掉标题栏 —— 那由发起端的 `headless` 决定。
712
- * 两处不匹配的后果:发起端开了而这里没传 → 弹窗没有任何关闭入口(只能点遮罩);
727
+ * 两处不匹配的后果:发起端开了而这里没传 → 由内置关闭按钮兜住出口(见 `closable`);
713
728
  * 这里传了而发起端没开 → 宿主标题栏与自绘头部上下叠两层。
714
729
  */
715
730
  header?: (close: (result?: unknown) => void) => React__default.ReactNode;
731
+ /**
732
+ * 是否渲染内置关闭按钮(面板右上角绝对定位)。
733
+ *
734
+ * 缺省按「宿主有没有提供关闭入口」自动判定,无需业务传值:
735
+ * - 发起端开了 `headless`:宿主不画标题栏与关闭按钮,本组件补上内置按钮,
736
+ * 省去业务侧重复实现(设计稿常把关闭按钮画在内容区右上角,并不需要整个自绘头部)
737
+ * - 发起端未开 `headless`:宿主标题栏自带关闭按钮,不再叠加
738
+ * - 传了 `header`:自绘头部通常已含关闭入口,同样不叠加
739
+ *
740
+ * 显式传值可覆盖以上判定。
741
+ */
742
+ closable?: boolean;
716
743
  /** 附加到容器上的类名,用于控制内边距等业务样式 */
717
744
  className?: string;
718
745
  }
@@ -728,7 +755,7 @@ interface HostModalPageProps<P> {
728
755
  * );
729
756
  * }
730
757
  */
731
- declare function HostModalPage<P = unknown>({ children, fallback, ready, header, className, }: HostModalPageProps<P>): react_jsx_runtime.JSX.Element | null;
758
+ declare function HostModalPage<P = unknown>({ children, fallback, ready, header, closable, className, }: HostModalPageProps<P>): react_jsx_runtime.JSX.Element | null;
732
759
  declare namespace HostModalPage {
733
760
  var displayName: string;
734
761
  }
@@ -1556,6 +1583,16 @@ type EmptyCardStatus = "loading" | "empty" | "error";
1556
1583
  type EmptyCardVariant = "block" | "inline";
1557
1584
  /** 上下留白档位 */
1558
1585
  type EmptyCardSpacing = "none" | "normal" | "loose";
1586
+ /**
1587
+ * 水平对齐。
1588
+ * - center: 居中,区块级/页面级占位的默认形态
1589
+ * - start: 左对齐,用于列表内嵌占位 —— 与上方列表项同一阅读起点,
1590
+ * 居中会让一行小字悬在空白正中,与列表的阅读动线脱节
1591
+ *
1592
+ * 只负责对齐,不含缩进:对齐基准(列表项文字 / 分组标题)由所在容器决定,
1593
+ * 组件无从得知,需要缩进时由消费方在外层补 padding。
1594
+ */
1595
+ type EmptyCardAlign = "center" | "start";
1559
1596
  interface EmptyCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onClick" | "size"> {
1560
1597
  status: EmptyCardStatus;
1561
1598
  /** 描述文案。组件不内置文案,由消费方传入 */
@@ -1571,6 +1608,8 @@ interface EmptyCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"
1571
1608
  size?: EmptySize;
1572
1609
  variant?: EmptyCardVariant;
1573
1610
  spacing?: EmptyCardSpacing;
1611
+ /** 水平对齐,默认 "center" */
1612
+ align?: EmptyCardAlign;
1574
1613
  /**
1575
1614
  * 重试回调。仅 status="error" 时生效。
1576
1615
  * 传入后整体渲染为可点击按钮:带浅色底 + hover 反馈,
@@ -1842,6 +1881,14 @@ interface SidebarHeaderProps extends HTMLAttributes<HTMLDivElement> {
1842
1881
  className?: string;
1843
1882
  style?: CSSProperties;
1844
1883
  }
1884
+ interface SidebarStickyHeaderProps extends HTMLAttributes<HTMLDivElement> {
1885
+ /** 占满剩余宽度的主内容 */
1886
+ children?: ReactNode;
1887
+ /** 固定在右侧、不参与主内容压缩的操作区 */
1888
+ actions?: ReactNode;
1889
+ className?: string;
1890
+ style?: CSSProperties;
1891
+ }
1845
1892
  interface SidebarTabItem {
1846
1893
  key: string;
1847
1894
  label: ReactNode;
@@ -1875,11 +1922,14 @@ interface SidebarCollapsibleNavItemChild {
1875
1922
  disabled?: boolean;
1876
1923
  onClick?: () => void;
1877
1924
  }
1925
+ type SidebarCaretTone = "muted" | "default";
1878
1926
  interface SidebarCollapsibleNavItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
1879
1927
  icon?: ReactNode;
1880
1928
  label: ReactNode;
1881
1929
  /** 头部高亮态。内部会与子项 active 做互斥:任一子项 active 时头部不高亮 */
1882
1930
  active?: boolean;
1931
+ /** 箭头视觉层级,default 保留语义色的完整不透明度 */
1932
+ caretTone?: SidebarCaretTone;
1883
1933
  /** 受控展开态 */
1884
1934
  open?: boolean;
1885
1935
  /** 非受控初始展开态,open 传入时忽略 */
@@ -1964,6 +2014,67 @@ interface SidebarCollapsibleListItemProps extends Omit<HTMLAttributes<HTMLDivEle
1964
2014
  className?: string;
1965
2015
  style?: CSSProperties;
1966
2016
  }
2017
+ /**
2018
+ * 文件夹取数状态。
2019
+ *
2020
+ * 合成单一联合值而非三个布尔:三态各自渲染占位时,两端极易在图标、
2021
+ * 高度、留白上写出不同结果,切换时产生跳动。收成一个值后占位形态只有一份。
2022
+ */
2023
+ type SidebarFolderStatus = "loading" | "empty" | "error" | "ready";
2024
+ /** 三态占位文案。组件库不持有业务文案,缺省时回退全局 locale 的 Sidebar 段 */
2025
+ interface SidebarFolderStatusText {
2026
+ loading: ReactNode;
2027
+ empty: ReactNode;
2028
+ error: ReactNode;
2029
+ }
2030
+ /** FolderNode 与 FolderSection 共有的状态区契约 */
2031
+ interface SidebarFolderStatusOwnProps {
2032
+ /** 取数状态,默认 "ready"(直接渲染 children) */
2033
+ status?: SidebarFolderStatus;
2034
+ /** 覆盖三态文案,未传的字段回退 locale */
2035
+ statusText?: Partial<SidebarFolderStatusText>;
2036
+ /** 重试回调,仅 status="error" 时生效 */
2037
+ onRetry?: () => void;
2038
+ }
2039
+ interface SidebarFolderNodeProps extends Omit<HTMLAttributes<HTMLDivElement>, "title">, SidebarFolderStatusOwnProps {
2040
+ /** 文件夹名称 */
2041
+ name: ReactNode;
2042
+ /**
2043
+ * 覆盖左侧图标。缺省时内置文件夹图标并随展开态切换,
2044
+ * 消费方无需自行处理两态图标与其配色
2045
+ */
2046
+ icon?: ReactNode;
2047
+ expanded?: boolean;
2048
+ onToggle?: () => void;
2049
+ /** 头部悬停操作区插槽(新建、更多菜单等) */
2050
+ actions?: ReactNode;
2051
+ /** 操作区常显。菜单打开时置 true,避免指针移到浮层后按钮消失 */
2052
+ actionsVisible?: boolean;
2053
+ /** 头部高亮态 */
2054
+ active?: boolean;
2055
+ /** 展开区内容,仅 status="ready" 时渲染 */
2056
+ children?: ReactNode;
2057
+ /** 箭头无障碍标签,缺省回退 locale */
2058
+ expandLabel?: string;
2059
+ collapseLabel?: string;
2060
+ className?: string;
2061
+ style?: CSSProperties;
2062
+ }
2063
+ interface SidebarFolderSectionProps extends Omit<HTMLAttributes<HTMLElement>, "title">, SidebarFolderStatusOwnProps {
2064
+ /** 区块标题 */
2065
+ title: ReactNode;
2066
+ /** 区块折叠态 */
2067
+ expanded?: boolean;
2068
+ onToggle?: () => void;
2069
+ /** 标题行右侧操作区插槽(新建文件夹等) */
2070
+ actions?: ReactNode;
2071
+ /** 操作区常显,语义与 GroupHeader.actionsVisible 一致 */
2072
+ actionsVisible?: boolean;
2073
+ /** 文件夹列表,仅 status="ready" 且展开时渲染 */
2074
+ children?: ReactNode;
2075
+ className?: string;
2076
+ style?: CSSProperties;
2077
+ }
1967
2078
  interface SidebarFooterUserProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1968
2079
  /** 头像插槽 */
1969
2080
  avatar?: ReactNode;
@@ -2085,6 +2196,13 @@ declare const SidebarRoot: React__default.ForwardRefExoticComponent<SidebarRootP
2085
2196
  */
2086
2197
  declare const SidebarHeader: React__default.ForwardRefExoticComponent<SidebarHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
2087
2198
 
2199
+ /**
2200
+ * Sidebar.StickyHeader — 吸顶内容与右侧操作区的通用布局。
2201
+ *
2202
+ * 吸顶层必须作为滚动容器的直接子元素,才能相对该容器生效。
2203
+ */
2204
+ declare const SidebarStickyHeader: React__default.ForwardRefExoticComponent<SidebarStickyHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
2205
+
2088
2206
  /**
2089
2207
  * Sidebar.TabBar — 侧边栏顶部分段页签
2090
2208
  *
@@ -2143,6 +2261,31 @@ declare const SidebarListItem: React__default.ForwardRefExoticComponent<SidebarL
2143
2261
  */
2144
2262
  declare const SidebarCollapsibleListItem: React__default.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React__default.RefAttributes<HTMLDivElement>>;
2145
2263
 
2264
+ /**
2265
+ * Sidebar.FolderNode — 文件夹节点
2266
+ *
2267
+ * 在 CollapsibleListItem 之上补两件事,二者都是各消费方原本要各写一遍的:
2268
+ * 1. 内置随展开态切换的文件夹图标,并把图标透明度提到 1
2269
+ * (文件夹图标是层级标识,降透明度后与会话行难以区分)
2270
+ * 2. 展开区四态收敛为单一 status,占位形态只有一份
2271
+ *
2272
+ * 不含请求、菜单项与业务文案:菜单以 actions 插槽传入,
2273
+ * 子项以 children 插槽传入(会话行需挂 menu / indicator,用数据结构表达不划算)。
2274
+ */
2275
+ declare const SidebarFolderNode: React__default.ForwardRefExoticComponent<SidebarFolderNodeProps & React__default.RefAttributes<HTMLDivElement>>;
2276
+
2277
+ /**
2278
+ * Sidebar.FolderSection — 文件夹区块
2279
+ *
2280
+ * GroupHeader 与区块级四态的固定组合。本身无新视觉,价值在于
2281
+ * 让区块占位与 FolderNode 内部占位共用同一形态 —— 分开写时两处
2282
+ * 留白与图标很难保持一致。
2283
+ *
2284
+ * 折叠时不渲染内容(包含占位):收起状态下连占位一起藏起,
2285
+ * 才是「折叠」的预期表现。
2286
+ */
2287
+ declare const SidebarFolderSection: React__default.ForwardRefExoticComponent<SidebarFolderSectionProps & React__default.RefAttributes<HTMLElement>>;
2288
+
2146
2289
  /**
2147
2290
  * Sidebar.FooterUser — 底栏左侧用户区(头像 + 名称 + 后缀徽标 + 展开箭头)
2148
2291
  *
@@ -2325,12 +2468,15 @@ declare function formatFileSize(bytes: number): string;
2325
2468
  declare const Sidebar: {
2326
2469
  Root: React$1.ForwardRefExoticComponent<SidebarRootProps & React$1.RefAttributes<HTMLDivElement>>;
2327
2470
  Header: React$1.ForwardRefExoticComponent<SidebarHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2471
+ StickyHeader: React$1.ForwardRefExoticComponent<SidebarStickyHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2328
2472
  TabBar: React$1.ForwardRefExoticComponent<SidebarTabBarProps & React$1.RefAttributes<HTMLDivElement>>;
2329
2473
  NavItem: React$1.ForwardRefExoticComponent<SidebarNavItemProps & React$1.RefAttributes<HTMLButtonElement>>;
2330
2474
  CollapsibleNavItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleNavItemProps & React$1.RefAttributes<HTMLDivElement>>;
2331
2475
  GroupHeader: React$1.ForwardRefExoticComponent<SidebarGroupHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2332
2476
  ListItem: React$1.ForwardRefExoticComponent<SidebarListItemProps & React$1.RefAttributes<HTMLDivElement>>;
2333
2477
  CollapsibleListItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React$1.RefAttributes<HTMLDivElement>>;
2478
+ FolderNode: React$1.ForwardRefExoticComponent<SidebarFolderNodeProps & React$1.RefAttributes<HTMLDivElement>>;
2479
+ FolderSection: React$1.ForwardRefExoticComponent<SidebarFolderSectionProps & React$1.RefAttributes<HTMLElement>>;
2334
2480
  Footer: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
2335
2481
  FooterUser: React$1.ForwardRefExoticComponent<SidebarFooterUserProps & React$1.RefAttributes<HTMLDivElement>>;
2336
2482
  FooterMenuStaticRow: React$1.ForwardRefExoticComponent<SidebarFooterMenuStaticRowProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -3333,4 +3479,4 @@ declare const Carousel: CarouselComponent;
3333
3479
  */
3334
3480
  declare function cn(...inputs: ClassValue[]): string;
3335
3481
 
3336
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
3482
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { B as ButtonProps } from './index-7pb5YOcq.js';
2
- export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-7pb5YOcq.js';
1
+ import { B as ButtonProps } from './index-89atTLPD.js';
2
+ export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-89atTLPD.js';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, CSSProperties, HTMLAttributes, MouseEvent, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.js';
6
6
  export { Tooltip, TooltipPlacement } from './tooltip/index.js';
7
7
  export { TabItem, Tabs, TabsOverflow, TabsProps, TabsScrollOptions, TabsSize, TabsVariant } from './tabs/index.js';
8
8
  import { PopoverContentProps } from './popover/index.js';
9
- export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerProps } from './popover/index.js';
9
+ export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerAction, PopoverTriggerProps } from './popover/index.js';
10
10
  export { Switch, SwitchProps, SwitchSize } from './switch/index.js';
11
11
  export { Input, InputProps, InputShape, InputSize } from './input/index.js';
12
12
  export { Textarea, TextareaProps } from './textarea/index.js';
@@ -244,6 +244,14 @@ declare const zhCN: {
244
244
  /** 错误态传入 onRetry 后,固定追加在 description 之后的重试引导 */
245
245
  retry: string;
246
246
  };
247
+ Sidebar: {
248
+ expand: string;
249
+ collapse: string;
250
+ /** 文件夹三态占位的兜底文案,业务有更贴切说法时用 statusText 覆盖 */
251
+ loading: string;
252
+ empty: string;
253
+ loadError: string;
254
+ };
247
255
  };
248
256
 
249
257
  /** 语言包类型,由 zh-CN 推导结构 */
@@ -383,6 +391,13 @@ declare const enUS: {
383
391
  Empty: {
384
392
  retry: string;
385
393
  };
394
+ Sidebar: {
395
+ expand: string;
396
+ collapse: string;
397
+ loading: string;
398
+ empty: string;
399
+ loadError: string;
400
+ };
386
401
  };
387
402
 
388
403
  interface ComponentConfig {
@@ -709,10 +724,22 @@ interface HostModalPageProps<P> {
709
724
  * 渲染函数收到 `close`,用于绘制自己的关闭按钮。
710
725
  *
711
726
  * 只传本属性不会让宿主去掉标题栏 —— 那由发起端的 `headless` 决定。
712
- * 两处不匹配的后果:发起端开了而这里没传 → 弹窗没有任何关闭入口(只能点遮罩);
727
+ * 两处不匹配的后果:发起端开了而这里没传 → 由内置关闭按钮兜住出口(见 `closable`);
713
728
  * 这里传了而发起端没开 → 宿主标题栏与自绘头部上下叠两层。
714
729
  */
715
730
  header?: (close: (result?: unknown) => void) => React__default.ReactNode;
731
+ /**
732
+ * 是否渲染内置关闭按钮(面板右上角绝对定位)。
733
+ *
734
+ * 缺省按「宿主有没有提供关闭入口」自动判定,无需业务传值:
735
+ * - 发起端开了 `headless`:宿主不画标题栏与关闭按钮,本组件补上内置按钮,
736
+ * 省去业务侧重复实现(设计稿常把关闭按钮画在内容区右上角,并不需要整个自绘头部)
737
+ * - 发起端未开 `headless`:宿主标题栏自带关闭按钮,不再叠加
738
+ * - 传了 `header`:自绘头部通常已含关闭入口,同样不叠加
739
+ *
740
+ * 显式传值可覆盖以上判定。
741
+ */
742
+ closable?: boolean;
716
743
  /** 附加到容器上的类名,用于控制内边距等业务样式 */
717
744
  className?: string;
718
745
  }
@@ -728,7 +755,7 @@ interface HostModalPageProps<P> {
728
755
  * );
729
756
  * }
730
757
  */
731
- declare function HostModalPage<P = unknown>({ children, fallback, ready, header, className, }: HostModalPageProps<P>): react_jsx_runtime.JSX.Element | null;
758
+ declare function HostModalPage<P = unknown>({ children, fallback, ready, header, closable, className, }: HostModalPageProps<P>): react_jsx_runtime.JSX.Element | null;
732
759
  declare namespace HostModalPage {
733
760
  var displayName: string;
734
761
  }
@@ -1556,6 +1583,16 @@ type EmptyCardStatus = "loading" | "empty" | "error";
1556
1583
  type EmptyCardVariant = "block" | "inline";
1557
1584
  /** 上下留白档位 */
1558
1585
  type EmptyCardSpacing = "none" | "normal" | "loose";
1586
+ /**
1587
+ * 水平对齐。
1588
+ * - center: 居中,区块级/页面级占位的默认形态
1589
+ * - start: 左对齐,用于列表内嵌占位 —— 与上方列表项同一阅读起点,
1590
+ * 居中会让一行小字悬在空白正中,与列表的阅读动线脱节
1591
+ *
1592
+ * 只负责对齐,不含缩进:对齐基准(列表项文字 / 分组标题)由所在容器决定,
1593
+ * 组件无从得知,需要缩进时由消费方在外层补 padding。
1594
+ */
1595
+ type EmptyCardAlign = "center" | "start";
1559
1596
  interface EmptyCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onClick" | "size"> {
1560
1597
  status: EmptyCardStatus;
1561
1598
  /** 描述文案。组件不内置文案,由消费方传入 */
@@ -1571,6 +1608,8 @@ interface EmptyCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"
1571
1608
  size?: EmptySize;
1572
1609
  variant?: EmptyCardVariant;
1573
1610
  spacing?: EmptyCardSpacing;
1611
+ /** 水平对齐,默认 "center" */
1612
+ align?: EmptyCardAlign;
1574
1613
  /**
1575
1614
  * 重试回调。仅 status="error" 时生效。
1576
1615
  * 传入后整体渲染为可点击按钮:带浅色底 + hover 反馈,
@@ -1842,6 +1881,14 @@ interface SidebarHeaderProps extends HTMLAttributes<HTMLDivElement> {
1842
1881
  className?: string;
1843
1882
  style?: CSSProperties;
1844
1883
  }
1884
+ interface SidebarStickyHeaderProps extends HTMLAttributes<HTMLDivElement> {
1885
+ /** 占满剩余宽度的主内容 */
1886
+ children?: ReactNode;
1887
+ /** 固定在右侧、不参与主内容压缩的操作区 */
1888
+ actions?: ReactNode;
1889
+ className?: string;
1890
+ style?: CSSProperties;
1891
+ }
1845
1892
  interface SidebarTabItem {
1846
1893
  key: string;
1847
1894
  label: ReactNode;
@@ -1875,11 +1922,14 @@ interface SidebarCollapsibleNavItemChild {
1875
1922
  disabled?: boolean;
1876
1923
  onClick?: () => void;
1877
1924
  }
1925
+ type SidebarCaretTone = "muted" | "default";
1878
1926
  interface SidebarCollapsibleNavItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
1879
1927
  icon?: ReactNode;
1880
1928
  label: ReactNode;
1881
1929
  /** 头部高亮态。内部会与子项 active 做互斥:任一子项 active 时头部不高亮 */
1882
1930
  active?: boolean;
1931
+ /** 箭头视觉层级,default 保留语义色的完整不透明度 */
1932
+ caretTone?: SidebarCaretTone;
1883
1933
  /** 受控展开态 */
1884
1934
  open?: boolean;
1885
1935
  /** 非受控初始展开态,open 传入时忽略 */
@@ -1964,6 +2014,67 @@ interface SidebarCollapsibleListItemProps extends Omit<HTMLAttributes<HTMLDivEle
1964
2014
  className?: string;
1965
2015
  style?: CSSProperties;
1966
2016
  }
2017
+ /**
2018
+ * 文件夹取数状态。
2019
+ *
2020
+ * 合成单一联合值而非三个布尔:三态各自渲染占位时,两端极易在图标、
2021
+ * 高度、留白上写出不同结果,切换时产生跳动。收成一个值后占位形态只有一份。
2022
+ */
2023
+ type SidebarFolderStatus = "loading" | "empty" | "error" | "ready";
2024
+ /** 三态占位文案。组件库不持有业务文案,缺省时回退全局 locale 的 Sidebar 段 */
2025
+ interface SidebarFolderStatusText {
2026
+ loading: ReactNode;
2027
+ empty: ReactNode;
2028
+ error: ReactNode;
2029
+ }
2030
+ /** FolderNode 与 FolderSection 共有的状态区契约 */
2031
+ interface SidebarFolderStatusOwnProps {
2032
+ /** 取数状态,默认 "ready"(直接渲染 children) */
2033
+ status?: SidebarFolderStatus;
2034
+ /** 覆盖三态文案,未传的字段回退 locale */
2035
+ statusText?: Partial<SidebarFolderStatusText>;
2036
+ /** 重试回调,仅 status="error" 时生效 */
2037
+ onRetry?: () => void;
2038
+ }
2039
+ interface SidebarFolderNodeProps extends Omit<HTMLAttributes<HTMLDivElement>, "title">, SidebarFolderStatusOwnProps {
2040
+ /** 文件夹名称 */
2041
+ name: ReactNode;
2042
+ /**
2043
+ * 覆盖左侧图标。缺省时内置文件夹图标并随展开态切换,
2044
+ * 消费方无需自行处理两态图标与其配色
2045
+ */
2046
+ icon?: ReactNode;
2047
+ expanded?: boolean;
2048
+ onToggle?: () => void;
2049
+ /** 头部悬停操作区插槽(新建、更多菜单等) */
2050
+ actions?: ReactNode;
2051
+ /** 操作区常显。菜单打开时置 true,避免指针移到浮层后按钮消失 */
2052
+ actionsVisible?: boolean;
2053
+ /** 头部高亮态 */
2054
+ active?: boolean;
2055
+ /** 展开区内容,仅 status="ready" 时渲染 */
2056
+ children?: ReactNode;
2057
+ /** 箭头无障碍标签,缺省回退 locale */
2058
+ expandLabel?: string;
2059
+ collapseLabel?: string;
2060
+ className?: string;
2061
+ style?: CSSProperties;
2062
+ }
2063
+ interface SidebarFolderSectionProps extends Omit<HTMLAttributes<HTMLElement>, "title">, SidebarFolderStatusOwnProps {
2064
+ /** 区块标题 */
2065
+ title: ReactNode;
2066
+ /** 区块折叠态 */
2067
+ expanded?: boolean;
2068
+ onToggle?: () => void;
2069
+ /** 标题行右侧操作区插槽(新建文件夹等) */
2070
+ actions?: ReactNode;
2071
+ /** 操作区常显,语义与 GroupHeader.actionsVisible 一致 */
2072
+ actionsVisible?: boolean;
2073
+ /** 文件夹列表,仅 status="ready" 且展开时渲染 */
2074
+ children?: ReactNode;
2075
+ className?: string;
2076
+ style?: CSSProperties;
2077
+ }
1967
2078
  interface SidebarFooterUserProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1968
2079
  /** 头像插槽 */
1969
2080
  avatar?: ReactNode;
@@ -2085,6 +2196,13 @@ declare const SidebarRoot: React__default.ForwardRefExoticComponent<SidebarRootP
2085
2196
  */
2086
2197
  declare const SidebarHeader: React__default.ForwardRefExoticComponent<SidebarHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
2087
2198
 
2199
+ /**
2200
+ * Sidebar.StickyHeader — 吸顶内容与右侧操作区的通用布局。
2201
+ *
2202
+ * 吸顶层必须作为滚动容器的直接子元素,才能相对该容器生效。
2203
+ */
2204
+ declare const SidebarStickyHeader: React__default.ForwardRefExoticComponent<SidebarStickyHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
2205
+
2088
2206
  /**
2089
2207
  * Sidebar.TabBar — 侧边栏顶部分段页签
2090
2208
  *
@@ -2143,6 +2261,31 @@ declare const SidebarListItem: React__default.ForwardRefExoticComponent<SidebarL
2143
2261
  */
2144
2262
  declare const SidebarCollapsibleListItem: React__default.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React__default.RefAttributes<HTMLDivElement>>;
2145
2263
 
2264
+ /**
2265
+ * Sidebar.FolderNode — 文件夹节点
2266
+ *
2267
+ * 在 CollapsibleListItem 之上补两件事,二者都是各消费方原本要各写一遍的:
2268
+ * 1. 内置随展开态切换的文件夹图标,并把图标透明度提到 1
2269
+ * (文件夹图标是层级标识,降透明度后与会话行难以区分)
2270
+ * 2. 展开区四态收敛为单一 status,占位形态只有一份
2271
+ *
2272
+ * 不含请求、菜单项与业务文案:菜单以 actions 插槽传入,
2273
+ * 子项以 children 插槽传入(会话行需挂 menu / indicator,用数据结构表达不划算)。
2274
+ */
2275
+ declare const SidebarFolderNode: React__default.ForwardRefExoticComponent<SidebarFolderNodeProps & React__default.RefAttributes<HTMLDivElement>>;
2276
+
2277
+ /**
2278
+ * Sidebar.FolderSection — 文件夹区块
2279
+ *
2280
+ * GroupHeader 与区块级四态的固定组合。本身无新视觉,价值在于
2281
+ * 让区块占位与 FolderNode 内部占位共用同一形态 —— 分开写时两处
2282
+ * 留白与图标很难保持一致。
2283
+ *
2284
+ * 折叠时不渲染内容(包含占位):收起状态下连占位一起藏起,
2285
+ * 才是「折叠」的预期表现。
2286
+ */
2287
+ declare const SidebarFolderSection: React__default.ForwardRefExoticComponent<SidebarFolderSectionProps & React__default.RefAttributes<HTMLElement>>;
2288
+
2146
2289
  /**
2147
2290
  * Sidebar.FooterUser — 底栏左侧用户区(头像 + 名称 + 后缀徽标 + 展开箭头)
2148
2291
  *
@@ -2325,12 +2468,15 @@ declare function formatFileSize(bytes: number): string;
2325
2468
  declare const Sidebar: {
2326
2469
  Root: React$1.ForwardRefExoticComponent<SidebarRootProps & React$1.RefAttributes<HTMLDivElement>>;
2327
2470
  Header: React$1.ForwardRefExoticComponent<SidebarHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2471
+ StickyHeader: React$1.ForwardRefExoticComponent<SidebarStickyHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2328
2472
  TabBar: React$1.ForwardRefExoticComponent<SidebarTabBarProps & React$1.RefAttributes<HTMLDivElement>>;
2329
2473
  NavItem: React$1.ForwardRefExoticComponent<SidebarNavItemProps & React$1.RefAttributes<HTMLButtonElement>>;
2330
2474
  CollapsibleNavItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleNavItemProps & React$1.RefAttributes<HTMLDivElement>>;
2331
2475
  GroupHeader: React$1.ForwardRefExoticComponent<SidebarGroupHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2332
2476
  ListItem: React$1.ForwardRefExoticComponent<SidebarListItemProps & React$1.RefAttributes<HTMLDivElement>>;
2333
2477
  CollapsibleListItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React$1.RefAttributes<HTMLDivElement>>;
2478
+ FolderNode: React$1.ForwardRefExoticComponent<SidebarFolderNodeProps & React$1.RefAttributes<HTMLDivElement>>;
2479
+ FolderSection: React$1.ForwardRefExoticComponent<SidebarFolderSectionProps & React$1.RefAttributes<HTMLElement>>;
2334
2480
  Footer: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
2335
2481
  FooterUser: React$1.ForwardRefExoticComponent<SidebarFooterUserProps & React$1.RefAttributes<HTMLDivElement>>;
2336
2482
  FooterMenuStaticRow: React$1.ForwardRefExoticComponent<SidebarFooterMenuStaticRowProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -3333,4 +3479,4 @@ declare const Carousel: CarouselComponent;
3333
3479
  */
3334
3480
  declare function cn(...inputs: ClassValue[]): string;
3335
3481
 
3336
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
3482
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };