@sia.soul/sia-react-ui 0.1.24 → 0.1.26
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-O_yY51vc.d.ts → Select-CCrPqULn.d.ts} +1 -1
- package/dist/{Select-W_xpkpOW.d.cts → Select-YJbT-MF1.d.cts} +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.js +4 -4
- package/dist/{chunk-6R7JY7IY.js → chunk-5MW3NE2V.js} +227 -202
- package/dist/{chunk-T2QIW4OO.js → chunk-IQU4GGLM.js} +11 -5
- package/dist/{chunk-6WBABNAX.js → chunk-IYNS423D.js} +1 -1
- package/dist/{chunk-RGXVPS37.js → chunk-LK56NX5F.js} +3 -3
- package/dist/{chunk-LIYCU2GU.js → chunk-NAOV53NK.js} +5 -5
- package/dist/{chunk-LA7O3PN4.js → chunk-PXHBIRQW.js} +1 -1
- package/dist/{chunk-NSSPGXNM.js → chunk-RAO3JHDL.js} +1 -1
- package/dist/{chunk-GUXAWU63.js → chunk-TZROBD65.js} +3 -3
- package/dist/{chunk-LRPQ5FGE.js → chunk-YF2I6SDB.js} +3 -3
- package/dist/{chunk-OH6YILJW.js → chunk-YQDHCORW.js} +1 -1
- package/dist/{core-tbb9ZiBY.d.cts → core-BM-wnJRa.d.cts} +3 -3
- package/dist/{core-BOzLwiXG.d.ts → core-CLqv6btD.d.ts} +3 -3
- package/dist/core.cjs +270 -243
- package/dist/core.css +10 -5
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +6 -6
- package/dist/index.cjs +296 -252
- package/dist/index.css +10 -5
- package/dist/index.d.cts +20 -14
- package/dist/index.d.ts +20 -14
- package/dist/index.js +29 -15
- package/dist/markdown-editor.cjs +1 -1
- package/dist/markdown-editor.js +2 -2
- package/dist/rich-text-editor.cjs +2 -2
- package/dist/rich-text-editor.js +4 -4
- package/dist/{select-date-range-C9w8z3G8.d.cts → select-date-range-CtA-B8DB.d.cts} +1 -1
- package/dist/{select-date-range-BjqFUeU6.d.ts → select-date-range-D9W_mmMq.d.ts} +1 -1
- package/dist/select-date-range.cjs +706 -674
- package/dist/select-date-range.d.cts +2 -2
- package/dist/select-date-range.d.ts +2 -2
- package/dist/select-date-range.js +5 -5
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YQDHCORW.js";
|
|
4
4
|
import {
|
|
5
5
|
Popover,
|
|
6
6
|
Tooltip,
|
|
7
7
|
useOverlayLifecycle
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5MW3NE2V.js";
|
|
9
9
|
import {
|
|
10
10
|
Dropdown,
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YF2I6SDB.js";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IYNS423D.js";
|
|
16
16
|
import {
|
|
17
17
|
useControlSize,
|
|
18
18
|
useControllableState,
|
|
19
19
|
withTitleTooltip
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RAO3JHDL.js";
|
|
21
21
|
|
|
22
22
|
// src/components/Toolbar.tsx
|
|
23
23
|
import { useLayoutEffect, useRef, useState } from "react";
|
|
@@ -83,7 +83,7 @@ function installTitleTooltips(doc) {
|
|
|
83
83
|
else if (active.getAttribute("data-sia-title") !== doc.getElementById(tooltipId)?.textContent) render();
|
|
84
84
|
});
|
|
85
85
|
observer.observe(doc.body, { childList: true, subtree: true, attributes: true, attributeFilter: ["data-sia-title"] });
|
|
86
|
-
},
|
|
86
|
+
}, 600);
|
|
87
87
|
};
|
|
88
88
|
doc.addEventListener("pointerover", (event) => {
|
|
89
89
|
if (event.pointerType === "touch") return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YQDHCORW.js";
|
|
4
4
|
import {
|
|
5
5
|
Button
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IYNS423D.js";
|
|
7
7
|
import {
|
|
8
8
|
withTitleTooltip
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RAO3JHDL.js";
|
|
10
10
|
|
|
11
11
|
// src/components/ChartWhirlingLoading.tsx
|
|
12
12
|
import { useEffect, useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IYNS423D.js";
|
|
4
4
|
import {
|
|
5
5
|
PopupPortal,
|
|
6
6
|
useControlSize,
|
|
7
7
|
useControllableState,
|
|
8
8
|
usePlaceholderMode,
|
|
9
9
|
withTitleTooltip
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RAO3JHDL.js";
|
|
11
11
|
|
|
12
12
|
// src/components/Icon.tsx
|
|
13
13
|
import { forwardRef } from "react";
|
|
@@ -1313,7 +1313,7 @@ var Input = forwardRef2(function Input2({
|
|
|
1313
1313
|
size: sizeProp,
|
|
1314
1314
|
prefix,
|
|
1315
1315
|
suffix,
|
|
1316
|
-
allowClear =
|
|
1316
|
+
allowClear = true,
|
|
1317
1317
|
onClear,
|
|
1318
1318
|
showCount = false,
|
|
1319
1319
|
placeholderMode,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, HTMLAttributes, CSSProperties, MouseEvent, ReactElement, ImgHTMLAttributes, InputHTMLAttributes, MouseEventHandler, AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import { B as ButtonProps, f as Button } from './Select-
|
|
3
|
+
import { B as ButtonProps, f as Button } from './Select-YJbT-MF1.cjs';
|
|
4
4
|
import { C as ControlSize, a as ControlStatus, I as InputPlaceholderMode } from './shared-Bx4B28Wh.cjs';
|
|
5
5
|
|
|
6
6
|
/** 单个工具栏操作及其下拉菜单。 */
|
|
@@ -1785,8 +1785,8 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "prefix
|
|
|
1785
1785
|
/** 输入框后缀 */
|
|
1786
1786
|
suffix?: ReactNode;
|
|
1787
1787
|
/**
|
|
1788
|
-
|
|
1789
|
-
* @defaultValue
|
|
1788
|
+
* 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
|
|
1789
|
+
* @defaultValue true
|
|
1790
1790
|
*/
|
|
1791
1791
|
allowClear?: boolean;
|
|
1792
1792
|
/** 清空当前值时调用。 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, HTMLAttributes, CSSProperties, MouseEvent, ReactElement, ImgHTMLAttributes, InputHTMLAttributes, MouseEventHandler, AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import { B as ButtonProps, f as Button } from './Select-
|
|
3
|
+
import { B as ButtonProps, f as Button } from './Select-CCrPqULn.js';
|
|
4
4
|
import { C as ControlSize, a as ControlStatus, I as InputPlaceholderMode } from './shared-Bx4B28Wh.js';
|
|
5
5
|
|
|
6
6
|
/** 单个工具栏操作及其下拉菜单。 */
|
|
@@ -1785,8 +1785,8 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "prefix
|
|
|
1785
1785
|
/** 输入框后缀 */
|
|
1786
1786
|
suffix?: ReactNode;
|
|
1787
1787
|
/**
|
|
1788
|
-
|
|
1789
|
-
* @defaultValue
|
|
1788
|
+
* 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
|
|
1789
|
+
* @defaultValue true
|
|
1790
1790
|
*/
|
|
1791
1791
|
allowClear?: boolean;
|
|
1792
1792
|
/** 清空当前值时调用。 */
|