pixel-react 1.10.10-4 → 1.10.11
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/package.json
CHANGED
@@ -159,7 +159,7 @@
|
|
159
159
|
.table-tree-row-action {
|
160
160
|
display: inline-flex;
|
161
161
|
align-items: center;
|
162
|
-
svg{
|
162
|
+
svg {
|
163
163
|
height: 14px;
|
164
164
|
width: 14px;
|
165
165
|
}
|
@@ -267,6 +267,7 @@
|
|
267
267
|
height: 12px;
|
268
268
|
width: 12px;
|
269
269
|
transition: transform 0.3s ease;
|
270
|
+
cursor: pointer;
|
270
271
|
|
271
272
|
path {
|
272
273
|
fill: var(--brand-color);
|
@@ -288,4 +289,4 @@
|
|
288
289
|
.tree-title-container {
|
289
290
|
display: inline-flex;
|
290
291
|
align-items: center;
|
291
|
-
}
|
292
|
+
}
|
@@ -143,7 +143,7 @@ const TreeTable: React.FC<TreeTableProps> = ({
|
|
143
143
|
setExpanding(node.key);
|
144
144
|
onExpand?.(node, index);
|
145
145
|
},
|
146
|
-
[onExpand]
|
146
|
+
[onExpand, expanding]
|
147
147
|
);
|
148
148
|
|
149
149
|
const handleCheckBoxChange = useCallback(
|
@@ -151,7 +151,7 @@ const TreeTable: React.FC<TreeTableProps> = ({
|
|
151
151
|
if (expanding) return;
|
152
152
|
onChange?.(e, node);
|
153
153
|
},
|
154
|
-
[onChange]
|
154
|
+
[onChange, expanding]
|
155
155
|
);
|
156
156
|
|
157
157
|
const handleRowClick = useCallback(
|
@@ -159,7 +159,7 @@ const TreeTable: React.FC<TreeTableProps> = ({
|
|
159
159
|
if (expanding) return;
|
160
160
|
onClick?.(e, node);
|
161
161
|
},
|
162
|
-
[onClick]
|
162
|
+
[onClick, expanding]
|
163
163
|
);
|
164
164
|
|
165
165
|
return (
|