react-table-edit 1.0.3 → 1.0.4
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2573,7 +2573,7 @@ var SelectTableTree = (0, import_react15.forwardRef)((props, ref) => {
|
|
|
2573
2573
|
id: `select-${id}-${indexRow}-${indexCol}`,
|
|
2574
2574
|
className: (0, import_classnames13.default)(`r-select-rowcell`, { "r-select-active": !isMulti && value && isSelected }),
|
|
2575
2575
|
style: {
|
|
2576
|
-
paddingLeft: 9 + (indexCol === 0 && !isMulti ? level * 10 + (row[fieldChildren ?? "children"]?.length > 0 ? 0 : 15) : 0),
|
|
2576
|
+
paddingLeft: 9 + (indexCol === 0 && !isMulti ? level * 10 + (row[fieldChildren ?? "children"]?.length > 0 || level === 0 ? 0 : 15) : 0),
|
|
2577
2577
|
textAlign: col.textAlign ? col.textAlign : "left"
|
|
2578
2578
|
},
|
|
2579
2579
|
onClick: (e) => {
|
package/dist/index.mjs
CHANGED
|
@@ -2542,7 +2542,7 @@ var SelectTableTree = forwardRef3((props, ref) => {
|
|
|
2542
2542
|
id: `select-${id}-${indexRow}-${indexCol}`,
|
|
2543
2543
|
className: classnames8(`r-select-rowcell`, { "r-select-active": !isMulti && value && isSelected }),
|
|
2544
2544
|
style: {
|
|
2545
|
-
paddingLeft: 9 + (indexCol === 0 && !isMulti ? level * 10 + (row[fieldChildren ?? "children"]?.length > 0 ? 0 : 15) : 0),
|
|
2545
|
+
paddingLeft: 9 + (indexCol === 0 && !isMulti ? level * 10 + (row[fieldChildren ?? "children"]?.length > 0 || level === 0 ? 0 : 15) : 0),
|
|
2546
2546
|
textAlign: col.textAlign ? col.textAlign : "left"
|
|
2547
2547
|
},
|
|
2548
2548
|
onClick: (e) => {
|