native-document 1.0.132 → 1.0.133
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.
|
@@ -12396,7 +12396,7 @@ var NativeComponents = (function (exports) {
|
|
|
12396
12396
|
this.$description.orientation = 'vertical';
|
|
12397
12397
|
this.$description.alignment = 'leading';
|
|
12398
12398
|
}
|
|
12399
|
-
|
|
12399
|
+
BaseComponent.extends(VStack);
|
|
12400
12400
|
|
|
12401
12401
|
VStack.preset = function(name, callback) {
|
|
12402
12402
|
if (VStack.prototype[name] || VStack[name]) {
|
|
@@ -12455,7 +12455,7 @@ var NativeComponents = (function (exports) {
|
|
|
12455
12455
|
this.$description.orientation = 'horizontal';
|
|
12456
12456
|
}
|
|
12457
12457
|
|
|
12458
|
-
|
|
12458
|
+
BaseComponent.extends(HStack);
|
|
12459
12459
|
|
|
12460
12460
|
HStack.preset = function(name, callback) {
|
|
12461
12461
|
if (HStack.prototype[name] || HStack[name]) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Stack from "./Stack";
|
|
2
2
|
import DebugManager from "../../core/utils/debug-manager";
|
|
3
|
+
import BaseComponent from "../BaseComponent";
|
|
3
4
|
|
|
4
5
|
export default function HStack(content, props = {}) {
|
|
5
6
|
if (!(this instanceof HStack)) {
|
|
@@ -10,7 +11,7 @@ export default function HStack(content, props = {}) {
|
|
|
10
11
|
this.$description.orientation = 'horizontal';
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
BaseComponent.extends(HStack);
|
|
14
15
|
|
|
15
16
|
HStack.preset = function(name, callback) {
|
|
16
17
|
if (HStack.prototype[name] || HStack[name]) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Stack from "./Stack";
|
|
2
2
|
import DebugManager from "../../core/utils/debug-manager";
|
|
3
|
+
import BaseComponent from "../BaseComponent";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export default function VStack(content, props = {}) {
|
|
@@ -9,7 +10,7 @@ export default function VStack(content, props = {}) {
|
|
|
9
10
|
this.$description.orientation = 'vertical';
|
|
10
11
|
this.$description.alignment = 'leading';
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
BaseComponent.extends(VStack);
|
|
13
14
|
|
|
14
15
|
VStack.preset = function(name, callback) {
|
|
15
16
|
if (VStack.prototype[name] || VStack[name]) {
|