@draftbit/core 46.10.3-93b2ea.2 → 46.10.3-b95a8c.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/CheckboxRow.js +6 -23
- package/lib/commonjs/components/Checkbox/context.js +1 -1
- package/lib/commonjs/index.js +0 -47
- package/lib/commonjs/mappings/NativeBase/Layout.js +107 -0
- package/lib/module/constants.js +1 -0
- package/lib/module/index.js +0 -5
- package/lib/module/mappings/NativeBase/Layout.js +100 -0
- package/lib/typescript/src/index.d.ts +0 -5
- 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 -5
- package/src/index.tsx +0 -6
- package/src/mappings/NativeBase/Layout.js +116 -0
- package/src/mappings/NativeBase/Layout.ts +137 -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/components/Table/Table.js +0 -123
- package/lib/commonjs/components/Table/TableCell.js +0 -49
- package/lib/commonjs/components/Table/TableCommon.js +0 -30
- package/lib/commonjs/components/Table/TableRow.js +0 -61
- package/lib/commonjs/components/Table/index.js +0 -27
- package/lib/commonjs/mappings/Container.js +0 -37
- package/lib/commonjs/mappings/Table.js +0 -140
- 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/components/Table/Table.js +0 -114
- package/lib/module/components/Table/TableCell.js +0 -41
- package/lib/module/components/Table/TableCommon.js +0 -21
- package/lib/module/components/Table/TableRow.js +0 -53
- package/lib/module/components/Table/index.js +0 -3
- package/lib/module/mappings/Container.js +0 -30
- package/lib/module/mappings/Table.js +0 -133
- 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/components/Table/Table.d.ts +0 -19
- package/lib/typescript/src/components/Table/Table.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableCell.d.ts +0 -9
- package/lib/typescript/src/components/Table/TableCell.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableCommon.d.ts +0 -20
- package/lib/typescript/src/components/Table/TableCommon.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableRow.d.ts +0 -14
- package/lib/typescript/src/components/Table/TableRow.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/index.d.ts +0 -4
- package/lib/typescript/src/components/Table/index.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/lib/typescript/src/mappings/Table.d.ts +0 -337
- package/lib/typescript/src/mappings/Table.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/components/Table/Table.js +0 -93
- package/src/components/Table/Table.tsx +0 -176
- package/src/components/Table/TableCell.js +0 -31
- package/src/components/Table/TableCell.tsx +0 -63
- package/src/components/Table/TableCommon.js +0 -12
- package/src/components/Table/TableCommon.ts +0 -40
- package/src/components/Table/TableRow.js +0 -37
- package/src/components/Table/TableRow.tsx +0 -77
- package/src/components/Table/index.js +0 -3
- package/src/components/Table/index.tsx +0 -3
- package/src/mappings/Container.js +0 -30
- package/src/mappings/Container.ts +0 -41
- package/src/mappings/Table.js +0 -150
- package/src/mappings/Table.ts +0 -170
|
@@ -14,7 +14,8 @@ var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
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); }
|
|
16
16
|
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; }
|
|
17
|
-
var
|
|
17
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
18
|
+
let Direction;
|
|
18
19
|
exports.Direction = Direction;
|
|
19
20
|
(function (Direction) {
|
|
20
21
|
Direction["Row"] = "row";
|
|
@@ -57,6 +58,7 @@ const CheckboxRow = _ref => {
|
|
|
57
58
|
setInternalValue(status);
|
|
58
59
|
}
|
|
59
60
|
}, [status]);
|
|
61
|
+
|
|
60
62
|
// This special logic is to handle weird APIs like Airtable that return
|
|
61
63
|
// true or undefined for a boolean
|
|
62
64
|
const previousDefaultValue = (0, _hooks.usePrevious)(defaultValue);
|
|
@@ -80,14 +82,13 @@ const CheckboxRow = _ref => {
|
|
|
80
82
|
textStyles,
|
|
81
83
|
viewStyles
|
|
82
84
|
} = (0, _utilities.extractStyles)(style);
|
|
83
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
85
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
|
|
84
86
|
onPress: handlePress,
|
|
85
87
|
style: [viewStyles, styles.mainParent, {
|
|
86
88
|
flexDirection: direction
|
|
87
89
|
}],
|
|
88
|
-
disabled: disabled
|
|
89
|
-
|
|
90
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
90
|
+
disabled: disabled
|
|
91
|
+
}, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
91
92
|
style: [styles.label, {
|
|
92
93
|
alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
|
|
93
94
|
}, labelContainerStyle]
|
|
@@ -124,22 +125,4 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
124
125
|
}
|
|
125
126
|
});
|
|
126
127
|
var _default = CheckboxRow;
|
|
127
|
-
exports.default = _default;ems: "center",
|
|
128
|
-
justifyContent: "space-around",
|
|
129
|
-
paddingStart: 20,
|
|
130
|
-
minHeight: 50,
|
|
131
|
-
paddingEnd: 20,
|
|
132
|
-
display: "flex",
|
|
133
|
-
..._reactNative.Platform.select({
|
|
134
|
-
web: {
|
|
135
|
-
cursor: "pointer",
|
|
136
|
-
userSelect: "none"
|
|
137
|
-
}
|
|
138
|
-
})
|
|
139
|
-
},
|
|
140
|
-
label: {
|
|
141
|
-
flex: 3
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
var _default = CheckboxRow;
|
|
145
128
|
exports.default = _default;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.checkboxGroupContext = exports.Direction = void 0;
|
|
7
7
|
exports.useCheckboxGroupContext = useCheckboxGroupContext;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
|
|
9
|
+
var Direction;
|
|
10
10
|
exports.Direction = Direction;
|
|
11
11
|
(function (Direction) {
|
|
12
12
|
Direction["Horizontal"] = "horizontal";
|
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 () {
|
|
@@ -369,24 +345,6 @@ Object.defineProperty(exports, "TabViewItem", {
|
|
|
369
345
|
return _TabView.TabViewItem;
|
|
370
346
|
}
|
|
371
347
|
});
|
|
372
|
-
Object.defineProperty(exports, "Table", {
|
|
373
|
-
enumerable: true,
|
|
374
|
-
get: function () {
|
|
375
|
-
return _Table.Table;
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
Object.defineProperty(exports, "TableCell", {
|
|
379
|
-
enumerable: true,
|
|
380
|
-
get: function () {
|
|
381
|
-
return _Table.TableCell;
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
Object.defineProperty(exports, "TableRow", {
|
|
385
|
-
enumerable: true,
|
|
386
|
-
get: function () {
|
|
387
|
-
return _Table.TableRow;
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
348
|
Object.defineProperty(exports, "TextField", {
|
|
391
349
|
enumerable: true,
|
|
392
350
|
get: function () {
|
|
@@ -446,7 +404,6 @@ var _CircleImage = _interopRequireDefault(require("./components/CircleImage"));
|
|
|
446
404
|
var _AvatarEdit = _interopRequireDefault(require("./components/AvatarEdit"));
|
|
447
405
|
var _Card = _interopRequireDefault(require("./components/Card"));
|
|
448
406
|
var _Checkbox = require("./components/Checkbox");
|
|
449
|
-
var _Container = _interopRequireDefault(require("./components/Container"));
|
|
450
407
|
var _Divider = _interopRequireDefault(require("./components/Divider"));
|
|
451
408
|
var _FAB = _interopRequireDefault(require("./components/FAB"));
|
|
452
409
|
var _FieldSearchBarFull = _interopRequireDefault(require("./components/FieldSearchBarFull"));
|
|
@@ -473,14 +430,10 @@ var _TabView = require("./components/TabView");
|
|
|
473
430
|
var _Markdown = _interopRequireDefault(require("./components/Markdown"));
|
|
474
431
|
var _BottomSheet = require("./components/BottomSheet");
|
|
475
432
|
var _YoutubePlayer = require("./components/YoutubePlayer");
|
|
476
|
-
var _Table = require("./components/Table");
|
|
477
433
|
var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePicker"));
|
|
478
434
|
var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
|
|
479
435
|
var _ProgressBar = _interopRequireDefault(require("./components/ProgressBar"));
|
|
480
436
|
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
437
|
var _Slider = _interopRequireDefault(require("./components/Slider"));
|
|
485
438
|
var _Stepper = _interopRequireDefault(require("./components/Stepper"));
|
|
486
439
|
var _useAuthState = require("./components/useAuthState");
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
+
}, {
|
|
27
|
+
name: "Box",
|
|
28
|
+
tag: "Box",
|
|
29
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
30
|
+
...SHARED_SEED_DATA
|
|
31
|
+
}, {
|
|
32
|
+
name: "Center",
|
|
33
|
+
tag: "Center",
|
|
34
|
+
description: "Center aligns its contents to the center within itself",
|
|
35
|
+
...SHARED_SEED_DATA,
|
|
36
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
37
|
+
}, {
|
|
38
|
+
name: "Circle",
|
|
39
|
+
tag: "Circle",
|
|
40
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
41
|
+
...SHARED_SEED_DATA,
|
|
42
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
43
|
+
}, {
|
|
44
|
+
name: "Container",
|
|
45
|
+
tag: "Container",
|
|
46
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
47
|
+
props: {
|
|
48
|
+
centerContent: (0, _types.createStaticBoolProp)({
|
|
49
|
+
label: "Center content",
|
|
50
|
+
description: "Center child elements based on their content width",
|
|
51
|
+
defaultValue: true
|
|
52
|
+
})
|
|
53
|
+
},
|
|
54
|
+
...SHARED_SEED_DATA
|
|
55
|
+
}, {
|
|
56
|
+
name: "Column",
|
|
57
|
+
tag: "Column",
|
|
58
|
+
description: "Column aligns items vertically",
|
|
59
|
+
layout: {
|
|
60
|
+
flexDirection: "column"
|
|
61
|
+
},
|
|
62
|
+
...SHARED_SEED_DATA
|
|
63
|
+
}, {
|
|
64
|
+
name: "Row",
|
|
65
|
+
tag: "Row",
|
|
66
|
+
description: "Column aligns items horizontally",
|
|
67
|
+
layout: {
|
|
68
|
+
flexDirection: "row"
|
|
69
|
+
},
|
|
70
|
+
...SHARED_SEED_DATA
|
|
71
|
+
}, {
|
|
72
|
+
name: "Spacer",
|
|
73
|
+
tag: "Spacer",
|
|
74
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
75
|
+
layout: {
|
|
76
|
+
flex: 1
|
|
77
|
+
},
|
|
78
|
+
...SHARED_SEED_DATA,
|
|
79
|
+
stylesPanelSections: [_types.StylesPanelSections.LayoutSelectedItem, _types.StylesPanelSections.Background, _types.StylesPanelSections.Margins]
|
|
80
|
+
}, {
|
|
81
|
+
name: "Stack",
|
|
82
|
+
tag: "Stack",
|
|
83
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
84
|
+
...SHARED_SEED_DATA,
|
|
85
|
+
props: {
|
|
86
|
+
isDisabled: (0, _types.createBoolProp)({
|
|
87
|
+
label: "Disabled",
|
|
88
|
+
description: "If true, the Stack will be disabled"
|
|
89
|
+
}),
|
|
90
|
+
isInvalid: (0, _types.createBoolProp)({
|
|
91
|
+
label: "Invalid",
|
|
92
|
+
description: "If true, the Stack will be invalid"
|
|
93
|
+
})
|
|
94
|
+
}
|
|
95
|
+
}, {
|
|
96
|
+
name: "ZStack",
|
|
97
|
+
tag: "ZStack",
|
|
98
|
+
description: "ZStack aligns items to the z-axis",
|
|
99
|
+
...SHARED_SEED_DATA,
|
|
100
|
+
props: {
|
|
101
|
+
reversed: (0, _types.createBoolProp)({
|
|
102
|
+
label: "Reversed",
|
|
103
|
+
description: "Determines whether to reverse the direction of items"
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
}];
|
|
107
|
+
exports.SEED_DATA = SEED_DATA;
|
package/lib/module/constants.js
CHANGED
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";
|
|
@@ -37,16 +36,12 @@ export { TabView, TabViewItem } from "./components/TabView";
|
|
|
37
36
|
export { default as Markdown } from "./components/Markdown";
|
|
38
37
|
export { BottomSheet } from "./components/BottomSheet";
|
|
39
38
|
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
40
|
-
export { Table, TableRow, TableCell } from "./components/Table";
|
|
41
39
|
|
|
42
40
|
/* Deprecated: Fix or Delete! */
|
|
43
41
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
44
42
|
export { default as Picker } from "./components/Picker/Picker";
|
|
45
43
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
46
44
|
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
45
|
export { default as Slider } from "./components/Slider";
|
|
51
46
|
export { default as Stepper } from "./components/Stepper";
|
|
52
47
|
export { useAuthState } from "./components/useAuthState";
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
}, {
|
|
21
|
+
name: "Box",
|
|
22
|
+
tag: "Box",
|
|
23
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
24
|
+
...SHARED_SEED_DATA
|
|
25
|
+
}, {
|
|
26
|
+
name: "Center",
|
|
27
|
+
tag: "Center",
|
|
28
|
+
description: "Center aligns its contents to the center within itself",
|
|
29
|
+
...SHARED_SEED_DATA,
|
|
30
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
31
|
+
}, {
|
|
32
|
+
name: "Circle",
|
|
33
|
+
tag: "Circle",
|
|
34
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
35
|
+
...SHARED_SEED_DATA,
|
|
36
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX
|
|
37
|
+
}, {
|
|
38
|
+
name: "Container",
|
|
39
|
+
tag: "Container",
|
|
40
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
41
|
+
props: {
|
|
42
|
+
centerContent: createStaticBoolProp({
|
|
43
|
+
label: "Center content",
|
|
44
|
+
description: "Center child elements based on their content width",
|
|
45
|
+
defaultValue: true
|
|
46
|
+
})
|
|
47
|
+
},
|
|
48
|
+
...SHARED_SEED_DATA
|
|
49
|
+
}, {
|
|
50
|
+
name: "Column",
|
|
51
|
+
tag: "Column",
|
|
52
|
+
description: "Column aligns items vertically",
|
|
53
|
+
layout: {
|
|
54
|
+
flexDirection: "column"
|
|
55
|
+
},
|
|
56
|
+
...SHARED_SEED_DATA
|
|
57
|
+
}, {
|
|
58
|
+
name: "Row",
|
|
59
|
+
tag: "Row",
|
|
60
|
+
description: "Column aligns items horizontally",
|
|
61
|
+
layout: {
|
|
62
|
+
flexDirection: "row"
|
|
63
|
+
},
|
|
64
|
+
...SHARED_SEED_DATA
|
|
65
|
+
}, {
|
|
66
|
+
name: "Spacer",
|
|
67
|
+
tag: "Spacer",
|
|
68
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
69
|
+
layout: {
|
|
70
|
+
flex: 1
|
|
71
|
+
},
|
|
72
|
+
...SHARED_SEED_DATA,
|
|
73
|
+
stylesPanelSections: [StylesPanelSections.LayoutSelectedItem, StylesPanelSections.Background, StylesPanelSections.Margins]
|
|
74
|
+
}, {
|
|
75
|
+
name: "Stack",
|
|
76
|
+
tag: "Stack",
|
|
77
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
78
|
+
...SHARED_SEED_DATA,
|
|
79
|
+
props: {
|
|
80
|
+
isDisabled: createBoolProp({
|
|
81
|
+
label: "Disabled",
|
|
82
|
+
description: "If true, the Stack will be disabled"
|
|
83
|
+
}),
|
|
84
|
+
isInvalid: createBoolProp({
|
|
85
|
+
label: "Invalid",
|
|
86
|
+
description: "If true, the Stack will be invalid"
|
|
87
|
+
})
|
|
88
|
+
}
|
|
89
|
+
}, {
|
|
90
|
+
name: "ZStack",
|
|
91
|
+
tag: "ZStack",
|
|
92
|
+
description: "ZStack aligns items to the z-axis",
|
|
93
|
+
...SHARED_SEED_DATA,
|
|
94
|
+
props: {
|
|
95
|
+
reversed: createBoolProp({
|
|
96
|
+
label: "Reversed",
|
|
97
|
+
description: "Determines whether to reverse the direction of items"
|
|
98
|
+
})
|
|
99
|
+
}
|
|
100
|
+
}];
|
|
@@ -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";
|
|
@@ -37,14 +36,10 @@ export { TabView, TabViewItem } from "./components/TabView";
|
|
|
37
36
|
export { default as Markdown } from "./components/Markdown";
|
|
38
37
|
export { BottomSheet } from "./components/BottomSheet";
|
|
39
38
|
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
40
|
-
export { Table, TableRow, TableCell } from "./components/Table";
|
|
41
39
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
42
40
|
export { default as Picker } from "./components/Picker/Picker";
|
|
43
41
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
44
42
|
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
43
|
export { default as Slider } from "./components/Slider";
|
|
49
44
|
export { default as Stepper } from "./components/Stepper";
|
|
50
45
|
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,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export declare const SEED_DATA: ({
|
|
2
|
+
props: {
|
|
3
|
+
ratio: {
|
|
4
|
+
label: string;
|
|
5
|
+
description: string;
|
|
6
|
+
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
|
+
category: string;
|
|
20
|
+
packageName: string;
|
|
21
|
+
stylesPanelSections: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkHrB,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-b95a8c.2+b95a8c9",
|
|
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-b95a8c.2+b95a8c9",
|
|
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": "b95a8c9af2632eb49492cc095634fd4c6b5b19de"
|
|
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";
|
|
@@ -37,15 +36,11 @@ export { TabView, TabViewItem } from "./components/TabView";
|
|
|
37
36
|
export { default as Markdown } from "./components/Markdown";
|
|
38
37
|
export { BottomSheet } from "./components/BottomSheet";
|
|
39
38
|
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
40
|
-
export { Table, TableRow, TableCell } from "./components/Table";
|
|
41
39
|
/* Deprecated: Fix or Delete! */
|
|
42
40
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
43
41
|
export { default as Picker } from "./components/Picker/Picker";
|
|
44
42
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
45
43
|
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
44
|
export { default as Slider } from "./components/Slider";
|
|
50
45
|
export { default as Stepper } from "./components/Stepper";
|
|
51
46
|
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";
|
|
@@ -62,16 +61,11 @@ export { BottomSheet } from "./components/BottomSheet";
|
|
|
62
61
|
|
|
63
62
|
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
64
63
|
|
|
65
|
-
export { Table, TableRow, TableCell } from "./components/Table";
|
|
66
|
-
|
|
67
64
|
/* Deprecated: Fix or Delete! */
|
|
68
65
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
69
66
|
export { default as Picker } from "./components/Picker/Picker";
|
|
70
67
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
71
68
|
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
69
|
export { default as Slider } from "./components/Slider";
|
|
76
70
|
export { default as Stepper } from "./components/Stepper";
|
|
77
71
|
export { useAuthState } from "./components/useAuthState";
|