@draftbit/core 46.4.4-808a01.2 → 46.4.4-82c62e.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 (433) hide show
  1. package/lib/commonjs/components/AnimatedCircularProgress.js +2 -12
  2. package/lib/commonjs/components/AspectRatio.js +2 -19
  3. package/lib/commonjs/components/AvatarEdit.js +5 -17
  4. package/lib/commonjs/components/Banner.js +4 -24
  5. package/lib/commonjs/components/Button.js +11 -32
  6. package/lib/commonjs/components/CardBlock.js +5 -15
  7. package/lib/commonjs/components/CardContainer.js +5 -15
  8. package/lib/commonjs/components/CardContainerRating.js +5 -15
  9. package/lib/commonjs/components/CardContainerShortImage.js +5 -17
  10. package/lib/commonjs/components/Carousel.js +10 -34
  11. package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -24
  12. package/lib/commonjs/components/Checkbox/context.js +1 -1
  13. package/lib/commonjs/components/CircleImage.js +2 -16
  14. package/lib/commonjs/components/CircularProgress.js +7 -15
  15. package/lib/commonjs/components/Container.js +5 -17
  16. package/lib/commonjs/components/DeprecatedCardWrapper.js +2 -17
  17. package/lib/commonjs/components/DeprecatedFAB.js +4 -22
  18. package/lib/commonjs/components/Divider.js +2 -16
  19. package/lib/commonjs/components/FAB.js +5 -20
  20. package/lib/commonjs/components/FormRow.js +3 -17
  21. package/lib/commonjs/components/IconButton.js +5 -22
  22. package/lib/commonjs/components/Layout.js +19 -40
  23. package/lib/commonjs/components/NumberInput.js +2 -13
  24. package/lib/commonjs/components/Picker/Picker.js +5 -5
  25. package/lib/commonjs/components/Picker/PickerComponent.web.js +5 -24
  26. package/lib/commonjs/components/Portal/PortalConsumer.js +8 -10
  27. package/lib/commonjs/components/Portal/PortalHost.js +15 -27
  28. package/lib/commonjs/components/Portal/PortalManager.js +11 -19
  29. package/lib/commonjs/components/ProgressBar.js +7 -23
  30. package/lib/commonjs/components/RadioButton/RadioButton.js +3 -14
  31. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +6 -24
  32. package/lib/commonjs/components/ScreenContainer.js +5 -23
  33. package/lib/commonjs/components/Slider.js +5 -24
  34. package/lib/commonjs/components/StarRating.js +5 -25
  35. package/lib/commonjs/components/StepIndicator.js +16 -34
  36. package/lib/commonjs/components/Stepper.js +8 -3
  37. package/lib/commonjs/components/Surface.js +3 -14
  38. package/lib/commonjs/components/Text.js +16 -38
  39. package/lib/commonjs/components/TextField.js +35 -64
  40. package/lib/commonjs/components/ToggleButton.js +3 -18
  41. package/lib/commonjs/components/Touchable.js +2 -16
  42. package/lib/commonjs/mappings/AudioPlayer.js +7 -7
  43. package/lib/commonjs/mappings/Stepper.js +1 -1
  44. package/lib/commonjs/mappings/TextArea.js +14 -3
  45. package/lib/commonjs/mappings/TextField.js +15 -5
  46. package/lib/commonjs/mappings/TextInput.js +15 -4
  47. package/lib/module/components/Checkbox/context.js +1 -1
  48. package/lib/module/components/Picker/Picker.js +2 -2
  49. package/lib/module/components/Stepper.js +7 -3
  50. package/lib/module/components/Text.js +6 -2
  51. package/lib/module/components/TextField.js +5 -1
  52. package/lib/module/mappings/AudioPlayer.js +7 -7
  53. package/lib/module/mappings/Stepper.js +2 -2
  54. package/lib/module/mappings/TextArea.js +15 -4
  55. package/lib/module/mappings/TextField.js +15 -5
  56. package/lib/module/mappings/TextInput.js +16 -5
  57. package/lib/typescript/src/Provider.d.ts +1 -0
  58. package/lib/typescript/src/Provider.d.ts.map +1 -0
  59. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +1 -0
  60. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
  61. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +1 -0
  62. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
  63. package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
  64. package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
  65. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
  66. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
  67. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +1 -0
  68. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
  69. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +1 -0
  70. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
  71. package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
  72. package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
  73. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +1 -0
  74. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +1 -0
  75. package/lib/typescript/src/components/AspectRatio.d.ts +1 -0
  76. package/lib/typescript/src/components/AspectRatio.d.ts.map +1 -0
  77. package/lib/typescript/src/components/AvatarEdit.d.ts +1 -0
  78. package/lib/typescript/src/components/AvatarEdit.d.ts.map +1 -0
  79. package/lib/typescript/src/components/Banner.d.ts +1 -0
  80. package/lib/typescript/src/components/Banner.d.ts.map +1 -0
  81. package/lib/typescript/src/components/Button.d.ts +1 -0
  82. package/lib/typescript/src/components/Button.d.ts.map +1 -0
  83. package/lib/typescript/src/components/Card.d.ts +1 -0
  84. package/lib/typescript/src/components/Card.d.ts.map +1 -0
  85. package/lib/typescript/src/components/CardBlock.d.ts +1 -0
  86. package/lib/typescript/src/components/CardBlock.d.ts.map +1 -0
  87. package/lib/typescript/src/components/CardContainer.d.ts +1 -0
  88. package/lib/typescript/src/components/CardContainer.d.ts.map +1 -0
  89. package/lib/typescript/src/components/CardContainerRating.d.ts +1 -0
  90. package/lib/typescript/src/components/CardContainerRating.d.ts.map +1 -0
  91. package/lib/typescript/src/components/CardContainerShortImage.d.ts +1 -0
  92. package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +1 -0
  93. package/lib/typescript/src/components/CardInline.d.ts +1 -0
  94. package/lib/typescript/src/components/CardInline.d.ts.map +1 -0
  95. package/lib/typescript/src/components/Carousel.d.ts +1 -0
  96. package/lib/typescript/src/components/Carousel.d.ts.map +1 -0
  97. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
  98. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  99. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
  100. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  101. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
  102. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
  103. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
  104. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
  105. package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
  106. package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
  107. package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
  108. package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  109. package/lib/typescript/src/components/CircleImage.d.ts +1 -0
  110. package/lib/typescript/src/components/CircleImage.d.ts.map +1 -0
  111. package/lib/typescript/src/components/CircularProgress.d.ts +1 -0
  112. package/lib/typescript/src/components/CircularProgress.d.ts.map +1 -0
  113. package/lib/typescript/src/components/Config.d.ts +1 -0
  114. package/lib/typescript/src/components/Config.d.ts.map +1 -0
  115. package/lib/typescript/src/components/Container.d.ts +1 -0
  116. package/lib/typescript/src/components/Container.d.ts.map +1 -0
  117. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +1 -0
  118. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
  119. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
  120. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
  121. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +1 -0
  122. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +1 -0
  123. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +1 -0
  124. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
  125. package/lib/typescript/src/components/DeprecatedButton.d.ts +1 -0
  126. package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
  127. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +1 -0
  128. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +1 -0
  129. package/lib/typescript/src/components/DeprecatedFAB.d.ts +1 -0
  130. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +1 -0
  131. package/lib/typescript/src/components/Divider.d.ts +1 -0
  132. package/lib/typescript/src/components/Divider.d.ts.map +1 -0
  133. package/lib/typescript/src/components/Elevation.d.ts +1 -0
  134. package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
  135. package/lib/typescript/src/components/FAB.d.ts +1 -0
  136. package/lib/typescript/src/components/FAB.d.ts.map +1 -0
  137. package/lib/typescript/src/components/FieldSearchBarFull.d.ts +1 -0
  138. package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +1 -0
  139. package/lib/typescript/src/components/FormRow.d.ts +1 -0
  140. package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
  141. package/lib/typescript/src/components/Header.d.ts +1 -0
  142. package/lib/typescript/src/components/Header.d.ts.map +1 -0
  143. package/lib/typescript/src/components/HeaderLarge.d.ts +1 -0
  144. package/lib/typescript/src/components/HeaderLarge.d.ts.map +1 -0
  145. package/lib/typescript/src/components/HeaderMedium.d.ts +1 -0
  146. package/lib/typescript/src/components/HeaderMedium.d.ts.map +1 -0
  147. package/lib/typescript/src/components/HeaderOverline.d.ts +1 -0
  148. package/lib/typescript/src/components/HeaderOverline.d.ts.map +1 -0
  149. package/lib/typescript/src/components/IconButton.d.ts +1 -0
  150. package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
  151. package/lib/typescript/src/components/Image.d.ts +1 -0
  152. package/lib/typescript/src/components/Image.d.ts.map +1 -0
  153. package/lib/typescript/src/components/Justification.d.ts +1 -0
  154. package/lib/typescript/src/components/Justification.d.ts.map +1 -0
  155. package/lib/typescript/src/components/Layout.d.ts +1 -0
  156. package/lib/typescript/src/components/Layout.d.ts.map +1 -0
  157. package/lib/typescript/src/components/NumberInput.d.ts +1 -0
  158. package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
  159. package/lib/typescript/src/components/Picker/Picker.d.ts +1 -0
  160. package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
  161. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
  162. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
  163. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
  164. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
  165. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
  166. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
  167. package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
  168. package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
  169. package/lib/typescript/src/components/Portal/Portal.d.ts +1 -0
  170. package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  171. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +1 -0
  172. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  173. package/lib/typescript/src/components/Portal/PortalHost.d.ts +1 -0
  174. package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  175. package/lib/typescript/src/components/Portal/PortalManager.d.ts +1 -0
  176. package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  177. package/lib/typescript/src/components/ProgressBar.d.ts +1 -0
  178. package/lib/typescript/src/components/ProgressBar.d.ts.map +1 -0
  179. package/lib/typescript/src/components/ProgressCircle.d.ts +1 -0
  180. package/lib/typescript/src/components/ProgressCircle.d.ts.map +1 -0
  181. package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -0
  182. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +1 -0
  183. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +1 -0
  184. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
  185. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
  186. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
  187. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
  188. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
  189. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
  190. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
  191. package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
  192. package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
  193. package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
  194. package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
  195. package/lib/typescript/src/components/ResizeMode.d.ts +1 -0
  196. package/lib/typescript/src/components/ResizeMode.d.ts.map +1 -0
  197. package/lib/typescript/src/components/Row.d.ts +1 -0
  198. package/lib/typescript/src/components/Row.d.ts.map +1 -0
  199. package/lib/typescript/src/components/RowBodyIcon.d.ts +1 -0
  200. package/lib/typescript/src/components/RowBodyIcon.d.ts.map +1 -0
  201. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +1 -0
  202. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +1 -0
  203. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +1 -0
  204. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +1 -0
  205. package/lib/typescript/src/components/SVG.d.ts +1 -0
  206. package/lib/typescript/src/components/SVG.d.ts.map +1 -0
  207. package/lib/typescript/src/components/ScreenContainer.d.ts +1 -0
  208. package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
  209. package/lib/typescript/src/components/Slider.d.ts +1 -0
  210. package/lib/typescript/src/components/Slider.d.ts.map +1 -0
  211. package/lib/typescript/src/components/StarRating.d.ts +1 -0
  212. package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
  213. package/lib/typescript/src/components/StepIndicator.d.ts +1 -0
  214. package/lib/typescript/src/components/StepIndicator.d.ts.map +1 -0
  215. package/lib/typescript/src/components/Stepper.d.ts +2 -2
  216. package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
  217. package/lib/typescript/src/components/Surface.d.ts +1 -0
  218. package/lib/typescript/src/components/Surface.d.ts.map +1 -0
  219. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
  220. package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
  221. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
  222. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
  223. package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
  224. package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
  225. package/lib/typescript/src/components/Switch.d.ts +1 -0
  226. package/lib/typescript/src/components/Switch.d.ts.map +1 -0
  227. package/lib/typescript/src/components/Text.d.ts +3 -1
  228. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  229. package/lib/typescript/src/components/TextField.d.ts +3 -1
  230. package/lib/typescript/src/components/TextField.d.ts.map +1 -0
  231. package/lib/typescript/src/components/ToggleButton.d.ts +1 -0
  232. package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -0
  233. package/lib/typescript/src/components/Touchable.d.ts +1 -0
  234. package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
  235. package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
  236. package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
  237. package/lib/typescript/src/components/Typography.d.ts +1 -0
  238. package/lib/typescript/src/components/Typography.d.ts.map +1 -0
  239. package/lib/typescript/src/components/useAuthState.d.ts +1 -0
  240. package/lib/typescript/src/components/useAuthState.d.ts.map +1 -0
  241. package/lib/typescript/src/constants.d.ts +1 -0
  242. package/lib/typescript/src/constants.d.ts.map +1 -0
  243. package/lib/typescript/src/hooks.d.ts +1 -0
  244. package/lib/typescript/src/hooks.d.ts.map +1 -0
  245. package/lib/typescript/src/index.d.ts +1 -0
  246. package/lib/typescript/src/index.d.ts.map +1 -0
  247. package/lib/typescript/src/interfaces/Icon.d.ts +1 -0
  248. package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
  249. package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
  250. package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
  251. package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
  252. package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
  253. package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
  254. package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
  255. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
  256. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
  257. package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
  258. package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
  259. package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
  260. package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
  261. package/lib/typescript/src/mappings/AudioPlayer.d.ts +1 -0
  262. package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
  263. package/lib/typescript/src/mappings/AvatarEdit.d.ts +1 -0
  264. package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +1 -0
  265. package/lib/typescript/src/mappings/Banner.d.ts +1 -0
  266. package/lib/typescript/src/mappings/Banner.d.ts.map +1 -0
  267. package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
  268. package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
  269. package/lib/typescript/src/mappings/Button.d.ts +1 -0
  270. package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
  271. package/lib/typescript/src/mappings/Card.d.ts +1 -0
  272. package/lib/typescript/src/mappings/Card.d.ts.map +1 -0
  273. package/lib/typescript/src/mappings/CardBlock.d.ts +1 -0
  274. package/lib/typescript/src/mappings/CardBlock.d.ts.map +1 -0
  275. package/lib/typescript/src/mappings/CardContainer.d.ts +1 -0
  276. package/lib/typescript/src/mappings/CardContainer.d.ts.map +1 -0
  277. package/lib/typescript/src/mappings/CardContainerRating.d.ts +1 -0
  278. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +1 -0
  279. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +1 -0
  280. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +1 -0
  281. package/lib/typescript/src/mappings/CardInline.d.ts +1 -0
  282. package/lib/typescript/src/mappings/CardInline.d.ts.map +1 -0
  283. package/lib/typescript/src/mappings/Carousel.d.ts +1 -0
  284. package/lib/typescript/src/mappings/Carousel.d.ts.map +1 -0
  285. package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
  286. package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
  287. package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
  288. package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
  289. package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
  290. package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
  291. package/lib/typescript/src/mappings/CircleImage.d.ts +1 -0
  292. package/lib/typescript/src/mappings/CircleImage.d.ts.map +1 -0
  293. package/lib/typescript/src/mappings/Container.d.ts +1 -0
  294. package/lib/typescript/src/mappings/Container.d.ts.map +1 -0
  295. package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
  296. package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
  297. package/lib/typescript/src/mappings/DatePicker.d.ts +1 -0
  298. package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
  299. package/lib/typescript/src/mappings/Divider.d.ts +1 -0
  300. package/lib/typescript/src/mappings/Divider.d.ts.map +1 -0
  301. package/lib/typescript/src/mappings/FAB.d.ts +1 -0
  302. package/lib/typescript/src/mappings/FAB.d.ts.map +1 -0
  303. package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
  304. package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
  305. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +1 -0
  306. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +1 -0
  307. package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
  308. package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
  309. package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
  310. package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
  311. package/lib/typescript/src/mappings/HeaderLarge.d.ts +1 -0
  312. package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +1 -0
  313. package/lib/typescript/src/mappings/HeaderMedium.d.ts +1 -0
  314. package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +1 -0
  315. package/lib/typescript/src/mappings/HeaderOverline.d.ts +1 -0
  316. package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +1 -0
  317. package/lib/typescript/src/mappings/Icon.d.ts +1 -0
  318. package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
  319. package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
  320. package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
  321. package/lib/typescript/src/mappings/Image.d.ts +1 -0
  322. package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
  323. package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
  324. package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
  325. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
  326. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
  327. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
  328. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
  329. package/lib/typescript/src/mappings/Layout.d.ts +1 -0
  330. package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
  331. package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
  332. package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
  333. package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
  334. package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
  335. package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
  336. package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
  337. package/lib/typescript/src/mappings/MapView.d.ts +1 -0
  338. package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
  339. package/lib/typescript/src/mappings/Modal.d.ts +1 -0
  340. package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
  341. package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
  342. package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
  343. package/lib/typescript/src/mappings/Picker.d.ts +1 -0
  344. package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
  345. package/lib/typescript/src/mappings/ProgressBar.d.ts +1 -0
  346. package/lib/typescript/src/mappings/ProgressBar.d.ts.map +1 -0
  347. package/lib/typescript/src/mappings/ProgressCircle.d.ts +1 -0
  348. package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +1 -0
  349. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +1 -0
  350. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +1 -0
  351. package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
  352. package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
  353. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
  354. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
  355. package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
  356. package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
  357. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +1 -0
  358. package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +1 -0
  359. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +1 -0
  360. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +1 -0
  361. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +1 -0
  362. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +1 -0
  363. package/lib/typescript/src/mappings/SVG.d.ts +1 -0
  364. package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
  365. package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
  366. package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
  367. package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
  368. package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
  369. package/lib/typescript/src/mappings/Slider.d.ts +1 -0
  370. package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
  371. package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
  372. package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
  373. package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
  374. package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
  375. package/lib/typescript/src/mappings/Surface.d.ts +1 -0
  376. package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
  377. package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
  378. package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
  379. package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
  380. package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
  381. package/lib/typescript/src/mappings/Switch.d.ts +1 -0
  382. package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
  383. package/lib/typescript/src/mappings/Text.d.ts +1 -0
  384. package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
  385. package/lib/typescript/src/mappings/TextArea.d.ts +22 -1
  386. package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
  387. package/lib/typescript/src/mappings/TextField.d.ts +25 -4
  388. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
  389. package/lib/typescript/src/mappings/TextInput.d.ts +23 -2
  390. package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
  391. package/lib/typescript/src/mappings/ToggleButton.d.ts +1 -0
  392. package/lib/typescript/src/mappings/ToggleButton.d.ts.map +1 -0
  393. package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
  394. package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
  395. package/lib/typescript/src/mappings/Video.d.ts +1 -0
  396. package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
  397. package/lib/typescript/src/mappings/View.d.ts +1 -0
  398. package/lib/typescript/src/mappings/View.d.ts.map +1 -0
  399. package/lib/typescript/src/mappings/WebView.d.ts +1 -0
  400. package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
  401. package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
  402. package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
  403. package/lib/typescript/src/styles/DefaultTheme.d.ts +1 -0
  404. package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
  405. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  406. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  407. package/lib/typescript/src/styles/overlay.d.ts +1 -0
  408. package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
  409. package/lib/typescript/src/styles/shadow.d.ts +1 -0
  410. package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
  411. package/lib/typescript/src/theming.d.ts +1 -0
  412. package/lib/typescript/src/theming.d.ts.map +1 -0
  413. package/lib/typescript/src/utilities.d.ts +1 -0
  414. package/lib/typescript/src/utilities.d.ts.map +1 -0
  415. package/package.json +15 -5
  416. package/src/components/Picker/Picker.js +1 -1
  417. package/src/components/Picker/Picker.tsx +2 -2
  418. package/src/components/Stepper.js +5 -3
  419. package/src/components/Stepper.tsx +5 -5
  420. package/src/components/Text.js +8 -2
  421. package/src/components/Text.tsx +6 -1
  422. package/src/components/TextField.js +6 -1
  423. package/src/components/TextField.tsx +7 -1
  424. package/src/mappings/AudioPlayer.js +7 -7
  425. package/src/mappings/AudioPlayer.ts +7 -7
  426. package/src/mappings/Stepper.js +5 -2
  427. package/src/mappings/Stepper.ts +5 -1
  428. package/src/mappings/TextArea.js +15 -4
  429. package/src/mappings/TextArea.ts +15 -3
  430. package/src/mappings/TextField.js +15 -5
  431. package/src/mappings/TextField.ts +15 -5
  432. package/src/mappings/TextInput.js +16 -5
  433. package/src/mappings/TextInput.ts +16 -4
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
 
20
20
  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; }
21
21
 
22
+ 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); }
23
+
22
24
  const Container = _ref => {
23
25
  let {
24
26
  useThemeGutterPadding,
@@ -80,10 +82,9 @@ const Container = _ref => {
80
82
  };
81
83
  const Wrap = elevation ? _Elevation.default : _reactNative.View;
82
84
  if (elevation) containerStyle.elevation = elevation;
83
- return /*#__PURE__*/React.createElement(Wrap, {
84
- style: [containerStyle, style],
85
- ...rest
86
- }, backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
85
+ return /*#__PURE__*/React.createElement(Wrap, _extends({
86
+ style: [containerStyle, style]
87
+ }, rest), backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
87
88
  source: typeof backgroundImage === "string" ? {
88
89
  uri: backgroundImage
89
90
  } : backgroundImage,
@@ -100,17 +101,4 @@ const Container = _ref => {
100
101
 
101
102
  var _default = (0, _theming.withTheme)(Container);
102
103
 
103
- exports.default = _default;izeMode: backgroundImageResizeMode,
104
- style: {
105
- flex: 1
106
- }
107
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
108
- style: innerStyle
109
- }, children)) : /*#__PURE__*/React.createElement(_reactNative.View, {
110
- style: innerStyle
111
- }, children));
112
- };
113
-
114
- var _default = (0, _theming.withTheme)(Container);
115
-
116
104
  exports.default = _default;
@@ -13,6 +13,8 @@ var _Touchable = _interopRequireDefault(require("./Touchable"));
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
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
18
  const getWidth = numColumns => {
17
19
  switch (numColumns) {
18
20
  case 1:
@@ -35,23 +37,6 @@ const Card = _ref => {
35
37
  ...rest
36
38
  } = _ref;
37
39
  const width = getWidth(numColumns);
38
- return /*#__PURE__*/_react.default.createElement(_Touchable.default, {
39
- disabled: !onPress,
40
- onPress: onPress,
41
- style: [style, {
42
- width
43
- }],
44
- ...rest
45
- }, children);
46
- };
47
-
48
- var _default = (0, _theming.withTheme)(Card);
49
-
50
- exports.default = _default;,
51
- style,
52
- ...rest
53
- } = _ref;
54
- const width = getWidth(numColumns);
55
40
  return /*#__PURE__*/_react.default.createElement(_Touchable.default, _extends({
56
41
  disabled: !onPress,
57
42
  onPress: onPress,
@@ -27,6 +27,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
27
27
 
28
28
  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; }
29
29
 
30
+ 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); }
31
+
30
32
  const FAB = _ref => {
31
33
  let {
32
34
  Icon,
@@ -128,7 +130,7 @@ const FAB = _ref => {
128
130
  style: [{
129
131
  elevation
130
132
  }, style]
131
- }, /*#__PURE__*/React.createElement(_Touchable.default, { ...rest,
133
+ }, /*#__PURE__*/React.createElement(_Touchable.default, _extends({}, rest, {
132
134
  onPress: onPress,
133
135
  accessibilityState: {
134
136
  disabled
@@ -136,7 +138,7 @@ const FAB = _ref => {
136
138
  accessibilityRole: "button",
137
139
  disabled: disabled || loading,
138
140
  style: buttonStyles
139
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
141
+ }), /*#__PURE__*/React.createElement(_reactNative.View, {
140
142
  style: styles.content
141
143
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
142
144
  style: iconStyle
@@ -179,24 +181,4 @@ const styles = _reactNative.StyleSheet.create({
179
181
 
180
182
  var _default = (0, _theming.withTheme)(FAB);
181
183
 
182
- exports.default = _default; "row",
183
- alignItems: "center",
184
- justifyContent: "center"
185
- },
186
- icon: {
187
- alignItems: "center",
188
- justifyContent: "center",
189
- width: _Config.default.buttonIconSize
190
- },
191
- fixed: {
192
- left: 0,
193
- right: 0,
194
- bottom: 0,
195
- height: 64,
196
- borderRadius: 0
197
- }
198
- });
199
-
200
- var _default = (0, _theming.withTheme)(FAB);
201
-
202
184
  exports.default = _default;
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
15
15
 
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
17
 
18
+ 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); }
19
+
18
20
  const Divider = _ref => {
19
21
  let {
20
22
  style,
@@ -24,22 +26,6 @@ const Divider = _ref => {
24
26
  },
25
27
  ...rest
26
28
  } = _ref;
27
- return /*#__PURE__*/React.createElement(_reactNative.View, {
28
- style: [{
29
- backgroundColor: color || colors.divider,
30
- height: _reactNative.StyleSheet.hairlineWidth
31
- }, style],
32
- ...rest
33
- });
34
- };
35
-
36
- var _default = (0, _theming.withTheme)(Divider);
37
-
38
- exports.default = _default;me: {
39
- colors
40
- },
41
- ...rest
42
- } = _ref;
43
29
  return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
44
30
  style: [{
45
31
  backgroundColor: color || colors.divider,
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
15
15
 
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
17
 
18
+ 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); }
19
+
18
20
  const FAB = _ref => {
19
21
  let {
20
22
  onPress,
@@ -38,7 +40,7 @@ const FAB = _ref => {
38
40
  borderRadius: size / 2,
39
41
  overflow: "hidden"
40
42
  }, style]
41
- }, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
43
+ }, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
42
44
  onPress: onPress,
43
45
  disabled: loading || disabled,
44
46
  android_ripple: {
@@ -56,9 +58,8 @@ const FAB = _ref => {
56
58
  borderRadius: size / 2,
57
59
  backgroundColor
58
60
  }];
59
- },
60
- ...props
61
- }, /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
61
+ }
62
+ }, props), /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
62
63
  style: size > 50 ? {
63
64
  marginTop: 2,
64
65
  marginLeft: 2
@@ -88,20 +89,4 @@ const styles = _reactNative.StyleSheet.create({
88
89
 
89
90
  var _default = (0, _theming.withTheme)(FAB);
90
91
 
91
- exports.default = _default;styles = _reactNative.StyleSheet.create({
92
- button: {
93
- backgroundColor: "#5a45ff",
94
- justifyContent: "center",
95
- alignItems: "center",
96
- ..._reactNative.Platform.select({
97
- web: {
98
- cursor: "pointer",
99
- userSelect: "none"
100
- }
101
- })
102
- }
103
- });
104
-
105
- var _default = (0, _theming.withTheme)(FAB);
106
-
107
92
  exports.default = _default;
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
 
20
20
  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; }
21
21
 
22
+ 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); }
23
+
22
24
  function FormRow(_ref) {
23
25
  let {
24
26
  disabled,
@@ -33,27 +35,11 @@ function FormRow(_ref) {
33
35
  textStyles,
34
36
  viewStyles
35
37
  } = (0, _utilities.extractStyles)(style);
36
- return /*#__PURE__*/React.createElement(_Touchable.default, {
38
+ return /*#__PURE__*/React.createElement(_Touchable.default, _extends({
37
39
  disabled: disabled,
38
40
  onPress: onPress,
39
41
  style: [styles.row, {
40
42
  flexDirection: direction
41
- }, viewStyles],
42
- ...rest
43
- }, /*#__PURE__*/React.createElement(_reactNative.Text, {
44
- style: textStyles
45
- }, label), children);
46
- }
47
-
48
- const styles = _reactNative.StyleSheet.create({
49
- row: {
50
- marginLeft: 8,
51
- marginRight: 8,
52
- flexDirection: "row",
53
- justifyContent: "space-between",
54
- alignItems: "center"
55
- }
56
- });rection: direction
57
43
  }, viewStyles]
58
44
  }, rest), /*#__PURE__*/React.createElement(_reactNative.Text, {
59
45
  style: textStyles
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
15
15
 
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
17
 
18
+ 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); }
19
+
18
20
  const IconButton = _ref => {
19
21
  let {
20
22
  Icon,
@@ -29,7 +31,7 @@ const IconButton = _ref => {
29
31
  ...props
30
32
  } = _ref;
31
33
  const iconColor = customColor || theme.colors.primary;
32
- return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
34
+ return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
33
35
  onPress: onPress,
34
36
  disabled: disabled || loading,
35
37
  style: _ref2 => {
@@ -43,9 +45,8 @@ const IconButton = _ref => {
43
45
  alignItems: "center",
44
46
  justifyContent: "center"
45
47
  }, style];
46
- },
47
- ...props
48
- }, /*#__PURE__*/React.createElement(_reactNative.View, null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
48
+ }
49
+ }, props), /*#__PURE__*/React.createElement(_reactNative.View, null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
49
50
  name: icon,
50
51
  size: size - 2,
51
52
  color: iconColor
@@ -70,22 +71,4 @@ const styles = _reactNative.StyleSheet.create({
70
71
 
71
72
  var _default = (0, _theming.withTheme)(IconButton);
72
73
 
73
- exports.default = _default;) : null));
74
- };
75
-
76
- const styles = _reactNative.StyleSheet.create({
77
- container: {
78
- alignItems: "center",
79
- justifyContent: "center",
80
- ..._reactNative.Platform.select({
81
- web: {
82
- cursor: "pointer",
83
- userSelect: "none"
84
- }
85
- })
86
- }
87
- });
88
-
89
- var _default = (0, _theming.withTheme)(IconButton);
90
-
91
74
  exports.default = _default;
@@ -18,6 +18,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
18
18
 
19
19
  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; }
20
20
 
21
+ 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); }
22
+
21
23
  function Center(_ref) {
22
24
  let {
23
25
  width = 240,
@@ -27,16 +29,15 @@ function Center(_ref) {
27
29
  style,
28
30
  ...rest
29
31
  } = _ref;
30
- return /*#__PURE__*/React.createElement(_reactNative.View, {
32
+ return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
31
33
  style: [{
32
34
  justifyContent: "center",
33
35
  alignItems: "center",
34
36
  width,
35
37
  height,
36
38
  backgroundColor: bgColor
37
- }, style],
38
- ...rest
39
- }, children);
39
+ }, style]
40
+ }, rest), children);
40
41
  }
41
42
 
42
43
  function Circle(_ref2) {
@@ -48,7 +49,7 @@ function Circle(_ref2) {
48
49
  ...rest
49
50
  } = _ref2;
50
51
  const borderRadius = 1000;
51
- return /*#__PURE__*/React.createElement(Center, {
52
+ return /*#__PURE__*/React.createElement(Center, _extends({
52
53
  width: size,
53
54
  height: size,
54
55
  bgColor: bgColor,
@@ -56,9 +57,8 @@ function Circle(_ref2) {
56
57
  backgroundColor: bgColor,
57
58
  borderRadius,
58
59
  overflow: "hidden"
59
- }],
60
- ...rest
61
- }, children);
60
+ }]
61
+ }, rest), children);
62
62
  }
63
63
 
64
64
  function Square(_ref3) {
@@ -69,13 +69,12 @@ function Square(_ref3) {
69
69
  style,
70
70
  ...rest
71
71
  } = _ref3;
72
- return /*#__PURE__*/React.createElement(Center, {
72
+ return /*#__PURE__*/React.createElement(Center, _extends({
73
73
  style: style,
74
74
  width: size,
75
75
  height: size,
76
- bgColor: bgColor,
77
- ...rest
78
- }, children);
76
+ bgColor: bgColor
77
+ }, rest), children);
79
78
  }
80
79
 
81
80
  function Row(_ref4) {
@@ -86,14 +85,14 @@ function Row(_ref4) {
86
85
  style,
87
86
  ...rest
88
87
  } = _ref4;
89
- return /*#__PURE__*/React.createElement(_reactNative.View, {
90
- style: [style, {
88
+ return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
89
+ style: [style, // style goes first b/c we can't override these
90
+ {
91
91
  alignItems,
92
92
  flexDirection: "row",
93
93
  justifyContent: justifyContent
94
- }],
95
- ...rest
96
- }, children);
94
+ }]
95
+ }, rest), children);
97
96
  }
98
97
 
99
98
  function Spacer(_ref5) {
@@ -106,37 +105,17 @@ function Spacer(_ref5) {
106
105
  style,
107
106
  ...rest
108
107
  } = _ref5;
109
- return /*#__PURE__*/React.createElement(_reactNative.View, {
108
+ return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
110
109
  style: [style, {
111
110
  paddingRight: right,
112
111
  paddingTop: top,
113
112
  paddingLeft: left,
114
113
  paddingBottom: bottom
115
- }],
116
- ...rest
117
- }, children);
114
+ }]
115
+ }, rest), children);
118
116
  }
119
117
 
120
118
  function Stack(_ref6) {
121
- let {
122
- children,
123
- justifyContent = "flex-start",
124
- alignItems = "flex-start",
125
- style,
126
- ...rest
127
- } = _ref6;
128
- return (
129
- /*#__PURE__*/
130
- // style must go first since we don't want justifyContent, alignItems overridden
131
- React.createElement(_reactNative.View, {
132
- style: [style, {
133
- justifyContent,
134
- alignItems
135
- }],
136
- ...rest
137
- }, children)
138
- );
139
- }ck(_ref6) {
140
119
  let {
141
120
  children,
142
121
  justifyContent = "flex-start",
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
15
15
 
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
17
 
18
+ 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); }
19
+
18
20
  const NumberInput = _ref => {
19
21
  let {
20
22
  onChangeText,
@@ -67,19 +69,6 @@ const NumberInput = _ref => {
67
69
  handleChangeText(nextStringNumberValue);
68
70
  } // eslint-disable-next-line react-hooks/exhaustive-deps
69
71
 
70
- }, [value]);
71
- return /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
72
- keyboardType: "numeric",
73
- value: currentStringNumberValue,
74
- onChangeText: handleChangeText,
75
- ...props
76
- });
77
- };
78
-
79
- var _default = NumberInput;
80
- exports.default = _default;lue);
81
- } // eslint-disable-next-line react-hooks/exhaustive-deps
82
-
83
72
  }, [value]);
84
73
  return /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, _extends({
85
74
  keyboardType: "numeric",
@@ -284,10 +284,6 @@ const Picker = _ref => {
284
284
  );
285
285
  };
286
286
 
287
- var _default = (0, _theming.withTheme)(Picker);
288
-
289
- exports.default = _default;
290
-
291
287
  const styles = _reactNative.StyleSheet.create({
292
288
  marginsContainer: {
293
289
  alignSelf: "stretch",
@@ -357,4 +353,8 @@ const styles = _reactNative.StyleSheet.create({
357
353
  maxWidth: deviceWidth,
358
354
  maxHeight: deviceHeight
359
355
  }
360
- });
356
+ });
357
+
358
+ var _default = (0, _theming.withTheme)(Picker);
359
+
360
+ exports.default = _default;
@@ -27,7 +27,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
27
27
 
28
28
  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; }
29
29
 
30
+ 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); }
31
+
30
32
  const Picker = _ref => {
33
+ var _options$find$label, _options$find;
34
+
31
35
  let {
32
36
  style,
33
37
  options,
@@ -37,9 +41,6 @@ const Picker = _ref => {
37
41
  onValueChange: onValueChangeOverride = () => {},
38
42
  ...props
39
43
  } = _ref;
40
-
41
- var _a, _b;
42
-
43
44
  const {
44
45
  viewStyles: {
45
46
  borderRadius,
@@ -86,7 +87,7 @@ const Picker = _ref => {
86
87
  };
87
88
 
88
89
  const stylesWithoutMargin = style && (0, _lodash.default)(_reactNative.StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
89
- const selectedLabel = selectedValue && ((_b = (_a = options.find(o => o.value === selectedValue)) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : selectedValue);
90
+ const selectedLabel = selectedValue && ((_options$find$label = (_options$find = options.find(o => o.value === selectedValue)) === null || _options$find === void 0 ? void 0 : _options$find.label) !== null && _options$find$label !== void 0 ? _options$find$label : selectedValue);
90
91
  return /*#__PURE__*/React.createElement(_Touchable.default, {
91
92
  disabled: disabled,
92
93
  onPress: toggleFocus,
@@ -111,26 +112,6 @@ const Picker = _ref => {
111
112
  key: o.value
112
113
  }))), /*#__PURE__*/React.createElement(_reactNative.View, {
113
114
  pointerEvents: "none"
114
- }, /*#__PURE__*/React.createElement(_TextField.default, { ...props,
115
- value: selectedLabel,
116
- placeholder: placeholder,
117
- // @ts-ignore
118
- ref: textField,
119
- disabled: disabled,
120
- // @ts-expect-error
121
- style: stylesWithoutMargin
122
- }))));
123
- };
124
-
125
- const styles = _reactNative.StyleSheet.create({
126
- container: {
127
- alignSelf: "stretch"
128
- }
129
- });
130
-
131
- var _default = (0, _theming.withTheme)(Picker);
132
-
133
- exports.default = _default; pointerEvents: "none"
134
115
  }, /*#__PURE__*/React.createElement(_TextField.default, _extends({}, props, {
135
116
  value: selectedLabel,
136
117
  placeholder: placeholder // @ts-ignore
@@ -11,7 +11,15 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
11
11
 
12
12
  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; }
13
13
 
14
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
+
14
16
  class PortalConsumer extends React.Component {
17
+ constructor() {
18
+ super(...arguments);
19
+
20
+ _defineProperty(this, "key", void 0);
21
+ }
22
+
15
23
  async componentDidMount() {
16
24
  this.checkManager(); // Delay updating to prevent React from going to infinite loop
17
25
 
@@ -41,14 +49,4 @@ class PortalConsumer extends React.Component {
41
49
 
42
50
  }
43
51
 
44
- exports.default = PortalConsumer;er` component from `react-native-paper`.\n\n" + "Please read our getting-started guide and make sure you've followed all the required steps.\n\n" + "https://callstack.github.io/react-native-paper/getting-started.html");
45
- }
46
- }
47
-
48
- render() {
49
- return null;
50
- }
51
-
52
- }
53
-
54
52
  exports.default = PortalConsumer;
@@ -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 _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
+
20
22
  const PortalContext = /*#__PURE__*/React.createContext(null);
21
23
  /**
22
24
  * Portal host renders all of its children `Portal` elements.
@@ -49,11 +51,11 @@ class PortalHost extends React.Component {
49
51
  constructor() {
50
52
  super(...arguments);
51
53
 
52
- this.setManager = manager => {
54
+ _defineProperty(this, "setManager", manager => {
53
55
  this.manager = manager;
54
- };
56
+ });
55
57
 
56
- this.mount = children => {
58
+ _defineProperty(this, "mount", children => {
57
59
  const key = this.nextKey++;
58
60
 
59
61
  if (this.manager) {
@@ -67,9 +69,9 @@ class PortalHost extends React.Component {
67
69
  }
68
70
 
69
71
  return key;
70
- };
72
+ });
71
73
 
72
- this.update = (key, children) => {
74
+ _defineProperty(this, "update", (key, children) => {
73
75
  if (this.manager) {
74
76
  this.manager.update(key, children);
75
77
  } else {
@@ -87,9 +89,9 @@ class PortalHost extends React.Component {
87
89
  this.queue.push(op);
88
90
  }
89
91
  }
90
- };
92
+ });
91
93
 
92
- this.unmount = key => {
94
+ _defineProperty(this, "unmount", key => {
93
95
  if (this.manager) {
94
96
  this.manager.unmount(key);
95
97
  } else {
@@ -98,10 +100,13 @@ class PortalHost extends React.Component {
98
100
  key
99
101
  });
100
102
  }
101
- };
103
+ });
104
+
105
+ _defineProperty(this, "nextKey", 0);
106
+
107
+ _defineProperty(this, "queue", []);
102
108
 
103
- this.nextKey = 0;
104
- this.queue = [];
109
+ _defineProperty(this, "manager", void 0);
105
110
  }
106
111
 
107
112
  componentDidMount() {
@@ -147,23 +152,6 @@ class PortalHost extends React.Component {
147
152
 
148
153
  }
149
154
 
150
- exports.default = PortalHost;
151
- PortalHost.displayName = "Portal.Host";
152
-
153
- const styles = _reactNative.StyleSheet.create({
154
- container: {
155
- flex: 1
156
- }
157
- }); style: styles.container,
158
- collapsable: false,
159
- pointerEvents: "box-none"
160
- }, this.props.children), /*#__PURE__*/React.createElement(_PortalManager.default, {
161
- ref: this.setManager
162
- }));
163
- }
164
-
165
- }
166
-
167
155
  exports.default = PortalHost;
168
156
 
169
157
  _defineProperty(PortalHost, "displayName", "Portal.Host");