react-native-ui-lib 8.3.2-snapshot.7741 → 8.3.2
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
|
@@ -9,7 +9,6 @@ const BRANCH_CATEGORIES = [
|
|
|
9
9
|
{name: 'fixes', branch: 'fix/', title: ':wrench: Fixes'},
|
|
10
10
|
{name: 'infra', branch: 'infra/', title: ':gear: Maintenance & Infra'}
|
|
11
11
|
];
|
|
12
|
-
const SILENT_PRS = ['none', 'n/a', 'na'];
|
|
13
12
|
|
|
14
13
|
function getBranchPrefixes() {
|
|
15
14
|
return BRANCH_CATEGORIES.map(category => category.branch);
|
|
@@ -96,7 +95,7 @@ function isSilent(pr) {
|
|
|
96
95
|
return true;
|
|
97
96
|
} else {
|
|
98
97
|
const changelog = pr.info.changelog.toLowerCase();
|
|
99
|
-
if (
|
|
98
|
+
if (changelog === 'none' || changelog === 'n/a') {
|
|
100
99
|
return true;
|
|
101
100
|
}
|
|
102
101
|
}
|
|
@@ -33,15 +33,11 @@ const ExpandableOverlay = (props, ref) => {
|
|
|
33
33
|
setExpandableVisible(true);
|
|
34
34
|
onPress?.(props);
|
|
35
35
|
}, [onPress, customValue]);
|
|
36
|
-
const
|
|
36
|
+
const closeExpandable = useCallback(() => {
|
|
37
37
|
setExpandableVisible(false);
|
|
38
38
|
focusAccessibility();
|
|
39
|
-
}, [focusAccessibility]);
|
|
40
|
-
const closeExpandable = useCallback(() => {
|
|
41
|
-
dismissOverlay();
|
|
42
39
|
useDialog ? dialogProps?.onDismiss?.() : modalProps?.onDismiss?.();
|
|
43
|
-
|
|
44
|
-
}, [dismissOverlay, dialogProps?.onDismiss, modalProps?.onDismiss]);
|
|
40
|
+
}, [useDialog, dialogProps?.onDismiss, modalProps?.onDismiss, focusAccessibility]);
|
|
45
41
|
const toggleExpandable = useCallback(() => visible ? closeExpandable() : openExpandable(), [visible, openExpandable, closeExpandable]);
|
|
46
42
|
useImperativeHandle(ref, () => ({
|
|
47
43
|
openExpandable,
|
|
@@ -49,7 +45,7 @@ const ExpandableOverlay = (props, ref) => {
|
|
|
49
45
|
toggleExpandable
|
|
50
46
|
}));
|
|
51
47
|
const renderModal = () => {
|
|
52
|
-
return <Modal testID={`${testID}.overlay`} overlayBackgroundColor={Colors.$backgroundDefault} {...modalProps} visible={visible} onDismiss={
|
|
48
|
+
return <Modal testID={`${testID}.overlay`} overlayBackgroundColor={Colors.$backgroundDefault} {...modalProps} visible={visible} onDismiss={closeExpandable} onRequestClose={closeExpandable} onBackgroundPress={closeExpandable}>
|
|
53
49
|
{showTopBar && <Modal.TopBar onDone={closeExpandable} {...topBarProps} />}
|
|
54
50
|
{expandableContent}
|
|
55
51
|
</Modal>;
|