@onehat/ui 0.3.39 → 0.3.41
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
|
@@ -6,9 +6,13 @@ import {
|
|
|
6
6
|
import AngleLeft from '../Icons/AngleLeft.js';
|
|
7
7
|
|
|
8
8
|
export default function BackButton(props) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const {
|
|
10
|
+
color = '',
|
|
11
|
+
...propsToPass
|
|
12
|
+
} = props;
|
|
13
|
+
return <Pressable flexDirection="row" justifyContent="flex-start" alignItems="center" pr={5} {...propsToPass}>
|
|
14
|
+
<Icon as={AngleLeft} color={color} size="sm" />
|
|
15
|
+
<Text fontSize={20} color={color} left={-1}>Back</Text>
|
|
12
16
|
</Pressable>;
|
|
13
17
|
}
|
|
14
18
|
|
|
@@ -631,8 +631,8 @@ function GridComponent(props) {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
let adjustPageSizeToHeight =
|
|
635
|
-
if (!
|
|
634
|
+
let adjustPageSizeToHeight = autoAdjustPageSizeToHeight;
|
|
635
|
+
if (!Repository || (!_.isNil(UiGlobals.autoAdjustPageSizeToHeight) && !UiGlobals.autoAdjustPageSizeToHeight)) {
|
|
636
636
|
adjustPageSizeToHeight = false;
|
|
637
637
|
}
|
|
638
638
|
if (adjustPageSizeToHeight) {
|