lingee-ui 0.0.10 → 0.0.11

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 (62) hide show
  1. package/dist/button/index.css +1 -1
  2. package/dist/button/index.js +1 -1
  3. package/dist/button/index.mjs +1 -1
  4. package/dist/chunk-2EQT33RE.mjs +2 -0
  5. package/dist/chunk-D25GF6TL.mjs +1 -0
  6. package/dist/{chunk-SXHF5CXB.js → chunk-GN64U4A6.js} +1 -1
  7. package/dist/chunk-HBUCDYU4.mjs +2 -0
  8. package/dist/chunk-KY6SDUK5.mjs +1 -0
  9. package/dist/{chunk-5RKADFB7.js → chunk-LSQ4CC7K.js} +1 -1
  10. package/dist/chunk-NK4H3KPJ.js +1 -0
  11. package/dist/chunk-OKHDREZ4.js +1 -0
  12. package/dist/{chunk-HI27RMCM.mjs → chunk-Q4CF2U5W.mjs} +1 -1
  13. package/dist/chunk-SV5ZR6K5.js +2 -0
  14. package/dist/{chunk-7F53VFM6.mjs → chunk-U7SNZQQT.mjs} +1 -1
  15. package/dist/chunk-VV2IBN64.mjs +1 -0
  16. package/dist/chunk-Y3P3LG3L.js +2 -0
  17. package/dist/chunk-YSWFM6ML.js +1 -0
  18. package/dist/index.css +1 -1
  19. package/dist/index.d.mts +247 -9
  20. package/dist/index.d.ts +247 -9
  21. package/dist/index.js +2 -2
  22. package/dist/index.mjs +2 -2
  23. package/dist/input/index.css +1 -1
  24. package/dist/input/index.js +1 -1
  25. package/dist/input/index.mjs +1 -1
  26. package/dist/tabs/index.css +1 -1
  27. package/dist/tabs/index.d.mts +29 -3
  28. package/dist/tabs/index.d.ts +29 -3
  29. package/dist/tabs/index.js +1 -1
  30. package/dist/tabs/index.mjs +1 -1
  31. package/dist/textarea/index.css +1 -1
  32. package/dist/toast/index.css +1 -1
  33. package/dist/toast/index.js +1 -1
  34. package/dist/toast/index.mjs +1 -1
  35. package/dist/tooltip/index.css +1 -1
  36. package/dist/tooltip/index.d.mts +7 -5
  37. package/dist/tooltip/index.d.ts +7 -5
  38. package/dist/tooltip/index.js +1 -1
  39. package/dist/tooltip/index.mjs +1 -1
  40. package/dist/tree/index.css +1 -1
  41. package/dist/tree/index.js +1 -1
  42. package/dist/tree/index.mjs +1 -1
  43. package/package.json +1 -1
  44. package/skill/AGENTS-SNIPPET.md +2 -2
  45. package/skill/SKILL.md +6 -6
  46. package/skill/VERSION.json +4 -4
  47. package/skill/references/components/dialog.md +2 -2
  48. package/skill/references/components/dropdown.md +1 -0
  49. package/skill/references/components/scroll-area.md +29 -0
  50. package/skill/references/components/tabs.md +16 -1
  51. package/skill/references/components/tooltip.md +7 -2
  52. package/skill/references/icons.md +5 -4
  53. package/skill/references/setup.md +1 -1
  54. package/skill/references/tokens.md +1 -1
  55. package/dist/chunk-45W5KD4T.js +0 -2
  56. package/dist/chunk-HSJ3C3FP.mjs +0 -1
  57. package/dist/chunk-HVFYR7UA.mjs +0 -2
  58. package/dist/chunk-JKY43GCS.mjs +0 -1
  59. package/dist/chunk-MH2WNTQF.mjs +0 -1
  60. package/dist/chunk-P56ABRDC.js +0 -1
  61. package/dist/chunk-TR5HCUR5.js +0 -1
  62. package/dist/chunk-UXFCTPA5.js +0 -1
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ 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
- export { TabItem, Tabs, TabsProps, TabsSize, TabsVariant } from './tabs/index.mjs';
7
+ export { TabItem, Tabs, TabsOverflow, TabsProps, TabsScrollOptions, TabsSize, TabsVariant } from './tabs/index.mjs';
8
8
  import { PopoverContentProps } from './popover/index.mjs';
9
9
  export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerProps } from './popover/index.mjs';
10
10
  export { Switch, SwitchProps, SwitchSize } from './switch/index.mjs';
@@ -70,6 +70,39 @@ interface EllipsisTooltipProps extends Omit<TooltipProps, "children" | "content"
70
70
  */
71
71
  declare const EllipsisTooltip: React__default.ForwardRefExoticComponent<EllipsisTooltipProps & React__default.RefAttributes<HTMLElement>>;
72
72
 
73
+ /**
74
+ * site 全局配置
75
+ *
76
+ * `Dialog.confirm` 等命令式 API 不在 React 树内,读不到 Provider 的 context,
77
+ * 因此 LingeeProvider 把 site 同步写入这个模块级变量供它们读取。
78
+ *
79
+ * site 用于开启仅特定宿主环境需要的集成能力,默认关闭,
80
+ * 其它项目使用组件库时行为不变。
81
+ *
82
+ * ── 为什么不是单个变量,而是一份带深度的注册表 ──
83
+ *
84
+ * Provider 可能嵌套(如文档站给个别隐藏页单独开 site,外层保持关闭),
85
+ * 也可能在运行时卸载(微前端子应用退出)。单变量 + 无条件覆盖会有两个问题:
86
+ *
87
+ * 1. **外层重渲染冲掉内层的值**。两层 Provider 首次渲染时内层后跑、值正确,
88
+ * 但外层此后任何一次重渲染(切语言、切主题)都会把它写回自己的值,
89
+ * 而 React 不一定跟着重渲内层。表现为代理能力时好时坏,复现条件隐蔽。
90
+ * 2. **卸载后值残留**。Provider 卸载了 site 还留着,后续命令式调用
91
+ * 仍按宿主环境走。
92
+ *
93
+ * 改为按实例注册,并记录每个实例在 React 树中的**深度**:
94
+ * 生效值取深度最大者,即最内层,与 context 的语义一致。
95
+ *
96
+ * 为什么用深度而非「最后注册者」:注册顺序在重渲染与卸载后会乱。
97
+ * 例如内层卸载后外层重渲染,Map 里外层反而成了最后一个 —— 恰好正确;
98
+ * 但若外层先重渲染再挂载另一个内层,顺序又反了。深度是结构属性,不受时序影响。
99
+ *
100
+ * 为什么用 Map 而非计数器:render 期的调用可能被 React 丢弃或重复执行
101
+ * (并发渲染、严格模式二次调用),计数会漂移;按 token 覆盖写入则天然幂等。
102
+ */
103
+ /** 组件库运行宿主标识。lingee = 运行在 lingee 客户端 webview 内 */
104
+ type LingeeSite = 'lingee';
105
+
73
106
  /**
74
107
  * 中文语言包(默认语言)
75
108
  * 按组件名为 key 组织翻译文案
@@ -192,6 +225,18 @@ type Locale = typeof zhCN;
192
225
  interface LingeeProviderProps {
193
226
  /** 语言包,默认中文 */
194
227
  locale?: Locale;
228
+ /**
229
+ * 运行宿主标识,默认不传。
230
+ *
231
+ * 传 "lingee" 表示应用运行在 lingee 客户端 webview 内,开启宿主集成能力:
232
+ * `Dialog.confirm` 与设置了 `lingeeRoute` 的 `Dialog` 会改由客户端渲染,
233
+ * 使遮罩能覆盖客户端侧边栏(webview 内的遮罩只能盖住 webview 视口)。
234
+ *
235
+ * 不传即保持纯前端行为,其它项目接入组件库不受影响。
236
+ * 注意:即使传了 lingee,浏览器环境下因取不到 lingeeBridge 也会自动回退本地渲染,
237
+ * 因此无需按环境条件传值。
238
+ */
239
+ site?: LingeeSite;
195
240
  children: ReactNode;
196
241
  }
197
242
 
@@ -322,7 +367,7 @@ declare const enUS: {
322
367
  * </LingeeProvider>
323
368
  * ```
324
369
  */
325
- declare function LingeeProvider({ locale, children }: LingeeProviderProps): react_jsx_runtime.JSX.Element;
370
+ declare function LingeeProvider({ locale, site, children }: LingeeProviderProps): react_jsx_runtime.JSX.Element;
326
371
  declare namespace LingeeProvider {
327
372
  var displayName: string;
328
373
  }
@@ -334,6 +379,10 @@ declare function useLocale(): Locale;
334
379
  * 获取指定组件的语言包片段
335
380
  */
336
381
  declare function useComponentLocale<K extends keyof Omit<Locale, "locale">>(componentName: K): Locale[K];
382
+ /**
383
+ * 获取当前接入方标识(React 组件内使用;命令式场景用 site-config 的 getSite)
384
+ */
385
+ declare function useSite(): LingeeSite | undefined;
337
386
 
338
387
  /** 预设语义色 */
339
388
  type TagPresetColor = "primary" | "info" | "success" | "warning" | "danger" | "amber" | "yellow" | "cyan" | "purple";
@@ -377,14 +426,100 @@ declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__de
377
426
 
378
427
  /** 透传给 OK/Cancel 按钮的属性子集(排除 children 和事件,由 Dialog 统一管理) */
379
428
  type DialogButtonProps = Omit<ButtonProps, "children" | "onClick" | "htmlType">;
429
+ /**
430
+ * 宿主弹窗配置
431
+ *
432
+ * 承载容器(客户端 webview / 被嵌的 iframe)内渲染的遮罩只能覆盖容器视口,
433
+ * 盖不住外层的侧边栏。传入本配置后,Dialog 在这类环境中不再本地渲染,
434
+ * 而是请求宿主在更外层开窗、加载 `route` 指向的独立路由页,遮罩即可覆盖整个宿主视口。
435
+ *
436
+ * 三条路径的选择由组件库内部完成(见 host-modal.ts):
437
+ * - 被 iframe 嵌套 → postMessage 请父窗口承载(端上父窗口会再转给客户端)
438
+ * - 客户端 webview 顶层(需 site="lingee")→ 直连 lingeeBridge
439
+ * - 浏览器顶层、或宿主拒绝承载 → 本地渲染 `children`
440
+ *
441
+ * 调用方无需分支判断,但 `children` 必须写上 —— 那是回退路径的内容。
442
+ *
443
+ * 尺寸无需单独配置:宽度取 Dialog 的 `width`;`height` / `maxHeight` 是面板总高,
444
+ * 直接沿用本地 Dialog 的尺寸。只有显式 `contentHeight` 表示纯内容区高度,
445
+ * 常规模式由组件库补上宿主标题栏的 68px,headless 模式不补。
446
+ */
447
+ interface DialogHostModal {
448
+ /** 应用内绝对路径,如 "/host-modal/skill-detail";宿主会拼上当前页 origin */
449
+ route: string;
450
+ /** 业务入参,经宿主内存传递,不落 URL;须可结构化克隆 */
451
+ params?: unknown;
452
+ /**
453
+ * 不要宿主的标题栏,头部由承载页自绘(默认 false)。
454
+ *
455
+ * 宿主标题栏只能显示一行纯文本 + 右上角关闭按钮。头部较复杂的弹窗
456
+ * (带图标、副标题、右侧操作、Tab 等)用它关掉,自己在承载页里画
457
+ * (配合 `HostModalPage` 的 `header`)。
458
+ *
459
+ * 两点后果:
460
+ * 1. **关闭按钮一并消失**(它长在标题栏上)。承载页必须自备关闭入口调
461
+ * `closeHostModal()`,否则用户只能点遮罩关闭。
462
+ * 2. `contentHeight` 不再叠加标题栏的 68px,内容区高度就是面板总高。
463
+ * `height` / `maxHeight` 无论是否 headless,始终表示面板总高。
464
+ *
465
+ * 回退路径(浏览器顶层)不受影响:那条渲染 Dialog 自己的外壳,
466
+ * 标题栏由 `title` / `closable` 控制。
467
+ */
468
+ headless?: boolean;
469
+ /**
470
+ * 纯内容区高度,优先于 Dialog 的 `height` / `maxHeight`。
471
+ *
472
+ * 宿主开窗必须在开窗前拿到确定像素值,而部分弹窗的高度是由 CSS 控制的
473
+ * (如 `max-height: 85vh`),组件库读不到。此时用本字段告知内容区高度即可:
474
+ * 有宿主标题栏时自动加 68px,headless 时直接作为面板总高。
475
+ */
476
+ contentHeight?: number;
477
+ /**
478
+ * 点击宿主遮罩是否关闭弹窗。
479
+ *
480
+ * **三态字段**:
481
+ * - 不传 → 沿用宿主的既有默认值(浏览器 webui 与客户端都是「可点遮罩关闭」)
482
+ * - `true` / `false` → 宿主一律按此值
483
+ *
484
+ * 为什么不复用 Dialog 的 `modal`:`modal` 只作用于本地渲染的外壳,且极性相反
485
+ * (`modal: true` 等于「不可关」)。宿主承载时组件库整个不产出 DOM,`modal`
486
+ * 到不了宿主;而把它顺带映射过去,会让 `Dialog.confirm` 那些默认 `modal: true`
487
+ * 的存量调用点在端上突然变成「点遮罩关不掉」—— 那是行为变更,不是补能力。
488
+ * 因此新增独立字段,只在显式声明时生效。
489
+ *
490
+ * ⚠️ 只管遮罩点击。Esc 与宿主标题栏的关闭按钮仍能关闭弹窗;
491
+ * `headless` 时没有关闭按钮,此处再传 `false` 会让弹窗只剩 Esc 可退出,
492
+ * 承载页必须自绘关闭入口。
493
+ *
494
+ * ⚠️ 旧客户端不认识该字段,会静默忽略并保持「可点遮罩关闭」。
495
+ * 若用它防止表单被误关,端上灰度期内防不住。
496
+ */
497
+ maskClosable?: boolean;
498
+ /**
499
+ * 宿主弹窗关闭时回调。
500
+ * @param result 承载页通过 `closeHostModal` 回传的业务结果;用户直接关窗时为 undefined
501
+ */
502
+ onResult?: (result?: unknown) => void;
503
+ }
380
504
  interface DialogProps {
381
505
  /** 是否打开 */
382
506
  open: boolean;
383
507
  /** 状态变化回调(关闭时 nextOpen=false) */
384
508
  onOpenChange: (open: boolean) => void;
509
+ /**
510
+ * 宿主弹窗配置。
511
+ *
512
+ * 传入后,在有外层容器的环境中(客户端 webview / 被 iframe 嵌套)本组件不渲染
513
+ * 任何 DOM,改由宿主开窗承载 `route` 路由页;浏览器顶层或宿主拒绝时自动回退
514
+ * 为本地渲染,`children` 照常生效。
515
+ *
516
+ * 客户端 webview 那条路径需 LingeeProvider 设置 site="lingee";
517
+ * iframe 那条不需要(被嵌的第三方页面拿不到该配置)。
518
+ */
519
+ hostModal?: DialogHostModal;
385
520
  /** 弹窗宽度,默认 460 */
386
521
  width?: number | string;
387
- /** 弹窗高度,默认自适应内容 */
522
+ /** 弹窗面板总高,默认自适应内容 */
388
523
  height?: number | string;
389
524
  /** 标题(支持 ReactNode) */
390
525
  title?: ReactNode;
@@ -418,7 +553,7 @@ interface DialogProps {
418
553
  destroyOnHidden?: boolean;
419
554
  /** 自定义 z-index */
420
555
  zIndex?: number;
421
- /** 内容区最大高度,默认 640px */
556
+ /** 弹窗面板总高上限,默认 640px */
422
557
  maxHeight?: number | string;
423
558
  /** 开启后 body 高度跟随内容自适应,弹窗整体高度由 maxHeight 兜底上限,默认 false */
424
559
  autoHeight?: boolean;
@@ -436,6 +571,25 @@ interface ConfirmRenderProps {
436
571
  }
437
572
  /** Dialog.confirm 命令式参数 */
438
573
  interface DialogConfirmOptions extends Omit<DialogProps, "open" | "onOpenChange" | "children"> {
574
+ /**
575
+ * 点击遮罩是否关闭确认框(按取消结算)。
576
+ *
577
+ * **三态字段**,不传时各渲染方保持各自现状 —— 这条链路的既有默认值本就不一致:
578
+ *
579
+ * | 渲染方 | 不传时的行为 |
580
+ * |---|---|
581
+ * | 本地渲染(`modal ?? true`) | 点遮罩**不**关闭 |
582
+ * | 浏览器里由 webui 承载 | 点遮罩**不**关闭(同样是本地 `Dialog.confirm`) |
583
+ * | 客户端原生确认框 | 点遮罩关闭,按取消结算 |
584
+ *
585
+ * 没有把端上拉平到「不关闭」:那会改变所有走代理的存量确认框行为,
586
+ * 而 webui 侧 `Dialog.confirm` 调用点有三十余处,收益不抵回归成本。
587
+ * 需要两端一致时显式传值即可 —— 显式传值会**同时**约束本地渲染与宿主,
588
+ * 这也是它与 `modal` 分开的原因:`modal` 只影响本地外壳且极性相反。
589
+ *
590
+ * 与 `modal` 同时出现时 `modal` 优先(它是更早的本地专用参数,不破坏既有代码)。
591
+ */
592
+ maskClosable?: boolean;
439
593
  /** 描述文案(使用默认布局时展示) */
440
594
  description?: ReactNode;
441
595
  /** 标题前的图标(使用默认布局时展示) */
@@ -452,14 +606,83 @@ interface DialogConfirmOptions extends Omit<DialogProps, "open" | "onOpenChange"
452
606
  */
453
607
  declare const Dialog$1: React__default.FC<DialogProps>;
454
608
 
455
- /**
456
- * 命令式确认弹窗
457
- * @returns Promise<boolean> — 确认返回 true,取消返回 false
458
- */
459
609
  declare function confirm(options: DialogConfirmOptions): Promise<boolean>;
460
610
  /** 命令式关闭当前 confirm 弹窗(不 resolve,用于外部强制关闭兜底) */
461
611
  declare function closeConfirm(): void;
462
612
 
613
+ /** 当前页面是否运行在宿主弹窗内(含端侧 webview 与浏览器 iframe 两种承载) */
614
+ declare function isInHostModal(): boolean;
615
+ /**
616
+ * 读取宿主传入的业务入参(同步)。
617
+ *
618
+ * 仅端侧承载可用 —— 那边是同步 IPC。浏览器 iframe 承载下必然返回 null,
619
+ * 需要用 `HostModalPage`(内部走异步通道)。
620
+ */
621
+ declare function getHostModalParams<T = unknown>(): T | null;
622
+ /**
623
+ * 通知宿主内容已渲染,据此撤掉 loading 占位。
624
+ *
625
+ * 不能让宿主依赖容器的加载事件:那只表示 DOM 结构就绪,
626
+ * 此时 SPA 的 JS 还没执行完、React 未挂载、页面是空白的,
627
+ * 过早撤 loading 会露出一段白屏。
628
+ */
629
+ declare function notifyHostModalReady(): void;
630
+ /** 关闭宿主弹窗并回传业务结果 */
631
+ declare function closeHostModal(result?: unknown): void;
632
+ interface HostModalPageProps<P> {
633
+ /**
634
+ * 内容渲染函数。
635
+ * @param params 宿主传入的业务入参
636
+ * @param close 回传结果并关窗
637
+ */
638
+ children: (params: P, close: (result?: unknown) => void) => React__default.ReactNode;
639
+ /**
640
+ * 无入参时的兜底渲染(页面被直接访问、或开发期无宿主)。
641
+ * 不提供则渲染 null。
642
+ */
643
+ fallback?: React__default.ReactNode;
644
+ /**
645
+ * 内容是否已就绪。
646
+ *
647
+ * 缺省 true —— 入参由宿主给出,拿到即等于内容可见。
648
+ * 若业务页还需等接口,传入 `!loading` 让 loading 占位保留到数据到位,
649
+ * 避免撤早了露出骨架或空列表。
650
+ *
651
+ * ⚠️ 注意宿主有 8 秒兜底超时,超时会切「连接失败」错误态。
652
+ * 接口可能慢过 8 秒的页面建议先渲染骨架并立即上报,数据到位后局部刷新。
653
+ */
654
+ ready?: boolean;
655
+ /**
656
+ * 自绘头部内容,配合发起端的 `hostModal.headless` 使用。
657
+ *
658
+ * 发起端开了 `headless` 后宿主不再渲染标题栏与关闭按钮,头部由这里提供。
659
+ * 渲染函数收到 `close`,用于绘制自己的关闭按钮。
660
+ *
661
+ * 只传本属性不会让宿主去掉标题栏 —— 那由发起端的 `headless` 决定。
662
+ * 两处不匹配的后果:发起端开了而这里没传 → 弹窗没有任何关闭入口(只能点遮罩);
663
+ * 这里传了而发起端没开 → 宿主标题栏与自绘头部上下叠两层。
664
+ */
665
+ header?: (close: (result?: unknown) => void) => React__default.ReactNode;
666
+ /** 附加到容器上的类名,用于控制内边距等业务样式 */
667
+ className?: string;
668
+ }
669
+ /**
670
+ * 宿主弹窗承载页外壳。
671
+ *
672
+ * @example
673
+ * export default function SkillDetailModalPage() {
674
+ * return (
675
+ * <HostModalPage<{ skill: Skill }> className="my-modal" fallback={<Navigate to="/skills" replace />}>
676
+ * {({ skill }, close) => <SkillDetailContent skill={skill} onUse={() => close({ type: 'use' })} />}
677
+ * </HostModalPage>
678
+ * );
679
+ * }
680
+ */
681
+ declare function HostModalPage<P = unknown>({ children, fallback, ready, header, className, }: HostModalPageProps<P>): react_jsx_runtime.JSX.Element | null;
682
+ declare namespace HostModalPage {
683
+ var displayName: string;
684
+ }
685
+
463
686
  type DialogType = typeof Dialog$1 & {
464
687
  confirm: typeof confirm;
465
688
  closeConfirm: typeof closeConfirm;
@@ -818,6 +1041,8 @@ interface DropdownSubContentProps extends Pick<PopoverContentProps, "side" | "al
818
1041
  * - width / minWidth 等其它 CSS 属性均可使用
819
1042
  */
820
1043
  style?: CSSProperties;
1044
+ /** 固定在面板底部的内容(不随列表滚动),与 DropdownContent 同口径 */
1045
+ footer?: ReactNode;
821
1046
  }
822
1047
  interface DropdownButtonProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
823
1048
  /** 按钮文本内容 */
@@ -2908,6 +3133,19 @@ interface ScrollAreaProps {
2908
3133
  onScroll?: UIEventHandler<HTMLDivElement>;
2909
3134
  /** Viewport(实际滚动元素)的 ref,用于外部控制滚动位置 */
2910
3135
  viewportRef?: Ref<HTMLDivElement>;
3136
+ /**
3137
+ * 声明「本组件是 flex/grid 容器的子项,请撑满分配到的高度」。
3138
+ *
3139
+ * 默认(false)下 viewport 通过 `height: inherit` 取高度,而 `inherit` 拿的是
3140
+ * 父级的**样式值**不是布局结果。当 Root 作为 flex item 被兄弟节点(如面板的
3141
+ * header / footer)压缩时,继承来的仍是未扣除头尾的整高,viewport 因此比 Root
3142
+ * 高出头尾的量,超出部分被裁掉且滚不到,列表末尾永远露不出来。
3143
+ *
3144
+ * 传 true 后 Root 转为 flex 容器、viewport 走 `flex: 1`,高度取自实际布局结果。
3145
+ * 代价是 Root 的 `display` 被组件占用,故不设为默认值 —— 只有确实放在
3146
+ * flex/grid 容器里被压缩的场景才需要开启。
3147
+ */
3148
+ fill?: boolean;
2911
3149
  }
2912
3150
  interface ScrollBarProps {
2913
3151
  /** 滚动条方向 */
@@ -3040,4 +3278,4 @@ declare const Carousel: CarouselComponent;
3040
3278
  */
3041
3279
  declare function cn(...inputs: ClassValue[]): string;
3042
3280
 
3043
- 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 CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfirmOptions, 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, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, 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, cn, enUS, formatFileSize, useComponentLocale, useLocale, zhCN };
3281
+ 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 CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, 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, 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, useComponentLocale, useLocale, useSite, zhCN };