@sia.soul/sia-react-ui 0.1.114 → 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/{Select-Cf0xz1Tg.d.cts → Select-BAFXKVZB.d.cts} +1 -1
- package/dist/{Select-BddM4uXC.d.ts → Select-vjX7B63I.d.ts} +1 -1
- package/dist/{chunk-NKENBSLP.js → chunk-6XQ2LDGT.js} +1 -1
- package/dist/{chunk-DUOOIPWH.js → chunk-GNOZYUIH.js} +7 -4
- package/dist/{chunk-7KNHBJZX.js → chunk-KPOK4HIQ.js} +10 -3
- package/dist/{chunk-6CII5JCT.js → chunk-MDU5EONC.js} +1 -1
- package/dist/{chunk-IOVN3QL7.js → chunk-SPIQSYWQ.js} +4 -1
- package/dist/{core-CEaTbhWd.d.cts → core-O6oDXbkG.d.cts} +10 -6
- package/dist/{core-C6muCCSS.d.ts → core-uVaNwjTO.d.ts} +10 -6
- package/dist/core.cjs +13 -3
- package/dist/core.css +45 -0
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +3 -3
- package/dist/index.cjs +66 -13
- package/dist/index.css +76 -0
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +164 -124
- package/dist/rich-text-editor.cjs +4 -1
- package/dist/rich-text-editor.js +2 -2
- package/dist/{select-date-range-yGDEA1RP.d.ts → select-date-range-C9jlUrCX.d.ts} +1 -1
- package/dist/{select-date-range-Cm5o2xPp.d.cts → select-date-range-CIiI0F5o.d.cts} +1 -1
- package/dist/select-date-range.cjs +9 -2
- package/dist/select-date-range.d.cts +2 -2
- package/dist/select-date-range.d.ts +2 -2
- package/dist/select-date-range.js +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -8258,6 +8258,51 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
|
|
|
8258
8258
|
pointer-events: none;
|
|
8259
8259
|
z-index: -1;
|
|
8260
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
|
+
}
|
|
8261
8306
|
.sia-menu__extra {
|
|
8262
8307
|
color: var(--sia-color-text-secondary);
|
|
8263
8308
|
font-size: 12px;
|
|
@@ -10996,6 +11041,37 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
|
|
|
10996
11041
|
color: var(--sia-color-text-secondary);
|
|
10997
11042
|
pointer-events: none;
|
|
10998
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
|
+
}
|
|
10999
11075
|
|
|
11000
11076
|
/* src/components/Table/canvas.css */
|
|
11001
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-
|
|
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-
|
|
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-
|
|
9
|
-
export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-
|
|
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-
|
|
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 {
|
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-
|
|
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-
|
|
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-
|
|
9
|
-
export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-
|
|
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-
|
|
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 {
|