@sia.soul/sia-react-ui 0.1.88 → 0.1.90
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/{chunk-RR7HW5HO.js → chunk-7BJPQCRG.js} +4 -3
- package/dist/{chunk-D752QGE6.js → chunk-AG2VFAZR.js} +2 -2
- package/dist/{chunk-U2WPN6TD.js → chunk-G5K72R4O.js} +516 -241
- package/dist/{chunk-QZG6XT65.js → chunk-GLXGN5SO.js} +2 -2
- package/dist/{chunk-CKX3AKMT.js → chunk-OPYA3PMD.js} +1 -1
- package/dist/{core-BU7dVRuz.d.ts → core-BGA9VB0L.d.ts} +10 -5
- package/dist/{core-DGaJTy1i.d.cts → core-OIIkAeiG.d.cts} +10 -5
- package/dist/core.cjs +1133 -858
- package/dist/core.css +1 -0
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +3 -3
- package/dist/index.cjs +3330 -3054
- package/dist/index.css +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/rich-text-editor.cjs +768 -493
- package/dist/rich-text-editor.js +2 -2
- package/dist/select-date-range.cjs +928 -653
- package/dist/select-date-range.js +3 -3
- package/package.json +1 -1
|
@@ -377,12 +377,12 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
|
377
377
|
/** 名称或字段标识。 */
|
|
378
378
|
name: IconName;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* SVG 外框尺寸;数字为 px,字符串支持 em 等 CSS 长度。画布为 24×24,主体最长边为 18 单位(不含描边),保持比例并居中。
|
|
381
381
|
* @defaultValue "1em"
|
|
382
382
|
*/
|
|
383
383
|
size?: number | string;
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* 24 单位画布中的描边粗细;不受内部图形归一化影响,随 size 整体缩放。实心图标内的反白细节保留各自描边。
|
|
386
386
|
* @defaultValue 1.8
|
|
387
387
|
*/
|
|
388
388
|
strokeWidth?: number;
|
|
@@ -1102,10 +1102,15 @@ interface TreeProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect" | "o
|
|
|
1102
1102
|
*/
|
|
1103
1103
|
showIcon?: boolean;
|
|
1104
1104
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
* @defaultValue
|
|
1105
|
+
* 节点标题是否填满缩进、展开按钮和复选框之外的剩余宽度。
|
|
1106
|
+
* @defaultValue true
|
|
1107
1107
|
*/
|
|
1108
1108
|
blockNode?: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* 是否强调选中节点的祖先行;关闭时仅选中节点显示选中背景。
|
|
1111
|
+
* @defaultValue false
|
|
1112
|
+
*/
|
|
1113
|
+
highlightSelectedAncestors?: boolean;
|
|
1109
1114
|
/**
|
|
1110
1115
|
* 每级节点的缩进距离,单位为像素。
|
|
1111
1116
|
* @defaultValue 20
|
|
@@ -1184,7 +1189,7 @@ interface TreeProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect" | "o
|
|
|
1184
1189
|
}) => void;
|
|
1185
1190
|
}
|
|
1186
1191
|
/** 树形控件,支持选择、勾选与异步加载;自身容器可滚动时默认接入浮动滚动条,无需全局 Provider。 */
|
|
1187
|
-
declare function Tree({ treeData, selectedKeys, defaultSelectedKeys, expandedKeys, defaultExpandedKeys, defaultExpandAll, checkedKeys, defaultCheckedKeys, loadingKeys, checkable, checkStrictly, multiple, selectable, showLine, showIcon, blockNode, indentSize, switcherWidth, stickyAncestors, stickyRowHeight, virtual, virtualThreshold, virtualItemHeight, draggable, loadData, onSelect, onCheck, onExpand, onDrop, className, ...props }: TreeProps): react.JSX.Element;
|
|
1192
|
+
declare function Tree({ treeData, selectedKeys, defaultSelectedKeys, expandedKeys, defaultExpandedKeys, defaultExpandAll, checkedKeys, defaultCheckedKeys, loadingKeys, checkable, checkStrictly, multiple, selectable, showLine, showIcon, blockNode, highlightSelectedAncestors, indentSize, switcherWidth, stickyAncestors, stickyRowHeight, virtual, virtualThreshold, virtualItemHeight, draggable, loadData, onSelect, onCheck, onExpand, onDrop, className, ...props }: TreeProps): react.JSX.Element;
|
|
1188
1193
|
|
|
1189
1194
|
/** 气泡确认的属性配置。 */
|
|
1190
1195
|
interface PopconfirmProps {
|
|
@@ -377,12 +377,12 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
|
377
377
|
/** 名称或字段标识。 */
|
|
378
378
|
name: IconName;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* SVG 外框尺寸;数字为 px,字符串支持 em 等 CSS 长度。画布为 24×24,主体最长边为 18 单位(不含描边),保持比例并居中。
|
|
381
381
|
* @defaultValue "1em"
|
|
382
382
|
*/
|
|
383
383
|
size?: number | string;
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* 24 单位画布中的描边粗细;不受内部图形归一化影响,随 size 整体缩放。实心图标内的反白细节保留各自描边。
|
|
386
386
|
* @defaultValue 1.8
|
|
387
387
|
*/
|
|
388
388
|
strokeWidth?: number;
|
|
@@ -1102,10 +1102,15 @@ interface TreeProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect" | "o
|
|
|
1102
1102
|
*/
|
|
1103
1103
|
showIcon?: boolean;
|
|
1104
1104
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
* @defaultValue
|
|
1105
|
+
* 节点标题是否填满缩进、展开按钮和复选框之外的剩余宽度。
|
|
1106
|
+
* @defaultValue true
|
|
1107
1107
|
*/
|
|
1108
1108
|
blockNode?: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* 是否强调选中节点的祖先行;关闭时仅选中节点显示选中背景。
|
|
1111
|
+
* @defaultValue false
|
|
1112
|
+
*/
|
|
1113
|
+
highlightSelectedAncestors?: boolean;
|
|
1109
1114
|
/**
|
|
1110
1115
|
* 每级节点的缩进距离,单位为像素。
|
|
1111
1116
|
* @defaultValue 20
|
|
@@ -1184,7 +1189,7 @@ interface TreeProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect" | "o
|
|
|
1184
1189
|
}) => void;
|
|
1185
1190
|
}
|
|
1186
1191
|
/** 树形控件,支持选择、勾选与异步加载;自身容器可滚动时默认接入浮动滚动条,无需全局 Provider。 */
|
|
1187
|
-
declare function Tree({ treeData, selectedKeys, defaultSelectedKeys, expandedKeys, defaultExpandedKeys, defaultExpandAll, checkedKeys, defaultCheckedKeys, loadingKeys, checkable, checkStrictly, multiple, selectable, showLine, showIcon, blockNode, indentSize, switcherWidth, stickyAncestors, stickyRowHeight, virtual, virtualThreshold, virtualItemHeight, draggable, loadData, onSelect, onCheck, onExpand, onDrop, className, ...props }: TreeProps): react.JSX.Element;
|
|
1192
|
+
declare function Tree({ treeData, selectedKeys, defaultSelectedKeys, expandedKeys, defaultExpandedKeys, defaultExpandAll, checkedKeys, defaultCheckedKeys, loadingKeys, checkable, checkStrictly, multiple, selectable, showLine, showIcon, blockNode, highlightSelectedAncestors, indentSize, switcherWidth, stickyAncestors, stickyRowHeight, virtual, virtualThreshold, virtualItemHeight, draggable, loadData, onSelect, onCheck, onExpand, onDrop, className, ...props }: TreeProps): react.JSX.Element;
|
|
1188
1193
|
|
|
1189
1194
|
/** 气泡确认的属性配置。 */
|
|
1190
1195
|
interface PopconfirmProps {
|