@draftbit/core 46.4.4-dc9728.2 → 46.4.4-e5ebcf.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 (435) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +25 -5
  2. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +18 -3
  3. package/lib/commonjs/components/Checkbox/CheckboxRow.js +24 -6
  4. package/lib/commonjs/components/Checkbox/context.js +1 -1
  5. package/lib/commonjs/components/CircleImage.js +16 -2
  6. package/lib/commonjs/components/CircularProgress.js +15 -7
  7. package/lib/commonjs/components/DatePicker/DatePicker.js +8 -18
  8. package/lib/commonjs/components/DeprecatedButton.js +22 -4
  9. package/lib/commonjs/components/DeprecatedCardWrapper.js +17 -2
  10. package/lib/commonjs/components/DeprecatedFAB.js +22 -4
  11. package/lib/commonjs/components/Divider.js +16 -2
  12. package/lib/commonjs/components/Elevation.js +15 -3
  13. package/lib/commonjs/components/FAB.js +20 -5
  14. package/lib/commonjs/components/FormRow.js +17 -3
  15. package/lib/commonjs/components/IconButton.js +22 -5
  16. package/lib/commonjs/components/Image.js +16 -3
  17. package/lib/commonjs/components/Layout.js +40 -19
  18. package/lib/commonjs/components/NumberInput.js +13 -2
  19. package/lib/commonjs/components/Picker/Picker.js +5 -5
  20. package/lib/commonjs/components/Picker/PickerComponent.ios.js +42 -13
  21. package/lib/commonjs/components/Picker/PickerComponent.web.js +24 -5
  22. package/lib/commonjs/components/Portal/PortalHost.js +27 -15
  23. package/lib/commonjs/components/ProgressBar.js +23 -7
  24. package/lib/commonjs/components/RadioButton/RadioButton.js +14 -3
  25. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +11 -2
  26. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +24 -6
  27. package/lib/commonjs/components/ScreenContainer.js +23 -5
  28. package/lib/commonjs/components/Slider.js +24 -5
  29. package/lib/commonjs/components/StarRating.js +25 -5
  30. package/lib/commonjs/components/StepIndicator.js +34 -16
  31. package/lib/commonjs/components/Stepper.js +8 -3
  32. package/lib/commonjs/components/Surface.js +14 -3
  33. package/lib/commonjs/components/Switch.js +23 -10
  34. package/lib/commonjs/components/Text.js +42 -8
  35. package/lib/commonjs/components/TextField.js +68 -31
  36. package/lib/commonjs/components/ToggleButton.js +18 -3
  37. package/lib/commonjs/components/Touchable.js +16 -2
  38. package/lib/commonjs/mappings/AudioPlayer.js +32 -2
  39. package/lib/commonjs/mappings/DatePicker.js +0 -13
  40. package/lib/commonjs/mappings/Stepper.js +1 -1
  41. package/lib/commonjs/mappings/TextArea.js +14 -3
  42. package/lib/commonjs/mappings/TextField.js +15 -5
  43. package/lib/commonjs/mappings/TextInput.js +15 -4
  44. package/lib/module/components/DatePicker/DatePicker.js +8 -17
  45. package/lib/module/components/Picker/Picker.js +2 -2
  46. package/lib/module/components/Stepper.js +7 -3
  47. package/lib/module/components/Text.js +6 -2
  48. package/lib/module/components/TextField.js +5 -1
  49. package/lib/module/mappings/AudioPlayer.js +33 -3
  50. package/lib/module/mappings/DatePicker.js +1 -14
  51. package/lib/module/mappings/Stepper.js +2 -2
  52. package/lib/module/mappings/TextArea.js +15 -4
  53. package/lib/module/mappings/TextField.js +15 -5
  54. package/lib/module/mappings/TextInput.js +16 -5
  55. package/lib/typescript/src/Provider.d.ts +1 -0
  56. package/lib/typescript/src/Provider.d.ts.map +1 -0
  57. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +1 -0
  58. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
  59. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +1 -0
  60. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
  61. package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
  62. package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
  63. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
  64. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
  65. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +1 -0
  66. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
  67. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +1 -0
  68. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
  69. package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
  70. package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
  71. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +1 -0
  72. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +1 -0
  73. package/lib/typescript/src/components/AspectRatio.d.ts +1 -0
  74. package/lib/typescript/src/components/AspectRatio.d.ts.map +1 -0
  75. package/lib/typescript/src/components/AvatarEdit.d.ts +1 -0
  76. package/lib/typescript/src/components/AvatarEdit.d.ts.map +1 -0
  77. package/lib/typescript/src/components/Banner.d.ts +1 -0
  78. package/lib/typescript/src/components/Banner.d.ts.map +1 -0
  79. package/lib/typescript/src/components/Button.d.ts +1 -0
  80. package/lib/typescript/src/components/Button.d.ts.map +1 -0
  81. package/lib/typescript/src/components/Card.d.ts +1 -0
  82. package/lib/typescript/src/components/Card.d.ts.map +1 -0
  83. package/lib/typescript/src/components/CardBlock.d.ts +1 -0
  84. package/lib/typescript/src/components/CardBlock.d.ts.map +1 -0
  85. package/lib/typescript/src/components/CardContainer.d.ts +1 -0
  86. package/lib/typescript/src/components/CardContainer.d.ts.map +1 -0
  87. package/lib/typescript/src/components/CardContainerRating.d.ts +1 -0
  88. package/lib/typescript/src/components/CardContainerRating.d.ts.map +1 -0
  89. package/lib/typescript/src/components/CardContainerShortImage.d.ts +1 -0
  90. package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +1 -0
  91. package/lib/typescript/src/components/CardInline.d.ts +1 -0
  92. package/lib/typescript/src/components/CardInline.d.ts.map +1 -0
  93. package/lib/typescript/src/components/Carousel.d.ts +1 -0
  94. package/lib/typescript/src/components/Carousel.d.ts.map +1 -0
  95. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
  96. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  97. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
  98. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  99. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
  100. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
  101. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
  102. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
  103. package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
  104. package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
  105. package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
  106. package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  107. package/lib/typescript/src/components/CircleImage.d.ts +1 -0
  108. package/lib/typescript/src/components/CircleImage.d.ts.map +1 -0
  109. package/lib/typescript/src/components/CircularProgress.d.ts +1 -0
  110. package/lib/typescript/src/components/CircularProgress.d.ts.map +1 -0
  111. package/lib/typescript/src/components/Config.d.ts +1 -0
  112. package/lib/typescript/src/components/Config.d.ts.map +1 -0
  113. package/lib/typescript/src/components/Container.d.ts +1 -0
  114. package/lib/typescript/src/components/Container.d.ts.map +1 -0
  115. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +1 -4
  116. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
  117. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
  118. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
  119. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +1 -0
  120. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +1 -0
  121. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +1 -0
  122. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
  123. package/lib/typescript/src/components/DeprecatedButton.d.ts +1 -0
  124. package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
  125. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +1 -0
  126. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +1 -0
  127. package/lib/typescript/src/components/DeprecatedFAB.d.ts +1 -0
  128. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +1 -0
  129. package/lib/typescript/src/components/Divider.d.ts +1 -0
  130. package/lib/typescript/src/components/Divider.d.ts.map +1 -0
  131. package/lib/typescript/src/components/Elevation.d.ts +1 -0
  132. package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
  133. package/lib/typescript/src/components/FAB.d.ts +1 -0
  134. package/lib/typescript/src/components/FAB.d.ts.map +1 -0
  135. package/lib/typescript/src/components/FieldSearchBarFull.d.ts +1 -0
  136. package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +1 -0
  137. package/lib/typescript/src/components/FormRow.d.ts +1 -0
  138. package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
  139. package/lib/typescript/src/components/Header.d.ts +1 -0
  140. package/lib/typescript/src/components/Header.d.ts.map +1 -0
  141. package/lib/typescript/src/components/HeaderLarge.d.ts +1 -0
  142. package/lib/typescript/src/components/HeaderLarge.d.ts.map +1 -0
  143. package/lib/typescript/src/components/HeaderMedium.d.ts +1 -0
  144. package/lib/typescript/src/components/HeaderMedium.d.ts.map +1 -0
  145. package/lib/typescript/src/components/HeaderOverline.d.ts +1 -0
  146. package/lib/typescript/src/components/HeaderOverline.d.ts.map +1 -0
  147. package/lib/typescript/src/components/IconButton.d.ts +1 -0
  148. package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
  149. package/lib/typescript/src/components/Image.d.ts +1 -0
  150. package/lib/typescript/src/components/Image.d.ts.map +1 -0
  151. package/lib/typescript/src/components/Justification.d.ts +1 -0
  152. package/lib/typescript/src/components/Justification.d.ts.map +1 -0
  153. package/lib/typescript/src/components/Layout.d.ts +1 -0
  154. package/lib/typescript/src/components/Layout.d.ts.map +1 -0
  155. package/lib/typescript/src/components/NumberInput.d.ts +1 -0
  156. package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
  157. package/lib/typescript/src/components/Picker/Picker.d.ts +1 -0
  158. package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
  159. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
  160. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
  161. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
  162. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
  163. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
  164. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
  165. package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
  166. package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
  167. package/lib/typescript/src/components/Portal/Portal.d.ts +1 -0
  168. package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  169. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +1 -0
  170. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  171. package/lib/typescript/src/components/Portal/PortalHost.d.ts +1 -0
  172. package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  173. package/lib/typescript/src/components/Portal/PortalManager.d.ts +1 -0
  174. package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  175. package/lib/typescript/src/components/ProgressBar.d.ts +1 -0
  176. package/lib/typescript/src/components/ProgressBar.d.ts.map +1 -0
  177. package/lib/typescript/src/components/ProgressCircle.d.ts +1 -0
  178. package/lib/typescript/src/components/ProgressCircle.d.ts.map +1 -0
  179. package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -0
  180. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +1 -0
  181. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +1 -0
  182. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
  183. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
  184. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
  185. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
  186. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
  187. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
  188. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
  189. package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
  190. package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
  191. package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
  192. package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
  193. package/lib/typescript/src/components/ResizeMode.d.ts +1 -0
  194. package/lib/typescript/src/components/ResizeMode.d.ts.map +1 -0
  195. package/lib/typescript/src/components/Row.d.ts +1 -0
  196. package/lib/typescript/src/components/Row.d.ts.map +1 -0
  197. package/lib/typescript/src/components/RowBodyIcon.d.ts +1 -0
  198. package/lib/typescript/src/components/RowBodyIcon.d.ts.map +1 -0
  199. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +1 -0
  200. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +1 -0
  201. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +1 -0
  202. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +1 -0
  203. package/lib/typescript/src/components/SVG.d.ts +1 -0
  204. package/lib/typescript/src/components/SVG.d.ts.map +1 -0
  205. package/lib/typescript/src/components/ScreenContainer.d.ts +1 -0
  206. package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
  207. package/lib/typescript/src/components/Slider.d.ts +1 -0
  208. package/lib/typescript/src/components/Slider.d.ts.map +1 -0
  209. package/lib/typescript/src/components/StarRating.d.ts +1 -0
  210. package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
  211. package/lib/typescript/src/components/StepIndicator.d.ts +1 -0
  212. package/lib/typescript/src/components/StepIndicator.d.ts.map +1 -0
  213. package/lib/typescript/src/components/Stepper.d.ts +2 -2
  214. package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
  215. package/lib/typescript/src/components/Surface.d.ts +1 -0
  216. package/lib/typescript/src/components/Surface.d.ts.map +1 -0
  217. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
  218. package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
  219. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
  220. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
  221. package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
  222. package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
  223. package/lib/typescript/src/components/Switch.d.ts +1 -0
  224. package/lib/typescript/src/components/Switch.d.ts.map +1 -0
  225. package/lib/typescript/src/components/Text.d.ts +3 -1
  226. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  227. package/lib/typescript/src/components/TextField.d.ts +3 -1
  228. package/lib/typescript/src/components/TextField.d.ts.map +1 -0
  229. package/lib/typescript/src/components/ToggleButton.d.ts +1 -0
  230. package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -0
  231. package/lib/typescript/src/components/Touchable.d.ts +1 -0
  232. package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
  233. package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
  234. package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
  235. package/lib/typescript/src/components/Typography.d.ts +1 -0
  236. package/lib/typescript/src/components/Typography.d.ts.map +1 -0
  237. package/lib/typescript/src/components/useAuthState.d.ts +1 -0
  238. package/lib/typescript/src/components/useAuthState.d.ts.map +1 -0
  239. package/lib/typescript/src/constants.d.ts +1 -0
  240. package/lib/typescript/src/constants.d.ts.map +1 -0
  241. package/lib/typescript/src/hooks.d.ts +1 -0
  242. package/lib/typescript/src/hooks.d.ts.map +1 -0
  243. package/lib/typescript/src/index.d.ts +1 -0
  244. package/lib/typescript/src/index.d.ts.map +1 -0
  245. package/lib/typescript/src/interfaces/Icon.d.ts +1 -0
  246. package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
  247. package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
  248. package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
  249. package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
  250. package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
  251. package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
  252. package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
  253. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
  254. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
  255. package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
  256. package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
  257. package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
  258. package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
  259. package/lib/typescript/src/mappings/AudioPlayer.d.ts +63 -1
  260. package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
  261. package/lib/typescript/src/mappings/AvatarEdit.d.ts +1 -0
  262. package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +1 -0
  263. package/lib/typescript/src/mappings/Banner.d.ts +1 -0
  264. package/lib/typescript/src/mappings/Banner.d.ts.map +1 -0
  265. package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
  266. package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
  267. package/lib/typescript/src/mappings/Button.d.ts +1 -0
  268. package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
  269. package/lib/typescript/src/mappings/Card.d.ts +1 -0
  270. package/lib/typescript/src/mappings/Card.d.ts.map +1 -0
  271. package/lib/typescript/src/mappings/CardBlock.d.ts +1 -0
  272. package/lib/typescript/src/mappings/CardBlock.d.ts.map +1 -0
  273. package/lib/typescript/src/mappings/CardContainer.d.ts +1 -0
  274. package/lib/typescript/src/mappings/CardContainer.d.ts.map +1 -0
  275. package/lib/typescript/src/mappings/CardContainerRating.d.ts +1 -0
  276. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +1 -0
  277. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +1 -0
  278. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +1 -0
  279. package/lib/typescript/src/mappings/CardInline.d.ts +1 -0
  280. package/lib/typescript/src/mappings/CardInline.d.ts.map +1 -0
  281. package/lib/typescript/src/mappings/Carousel.d.ts +1 -0
  282. package/lib/typescript/src/mappings/Carousel.d.ts.map +1 -0
  283. package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
  284. package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
  285. package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
  286. package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
  287. package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
  288. package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
  289. package/lib/typescript/src/mappings/CircleImage.d.ts +1 -0
  290. package/lib/typescript/src/mappings/CircleImage.d.ts.map +1 -0
  291. package/lib/typescript/src/mappings/Container.d.ts +1 -0
  292. package/lib/typescript/src/mappings/Container.d.ts.map +1 -0
  293. package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
  294. package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
  295. package/lib/typescript/src/mappings/DatePicker.d.ts +1 -42
  296. package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
  297. package/lib/typescript/src/mappings/Divider.d.ts +1 -0
  298. package/lib/typescript/src/mappings/Divider.d.ts.map +1 -0
  299. package/lib/typescript/src/mappings/FAB.d.ts +1 -0
  300. package/lib/typescript/src/mappings/FAB.d.ts.map +1 -0
  301. package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
  302. package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
  303. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +1 -0
  304. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +1 -0
  305. package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
  306. package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
  307. package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
  308. package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
  309. package/lib/typescript/src/mappings/HeaderLarge.d.ts +1 -0
  310. package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +1 -0
  311. package/lib/typescript/src/mappings/HeaderMedium.d.ts +1 -0
  312. package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +1 -0
  313. package/lib/typescript/src/mappings/HeaderOverline.d.ts +1 -0
  314. package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +1 -0
  315. package/lib/typescript/src/mappings/Icon.d.ts +1 -0
  316. package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
  317. package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
  318. package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
  319. package/lib/typescript/src/mappings/Image.d.ts +1 -0
  320. package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
  321. package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
  322. package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
  323. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
  324. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
  325. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
  326. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
  327. package/lib/typescript/src/mappings/Layout.d.ts +1 -0
  328. package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
  329. package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
  330. package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
  331. package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
  332. package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
  333. package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
  334. package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
  335. package/lib/typescript/src/mappings/MapView.d.ts +1 -0
  336. package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
  337. package/lib/typescript/src/mappings/Modal.d.ts +1 -0
  338. package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
  339. package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
  340. package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
  341. package/lib/typescript/src/mappings/Picker.d.ts +1 -0
  342. package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
  343. package/lib/typescript/src/mappings/ProgressBar.d.ts +1 -0
  344. package/lib/typescript/src/mappings/ProgressBar.d.ts.map +1 -0
  345. package/lib/typescript/src/mappings/ProgressCircle.d.ts +1 -0
  346. package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +1 -0
  347. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +1 -0
  348. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +1 -0
  349. package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
  350. package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
  351. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
  352. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
  353. package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
  354. package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
  355. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +1 -0
  356. package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +1 -0
  357. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +1 -0
  358. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +1 -0
  359. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +1 -0
  360. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +1 -0
  361. package/lib/typescript/src/mappings/SVG.d.ts +1 -0
  362. package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
  363. package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
  364. package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
  365. package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
  366. package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
  367. package/lib/typescript/src/mappings/Slider.d.ts +1 -0
  368. package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
  369. package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
  370. package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
  371. package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
  372. package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
  373. package/lib/typescript/src/mappings/Surface.d.ts +1 -0
  374. package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
  375. package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
  376. package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
  377. package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
  378. package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
  379. package/lib/typescript/src/mappings/Switch.d.ts +1 -0
  380. package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
  381. package/lib/typescript/src/mappings/Text.d.ts +1 -0
  382. package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
  383. package/lib/typescript/src/mappings/TextArea.d.ts +22 -1
  384. package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
  385. package/lib/typescript/src/mappings/TextField.d.ts +25 -4
  386. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
  387. package/lib/typescript/src/mappings/TextInput.d.ts +23 -2
  388. package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
  389. package/lib/typescript/src/mappings/ToggleButton.d.ts +1 -0
  390. package/lib/typescript/src/mappings/ToggleButton.d.ts.map +1 -0
  391. package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
  392. package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
  393. package/lib/typescript/src/mappings/Video.d.ts +1 -0
  394. package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
  395. package/lib/typescript/src/mappings/View.d.ts +1 -0
  396. package/lib/typescript/src/mappings/View.d.ts.map +1 -0
  397. package/lib/typescript/src/mappings/WebView.d.ts +1 -0
  398. package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
  399. package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
  400. package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
  401. package/lib/typescript/src/styles/DefaultTheme.d.ts +1 -0
  402. package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
  403. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  404. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  405. package/lib/typescript/src/styles/overlay.d.ts +1 -0
  406. package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
  407. package/lib/typescript/src/styles/shadow.d.ts +1 -0
  408. package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
  409. package/lib/typescript/src/theming.d.ts +1 -0
  410. package/lib/typescript/src/theming.d.ts.map +1 -0
  411. package/lib/typescript/src/utilities.d.ts +1 -0
  412. package/lib/typescript/src/utilities.d.ts.map +1 -0
  413. package/package.json +15 -5
  414. package/src/components/DatePicker/DatePicker.js +8 -14
  415. package/src/components/DatePicker/DatePicker.tsx +7 -23
  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 +39 -2
  425. package/src/mappings/AudioPlayer.ts +41 -1
  426. package/src/mappings/DatePicker.js +1 -21
  427. package/src/mappings/DatePicker.ts +0 -23
  428. package/src/mappings/Stepper.js +5 -2
  429. package/src/mappings/Stepper.ts +5 -1
  430. package/src/mappings/TextArea.js +15 -4
  431. package/src/mappings/TextArea.ts +15 -3
  432. package/src/mappings/TextField.js +15 -5
  433. package/src/mappings/TextField.ts +15 -5
  434. package/src/mappings/TextInput.js +16 -5
  435. package/src/mappings/TextInput.ts +16 -4
@@ -21,8 +21,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
23
 
24
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
-
26
24
  const AccordionItem = _ref => {
27
25
  let {
28
26
  Icon,
@@ -37,9 +35,10 @@ const AccordionItem = _ref => {
37
35
  textStyles,
38
36
  viewStyles
39
37
  } = (0, _utilities.extractStyles)(style);
40
- return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
41
- style: [styles.container, viewStyles]
42
- }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
38
+ return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
39
+ style: [styles.container, viewStyles],
40
+ ...rest
41
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
43
42
  style: styles.row
44
43
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
45
44
  name: icon,
@@ -74,4 +73,25 @@ const styles = _reactNative.StyleSheet.create({
74
73
 
75
74
  var _default = (0, _theming.withTheme)(AccordionItem);
76
75
 
76
+ exports.default = _default;StyleSheet.create({
77
+ container: {
78
+ padding: 8
79
+ },
80
+ row: {
81
+ flexDirection: "row",
82
+ alignItems: "center",
83
+ paddingLeft: 8
84
+ },
85
+ item: {
86
+ marginVertical: 6,
87
+ paddingLeft: 8
88
+ },
89
+ content: {
90
+ flex: 1,
91
+ justifyContent: "center"
92
+ }
93
+ });
94
+
95
+ var _default = (0, _theming.withTheme)(AccordionItem);
96
+
77
97
  exports.default = _default;
@@ -15,8 +15,6 @@ 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
18
  const {
21
19
  Provider
22
20
  } = _context.checkboxGroupContext;
@@ -41,7 +39,24 @@ const CheckboxGroup = _ref => {
41
39
  });
42
40
  }
43
41
 
44
- return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
42
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
43
+ style: [{
44
+ minHeight: 40
45
+ }, style],
46
+ ...rest
47
+ }, /*#__PURE__*/React.createElement(Provider, {
48
+ value: {
49
+ values,
50
+ onValueChange,
51
+ direction
52
+ }
53
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
54
+ style: _containerStyle
55
+ }, children)));
56
+ };
57
+
58
+ var _default = CheckboxGroup;
59
+ exports.default = _default;s({
45
60
  style: [{
46
61
  minHeight: 40
47
62
  }, style]
@@ -27,9 +27,7 @@ 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
-
32
- let Direction;
30
+ var Direction;
33
31
  exports.Direction = Direction;
34
32
 
35
33
  (function (Direction) {
@@ -102,13 +100,14 @@ const CheckboxRow = _ref => {
102
100
  textStyles,
103
101
  viewStyles
104
102
  } = (0, _utilities.extractStyles)(style);
105
- return /*#__PURE__*/React.createElement(_Touchable.default, _extends({
103
+ return /*#__PURE__*/React.createElement(_Touchable.default, {
106
104
  onPress: handlePress,
107
105
  style: [viewStyles, styles.mainParent, {
108
106
  flexDirection: direction
109
107
  }],
110
- disabled: disabled
111
- }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
108
+ disabled: disabled,
109
+ ...rest
110
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
112
111
  style: [styles.label, {
113
112
  alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
114
113
  }, labelContainerStyle]
@@ -146,5 +145,24 @@ const styles = _reactNative.StyleSheet.create({
146
145
  }
147
146
  });
148
147
 
148
+ var _default = CheckboxRow;
149
+ exports.default = _default;ms: "center",
150
+ justifyContent: "space-around",
151
+ paddingStart: 20,
152
+ minHeight: 50,
153
+ paddingEnd: 20,
154
+ display: "flex",
155
+ ..._reactNative.Platform.select({
156
+ web: {
157
+ cursor: "pointer",
158
+ userSelect: "none"
159
+ }
160
+ })
161
+ },
162
+ label: {
163
+ flex: 3
164
+ }
165
+ });
166
+
149
167
  var _default = CheckboxRow;
150
168
  exports.default = _default;
@@ -8,7 +8,7 @@ exports.useCheckboxGroupContext = useCheckboxGroupContext;
8
8
 
9
9
  var _react = require("react");
10
10
 
11
- let Direction;
11
+ var Direction;
12
12
  exports.Direction = Direction;
13
13
 
14
14
  (function (Direction) {
@@ -17,8 +17,6 @@ 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
-
22
20
  const CircleImage = _ref => {
23
21
  let {
24
22
  source = _Config.default.placeholderImageURL,
@@ -27,6 +25,22 @@ const CircleImage = _ref => {
27
25
  ...props
28
26
  } = _ref;
29
27
  const borderRadius = size / 2;
28
+ return /*#__PURE__*/React.createElement(_reactNative.Image, {
29
+ style: [{
30
+ width: size,
31
+ height: size,
32
+ borderRadius
33
+ }, style],
34
+ source: typeof source === "string" ? {
35
+ uri: source
36
+ } : source,
37
+ resizeMode: "cover",
38
+ ...props
39
+ });
40
+ };
41
+
42
+ var _default = CircleImage;
43
+ exports.default = _default;size / 2;
30
44
  return /*#__PURE__*/React.createElement(_reactNative.Image, _extends({
31
45
  style: [{
32
46
  width: size,
@@ -13,29 +13,27 @@ var _reactNativeSvg = require("react-native-svg");
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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
-
18
16
  class CircularProgress extends _react.default.Component {
19
17
  constructor() {
20
18
  super(...arguments);
21
19
 
22
- _defineProperty(this, "polarToCartesian", (centerX, centerY, radius, angleInDegrees) => {
20
+ this.polarToCartesian = (centerX, centerY, radius, angleInDegrees) => {
23
21
  var angleInRadians = (angleInDegrees - 90) * Math.PI / 180.0;
24
22
  return {
25
23
  x: centerX + radius * Math.cos(angleInRadians),
26
24
  y: centerY + radius * Math.sin(angleInRadians)
27
25
  };
28
- });
26
+ };
29
27
 
30
- _defineProperty(this, "circlePath", (x, y, radius, startAngle, endAngle) => {
28
+ this.circlePath = (x, y, radius, startAngle, endAngle) => {
31
29
  var start = this.polarToCartesian(x, y, radius, endAngle * 0.9999);
32
30
  var end = this.polarToCartesian(x, y, radius, startAngle);
33
31
  var largeArcFlag = endAngle - startAngle <= 180 ? "0" : "1";
34
32
  var d = ["M", start.x, start.y, "A", radius, radius, 0, largeArcFlag, 0, end.x, end.y];
35
33
  return d.join(" ");
36
- });
34
+ };
37
35
 
38
- _defineProperty(this, "clampFill", fill => Math.min(100, Math.max(0, fill)));
36
+ this.clampFill = fill => Math.min(100, Math.max(0, fill));
39
37
  }
40
38
 
41
39
  render() {
@@ -118,5 +116,15 @@ class CircularProgress extends _react.default.Component {
118
116
 
119
117
  }
120
118
 
119
+ var _default = CircularProgress;
120
+ exports.default = _default;okeDasharrayTint,
121
+ fill: "transparent"
122
+ }), cap)), children && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
123
+ style: localChildrenContainerStyle
124
+ }, children(fill)));
125
+ }
126
+
127
+ }
128
+
121
129
  var _default = CircularProgress;
122
130
  exports.default = _default;
@@ -21,8 +21,6 @@ var _Touchable = _interopRequireDefault(require("../Touchable"));
21
21
 
22
22
  var _DatePickerComponent = _interopRequireDefault(require("./DatePickerComponent"));
23
23
 
24
- var _utilities = require("../../utilities");
25
-
26
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
25
 
28
26
  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); }
@@ -59,11 +57,7 @@ const DatePicker = _ref => {
59
57
  rightIconName,
60
58
  leftIconMode = "inset",
61
59
  label,
62
- labelSize,
63
- labelColor,
64
60
  placeholder,
65
- borderColor: inputBorderColor,
66
- borderColorActive: inputBorderColorActive,
67
61
  ...props
68
62
  } = _ref;
69
63
  const [value, setValue] = React.useState(date || defaultValue);
@@ -80,9 +74,6 @@ const DatePicker = _ref => {
80
74
  measured: false,
81
75
  width: 0
82
76
  });
83
- const {
84
- textStyles
85
- } = (0, _utilities.extractStyles)(style);
86
77
 
87
78
  const getValidDate = () => {
88
79
  if (!value) {
@@ -184,8 +175,8 @@ const DatePicker = _ref => {
184
175
 
185
176
  const MINIMIZED_LABEL_Y_OFFSET = -(typography.caption.lineHeight + 4);
186
177
  const OUTLINE_MINIMIZED_LABEL_Y_OFFSET = -(16 * 0.5 + 4);
187
- const MAXIMIZED_LABEL_FONT_SIZE = (textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontSize) || typography.subtitle1.fontSize;
188
- const MINIMIZED_LABEL_FONT_SIZE = labelSize ? labelSize : typography.caption.fontSize;
178
+ const MAXIMIZED_LABEL_FONT_SIZE = typography.subtitle1.fontSize;
179
+ const MINIMIZED_LABEL_FONT_SIZE = typography.caption.fontSize;
189
180
  const hasActiveOutline = focused;
190
181
  let inputTextColor, activeColor, underlineColor, borderColor, placeholderColor, containerStyle, backgroundColor, inputStyle;
191
182
  inputTextColor = colors.strong;
@@ -197,9 +188,9 @@ const DatePicker = _ref => {
197
188
  underlineColor = "transparent";
198
189
  backgroundColor = colors.divider;
199
190
  } else {
200
- activeColor = inputBorderColorActive || colors.primary;
201
- placeholderColor = borderColor = inputBorderColor || colors.light;
202
- underlineColor = inputBorderColor || colors.light;
191
+ activeColor = colors.primary;
192
+ placeholderColor = borderColor = colors.light;
193
+ underlineColor = colors.light;
203
194
  backgroundColor = colors.background;
204
195
  }
205
196
 
@@ -259,7 +250,6 @@ const DatePicker = _ref => {
259
250
  };
260
251
  const labelStyle = { ...typography.subtitle1,
261
252
  top: type === "solid" ? 16 : 0,
262
- fontFamily: textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontFamily,
263
253
  left: leftIconName && leftIconMode === "inset" ? ICON_SIZE + (type === "solid" ? 16 : 12) : 0,
264
254
  transform: [{
265
255
  // Move label to top
@@ -283,7 +273,7 @@ const DatePicker = _ref => {
283
273
  };
284
274
  const inputStyles = [styles.input, inputStyle, type === "solid" ? {
285
275
  marginHorizontal: 12
286
- } : {}, textStyles]; // const render = (props) => <NativeTextInput {...props} />;
276
+ } : {}]; // const render = (props) => <NativeTextInput {...props} />;
287
277
 
288
278
  return /*#__PURE__*/React.createElement(_reactNative.View, {
289
279
  style: [styles.container, style]
@@ -329,7 +319,7 @@ const DatePicker = _ref => {
329
319
  style: [styles.placeholder, type === "solid" ? {
330
320
  paddingHorizontal: 12
331
321
  } : {}, labelStyle, {
332
- color: labelColor || colors.light,
322
+ color: colors.light,
333
323
  opacity: labeled.interpolate({
334
324
  inputRange: [0, 1],
335
325
  outputRange: [hasActiveOutline ? 1 : 0, 0]
@@ -340,7 +330,7 @@ const DatePicker = _ref => {
340
330
  style: [styles.placeholder, type === "solid" ? {
341
331
  paddingHorizontal: 12
342
332
  } : {}, labelStyle, {
343
- color: labelColor || placeholder,
333
+ color: placeholderColor,
344
334
  opacity: hasActiveOutline ? labeled : 1
345
335
  }],
346
336
  numberOfLines: 1
@@ -25,8 +25,6 @@ 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
- 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
28
  const Button = _ref => {
31
29
  let {
32
30
  Icon,
@@ -128,7 +126,7 @@ const Button = _ref => {
128
126
  alignSelf: "stretch",
129
127
  ...margins
130
128
  }
131
- }, /*#__PURE__*/React.createElement(_Touchable.default, _extends({}, rest, {
129
+ }, /*#__PURE__*/React.createElement(_Touchable.default, { ...rest,
132
130
  onPress: onPress,
133
131
  accessibilityState: {
134
132
  disabled
@@ -136,7 +134,7 @@ const Button = _ref => {
136
134
  accessibilityRole: "button",
137
135
  disabled: disabled || loading,
138
136
  style: [styles.button, buttonStyle, innerStyles]
139
- }), /*#__PURE__*/React.createElement(_reactNative.View, {
137
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
140
138
  style: styles.content
141
139
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
142
140
  style: iconStyle
@@ -171,4 +169,24 @@ const styles = _reactNative.StyleSheet.create({
171
169
 
172
170
  var _default = (0, _theming.withTheme)(Button);
173
171
 
172
+ exports.default = _default;));
173
+ };
174
+
175
+ const styles = _reactNative.StyleSheet.create({
176
+ button: {
177
+ minWidth: 64,
178
+ borderStyle: "solid"
179
+ },
180
+ content: {
181
+ flexDirection: "row",
182
+ alignItems: "center",
183
+ justifyContent: "center"
184
+ },
185
+ icon: {
186
+ width: _Config.default.buttonIconSize
187
+ }
188
+ });
189
+
190
+ var _default = (0, _theming.withTheme)(Button);
191
+
174
192
  exports.default = _default;
@@ -13,8 +13,6 @@ 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
-
18
16
  const getWidth = numColumns => {
19
17
  switch (numColumns) {
20
18
  case 1:
@@ -37,6 +35,23 @@ const Card = _ref => {
37
35
  ...rest
38
36
  } = _ref;
39
37
  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);
40
55
  return /*#__PURE__*/_react.default.createElement(_Touchable.default, _extends({
41
56
  disabled: !onPress,
42
57
  onPress: onPress,
@@ -27,8 +27,6 @@ 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
-
32
30
  const FAB = _ref => {
33
31
  let {
34
32
  Icon,
@@ -130,7 +128,7 @@ const FAB = _ref => {
130
128
  style: [{
131
129
  elevation
132
130
  }, style]
133
- }, /*#__PURE__*/React.createElement(_Touchable.default, _extends({}, rest, {
131
+ }, /*#__PURE__*/React.createElement(_Touchable.default, { ...rest,
134
132
  onPress: onPress,
135
133
  accessibilityState: {
136
134
  disabled
@@ -138,7 +136,7 @@ const FAB = _ref => {
138
136
  accessibilityRole: "button",
139
137
  disabled: disabled || loading,
140
138
  style: buttonStyles
141
- }), /*#__PURE__*/React.createElement(_reactNative.View, {
139
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
142
140
  style: styles.content
143
141
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
144
142
  style: iconStyle
@@ -181,4 +179,24 @@ const styles = _reactNative.StyleSheet.create({
181
179
 
182
180
  var _default = (0, _theming.withTheme)(FAB);
183
181
 
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
+
184
202
  exports.default = _default;
@@ -15,8 +15,6 @@ 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
18
  const Divider = _ref => {
21
19
  let {
22
20
  style,
@@ -26,6 +24,22 @@ const Divider = _ref => {
26
24
  },
27
25
  ...rest
28
26
  } = _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;
29
43
  return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
30
44
  style: [{
31
45
  backgroundColor: color || colors.divider,
@@ -19,8 +19,6 @@ 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
-
24
22
  /* directly copied from https://github.com/callstack/react-native-paper/blob/main/src/components/Surface.tsx#L62 */
25
23
  const Elevation = _ref => {
26
24
  let {
@@ -37,11 +35,25 @@ const Elevation = _ref => {
37
35
  colors
38
36
  } = theme;
39
37
  const borderRadius = radius;
40
- return /*#__PURE__*/React.createElement(_reactNative.Animated.View, _extends({}, rest, {
38
+ return /*#__PURE__*/React.createElement(_reactNative.Animated.View, { ...rest,
41
39
  style: [{
42
40
  borderRadius,
43
41
  backgroundColor: colors.surface
44
42
  }, elevation ? (0, _shadow.default)(elevation) : null, style]
43
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
44
+ style: {
45
+ overflow: "hidden",
46
+ borderRadius
47
+ }
48
+ }, children));
49
+ };
50
+
51
+ var _default = (0, _theming.withTheme)(Elevation);
52
+
53
+ exports.default = _default; [{
54
+ borderRadius,
55
+ backgroundColor: colors.surface
56
+ }, elevation ? (0, _shadow.default)(elevation) : null, style]
45
57
  }), /*#__PURE__*/React.createElement(_reactNative.View, {
46
58
  style: {
47
59
  overflow: "hidden",
@@ -15,8 +15,6 @@ 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
18
  const FAB = _ref => {
21
19
  let {
22
20
  onPress,
@@ -40,7 +38,7 @@ const FAB = _ref => {
40
38
  borderRadius: size / 2,
41
39
  overflow: "hidden"
42
40
  }, style]
43
- }, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
41
+ }, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
44
42
  onPress: onPress,
45
43
  disabled: loading || disabled,
46
44
  android_ripple: {
@@ -58,8 +56,9 @@ const FAB = _ref => {
58
56
  borderRadius: size / 2,
59
57
  backgroundColor
60
58
  }];
61
- }
62
- }, props), /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
59
+ },
60
+ ...props
61
+ }, /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
63
62
  style: size > 50 ? {
64
63
  marginTop: 2,
65
64
  marginLeft: 2
@@ -89,4 +88,20 @@ const styles = _reactNative.StyleSheet.create({
89
88
 
90
89
  var _default = (0, _theming.withTheme)(FAB);
91
90
 
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
+
92
107
  exports.default = _default;
@@ -19,8 +19,6 @@ 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
-
24
22
  function FormRow(_ref) {
25
23
  let {
26
24
  disabled,
@@ -35,11 +33,27 @@ function FormRow(_ref) {
35
33
  textStyles,
36
34
  viewStyles
37
35
  } = (0, _utilities.extractStyles)(style);
38
- return /*#__PURE__*/React.createElement(_Touchable.default, _extends({
36
+ return /*#__PURE__*/React.createElement(_Touchable.default, {
39
37
  disabled: disabled,
40
38
  onPress: onPress,
41
39
  style: [styles.row, {
42
40
  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
43
57
  }, viewStyles]
44
58
  }, rest), /*#__PURE__*/React.createElement(_reactNative.Text, {
45
59
  style: textStyles