@draftbit/core 46.4.4-287a83.2 → 46.4.4-2fce56.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 (53) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +25 -5
  2. package/lib/commonjs/components/CircleImage.js +2 -16
  3. package/lib/commonjs/index.js +0 -8
  4. package/lib/commonjs/mappings/TextField.js +12 -2
  5. package/lib/module/components/CardContainerShortImage.js +5 -19
  6. package/lib/module/components/Carousel.js +10 -35
  7. package/lib/module/components/CircleImage.js +2 -17
  8. package/lib/module/components/DeprecatedButton.js +4 -21
  9. package/lib/module/components/NumberInput.js +2 -13
  10. package/lib/module/components/RadioButton/RadioButton.js +2 -15
  11. package/lib/module/components/Touchable.js +2 -18
  12. package/lib/module/constants.js +0 -1
  13. package/lib/module/index.js +0 -1
  14. package/lib/module/mappings/TextField.js +12 -2
  15. package/lib/typescript/src/index.d.ts +0 -1
  16. package/lib/typescript/src/index.d.ts.map +1 -1
  17. package/lib/typescript/src/mappings/TextField.d.ts +20 -0
  18. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -1
  19. package/package.json +3 -5
  20. package/src/index.js +0 -1
  21. package/src/index.tsx +0 -1
  22. package/src/mappings/TextField.js +12 -2
  23. package/src/mappings/TextField.ts +12 -2
  24. package/lib/commonjs/components/BottomSheet/BottomSheet.native.js +0 -68
  25. package/lib/commonjs/components/BottomSheet/BottomSheet.web.js +0 -97
  26. package/lib/commonjs/components/BottomSheet/index.js +0 -15
  27. package/lib/commonjs/components/BottomSheet/types.js +0 -5
  28. package/lib/commonjs/mappings/BottomSheet.js +0 -22
  29. package/lib/module/components/BottomSheet/BottomSheet.native.js +0 -50
  30. package/lib/module/components/BottomSheet/BottomSheet.web.js +0 -78
  31. package/lib/module/components/BottomSheet/index.js +0 -2
  32. package/lib/module/components/BottomSheet/types.js +0 -1
  33. package/lib/module/mappings/BottomSheet.js +0 -13
  34. package/lib/typescript/src/components/BottomSheet/BottomSheet.native.d.ts +0 -5
  35. package/lib/typescript/src/components/BottomSheet/BottomSheet.native.d.ts.map +0 -1
  36. package/lib/typescript/src/components/BottomSheet/BottomSheet.web.d.ts +0 -5
  37. package/lib/typescript/src/components/BottomSheet/BottomSheet.web.d.ts.map +0 -1
  38. package/lib/typescript/src/components/BottomSheet/index.d.ts +0 -2
  39. package/lib/typescript/src/components/BottomSheet/index.d.ts.map +0 -1
  40. package/lib/typescript/src/components/BottomSheet/types.d.ts +0 -9
  41. package/lib/typescript/src/components/BottomSheet/types.d.ts.map +0 -1
  42. package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -20
  43. package/lib/typescript/src/mappings/BottomSheet.d.ts.map +0 -1
  44. package/src/components/BottomSheet/BottomSheet.native.js +0 -37
  45. package/src/components/BottomSheet/BottomSheet.native.tsx +0 -60
  46. package/src/components/BottomSheet/BottomSheet.web.js +0 -56
  47. package/src/components/BottomSheet/BottomSheet.web.tsx +0 -90
  48. package/src/components/BottomSheet/index.js +0 -2
  49. package/src/components/BottomSheet/index.tsx +0 -2
  50. package/src/components/BottomSheet/types.js +0 -1
  51. package/src/components/BottomSheet/types.tsx +0 -8
  52. package/src/mappings/BottomSheet.js +0 -20
  53. package/src/mappings/BottomSheet.ts +0 -25
@@ -21,8 +21,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  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; }
23
23
 
24
- 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); }
25
-
26
24
  const AccordionItem = _ref => {
27
25
  let {
28
26
  Icon,
@@ -37,9 +35,10 @@ const AccordionItem = _ref => {
37
35
  textStyles,
38
36
  viewStyles
39
37
  } = (0, _utilities.extractStyles)(style);
40
- return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
41
- style: [styles.container, viewStyles]
42
- }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
38
+ return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
39
+ style: [styles.container, viewStyles],
40
+ ...rest
41
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
43
42
  style: styles.row
44
43
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
45
44
  name: icon,
@@ -74,4 +73,25 @@ const styles = _reactNative.StyleSheet.create({
74
73
 
75
74
  var _default = (0, _theming.withTheme)(AccordionItem);
76
75
 
76
+ exports.default = _default;StyleSheet.create({
77
+ container: {
78
+ padding: 8
79
+ },
80
+ row: {
81
+ flexDirection: "row",
82
+ alignItems: "center",
83
+ paddingLeft: 8
84
+ },
85
+ item: {
86
+ marginVertical: 6,
87
+ paddingLeft: 8
88
+ },
89
+ content: {
90
+ flex: 1,
91
+ justifyContent: "center"
92
+ }
93
+ });
94
+
95
+ var _default = (0, _theming.withTheme)(AccordionItem);
96
+
77
97
  exports.default = _default;
@@ -17,6 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
 
18
18
  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; }
19
19
 
20
+ 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); }
21
+
20
22
  const CircleImage = _ref => {
21
23
  let {
22
24
  source = _Config.default.placeholderImageURL,
@@ -25,22 +27,6 @@ const CircleImage = _ref => {
25
27
  ...props
26
28
  } = _ref;
27
29
  const borderRadius = size / 2;
28
- return /*#__PURE__*/React.createElement(_reactNative.Image, {
29
- style: [{
30
- width: size,
31
- height: size,
32
- borderRadius
33
- }, style],
34
- source: typeof source === "string" ? {
35
- uri: source
36
- } : source,
37
- resizeMode: "cover",
38
- ...props
39
- });
40
- };
41
-
42
- var _default = CircleImage;
43
- exports.default = _default;size / 2;
44
30
  return /*#__PURE__*/React.createElement(_reactNative.Image, _extends({
45
31
  style: [{
46
32
  width: size,
@@ -51,12 +51,6 @@ Object.defineProperty(exports, "Banner", {
51
51
  return _Banner.default;
52
52
  }
53
53
  });
54
- Object.defineProperty(exports, "BottomSheet", {
55
- enumerable: true,
56
- get: function () {
57
- return _BottomSheet.BottomSheet;
58
- }
59
- });
60
54
  Object.defineProperty(exports, "Button", {
61
55
  enumerable: true,
62
56
  get: function () {
@@ -478,8 +472,6 @@ var _ActionSheet = require("./components/ActionSheet");
478
472
 
479
473
  var _Swiper = require("./components/Swiper");
480
474
 
481
- var _BottomSheet = require("./components/BottomSheet");
482
-
483
475
  var _Layout = require("./components/Layout");
484
476
 
485
477
  var _index = require("./components/RadioButton/index");
@@ -70,7 +70,7 @@ const SEED_DATA_PROPS = {
70
70
  propType: _types.PROP_TYPES.BOOLEAN
71
71
  },
72
72
  disabled: {
73
- group: _types.GROUPS.basic,
73
+ group: _types.GROUPS.data,
74
74
  label: "Disabled",
75
75
  description: "Whether the input should be disabled. Will prevent input and show a greyed out state.",
76
76
  formType: _types.FORM_TYPES.boolean,
@@ -80,7 +80,7 @@ const SEED_DATA_PROPS = {
80
80
  required: false
81
81
  },
82
82
  editable: {
83
- group: _types.GROUPS.advanced,
83
+ group: _types.GROUPS.data,
84
84
  label: "Editable",
85
85
  description: "If false, the text is not editable",
86
86
  editable: true,
@@ -89,6 +89,16 @@ const SEED_DATA_PROPS = {
89
89
  formType: _types.FORM_TYPES.boolean,
90
90
  propType: _types.PROP_TYPES.BOOLEAN
91
91
  },
92
+ blurOnSubmit: {
93
+ group: _types.GROUPS.advanced,
94
+ label: "Blur On Submit",
95
+ description: "If true, the text field will blur when submitted. ",
96
+ editable: true,
97
+ required: false,
98
+ defaultValue: null,
99
+ formType: _types.FORM_TYPES.boolean,
100
+ propType: _types.PROP_TYPES.BOOLEAN
101
+ },
92
102
  keyboardAppearance: {
93
103
  group: _types.GROUPS.advanced,
94
104
  label: "Keyboard Appearance",
@@ -1,3 +1,5 @@
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
3
  import React from "react";
2
4
  import { View, Text } from "react-native";
3
5
  import Image from "./Image";
@@ -23,11 +25,10 @@ const CardContainerShortImage = _ref => {
23
25
  onPress,
24
26
  ...rest
25
27
  } = _ref;
26
- return /*#__PURE__*/React.createElement(Card, {
28
+ return /*#__PURE__*/React.createElement(Card, _extends({
27
29
  style: style,
28
- onPress: onPress,
29
- ...rest
30
- }, /*#__PURE__*/React.createElement(Elevation, {
30
+ onPress: onPress
31
+ }, rest), /*#__PURE__*/React.createElement(Elevation, {
31
32
  style: {
32
33
  elevation,
33
34
  borderRadius: roundness
@@ -75,19 +76,4 @@ const CardContainerShortImage = _ref => {
75
76
  }))));
76
77
  };
77
78
 
78
- export default withTheme(CardContainerShortImage);2, {
79
- color: colors.medium,
80
- marginTop: 4
81
- }]
82
- }, subtitle) : null), mode === "right" && /*#__PURE__*/React.createElement(Image, {
83
- style: {
84
- aspectRatio
85
- },
86
- source: typeof image === "string" ? {
87
- uri: image
88
- } : image,
89
- resizeMode: "cover"
90
- }))));
91
- };
92
-
93
79
  export default withTheme(CardContainerShortImage);
@@ -1,3 +1,5 @@
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
3
  import * as React from "react";
2
4
  import { withTheme } from "../theming";
3
5
  import { ScrollView, View, StyleSheet, Dimensions } from "react-native";
@@ -31,6 +33,8 @@ function Pager(_ref) {
31
33
  }
32
34
 
33
35
  function Carousel(_ref2) {
36
+ var _data$length;
37
+
34
38
  let {
35
39
  data,
36
40
  children,
@@ -38,12 +42,9 @@ function Carousel(_ref2) {
38
42
  style,
39
43
  ...rest
40
44
  } = _ref2;
41
-
42
- var _a;
43
-
44
45
  const [index, setIndex] = React.useState(0);
45
46
  const length = React.Children.count(children);
46
- const itemsLength = ((_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0) + length;
47
+ const itemsLength = ((_data$length = data === null || data === void 0 ? void 0 : data.length) !== null && _data$length !== void 0 ? _data$length : 0) + length;
47
48
  const slides = Array.isArray(data) ? data : [];
48
49
  const {
49
50
  width,
@@ -51,10 +52,9 @@ function Carousel(_ref2) {
51
52
  } = StyleSheet.flatten(style || {});
52
53
  const slideWidth = width || screenWidth;
53
54
  const slideHeight = height || 250;
54
- return /*#__PURE__*/React.createElement(View, {
55
- style: [styles.container, style],
56
- ...rest
57
- }, /*#__PURE__*/React.createElement(ScrollView, {
55
+ return /*#__PURE__*/React.createElement(View, _extends({
56
+ style: [styles.container, style]
57
+ }, rest), /*#__PURE__*/React.createElement(ScrollView, {
58
58
  pagingEnabled: true,
59
59
  horizontal: true,
60
60
  decelerationRate: "fast",
@@ -82,9 +82,9 @@ function Carousel(_ref2) {
82
82
  }]
83
83
  });
84
84
  }) : null, React.Children.map(children, child => {
85
- var _a;
85
+ var _child$props;
86
86
 
87
- const s = ((_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.style) || {};
87
+ const s = (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.style) || {};
88
88
  return /*#__PURE__*/React.createElement(View, {
89
89
  style: {
90
90
  width: slideWidth
@@ -101,31 +101,6 @@ function Carousel(_ref2) {
101
101
  }));
102
102
  }
103
103
 
104
- const styles = StyleSheet.create({
105
- container: {
106
- backgroundColor: "#eee"
107
- },
108
- pager: {
109
- position: "absolute",
110
- bottom: 12,
111
- left: 0,
112
- right: 0,
113
- flexDirection: "row",
114
- justifyContent: "center",
115
- alignItems: "center"
116
- },
117
- bullet: {
118
- marginHorizontal: 2,
119
- width: 10,
120
- height: 10,
121
- borderRadius: 20,
122
- backgroundColor: "#000"
123
- }
124
- });
125
- export default withTheme(Carousel);th
126
- }));
127
- }
128
-
129
104
  const styles = StyleSheet.create({
130
105
  container: {
131
106
  backgroundColor: "#eee"
@@ -1,3 +1,5 @@
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
3
  import * as React from "react";
2
4
  import { Image } from "react-native";
3
5
  import Config from "./Config";
@@ -10,23 +12,6 @@ const CircleImage = _ref => {
10
12
  ...props
11
13
  } = _ref;
12
14
  const borderRadius = size / 2;
13
- return /*#__PURE__*/React.createElement(Image, {
14
- style: [{
15
- width: size,
16
- height: size,
17
- borderRadius
18
- }, style],
19
- source: typeof source === "string" ? {
20
- uri: source
21
- } : source,
22
- resizeMode: "cover",
23
- ...props
24
- });
25
- };
26
-
27
- export default CircleImage;props
28
- } = _ref;
29
- const borderRadius = size / 2;
30
15
  return /*#__PURE__*/React.createElement(Image, _extends({
31
16
  style: [{
32
17
  width: size,
@@ -1,3 +1,5 @@
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
3
  import * as React from "react";
2
4
  import { ActivityIndicator, View, Text, StyleSheet } from "react-native";
3
5
  import color from "color";
@@ -105,7 +107,7 @@ const Button = _ref => {
105
107
  alignSelf: "stretch",
106
108
  ...margins
107
109
  }
108
- }, /*#__PURE__*/React.createElement(Touchable, { ...rest,
110
+ }, /*#__PURE__*/React.createElement(Touchable, _extends({}, rest, {
109
111
  onPress: onPress,
110
112
  accessibilityState: {
111
113
  disabled
@@ -113,7 +115,7 @@ const Button = _ref => {
113
115
  accessibilityRole: "button",
114
116
  disabled: disabled || loading,
115
117
  style: [styles.button, buttonStyle, innerStyles]
116
- }, /*#__PURE__*/React.createElement(View, {
118
+ }), /*#__PURE__*/React.createElement(View, {
117
119
  style: styles.content
118
120
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(View, {
119
121
  style: iconStyle
@@ -131,25 +133,6 @@ const Button = _ref => {
131
133
  }, children))));
132
134
  };
133
135
 
134
- const styles = StyleSheet.create({
135
- button: {
136
- minWidth: 64,
137
- borderStyle: "solid"
138
- },
139
- content: {
140
- flexDirection: "row",
141
- alignItems: "center",
142
- justifyContent: "center"
143
- },
144
- icon: {
145
- width: Config.buttonIconSize
146
- }
147
- });
148
- export default withTheme(Button);ines: 1,
149
- style: [textStyle, typography.button]
150
- }, children))));
151
- };
152
-
153
136
  const styles = StyleSheet.create({
154
137
  button: {
155
138
  minWidth: 64,
@@ -1,3 +1,5 @@
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
3
  import React, { useEffect, useState } from "react";
2
4
  import { TextInput } from "react-native";
3
5
  import { isString, isNumber, isNaN } from "lodash";
@@ -54,19 +56,6 @@ const NumberInput = _ref => {
54
56
  handleChangeText(nextStringNumberValue);
55
57
  } // eslint-disable-next-line react-hooks/exhaustive-deps
56
58
 
57
- }, [value]);
58
- return /*#__PURE__*/React.createElement(TextInput, {
59
- keyboardType: "numeric",
60
- value: currentStringNumberValue,
61
- onChangeText: handleChangeText,
62
- ...props
63
- });
64
- };
65
-
66
- export default NumberInput;Value) {
67
- handleChangeText(nextStringNumberValue);
68
- } // eslint-disable-next-line react-hooks/exhaustive-deps
69
-
70
59
  }, [value]);
71
60
  return /*#__PURE__*/React.createElement(TextInput, _extends({
72
61
  keyboardType: "numeric",
@@ -1,3 +1,5 @@
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
3
  import * as React from "react";
2
4
  import Config from "../Config";
3
5
  import IconButton from "../IconButton";
@@ -32,21 +34,6 @@ const RadioButton = _ref => {
32
34
  onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realValue);
33
35
  };
34
36
 
35
- return /*#__PURE__*/React.createElement(IconButton, {
36
- Icon: Icon,
37
- icon: isSelected ? selectedIcon : unselectedIcon,
38
- color: isSelected ? color : unselectedColor,
39
- disabled: disabled,
40
- onPress: handlePress,
41
- size: size,
42
- style: style,
43
- ...rest
44
- });
45
- };
46
-
47
- export default RadioButton; onValueChange(realValue);
48
- };
49
-
50
37
  return /*#__PURE__*/React.createElement(IconButton, _extends({
51
38
  Icon: Icon,
52
39
  icon: isSelected ? selectedIcon : unselectedIcon,
@@ -1,3 +1,5 @@
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
3
  import React from "react";
2
4
  import { Pressable } from "react-native";
3
5
  export default function Touchable(_ref) {
@@ -8,24 +10,6 @@ export default function Touchable(_ref) {
8
10
  style,
9
11
  ...props
10
12
  } = _ref;
11
- return /*#__PURE__*/React.createElement(Pressable, {
12
- onPress: onPress,
13
- disabled: disabled,
14
- hitSlop: 8,
15
- style: _ref2 => {
16
- let {
17
- pressed
18
- } = _ref2;
19
- return [{
20
- opacity: pressed || disabled ? 0.75 : 1
21
- }, style];
22
- },
23
- ...props
24
- }, children);
25
- }s,
26
- style,
27
- ...props
28
- } = _ref;
29
13
  return /*#__PURE__*/React.createElement(Pressable, _extends({
30
14
  onPress: onPress,
31
15
  disabled: disabled,
@@ -5,5 +5,4 @@ const DEFAULT_STATUSBAR_HEIGHT_EXPO = expo !== null && expo !== void 0 && expo.C
5
5
  export const APPROX_STATUSBAR_HEIGHT = Platform.select({
6
6
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
7
7
  ios: Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
8
- });PO : 0
9
8
  });
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { BottomSheet } from "./components/BottomSheet";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup } from "./components/RadioButton/index";
35
34
  /* Deprecated: Fix or Delete! */
@@ -62,7 +62,7 @@ const SEED_DATA_PROPS = {
62
62
  propType: PROP_TYPES.BOOLEAN
63
63
  },
64
64
  disabled: {
65
- group: GROUPS.basic,
65
+ group: GROUPS.data,
66
66
  label: "Disabled",
67
67
  description: "Whether the input should be disabled. Will prevent input and show a greyed out state.",
68
68
  formType: FORM_TYPES.boolean,
@@ -72,7 +72,7 @@ const SEED_DATA_PROPS = {
72
72
  required: false
73
73
  },
74
74
  editable: {
75
- group: GROUPS.advanced,
75
+ group: GROUPS.data,
76
76
  label: "Editable",
77
77
  description: "If false, the text is not editable",
78
78
  editable: true,
@@ -81,6 +81,16 @@ const SEED_DATA_PROPS = {
81
81
  formType: FORM_TYPES.boolean,
82
82
  propType: PROP_TYPES.BOOLEAN
83
83
  },
84
+ blurOnSubmit: {
85
+ group: GROUPS.advanced,
86
+ label: "Blur On Submit",
87
+ description: "If true, the text field will blur when submitted. ",
88
+ editable: true,
89
+ required: false,
90
+ defaultValue: null,
91
+ formType: FORM_TYPES.boolean,
92
+ propType: PROP_TYPES.BOOLEAN
93
+ },
84
94
  keyboardAppearance: {
85
95
  group: GROUPS.advanced,
86
96
  label: "Keyboard Appearance",
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { BottomSheet } from "./components/BottomSheet";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
35
34
  export { default as CardBlock } from "./components/CardBlock";
@@ -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,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,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,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD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Y,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,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,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,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"}
@@ -129,6 +129,16 @@ export declare const SEED_DATA: ({
129
129
  formType: string;
130
130
  propType: string;
131
131
  };
132
+ blurOnSubmit: {
133
+ group: string;
134
+ label: string;
135
+ description: string;
136
+ editable: boolean;
137
+ required: boolean;
138
+ defaultValue: null;
139
+ formType: string;
140
+ propType: string;
141
+ };
132
142
  keyboardAppearance: {
133
143
  group: string;
134
144
  label: string;
@@ -436,6 +446,16 @@ export declare const SEED_DATA: ({
436
446
  formType: string;
437
447
  propType: string;
438
448
  };
449
+ blurOnSubmit: {
450
+ group: string;
451
+ label: string;
452
+ description: string;
453
+ editable: boolean;
454
+ required: boolean;
455
+ defaultValue: null;
456
+ formType: string;
457
+ propType: string;
458
+ };
439
459
  keyboardAppearance: {
440
460
  group: string;
441
461
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/mappings/TextField.ts"],"names":[],"mappings":"AAmTA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgGrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.4.4-287a83.2+287a83f",
3
+ "version": "46.4.4-2fce56.2+2fce560",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -41,8 +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.4.4-287a83.2+287a83f",
45
- "@gorhom/bottom-sheet": "4.4.5",
44
+ "@draftbit/types": "^46.4.4-2fce56.2+2fce560",
46
45
  "@material-ui/core": "^4.11.0",
47
46
  "@material-ui/pickers": "^3.2.10",
48
47
  "@react-native-community/slider": "4.2.3",
@@ -55,7 +54,6 @@
55
54
  "lodash.omit": "^4.5.0",
56
55
  "lodash.tonumber": "^4.0.3",
57
56
  "react-native-modal-datetime-picker": "^13.0.0",
58
- "react-native-scroll-bottom-sheet": "0.7.0",
59
57
  "react-native-svg": "12.3.0",
60
58
  "react-native-typography": "^1.4.1",
61
59
  "react-native-web-swiper": "^2.2.3"
@@ -93,5 +91,5 @@
93
91
  ]
94
92
  ]
95
93
  },
96
- "gitHead": "287a83f1c61deb1bf80b4d39f7c1e8c5605a68e9"
94
+ "gitHead": "2fce560e8198e4273f00e2ed6a121a2d6a7b78a3"
97
95
  }
package/src/index.js CHANGED
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { BottomSheet } from "./components/BottomSheet";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
35
34
  /* Deprecated: Fix or Delete! */
package/src/index.tsx CHANGED
@@ -34,7 +34,6 @@ export {
34
34
  ActionSheetCancel,
35
35
  } from "./components/ActionSheet";
36
36
  export { Swiper, SwiperItem } from "./components/Swiper";
37
- export { BottomSheet } from "./components/BottomSheet";
38
37
 
39
38
  export {
40
39
  Center,
@@ -62,7 +62,7 @@ const SEED_DATA_PROPS = {
62
62
  propType: PROP_TYPES.BOOLEAN,
63
63
  },
64
64
  disabled: {
65
- group: GROUPS.basic,
65
+ group: GROUPS.data,
66
66
  label: "Disabled",
67
67
  description: "Whether the input should be disabled. Will prevent input and show a greyed out state.",
68
68
  formType: FORM_TYPES.boolean,
@@ -72,7 +72,7 @@ const SEED_DATA_PROPS = {
72
72
  required: false,
73
73
  },
74
74
  editable: {
75
- group: GROUPS.advanced,
75
+ group: GROUPS.data,
76
76
  label: "Editable",
77
77
  description: "If false, the text is not editable",
78
78
  editable: true,
@@ -81,6 +81,16 @@ const SEED_DATA_PROPS = {
81
81
  formType: FORM_TYPES.boolean,
82
82
  propType: PROP_TYPES.BOOLEAN,
83
83
  },
84
+ blurOnSubmit: {
85
+ group: GROUPS.advanced,
86
+ label: "Blur On Submit",
87
+ description: "If true, the text field will blur when submitted. ",
88
+ editable: true,
89
+ required: false,
90
+ defaultValue: null,
91
+ formType: FORM_TYPES.boolean,
92
+ propType: PROP_TYPES.BOOLEAN,
93
+ },
84
94
  keyboardAppearance: {
85
95
  group: GROUPS.advanced,
86
96
  label: "Keyboard Appearance",