@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
@@ -13,26 +13,29 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
13
13
 
14
14
  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; }
15
15
 
16
+ 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; }
17
+
16
18
  /**
17
19
  * Portal host is the component which actually renders all Portals.
18
20
  */
19
21
  class PortalManager extends React.PureComponent {
20
22
  constructor() {
21
23
  super(...arguments);
22
- this.state = {
24
+
25
+ _defineProperty(this, "state", {
23
26
  portals: []
24
- };
27
+ });
25
28
 
26
- this.mount = (key, children) => {
29
+ _defineProperty(this, "mount", (key, children) => {
27
30
  this.setState(state => ({
28
31
  portals: [...state.portals, {
29
32
  key,
30
33
  children
31
34
  }]
32
35
  }));
33
- };
36
+ });
34
37
 
35
- this.update = (key, children) => this.setState(state => ({
38
+ _defineProperty(this, "update", (key, children) => this.setState(state => ({
36
39
  portals: state.portals.map(item => {
37
40
  if (item.key === key) {
38
41
  return { ...item,
@@ -42,11 +45,11 @@ class PortalManager extends React.PureComponent {
42
45
 
43
46
  return item;
44
47
  })
45
- }));
48
+ })));
46
49
 
47
- this.unmount = key => this.setState(state => ({
50
+ _defineProperty(this, "unmount", key => this.setState(state => ({
48
51
  portals: state.portals.filter(item => item.key !== key)
49
- }));
52
+ })));
50
53
  }
51
54
 
52
55
  render() {
@@ -68,15 +71,4 @@ class PortalManager extends React.PureComponent {
68
71
 
69
72
  }
70
73
 
71
- exports.default = PortalManager;le: false
72
- /* Need collapsable=false here to clip the elevations, otherwise they appear above sibling components */
73
- ,
74
- pointerEvents: "box-none",
75
- style: _reactNative.StyleSheet.absoluteFill
76
- }, children);
77
- });
78
- }
79
-
80
- }
81
-
82
74
  exports.default = PortalManager;
@@ -13,6 +13,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
13
13
 
14
14
  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; }
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
+
18
+ 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; }
19
+
16
20
  const INDETERMINATE_WIDTH_FACTOR = 0.3;
17
21
  const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_WIDTH_FACTOR);
18
22
 
@@ -20,7 +24,7 @@ class ProgressBar extends _react.Component {
20
24
  constructor(props) {
21
25
  super(props);
22
26
 
23
- this.handleLayout = event => {
27
+ _defineProperty(this, "handleLayout", event => {
24
28
  const {
25
29
  width = 150,
26
30
  onLayout
@@ -35,7 +39,7 @@ class ProgressBar extends _react.Component {
35
39
  if (onLayout) {
36
40
  onLayout(event);
37
41
  }
38
- };
42
+ });
39
43
 
40
44
  const {
41
45
  progress: progressP = 0,
@@ -89,6 +93,7 @@ class ProgressBar extends _react.Component {
89
93
  _reactNative.Animated[animationType](this.state.progress, { ...animationConfig,
90
94
  toValue: progress,
91
95
  velocity: 0,
96
+ //adjust this value if animation fails - velocity is required
92
97
  useNativeDriver
93
98
  }).start();
94
99
  } else {
@@ -160,27 +165,6 @@ class ProgressBar extends _react.Component {
160
165
  })
161
166
  }]
162
167
  };
163
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
164
- style: [containerStyle, style],
165
- onLayout: this.handleLayout,
166
- ...restProps
167
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
168
- style: progressStyle
169
- }), children);
170
- }
171
-
172
- }
173
-
174
- exports.default = ProgressBar;h / (_reactNative.I18nManager.isRTL ? 2 : -2), 0]
175
- })
176
- }, {
177
- // Interpolation a temp workaround for https://github.com/facebook/react-native/issues/6278
178
- scaleX: this.state.progress.interpolate({
179
- inputRange: [0, 1],
180
- outputRange: [0.0001, 1]
181
- })
182
- }]
183
- };
184
168
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, _extends({
185
169
  style: [containerStyle, style],
186
170
  onLayout: this.handleLayout
@@ -21,6 +21,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
23
 
24
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
+
24
26
  const RadioButton = _ref => {
25
27
  let {
26
28
  Icon,
@@ -49,20 +51,7 @@ const RadioButton = _ref => {
49
51
  onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realValue);
50
52
  };
51
53
 
52
- return /*#__PURE__*/React.createElement(_IconButton.default, {
53
- Icon: Icon,
54
- icon: isSelected ? selectedIcon : unselectedIcon,
55
- color: isSelected ? color : unselectedColor,
56
- disabled: disabled,
57
- onPress: handlePress,
58
- size: size,
59
- style: style,
60
- ...rest
61
- });
62
- };
63
-
64
- var _default = RadioButton;
65
- exports.default = _default;turn /*#__PURE__*/React.createElement(_IconButton.default, _extends({
54
+ return /*#__PURE__*/React.createElement(_IconButton.default, _extends({
66
55
  Icon: Icon,
67
56
  icon: isSelected ? selectedIcon : unselectedIcon,
68
57
  color: isSelected ? color : unselectedColor,
@@ -25,7 +25,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
25
25
 
26
26
  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; }
27
27
 
28
- var Direction;
28
+ 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); }
29
+
30
+ let Direction;
29
31
  exports.Direction = Direction;
30
32
 
31
33
  (function (Direction) {
@@ -88,14 +90,13 @@ const RadioButtonRow = _ref => {
88
90
  textStyles,
89
91
  viewStyles
90
92
  } = (0, _utilities.extractStyles)(style);
91
- return /*#__PURE__*/React.createElement(_Touchable.default, {
93
+ return /*#__PURE__*/React.createElement(_Touchable.default, _extends({
92
94
  onPress: handlePress,
93
95
  style: [styles.mainParent, {
94
96
  flexDirection: direction
95
97
  }, viewStyles],
96
- disabled: disabled,
97
- ...rest
98
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
98
+ disabled: disabled
99
+ }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
99
100
  style: [styles.label, {
100
101
  alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
101
102
  }, labelContainerStyle]
@@ -134,24 +135,5 @@ const styles = _reactNative.StyleSheet.create({
134
135
  }
135
136
  });
136
137
 
137
- var _default = RadioButtonRow;
138
- exports.default = _default; "center",
139
- justifyContent: "space-around",
140
- paddingStart: 20,
141
- minHeight: 50,
142
- paddingEnd: 20,
143
- display: "flex",
144
- ..._reactNative.Platform.select({
145
- web: {
146
- cursor: "pointer",
147
- userSelect: "none"
148
- }
149
- })
150
- },
151
- label: {
152
- flex: 3
153
- }
154
- });
155
-
156
138
  var _default = RadioButtonRow;
157
139
  exports.default = _default;
@@ -17,6 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
 
18
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
19
 
20
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
+
20
22
  function ScreenContainer(_ref) {
21
23
  let {
22
24
  scrollable = false,
@@ -39,13 +41,12 @@ function ScreenContainer(_ref) {
39
41
  edges.push("bottom");
40
42
  }
41
43
 
42
- return /*#__PURE__*/React.createElement(_reactNativeSafeAreaContext.SafeAreaView, {
44
+ return /*#__PURE__*/React.createElement(_reactNativeSafeAreaContext.SafeAreaView, _extends({
43
45
  edges: edges,
44
46
  style: [styles.container, {
45
47
  backgroundColor
46
- }],
47
- ...rest
48
- }, scrollable ? /*#__PURE__*/React.createElement(_reactNative.ScrollView, {
48
+ }]
49
+ }, rest), scrollable ? /*#__PURE__*/React.createElement(_reactNative.ScrollView, {
49
50
  contentContainerStyle: [styles.scrollViewContainer, {
50
51
  backgroundColor
51
52
  }, style]
@@ -68,23 +69,4 @@ const styles = _reactNative.StyleSheet.create({
68
69
 
69
70
  var _default = (0, _theming.withTheme)(ScreenContainer);
70
71
 
71
- exports.default = _default;reactNative.View, {
72
- style: [styles.container, {
73
- backgroundColor
74
- }, style]
75
- }, children));
76
- }
77
-
78
- const styles = _reactNative.StyleSheet.create({
79
- container: {
80
- flex: 1
81
- },
82
- scrollViewContainer: {
83
- flexGrow: 1,
84
- flex: undefined
85
- }
86
- });
87
-
88
- var _default = (0, _theming.withTheme)(ScreenContainer);
89
-
90
72
  exports.default = _default;
@@ -23,6 +23,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
23
23
 
24
24
  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; }
25
25
 
26
+ 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); }
27
+
26
28
  function maybeParseValue(value) {
27
29
  if (value === undefined) {
28
30
  return undefined;
@@ -89,10 +91,9 @@ function Slider(_ref) {
89
91
  onValueChange(newValue);
90
92
  };
91
93
 
92
- return /*#__PURE__*/React.createElement(_reactNative.View, {
93
- style: [styles.container, style],
94
- ...rest
95
- }, leftIcon ? /*#__PURE__*/React.createElement(Icon, {
94
+ return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
95
+ style: [styles.container, style]
96
+ }, rest), leftIcon ? /*#__PURE__*/React.createElement(Icon, {
96
97
  color: leftIconThemeColor,
97
98
  name: leftIcon,
98
99
  size: 24
@@ -128,24 +129,4 @@ const styles = _reactNative.StyleSheet.create({
128
129
 
129
130
  var _default = (0, _theming.withTheme)(Slider);
130
131
 
131
- exports.default = _default;: rightIconThemeColor,
132
- name: rightIcon,
133
- size: 24
134
- }) : null);
135
- }
136
-
137
- const styles = _reactNative.StyleSheet.create({
138
- container: {
139
- height: 40,
140
- flexDirection: "row",
141
- alignItems: "center"
142
- },
143
- slider: {
144
- flex: 1,
145
- marginHorizontal: 12
146
- }
147
- });
148
-
149
- var _default = (0, _theming.withTheme)(Slider);
150
-
151
132
  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 StarRating = _ref => {
19
21
  let {
20
22
  Icon,
@@ -45,10 +47,9 @@ const StarRating = _ref => {
45
47
  !!onPress && onPress(r);
46
48
  }, [onPress]);
47
49
  const ratingRounded = Math.round(localRating * 2) / 2;
48
- return /*#__PURE__*/React.createElement(_reactNative.View, {
49
- style: [styles.container, style],
50
- ...rest
51
- }, [...Array(maxStars)].map((_, i) => /*#__PURE__*/React.createElement(_reactNative.View, {
50
+ return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
51
+ style: [styles.container, style]
52
+ }, rest), [...Array(maxStars)].map((_, i) => /*#__PURE__*/React.createElement(_reactNative.View, {
52
53
  key: i,
53
54
  style: {
54
55
  display: "flex"
@@ -92,25 +93,4 @@ const styles = _reactNative.StyleSheet.create({
92
93
 
93
94
  var _default = (0, _theming.withTheme)(StarRating);
94
95
 
95
- exports.default = _default;ignItems: "center"
96
- },
97
- touchContainer: {
98
- display: "flex",
99
- flexDirection: "row",
100
- position: "absolute",
101
- top: 0,
102
- right: 0,
103
- left: 0,
104
- bottom: 0,
105
- zIndex: 1
106
- },
107
- pressable: {
108
- flex: 1,
109
- height: "100%",
110
- width: "50%"
111
- }
112
- });
113
-
114
- var _default = (0, _theming.withTheme)(StarRating);
115
-
116
96
  exports.default = _default;
@@ -13,7 +13,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
13
13
 
14
14
  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; }
15
15
 
16
- // @ts-nocheck
16
+ 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; }
17
+
17
18
  const STEP_STATUS = {
18
19
  CURRENT: "current",
19
20
  FINISHED: "finished",
@@ -24,7 +25,7 @@ class StepIndicator extends _react.Component {
24
25
  constructor(props) {
25
26
  super(props);
26
27
 
27
- this.renderProgressBarBackground = () => {
28
+ _defineProperty(this, "renderProgressBarBackground", () => {
28
29
  const {
29
30
  stepCount,
30
31
  direction
@@ -69,9 +70,9 @@ class StepIndicator extends _react.Component {
69
70
  },
70
71
  style: progressBarBackgroundStyle
71
72
  });
72
- };
73
+ });
73
74
 
74
- this.renderProgressBar = () => {
75
+ _defineProperty(this, "renderProgressBar", () => {
75
76
  const {
76
77
  stepCount,
77
78
  direction
@@ -103,9 +104,9 @@ class StepIndicator extends _react.Component {
103
104
  return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
104
105
  style: progressBarStyle
105
106
  });
106
- };
107
+ });
107
108
 
108
- this.renderStepIndicator = () => {
109
+ _defineProperty(this, "renderStepIndicator", () => {
109
110
  let steps = [];
110
111
  const {
111
112
  stepCount,
@@ -138,9 +139,9 @@ class StepIndicator extends _react.Component {
138
139
  height: this.state.customStyles.currentStepIndicatorSize
139
140
  }]
140
141
  }, steps);
141
- };
142
+ });
142
143
 
143
- this.renderStepLabels = () => {
144
+ _defineProperty(this, "renderStepLabels", () => {
144
145
  const {
145
146
  labels,
146
147
  direction,
@@ -182,9 +183,9 @@ class StepIndicator extends _react.Component {
182
183
  alignItems: this.state.customStyles.labelAlign
183
184
  }]
184
185
  }, labelViews);
185
- };
186
+ });
186
187
 
187
- this.renderStep = position => {
188
+ _defineProperty(this, "renderStep", position => {
188
189
  const {
189
190
  renderStepIndicator
190
191
  } = this.props;
@@ -256,9 +257,9 @@ class StepIndicator extends _react.Component {
256
257
  }) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
257
258
  style: indicatorLabelStyle
258
259
  }, "".concat(position + 1)));
259
- };
260
+ });
260
261
 
261
- this.getStepStatus = stepPosition => {
262
+ _defineProperty(this, "getStepStatus", stepPosition => {
262
263
  const {
263
264
  currentPosition
264
265
  } = this.props;
@@ -270,9 +271,9 @@ class StepIndicator extends _react.Component {
270
271
  } else {
271
272
  return STEP_STATUS.UNFINISHED;
272
273
  }
273
- };
274
+ });
274
275
 
275
- this.onCurrentPositionChanged = position => {
276
+ _defineProperty(this, "onCurrentPositionChanged", position => {
276
277
  let {
277
278
  stepCount
278
279
  } = this.props;
@@ -295,7 +296,7 @@ class StepIndicator extends _react.Component {
295
296
  toValue: this.state.customStyles.currentStepIndicatorSize / 2,
296
297
  duration: 100
297
298
  })])]).start();
298
- };
299
+ });
299
300
 
300
301
  const defaultStyles = {
301
302
  stepIndicatorSize: 30,
@@ -410,25 +411,6 @@ const styles = _reactNative.StyleSheet.create({
410
411
  }
411
412
  });
412
413
 
413
- StepIndicator.defaultProps = {
414
- currentPosition: 0,
415
- stepCount: 5,
416
- customStyles: {},
417
- direction: "horizontal"
418
- }; justifyContent: "center"
419
- },
420
- stepLabel: {
421
- fontSize: 12,
422
- textAlign: "center",
423
- fontWeight: "500"
424
- },
425
- stepLabelItem: {
426
- flex: 1,
427
- alignItems: "center",
428
- justifyContent: "center"
429
- }
430
- });
431
-
432
414
  StepIndicator.defaultProps = {
433
415
  currentPosition: 0,
434
416
  stepCount: 5,
@@ -15,6 +15,8 @@ var _theming = require("../theming");
15
15
 
16
16
  var _IconButton = _interopRequireDefault(require("./IconButton"));
17
17
 
18
+ var _utilities = require("../utilities");
19
+
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
21
 
20
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -28,7 +30,6 @@ const Stepper = _ref => {
28
30
  value: valueProp,
29
31
  defaultValue,
30
32
  style,
31
- typeStyle,
32
33
  iconSize = 24,
33
34
  iconColor,
34
35
  onChange,
@@ -38,6 +39,10 @@ const Stepper = _ref => {
38
39
  },
39
40
  Icon
40
41
  } = _ref;
42
+ const {
43
+ viewStyles,
44
+ textStyles
45
+ } = (0, _utilities.extractStyles)(style);
41
46
  const [value, setValue] = (0, _react.useState)(defaultValue !== null && defaultValue !== void 0 ? defaultValue : 0);
42
47
 
43
48
  const isValidValue = valueArg => valueArg >= min && valueArg <= max;
@@ -60,7 +65,7 @@ const Stepper = _ref => {
60
65
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
61
66
  style: [{
62
67
  flexDirection: "row"
63
- }, style]
68
+ }, viewStyles]
64
69
  }, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
65
70
  Icon: Icon,
66
71
  icon: "MaterialIcons/remove",
@@ -77,7 +82,7 @@ const Stepper = _ref => {
77
82
  alignSelf: "center",
78
83
  color: colors.medium,
79
84
  marginHorizontal: 8
80
- }, typeStyle]
85
+ }, textStyles]
81
86
  }, value), /*#__PURE__*/_react.default.createElement(_IconButton.default, {
82
87
  Icon: Icon,
83
88
  icon: "MaterialIcons/add",
@@ -21,7 +21,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
23
 
24
- /* Copied from https://github.com/callstack/react-native-paper/blob/main/src/components/Surface.tsx */
24
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
+
25
26
  const Surface = _ref => {
26
27
  let {
27
28
  elevation: propElevation,
@@ -53,19 +54,7 @@ const Surface = _ref => {
53
54
  }
54
55
  };
55
56
 
56
- return /*#__PURE__*/React.createElement(_reactNative.Animated.View, { ...rest,
57
- style: [{
58
- backgroundColor: getBackgroundColor(),
59
- elevation,
60
- ...evalationStyles,
61
- ...restStyle
62
- }]
63
- }, children);
64
- };
65
-
66
- var _default = (0, _theming.withTheme)(Surface);
67
-
68
- exports.default = _default;, _extends({}, rest, {
57
+ return /*#__PURE__*/React.createElement(_reactNative.Animated.View, _extends({}, rest, {
69
58
  style: [{
70
59
  backgroundColor: getBackgroundColor(),
71
60
  elevation,
@@ -15,9 +15,23 @@ 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
+
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
+
18
22
  class Text extends React.Component {
23
+ constructor() {
24
+ super(...arguments);
25
+
26
+ _defineProperty(this, "_root", void 0);
27
+
28
+ _defineProperty(this, "state", {
29
+ nativeProps: {}
30
+ });
31
+ }
32
+
19
33
  setNativeProps(args) {
20
- return this._root && this._root.setNativeProps(args);
34
+ this.state.nativeProps = args || {};
21
35
  }
22
36
 
23
37
  render() {
@@ -26,43 +40,7 @@ class Text extends React.Component {
26
40
  ...rest
27
41
  } = this.props;
28
42
  const writingDirection = _reactNative.I18nManager.isRTL ? "rtl" : "ltr";
29
- return /*#__PURE__*/React.createElement(_reactNative.Text, { ...rest,
30
- ref: c => {
31
- this._root = c;
32
- },
33
- style: [{
34
- textAlign: "left",
35
- writingDirection
36
- }, style]
37
- });
38
- }
39
-
40
- }
41
-
42
- const BaseLink = _ref => {
43
- let {
44
- style,
45
- theme,
46
- title,
47
- ...props
48
- } = _ref;
49
- return /*#__PURE__*/React.createElement(Text, {
50
- hitSlop: 8,
51
- style: [{
52
- color: theme.colors.primary
53
- }, style],
54
- theme: theme,
55
- ...props
56
- }, title);
57
- };
58
-
59
- exports.BaseLink = BaseLink;
60
- const Link = (0, _theming.withTheme)(BaseLink);
61
- exports.Link = Link;
62
-
63
- var _default = (0, _theming.withTheme)(Text);
64
-
65
- exports.default = _default;/React.createElement(_reactNative.Text, _extends({}, rest, {
43
+ return /*#__PURE__*/React.createElement(_reactNative.Text, _extends({}, rest, this.state.nativeProps, {
66
44
  ref: c => {
67
45
  this._root = c;
68
46
  },