@sia.soul/sia-react-ui 0.1.23 → 0.1.25
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-BoVx-D0D.d.ts → Select-O_yY51vc.d.ts} +4 -2
- package/dist/{Select-BO3VyE2n.d.cts → Select-W_xpkpOW.d.cts} +4 -2
- package/dist/chart.cjs +1401 -1160
- package/dist/chart.css +21 -0
- package/dist/chart.js +4 -4
- package/dist/{chunk-KLI65JVD.js → chunk-27ZYAKII.js} +68 -186
- package/dist/{chunk-TZGUBGA4.js → chunk-IYNS423D.js} +4 -3
- package/dist/{chunk-GM47DAAN.js → chunk-IYO2JSGQ.js} +8 -7
- package/dist/{chunk-QJ4OQNQ4.js → chunk-PXHBIRQW.js} +4 -3
- package/dist/{chunk-VX2JECOU.js → chunk-QCBKT5FV.js} +20 -16
- package/dist/chunk-RAO3JHDL.js +284 -0
- package/dist/{chunk-RWGSZW32.js → chunk-RWODH2LW.js} +7 -6
- package/dist/{chunk-OKP4DIQH.js → chunk-TZROBD65.js} +29 -26
- package/dist/{chunk-NPB33IXJ.js → chunk-W52CNNWW.js} +349 -278
- package/dist/{chunk-YT6E3X2K.js → chunk-YQDHCORW.js} +4 -3
- package/dist/{core-Cqgl6Z7h.d.ts → core-BOzLwiXG.d.ts} +44 -5
- package/dist/{core-DF0pknX6.d.cts → core-tbb9ZiBY.d.cts} +44 -5
- package/dist/core.cjs +1637 -1443
- package/dist/core.css +53 -0
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +8 -6
- package/dist/index.cjs +3797 -3583
- package/dist/index.css +53 -0
- package/dist/index.d.cts +36 -17
- package/dist/index.d.ts +36 -17
- package/dist/index.js +104 -83
- package/dist/markdown-editor.cjs +269 -28
- package/dist/markdown-editor.css +20 -0
- package/dist/markdown-editor.js +2 -2
- package/dist/rich-text-editor.cjs +1156 -1031
- package/dist/rich-text-editor.css +20 -0
- package/dist/rich-text-editor.js +4 -4
- package/dist/{select-date-range-a6nzK7Wu.d.ts → select-date-range-BjqFUeU6.d.ts} +1 -1
- package/dist/{select-date-range-IOe6MMqu.d.cts → select-date-range-C9w8z3G8.d.cts} +1 -1
- package/dist/select-date-range.cjs +1188 -1059
- package/dist/select-date-range.css +20 -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 +5 -5
- package/package.json +2 -2
- package/dist/chunk-3VJ4CZDQ.js +0 -43
|
@@ -114,6 +114,8 @@ interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onS
|
|
|
114
114
|
* @defaultValue 520
|
|
115
115
|
*/
|
|
116
116
|
width?: number | string;
|
|
117
|
+
/** 固定弹框高度,内容区独立滚动,标题和底部保持可见。 */
|
|
118
|
+
height?: number | string;
|
|
117
119
|
/**
|
|
118
120
|
组件或浮层的堆叠层级。
|
|
119
121
|
* @defaultValue 1000
|
|
@@ -204,9 +206,9 @@ interface SelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "def
|
|
|
204
206
|
maxHeight?: number;
|
|
205
207
|
/** 标题下方的独立首行扩展内容,位于选项范围和搜索框上方。 */
|
|
206
208
|
headerExtra?: ReactNode;
|
|
207
|
-
/**
|
|
209
|
+
/** 顶部扩展控件的业务数据,由业务方更新此属性;框架不会自动绑定 headerExtra 内的控件。确认时将当前对象的浅拷贝作为 onConfirm 第三个参数传出,未配置时为 {}。 */
|
|
208
210
|
extraValues?: Record<string, unknown>;
|
|
209
|
-
/**
|
|
211
|
+
/** 点击确定时传出选中值、对应选项及扩展数据浅拷贝;单选无值为 null,多选为数组。异步完成后才提交 onChange 并关闭;返回 false 或抛出异常保留草稿和弹框,不触发 onChange。取消不调用。 */
|
|
210
212
|
onConfirm?: (value: SelectChangeValue, option: SelectOption | SelectOption[] | null, extraValues: Record<string, unknown>) => ModalActionResult;
|
|
211
213
|
/** 底部左侧扩展内容,例如维护按钮。 */
|
|
212
214
|
footerExtra?: ReactNode;
|
|
@@ -114,6 +114,8 @@ interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onS
|
|
|
114
114
|
* @defaultValue 520
|
|
115
115
|
*/
|
|
116
116
|
width?: number | string;
|
|
117
|
+
/** 固定弹框高度,内容区独立滚动,标题和底部保持可见。 */
|
|
118
|
+
height?: number | string;
|
|
117
119
|
/**
|
|
118
120
|
组件或浮层的堆叠层级。
|
|
119
121
|
* @defaultValue 1000
|
|
@@ -204,9 +206,9 @@ interface SelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "def
|
|
|
204
206
|
maxHeight?: number;
|
|
205
207
|
/** 标题下方的独立首行扩展内容,位于选项范围和搜索框上方。 */
|
|
206
208
|
headerExtra?: ReactNode;
|
|
207
|
-
/**
|
|
209
|
+
/** 顶部扩展控件的业务数据,由业务方更新此属性;框架不会自动绑定 headerExtra 内的控件。确认时将当前对象的浅拷贝作为 onConfirm 第三个参数传出,未配置时为 {}。 */
|
|
208
210
|
extraValues?: Record<string, unknown>;
|
|
209
|
-
/**
|
|
211
|
+
/** 点击确定时传出选中值、对应选项及扩展数据浅拷贝;单选无值为 null,多选为数组。异步完成后才提交 onChange 并关闭;返回 false 或抛出异常保留草稿和弹框,不触发 onChange。取消不调用。 */
|
|
210
212
|
onConfirm?: (value: SelectChangeValue, option: SelectOption | SelectOption[] | null, extraValues: Record<string, unknown>) => ModalActionResult;
|
|
211
213
|
/** 底部左侧扩展内容,例如维护按钮。 */
|
|
212
214
|
footerExtra?: ReactNode;
|