@draftbit/core 46.10.3-93b2ea.2 → 46.10.3-a5cf6b.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.
Files changed (112) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -23
  2. package/lib/commonjs/components/DeprecatedButton.js +20 -3
  3. package/lib/commonjs/index.js +0 -28
  4. package/lib/commonjs/mappings/NativeBase/Layout.js +108 -0
  5. package/lib/module/components/TabView/TabView.js +17 -7
  6. package/lib/module/index.js +0 -4
  7. package/lib/module/mappings/NativeBase/Layout.js +101 -0
  8. package/lib/typescript/src/index.d.ts +0 -4
  9. package/lib/typescript/src/index.d.ts.map +1 -1
  10. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +133 -0
  11. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
  12. package/package.json +3 -3
  13. package/src/index.js +0 -4
  14. package/src/index.tsx +0 -4
  15. package/src/mappings/NativeBase/Layout.js +124 -0
  16. package/src/mappings/NativeBase/Layout.ts +145 -0
  17. package/lib/commonjs/components/Container.js +0 -93
  18. package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
  19. package/lib/commonjs/components/DeprecatedFAB.js +0 -157
  20. package/lib/commonjs/components/ProgressIndicator.js +0 -55
  21. package/lib/commonjs/components/ResizeMode.js +0 -5
  22. package/lib/commonjs/components/Row.js +0 -73
  23. package/lib/commonjs/components/RowBodyIcon.js +0 -45
  24. package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
  25. package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
  26. package/lib/commonjs/mappings/CardBlock.js +0 -126
  27. package/lib/commonjs/mappings/CardContainer.js +0 -108
  28. package/lib/commonjs/mappings/CardContainerRating.js +0 -130
  29. package/lib/commonjs/mappings/CardContainerShortImage.js +0 -124
  30. package/lib/commonjs/mappings/CardInline.js +0 -59
  31. package/lib/commonjs/mappings/Container.js +0 -37
  32. package/lib/commonjs/mappings/ProgressIndicator.js +0 -188
  33. package/lib/module/components/Container.js +0 -83
  34. package/lib/module/components/DeprecatedCardWrapper.js +0 -32
  35. package/lib/module/components/DeprecatedFAB.js +0 -147
  36. package/lib/module/components/ProgressIndicator.js +0 -45
  37. package/lib/module/components/ResizeMode.js +0 -1
  38. package/lib/module/components/Row.js +0 -63
  39. package/lib/module/components/RowBodyIcon.js +0 -35
  40. package/lib/module/components/RowHeadlineImageCaption.js +0 -35
  41. package/lib/module/components/RowHeadlineImageIcon.js +0 -41
  42. package/lib/module/mappings/CardBlock.js +0 -119
  43. package/lib/module/mappings/CardContainer.js +0 -101
  44. package/lib/module/mappings/CardContainerRating.js +0 -123
  45. package/lib/module/mappings/CardContainerShortImage.js +0 -117
  46. package/lib/module/mappings/CardInline.js +0 -52
  47. package/lib/module/mappings/Container.js +0 -30
  48. package/lib/module/mappings/ProgressIndicator.js +0 -181
  49. package/lib/typescript/src/components/Container.d.ts +0 -21
  50. package/lib/typescript/src/components/Container.d.ts.map +0 -1
  51. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
  52. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
  53. package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
  54. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
  55. package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
  56. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
  57. package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
  58. package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
  59. package/lib/typescript/src/components/Row.d.ts +0 -21
  60. package/lib/typescript/src/components/Row.d.ts.map +0 -1
  61. package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
  62. package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
  63. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
  64. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
  65. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
  66. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
  67. package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
  68. package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
  69. package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
  70. package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
  71. package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
  72. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
  73. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
  74. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
  75. package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
  76. package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
  77. package/lib/typescript/src/mappings/Container.d.ts +0 -55
  78. package/lib/typescript/src/mappings/Container.d.ts.map +0 -1
  79. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
  80. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
  81. package/src/components/Container.js +0 -43
  82. package/src/components/Container.tsx +0 -116
  83. package/src/components/DeprecatedCardWrapper.js +0 -18
  84. package/src/components/DeprecatedCardWrapper.tsx +0 -46
  85. package/src/components/DeprecatedFAB.js +0 -114
  86. package/src/components/DeprecatedFAB.tsx +0 -231
  87. package/src/components/ProgressIndicator.js +0 -27
  88. package/src/components/ProgressIndicator.tsx +0 -71
  89. package/src/components/ResizeMode.js +0 -1
  90. package/src/components/ResizeMode.ts +0 -7
  91. package/src/components/Row.js +0 -48
  92. package/src/components/Row.tsx +0 -108
  93. package/src/components/RowBodyIcon.js +0 -8
  94. package/src/components/RowBodyIcon.tsx +0 -47
  95. package/src/components/RowHeadlineImageCaption.js +0 -12
  96. package/src/components/RowHeadlineImageCaption.tsx +0 -49
  97. package/src/components/RowHeadlineImageIcon.js +0 -14
  98. package/src/components/RowHeadlineImageIcon.tsx +0 -61
  99. package/src/mappings/CardBlock.js +0 -123
  100. package/src/mappings/CardBlock.ts +0 -136
  101. package/src/mappings/CardContainer.js +0 -104
  102. package/src/mappings/CardContainer.ts +0 -116
  103. package/src/mappings/CardContainerRating.js +0 -126
  104. package/src/mappings/CardContainerRating.ts +0 -137
  105. package/src/mappings/CardContainerShortImage.js +0 -120
  106. package/src/mappings/CardContainerShortImage.ts +0 -130
  107. package/src/mappings/CardInline.js +0 -52
  108. package/src/mappings/CardInline.ts +0 -61
  109. package/src/mappings/Container.js +0 -30
  110. package/src/mappings/Container.ts +0 -41
  111. package/src/mappings/ProgressIndicator.js +0 -181
  112. package/src/mappings/ProgressIndicator.ts +0 -190
@@ -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 Direction;
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
- ...rest
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;
@@ -13,7 +13,6 @@ var _theming = require("../theming");
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
- 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); }
17
16
  const Button = _ref => {
18
17
  let {
19
18
  Icon,
@@ -84,7 +83,8 @@ const Button = _ref => {
84
83
  elevation,
85
84
  alignSelf: "stretch"
86
85
  }
87
- }, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({}, rest, {
86
+ }, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
87
+ ...rest,
88
88
  onPress: onPress,
89
89
  accessibilityState: {
90
90
  disabled
@@ -92,7 +92,7 @@ const Button = _ref => {
92
92
  accessibilityRole: "button",
93
93
  disabled: disabled || loading,
94
94
  style: [styles.button, buttonStyle]
95
- }), /*#__PURE__*/React.createElement(_reactNative.View, {
95
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
96
96
  style: styles.content
97
97
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
98
98
  style: iconStyle
@@ -124,4 +124,21 @@ const styles = _reactNative.StyleSheet.create({
124
124
  }
125
125
  });
126
126
  var _default = (0, _theming.withTheme)(Button);
127
+ exports.default = _default;;
128
+ };
129
+ const styles = _reactNative.StyleSheet.create({
130
+ button: {
131
+ minWidth: 64,
132
+ borderStyle: "solid"
133
+ },
134
+ content: {
135
+ flexDirection: "row",
136
+ alignItems: "center",
137
+ justifyContent: "center"
138
+ },
139
+ icon: {
140
+ width: _Config.default.buttonIconSize
141
+ }
142
+ });
143
+ var _default = (0, _theming.withTheme)(Button);
127
144
  exports.default = _default;
@@ -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;
@@ -1,4 +1,3 @@
1
- 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); }
2
1
  import * as React from "react";
3
2
  import { TabView, TabBar, SceneMap } from "react-native-tab-view";
4
3
  import { withTheme } from "../../theming";
@@ -28,13 +27,11 @@ const TabViewComponent = _ref => {
28
27
  textStyles,
29
28
  viewStyles
30
29
  } = extractStyles(style);
31
-
32
30
  //Check type of child using props
33
31
  //Regular '.type' cannot work because Draftbit strips the type in Draft view
34
32
  const instanceOfTabViewItemProps = object => {
35
33
  return "title" in object;
36
34
  };
37
-
38
35
  //Populate routes and scenes based on children
39
36
  React.useEffect(() => {
40
37
  const newRoutes = [];
@@ -60,7 +57,8 @@ const TabViewComponent = _ref => {
60
57
  }
61
58
  };
62
59
  const renderTabBar = props => {
63
- return /*#__PURE__*/React.createElement(TabBar, _extends({}, props, {
60
+ return /*#__PURE__*/React.createElement(TabBar, {
61
+ ...props,
64
62
  activeColor: activeColor || theme.colors.primary,
65
63
  inactiveColor: inactiveColor || theme.colors.divider,
66
64
  pressColor: pressColor || theme.colors.primary,
@@ -74,7 +72,7 @@ const TabViewComponent = _ref => {
74
72
  route,
75
73
  color
76
74
  } = _ref2;
77
- return route !== null && route !== void 0 && route.icon ? /*#__PURE__*/React.createElement(Icon, {
75
+ return (route === null || route === void 0 ? void 0 : route.icon) ? /*#__PURE__*/React.createElement(Icon, {
78
76
  name: route.icon,
79
77
  color: color,
80
78
  size: 16
@@ -83,9 +81,8 @@ const TabViewComponent = _ref => {
83
81
  style: {
84
82
  backgroundColor: tabsBackgroundColor || theme.colors.background
85
83
  }
86
- }));
84
+ });
87
85
  };
88
-
89
86
  //Cannot render TabView without at least one tab
90
87
  if (!routes.length) {
91
88
  return /*#__PURE__*/React.createElement(React.Fragment, null);
@@ -104,4 +101,17 @@ const TabViewComponent = _ref => {
104
101
  swipeEnabled: swipeEnabled
105
102
  });
106
103
  };
104
+ export default withTheme(TabViewComponent);tyles],
105
+ navigationState: {
106
+ index,
107
+ routes
108
+ },
109
+ renderScene: SceneMap(tabScenes),
110
+ renderTabBar: renderTabBar,
111
+ onIndexChange: indexChangeHandler,
112
+ tabBarPosition: tabBarPosition,
113
+ keyboardDismissMode: keyboardDismissMode,
114
+ swipeEnabled: swipeEnabled
115
+ });
116
+ };
107
117
  export default withTheme(TabViewComponent);
@@ -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,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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AqB,GACtB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGhE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
@@ -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
+ 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-93b2ea.2+93b2ea1",
3
+ "version": "46.10.3-a5cf6b.2+a5cf6ba",
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-93b2ea.2+93b2ea1",
44
+ "@draftbit/types": "^46.10.3-a5cf6b.2+a5cf6ba",
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": "93b2ea1ae9f511ff9dd5469bd62f0757fb01c789"
103
+ "gitHead": "a5cf6ba277cd71a3394ec30d827d86480bd1d21c"
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";