@onehat/ui 0.3.231 → 0.3.232
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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useState, useEffect, useMemo, } from 'react';
|
|
2
2
|
import {
|
|
3
|
+
Box,
|
|
3
4
|
Icon,
|
|
4
5
|
Pressable,
|
|
5
6
|
Row,
|
|
@@ -41,6 +42,7 @@ export default function GridHeaderRow(props) {
|
|
|
41
42
|
gridRef,
|
|
42
43
|
isHovered,
|
|
43
44
|
isInlineEditorShown,
|
|
45
|
+
areRowsDragSource,
|
|
44
46
|
} = props,
|
|
45
47
|
styles = UiGlobals.styles,
|
|
46
48
|
sortFn = Repository && Repository.getSortFn(),
|
|
@@ -442,6 +444,12 @@ export default function GridHeaderRow(props) {
|
|
|
442
444
|
/>}
|
|
443
445
|
</Pressable>;
|
|
444
446
|
});
|
|
447
|
+
if (areRowsDragSource) {
|
|
448
|
+
headerColumns.unshift(<Box
|
|
449
|
+
key="spacer"
|
|
450
|
+
w={3}
|
|
451
|
+
/>);
|
|
452
|
+
}
|
|
445
453
|
if (!hideNavColumn) {
|
|
446
454
|
headerColumns.push(<AngleRight
|
|
447
455
|
key="AngleRight"
|