@sia.soul/sia-react-ui 0.1.113 → 0.1.115

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.css CHANGED
@@ -5919,14 +5919,6 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
5919
5919
  flex: 1 1 auto;
5920
5920
  cursor: default;
5921
5921
  }
5922
- .sia-window-titlebar[data-drag-mode=native],
5923
- .sia-window-titlebar[data-drag-mode=native] * {
5924
- app-region: drag;
5925
- }
5926
- .sia-window-titlebar[data-drag-mode=native] :is(button, input, textarea, select, a, label, summary, [contenteditable=true], [tabindex]:not([tabindex="-1"]), [role=button], [role=link], [role=menuitem], [role=tab], [data-sia-window-no-drag]),
5927
- .sia-window-titlebar[data-drag-mode=native] :is(button, input, textarea, select, a, label, summary, [contenteditable=true], [tabindex]:not([tabindex="-1"]), [role=button], [role=link], [role=menuitem], [role=tab], [data-sia-window-no-drag]) * {
5928
- app-region: no-drag;
5929
- }
5930
5922
  .sia-window-controls {
5931
5923
  box-sizing: border-box;
5932
5924
  display: flex;
@@ -8266,6 +8258,51 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8266
8258
  pointer-events: none;
8267
8259
  z-index: -1;
8268
8260
  }
8261
+ .sia-menu--grid,
8262
+ .sia-menu--grid .sia-menu__group > ul {
8263
+ display: grid;
8264
+ grid-template-columns: var(--sia-menu-grid-columns, repeat(2, minmax(0, 1fr)));
8265
+ gap: 8px;
8266
+ align-content: start;
8267
+ border-inline-end: 0;
8268
+ }
8269
+ .sia-menu--grid > .sia-menu__entry,
8270
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry {
8271
+ min-width: 0;
8272
+ margin: 0;
8273
+ }
8274
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item,
8275
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item {
8276
+ flex-direction: column;
8277
+ justify-content: flex-start;
8278
+ gap: 10px;
8279
+ height: 100%;
8280
+ min-height: 108px;
8281
+ padding: 14px 6px 10px;
8282
+ border: 1px solid var(--sia-color-border);
8283
+ border-radius: var(--sia-radius-lg, 10px);
8284
+ text-align: center;
8285
+ }
8286
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__label,
8287
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__label {
8288
+ flex: 0 0 auto;
8289
+ width: 100%;
8290
+ margin-top: auto;
8291
+ font-size: 12px;
8292
+ line-height: 1.5;
8293
+ white-space: normal;
8294
+ overflow-wrap: anywhere;
8295
+ }
8296
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__applied,
8297
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__applied {
8298
+ top: 8px;
8299
+ right: 6px;
8300
+ transform: none;
8301
+ }
8302
+ .sia-menu--grid > .sia-menu__divider,
8303
+ .sia-menu--grid > .sia-menu__group {
8304
+ grid-column: 1 / -1;
8305
+ }
8269
8306
  .sia-menu__extra {
8270
8307
  color: var(--sia-color-text-secondary);
8271
8308
  font-size: 12px;
@@ -11004,6 +11041,37 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
11004
11041
  color: var(--sia-color-text-secondary);
11005
11042
  pointer-events: none;
11006
11043
  }
11044
+ .sia-cursor-preview__hotspot {
11045
+ position: absolute;
11046
+ inset: 0;
11047
+ z-index: 2;
11048
+ pointer-events: none;
11049
+ overflow: visible;
11050
+ }
11051
+ .sia-cursor-preview__hotspot polyline {
11052
+ fill: none;
11053
+ stroke: #007cb8;
11054
+ stroke-width: 2;
11055
+ stroke-linecap: round;
11056
+ stroke-linejoin: round;
11057
+ }
11058
+ .sia-cursor-preview__hotspot circle {
11059
+ fill: #007cb8;
11060
+ }
11061
+ .sia-cursor-preview__hotspot text {
11062
+ fill: #946100;
11063
+ font-size: 14px;
11064
+ font-weight: 600;
11065
+ }
11066
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot polyline {
11067
+ stroke: #00b5f5;
11068
+ }
11069
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot circle {
11070
+ fill: #00b5f5;
11071
+ }
11072
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot text {
11073
+ fill: #ffc444;
11074
+ }
11007
11075
 
11008
11076
  /* src/components/Table/canvas.css */
11009
11077
  .sia-table__canvas-layer {
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-CEaTbhWd.cjs';
4
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-CEaTbhWd.cjs';
3
+ import { T as TagStatus, B as BadgeProps } from './core-O6oDXbkG.cjs';
4
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-O6oDXbkG.cjs';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
6
6
  import { B as ButtonProps, a as ButtonSize } from './Button-O_pNB3SQ.cjs';
7
7
  export { b as Button, c as ButtonVariant } from './Button-O_pNB3SQ.cjs';
8
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-Cf0xz1Tg.cjs';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-Cf0xz1Tg.cjs';
10
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-Cm5o2xPp.cjs';
8
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-BAFXKVZB.cjs';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-BAFXKVZB.cjs';
10
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-CIiI0F5o.cjs';
11
11
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.cjs';
12
12
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.cjs';
13
13
  import * as Monaco from 'monaco-editor';
@@ -35,6 +35,8 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
35
35
  playing?: boolean;
36
36
  /** 移入区域后隐藏原生指针,并按热点跟随鼠标位置;移出后回到中央。图片加载失败时保留原生指针。@defaultValue true */
37
37
  followPointer?: boolean;
38
+ /** 鼠标未移入且图片有效时,用折线和“指针点”标出当前帧真实热点;移入后立即隐藏,移出恢复。不依赖 followPointer,业务可仅在正常选择角色启用。@defaultValue false */
39
+ showHotspot?: boolean;
38
40
  /** 区域高度,数值单位为 CSS 像素;也可传 CSS 长度。@defaultValue 180 */
39
41
  height?: number | string;
40
42
  /** 未提供帧时显示的内容。@defaultValue '暂无指针预览' */
@@ -43,7 +45,7 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
43
45
  alt?: string;
44
46
  }
45
47
  /** 展示指针原画、逐帧动画与热点跟随,复用 Sia 图片组件和主题令牌。 */
46
- declare function CursorPreview({ frames, size, playing, followPointer, height, empty, alt, className, style, children, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
48
+ declare function CursorPreview({ frames, size, playing, followPointer, showHotspot, height, empty, alt, className, style, children, onPointerEnter, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
47
49
 
48
50
  /** 自适应容器的实测尺寸,单位为 CSS 像素。 */
49
51
  interface AutoSizerSize {
@@ -640,13 +642,6 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
640
642
  * @defaultValue true
641
643
  */
642
644
  draggable?: boolean;
643
- /**
644
- * 标题栏拖动方式,默认 callback:鼠标按下时通过 onWindowAction 通知宿主拖动或双击最大化。
645
- * native 使用 app-region CSS,由支持该能力的桌面宿主管理移动、双击和系统菜单,不发送拖动或双击回调;
646
- * WebView2 宿主须在导航前启用 IsNonClientRegionSupportEnabled,普通浏览器不支持原生拖动。
647
- * draggable=false 时两种方式均禁用;标题栏按钮、操作区和 data-sia-window-no-drag 区域始终排除。
648
- */
649
- dragMode?: "callback" | "native";
650
645
  /** 不允许执行的窗口操作集合。 */
651
646
  disabledActions?: readonly WindowControlAction[];
652
647
  /** 窗口控制按钮的文案。 */
@@ -659,7 +654,7 @@ declare function WindowFrame({ titleBar, textSelectable, className, children, ..
659
654
  /** 窗口控制按钮组件。 */
660
655
  declare function WindowControls({ maximized, showMinimize, showMaximize, showClose, disabledActions, labels, onAction, className, ...props }: WindowControlsProps): react.JSX.Element;
661
656
  /** 窗口标题栏组件。 */
662
- declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, dragMode, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
657
+ declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
663
658
 
664
659
  /** 抽屉的位置类型。 */
665
660
  type DrawerPlacement = "left" | "right" | "top" | "bottom";
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-C6muCCSS.js';
4
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-C6muCCSS.js';
3
+ import { T as TagStatus, B as BadgeProps } from './core-uVaNwjTO.js';
4
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-uVaNwjTO.js';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
6
6
  import { B as ButtonProps, a as ButtonSize } from './Button-BiL3Wjsd.js';
7
7
  export { b as Button, c as ButtonVariant } from './Button-BiL3Wjsd.js';
8
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-BddM4uXC.js';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-BddM4uXC.js';
10
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-yGDEA1RP.js';
8
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-vjX7B63I.js';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-vjX7B63I.js';
10
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-C9jlUrCX.js';
11
11
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.js';
12
12
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.js';
13
13
  import * as Monaco from 'monaco-editor';
@@ -35,6 +35,8 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
35
35
  playing?: boolean;
36
36
  /** 移入区域后隐藏原生指针,并按热点跟随鼠标位置;移出后回到中央。图片加载失败时保留原生指针。@defaultValue true */
37
37
  followPointer?: boolean;
38
+ /** 鼠标未移入且图片有效时,用折线和“指针点”标出当前帧真实热点;移入后立即隐藏,移出恢复。不依赖 followPointer,业务可仅在正常选择角色启用。@defaultValue false */
39
+ showHotspot?: boolean;
38
40
  /** 区域高度,数值单位为 CSS 像素;也可传 CSS 长度。@defaultValue 180 */
39
41
  height?: number | string;
40
42
  /** 未提供帧时显示的内容。@defaultValue '暂无指针预览' */
@@ -43,7 +45,7 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
43
45
  alt?: string;
44
46
  }
45
47
  /** 展示指针原画、逐帧动画与热点跟随,复用 Sia 图片组件和主题令牌。 */
46
- declare function CursorPreview({ frames, size, playing, followPointer, height, empty, alt, className, style, children, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
48
+ declare function CursorPreview({ frames, size, playing, followPointer, showHotspot, height, empty, alt, className, style, children, onPointerEnter, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
47
49
 
48
50
  /** 自适应容器的实测尺寸,单位为 CSS 像素。 */
49
51
  interface AutoSizerSize {
@@ -640,13 +642,6 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
640
642
  * @defaultValue true
641
643
  */
642
644
  draggable?: boolean;
643
- /**
644
- * 标题栏拖动方式,默认 callback:鼠标按下时通过 onWindowAction 通知宿主拖动或双击最大化。
645
- * native 使用 app-region CSS,由支持该能力的桌面宿主管理移动、双击和系统菜单,不发送拖动或双击回调;
646
- * WebView2 宿主须在导航前启用 IsNonClientRegionSupportEnabled,普通浏览器不支持原生拖动。
647
- * draggable=false 时两种方式均禁用;标题栏按钮、操作区和 data-sia-window-no-drag 区域始终排除。
648
- */
649
- dragMode?: "callback" | "native";
650
645
  /** 不允许执行的窗口操作集合。 */
651
646
  disabledActions?: readonly WindowControlAction[];
652
647
  /** 窗口控制按钮的文案。 */
@@ -659,7 +654,7 @@ declare function WindowFrame({ titleBar, textSelectable, className, children, ..
659
654
  /** 窗口控制按钮组件。 */
660
655
  declare function WindowControls({ maximized, showMinimize, showMaximize, showClose, disabledActions, labels, onAction, className, ...props }: WindowControlsProps): react.JSX.Element;
661
656
  /** 窗口标题栏组件。 */
662
- declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, dragMode, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
657
+ declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
663
658
 
664
659
  /** 抽屉的位置类型。 */
665
660
  type DrawerPlacement = "left" | "right" | "top" | "bottom";