react-native-navigation 7.23.1-snapshot.1682 → 7.23.1-snapshot.285
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/.buildkite/pipeline.yml
CHANGED
|
@@ -1,19 +1,57 @@
|
|
|
1
|
-
env:
|
|
2
|
-
CI: true
|
|
3
|
-
ANDROID_HOME: /usr/local/share/android-sdk/
|
|
4
|
-
PATH: "$PATH:/usr/local/share/android-sdk/platform-tools/"
|
|
5
1
|
steps:
|
|
6
|
-
-
|
|
2
|
+
- block: ":rocket: Release!"
|
|
3
|
+
prompt: "Fill out the details for release"
|
|
4
|
+
if: 'build.message =~ /^release\$/i'
|
|
5
|
+
fields:
|
|
6
|
+
- text: "VERSION"
|
|
7
|
+
key: "version"
|
|
8
|
+
- text: "NPM_TAG"
|
|
9
|
+
key: "npm-tag"
|
|
10
|
+
default: 'null'
|
|
11
|
+
required: false
|
|
12
|
+
- text: "BUILD_DOCUMENTATION_VERSION"
|
|
13
|
+
key: "build-documentation-version"
|
|
14
|
+
default: 'null'
|
|
15
|
+
hint: 'Leave NULL if no version is specified'
|
|
16
|
+
- text: "REMOVE_DOCUMENTATION_VERSION"
|
|
17
|
+
key: "remove-documentation-version"
|
|
18
|
+
default: 'null'
|
|
19
|
+
hint: 'Leave NULL if no version is specified'
|
|
20
|
+
|
|
21
|
+
- label: ":android: Android"
|
|
7
22
|
command:
|
|
8
|
-
- "
|
|
23
|
+
- "nvm install"
|
|
9
24
|
- "npm install"
|
|
10
|
-
- "npm run
|
|
25
|
+
- "npm run test-js"
|
|
11
26
|
- "npm run test-unit-android -- --release"
|
|
12
27
|
- "npm run test-e2e-android-multi -- --release --headless --verbose --ci"
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
key: "android_build"
|
|
29
|
+
|
|
30
|
+
- label: ":ios: iOS - Unit"
|
|
15
31
|
command:
|
|
16
|
-
- "
|
|
32
|
+
- "nvm install"
|
|
17
33
|
- "npm install"
|
|
18
|
-
- "npm run
|
|
34
|
+
- "npm run test-unit-ios -- --release"
|
|
35
|
+
key: "ios_unit"
|
|
36
|
+
agents:
|
|
37
|
+
test-agent: true
|
|
38
|
+
|
|
39
|
+
- label: ":ios: iOS - E2E"
|
|
40
|
+
command:
|
|
41
|
+
- "nvm install"
|
|
42
|
+
- "npm install"
|
|
43
|
+
- "npm run test-snapshot-ios -- --release"
|
|
19
44
|
- "npm run test-e2e-ios -- --release --multi --ci"
|
|
45
|
+
key: "ios_e2e"
|
|
46
|
+
|
|
47
|
+
- label: ":package: Publish"
|
|
48
|
+
env:
|
|
49
|
+
if: "build.pull_request.id == null"
|
|
50
|
+
command:
|
|
51
|
+
- "nvm install"
|
|
52
|
+
- "npm install"
|
|
53
|
+
- "npm run release"
|
|
54
|
+
depends_on:
|
|
55
|
+
- "android_build"
|
|
56
|
+
- "ios_unit"
|
|
57
|
+
- "ios_e2e"
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
14
|
|
@@ -75,7 +75,10 @@ const setters = remx.setters({
|
|
|
75
75
|
},
|
|
76
76
|
mergeOptions(componentId, options) {
|
|
77
77
|
const layout = getters.getLayoutById(componentId);
|
|
78
|
-
layout
|
|
78
|
+
if (layout)
|
|
79
|
+
layout.mergeOptions(options);
|
|
80
|
+
else
|
|
81
|
+
console.warn(`[RNN error] Merge options failure: cannot find layout for: ${componentId}`);
|
|
79
82
|
},
|
|
80
83
|
});
|
|
81
84
|
const getters = remx.getters({
|
|
@@ -82,6 +82,9 @@
|
|
|
82
82
|
setNavigationBarClipsToBounds:[withDefault.topBar.background.clipToBounds withDefault:NO]];
|
|
83
83
|
|
|
84
84
|
[stack.view setBackgroundColor:[withDefault.layout.backgroundColor withDefault:nil]];
|
|
85
|
+
if (options.topBar.background.component.name.hasValue) {
|
|
86
|
+
[self setCustomNavigationComponentBackground:options perform:nil];
|
|
87
|
+
}
|
|
85
88
|
}
|
|
86
89
|
|
|
87
90
|
- (void)applyOptionsOnViewDidLayoutSubviews:(RNNNavigationOptions *)options {
|
|
@@ -77,7 +77,8 @@ const setters = remx.setters({
|
|
|
77
77
|
},
|
|
78
78
|
mergeOptions(componentId: string, options: Options) {
|
|
79
79
|
const layout = getters.getLayoutById(componentId);
|
|
80
|
-
layout.mergeOptions(options);
|
|
80
|
+
if (layout) layout.mergeOptions(options);
|
|
81
|
+
else console.warn(`[RNN error] Merge options failure: cannot find layout for: ${componentId}`);
|
|
81
82
|
},
|
|
82
83
|
});
|
|
83
84
|
|
package/package.json
CHANGED