@draftbit/core 46.7.3 → 46.7.4

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 (287) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +4 -23
  2. package/lib/commonjs/components/AnimatedCircularProgress.js +1 -12
  3. package/lib/commonjs/components/AvatarEdit.js +4 -15
  4. package/lib/commonjs/components/Button.js +10 -33
  5. package/lib/commonjs/components/Checkbox/Checkbox.js +4 -22
  6. package/lib/commonjs/components/Container.js +4 -15
  7. package/lib/commonjs/components/DeprecatedButton.js +3 -20
  8. package/lib/commonjs/components/DeprecatedCardWrapper.js +1 -15
  9. package/lib/commonjs/components/Divider.js +1 -14
  10. package/lib/commonjs/components/Image.js +2 -17
  11. package/lib/commonjs/components/Justification.js +1 -5
  12. package/lib/commonjs/components/Picker/Picker.js +4 -9
  13. package/lib/commonjs/components/Portal/PortalHost.js +15 -44
  14. package/lib/commonjs/components/Portal/PortalManager.js +8 -34
  15. package/lib/commonjs/components/ProgressBar.js +7 -37
  16. package/lib/commonjs/components/ResizeMode.js +1 -5
  17. package/lib/commonjs/components/Slider.js +4 -21
  18. package/lib/commonjs/components/Surface.js +2 -14
  19. package/lib/commonjs/components/TextField.js +28 -76
  20. package/lib/commonjs/components/Touchable.js +2 -15
  21. package/lib/commonjs/hooks.js +2 -1
  22. package/lib/commonjs/index.js +0 -56
  23. package/lib/commonjs/mappings/StarRating.js +2 -6
  24. package/lib/commonjs/utilities.js +2 -1
  25. package/lib/module/components/Button.js +10 -33
  26. package/lib/module/components/Checkbox/CheckboxGroupRow.js +5 -24
  27. package/lib/module/components/Checkbox/context.js +1 -1
  28. package/lib/module/components/CircleImage.js +1 -16
  29. package/lib/module/components/DeprecatedCardWrapper.js +1 -18
  30. package/lib/module/components/Divider.js +1 -18
  31. package/lib/module/components/Elevation.js +2 -14
  32. package/lib/module/components/FieldSearchBarFull.js +2 -1
  33. package/lib/module/components/FormRow.js +2 -17
  34. package/lib/module/components/Image.js +2 -18
  35. package/lib/module/components/Justification.js +0 -1
  36. package/lib/module/components/Layout.js +21 -42
  37. package/lib/module/components/NumberInput.js +3 -12
  38. package/lib/module/components/Picker/PickerComponent.ios.js +11 -36
  39. package/lib/module/components/Portal/PortalConsumer.js +7 -22
  40. package/lib/module/components/RadioButton/RadioButton.js +1 -13
  41. package/lib/module/components/RadioButton/RadioButtonGroup.js +2 -16
  42. package/lib/module/components/RadioButton/RadioButtonRow.js +5 -24
  43. package/lib/module/components/ResizeMode.js +0 -1
  44. package/lib/module/components/Slider.js +4 -21
  45. package/lib/module/components/StepIndicator.js +18 -58
  46. package/lib/module/components/TextField.js +28 -78
  47. package/lib/module/components/ToggleButton.js +2 -16
  48. package/lib/module/components/Touchable.js +2 -15
  49. package/lib/module/constants.js +2 -1
  50. package/lib/module/index.js +0 -8
  51. package/lib/module/mappings/FieldSearchBarFull.js +1 -4
  52. package/lib/module/styles/overlay.js +3 -1
  53. package/lib/module/utilities.js +2 -1
  54. package/lib/typescript/src/index.d.ts +0 -8
  55. package/lib/typescript/src/index.d.ts.map +1 -1
  56. package/package.json +3 -3
  57. package/src/index.tsx +0 -8
  58. package/lib/commonjs/components/CardBlock.js +0 -115
  59. package/lib/commonjs/components/CardContainer.js +0 -138
  60. package/lib/commonjs/components/CardContainerRating.js +0 -133
  61. package/lib/commonjs/components/CardContainerShortImage.js +0 -84
  62. package/lib/commonjs/components/CardInline.js +0 -91
  63. package/lib/commonjs/components/Carousel.js +0 -130
  64. package/lib/commonjs/components/Header.js +0 -82
  65. package/lib/commonjs/components/HeaderLarge.js +0 -38
  66. package/lib/commonjs/components/HeaderMedium.js +0 -38
  67. package/lib/commonjs/components/HeaderOverline.js +0 -39
  68. package/lib/module/components/CardBlock.js +0 -108
  69. package/lib/module/components/CardContainer.js +0 -121
  70. package/lib/module/components/CardContainerRating.js +0 -135
  71. package/lib/module/components/CardContainerShortImage.js +0 -90
  72. package/lib/module/components/CardInline.js +0 -82
  73. package/lib/module/components/Carousel.js +0 -120
  74. package/lib/module/components/Header.js +0 -72
  75. package/lib/module/components/HeaderLarge.js +0 -28
  76. package/lib/module/components/HeaderMedium.js +0 -28
  77. package/lib/module/components/HeaderOverline.js +0 -29
  78. package/lib/typescript/src/components/CardBlock.d.ts +0 -21
  79. package/lib/typescript/src/components/CardBlock.d.ts.map +0 -1
  80. package/lib/typescript/src/components/CardContainer.d.ts +0 -23
  81. package/lib/typescript/src/components/CardContainer.d.ts.map +0 -1
  82. package/lib/typescript/src/components/CardContainerRating.d.ts +0 -24
  83. package/lib/typescript/src/components/CardContainerRating.d.ts.map +0 -1
  84. package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -19
  85. package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +0 -1
  86. package/lib/typescript/src/components/CardInline.d.ts +0 -20
  87. package/lib/typescript/src/components/CardInline.d.ts.map +0 -1
  88. package/lib/typescript/src/components/Carousel.d.ts +0 -15
  89. package/lib/typescript/src/components/Carousel.d.ts.map +0 -1
  90. package/lib/typescript/src/components/Header.d.ts +0 -20
  91. package/lib/typescript/src/components/Header.d.ts.map +0 -1
  92. package/lib/typescript/src/components/HeaderLarge.d.ts +0 -17
  93. package/lib/typescript/src/components/HeaderLarge.d.ts.map +0 -1
  94. package/lib/typescript/src/components/HeaderMedium.d.ts +0 -17
  95. package/lib/typescript/src/components/HeaderMedium.d.ts.map +0 -1
  96. package/lib/typescript/src/components/HeaderOverline.d.ts +0 -17
  97. package/lib/typescript/src/components/HeaderOverline.d.ts.map +0 -1
  98. package/src/Provider.js +0 -9
  99. package/src/components/Accordion/AccordionGroup.js +0 -44
  100. package/src/components/Accordion/AccordionItem.js +0 -32
  101. package/src/components/Accordion/index.js +0 -2
  102. package/src/components/ActionSheet/ActionSheet.js +0 -45
  103. package/src/components/ActionSheet/ActionSheetCancel.js +0 -6
  104. package/src/components/ActionSheet/ActionSheetItem.js +0 -30
  105. package/src/components/ActionSheet/index.js +0 -3
  106. package/src/components/AnimatedCircularProgress.js +0 -43
  107. package/src/components/AspectRatio.js +0 -18
  108. package/src/components/AvatarEdit.js +0 -30
  109. package/src/components/Banner.js +0 -109
  110. package/src/components/Button.js +0 -114
  111. package/src/components/Card.js +0 -57
  112. package/src/components/CardBlock.js +0 -54
  113. package/src/components/CardBlock.tsx +0 -127
  114. package/src/components/CardContainer.js +0 -69
  115. package/src/components/CardContainer.tsx +0 -165
  116. package/src/components/CardContainerRating.js +0 -79
  117. package/src/components/CardContainerRating.tsx +0 -175
  118. package/src/components/CardContainerShortImage.js +0 -33
  119. package/src/components/CardContainerShortImage.tsx +0 -101
  120. package/src/components/CardInline.js +0 -36
  121. package/src/components/CardInline.tsx +0 -93
  122. package/src/components/Carousel.js +0 -68
  123. package/src/components/Carousel.tsx +0 -134
  124. package/src/components/Checkbox/Checkbox.js +0 -62
  125. package/src/components/Checkbox/CheckboxGroup.js +0 -21
  126. package/src/components/Checkbox/CheckboxGroupRow.js +0 -76
  127. package/src/components/Checkbox/CheckboxRow.js +0 -77
  128. package/src/components/Checkbox/context.js +0 -14
  129. package/src/components/Checkbox/index.js +0 -3
  130. package/src/components/CircleImage.js +0 -8
  131. package/src/components/CircularProgress.js +0 -81
  132. package/src/components/Config.js +0 -64
  133. package/src/components/Container.js +0 -43
  134. package/src/components/DatePicker/DatePicker.js +0 -377
  135. package/src/components/DatePicker/DatePickerComponent.js +0 -13
  136. package/src/components/DatePicker/DatePickerComponent.web.js +0 -30
  137. package/src/components/DatePicker/DatePickerComponentType.js +0 -1
  138. package/src/components/DeprecatedButton.js +0 -83
  139. package/src/components/DeprecatedCardWrapper.js +0 -18
  140. package/src/components/DeprecatedFAB.js +0 -114
  141. package/src/components/Divider.js +0 -13
  142. package/src/components/Elevation.js +0 -20
  143. package/src/components/FAB.js +0 -46
  144. package/src/components/FieldSearchBarFull.js +0 -53
  145. package/src/components/FormRow.js +0 -19
  146. package/src/components/Header.js +0 -44
  147. package/src/components/Header.tsx +0 -105
  148. package/src/components/HeaderLarge.js +0 -7
  149. package/src/components/HeaderLarge.tsx +0 -40
  150. package/src/components/HeaderMedium.js +0 -7
  151. package/src/components/HeaderMedium.tsx +0 -41
  152. package/src/components/HeaderOverline.js +0 -7
  153. package/src/components/HeaderOverline.tsx +0 -42
  154. package/src/components/IconButton.js +0 -35
  155. package/src/components/Image.js +0 -47
  156. package/src/components/Justification.js +0 -1
  157. package/src/components/Layout.js +0 -50
  158. package/src/components/NumberInput.js +0 -49
  159. package/src/components/Picker/Picker.js +0 -267
  160. package/src/components/Picker/PickerComponent.android.js +0 -69
  161. package/src/components/Picker/PickerComponent.ios.js +0 -79
  162. package/src/components/Picker/PickerComponent.web.js +0 -70
  163. package/src/components/Picker/PickerTypes.js +0 -1
  164. package/src/components/Portal/Portal.js +0 -35
  165. package/src/components/Portal/PortalConsumer.js +0 -27
  166. package/src/components/Portal/PortalHost.js +0 -107
  167. package/src/components/Portal/PortalManager.js +0 -32
  168. package/src/components/Pressable.js +0 -12
  169. package/src/components/ProgressBar.js +0 -118
  170. package/src/components/ProgressCircle.js +0 -13
  171. package/src/components/ProgressIndicator.js +0 -27
  172. package/src/components/RadioButton/RadioButton.js +0 -17
  173. package/src/components/RadioButton/RadioButtonFieldGroup.js +0 -17
  174. package/src/components/RadioButton/RadioButtonGroup.js +0 -43
  175. package/src/components/RadioButton/RadioButtonRow.js +0 -76
  176. package/src/components/RadioButton/context.js +0 -14
  177. package/src/components/RadioButton/index.js +0 -4
  178. package/src/components/ResizeMode.js +0 -1
  179. package/src/components/Row.js +0 -48
  180. package/src/components/RowBodyIcon.js +0 -8
  181. package/src/components/RowHeadlineImageCaption.js +0 -12
  182. package/src/components/RowHeadlineImageIcon.js +0 -14
  183. package/src/components/SVG.js +0 -13
  184. package/src/components/ScreenContainer.js +0 -34
  185. package/src/components/Slider.js +0 -63
  186. package/src/components/StarRating.js +0 -50
  187. package/src/components/StepIndicator.js +0 -346
  188. package/src/components/Stepper.js +0 -41
  189. package/src/components/Surface.js +0 -32
  190. package/src/components/Swiper/Swiper.js +0 -29
  191. package/src/components/Swiper/SwiperItem.js +0 -9
  192. package/src/components/Swiper/index.js +0 -2
  193. package/src/components/Switch.js +0 -56
  194. package/src/components/Text.js +0 -33
  195. package/src/components/TextField.js +0 -428
  196. package/src/components/ToggleButton.js +0 -39
  197. package/src/components/Touchable.js +0 -12
  198. package/src/components/Touchable.web.js +0 -2
  199. package/src/components/Typography.js +0 -36
  200. package/src/components/useAuthState.js +0 -31
  201. package/src/constants.js +0 -10
  202. package/src/hooks.js +0 -12
  203. package/src/index.js +0 -53
  204. package/src/interfaces/Icon.js +0 -8
  205. package/src/mappings/Accordion.js +0 -41
  206. package/src/mappings/AccordionItem.js +0 -16
  207. package/src/mappings/ActionSheet.js +0 -13
  208. package/src/mappings/ActionSheetCancel.js +0 -19
  209. package/src/mappings/ActionSheetItem.js +0 -23
  210. package/src/mappings/ActivityIndicator.js +0 -58
  211. package/src/mappings/AudioPlayer.js +0 -57
  212. package/src/mappings/AvatarEdit.js +0 -38
  213. package/src/mappings/Banner.js +0 -32
  214. package/src/mappings/BlurView.js +0 -42
  215. package/src/mappings/Button.js +0 -116
  216. package/src/mappings/Card.js +0 -52
  217. package/src/mappings/CardBlock.js +0 -123
  218. package/src/mappings/CardContainer.js +0 -104
  219. package/src/mappings/CardContainerRating.js +0 -126
  220. package/src/mappings/CardContainerShortImage.js +0 -120
  221. package/src/mappings/CardInline.js +0 -52
  222. package/src/mappings/Carousel.js +0 -19
  223. package/src/mappings/Checkbox.js +0 -46
  224. package/src/mappings/CheckboxGroup.js +0 -26
  225. package/src/mappings/CheckboxRow.js +0 -61
  226. package/src/mappings/CircleImage.js +0 -25
  227. package/src/mappings/Container.js +0 -30
  228. package/src/mappings/CustomCode.js +0 -8
  229. package/src/mappings/DatePicker.js +0 -176
  230. package/src/mappings/Divider.js +0 -27
  231. package/src/mappings/FAB.js +0 -37
  232. package/src/mappings/Fetch.js +0 -13
  233. package/src/mappings/FieldSearchBarFull.js +0 -50
  234. package/src/mappings/FlashList.js +0 -85
  235. package/src/mappings/FlatList.js +0 -37
  236. package/src/mappings/HeaderLarge.js +0 -29
  237. package/src/mappings/HeaderMedium.js +0 -55
  238. package/src/mappings/HeaderOverline.js +0 -55
  239. package/src/mappings/Icon.js +0 -32
  240. package/src/mappings/IconButton.js +0 -35
  241. package/src/mappings/Image.js +0 -35
  242. package/src/mappings/ImageBackground.js +0 -29
  243. package/src/mappings/KeyboardAvoidingView.js +0 -41
  244. package/src/mappings/KeyboardAwareScrollView.js +0 -50
  245. package/src/mappings/Layout.js +0 -200
  246. package/src/mappings/LinearGradient.js +0 -77
  247. package/src/mappings/MapCallout.js +0 -21
  248. package/src/mappings/MapMarker.js +0 -47
  249. package/src/mappings/MapView.js +0 -139
  250. package/src/mappings/Modal.js +0 -42
  251. package/src/mappings/NumberInput.js +0 -254
  252. package/src/mappings/Picker.js +0 -148
  253. package/src/mappings/ProgressBar.js +0 -101
  254. package/src/mappings/ProgressCircle.js +0 -109
  255. package/src/mappings/ProgressIndicator.js +0 -181
  256. package/src/mappings/RadioButton.js +0 -51
  257. package/src/mappings/RadioButtonGroup.js +0 -17
  258. package/src/mappings/RadioButtonRow.js +0 -42
  259. package/src/mappings/RowBodyIcon.js +0 -75
  260. package/src/mappings/RowHeadlineImageCaption.js +0 -167
  261. package/src/mappings/RowHeadlineImageIcon.js +0 -99
  262. package/src/mappings/SVG.js +0 -20
  263. package/src/mappings/SafeAreaView.js +0 -33
  264. package/src/mappings/ScrollView.js +0 -31
  265. package/src/mappings/Slider.js +0 -60
  266. package/src/mappings/StarRating.js +0 -43
  267. package/src/mappings/Stepper.js +0 -32
  268. package/src/mappings/Surface.js +0 -14
  269. package/src/mappings/Swiper.js +0 -62
  270. package/src/mappings/SwiperItem.js +0 -8
  271. package/src/mappings/Switch.js +0 -81
  272. package/src/mappings/Text.js +0 -251
  273. package/src/mappings/TextArea.js +0 -274
  274. package/src/mappings/TextField.js +0 -391
  275. package/src/mappings/TextInput.js +0 -402
  276. package/src/mappings/ToggleButton.js +0 -50
  277. package/src/mappings/Touchable.js +0 -60
  278. package/src/mappings/Video.js +0 -81
  279. package/src/mappings/View.js +0 -207
  280. package/src/mappings/WebView.js +0 -88
  281. package/src/styles/DarkTheme.js +0 -26
  282. package/src/styles/DefaultTheme.js +0 -111
  283. package/src/styles/fonts.js +0 -62
  284. package/src/styles/overlay.js +0 -60
  285. package/src/styles/shadow.js +0 -51
  286. package/src/theming.js +0 -3
  287. package/src/utilities.js +0 -102
@@ -1,3 +1,4 @@
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); }
1
2
  import * as React from "react";
2
3
  import { View, StyleSheet } from "react-native";
3
4
  import NativeSlider from "@react-native-community/slider";
@@ -63,10 +64,9 @@ function Slider(_ref) {
63
64
  setInternalValue(newValue);
64
65
  onValueChange(newValue);
65
66
  };
66
- return /*#__PURE__*/React.createElement(View, {
67
- style: [styles.container, style],
68
- ...rest
69
- }, leftIcon ? /*#__PURE__*/React.createElement(Icon, {
67
+ return /*#__PURE__*/React.createElement(View, _extends({
68
+ style: [styles.container, style]
69
+ }, rest), leftIcon ? /*#__PURE__*/React.createElement(Icon, {
70
70
  color: leftIconThemeColor,
71
71
  name: leftIcon,
72
72
  size: 24
@@ -98,21 +98,4 @@ const styles = StyleSheet.create({
98
98
  marginHorizontal: 12
99
99
  }
100
100
  });
101
- export default withTheme(Slider);Icon ? /*#__PURE__*/React.createElement(Icon, {
102
- color: rightIconThemeColor,
103
- name: rightIcon,
104
- size: 24
105
- }) : null);
106
- }
107
- const styles = StyleSheet.create({
108
- container: {
109
- height: 40,
110
- flexDirection: "row",
111
- alignItems: "center"
112
- },
113
- slider: {
114
- flex: 1,
115
- marginHorizontal: 12
116
- }
117
- });
118
101
  export default withTheme(Slider);
@@ -1,3 +1,6 @@
1
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
4
  // @ts-nocheck
2
5
  import React, { Component } from "react";
3
6
  import { View, Text, StyleSheet, Animated, TouchableWithoutFeedback } from "react-native";
@@ -9,7 +12,7 @@ const STEP_STATUS = {
9
12
  export default class StepIndicator extends Component {
10
13
  constructor(props) {
11
14
  super(props);
12
- this.renderProgressBarBackground = () => {
15
+ _defineProperty(this, "renderProgressBarBackground", () => {
13
16
  const {
14
17
  stepCount,
15
18
  direction
@@ -52,8 +55,8 @@ export default class StepIndicator extends Component {
52
55
  },
53
56
  style: progressBarBackgroundStyle
54
57
  });
55
- };
56
- this.renderProgressBar = () => {
58
+ });
59
+ _defineProperty(this, "renderProgressBar", () => {
57
60
  const {
58
61
  stepCount,
59
62
  direction
@@ -83,8 +86,8 @@ export default class StepIndicator extends Component {
83
86
  return /*#__PURE__*/React.createElement(Animated.View, {
84
87
  style: progressBarStyle
85
88
  });
86
- };
87
- this.renderStepIndicator = () => {
89
+ });
90
+ _defineProperty(this, "renderStepIndicator", () => {
88
91
  let steps = [];
89
92
  const {
90
93
  stepCount,
@@ -115,8 +118,8 @@ export default class StepIndicator extends Component {
115
118
  height: this.state.customStyles.currentStepIndicatorSize
116
119
  }]
117
120
  }, steps);
118
- };
119
- this.renderStepLabels = () => {
121
+ });
122
+ _defineProperty(this, "renderStepLabels", () => {
120
123
  const {
121
124
  labels,
122
125
  direction,
@@ -158,8 +161,8 @@ export default class StepIndicator extends Component {
158
161
  alignItems: this.state.customStyles.labelAlign
159
162
  }]
160
163
  }, labelViews);
161
- };
162
- this.renderStep = position => {
164
+ });
165
+ _defineProperty(this, "renderStep", position => {
163
166
  const {
164
167
  renderStepIndicator
165
168
  } = this.props;
@@ -226,8 +229,8 @@ export default class StepIndicator extends Component {
226
229
  }) : /*#__PURE__*/React.createElement(Text, {
227
230
  style: indicatorLabelStyle
228
231
  }, "".concat(position + 1)));
229
- };
230
- this.getStepStatus = stepPosition => {
232
+ });
233
+ _defineProperty(this, "getStepStatus", stepPosition => {
231
234
  const {
232
235
  currentPosition
233
236
  } = this.props;
@@ -238,8 +241,8 @@ export default class StepIndicator extends Component {
238
241
  } else {
239
242
  return STEP_STATUS.UNFINISHED;
240
243
  }
241
- };
242
- this.onCurrentPositionChanged = position => {
244
+ });
245
+ _defineProperty(this, "onCurrentPositionChanged", position => {
243
246
  let {
244
247
  stepCount
245
248
  } = this.props;
@@ -259,7 +262,7 @@ export default class StepIndicator extends Component {
259
262
  toValue: this.state.customStyles.currentStepIndicatorSize / 2,
260
263
  duration: 100
261
264
  })])]).start();
262
- };
265
+ });
263
266
  const defaultStyles = {
264
267
  stepIndicatorSize: 30,
265
268
  currentStepIndicatorSize: 40,
@@ -325,6 +328,7 @@ export default class StepIndicator extends Component {
325
328
  // ),
326
329
  // }));
327
330
  // }
331
+
328
332
  if (prevProps.currentPosition !== this.props.currentPosition) {
329
333
  this.onCurrentPositionChanged(this.props.currentPosition);
330
334
  }
@@ -365,50 +369,6 @@ const styles = StyleSheet.create({
365
369
  justifyContent: "center"
366
370
  }
367
371
  });
368
- StepIndicator.defaultProps = {
369
- currentPosition: 0,
370
- stepCount: 5,
371
- customStyles: {},
372
- direction: "horizontal"
373
- };rrentPositionChanged(this.props.currentPosition);
374
- }
375
- }
376
- }
377
- const styles = StyleSheet.create({
378
- container: {
379
- backgroundColor: "transparent"
380
- },
381
- stepIndicatorContainer: {
382
- flexDirection: "row",
383
- alignItems: "center",
384
- justifyContent: "space-around",
385
- backgroundColor: "transparent"
386
- },
387
- stepLabelsContainer: {
388
- justifyContent: "space-around"
389
- },
390
- step: {
391
- alignItems: "center",
392
- justifyContent: "center",
393
- zIndex: 2
394
- },
395
- stepContainer: {
396
- flex: 1,
397
- flexDirection: "row",
398
- alignItems: "center",
399
- justifyContent: "center"
400
- },
401
- stepLabel: {
402
- fontSize: 12,
403
- textAlign: "center",
404
- fontWeight: "500"
405
- },
406
- stepLabelItem: {
407
- flex: 1,
408
- alignItems: "center",
409
- justifyContent: "center"
410
- }
411
- });
412
372
  StepIndicator.defaultProps = {
413
373
  currentPosition: 0,
414
374
  stepCount: 5,
@@ -1,3 +1,7 @@
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
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
5
  import * as React from "react";
2
6
  import { View, Animated, TextInput as NativeTextInput, StyleSheet, Text, I18nManager } from "react-native";
3
7
  import { withTheme } from "../theming";
@@ -9,7 +13,7 @@ const ICON_SIZE = 24;
9
13
  class TextField extends React.Component {
10
14
  constructor() {
11
15
  super(...arguments);
12
- this.state = {
16
+ _defineProperty(this, "state", {
13
17
  nativeProps: {},
14
18
  labeled: new Animated.Value(this.props.value || this.props.error ? 0 : 1),
15
19
  focused: false,
@@ -18,46 +22,47 @@ class TextField extends React.Component {
18
22
  measured: false,
19
23
  width: 0
20
24
  }
21
- };
22
- this._timer = setTimeout(() => {}, 0);
23
- this._showPlaceholder = () => {
25
+ });
26
+ _defineProperty(this, "_timer", setTimeout(() => {}, 0));
27
+ _defineProperty(this, "_showPlaceholder", () => {
24
28
  clearTimeout(this._timer);
29
+
25
30
  // Set the placeholder in a delay to offset the label animation
26
31
  // If we show it immediately, they'll overlap and look ugly
27
32
  this._timer = setTimeout(() => this.setState({
28
33
  placeholder: this.props.placeholder
29
34
  }), 50);
30
- };
31
- this._hidePlaceholder = () => this.setState({
32
- placeholder: ""
33
35
  });
34
- this._restoreLabel = () => Animated.timing(this.state.labeled, {
36
+ _defineProperty(this, "_hidePlaceholder", () => this.setState({
37
+ placeholder: ""
38
+ }));
39
+ _defineProperty(this, "_restoreLabel", () => Animated.timing(this.state.labeled, {
35
40
  toValue: 1,
36
41
  duration: FOCUS_ANIMATION_DURATION,
37
42
  useNativeDriver: true
38
- }).start();
39
- this._minmizeLabel = () => Animated.timing(this.state.labeled, {
43
+ }).start());
44
+ _defineProperty(this, "_minmizeLabel", () => Animated.timing(this.state.labeled, {
40
45
  toValue: 0,
41
46
  duration: BLUR_ANIMATION_DURATION,
42
47
  useNativeDriver: true
43
- }).start();
44
- this._handleFocus = () => {
48
+ }).start());
49
+ _defineProperty(this, "_handleFocus", () => {
45
50
  if (this.props.disabled) {
46
51
  return;
47
52
  }
48
53
  this.setState({
49
54
  focused: true
50
55
  });
51
- };
52
- this._handleBlur = () => {
56
+ });
57
+ _defineProperty(this, "_handleBlur", () => {
53
58
  if (this.props.disabled) {
54
59
  return;
55
60
  }
56
61
  this.setState({
57
62
  focused: false
58
63
  });
59
- };
60
- this._handleChangeText = value => {
64
+ });
65
+ _defineProperty(this, "_handleChangeText", value => {
61
66
  if (this.props.disabled) {
62
67
  return;
63
68
  }
@@ -72,8 +77,8 @@ class TextField extends React.Component {
72
77
  });
73
78
  this.props.onChangeText && this.props.onChangeText(value.nativeEvent.text);
74
79
  }
75
- };
76
- this._root = undefined;
80
+ });
81
+ _defineProperty(this, "_root", undefined);
77
82
  }
78
83
  static getDerivedStateFromProps(nextProps, prevState) {
79
84
  return {
@@ -160,9 +165,7 @@ class TextField extends React.Component {
160
165
  roundness,
161
166
  disabledOpacity
162
167
  },
163
- render = props => /*#__PURE__*/React.createElement(NativeTextInput, {
164
- ...props
165
- }),
168
+ render = props => /*#__PURE__*/React.createElement(NativeTextInput, props),
166
169
  ...rest
167
170
  } = this.props;
168
171
  const MINIMIZED_LABEL_Y_OFFSET = -(typography.caption.lineHeight + 4);
@@ -302,10 +305,9 @@ class TextField extends React.Component {
302
305
  } = StyleSheet.flatten(style || {});
303
306
  return /*#__PURE__*/React.createElement(View, {
304
307
  style: [styles.container, styleProp]
305
- }, leftIconName && leftIconMode === "outset" ? /*#__PURE__*/React.createElement(Icon, {
306
- ...leftIconProps,
308
+ }, leftIconName && leftIconMode === "outset" ? /*#__PURE__*/React.createElement(Icon, _extends({}, leftIconProps, {
307
309
  style: leftIconStyle
308
- }) : null, /*#__PURE__*/React.createElement(View, {
310
+ })) : null, /*#__PURE__*/React.createElement(View, {
309
311
  style: applyStyles([containerStyle], {
310
312
  height: style === null || style === void 0 ? void 0 : style.height,
311
313
  backgroundColor: bgColor,
@@ -373,10 +375,9 @@ class TextField extends React.Component {
373
375
  style: {
374
376
  justifyContent: type === "solid" ? "center" : undefined
375
377
  }
376
- }, /*#__PURE__*/React.createElement(Icon, {
377
- ...leftIconProps,
378
+ }, /*#__PURE__*/React.createElement(Icon, _extends({}, leftIconProps, {
378
379
  style: leftIconStyle
379
- })) : null, render({
380
+ }))) : null, render({
380
381
  ref: c => {
381
382
  this._root = c;
382
383
  },
@@ -413,57 +414,6 @@ class TextField extends React.Component {
413
414
  }
414
415
  }
415
416
  export default withTheme(TextField);
416
- const styles = StyleSheet.create({
417
- container: {
418
- alignSelf: "stretch"
419
- },
420
- placeholder: {
421
- position: "absolute",
422
- left: 0
423
- },
424
- underline: {
425
- position: "absolute",
426
- left: 0,
427
- right: 0,
428
- bottom: 0,
429
- height: 2
430
- },
431
- input: {
432
- flexGrow: 1,
433
- justifyContent: "center",
434
- textAlignVertical: "center",
435
- margin: 0,
436
- textAlign: I18nManager.isRTL ? "right" : "left"
437
- }
438
- });ionColor: activeColor,
439
- multiline,
440
- numberOfLines,
441
- onFocus: this._handleFocus,
442
- onBlur: this._handleBlur,
443
- underlineColorAndroid: "transparent",
444
- style: inputStyles,
445
- ...rest,
446
- ...this.state.nativeProps,
447
- value: this.state.value
448
- })), rightIconName ? /*#__PURE__*/React.createElement(Icon, {
449
- name: rightIconName,
450
- size: ICON_SIZE,
451
- color: colors.light,
452
- style: {
453
- position: "absolute",
454
- right: 16,
455
- marginTop: type === "solid" ? MINIMIZED_LABEL_FONT_SIZE + 4 : 16
456
- }
457
- }) : null, assistiveText ? /*#__PURE__*/React.createElement(Text, {
458
- style: [{
459
- color: error ? colors.error : colors.light,
460
- marginTop: 8,
461
- marginLeft: assistiveTextLeftMargin
462
- }]
463
- }, assistiveText) : null);
464
- }
465
- }
466
- export default withTheme(TextField);
467
417
  const styles = StyleSheet.create({
468
418
  container: {
469
419
  alignSelf: "stretch"
@@ -1,3 +1,4 @@
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); }
1
2
  import * as React from "react";
2
3
  import { withTheme } from "../theming";
3
4
  import { StyleSheet } from "react-native";
@@ -37,28 +38,13 @@ const ToggleButton = _ref => {
37
38
  setInternalValue(!internalValue);
38
39
  onPress(!internalValue);
39
40
  };
40
- return /*#__PURE__*/React.createElement(IconButton, {
41
+ return /*#__PURE__*/React.createElement(IconButton, _extends({
41
42
  Icon: Icon,
42
43
  icon: icon,
43
44
  size: iconSize,
44
45
  color: internalValue ? colors[color] : colors[colorSecondary],
45
46
  onPress: handlePress,
46
47
  disabled: disabled,
47
- style: [styles.mainContainer, {
48
- width,
49
- height,
50
- backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
51
- borderColor: colors[borderColor]
52
- }, style],
53
- ...rest
54
- });
55
- };
56
- const styles = StyleSheet.create({
57
- mainContainer: {
58
- borderWidth: 1
59
- }
60
- });
61
- export default withTheme(ToggleButton);: disabled,
62
48
  style: [styles.mainContainer, {
63
49
  width,
64
50
  height,
@@ -1,3 +1,4 @@
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); }
1
2
  import React from "react";
2
3
  import { Pressable } from "react-native";
3
4
  export default function Touchable(_ref) {
@@ -12,22 +13,8 @@ export default function Touchable(_ref) {
12
13
  style,
13
14
  ...props
14
15
  } = _ref;
15
- return /*#__PURE__*/React.createElement(Pressable, {
16
+ return /*#__PURE__*/React.createElement(Pressable, _extends({
16
17
  disabled: disabled,
17
- onPress: onPress,
18
- delayLongPress: delayLongPress ? delayLongPress : 500,
19
- hitSlop: hitSlop ? hitSlop : 8,
20
- style: _ref2 => {
21
- let {
22
- pressed
23
- } = _ref2;
24
- return [{
25
- opacity: pressed ? activeOpacity : disabled ? disabledOpacity : 1
26
- }, style];
27
- },
28
- ...props
29
- }, children);
30
- } disabled: disabled,
31
18
  onPress: onPress,
32
19
  delayLongPress: delayLongPress ? delayLongPress : 500,
33
20
  hitSlop: hitSlop ? hitSlop : 8,
@@ -1,7 +1,8 @@
1
1
  import { Platform } from "react-native";
2
+
2
3
  // @ts-ignore
3
4
  const expo = global.__expo;
4
- const DEFAULT_STATUSBAR_HEIGHT_EXPO = (expo === null || expo === void 0 ? void 0 : expo.Constants) ? expo.Constants.statusBarHeight : 0;
5
+ const DEFAULT_STATUSBAR_HEIGHT_EXPO = expo !== null && expo !== void 0 && expo.Constants ? expo.Constants.statusBarHeight : 0;
5
6
  export const APPROX_STATUSBAR_HEIGHT = Platform.select({
6
7
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
7
8
  ios: Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
@@ -8,7 +8,6 @@ export { Button, ButtonSolid, ButtonOutline } from "./components/Button";
8
8
  export { default as Avatar } from "./components/CircleImage";
9
9
  export { default as AvatarEdit } from "./components/AvatarEdit";
10
10
  export { default as Card } from "./components/Card";
11
- export { default as Carousel } from "./components/Carousel";
12
11
  export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
13
12
  export { default as CircleImage } from "./components/CircleImage";
14
13
  export { default as Container } from "./components/Container";
@@ -34,14 +33,7 @@ export { Center, Circle, Square, Row, Stack, Spacer } from "./components/Layout"
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup } from "./components/RadioButton/index";
35
34
 
36
35
  /* Deprecated: Fix or Delete! */
37
- export { default as CardBlock } from "./components/CardBlock";
38
- export { default as CardContainer } from "./components/CardContainer";
39
- export { default as CardContainerRating } from "./components/CardContainerRating";
40
- export { default as CardInline } from "./components/CardInline";
41
36
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
42
- export { default as HeaderLarge } from "./components/HeaderLarge";
43
- export { default as HeaderMedium } from "./components/HeaderMedium";
44
- export { default as HeaderOverline } from "./components/HeaderOverline";
45
37
  export { default as Picker } from "./components/Picker/Picker";
46
38
  export { default as ProgressBar } from "./components/ProgressBar";
47
39
  export { default as ProgressCircle } from "./components/ProgressCircle";
@@ -8,6 +8,7 @@ export const SEED_DATA = [{
8
8
  preview_image_url: "{CLOUDINARY_URL}/Field_SearchBar_Full.png",
9
9
  supports_list_render: false,
10
10
  triggers: [Triggers.OnChange],
11
+ // TODO Triggers.OnSubmit for multiple triggers
11
12
  props: {
12
13
  icon: {
13
14
  group: GROUPS.basic,
@@ -45,8 +46,4 @@ export const SEED_DATA = [{
45
46
  }
46
47
  },
47
48
  layout: {}
48
- }];alue: "searchBarValue"
49
- }
50
- },
51
- layout: {}
52
49
  }];
@@ -7,6 +7,7 @@ export default function overlay(elevation) {
7
7
  let surfaceColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DarkTheme.colors.surface;
8
8
  if (isAnimatedValue(elevation)) {
9
9
  const inputRange = [0, 1, 2, 3, 8, 24];
10
+
10
11
  // @ts-expect-error: TS doesn't seem to refine the type correctly
11
12
  return elevation.interpolate({
12
13
  inputRange,
@@ -15,6 +16,7 @@ export default function overlay(elevation) {
15
16
  })
16
17
  });
17
18
  }
19
+
18
20
  // @ts-expect-error: TS doesn't seem to refine the type correctly
19
21
  return calculateColor(surfaceColor, elevation);
20
22
  }
@@ -55,4 +57,4 @@ const elevationOverlayTransparency = {
55
57
  22: 15.72,
56
58
  23: 15.84,
57
59
  24: 16
58
- };};
60
+ };
@@ -44,6 +44,7 @@ export function extractBorderAndMarginStyles(style, additionalBorderStyles, addi
44
44
  marginStyles
45
45
  };
46
46
  }
47
+
47
48
  /**
48
49
  * Merges a style object on top of another style object. In React Native,
49
50
  * keys with undefined values in a style object will still override styles
@@ -76,4 +77,4 @@ export function getValueForRadioButton(value) {
76
77
  } else {
77
78
  throw new Error("Invalid value: ".concat(value));
78
79
  }
79
- }}
80
+ }
@@ -8,7 +8,6 @@ export { Button, ButtonSolid, ButtonOutline } from "./components/Button";
8
8
  export { default as Avatar } from "./components/CircleImage";
9
9
  export { default as AvatarEdit } from "./components/AvatarEdit";
10
10
  export { default as Card } from "./components/Card";
11
- export { default as Carousel } from "./components/Carousel";
12
11
  export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
13
12
  export { default as CircleImage } from "./components/CircleImage";
14
13
  export { default as Container } from "./components/Container";
@@ -32,14 +31,7 @@ export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/A
32
31
  export { Swiper, SwiperItem } from "./components/Swiper";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
35
- export { default as CardBlock } from "./components/CardBlock";
36
- export { default as CardContainer } from "./components/CardContainer";
37
- export { default as CardContainerRating } from "./components/CardContainerRating";
38
- export { default as CardInline } from "./components/CardInline";
39
34
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
40
- export { default as HeaderLarge } from "./components/HeaderLarge";
41
- export { default as HeaderMedium } from "./components/HeaderMedium";
42
- export { default as HeaderOverline } from "./components/HeaderOverline";
43
35
  export { default as Picker } from "./components/Picker/Picker";
44
36
  export { default as ProgressBar } from "./components/ProgressBar";
45
37
  export { default as ProgressCircle } from "./components/ProgressCircle";
@@ -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,OAA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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,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.7.3",
3
+ "version": "46.7.4",
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.7.3",
44
+ "@draftbit/types": "^46.7.4",
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",
@@ -91,5 +91,5 @@
91
91
  ]
92
92
  ]
93
93
  },
94
- "gitHead": "6ca9942ecce0f011576b079016ca021548649133"
94
+ "gitHead": "e6a2735daa25087a2dfbcebb3ba7a3dd240ba510"
95
95
  }
package/src/index.tsx CHANGED
@@ -9,7 +9,6 @@ export { Button, ButtonSolid, ButtonOutline } from "./components/Button";
9
9
  export { default as Avatar } from "./components/CircleImage";
10
10
  export { default as AvatarEdit } from "./components/AvatarEdit";
11
11
  export { default as Card } from "./components/Card";
12
- export { default as Carousel } from "./components/Carousel";
13
12
  export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
14
13
  export { default as CircleImage } from "./components/CircleImage";
15
14
  export { default as Container } from "./components/Container";
@@ -53,14 +52,7 @@ export {
53
52
  } from "./components/RadioButton/index";
54
53
 
55
54
  /* Deprecated: Fix or Delete! */
56
- export { default as CardBlock } from "./components/CardBlock";
57
- export { default as CardContainer } from "./components/CardContainer";
58
- export { default as CardContainerRating } from "./components/CardContainerRating";
59
- export { default as CardInline } from "./components/CardInline";
60
55
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
61
- export { default as HeaderLarge } from "./components/HeaderLarge";
62
- export { default as HeaderMedium } from "./components/HeaderMedium";
63
- export { default as HeaderOverline } from "./components/HeaderOverline";
64
56
  export { default as Picker } from "./components/Picker/Picker";
65
57
  export { default as ProgressBar } from "./components/ProgressBar";
66
58
  export { default as ProgressCircle } from "./components/ProgressCircle";