@draftbit/core 46.10.3-3aae02.2 → 46.10.3-7db6c9.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.
@@ -12,4 +12,4 @@ const APPROX_STATUSBAR_HEIGHT = _reactNative.Platform.select({
12
12
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
13
13
  ios: _reactNative.Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
14
14
  });
15
- exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;
15
+ exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;AR_HEIGHT;
@@ -83,6 +83,16 @@ const SEED_DATA = [{
83
83
  description: "Stack aligns items vertically or horizontally based on the direction prop",
84
84
  ...SHARED_SEED_DATA,
85
85
  props: {
86
+ direction: (0, _types.createTextEnumProp)({
87
+ label: "Direction",
88
+ description: "The direction of the Stack",
89
+ options: ["row", "column"],
90
+ defaultValue: "column"
91
+ }),
92
+ reversed: (0, _types.createBoolProp)({
93
+ label: "Reversed",
94
+ description: "Determines whether to reverse the direction of items"
95
+ }),
86
96
  isDisabled: (0, _types.createBoolProp)({
87
97
  label: "Disabled",
88
98
  description: "If true, the Stack will be disabled"
@@ -1,4 +1,4 @@
1
- import { COMPONENT_TYPES, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, createStaticBoolProp } from "@draftbit/types";
1
+ import { COMPONENT_TYPES, createTextEnumProp, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, createStaticBoolProp } from "@draftbit/types";
2
2
  const SHARED_SEED_DATA = {
3
3
  category: COMPONENT_TYPES.layout,
4
4
  packageName: "native-base",
@@ -77,6 +77,16 @@ export const SEED_DATA = [{
77
77
  description: "Stack aligns items vertically or horizontally based on the direction prop",
78
78
  ...SHARED_SEED_DATA,
79
79
  props: {
80
+ direction: createTextEnumProp({
81
+ label: "Direction",
82
+ description: "The direction of the Stack",
83
+ options: ["row", "column"],
84
+ defaultValue: "column"
85
+ }),
86
+ reversed: createBoolProp({
87
+ label: "Reversed",
88
+ description: "Determines whether to reverse the direction of items"
89
+ }),
80
90
  isDisabled: createBoolProp({
81
91
  label: "Disabled",
82
92
  description: "If true, the Stack will be disabled"
@@ -12,9 +12,10 @@ export declare const SEED_DATA: ({
12
12
  step: number;
13
13
  };
14
14
  centerContent?: undefined;
15
+ direction?: undefined;
16
+ reversed?: undefined;
15
17
  isDisabled?: undefined;
16
18
  isInvalid?: undefined;
17
- reversed?: undefined;
18
19
  };
19
20
  category: string;
20
21
  packageName: string;
@@ -48,9 +49,10 @@ export declare const SEED_DATA: ({
48
49
  group: string;
49
50
  };
50
51
  ratio?: undefined;
52
+ direction?: undefined;
53
+ reversed?: undefined;
51
54
  isDisabled?: undefined;
52
55
  isInvalid?: undefined;
53
- reversed?: undefined;
54
56
  };
55
57
  } | {
56
58
  category: string;
@@ -76,6 +78,27 @@ export declare const SEED_DATA: ({
76
78
  };
77
79
  } | {
78
80
  props: {
81
+ direction: {
82
+ group: string;
83
+ label: string;
84
+ description: string;
85
+ editable: boolean;
86
+ required: boolean;
87
+ formType: string;
88
+ propType: string;
89
+ defaultValue: null;
90
+ options: never[];
91
+ };
92
+ reversed: {
93
+ label: string;
94
+ description: string;
95
+ formType: string;
96
+ propType: string;
97
+ defaultValue: boolean;
98
+ editable: boolean;
99
+ required: boolean;
100
+ group: string;
101
+ };
79
102
  isDisabled: {
80
103
  label: string;
81
104
  description: string;
@@ -98,7 +121,6 @@ export declare const SEED_DATA: ({
98
121
  };
99
122
  ratio?: undefined;
100
123
  centerContent?: undefined;
101
- reversed?: undefined;
102
124
  };
103
125
  category: string;
104
126
  packageName: string;
@@ -120,6 +142,7 @@ export declare const SEED_DATA: ({
120
142
  };
121
143
  ratio?: undefined;
122
144
  centerContent?: undefined;
145
+ direction?: undefined;
123
146
  isDisabled?: undefined;
124
147
  isInvalid?: undefined;
125
148
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/mappings/NativeBase/Layout.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkHrB,CAAC"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/mappings/NativeBase/Layout.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4HrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.10.3-3aae02.2+3aae02c",
3
+ "version": "46.10.3-7db6c9.2+7db6c9d",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@date-io/date-fns": "^1.3.13",
43
43
  "@draftbit/react-theme-provider": "^2.1.1",
44
- "@draftbit/types": "^46.10.3-3aae02.2+3aae02c",
44
+ "@draftbit/types": "^46.10.3-7db6c9.2+7db6c9d",
45
45
  "@material-ui/core": "^4.11.0",
46
46
  "@material-ui/pickers": "^3.2.10",
47
47
  "@react-native-community/slider": "4.2.3",
@@ -100,5 +100,5 @@
100
100
  ]
101
101
  ]
102
102
  },
103
- "gitHead": "3aae02cccac71c7081c63ab1b10da34c8262cadf"
103
+ "gitHead": "7db6c9d0f116844884dd0ca4c4473bca550920a3"
104
104
  }
@@ -1,4 +1,4 @@
1
- import { COMPONENT_TYPES, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, createStaticBoolProp, } from "@draftbit/types";
1
+ import { COMPONENT_TYPES, createTextEnumProp, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, createStaticBoolProp, } from "@draftbit/types";
2
2
  const SHARED_SEED_DATA = {
3
3
  category: COMPONENT_TYPES.layout,
4
4
  packageName: "native-base",
@@ -91,6 +91,16 @@ export const SEED_DATA = [
91
91
  description: "Stack aligns items vertically or horizontally based on the direction prop",
92
92
  ...SHARED_SEED_DATA,
93
93
  props: {
94
+ direction: createTextEnumProp({
95
+ label: "Direction",
96
+ description: "The direction of the Stack",
97
+ options: ["row", "column"],
98
+ defaultValue: "column",
99
+ }),
100
+ reversed: createBoolProp({
101
+ label: "Reversed",
102
+ description: "Determines whether to reverse the direction of items",
103
+ }),
94
104
  isDisabled: createBoolProp({
95
105
  label: "Disabled",
96
106
  description: "If true, the Stack will be disabled",
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  COMPONENT_TYPES,
3
+ createTextEnumProp,
3
4
  createBoolProp,
4
5
  CONTAINER_COMPONENT_STYLES_SECTIONS,
5
6
  createStaticNumberProp,
@@ -112,6 +113,16 @@ export const SEED_DATA = [
112
113
  "Stack aligns items vertically or horizontally based on the direction prop",
113
114
  ...SHARED_SEED_DATA,
114
115
  props: {
116
+ direction: createTextEnumProp({
117
+ label: "Direction",
118
+ description: "The direction of the Stack",
119
+ options: ["row", "column"],
120
+ defaultValue: "column",
121
+ }),
122
+ reversed: createBoolProp({
123
+ label: "Reversed",
124
+ description: "Determines whether to reverse the direction of items",
125
+ }),
115
126
  isDisabled: createBoolProp({
116
127
  label: "Disabled",
117
128
  description: "If true, the Stack will be disabled",