@thelacanians/vue-native-cli 0.4.9 → 0.4.10
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/dist/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import { join, dirname } from "path";
|
|
|
10
10
|
import { fileURLToPath } from "url";
|
|
11
11
|
import { existsSync } from "fs";
|
|
12
12
|
import pc from "picocolors";
|
|
13
|
-
var VERSION = "0.4.
|
|
13
|
+
var VERSION = "0.4.10";
|
|
14
14
|
var createCommand = new Command("create").description("Create a new Vue Native project").argument("<name>", "project name").option("-t, --template <template>", "project template (blank, tabs, drawer)", "blank").action(async (name, options) => {
|
|
15
15
|
const template = options.template;
|
|
16
16
|
if (!["blank", "tabs", "drawer"].includes(template)) {
|
package/native/ios/VueNativeCore/Sources/VueNativeCore/Components/Factories/VSafeAreaFactory.swift
CHANGED
|
@@ -45,9 +45,11 @@ final class SafeAreaView: UIView {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/// Walk up to the topmost Yoga-managed view (__ROOT__), stopping before
|
|
49
|
+
/// we reach vc.view or UIWindow which are NOT part of the Yoga tree.
|
|
48
50
|
private func findFlexRoot() -> UIView? {
|
|
49
51
|
var v: UIView? = self
|
|
50
|
-
while let parent = v?.superview {
|
|
52
|
+
while let parent = v?.superview, parent.flex.isEnabled {
|
|
51
53
|
v = parent
|
|
52
54
|
}
|
|
53
55
|
return v
|