@sia.soul/sia-react-ui 0.1.158 → 0.1.159
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-Wolx4zNc.d.ts → Select-BCVUoK0I.d.ts} +2 -0
- package/dist/{Select-DKfT3fJR.d.cts → Select-DIdEbGwf.d.cts} +2 -0
- package/dist/{chunk-IB3L4W36.js → chunk-4CFFAKIJ.js} +3 -3
- package/dist/{chunk-VRUTRTLY.js → chunk-6PIZGTNT.js} +2 -2
- package/dist/{chunk-SD3MG2PO.js → chunk-CDMCXNRK.js} +2 -2
- package/dist/{chunk-J4R734AI.js → chunk-PJCO6PPW.js} +1 -1
- package/dist/{chunk-5P274RXG.js → chunk-UGCKRFZN.js} +2 -2
- package/dist/{chunk-SCVUD2IJ.js → chunk-ZIH5VLPT.js} +2 -0
- package/dist/{core-CcDs7hvv.d.cts → core-B26pkBp_.d.cts} +1 -1
- package/dist/{core-C5vpcQlv.d.ts → core-sU1bV7QH.d.ts} +1 -1
- package/dist/core.cjs +2 -0
- package/dist/core.css +7 -0
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +4 -4
- package/dist/game.cjs +2 -0
- package/dist/game.css +7 -0
- package/dist/game.js +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.css +7 -0
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -6
- package/dist/rich-text-editor.cjs +2 -0
- package/dist/rich-text-editor.js +3 -3
- package/dist/{select-date-range-BxjiD6zL.d.cts → select-date-range-CIwE5nFu.d.cts} +1 -1
- package/dist/{select-date-range-D3-8mmAT.d.ts → select-date-range-DYrA87Tl.d.ts} +1 -1
- package/dist/select-date-range.cjs +2 -0
- package/dist/select-date-range.d.cts +2 -2
- package/dist/select-date-range.d.ts +2 -2
- package/dist/select-date-range.js +4 -4
- package/package.json +1 -1
|
@@ -26,6 +26,8 @@ interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onS
|
|
|
26
26
|
autoFocus?: boolean;
|
|
27
27
|
/** 标题 */
|
|
28
28
|
title?: ReactNode;
|
|
29
|
+
/** 标题栏右侧的扩展内容,显示在关闭按钮左侧;用于放置弹框级搜索等轻量控件,替代在正文独占一行的搜索框,不承载正文查询表单。 */
|
|
30
|
+
titleExtra?: ReactNode;
|
|
29
31
|
/** 弹框正文内容,默认字号为 13px;子元素可通过自身字号样式覆盖。 */
|
|
30
32
|
children?: ReactNode;
|
|
31
33
|
/** 自定义底部操作区,传 null 隐藏 */
|
|
@@ -26,6 +26,8 @@ interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onS
|
|
|
26
26
|
autoFocus?: boolean;
|
|
27
27
|
/** 标题 */
|
|
28
28
|
title?: ReactNode;
|
|
29
|
+
/** 标题栏右侧的扩展内容,显示在关闭按钮左侧;用于放置弹框级搜索等轻量控件,替代在正文独占一行的搜索框,不承载正文查询表单。 */
|
|
30
|
+
titleExtra?: ReactNode;
|
|
29
31
|
/** 弹框正文内容,默认字号为 13px;子元素可通过自身字号样式覆盖。 */
|
|
30
32
|
children?: ReactNode;
|
|
31
33
|
/** 自定义底部操作区,传 null 隐藏 */
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Popover,
|
|
3
3
|
Tooltip
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UGCKRFZN.js";
|
|
5
5
|
import {
|
|
6
6
|
Dropdown
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJCO6PPW.js";
|
|
8
8
|
import {
|
|
9
9
|
TextArea
|
|
10
10
|
} from "./chunk-NRLIOMXY.js";
|
|
11
11
|
import {
|
|
12
12
|
Icon,
|
|
13
13
|
useOverlayLifecycle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZIH5VLPT.js";
|
|
15
15
|
import {
|
|
16
16
|
Button
|
|
17
17
|
} from "./chunk-PU2V3VB5.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Dropdown,
|
|
3
3
|
Input
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PJCO6PPW.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon,
|
|
7
7
|
Modal,
|
|
8
8
|
isAnchorBehindOverlay,
|
|
9
9
|
subscribeOverlayLayers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZIH5VLPT.js";
|
|
11
11
|
import {
|
|
12
12
|
Button
|
|
13
13
|
} from "./chunk-PU2V3VB5.js";
|
|
@@ -1457,6 +1457,7 @@ var ModalRoot = forwardRef2(function Modal({
|
|
|
1457
1457
|
loadingFallback,
|
|
1458
1458
|
autoFocus = true,
|
|
1459
1459
|
title,
|
|
1460
|
+
titleExtra,
|
|
1460
1461
|
children,
|
|
1461
1462
|
footer,
|
|
1462
1463
|
footerExtra,
|
|
@@ -1565,6 +1566,7 @@ var ModalRoot = forwardRef2(function Modal({
|
|
|
1565
1566
|
typeIcons[type] ? /* @__PURE__ */ jsx6("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
1566
1567
|
title ? /* @__PURE__ */ jsx6("strong", { id: titleId, children: title }) : null
|
|
1567
1568
|
] }),
|
|
1569
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ jsx6("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
1568
1570
|
closable ? /* @__PURE__ */ jsx6("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ jsx6(Icon, { name: "close", size: 17 }) }) : null
|
|
1569
1571
|
] }),
|
|
1570
1572
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ jsx6("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ jsx6(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ jsx6(Skeleton, {}) }) : null,
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, HTMLAttributes, CSSProperties, MouseEvent, ReactElement, ImgHTMLAttributes, InputHTMLAttributes, MouseEventHandler, AnchorHTMLAttributes, ButtonHTMLAttributes, RefObject } from 'react';
|
|
3
3
|
import { B as ButtonProps, b as Button } from './Button-xLR4Yt57.cjs';
|
|
4
4
|
import { C as ControlSize, a as ControlStatus, I as InputPlaceholderMode } from './shared-Bx4B28Wh.cjs';
|
|
5
|
-
import './Select-
|
|
5
|
+
import './Select-DIdEbGwf.cjs';
|
|
6
6
|
|
|
7
7
|
/** 单个工具栏操作及其下拉菜单。 */
|
|
8
8
|
interface ToolbarItem {
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, HTMLAttributes, CSSProperties, MouseEvent, ReactElement, ImgHTMLAttributes, InputHTMLAttributes, MouseEventHandler, AnchorHTMLAttributes, ButtonHTMLAttributes, RefObject } from 'react';
|
|
3
3
|
import { B as ButtonProps, b as Button } from './Button-B59TIes7.js';
|
|
4
4
|
import { C as ControlSize, a as ControlStatus, I as InputPlaceholderMode } from './shared-Bx4B28Wh.js';
|
|
5
|
-
import './Select-
|
|
5
|
+
import './Select-BCVUoK0I.js';
|
|
6
6
|
|
|
7
7
|
/** 单个工具栏操作及其下拉菜单。 */
|
|
8
8
|
interface ToolbarItem {
|
package/dist/core.cjs
CHANGED
|
@@ -4593,6 +4593,7 @@ var ModalRoot = (0, import_react25.forwardRef)(function Modal({
|
|
|
4593
4593
|
loadingFallback,
|
|
4594
4594
|
autoFocus = true,
|
|
4595
4595
|
title,
|
|
4596
|
+
titleExtra,
|
|
4596
4597
|
children,
|
|
4597
4598
|
footer,
|
|
4598
4599
|
footerExtra,
|
|
@@ -4701,6 +4702,7 @@ var ModalRoot = (0, import_react25.forwardRef)(function Modal({
|
|
|
4701
4702
|
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
4702
4703
|
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("strong", { id: titleId, children: title }) : null
|
|
4703
4704
|
] }),
|
|
4705
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
4704
4706
|
closable ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
4705
4707
|
] }),
|
|
4706
4708
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Skeleton, {}) }) : null,
|
package/dist/core.css
CHANGED
|
@@ -2323,6 +2323,13 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2323
2323
|
font-size: var(--sia-font-size-large);
|
|
2324
2324
|
line-height: 1.35;
|
|
2325
2325
|
}
|
|
2326
|
+
.sia-modal__title-extra {
|
|
2327
|
+
display: flex;
|
|
2328
|
+
align-items: center;
|
|
2329
|
+
gap: 8px;
|
|
2330
|
+
margin-left: auto;
|
|
2331
|
+
min-width: 0;
|
|
2332
|
+
}
|
|
2326
2333
|
.sia-modal__type-icon {
|
|
2327
2334
|
display: inline-flex;
|
|
2328
2335
|
flex: 0 0 auto;
|
package/dist/core.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-B26pkBp_.cjs';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-xLR4Yt57.cjs';
|
|
3
|
-
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-
|
|
3
|
+
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-DIdEbGwf.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './shared-Bx4B28Wh.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-sU1bV7QH.js';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-B59TIes7.js';
|
|
3
|
-
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-
|
|
3
|
+
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-BCVUoK0I.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './shared-Bx4B28Wh.js';
|
package/dist/core.js
CHANGED
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
Typography,
|
|
12
12
|
Upload,
|
|
13
13
|
message
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4CFFAKIJ.js";
|
|
15
15
|
import "./chunk-RX242MUO.js";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UGCKRFZN.js";
|
|
19
19
|
import {
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PJCO6PPW.js";
|
|
23
23
|
import "./chunk-NRLIOMXY.js";
|
|
24
24
|
import {
|
|
25
25
|
Icon,
|
|
26
26
|
Modal,
|
|
27
27
|
Skeleton
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZIH5VLPT.js";
|
|
29
29
|
import {
|
|
30
30
|
Button
|
|
31
31
|
} from "./chunk-PU2V3VB5.js";
|
package/dist/game.cjs
CHANGED
|
@@ -3217,6 +3217,7 @@ var ModalRoot = (0, import_react12.forwardRef)(function Modal({
|
|
|
3217
3217
|
loadingFallback,
|
|
3218
3218
|
autoFocus = true,
|
|
3219
3219
|
title,
|
|
3220
|
+
titleExtra,
|
|
3220
3221
|
children,
|
|
3221
3222
|
footer,
|
|
3222
3223
|
footerExtra,
|
|
@@ -3325,6 +3326,7 @@ var ModalRoot = (0, import_react12.forwardRef)(function Modal({
|
|
|
3325
3326
|
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
3326
3327
|
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("strong", { id: titleId, children: title }) : null
|
|
3327
3328
|
] }),
|
|
3329
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
3328
3330
|
closable ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
3329
3331
|
] }),
|
|
3330
3332
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Skeleton, {}) }) : null,
|
package/dist/game.css
CHANGED
|
@@ -2374,6 +2374,13 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2374
2374
|
font-size: var(--sia-font-size-large);
|
|
2375
2375
|
line-height: 1.35;
|
|
2376
2376
|
}
|
|
2377
|
+
.sia-modal__title-extra {
|
|
2378
|
+
display: flex;
|
|
2379
|
+
align-items: center;
|
|
2380
|
+
gap: 8px;
|
|
2381
|
+
margin-left: auto;
|
|
2382
|
+
min-width: 0;
|
|
2383
|
+
}
|
|
2377
2384
|
.sia-modal__type-icon {
|
|
2378
2385
|
display: inline-flex;
|
|
2379
2386
|
flex: 0 0 auto;
|
package/dist/game.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4593,6 +4593,7 @@ var ModalRoot = (0, import_react21.forwardRef)(function Modal({
|
|
|
4593
4593
|
loadingFallback,
|
|
4594
4594
|
autoFocus = true,
|
|
4595
4595
|
title,
|
|
4596
|
+
titleExtra,
|
|
4596
4597
|
children,
|
|
4597
4598
|
footer,
|
|
4598
4599
|
footerExtra,
|
|
@@ -4701,6 +4702,7 @@ var ModalRoot = (0, import_react21.forwardRef)(function Modal({
|
|
|
4701
4702
|
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
4702
4703
|
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("strong", { id: titleId, children: title }) : null
|
|
4703
4704
|
] }),
|
|
4705
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
4704
4706
|
closable ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
4705
4707
|
] }),
|
|
4706
4708
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Skeleton, {}) }) : null,
|
package/dist/index.css
CHANGED
|
@@ -2323,6 +2323,13 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2323
2323
|
font-size: var(--sia-font-size-large);
|
|
2324
2324
|
line-height: 1.35;
|
|
2325
2325
|
}
|
|
2326
|
+
.sia-modal__title-extra {
|
|
2327
|
+
display: flex;
|
|
2328
|
+
align-items: center;
|
|
2329
|
+
gap: 8px;
|
|
2330
|
+
margin-left: auto;
|
|
2331
|
+
min-width: 0;
|
|
2332
|
+
}
|
|
2326
2333
|
.sia-modal__type-icon {
|
|
2327
2334
|
display: inline-flex;
|
|
2328
2335
|
flex: 0 0 auto;
|
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, VideoHTMLAttributes } 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 FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-
|
|
3
|
+
import { T as TagStatus, B as BadgeProps } from './core-B26pkBp_.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 FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-B26pkBp_.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-xLR4Yt57.cjs';
|
|
7
7
|
export { b as Button, c as ButtonVariant } from './Button-xLR4Yt57.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-DIdEbGwf.cjs';
|
|
9
|
+
export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-DIdEbGwf.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-CIwE5nFu.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';
|
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, VideoHTMLAttributes } 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 FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-
|
|
3
|
+
import { T as TagStatus, B as BadgeProps } from './core-sU1bV7QH.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 FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-sU1bV7QH.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-B59TIes7.js';
|
|
7
7
|
export { b as Button, c as ButtonVariant } from './Button-B59TIes7.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-BCVUoK0I.js';
|
|
9
|
+
export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-BCVUoK0I.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-DYrA87Tl.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';
|
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
Watermark,
|
|
83
83
|
message,
|
|
84
84
|
notification
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-4CFFAKIJ.js";
|
|
86
86
|
import "./chunk-RX242MUO.js";
|
|
87
87
|
import {
|
|
88
88
|
MarkdownEditor
|
|
@@ -90,12 +90,12 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
RichTextContent,
|
|
92
92
|
RichTextEditor
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-6PIZGTNT.js";
|
|
94
94
|
import {
|
|
95
95
|
DatePicker,
|
|
96
96
|
SelectDateRange,
|
|
97
97
|
TimePanel
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-CDMCXNRK.js";
|
|
99
99
|
import {
|
|
100
100
|
Checkbox,
|
|
101
101
|
OverflowTags,
|
|
@@ -107,14 +107,14 @@ import {
|
|
|
107
107
|
Tree,
|
|
108
108
|
normalizeSelectionValues,
|
|
109
109
|
usePressFeedback
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-UGCKRFZN.js";
|
|
111
111
|
import {
|
|
112
112
|
Dropdown,
|
|
113
113
|
Input,
|
|
114
114
|
Menu,
|
|
115
115
|
Segmented,
|
|
116
116
|
Steps
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-PJCO6PPW.js";
|
|
118
118
|
import {
|
|
119
119
|
TextArea
|
|
120
120
|
} from "./chunk-NRLIOMXY.js";
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
Skeleton,
|
|
129
129
|
useOverlayExitPlaceholder,
|
|
130
130
|
useOverlayLifecycle
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ZIH5VLPT.js";
|
|
132
132
|
import {
|
|
133
133
|
Button
|
|
134
134
|
} from "./chunk-PU2V3VB5.js";
|
|
@@ -3244,6 +3244,7 @@ var ModalRoot = (0, import_react15.forwardRef)(function Modal({
|
|
|
3244
3244
|
loadingFallback,
|
|
3245
3245
|
autoFocus = true,
|
|
3246
3246
|
title,
|
|
3247
|
+
titleExtra,
|
|
3247
3248
|
children,
|
|
3248
3249
|
footer,
|
|
3249
3250
|
footerExtra,
|
|
@@ -3352,6 +3353,7 @@ var ModalRoot = (0, import_react15.forwardRef)(function Modal({
|
|
|
3352
3353
|
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
3353
3354
|
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("strong", { id: titleId, children: title }) : null
|
|
3354
3355
|
] }),
|
|
3356
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
3355
3357
|
closable ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
3356
3358
|
] }),
|
|
3357
3359
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Skeleton, {}) }) : null,
|
package/dist/rich-text-editor.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RichTextContent,
|
|
3
3
|
RichTextEditor
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6PIZGTNT.js";
|
|
5
|
+
import "./chunk-PJCO6PPW.js";
|
|
6
6
|
import "./chunk-NRLIOMXY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZIH5VLPT.js";
|
|
8
8
|
import "./chunk-PU2V3VB5.js";
|
|
9
9
|
import "./chunk-YO5OJQEH.js";
|
|
10
10
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { InputHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties } from 'react';
|
|
3
3
|
import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
|
|
4
|
-
import { S as SelectOption, j as SelectValue } from './Select-
|
|
4
|
+
import { S as SelectOption, j as SelectValue } from './Select-DIdEbGwf.cjs';
|
|
5
5
|
|
|
6
6
|
/** 日期选择附带的时间选择配置。 */
|
|
7
7
|
type DatePickerShowTime = boolean | {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { InputHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties } from 'react';
|
|
3
3
|
import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.js';
|
|
4
|
-
import { S as SelectOption, j as SelectValue } from './Select-
|
|
4
|
+
import { S as SelectOption, j as SelectValue } from './Select-BCVUoK0I.js';
|
|
5
5
|
|
|
6
6
|
/** 日期选择附带的时间选择配置。 */
|
|
7
7
|
type DatePickerShowTime = boolean | {
|
|
@@ -3405,6 +3405,7 @@ var ModalRoot = (0, import_react13.forwardRef)(function Modal({
|
|
|
3405
3405
|
loadingFallback,
|
|
3406
3406
|
autoFocus = true,
|
|
3407
3407
|
title,
|
|
3408
|
+
titleExtra,
|
|
3408
3409
|
children,
|
|
3409
3410
|
footer,
|
|
3410
3411
|
footerExtra,
|
|
@@ -3513,6 +3514,7 @@ var ModalRoot = (0, import_react13.forwardRef)(function Modal({
|
|
|
3513
3514
|
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
3514
3515
|
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("strong", { id: titleId, children: title }) : null
|
|
3515
3516
|
] }),
|
|
3517
|
+
titleExtra != null && titleExtra !== false ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "sia-modal__title-extra", children: titleExtra }) : null,
|
|
3516
3518
|
closable ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
3517
3519
|
] }),
|
|
3518
3520
|
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Skeleton, {}) }) : null,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-
|
|
1
|
+
export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-CIwE5nFu.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './shared-Bx4B28Wh.cjs';
|
|
4
|
-
import './Select-
|
|
4
|
+
import './Select-DIdEbGwf.cjs';
|
|
5
5
|
import './Button-xLR4Yt57.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-
|
|
1
|
+
export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-DYrA87Tl.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './shared-Bx4B28Wh.js';
|
|
4
|
-
import './Select-
|
|
4
|
+
import './Select-BCVUoK0I.js';
|
|
5
5
|
import './Button-B59TIes7.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SelectDateRange
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CDMCXNRK.js";
|
|
4
|
+
import "./chunk-UGCKRFZN.js";
|
|
5
|
+
import "./chunk-PJCO6PPW.js";
|
|
6
6
|
import "./chunk-NRLIOMXY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZIH5VLPT.js";
|
|
8
8
|
import "./chunk-PU2V3VB5.js";
|
|
9
9
|
import "./chunk-YO5OJQEH.js";
|
|
10
10
|
import {
|