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
- Stack.extends(VStack);
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
- Stack.extends(HStack);
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,6 +1,6 @@
1
1
  {
2
2
  "name": "native-document",
3
- "version": "1.0.132",
3
+ "version": "1.0.133",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -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
- Stack.extends(HStack);
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
- Stack.extends(VStack);
13
+ BaseComponent.extends(VStack);
13
14
 
14
15
  VStack.preset = function(name, callback) {
15
16
  if (VStack.prototype[name] || VStack[name]) {