@draftbit/core 46.10.3-93b2ea.2 → 46.10.3-a0279d.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.
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +23 -5
- package/lib/commonjs/index.js +0 -28
- package/lib/commonjs/mappings/NativeBase/Layout.js +108 -0
- package/lib/module/index.js +0 -4
- package/lib/module/mappings/NativeBase/Layout.js +101 -0
- package/lib/typescript/src/index.d.ts +0 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +133 -0
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/index.js +0 -4
- package/src/index.tsx +0 -4
- package/src/mappings/NativeBase/Layout.js +124 -0
- package/src/mappings/NativeBase/Layout.ts +145 -0
- package/lib/commonjs/components/Container.js +0 -93
- package/lib/commonjs/components/Row.js +0 -73
- package/lib/commonjs/components/RowBodyIcon.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
- package/lib/commonjs/mappings/Container.js +0 -37
- package/lib/module/components/Container.js +0 -83
- package/lib/module/components/Row.js +0 -63
- package/lib/module/components/RowBodyIcon.js +0 -35
- package/lib/module/components/RowHeadlineImageCaption.js +0 -35
- package/lib/module/components/RowHeadlineImageIcon.js +0 -41
- package/lib/module/mappings/Container.js +0 -30
- package/lib/typescript/src/components/Container.d.ts +0 -21
- package/lib/typescript/src/components/Container.d.ts.map +0 -1
- package/lib/typescript/src/components/Row.d.ts +0 -21
- package/lib/typescript/src/components/Row.d.ts.map +0 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Container.d.ts +0 -55
- package/lib/typescript/src/mappings/Container.d.ts.map +0 -1
- package/src/components/Container.js +0 -43
- package/src/components/Container.tsx +0 -116
- package/src/components/Row.js +0 -48
- package/src/components/Row.tsx +0 -108
- package/src/components/RowBodyIcon.js +0 -8
- package/src/components/RowBodyIcon.tsx +0 -47
- package/src/components/RowHeadlineImageCaption.js +0 -12
- package/src/components/RowHeadlineImageCaption.tsx +0 -49
- package/src/components/RowHeadlineImageIcon.js +0 -14
- package/src/components/RowHeadlineImageIcon.tsx +0 -61
- package/src/mappings/Container.js +0 -30
- package/src/mappings/Container.ts +0 -41
|
@@ -13,8 +13,7 @@ var _utilities = require("../../utilities");
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
15
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
|
|
17
|
-
let Direction;
|
|
16
|
+
var Direction;
|
|
18
17
|
exports.Direction = Direction;
|
|
19
18
|
(function (Direction) {
|
|
20
19
|
Direction["Row"] = "row";
|
|
@@ -72,13 +71,14 @@ const CheckboxGroupRow = _ref => {
|
|
|
72
71
|
textStyles,
|
|
73
72
|
viewStyles
|
|
74
73
|
} = (0, _utilities.extractStyles)(style);
|
|
75
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable,
|
|
74
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
76
75
|
onPress: handlePress,
|
|
77
76
|
style: [styles.mainParent, {
|
|
78
77
|
flexDirection: direction
|
|
79
78
|
}, viewStyles],
|
|
80
|
-
disabled: disabled
|
|
81
|
-
|
|
79
|
+
disabled: disabled,
|
|
80
|
+
...rest
|
|
81
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
82
82
|
style: [styles.label, {
|
|
83
83
|
alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
|
|
84
84
|
}, labelContainerStyle]
|
|
@@ -117,4 +117,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
var _default = CheckboxGroupRow;
|
|
120
|
+
exports.default = _default;center",
|
|
121
|
+
justifyContent: "space-around",
|
|
122
|
+
paddingStart: 20,
|
|
123
|
+
minHeight: 50,
|
|
124
|
+
paddingEnd: 20,
|
|
125
|
+
display: "flex",
|
|
126
|
+
..._reactNative.Platform.select({
|
|
127
|
+
web: {
|
|
128
|
+
cursor: "pointer",
|
|
129
|
+
userSelect: "none"
|
|
130
|
+
}
|
|
131
|
+
})
|
|
132
|
+
},
|
|
133
|
+
label: {
|
|
134
|
+
flex: 3
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
var _default = CheckboxGroupRow;
|
|
120
138
|
exports.default = _default;
|
package/lib/commonjs/index.js
CHANGED
|
@@ -117,12 +117,6 @@ Object.defineProperty(exports, "CircleImage", {
|
|
|
117
117
|
return _CircleImage.default;
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
-
Object.defineProperty(exports, "Container", {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _Container.default;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
120
|
Object.defineProperty(exports, "DatePicker", {
|
|
127
121
|
enumerable: true,
|
|
128
122
|
get: function () {
|
|
@@ -255,24 +249,6 @@ Object.defineProperty(exports, "Row", {
|
|
|
255
249
|
return _Layout.Row;
|
|
256
250
|
}
|
|
257
251
|
});
|
|
258
|
-
Object.defineProperty(exports, "RowBodyIcon", {
|
|
259
|
-
enumerable: true,
|
|
260
|
-
get: function () {
|
|
261
|
-
return _RowBodyIcon.default;
|
|
262
|
-
}
|
|
263
|
-
});
|
|
264
|
-
Object.defineProperty(exports, "RowHeadlineImageCaption", {
|
|
265
|
-
enumerable: true,
|
|
266
|
-
get: function () {
|
|
267
|
-
return _RowHeadlineImageCaption.default;
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
Object.defineProperty(exports, "RowHeadlineImageIcon", {
|
|
271
|
-
enumerable: true,
|
|
272
|
-
get: function () {
|
|
273
|
-
return _RowHeadlineImageIcon.default;
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
252
|
Object.defineProperty(exports, "SVG", {
|
|
277
253
|
enumerable: true,
|
|
278
254
|
get: function () {
|
|
@@ -446,7 +422,6 @@ var _CircleImage = _interopRequireDefault(require("./components/CircleImage"));
|
|
|
446
422
|
var _AvatarEdit = _interopRequireDefault(require("./components/AvatarEdit"));
|
|
447
423
|
var _Card = _interopRequireDefault(require("./components/Card"));
|
|
448
424
|
var _Checkbox = require("./components/Checkbox");
|
|
449
|
-
var _Container = _interopRequireDefault(require("./components/Container"));
|
|
450
425
|
var _Divider = _interopRequireDefault(require("./components/Divider"));
|
|
451
426
|
var _FAB = _interopRequireDefault(require("./components/FAB"));
|
|
452
427
|
var _FieldSearchBarFull = _interopRequireDefault(require("./components/FieldSearchBarFull"));
|
|
@@ -478,9 +453,6 @@ var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePi
|
|
|
478
453
|
var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
|
|
479
454
|
var _ProgressBar = _interopRequireDefault(require("./components/ProgressBar"));
|
|
480
455
|
var _ProgressCircle = _interopRequireDefault(require("./components/ProgressCircle"));
|
|
481
|
-
var _RowBodyIcon = _interopRequireDefault(require("./components/RowBodyIcon"));
|
|
482
|
-
var _RowHeadlineImageCaption = _interopRequireDefault(require("./components/RowHeadlineImageCaption"));
|
|
483
|
-
var _RowHeadlineImageIcon = _interopRequireDefault(require("./components/RowHeadlineImageIcon"));
|
|
484
456
|
var _Slider = _interopRequireDefault(require("./components/Slider"));
|
|
485
457
|
var _Stepper = _interopRequireDefault(require("./components/Stepper"));
|
|
486
458
|
var _useAuthState = require("./components/useAuthState");
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SHARED_SEED_DATA = {
|
|
9
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
10
|
+
packageName: "native-base",
|
|
11
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS
|
|
12
|
+
};
|
|
13
|
+
const CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX = _types.CONTAINER_COMPONENT_STYLES_SECTIONS.filter(item => item !== _types.StylesPanelSections.LayoutFlexItems && item !== _types.StylesPanelSections.LayoutContent);
|
|
14
|
+
const SEED_DATA = [{
|
|
15
|
+
name: "Aspect Ratio",
|
|
16
|
+
tag: "AspectRatio",
|
|
17
|
+
description: "Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
18
|
+
...SHARED_SEED_DATA,
|
|
19
|
+
props: {
|
|
20
|
+
ratio: (0, _types.createStaticNumberProp)({
|
|
21
|
+
label: "Ratio",
|
|
22
|
+
description: "The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
23
|
+
defaultValue: 1.33
|
|
24
|
+
})
|
|
25
|
+
},
|
|
26
|
+
stylesPanelSections: [_types.StylesPanelSections.Background, _types.StylesPanelSections.Size, _types.StylesPanelSections.Margins, _types.StylesPanelSections.Position, _types.StylesPanelSections.Borders, _types.StylesPanelSections.Effects]
|
|
27
|
+
}, {
|
|
28
|
+
name: "Box",
|
|
29
|
+
tag: "Box",
|
|
30
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
31
|
+
...SHARED_SEED_DATA
|
|
32
|
+
}, {
|
|
33
|
+
name: "Center",
|
|
34
|
+
tag: "Center",
|
|
35
|
+
description: "Center aligns its contents to the center within itself",
|
|
36
|
+
...SHARED_SEED_DATA,
|
|
37
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
38
|
+
}, {
|
|
39
|
+
name: "Circle",
|
|
40
|
+
tag: "Circle",
|
|
41
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
42
|
+
...SHARED_SEED_DATA,
|
|
43
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
44
|
+
}, {
|
|
45
|
+
name: "Container",
|
|
46
|
+
tag: "Container",
|
|
47
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
48
|
+
props: {
|
|
49
|
+
centerContent: (0, _types.createStaticBoolProp)({
|
|
50
|
+
label: "Center content",
|
|
51
|
+
description: "Center child elements based on their content width",
|
|
52
|
+
defaultValue: true
|
|
53
|
+
})
|
|
54
|
+
},
|
|
55
|
+
...SHARED_SEED_DATA
|
|
56
|
+
}, {
|
|
57
|
+
name: "Column",
|
|
58
|
+
tag: "Column",
|
|
59
|
+
description: "Column aligns items vertically",
|
|
60
|
+
layout: {
|
|
61
|
+
flexDirection: "column"
|
|
62
|
+
},
|
|
63
|
+
...SHARED_SEED_DATA
|
|
64
|
+
}, {
|
|
65
|
+
name: "Row",
|
|
66
|
+
tag: "Row",
|
|
67
|
+
description: "Column aligns items horizontally",
|
|
68
|
+
layout: {
|
|
69
|
+
flexDirection: "row"
|
|
70
|
+
},
|
|
71
|
+
...SHARED_SEED_DATA
|
|
72
|
+
}, {
|
|
73
|
+
name: "Spacer",
|
|
74
|
+
tag: "Spacer",
|
|
75
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
76
|
+
layout: {
|
|
77
|
+
flex: 1
|
|
78
|
+
},
|
|
79
|
+
...SHARED_SEED_DATA,
|
|
80
|
+
stylesPanelSections: [_types.StylesPanelSections.LayoutSelectedItem, _types.StylesPanelSections.Background, _types.StylesPanelSections.Margins]
|
|
81
|
+
}, {
|
|
82
|
+
name: "Stack",
|
|
83
|
+
tag: "Stack",
|
|
84
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
85
|
+
...SHARED_SEED_DATA,
|
|
86
|
+
props: {
|
|
87
|
+
isDisabled: (0, _types.createBoolProp)({
|
|
88
|
+
label: "Disabled",
|
|
89
|
+
description: "If true, the Stack will be disabled"
|
|
90
|
+
}),
|
|
91
|
+
isInvalid: (0, _types.createBoolProp)({
|
|
92
|
+
label: "Invalid",
|
|
93
|
+
description: "If true, the Stack will be invalid"
|
|
94
|
+
})
|
|
95
|
+
}
|
|
96
|
+
}, {
|
|
97
|
+
name: "ZStack",
|
|
98
|
+
tag: "ZStack",
|
|
99
|
+
description: "ZStack aligns items to the z-axis",
|
|
100
|
+
...SHARED_SEED_DATA,
|
|
101
|
+
props: {
|
|
102
|
+
reversed: (0, _types.createBoolProp)({
|
|
103
|
+
label: "Reversed",
|
|
104
|
+
description: "Determines whether to reverse the direction of items"
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}];
|
|
108
|
+
exports.SEED_DATA = SEED_DATA;
|
package/lib/module/index.js
CHANGED
|
@@ -10,7 +10,6 @@ export { default as AvatarEdit } from "./components/AvatarEdit";
|
|
|
10
10
|
export { default as Card } from "./components/Card";
|
|
11
11
|
export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
|
|
12
12
|
export { default as CircleImage } from "./components/CircleImage";
|
|
13
|
-
export { default as Container } from "./components/Container";
|
|
14
13
|
export { default as Divider } from "./components/Divider";
|
|
15
14
|
export { default as FAB } from "./components/FAB";
|
|
16
15
|
export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
|
|
@@ -44,9 +43,6 @@ export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
|
44
43
|
export { default as Picker } from "./components/Picker/Picker";
|
|
45
44
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
46
45
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
47
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
48
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
49
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
50
46
|
export { default as Slider } from "./components/Slider";
|
|
51
47
|
export { default as Stepper } from "./components/Stepper";
|
|
52
48
|
export { useAuthState } from "./components/useAuthState";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { COMPONENT_TYPES, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, createStaticBoolProp } from "@draftbit/types";
|
|
2
|
+
const SHARED_SEED_DATA = {
|
|
3
|
+
category: COMPONENT_TYPES.layout,
|
|
4
|
+
packageName: "native-base",
|
|
5
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS
|
|
6
|
+
};
|
|
7
|
+
const CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX = CONTAINER_COMPONENT_STYLES_SECTIONS.filter(item => item !== StylesPanelSections.LayoutFlexItems && item !== StylesPanelSections.LayoutContent);
|
|
8
|
+
export const SEED_DATA = [{
|
|
9
|
+
name: "Aspect Ratio",
|
|
10
|
+
tag: "AspectRatio",
|
|
11
|
+
description: "Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
12
|
+
...SHARED_SEED_DATA,
|
|
13
|
+
props: {
|
|
14
|
+
ratio: createStaticNumberProp({
|
|
15
|
+
label: "Ratio",
|
|
16
|
+
description: "The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
17
|
+
defaultValue: 1.33
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
stylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.Margins, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects]
|
|
21
|
+
}, {
|
|
22
|
+
name: "Box",
|
|
23
|
+
tag: "Box",
|
|
24
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
25
|
+
...SHARED_SEED_DATA
|
|
26
|
+
}, {
|
|
27
|
+
name: "Center",
|
|
28
|
+
tag: "Center",
|
|
29
|
+
description: "Center aligns its contents to the center within itself",
|
|
30
|
+
...SHARED_SEED_DATA,
|
|
31
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
32
|
+
}, {
|
|
33
|
+
name: "Circle",
|
|
34
|
+
tag: "Circle",
|
|
35
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
36
|
+
...SHARED_SEED_DATA,
|
|
37
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
38
|
+
}, {
|
|
39
|
+
name: "Container",
|
|
40
|
+
tag: "Container",
|
|
41
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
42
|
+
props: {
|
|
43
|
+
centerContent: createStaticBoolProp({
|
|
44
|
+
label: "Center content",
|
|
45
|
+
description: "Center child elements based on their content width",
|
|
46
|
+
defaultValue: true
|
|
47
|
+
})
|
|
48
|
+
},
|
|
49
|
+
...SHARED_SEED_DATA
|
|
50
|
+
}, {
|
|
51
|
+
name: "Column",
|
|
52
|
+
tag: "Column",
|
|
53
|
+
description: "Column aligns items vertically",
|
|
54
|
+
layout: {
|
|
55
|
+
flexDirection: "column"
|
|
56
|
+
},
|
|
57
|
+
...SHARED_SEED_DATA
|
|
58
|
+
}, {
|
|
59
|
+
name: "Row",
|
|
60
|
+
tag: "Row",
|
|
61
|
+
description: "Column aligns items horizontally",
|
|
62
|
+
layout: {
|
|
63
|
+
flexDirection: "row"
|
|
64
|
+
},
|
|
65
|
+
...SHARED_SEED_DATA
|
|
66
|
+
}, {
|
|
67
|
+
name: "Spacer",
|
|
68
|
+
tag: "Spacer",
|
|
69
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
70
|
+
layout: {
|
|
71
|
+
flex: 1
|
|
72
|
+
},
|
|
73
|
+
...SHARED_SEED_DATA,
|
|
74
|
+
stylesPanelSections: [StylesPanelSections.LayoutSelectedItem, StylesPanelSections.Background, StylesPanelSections.Margins]
|
|
75
|
+
}, {
|
|
76
|
+
name: "Stack",
|
|
77
|
+
tag: "Stack",
|
|
78
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
79
|
+
...SHARED_SEED_DATA,
|
|
80
|
+
props: {
|
|
81
|
+
isDisabled: createBoolProp({
|
|
82
|
+
label: "Disabled",
|
|
83
|
+
description: "If true, the Stack will be disabled"
|
|
84
|
+
}),
|
|
85
|
+
isInvalid: createBoolProp({
|
|
86
|
+
label: "Invalid",
|
|
87
|
+
description: "If true, the Stack will be invalid"
|
|
88
|
+
})
|
|
89
|
+
}
|
|
90
|
+
}, {
|
|
91
|
+
name: "ZStack",
|
|
92
|
+
tag: "ZStack",
|
|
93
|
+
description: "ZStack aligns items to the z-axis",
|
|
94
|
+
...SHARED_SEED_DATA,
|
|
95
|
+
props: {
|
|
96
|
+
reversed: createBoolProp({
|
|
97
|
+
label: "Reversed",
|
|
98
|
+
description: "Determines whether to reverse the direction of items"
|
|
99
|
+
})
|
|
100
|
+
}
|
|
101
|
+
}];
|
|
@@ -10,7 +10,6 @@ export { default as AvatarEdit } from "./components/AvatarEdit";
|
|
|
10
10
|
export { default as Card } from "./components/Card";
|
|
11
11
|
export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
|
|
12
12
|
export { default as CircleImage } from "./components/CircleImage";
|
|
13
|
-
export { default as Container } from "./components/Container";
|
|
14
13
|
export { default as Divider } from "./components/Divider";
|
|
15
14
|
export { default as FAB } from "./components/FAB";
|
|
16
15
|
export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
|
|
@@ -42,9 +41,6 @@ export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
|
42
41
|
export { default as Picker } from "./components/Picker/Picker";
|
|
43
42
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
44
43
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
45
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
46
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
47
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
48
44
|
export { default as Slider } from "./components/Slider";
|
|
49
45
|
export { default as Stepper } from "./components/Stepper";
|
|
50
46
|
export { useAuthState } from "./components/useAuthState";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,mB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formType: string;
|
|
7
|
+
propType: string;
|
|
8
|
+
group: string;
|
|
9
|
+
defaultValue: null;
|
|
10
|
+
editable: boolean;
|
|
11
|
+
required: boolean;
|
|
12
|
+
step: number;
|
|
13
|
+
};
|
|
14
|
+
centerContent?: undefined;
|
|
15
|
+
isDisabled?: undefined;
|
|
16
|
+
isInvalid?: undefined;
|
|
17
|
+
reversed?: undefined;
|
|
18
|
+
};
|
|
19
|
+
stylesPanelSections: string[];
|
|
20
|
+
category: string;
|
|
21
|
+
packageName: string;
|
|
22
|
+
name: string;
|
|
23
|
+
tag: string;
|
|
24
|
+
description: string;
|
|
25
|
+
} | {
|
|
26
|
+
category: string;
|
|
27
|
+
packageName: string;
|
|
28
|
+
stylesPanelSections: string[];
|
|
29
|
+
name: string;
|
|
30
|
+
tag: string;
|
|
31
|
+
description: string;
|
|
32
|
+
} | {
|
|
33
|
+
category: string;
|
|
34
|
+
packageName: string;
|
|
35
|
+
stylesPanelSections: string[];
|
|
36
|
+
name: string;
|
|
37
|
+
tag: string;
|
|
38
|
+
description: string;
|
|
39
|
+
props: {
|
|
40
|
+
centerContent: {
|
|
41
|
+
label: string;
|
|
42
|
+
description: string;
|
|
43
|
+
formType: string;
|
|
44
|
+
propType: string;
|
|
45
|
+
defaultValue: boolean;
|
|
46
|
+
editable: boolean;
|
|
47
|
+
required: boolean;
|
|
48
|
+
group: string;
|
|
49
|
+
};
|
|
50
|
+
ratio?: undefined;
|
|
51
|
+
isDisabled?: undefined;
|
|
52
|
+
isInvalid?: undefined;
|
|
53
|
+
reversed?: undefined;
|
|
54
|
+
};
|
|
55
|
+
} | {
|
|
56
|
+
category: string;
|
|
57
|
+
packageName: string;
|
|
58
|
+
stylesPanelSections: string[];
|
|
59
|
+
name: string;
|
|
60
|
+
tag: string;
|
|
61
|
+
description: string;
|
|
62
|
+
layout: {
|
|
63
|
+
flexDirection: string;
|
|
64
|
+
flex?: undefined;
|
|
65
|
+
};
|
|
66
|
+
} | {
|
|
67
|
+
stylesPanelSections: string[];
|
|
68
|
+
category: string;
|
|
69
|
+
packageName: string;
|
|
70
|
+
name: string;
|
|
71
|
+
tag: string;
|
|
72
|
+
description: string;
|
|
73
|
+
layout: {
|
|
74
|
+
flex: number;
|
|
75
|
+
flexDirection?: undefined;
|
|
76
|
+
};
|
|
77
|
+
} | {
|
|
78
|
+
props: {
|
|
79
|
+
isDisabled: {
|
|
80
|
+
label: string;
|
|
81
|
+
description: string;
|
|
82
|
+
formType: string;
|
|
83
|
+
propType: string;
|
|
84
|
+
defaultValue: boolean;
|
|
85
|
+
editable: boolean;
|
|
86
|
+
required: boolean;
|
|
87
|
+
group: string;
|
|
88
|
+
};
|
|
89
|
+
isInvalid: {
|
|
90
|
+
label: string;
|
|
91
|
+
description: string;
|
|
92
|
+
formType: string;
|
|
93
|
+
propType: string;
|
|
94
|
+
defaultValue: boolean;
|
|
95
|
+
editable: boolean;
|
|
96
|
+
required: boolean;
|
|
97
|
+
group: string;
|
|
98
|
+
};
|
|
99
|
+
ratio?: undefined;
|
|
100
|
+
centerContent?: undefined;
|
|
101
|
+
reversed?: undefined;
|
|
102
|
+
};
|
|
103
|
+
category: string;
|
|
104
|
+
packageName: string;
|
|
105
|
+
stylesPanelSections: string[];
|
|
106
|
+
name: string;
|
|
107
|
+
tag: string;
|
|
108
|
+
description: string;
|
|
109
|
+
} | {
|
|
110
|
+
props: {
|
|
111
|
+
reversed: {
|
|
112
|
+
label: string;
|
|
113
|
+
description: string;
|
|
114
|
+
formType: string;
|
|
115
|
+
propType: string;
|
|
116
|
+
defaultValue: boolean;
|
|
117
|
+
editable: boolean;
|
|
118
|
+
required: boolean;
|
|
119
|
+
group: string;
|
|
120
|
+
};
|
|
121
|
+
ratio?: undefined;
|
|
122
|
+
centerContent?: undefined;
|
|
123
|
+
isDisabled?: undefined;
|
|
124
|
+
isInvalid?: undefined;
|
|
125
|
+
};
|
|
126
|
+
category: string;
|
|
127
|
+
packageName: string;
|
|
128
|
+
stylesPanelSections: string[];
|
|
129
|
+
name: string;
|
|
130
|
+
tag: string;
|
|
131
|
+
description: string;
|
|
132
|
+
})[];
|
|
133
|
+
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/mappings/NativeBase/Layout.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0HrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.10.3-
|
|
3
|
+
"version": "46.10.3-a0279d.2+a0279d8",
|
|
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-
|
|
44
|
+
"@draftbit/types": "^46.10.3-a0279d.2+a0279d8",
|
|
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": "
|
|
103
|
+
"gitHead": "a0279d85255f825a4928ff8f6d1731752f76a26a"
|
|
104
104
|
}
|
package/src/index.js
CHANGED
|
@@ -10,7 +10,6 @@ export { default as AvatarEdit } from "./components/AvatarEdit";
|
|
|
10
10
|
export { default as Card } from "./components/Card";
|
|
11
11
|
export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
|
|
12
12
|
export { default as CircleImage } from "./components/CircleImage";
|
|
13
|
-
export { default as Container } from "./components/Container";
|
|
14
13
|
export { default as Divider } from "./components/Divider";
|
|
15
14
|
export { default as FAB } from "./components/FAB";
|
|
16
15
|
export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
|
|
@@ -43,9 +42,6 @@ export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
|
43
42
|
export { default as Picker } from "./components/Picker/Picker";
|
|
44
43
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
45
44
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
46
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
47
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
48
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
49
45
|
export { default as Slider } from "./components/Slider";
|
|
50
46
|
export { default as Stepper } from "./components/Stepper";
|
|
51
47
|
export { useAuthState } from "./components/useAuthState";
|
package/src/index.tsx
CHANGED
|
@@ -11,7 +11,6 @@ export { default as AvatarEdit } from "./components/AvatarEdit";
|
|
|
11
11
|
export { default as Card } from "./components/Card";
|
|
12
12
|
export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
|
|
13
13
|
export { default as CircleImage } from "./components/CircleImage";
|
|
14
|
-
export { default as Container } from "./components/Container";
|
|
15
14
|
export { default as Divider } from "./components/Divider";
|
|
16
15
|
export { default as FAB } from "./components/FAB";
|
|
17
16
|
export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
|
|
@@ -69,9 +68,6 @@ export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
|
69
68
|
export { default as Picker } from "./components/Picker/Picker";
|
|
70
69
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
71
70
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
72
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
73
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
74
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
75
71
|
export { default as Slider } from "./components/Slider";
|
|
76
72
|
export { default as Stepper } from "./components/Stepper";
|
|
77
73
|
export { useAuthState } from "./components/useAuthState";
|