@sia.soul/sia-react-ui 0.1.106 → 0.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/Button-BiL3Wjsd.d.ts +44 -0
  2. package/dist/Button-O_pNB3SQ.d.cts +44 -0
  3. package/dist/{Select-DmT9pFRW.d.ts → Select-BddM4uXC.d.ts} +4 -42
  4. package/dist/{Select-DQpfyK7I.d.cts → Select-Cf0xz1Tg.d.cts} +4 -42
  5. package/dist/chart.js +5 -3
  6. package/dist/chunk-4TTHKFJ7.js +706 -0
  7. package/dist/chunk-CZ2ITBRW.js +65 -0
  8. package/dist/{chunk-EYB55TC5.js → chunk-D3HXXEEZ.js} +9 -5
  9. package/dist/{chunk-X4OLHWC3.js → chunk-JEDJQ257.js} +11 -7
  10. package/dist/chunk-KY6A5IJH.js +18 -0
  11. package/dist/{chunk-NURPAO7G.js → chunk-MMSYWDTR.js} +9 -5
  12. package/dist/{chunk-PUZWLIIJ.js → chunk-NZMUW5XI.js} +1 -13
  13. package/dist/{chunk-D456SSL3.js → chunk-OJ2WDC66.js} +6 -4
  14. package/dist/{chunk-V6CRVCSB.js → chunk-QV3AP6A2.js} +40 -729
  15. package/dist/chunk-RX242MUO.js +0 -0
  16. package/dist/chunk-SCEHVGKV.js +75 -0
  17. package/dist/{chunk-TUXNOSCT.js → chunk-SO7IJZIR.js} +4 -2
  18. package/dist/{chunk-T3EGAN7O.js → chunk-WD56MJO2.js} +5 -3
  19. package/dist/{core-_1K1jLyH.d.ts → core-Bm-1bOjF.d.ts} +8 -1
  20. package/dist/{core-DF7gei-P.d.cts → core-zpQkbNf_.d.cts} +8 -1
  21. package/dist/core.cjs +3 -1
  22. package/dist/core.css +31 -0
  23. package/dist/core.d.cts +3 -2
  24. package/dist/core.d.ts +3 -2
  25. package/dist/core.js +12 -7
  26. package/dist/game.cjs +2801 -0
  27. package/dist/game.css +8919 -0
  28. package/dist/game.d.cts +416 -0
  29. package/dist/game.d.ts +416 -0
  30. package/dist/game.js +1020 -0
  31. package/dist/index.cjs +5518 -5460
  32. package/dist/index.css +71 -0
  33. package/dist/index.d.cts +45 -10
  34. package/dist/index.d.ts +45 -10
  35. package/dist/index.js +718 -656
  36. package/dist/markdown-editor.js +3 -2
  37. package/dist/rich-text-editor.cjs +3 -1
  38. package/dist/rich-text-editor.js +7 -4
  39. package/dist/{select-date-range-BT71tp7y.d.cts → select-date-range-Cm5o2xPp.d.cts} +1 -1
  40. package/dist/{select-date-range-CFGzoyLs.d.ts → select-date-range-yGDEA1RP.d.ts} +1 -1
  41. package/dist/select-date-range.d.cts +3 -2
  42. package/dist/select-date-range.d.ts +3 -2
  43. package/dist/select-date-range.js +8 -5
  44. package/package.json +9 -3
  45. package/dist/chunk-SJFT5OSX.js +0 -131
@@ -0,0 +1,44 @@
1
+ import * as react from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
3
+ import { C as ControlSize } from './shared-Bx4B28Wh.js';
4
+
5
+ /** 按钮视觉样式,可选择主按钮、默认按钮、文本按钮或链接等形式。 */
6
+ type ButtonVariant = "primary" | "default" | "dashed" | "filled" | "text" | "link";
7
+ /** 按钮尺寸等级。 */
8
+ type ButtonSize = ControlSize;
9
+ /** 按钮的属性配置。 */
10
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
11
+ /**
12
+ 组件的视觉样式。
13
+ * @defaultValue "default"
14
+ */
15
+ variant?: ButtonVariant;
16
+ /** small / medium / large 高度为 22 / 30 / 38px;默认继承 Form,组件自身 size 优先 */
17
+ size?: ButtonSize;
18
+ /**
19
+ * 显示加载状态并禁止重复点击
20
+ * @defaultValue false
21
+ */
22
+ loading?: boolean;
23
+ /**
24
+ * 宽度撑满父容器
25
+ * @defaultValue false
26
+ */
27
+ block?: boolean;
28
+ /**
29
+ * 危险操作样式
30
+ * @defaultValue false
31
+ */
32
+ danger?: boolean;
33
+ /** 按钮图标 */
34
+ icon?: ReactNode;
35
+ /**
36
+ * 图标位置
37
+ * @defaultValue "start"
38
+ */
39
+ iconPosition?: "start" | "end";
40
+ }
41
+ /** 按钮组件。 */
42
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
43
+
44
+ export { type ButtonProps as B, type ButtonSize as a, Button as b, type ButtonVariant as c };
@@ -0,0 +1,44 @@
1
+ import * as react from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
3
+ import { C as ControlSize } from './shared-Bx4B28Wh.cjs';
4
+
5
+ /** 按钮视觉样式,可选择主按钮、默认按钮、文本按钮或链接等形式。 */
6
+ type ButtonVariant = "primary" | "default" | "dashed" | "filled" | "text" | "link";
7
+ /** 按钮尺寸等级。 */
8
+ type ButtonSize = ControlSize;
9
+ /** 按钮的属性配置。 */
10
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
11
+ /**
12
+ 组件的视觉样式。
13
+ * @defaultValue "default"
14
+ */
15
+ variant?: ButtonVariant;
16
+ /** small / medium / large 高度为 22 / 30 / 38px;默认继承 Form,组件自身 size 优先 */
17
+ size?: ButtonSize;
18
+ /**
19
+ * 显示加载状态并禁止重复点击
20
+ * @defaultValue false
21
+ */
22
+ loading?: boolean;
23
+ /**
24
+ * 宽度撑满父容器
25
+ * @defaultValue false
26
+ */
27
+ block?: boolean;
28
+ /**
29
+ * 危险操作样式
30
+ * @defaultValue false
31
+ */
32
+ danger?: boolean;
33
+ /** 按钮图标 */
34
+ icon?: ReactNode;
35
+ /**
36
+ * 图标位置
37
+ * @defaultValue "start"
38
+ */
39
+ iconPosition?: "start" | "end";
40
+ }
41
+ /** 按钮组件。 */
42
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
43
+
44
+ export { type ButtonProps as B, type ButtonSize as a, Button as b, type ButtonVariant as c };
@@ -1,45 +1,7 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, HTMLAttributes } from 'react';
3
- import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
4
-
5
- /** 按钮视觉样式,可选择主按钮、默认按钮、文本按钮或链接等形式。 */
6
- type ButtonVariant = "primary" | "default" | "dashed" | "filled" | "text" | "link";
7
- /** 按钮尺寸等级。 */
8
- type ButtonSize = ControlSize;
9
- /** 按钮的属性配置。 */
10
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
11
- /**
12
- 组件的视觉样式。
13
- * @defaultValue "default"
14
- */
15
- variant?: ButtonVariant;
16
- /** small / medium / large 高度为 22 / 30 / 38px;默认继承 Form,组件自身 size 优先 */
17
- size?: ButtonSize;
18
- /**
19
- * 显示加载状态并禁止重复点击
20
- * @defaultValue false
21
- */
22
- loading?: boolean;
23
- /**
24
- * 宽度撑满父容器
25
- * @defaultValue false
26
- */
27
- block?: boolean;
28
- /**
29
- * 危险操作样式
30
- * @defaultValue false
31
- */
32
- danger?: boolean;
33
- /** 按钮图标 */
34
- icon?: ReactNode;
35
- /**
36
- * 图标位置
37
- * @defaultValue "start"
38
- */
39
- iconPosition?: "start" | "end";
40
- }
41
- /** 按钮组件。 */
42
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
2
+ import { HTMLAttributes, ReactNode, ButtonHTMLAttributes } from 'react';
3
+ import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.js';
4
+ import { B as ButtonProps } from './Button-BiL3Wjsd.js';
43
5
 
44
6
  /** 弹层挂载节点或返回挂载节点的函数。 */
45
7
  type OverlayContainer = HTMLElement | (() => HTMLElement);
@@ -310,4 +272,4 @@ interface SelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "def
310
272
  /** 选择器组件。下拉面板每次展开自动定位到列表顺序中的第一个已选项,支持普通和虚拟列表;未选中时从顶部显示。 */
311
273
  declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
312
274
 
313
- export { type ButtonProps as B, type ModalOpenConfig as M, type OverlayContainer as O, type SelectOption as S, type OverlayApiHandle as a, type SelectChangeValue as b, type SelectProps as c, type ModalActionResult as d, type ButtonSize as e, Button as f, type ButtonVariant as g, Modal as h, type ModalProps as i, type ModalType as j, Select as k, type SelectMode as l, type SelectValue as m };
275
+ export { type ModalOpenConfig as M, type OverlayContainer as O, type SelectOption as S, type OverlayApiHandle as a, type SelectChangeValue as b, type SelectProps as c, type ModalActionResult as d, Modal as e, type ModalProps as f, type ModalType as g, Select as h, type SelectMode as i, type SelectValue as j };
@@ -1,45 +1,7 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, HTMLAttributes } from 'react';
3
- import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
4
-
5
- /** 按钮视觉样式,可选择主按钮、默认按钮、文本按钮或链接等形式。 */
6
- type ButtonVariant = "primary" | "default" | "dashed" | "filled" | "text" | "link";
7
- /** 按钮尺寸等级。 */
8
- type ButtonSize = ControlSize;
9
- /** 按钮的属性配置。 */
10
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
11
- /**
12
- 组件的视觉样式。
13
- * @defaultValue "default"
14
- */
15
- variant?: ButtonVariant;
16
- /** small / medium / large 高度为 22 / 30 / 38px;默认继承 Form,组件自身 size 优先 */
17
- size?: ButtonSize;
18
- /**
19
- * 显示加载状态并禁止重复点击
20
- * @defaultValue false
21
- */
22
- loading?: boolean;
23
- /**
24
- * 宽度撑满父容器
25
- * @defaultValue false
26
- */
27
- block?: boolean;
28
- /**
29
- * 危险操作样式
30
- * @defaultValue false
31
- */
32
- danger?: boolean;
33
- /** 按钮图标 */
34
- icon?: ReactNode;
35
- /**
36
- * 图标位置
37
- * @defaultValue "start"
38
- */
39
- iconPosition?: "start" | "end";
40
- }
41
- /** 按钮组件。 */
42
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
2
+ import { HTMLAttributes, ReactNode, ButtonHTMLAttributes } from 'react';
3
+ import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
4
+ import { B as ButtonProps } from './Button-O_pNB3SQ.cjs';
43
5
 
44
6
  /** 弹层挂载节点或返回挂载节点的函数。 */
45
7
  type OverlayContainer = HTMLElement | (() => HTMLElement);
@@ -310,4 +272,4 @@ interface SelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "def
310
272
  /** 选择器组件。下拉面板每次展开自动定位到列表顺序中的第一个已选项,支持普通和虚拟列表;未选中时从顶部显示。 */
311
273
  declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
312
274
 
313
- export { type ButtonProps as B, type ModalOpenConfig as M, type OverlayContainer as O, type SelectOption as S, type OverlayApiHandle as a, type SelectChangeValue as b, type SelectProps as c, type ModalActionResult as d, type ButtonSize as e, Button as f, type ButtonVariant as g, Modal as h, type ModalProps as i, type ModalType as j, Select as k, type SelectMode as l, type SelectValue as m };
275
+ export { type ModalOpenConfig as M, type OverlayContainer as O, type SelectOption as S, type OverlayApiHandle as a, type SelectChangeValue as b, type SelectProps as c, type ModalActionResult as d, Modal as e, type ModalProps as f, type ModalType as g, Select as h, type SelectMode as i, type SelectValue as j };
package/dist/chart.js CHANGED
@@ -56,9 +56,11 @@ import {
56
56
  smoothSvgPath,
57
57
  svgArcPath,
58
58
  transferCompositeValue
59
- } from "./chunk-T3EGAN7O.js";
60
- import "./chunk-SJFT5OSX.js";
61
- import "./chunk-PUZWLIIJ.js";
59
+ } from "./chunk-WD56MJO2.js";
60
+ import "./chunk-SCEHVGKV.js";
61
+ import "./chunk-CZ2ITBRW.js";
62
+ import "./chunk-KY6A5IJH.js";
63
+ import "./chunk-NZMUW5XI.js";
62
64
  export {
63
65
  BarChart,
64
66
  CHART_VIEWBOX_HEIGHT,