@draftbit/core 46.4.4-f73e6b.2 → 47.0.0-0362d7.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 (1036) hide show
  1. package/lib/commonjs/Provider.js +2 -10
  2. package/lib/commonjs/Provider.js.map +1 -0
  3. package/lib/commonjs/components/Accordion/AccordionGroup.js +2 -15
  4. package/lib/commonjs/components/Accordion/AccordionGroup.js.map +1 -0
  5. package/lib/commonjs/components/Accordion/AccordionItem.js +2 -14
  6. package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -0
  7. package/lib/commonjs/components/Accordion/index.js +2 -4
  8. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  9. package/lib/commonjs/components/ActionSheet/ActionSheet.js +2 -10
  10. package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +1 -0
  11. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +2 -6
  12. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +1 -0
  13. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +2 -8
  14. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +1 -0
  15. package/lib/commonjs/components/ActionSheet/index.js +2 -5
  16. package/lib/commonjs/components/ActionSheet/index.js.map +1 -0
  17. package/lib/commonjs/components/Button.js +4 -20
  18. package/lib/commonjs/components/Button.js.map +1 -0
  19. package/lib/commonjs/components/Checkbox/Checkbox.js +5 -19
  20. package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -0
  21. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +2 -12
  22. package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +1 -0
  23. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +2 -21
  24. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -0
  25. package/lib/commonjs/components/Checkbox/CheckboxRow.js +5 -25
  26. package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -0
  27. package/lib/commonjs/components/Checkbox/context.js +2 -6
  28. package/lib/commonjs/components/Checkbox/context.js.map +1 -0
  29. package/lib/commonjs/components/Checkbox/index.js +2 -5
  30. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  31. package/lib/commonjs/components/Config.js +7 -14
  32. package/lib/commonjs/components/Config.js.map +1 -0
  33. package/lib/commonjs/components/DatePicker/DatePicker.js +18 -49
  34. package/lib/commonjs/components/DatePicker/DatePicker.js.map +1 -0
  35. package/lib/commonjs/components/DatePicker/DatePickerComponent.js +2 -8
  36. package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +1 -0
  37. package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +2 -11
  38. package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +1 -0
  39. package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +2 -1
  40. package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +1 -0
  41. package/lib/commonjs/components/DeprecatedButton.js +2 -24
  42. package/lib/commonjs/components/DeprecatedButton.js.map +1 -0
  43. package/lib/commonjs/components/Elevation.js +2 -12
  44. package/lib/commonjs/components/Elevation.js.map +1 -0
  45. package/lib/commonjs/components/FormRow.js +19 -14
  46. package/lib/commonjs/components/FormRow.js.map +1 -0
  47. package/lib/commonjs/components/IconButton.js +2 -11
  48. package/lib/commonjs/components/IconButton.js.map +1 -0
  49. package/lib/commonjs/components/Layout.js +4 -13
  50. package/lib/commonjs/components/Layout.js.map +1 -0
  51. package/lib/commonjs/components/NumberInput.js +10 -22
  52. package/lib/commonjs/components/NumberInput.js.map +1 -0
  53. package/lib/commonjs/components/Picker/Picker.js +8 -40
  54. package/lib/commonjs/components/Picker/Picker.js.map +1 -0
  55. package/lib/commonjs/components/Picker/PickerComponent.android.js +8 -24
  56. package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -0
  57. package/lib/commonjs/components/Picker/PickerComponent.ios.js +36 -35
  58. package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +1 -0
  59. package/lib/commonjs/components/Picker/PickerComponent.web.js +8 -24
  60. package/lib/commonjs/components/Picker/PickerComponent.web.js.map +1 -0
  61. package/lib/commonjs/components/Picker/PickerTypes.js +2 -1
  62. package/lib/commonjs/components/Picker/PickerTypes.js.map +1 -0
  63. package/lib/commonjs/components/Portal/Portal.js +6 -15
  64. package/lib/commonjs/components/Portal/Portal.js.map +1 -0
  65. package/lib/commonjs/components/Portal/PortalConsumer.js +7 -16
  66. package/lib/commonjs/components/Portal/PortalConsumer.js.map +1 -0
  67. package/lib/commonjs/components/Portal/PortalHost.js +47 -43
  68. package/lib/commonjs/components/Portal/PortalHost.js.map +1 -0
  69. package/lib/commonjs/components/Portal/PortalManager.js +9 -20
  70. package/lib/commonjs/components/Portal/PortalManager.js.map +1 -0
  71. package/lib/commonjs/components/RadioButton/RadioButton.js +15 -16
  72. package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -0
  73. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +2 -11
  74. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
  75. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +2 -15
  76. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -0
  77. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +3 -22
  78. package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -0
  79. package/lib/commonjs/components/RadioButton/context.js +2 -6
  80. package/lib/commonjs/components/RadioButton/context.js.map +1 -0
  81. package/lib/commonjs/components/RadioButton/index.js +2 -6
  82. package/lib/commonjs/components/RadioButton/index.js.map +1 -0
  83. package/lib/commonjs/components/SVG.js +2 -10
  84. package/lib/commonjs/components/SVG.js.map +1 -0
  85. package/lib/commonjs/components/ScreenContainer.js +2 -15
  86. package/lib/commonjs/components/ScreenContainer.js.map +1 -0
  87. package/lib/commonjs/components/Slider.js +2 -22
  88. package/lib/commonjs/components/Slider.js.map +1 -0
  89. package/lib/commonjs/components/StarRating.js +2 -11
  90. package/lib/commonjs/components/StarRating.js.map +1 -0
  91. package/lib/commonjs/components/Stepper.js +6 -19
  92. package/lib/commonjs/components/Stepper.js.map +1 -0
  93. package/lib/commonjs/components/Surface.js +14 -16
  94. package/lib/commonjs/components/Surface.js.map +1 -0
  95. package/lib/commonjs/components/Swiper/Swiper.js +2 -9
  96. package/lib/commonjs/components/Swiper/Swiper.js.map +1 -0
  97. package/lib/commonjs/components/Swiper/SwiperItem.js +2 -7
  98. package/lib/commonjs/components/Swiper/SwiperItem.js.map +1 -0
  99. package/lib/commonjs/components/Swiper/index.js +2 -4
  100. package/lib/commonjs/components/Swiper/index.js.map +1 -0
  101. package/lib/commonjs/components/Switch.js +7 -19
  102. package/lib/commonjs/components/Switch.js.map +1 -0
  103. package/lib/commonjs/components/Text.js +10 -20
  104. package/lib/commonjs/components/Text.js.map +1 -0
  105. package/lib/commonjs/components/TextField.js +18 -63
  106. package/lib/commonjs/components/TextField.js.map +1 -0
  107. package/lib/commonjs/components/Touchable.js +2 -6
  108. package/lib/commonjs/components/Touchable.js.map +1 -0
  109. package/lib/commonjs/components/Touchable.web.js +2 -3
  110. package/lib/commonjs/components/Touchable.web.js.map +1 -0
  111. package/lib/commonjs/constants.js +2 -5
  112. package/lib/commonjs/constants.js.map +1 -0
  113. package/lib/commonjs/hooks.js +6 -8
  114. package/lib/commonjs/hooks.js.map +1 -0
  115. package/lib/commonjs/index.js +15 -267
  116. package/lib/commonjs/index.js.map +1 -0
  117. package/lib/commonjs/interfaces/Icon.js +5 -6
  118. package/lib/commonjs/interfaces/Icon.js.map +1 -0
  119. package/lib/commonjs/mappings/Accordion.js +2 -3
  120. package/lib/commonjs/mappings/Accordion.js.map +1 -0
  121. package/lib/commonjs/mappings/AccordionItem.js +2 -3
  122. package/lib/commonjs/mappings/AccordionItem.js.map +1 -0
  123. package/lib/commonjs/mappings/ActionSheet.js +2 -3
  124. package/lib/commonjs/mappings/ActionSheet.js.map +1 -0
  125. package/lib/commonjs/mappings/ActionSheetCancel.js +2 -3
  126. package/lib/commonjs/mappings/ActionSheetCancel.js.map +1 -0
  127. package/lib/commonjs/mappings/ActionSheetItem.js +2 -3
  128. package/lib/commonjs/mappings/ActionSheetItem.js.map +1 -0
  129. package/lib/commonjs/mappings/ActivityIndicator.js +2 -3
  130. package/lib/commonjs/mappings/ActivityIndicator.js.map +1 -0
  131. package/lib/commonjs/mappings/AudioPlayer.js +2 -3
  132. package/lib/commonjs/mappings/AudioPlayer.js.map +1 -0
  133. package/lib/commonjs/mappings/BlurView.js +2 -3
  134. package/lib/commonjs/mappings/BlurView.js.map +1 -0
  135. package/lib/commonjs/mappings/Button.js +8 -6
  136. package/lib/commonjs/mappings/Button.js.map +1 -0
  137. package/lib/commonjs/mappings/Checkbox.js +2 -3
  138. package/lib/commonjs/mappings/Checkbox.js.map +1 -0
  139. package/lib/commonjs/mappings/CheckboxGroup.js +2 -3
  140. package/lib/commonjs/mappings/CheckboxGroup.js.map +1 -0
  141. package/lib/commonjs/mappings/CheckboxRow.js +2 -3
  142. package/lib/commonjs/mappings/CheckboxRow.js.map +1 -0
  143. package/lib/commonjs/mappings/CustomCode.js +2 -3
  144. package/lib/commonjs/mappings/CustomCode.js.map +1 -0
  145. package/lib/commonjs/mappings/DatePicker.js +6 -5
  146. package/lib/commonjs/mappings/DatePicker.js.map +1 -0
  147. package/lib/commonjs/mappings/Fetch.js +2 -3
  148. package/lib/commonjs/mappings/Fetch.js.map +1 -0
  149. package/lib/commonjs/mappings/FlashList.js +2 -3
  150. package/lib/commonjs/mappings/FlashList.js.map +1 -0
  151. package/lib/commonjs/mappings/FlatList.js +2 -3
  152. package/lib/commonjs/mappings/FlatList.js.map +1 -0
  153. package/lib/commonjs/mappings/Icon.js +4 -4
  154. package/lib/commonjs/mappings/Icon.js.map +1 -0
  155. package/lib/commonjs/mappings/IconButton.js +2 -3
  156. package/lib/commonjs/mappings/IconButton.js.map +1 -0
  157. package/lib/commonjs/mappings/Image.js +2 -3
  158. package/lib/commonjs/mappings/Image.js.map +1 -0
  159. package/lib/commonjs/mappings/ImageBackground.js +2 -3
  160. package/lib/commonjs/mappings/ImageBackground.js.map +1 -0
  161. package/lib/commonjs/mappings/KeyboardAvoidingView.js +2 -3
  162. package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +1 -0
  163. package/lib/commonjs/mappings/KeyboardAwareScrollView.js +2 -3
  164. package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -0
  165. package/lib/commonjs/mappings/Layout.js +2 -3
  166. package/lib/commonjs/mappings/Layout.js.map +1 -0
  167. package/lib/commonjs/mappings/LinearGradient.js +2 -3
  168. package/lib/commonjs/mappings/LinearGradient.js.map +1 -0
  169. package/lib/commonjs/mappings/MapCallout.js +2 -3
  170. package/lib/commonjs/mappings/MapCallout.js.map +1 -0
  171. package/lib/commonjs/mappings/MapMarker.js +2 -3
  172. package/lib/commonjs/mappings/MapMarker.js.map +1 -0
  173. package/lib/commonjs/mappings/MapView.js +2 -3
  174. package/lib/commonjs/mappings/MapView.js.map +1 -0
  175. package/lib/commonjs/mappings/Modal.js +2 -3
  176. package/lib/commonjs/mappings/Modal.js.map +1 -0
  177. package/lib/commonjs/mappings/NumberInput.js +6 -5
  178. package/lib/commonjs/mappings/NumberInput.js.map +1 -0
  179. package/lib/commonjs/mappings/Picker.js +6 -5
  180. package/lib/commonjs/mappings/Picker.js.map +1 -0
  181. package/lib/commonjs/mappings/RadioButton.js +2 -3
  182. package/lib/commonjs/mappings/RadioButton.js.map +1 -0
  183. package/lib/commonjs/mappings/RadioButtonGroup.js +2 -3
  184. package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -0
  185. package/lib/commonjs/mappings/RadioButtonRow.js +2 -3
  186. package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -0
  187. package/lib/commonjs/mappings/SVG.js +2 -3
  188. package/lib/commonjs/mappings/SVG.js.map +1 -0
  189. package/lib/commonjs/mappings/SafeAreaView.js +2 -3
  190. package/lib/commonjs/mappings/SafeAreaView.js.map +1 -0
  191. package/lib/commonjs/mappings/ScrollView.js +2 -3
  192. package/lib/commonjs/mappings/ScrollView.js.map +1 -0
  193. package/lib/commonjs/mappings/Slider.js +2 -3
  194. package/lib/commonjs/mappings/Slider.js.map +1 -0
  195. package/lib/commonjs/mappings/StarRating.js +3 -4
  196. package/lib/commonjs/mappings/StarRating.js.map +1 -0
  197. package/lib/commonjs/mappings/Stepper.js +2 -3
  198. package/lib/commonjs/mappings/Stepper.js.map +1 -0
  199. package/lib/commonjs/mappings/Surface.js +2 -3
  200. package/lib/commonjs/mappings/Surface.js.map +1 -0
  201. package/lib/commonjs/mappings/Swiper.js +2 -3
  202. package/lib/commonjs/mappings/Swiper.js.map +1 -0
  203. package/lib/commonjs/mappings/SwiperItem.js +2 -3
  204. package/lib/commonjs/mappings/SwiperItem.js.map +1 -0
  205. package/lib/commonjs/mappings/Switch.js +2 -3
  206. package/lib/commonjs/mappings/Switch.js.map +1 -0
  207. package/lib/commonjs/mappings/Text.js +7 -6
  208. package/lib/commonjs/mappings/Text.js.map +1 -0
  209. package/lib/commonjs/mappings/TextArea.js +4 -4
  210. package/lib/commonjs/mappings/TextArea.js.map +1 -0
  211. package/lib/commonjs/mappings/TextField.js +10 -10
  212. package/lib/commonjs/mappings/TextField.js.map +1 -0
  213. package/lib/commonjs/mappings/TextInput.js +5 -5
  214. package/lib/commonjs/mappings/TextInput.js.map +1 -0
  215. package/lib/commonjs/mappings/Touchable.js +3 -4
  216. package/lib/commonjs/mappings/Touchable.js.map +1 -0
  217. package/lib/commonjs/mappings/Video.js +2 -3
  218. package/lib/commonjs/mappings/Video.js.map +1 -0
  219. package/lib/commonjs/mappings/View.js +2 -3
  220. package/lib/commonjs/mappings/View.js.map +1 -0
  221. package/lib/commonjs/mappings/WebView.js +2 -3
  222. package/lib/commonjs/mappings/WebView.js.map +1 -0
  223. package/lib/commonjs/styles/DarkTheme.js +7 -7
  224. package/lib/commonjs/styles/DarkTheme.js.map +1 -0
  225. package/lib/commonjs/styles/DefaultTheme.js +28 -18
  226. package/lib/commonjs/styles/DefaultTheme.js.map +1 -0
  227. package/lib/commonjs/styles/fonts.js +5 -6
  228. package/lib/commonjs/styles/fonts.js.map +1 -0
  229. package/lib/commonjs/styles/overlay.js +7 -15
  230. package/lib/commonjs/styles/overlay.js.map +1 -0
  231. package/lib/commonjs/styles/shadow.js +2 -10
  232. package/lib/commonjs/styles/shadow.js.map +1 -0
  233. package/lib/commonjs/theming.js +2 -5
  234. package/lib/commonjs/theming.js.map +1 -0
  235. package/lib/commonjs/utilities.js +4 -15
  236. package/lib/commonjs/utilities.js.map +1 -0
  237. package/lib/module/Provider.js +2 -2
  238. package/lib/module/Provider.js.map +1 -0
  239. package/lib/module/components/Accordion/AccordionGroup.js +2 -5
  240. package/lib/module/components/Accordion/AccordionGroup.js.map +1 -0
  241. package/lib/module/components/Accordion/AccordionItem.js +25 -8
  242. package/lib/module/components/Accordion/AccordionItem.js.map +1 -0
  243. package/lib/module/components/Accordion/index.js +2 -1
  244. package/lib/module/components/Accordion/index.js.map +1 -0
  245. package/lib/module/components/ActionSheet/ActionSheet.js +2 -3
  246. package/lib/module/components/ActionSheet/ActionSheet.js.map +1 -0
  247. package/lib/module/components/ActionSheet/ActionSheetCancel.js +2 -3
  248. package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -0
  249. package/lib/module/components/ActionSheet/ActionSheetItem.js +2 -3
  250. package/lib/module/components/ActionSheet/ActionSheetItem.js.map +1 -0
  251. package/lib/module/components/ActionSheet/index.js +2 -1
  252. package/lib/module/components/ActionSheet/index.js.map +1 -0
  253. package/lib/module/components/Button.js +4 -11
  254. package/lib/module/components/Button.js.map +1 -0
  255. package/lib/module/components/Checkbox/Checkbox.js +5 -10
  256. package/lib/module/components/Checkbox/Checkbox.js.map +1 -0
  257. package/lib/module/components/Checkbox/CheckboxGroup.js +2 -6
  258. package/lib/module/components/Checkbox/CheckboxGroup.js.map +1 -0
  259. package/lib/module/components/Checkbox/CheckboxGroupRow.js +2 -9
  260. package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +1 -0
  261. package/lib/module/components/Checkbox/CheckboxRow.js +5 -12
  262. package/lib/module/components/Checkbox/CheckboxRow.js.map +1 -0
  263. package/lib/module/components/Checkbox/context.js +2 -3
  264. package/lib/module/components/Checkbox/context.js.map +1 -0
  265. package/lib/module/components/Checkbox/index.js +2 -1
  266. package/lib/module/components/Checkbox/index.js.map +1 -0
  267. package/lib/module/components/Config.js +7 -12
  268. package/lib/module/components/Config.js.map +1 -0
  269. package/lib/module/components/DatePicker/DatePicker.js +18 -34
  270. package/lib/module/components/DatePicker/DatePicker.js.map +1 -0
  271. package/lib/module/components/DatePicker/DatePickerComponent.js +2 -3
  272. package/lib/module/components/DatePicker/DatePickerComponent.js.map +1 -0
  273. package/lib/module/components/DatePicker/DatePickerComponent.web.js +2 -3
  274. package/lib/module/components/DatePicker/DatePickerComponent.web.js.map +1 -0
  275. package/lib/module/components/DatePicker/DatePickerComponentType.js +2 -1
  276. package/lib/module/components/DatePicker/DatePickerComponentType.js.map +1 -0
  277. package/lib/module/components/DeprecatedButton.js +2 -10
  278. package/lib/module/components/DeprecatedButton.js.map +1 -0
  279. package/lib/module/components/Elevation.js +2 -4
  280. package/lib/module/components/Elevation.js.map +1 -0
  281. package/lib/module/components/FormRow.js +2 -2
  282. package/lib/module/components/FormRow.js.map +1 -0
  283. package/lib/module/components/IconButton.js +2 -4
  284. package/lib/module/components/IconButton.js.map +1 -0
  285. package/lib/module/components/Layout.js +6 -4
  286. package/lib/module/components/Layout.js.map +1 -0
  287. package/lib/module/components/NumberInput.js +10 -17
  288. package/lib/module/components/NumberInput.js.map +1 -0
  289. package/lib/module/components/Picker/Picker.js +8 -24
  290. package/lib/module/components/Picker/Picker.js.map +1 -0
  291. package/lib/module/components/Picker/PickerComponent.android.js +8 -11
  292. package/lib/module/components/Picker/PickerComponent.android.js.map +1 -0
  293. package/lib/module/components/Picker/PickerComponent.ios.js +10 -12
  294. package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -0
  295. package/lib/module/components/Picker/PickerComponent.web.js +8 -11
  296. package/lib/module/components/Picker/PickerComponent.web.js.map +1 -0
  297. package/lib/module/components/Picker/PickerTypes.js +2 -1
  298. package/lib/module/components/Picker/PickerTypes.js.map +1 -0
  299. package/lib/module/components/Portal/Portal.js +6 -7
  300. package/lib/module/components/Portal/Portal.js.map +1 -0
  301. package/lib/module/components/Portal/PortalConsumer.js +7 -11
  302. package/lib/module/components/Portal/PortalConsumer.js.map +1 -0
  303. package/lib/module/components/Portal/PortalHost.js +6 -23
  304. package/lib/module/components/Portal/PortalHost.js.map +1 -0
  305. package/lib/module/components/Portal/PortalManager.js +9 -15
  306. package/lib/module/components/Portal/PortalManager.js.map +1 -0
  307. package/lib/module/components/RadioButton/RadioButton.js +3 -7
  308. package/lib/module/components/RadioButton/RadioButton.js.map +1 -0
  309. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +2 -4
  310. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
  311. package/lib/module/components/RadioButton/RadioButtonGroup.js +2 -8
  312. package/lib/module/components/RadioButton/RadioButtonGroup.js.map +1 -0
  313. package/lib/module/components/RadioButton/RadioButtonRow.js +3 -10
  314. package/lib/module/components/RadioButton/RadioButtonRow.js.map +1 -0
  315. package/lib/module/components/RadioButton/context.js +2 -3
  316. package/lib/module/components/RadioButton/context.js.map +1 -0
  317. package/lib/module/components/RadioButton/index.js +2 -1
  318. package/lib/module/components/RadioButton/index.js.map +1 -0
  319. package/lib/module/components/SVG.js +2 -3
  320. package/lib/module/components/SVG.js.map +1 -0
  321. package/lib/module/components/ScreenContainer.js +2 -7
  322. package/lib/module/components/ScreenContainer.js.map +1 -0
  323. package/lib/module/components/Slider.js +2 -11
  324. package/lib/module/components/Slider.js.map +1 -0
  325. package/lib/module/components/StarRating.js +2 -4
  326. package/lib/module/components/StarRating.js.map +1 -0
  327. package/lib/module/components/Stepper.js +6 -10
  328. package/lib/module/components/Stepper.js.map +1 -0
  329. package/lib/module/components/Surface.js +2 -6
  330. package/lib/module/components/Surface.js.map +1 -0
  331. package/lib/module/components/Swiper/Swiper.js +2 -5
  332. package/lib/module/components/Swiper/Swiper.js.map +1 -0
  333. package/lib/module/components/Swiper/SwiperItem.js +2 -3
  334. package/lib/module/components/Swiper/SwiperItem.js.map +1 -0
  335. package/lib/module/components/Swiper/index.js +2 -1
  336. package/lib/module/components/Swiper/index.js.map +1 -0
  337. package/lib/module/components/Switch.js +7 -8
  338. package/lib/module/components/Switch.js.map +1 -0
  339. package/lib/module/components/Text.js +10 -12
  340. package/lib/module/components/Text.js.map +1 -0
  341. package/lib/module/components/TextField.js +18 -51
  342. package/lib/module/components/TextField.js.map +1 -0
  343. package/lib/module/components/Touchable.js +2 -2
  344. package/lib/module/components/Touchable.js.map +1 -0
  345. package/lib/module/components/Touchable.web.js +2 -1
  346. package/lib/module/components/Touchable.web.js.map +1 -0
  347. package/lib/module/constants.js +4 -2
  348. package/lib/module/constants.js.map +1 -0
  349. package/lib/module/hooks.js +6 -3
  350. package/lib/module/hooks.js.map +1 -0
  351. package/lib/module/index.js +31 -41
  352. package/lib/module/index.js.map +1 -0
  353. package/lib/module/interfaces/Icon.js +4 -2
  354. package/lib/module/interfaces/Icon.js.map +1 -0
  355. package/lib/module/mappings/Accordion.js +2 -1
  356. package/lib/module/mappings/Accordion.js.map +1 -0
  357. package/lib/module/mappings/AccordionItem.js +2 -1
  358. package/lib/module/mappings/AccordionItem.js.map +1 -0
  359. package/lib/module/mappings/ActionSheet.js +2 -1
  360. package/lib/module/mappings/ActionSheet.js.map +1 -0
  361. package/lib/module/mappings/ActionSheetCancel.js +2 -1
  362. package/lib/module/mappings/ActionSheetCancel.js.map +1 -0
  363. package/lib/module/mappings/ActionSheetItem.js +2 -1
  364. package/lib/module/mappings/ActionSheetItem.js.map +1 -0
  365. package/lib/module/mappings/ActivityIndicator.js +2 -1
  366. package/lib/module/mappings/ActivityIndicator.js.map +1 -0
  367. package/lib/module/mappings/AudioPlayer.js +2 -1
  368. package/lib/module/mappings/AudioPlayer.js.map +1 -0
  369. package/lib/module/mappings/BlurView.js +2 -1
  370. package/lib/module/mappings/BlurView.js.map +1 -0
  371. package/lib/module/mappings/Button.js +8 -4
  372. package/lib/module/mappings/Button.js.map +1 -0
  373. package/lib/module/mappings/Checkbox.js +2 -1
  374. package/lib/module/mappings/Checkbox.js.map +1 -0
  375. package/lib/module/mappings/CheckboxGroup.js +2 -1
  376. package/lib/module/mappings/CheckboxGroup.js.map +1 -0
  377. package/lib/module/mappings/CheckboxRow.js +2 -1
  378. package/lib/module/mappings/CheckboxRow.js.map +1 -0
  379. package/lib/module/mappings/CustomCode.js +2 -1
  380. package/lib/module/mappings/CustomCode.js.map +1 -0
  381. package/lib/module/mappings/DatePicker.js +6 -3
  382. package/lib/module/mappings/DatePicker.js.map +1 -0
  383. package/lib/module/mappings/Fetch.js +2 -2
  384. package/lib/module/mappings/Fetch.js.map +1 -0
  385. package/lib/module/mappings/FlashList.js +2 -1
  386. package/lib/module/mappings/FlashList.js.map +1 -0
  387. package/lib/module/mappings/FlatList.js +2 -1
  388. package/lib/module/mappings/FlatList.js.map +1 -0
  389. package/lib/module/mappings/Icon.js +4 -2
  390. package/lib/module/mappings/Icon.js.map +1 -0
  391. package/lib/module/mappings/IconButton.js +2 -1
  392. package/lib/module/mappings/IconButton.js.map +1 -0
  393. package/lib/module/mappings/Image.js +2 -1
  394. package/lib/module/mappings/Image.js.map +1 -0
  395. package/lib/module/mappings/ImageBackground.js +2 -1
  396. package/lib/module/mappings/ImageBackground.js.map +1 -0
  397. package/lib/module/mappings/KeyboardAvoidingView.js +2 -1
  398. package/lib/module/mappings/KeyboardAvoidingView.js.map +1 -0
  399. package/lib/module/mappings/KeyboardAwareScrollView.js +2 -1
  400. package/lib/module/mappings/KeyboardAwareScrollView.js.map +1 -0
  401. package/lib/module/mappings/Layout.js +2 -1
  402. package/lib/module/mappings/Layout.js.map +1 -0
  403. package/lib/module/mappings/LinearGradient.js +2 -1
  404. package/lib/module/mappings/LinearGradient.js.map +1 -0
  405. package/lib/module/mappings/MapCallout.js +2 -1
  406. package/lib/module/mappings/MapCallout.js.map +1 -0
  407. package/lib/module/mappings/MapMarker.js +2 -1
  408. package/lib/module/mappings/MapMarker.js.map +1 -0
  409. package/lib/module/mappings/MapView.js +2 -1
  410. package/lib/module/mappings/MapView.js.map +1 -0
  411. package/lib/module/mappings/Modal.js +2 -1
  412. package/lib/module/mappings/Modal.js.map +1 -0
  413. package/lib/module/mappings/NumberInput.js +6 -3
  414. package/lib/module/mappings/NumberInput.js.map +1 -0
  415. package/lib/module/mappings/Picker.js +6 -3
  416. package/lib/module/mappings/Picker.js.map +1 -0
  417. package/lib/module/mappings/RadioButton.js +2 -1
  418. package/lib/module/mappings/RadioButton.js.map +1 -0
  419. package/lib/module/mappings/RadioButtonGroup.js +2 -1
  420. package/lib/module/mappings/RadioButtonGroup.js.map +1 -0
  421. package/lib/module/mappings/RadioButtonRow.js +2 -1
  422. package/lib/module/mappings/RadioButtonRow.js.map +1 -0
  423. package/lib/module/mappings/SVG.js +2 -1
  424. package/lib/module/mappings/SVG.js.map +1 -0
  425. package/lib/module/mappings/SafeAreaView.js +2 -1
  426. package/lib/module/mappings/SafeAreaView.js.map +1 -0
  427. package/lib/module/mappings/ScrollView.js +2 -1
  428. package/lib/module/mappings/ScrollView.js.map +1 -0
  429. package/lib/module/mappings/Slider.js +2 -1
  430. package/lib/module/mappings/Slider.js.map +1 -0
  431. package/lib/module/mappings/StarRating.js +3 -2
  432. package/lib/module/mappings/StarRating.js.map +1 -0
  433. package/lib/module/mappings/Stepper.js +2 -1
  434. package/lib/module/mappings/Stepper.js.map +1 -0
  435. package/lib/module/mappings/Surface.js +2 -1
  436. package/lib/module/mappings/Surface.js.map +1 -0
  437. package/lib/module/mappings/Swiper.js +2 -1
  438. package/lib/module/mappings/Swiper.js.map +1 -0
  439. package/lib/module/mappings/SwiperItem.js +2 -1
  440. package/lib/module/mappings/SwiperItem.js.map +1 -0
  441. package/lib/module/mappings/Switch.js +2 -1
  442. package/lib/module/mappings/Switch.js.map +1 -0
  443. package/lib/module/mappings/Text.js +7 -4
  444. package/lib/module/mappings/Text.js.map +1 -0
  445. package/lib/module/mappings/TextArea.js +4 -2
  446. package/lib/module/mappings/TextArea.js.map +1 -0
  447. package/lib/module/mappings/TextField.js +10 -8
  448. package/lib/module/mappings/TextField.js.map +1 -0
  449. package/lib/module/mappings/TextInput.js +5 -3
  450. package/lib/module/mappings/TextInput.js.map +1 -0
  451. package/lib/module/mappings/Touchable.js +3 -2
  452. package/lib/module/mappings/Touchable.js.map +1 -0
  453. package/lib/module/mappings/Video.js +2 -1
  454. package/lib/module/mappings/Video.js.map +1 -0
  455. package/lib/module/mappings/View.js +2 -1
  456. package/lib/module/mappings/View.js.map +1 -0
  457. package/lib/module/mappings/WebView.js +2 -1
  458. package/lib/module/mappings/WebView.js.map +1 -0
  459. package/lib/module/styles/DarkTheme.js +6 -3
  460. package/lib/module/styles/DarkTheme.js.map +1 -0
  461. package/lib/module/styles/DefaultTheme.js +28 -14
  462. package/lib/module/styles/DefaultTheme.js.map +1 -0
  463. package/lib/module/styles/fonts.js +4 -2
  464. package/lib/module/styles/fonts.js.map +1 -0
  465. package/lib/module/styles/overlay.js +6 -11
  466. package/lib/module/styles/overlay.js.map +1 -0
  467. package/lib/module/styles/shadow.js +2 -7
  468. package/lib/module/styles/shadow.js.map +1 -0
  469. package/lib/module/theming.js +2 -1
  470. package/lib/module/theming.js.map +1 -0
  471. package/lib/module/utilities.js +4 -6
  472. package/lib/module/utilities.js.map +1 -0
  473. package/lib/typescript/src/Provider.d.ts +2 -1
  474. package/lib/typescript/src/Provider.d.ts.map +1 -0
  475. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +2 -1
  476. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
  477. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +2 -1
  478. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
  479. package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
  480. package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
  481. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
  482. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
  483. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +2 -1
  484. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
  485. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +2 -1
  486. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
  487. package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
  488. package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
  489. package/lib/typescript/src/components/Button.d.ts +1 -0
  490. package/lib/typescript/src/components/Button.d.ts.map +1 -0
  491. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
  492. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  493. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
  494. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  495. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
  496. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
  497. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
  498. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
  499. package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
  500. package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
  501. package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
  502. package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  503. package/lib/typescript/src/components/Config.d.ts +1 -0
  504. package/lib/typescript/src/components/Config.d.ts.map +1 -0
  505. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +2 -1
  506. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
  507. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
  508. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
  509. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +1 -0
  510. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +1 -0
  511. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +1 -0
  512. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
  513. package/lib/typescript/src/components/DeprecatedButton.d.ts +2 -1
  514. package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
  515. package/lib/typescript/src/components/Elevation.d.ts +2 -1
  516. package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
  517. package/lib/typescript/src/components/FormRow.d.ts +2 -1
  518. package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
  519. package/lib/typescript/src/components/IconButton.d.ts +2 -1
  520. package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
  521. package/lib/typescript/src/components/Layout.d.ts +1 -0
  522. package/lib/typescript/src/components/Layout.d.ts.map +1 -0
  523. package/lib/typescript/src/components/NumberInput.d.ts +1 -0
  524. package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
  525. package/lib/typescript/src/components/Picker/Picker.d.ts +2 -1
  526. package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
  527. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
  528. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
  529. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
  530. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
  531. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
  532. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
  533. package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
  534. package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
  535. package/lib/typescript/src/components/Portal/Portal.d.ts +2 -1
  536. package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  537. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +2 -1
  538. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  539. package/lib/typescript/src/components/Portal/PortalHost.d.ts +3 -2
  540. package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  541. package/lib/typescript/src/components/Portal/PortalManager.d.ts +2 -1
  542. package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  543. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +2 -1
  544. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
  545. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
  546. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
  547. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
  548. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
  549. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
  550. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
  551. package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
  552. package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
  553. package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
  554. package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
  555. package/lib/typescript/src/components/SVG.d.ts +2 -1
  556. package/lib/typescript/src/components/SVG.d.ts.map +1 -0
  557. package/lib/typescript/src/components/ScreenContainer.d.ts +2 -1
  558. package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
  559. package/lib/typescript/src/components/Slider.d.ts +2 -1
  560. package/lib/typescript/src/components/Slider.d.ts.map +1 -0
  561. package/lib/typescript/src/components/StarRating.d.ts +2 -1
  562. package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
  563. package/lib/typescript/src/components/Stepper.d.ts +2 -1
  564. package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
  565. package/lib/typescript/src/components/Surface.d.ts +2 -1
  566. package/lib/typescript/src/components/Surface.d.ts.map +1 -0
  567. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
  568. package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
  569. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
  570. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
  571. package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
  572. package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
  573. package/lib/typescript/src/components/Switch.d.ts +3 -2
  574. package/lib/typescript/src/components/Switch.d.ts.map +1 -0
  575. package/lib/typescript/src/components/Text.d.ts +4 -2
  576. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  577. package/lib/typescript/src/components/TextField.d.ts +4 -2
  578. package/lib/typescript/src/components/TextField.d.ts.map +1 -0
  579. package/lib/typescript/src/components/Touchable.d.ts +2 -1
  580. package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
  581. package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
  582. package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
  583. package/lib/typescript/src/constants.d.ts +1 -0
  584. package/lib/typescript/src/constants.d.ts.map +1 -0
  585. package/lib/typescript/src/hooks.d.ts +1 -0
  586. package/lib/typescript/src/hooks.d.ts.map +1 -0
  587. package/lib/typescript/src/index.d.ts +14 -40
  588. package/lib/typescript/src/index.d.ts.map +1 -0
  589. package/lib/typescript/src/interfaces/Icon.d.ts +3 -2
  590. package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
  591. package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
  592. package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
  593. package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
  594. package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
  595. package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
  596. package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
  597. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
  598. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
  599. package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
  600. package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
  601. package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
  602. package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
  603. package/lib/typescript/src/mappings/AudioPlayer.d.ts +1 -0
  604. package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
  605. package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
  606. package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
  607. package/lib/typescript/src/mappings/Button.d.ts +1 -0
  608. package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
  609. package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
  610. package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
  611. package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
  612. package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
  613. package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
  614. package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
  615. package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
  616. package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
  617. package/lib/typescript/src/mappings/DatePicker.d.ts +1 -0
  618. package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
  619. package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
  620. package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
  621. package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
  622. package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
  623. package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
  624. package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
  625. package/lib/typescript/src/mappings/Icon.d.ts +1 -0
  626. package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
  627. package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
  628. package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
  629. package/lib/typescript/src/mappings/Image.d.ts +1 -0
  630. package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
  631. package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
  632. package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
  633. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
  634. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
  635. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
  636. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
  637. package/lib/typescript/src/mappings/Layout.d.ts +1 -0
  638. package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
  639. package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
  640. package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
  641. package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
  642. package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
  643. package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
  644. package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
  645. package/lib/typescript/src/mappings/MapView.d.ts +1 -0
  646. package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
  647. package/lib/typescript/src/mappings/Modal.d.ts +1 -0
  648. package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
  649. package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
  650. package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
  651. package/lib/typescript/src/mappings/Picker.d.ts +1 -0
  652. package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
  653. package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
  654. package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
  655. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
  656. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
  657. package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
  658. package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
  659. package/lib/typescript/src/mappings/SVG.d.ts +1 -0
  660. package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
  661. package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
  662. package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
  663. package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
  664. package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
  665. package/lib/typescript/src/mappings/Slider.d.ts +1 -0
  666. package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
  667. package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
  668. package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
  669. package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
  670. package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
  671. package/lib/typescript/src/mappings/Surface.d.ts +1 -0
  672. package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
  673. package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
  674. package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
  675. package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
  676. package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
  677. package/lib/typescript/src/mappings/Switch.d.ts +1 -0
  678. package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
  679. package/lib/typescript/src/mappings/Text.d.ts +1 -0
  680. package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
  681. package/lib/typescript/src/mappings/TextArea.d.ts +1 -0
  682. package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
  683. package/lib/typescript/src/mappings/TextField.d.ts +3 -2
  684. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
  685. package/lib/typescript/src/mappings/TextInput.d.ts +2 -1
  686. package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
  687. package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
  688. package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
  689. package/lib/typescript/src/mappings/Video.d.ts +1 -0
  690. package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
  691. package/lib/typescript/src/mappings/View.d.ts +1 -0
  692. package/lib/typescript/src/mappings/View.d.ts.map +1 -0
  693. package/lib/typescript/src/mappings/WebView.d.ts +1 -0
  694. package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
  695. package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
  696. package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
  697. package/lib/typescript/src/styles/DefaultTheme.d.ts +2 -1
  698. package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
  699. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  700. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  701. package/lib/typescript/src/styles/overlay.d.ts +1 -0
  702. package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
  703. package/lib/typescript/src/styles/shadow.d.ts +1 -0
  704. package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
  705. package/lib/typescript/src/theming.d.ts +1 -0
  706. package/lib/typescript/src/theming.d.ts.map +1 -0
  707. package/lib/typescript/src/utilities.d.ts +1 -0
  708. package/lib/typescript/src/utilities.d.ts.map +1 -0
  709. package/package.json +3 -5
  710. package/src/components/Text.js +8 -2
  711. package/src/components/Text.tsx +6 -1
  712. package/src/components/TextField.js +6 -1
  713. package/src/components/TextField.tsx +7 -1
  714. package/src/index.js +22 -42
  715. package/src/index.tsx +36 -52
  716. package/src/mappings/TextField.js +1 -1
  717. package/src/mappings/TextField.ts +1 -1
  718. package/src/mappings/TextInput.js +1 -1
  719. package/src/mappings/TextInput.ts +1 -1
  720. package/src/mappings/Touchable.js +1 -1
  721. package/src/mappings/Touchable.ts +1 -1
  722. package/lib/commonjs/components/AnimatedCircularProgress.js +0 -81
  723. package/lib/commonjs/components/AspectRatio.js +0 -60
  724. package/lib/commonjs/components/AvatarEdit.js +0 -71
  725. package/lib/commonjs/components/Banner.js +0 -181
  726. package/lib/commonjs/components/Card.js +0 -151
  727. package/lib/commonjs/components/CardBlock.js +0 -121
  728. package/lib/commonjs/components/CardContainer.js +0 -147
  729. package/lib/commonjs/components/CardContainerRating.js +0 -151
  730. package/lib/commonjs/components/CardContainerShortImage.js +0 -96
  731. package/lib/commonjs/components/CardInline.js +0 -104
  732. package/lib/commonjs/components/Carousel.js +0 -147
  733. package/lib/commonjs/components/CircleImage.js +0 -44
  734. package/lib/commonjs/components/CircularProgress.js +0 -122
  735. package/lib/commonjs/components/Container.js +0 -104
  736. package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -51
  737. package/lib/commonjs/components/DeprecatedFAB.js +0 -184
  738. package/lib/commonjs/components/Divider.js +0 -39
  739. package/lib/commonjs/components/FAB.js +0 -92
  740. package/lib/commonjs/components/FieldSearchBarFull.js +0 -115
  741. package/lib/commonjs/components/Header.js +0 -95
  742. package/lib/commonjs/components/HeaderLarge.js +0 -47
  743. package/lib/commonjs/components/HeaderMedium.js +0 -47
  744. package/lib/commonjs/components/HeaderOverline.js +0 -48
  745. package/lib/commonjs/components/Image.js +0 -98
  746. package/lib/commonjs/components/Justification.js +0 -5
  747. package/lib/commonjs/components/Markdown.js +0 -33
  748. package/lib/commonjs/components/ProgressBar.js +0 -178
  749. package/lib/commonjs/components/ProgressCircle.js +0 -58
  750. package/lib/commonjs/components/ProgressIndicator.js +0 -64
  751. package/lib/commonjs/components/ResizeMode.js +0 -5
  752. package/lib/commonjs/components/Row.js +0 -84
  753. package/lib/commonjs/components/RowBodyIcon.js +0 -55
  754. package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -54
  755. package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -61
  756. package/lib/commonjs/components/StepIndicator.js +0 -419
  757. package/lib/commonjs/components/ToggleButton.js +0 -85
  758. package/lib/commonjs/components/Typography.js +0 -63
  759. package/lib/commonjs/components/useAuthState.js +0 -37
  760. package/lib/commonjs/mappings/AvatarEdit.js +0 -47
  761. package/lib/commonjs/mappings/Banner.js +0 -41
  762. package/lib/commonjs/mappings/Card.js +0 -61
  763. package/lib/commonjs/mappings/CardBlock.js +0 -125
  764. package/lib/commonjs/mappings/CardContainer.js +0 -110
  765. package/lib/commonjs/mappings/CardContainerRating.js +0 -130
  766. package/lib/commonjs/mappings/CardContainerShortImage.js +0 -126
  767. package/lib/commonjs/mappings/CardInline.js +0 -61
  768. package/lib/commonjs/mappings/Carousel.js +0 -26
  769. package/lib/commonjs/mappings/CircleImage.js +0 -34
  770. package/lib/commonjs/mappings/Container.js +0 -39
  771. package/lib/commonjs/mappings/Divider.js +0 -34
  772. package/lib/commonjs/mappings/FAB.js +0 -46
  773. package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -57
  774. package/lib/commonjs/mappings/HeaderLarge.js +0 -36
  775. package/lib/commonjs/mappings/HeaderMedium.js +0 -62
  776. package/lib/commonjs/mappings/HeaderOverline.js +0 -62
  777. package/lib/commonjs/mappings/Markdown.js +0 -23
  778. package/lib/commonjs/mappings/ProgressBar.js +0 -108
  779. package/lib/commonjs/mappings/ProgressCircle.js +0 -118
  780. package/lib/commonjs/mappings/ProgressIndicator.js +0 -190
  781. package/lib/commonjs/mappings/RowBodyIcon.js +0 -81
  782. package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -171
  783. package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -95
  784. package/lib/commonjs/mappings/ToggleButton.js +0 -55
  785. package/lib/module/components/AnimatedCircularProgress.js +0 -62
  786. package/lib/module/components/AspectRatio.js +0 -48
  787. package/lib/module/components/AvatarEdit.js +0 -52
  788. package/lib/module/components/Banner.js +0 -158
  789. package/lib/module/components/Card.js +0 -130
  790. package/lib/module/components/CardBlock.js +0 -104
  791. package/lib/module/components/CardContainer.js +0 -128
  792. package/lib/module/components/CardContainerRating.js +0 -131
  793. package/lib/module/components/CardContainerShortImage.js +0 -79
  794. package/lib/module/components/CardInline.js +0 -84
  795. package/lib/module/components/Carousel.js +0 -125
  796. package/lib/module/components/CircleImage.js +0 -28
  797. package/lib/module/components/CircularProgress.js +0 -110
  798. package/lib/module/components/Container.js +0 -86
  799. package/lib/module/components/DeprecatedCardWrapper.js +0 -38
  800. package/lib/module/components/DeprecatedFAB.js +0 -161
  801. package/lib/module/components/Divider.js +0 -24
  802. package/lib/module/components/FAB.js +0 -76
  803. package/lib/module/components/FieldSearchBarFull.js +0 -96
  804. package/lib/module/components/Header.js +0 -74
  805. package/lib/module/components/HeaderLarge.js +0 -30
  806. package/lib/module/components/HeaderMedium.js +0 -30
  807. package/lib/module/components/HeaderOverline.js +0 -31
  808. package/lib/module/components/Image.js +0 -84
  809. package/lib/module/components/Justification.js +0 -1
  810. package/lib/module/components/Markdown.js +0 -18
  811. package/lib/module/components/ProgressBar.js +0 -161
  812. package/lib/module/components/ProgressCircle.js +0 -40
  813. package/lib/module/components/ProgressIndicator.js +0 -47
  814. package/lib/module/components/ResizeMode.js +0 -1
  815. package/lib/module/components/Row.js +0 -65
  816. package/lib/module/components/RowBodyIcon.js +0 -37
  817. package/lib/module/components/RowHeadlineImageCaption.js +0 -36
  818. package/lib/module/components/RowHeadlineImageIcon.js +0 -43
  819. package/lib/module/components/StepIndicator.js +0 -401
  820. package/lib/module/components/ToggleButton.js +0 -66
  821. package/lib/module/components/Typography.js +0 -48
  822. package/lib/module/components/useAuthState.js +0 -23
  823. package/lib/module/mappings/AvatarEdit.js +0 -38
  824. package/lib/module/mappings/Banner.js +0 -32
  825. package/lib/module/mappings/Card.js +0 -52
  826. package/lib/module/mappings/CardBlock.js +0 -116
  827. package/lib/module/mappings/CardContainer.js +0 -101
  828. package/lib/module/mappings/CardContainerRating.js +0 -121
  829. package/lib/module/mappings/CardContainerShortImage.js +0 -117
  830. package/lib/module/mappings/CardInline.js +0 -52
  831. package/lib/module/mappings/Carousel.js +0 -17
  832. package/lib/module/mappings/CircleImage.js +0 -25
  833. package/lib/module/mappings/Container.js +0 -30
  834. package/lib/module/mappings/Divider.js +0 -25
  835. package/lib/module/mappings/FAB.js +0 -37
  836. package/lib/module/mappings/FieldSearchBarFull.js +0 -48
  837. package/lib/module/mappings/HeaderLarge.js +0 -27
  838. package/lib/module/mappings/HeaderMedium.js +0 -53
  839. package/lib/module/mappings/HeaderOverline.js +0 -53
  840. package/lib/module/mappings/Markdown.js +0 -14
  841. package/lib/module/mappings/ProgressBar.js +0 -99
  842. package/lib/module/mappings/ProgressCircle.js +0 -109
  843. package/lib/module/mappings/ProgressIndicator.js +0 -181
  844. package/lib/module/mappings/RowBodyIcon.js +0 -72
  845. package/lib/module/mappings/RowHeadlineImageCaption.js +0 -162
  846. package/lib/module/mappings/RowHeadlineImageIcon.js +0 -86
  847. package/lib/module/mappings/ToggleButton.js +0 -46
  848. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -13
  849. package/lib/typescript/src/components/AspectRatio.d.ts +0 -8
  850. package/lib/typescript/src/components/AvatarEdit.d.ts +0 -15
  851. package/lib/typescript/src/components/Banner.d.ts +0 -22
  852. package/lib/typescript/src/components/Card.d.ts +0 -42
  853. package/lib/typescript/src/components/CardBlock.d.ts +0 -20
  854. package/lib/typescript/src/components/CardContainer.d.ts +0 -22
  855. package/lib/typescript/src/components/CardContainerRating.d.ts +0 -23
  856. package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -18
  857. package/lib/typescript/src/components/CardInline.d.ts +0 -19
  858. package/lib/typescript/src/components/Carousel.d.ts +0 -14
  859. package/lib/typescript/src/components/CircleImage.d.ts +0 -9
  860. package/lib/typescript/src/components/CircularProgress.d.ts +0 -42
  861. package/lib/typescript/src/components/Container.d.ts +0 -20
  862. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -14
  863. package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -55
  864. package/lib/typescript/src/components/Divider.d.ts +0 -12
  865. package/lib/typescript/src/components/FAB.d.ts +0 -19
  866. package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -19
  867. package/lib/typescript/src/components/Header.d.ts +0 -19
  868. package/lib/typescript/src/components/HeaderLarge.d.ts +0 -16
  869. package/lib/typescript/src/components/HeaderMedium.d.ts +0 -16
  870. package/lib/typescript/src/components/HeaderOverline.d.ts +0 -16
  871. package/lib/typescript/src/components/Image.d.ts +0 -4
  872. package/lib/typescript/src/components/Justification.d.ts +0 -1
  873. package/lib/typescript/src/components/Markdown.d.ts +0 -6
  874. package/lib/typescript/src/components/ProgressBar.d.ts +0 -34
  875. package/lib/typescript/src/components/ProgressCircle.d.ts +0 -20
  876. package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -23
  877. package/lib/typescript/src/components/ResizeMode.d.ts +0 -1
  878. package/lib/typescript/src/components/Row.d.ts +0 -20
  879. package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -15
  880. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -15
  881. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -17
  882. package/lib/typescript/src/components/StepIndicator.d.ts +0 -53
  883. package/lib/typescript/src/components/ToggleButton.d.ts +0 -24
  884. package/lib/typescript/src/components/Typography.d.ts +0 -21
  885. package/lib/typescript/src/components/useAuthState.d.ts +0 -1
  886. package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -37
  887. package/lib/typescript/src/mappings/Banner.d.ts +0 -48
  888. package/lib/typescript/src/mappings/Card.d.ts +0 -113
  889. package/lib/typescript/src/mappings/CardBlock.d.ts +0 -288
  890. package/lib/typescript/src/mappings/CardContainer.d.ts +0 -101
  891. package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -107
  892. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -138
  893. package/lib/typescript/src/mappings/CardInline.d.ts +0 -61
  894. package/lib/typescript/src/mappings/Carousel.d.ts +0 -33
  895. package/lib/typescript/src/mappings/CircleImage.d.ts +0 -33
  896. package/lib/typescript/src/mappings/Container.d.ts +0 -54
  897. package/lib/typescript/src/mappings/Divider.d.ts +0 -24
  898. package/lib/typescript/src/mappings/FAB.d.ts +0 -82
  899. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -55
  900. package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -33
  901. package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -52
  902. package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -52
  903. package/lib/typescript/src/mappings/Markdown.d.ts +0 -9
  904. package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -98
  905. package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -108
  906. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -180
  907. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -72
  908. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -165
  909. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -169
  910. package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -115
  911. package/src/components/AnimatedCircularProgress.js +0 -43
  912. package/src/components/AnimatedCircularProgress.tsx +0 -101
  913. package/src/components/AspectRatio.js +0 -18
  914. package/src/components/AspectRatio.tsx +0 -40
  915. package/src/components/AvatarEdit.js +0 -30
  916. package/src/components/AvatarEdit.tsx +0 -64
  917. package/src/components/Banner.js +0 -109
  918. package/src/components/Banner.tsx +0 -204
  919. package/src/components/Card.js +0 -57
  920. package/src/components/Card.tsx +0 -161
  921. package/src/components/CardBlock.js +0 -54
  922. package/src/components/CardBlock.tsx +0 -127
  923. package/src/components/CardContainer.js +0 -69
  924. package/src/components/CardContainer.tsx +0 -165
  925. package/src/components/CardContainerRating.js +0 -79
  926. package/src/components/CardContainerRating.tsx +0 -175
  927. package/src/components/CardContainerShortImage.js +0 -33
  928. package/src/components/CardContainerShortImage.tsx +0 -101
  929. package/src/components/CardInline.js +0 -36
  930. package/src/components/CardInline.tsx +0 -93
  931. package/src/components/Carousel.js +0 -68
  932. package/src/components/Carousel.tsx +0 -134
  933. package/src/components/CircleImage.js +0 -8
  934. package/src/components/CircleImage.tsx +0 -33
  935. package/src/components/CircularProgress.js +0 -81
  936. package/src/components/CircularProgress.tsx +0 -188
  937. package/src/components/Container.js +0 -43
  938. package/src/components/Container.tsx +0 -116
  939. package/src/components/DeprecatedCardWrapper.js +0 -18
  940. package/src/components/DeprecatedCardWrapper.tsx +0 -46
  941. package/src/components/DeprecatedFAB.js +0 -115
  942. package/src/components/DeprecatedFAB.tsx +0 -231
  943. package/src/components/Divider.js +0 -13
  944. package/src/components/Divider.tsx +0 -32
  945. package/src/components/FAB.js +0 -46
  946. package/src/components/FAB.tsx +0 -108
  947. package/src/components/FieldSearchBarFull.js +0 -53
  948. package/src/components/FieldSearchBarFull.tsx +0 -126
  949. package/src/components/Header.js +0 -44
  950. package/src/components/Header.tsx +0 -105
  951. package/src/components/HeaderLarge.js +0 -7
  952. package/src/components/HeaderLarge.tsx +0 -40
  953. package/src/components/HeaderMedium.js +0 -7
  954. package/src/components/HeaderMedium.tsx +0 -41
  955. package/src/components/HeaderOverline.js +0 -7
  956. package/src/components/HeaderOverline.tsx +0 -42
  957. package/src/components/Image.js +0 -47
  958. package/src/components/Image.tsx +0 -91
  959. package/src/components/Justification.js +0 -1
  960. package/src/components/Justification.ts +0 -8
  961. package/src/components/Markdown.js +0 -12
  962. package/src/components/Markdown.tsx +0 -25
  963. package/src/components/ProgressBar.js +0 -118
  964. package/src/components/ProgressBar.tsx +0 -191
  965. package/src/components/ProgressCircle.js +0 -13
  966. package/src/components/ProgressCircle.tsx +0 -64
  967. package/src/components/ProgressIndicator.js +0 -27
  968. package/src/components/ProgressIndicator.tsx +0 -71
  969. package/src/components/ResizeMode.js +0 -1
  970. package/src/components/ResizeMode.ts +0 -7
  971. package/src/components/Row.js +0 -48
  972. package/src/components/Row.tsx +0 -108
  973. package/src/components/RowBodyIcon.js +0 -8
  974. package/src/components/RowBodyIcon.tsx +0 -47
  975. package/src/components/RowHeadlineImageCaption.js +0 -12
  976. package/src/components/RowHeadlineImageCaption.tsx +0 -49
  977. package/src/components/RowHeadlineImageIcon.js +0 -14
  978. package/src/components/RowHeadlineImageIcon.tsx +0 -61
  979. package/src/components/StepIndicator.js +0 -346
  980. package/src/components/StepIndicator.tsx +0 -494
  981. package/src/components/ToggleButton.js +0 -39
  982. package/src/components/ToggleButton.tsx +0 -94
  983. package/src/components/Typography.js +0 -36
  984. package/src/components/Typography.tsx +0 -67
  985. package/src/components/useAuthState.js +0 -31
  986. package/src/components/useAuthState.tsx +0 -38
  987. package/src/mappings/AvatarEdit.js +0 -38
  988. package/src/mappings/AvatarEdit.ts +0 -45
  989. package/src/mappings/Banner.js +0 -32
  990. package/src/mappings/Banner.ts +0 -40
  991. package/src/mappings/Card.js +0 -52
  992. package/src/mappings/Card.ts +0 -64
  993. package/src/mappings/CardBlock.js +0 -123
  994. package/src/mappings/CardBlock.ts +0 -136
  995. package/src/mappings/CardContainer.js +0 -104
  996. package/src/mappings/CardContainer.ts +0 -116
  997. package/src/mappings/CardContainerRating.js +0 -126
  998. package/src/mappings/CardContainerRating.ts +0 -137
  999. package/src/mappings/CardContainerShortImage.js +0 -120
  1000. package/src/mappings/CardContainerShortImage.ts +0 -130
  1001. package/src/mappings/CardInline.js +0 -52
  1002. package/src/mappings/CardInline.ts +0 -61
  1003. package/src/mappings/Carousel.js +0 -19
  1004. package/src/mappings/Carousel.ts +0 -25
  1005. package/src/mappings/CircleImage.js +0 -25
  1006. package/src/mappings/CircleImage.ts +0 -33
  1007. package/src/mappings/Container.js +0 -30
  1008. package/src/mappings/Container.ts +0 -41
  1009. package/src/mappings/Divider.js +0 -27
  1010. package/src/mappings/Divider.ts +0 -34
  1011. package/src/mappings/FAB.js +0 -37
  1012. package/src/mappings/FAB.ts +0 -48
  1013. package/src/mappings/FieldSearchBarFull.js +0 -50
  1014. package/src/mappings/FieldSearchBarFull.ts +0 -59
  1015. package/src/mappings/HeaderLarge.js +0 -29
  1016. package/src/mappings/HeaderLarge.ts +0 -38
  1017. package/src/mappings/HeaderMedium.js +0 -55
  1018. package/src/mappings/HeaderMedium.ts +0 -63
  1019. package/src/mappings/HeaderOverline.js +0 -55
  1020. package/src/mappings/HeaderOverline.ts +0 -63
  1021. package/src/mappings/Markdown.js +0 -14
  1022. package/src/mappings/Markdown.ts +0 -15
  1023. package/src/mappings/ProgressBar.js +0 -101
  1024. package/src/mappings/ProgressBar.ts +0 -110
  1025. package/src/mappings/ProgressCircle.js +0 -109
  1026. package/src/mappings/ProgressCircle.ts +0 -117
  1027. package/src/mappings/ProgressIndicator.js +0 -181
  1028. package/src/mappings/ProgressIndicator.ts +0 -190
  1029. package/src/mappings/RowBodyIcon.js +0 -75
  1030. package/src/mappings/RowBodyIcon.ts +0 -82
  1031. package/src/mappings/RowHeadlineImageCaption.js +0 -167
  1032. package/src/mappings/RowHeadlineImageCaption.ts +0 -178
  1033. package/src/mappings/RowHeadlineImageIcon.js +0 -99
  1034. package/src/mappings/RowHeadlineImageIcon.ts +0 -116
  1035. package/src/mappings/ToggleButton.js +0 -50
  1036. package/src/mappings/ToggleButton.ts +0 -63
@@ -1,104 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _theming = require("../theming");
13
-
14
- var _Elevation = _interopRequireDefault(require("./Elevation"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- 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); }
19
-
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
-
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
- const Container = _ref => {
25
- let {
26
- useThemeGutterPadding,
27
- borderColor,
28
- borderWidth,
29
- backgroundColor,
30
- backgroundImage,
31
- backgroundImageResizeMode,
32
- elevation,
33
- style,
34
- children,
35
- theme,
36
- // eslint-disable-line @typescript-eslint/no-unused-vars
37
- ...rest
38
- } = _ref;
39
- const {
40
- flex,
41
- flexGrow,
42
- flexWrap,
43
- flexBasis,
44
- flexShrink,
45
- flexDirection,
46
- alignContent,
47
- justifyContent,
48
- alignItems,
49
- padding,
50
- paddingTop,
51
- paddingBottom,
52
- paddingLeft,
53
- paddingRight,
54
- paddingVertical,
55
- paddingHorizontal,
56
- ...styleProp
57
- } = _reactNative.StyleSheet.flatten(style) || {};
58
- const containerStyle = {
59
- backgroundColor,
60
- borderColor,
61
- borderWidth,
62
- width: "100%",
63
- ...styleProp
64
- };
65
- const innerStyle = {
66
- flex,
67
- flexGrow,
68
- flexWrap,
69
- flexBasis,
70
- flexShrink,
71
- flexDirection,
72
- alignContent,
73
- justifyContent,
74
- alignItems,
75
- padding,
76
- paddingTop,
77
- paddingBottom,
78
- paddingLeft,
79
- paddingRight,
80
- paddingVertical,
81
- paddingHorizontal: paddingHorizontal || useThemeGutterPadding ? 16 : 0
82
- };
83
- const Wrap = elevation ? _Elevation.default : _reactNative.View;
84
- if (elevation) containerStyle.elevation = elevation;
85
- return /*#__PURE__*/React.createElement(Wrap, _extends({
86
- style: [containerStyle, style]
87
- }, rest), backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
88
- source: typeof backgroundImage === "string" ? {
89
- uri: backgroundImage
90
- } : backgroundImage,
91
- resizeMode: backgroundImageResizeMode,
92
- style: {
93
- flex: 1
94
- }
95
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
96
- style: innerStyle
97
- }, children)) : /*#__PURE__*/React.createElement(_reactNative.View, {
98
- style: innerStyle
99
- }, children));
100
- };
101
-
102
- var _default = (0, _theming.withTheme)(Container);
103
-
104
- exports.default = _default;
@@ -1,51 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _theming = require("../theming");
11
-
12
- var _Touchable = _interopRequireDefault(require("./Touchable"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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
- const getWidth = numColumns => {
19
- switch (numColumns) {
20
- case 1:
21
- return "33%";
22
-
23
- case 2:
24
- return "50%";
25
-
26
- default:
27
- return "100%";
28
- }
29
- };
30
-
31
- const Card = _ref => {
32
- let {
33
- numColumns = 3,
34
- children,
35
- onPress,
36
- style,
37
- ...rest
38
- } = _ref;
39
- const width = getWidth(numColumns);
40
- return /*#__PURE__*/_react.default.createElement(_Touchable.default, _extends({
41
- disabled: !onPress,
42
- onPress: onPress,
43
- style: [style, {
44
- width
45
- }]
46
- }, rest), children);
47
- };
48
-
49
- var _default = (0, _theming.withTheme)(Card);
50
-
51
- exports.default = _default;
@@ -1,184 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _color = _interopRequireDefault(require("color"));
13
-
14
- var _Config = _interopRequireDefault(require("./Config"));
15
-
16
- var _Text = _interopRequireDefault(require("./Text"));
17
-
18
- var _Touchable = _interopRequireDefault(require("./Touchable"));
19
-
20
- var _Elevation = _interopRequireDefault(require("./Elevation"));
21
-
22
- var _theming = require("../theming");
23
-
24
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
-
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); }
27
-
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
-
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
- const FAB = _ref => {
33
- let {
34
- Icon,
35
- icon,
36
- disabled = false,
37
- type = "solid",
38
- loading = false,
39
- color: colorOverride,
40
- label,
41
- onPress,
42
- elevation = 0,
43
- style,
44
- theme: {
45
- colors,
46
- disabledOpacity,
47
- roundness,
48
- typography
49
- },
50
- ...rest
51
- } = _ref;
52
- let backgroundColor, borderColor, textColor, borderWidth;
53
- const buttonColor = colorOverride || colors.primary;
54
-
55
- if (type === "standard" || type === "extended" || type === "fixed") {
56
- backgroundColor = buttonColor;
57
-
58
- if (disabled) {
59
- textColor = (0, _color.default)(colors.surface).alpha(disabledOpacity).rgb().string();
60
- } else {
61
- textColor = colors.surface;
62
- }
63
- } else {
64
- backgroundColor = "transparent";
65
-
66
- if (disabled) {
67
- textColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
68
- } else {
69
- textColor = buttonColor;
70
- }
71
- }
72
-
73
- if (type === "outline") {
74
- if (disabled) {
75
- borderColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
76
- } else {
77
- borderColor = buttonColor;
78
- }
79
-
80
- borderWidth = _reactNative.StyleSheet.hairlineWidth;
81
- } else {
82
- borderColor = "transparent";
83
- borderWidth = 0;
84
- }
85
-
86
- const buttonStyle = {
87
- backgroundColor,
88
- borderColor,
89
- borderWidth,
90
- borderRadius: roundness,
91
- alignItems: "center",
92
- justifyContent: "center"
93
- };
94
- const buttonStyles = [styles.button, buttonStyle];
95
- const contentStyle = [styles.content];
96
- const textStyle = {
97
- textAlign: "center",
98
- color: textColor
99
- };
100
- const iconStyle = [styles.icon, {
101
- width: _Config.default.buttonIconSize
102
- }];
103
-
104
- if (type === "standard" || type === "outline") {
105
- buttonStyle.width = _Config.default.FABSize;
106
- buttonStyle.height = _Config.default.FABSize;
107
- buttonStyle.borderRadius = _Config.default.FABBorderRadius;
108
- contentStyle.push({
109
- width: _Config.default.FABSize,
110
- height: _Config.default.FABSize
111
- });
112
- }
113
-
114
- if (type === "extended" || type === "fixed") {
115
- iconStyle.push({
116
- marginLeft: 16,
117
- marginRight: -8
118
- });
119
- textStyle.margin = 16;
120
- }
121
-
122
- if (type === "fixed") {
123
- buttonStyles.push({
124
- height: _Config.default.FABFixedHeight,
125
- alignSelf: "stretch"
126
- });
127
- }
128
-
129
- return /*#__PURE__*/React.createElement(_Elevation.default, {
130
- style: [{
131
- elevation
132
- }, style]
133
- }, /*#__PURE__*/React.createElement(_Touchable.default, _extends({}, rest, {
134
- onPress: onPress,
135
- accessibilityState: {
136
- disabled
137
- },
138
- accessibilityRole: "button",
139
- disabled: disabled || loading,
140
- style: buttonStyles
141
- }), /*#__PURE__*/React.createElement(_reactNative.View, {
142
- style: styles.content
143
- }, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
144
- style: iconStyle
145
- }, /*#__PURE__*/React.createElement(Icon, {
146
- name: icon,
147
- size: _Config.default.buttonIconSize,
148
- color: textColor
149
- })) : null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
150
- size: "small",
151
- color: textColor,
152
- style: iconStyle
153
- }) : null, label ? /*#__PURE__*/React.createElement(_Text.default, {
154
- numberOfLines: 1,
155
- style: [textStyle, typography.button]
156
- }, label) : null)));
157
- };
158
-
159
- const styles = _reactNative.StyleSheet.create({
160
- button: {
161
- borderStyle: "solid"
162
- },
163
- content: {
164
- flexDirection: "row",
165
- alignItems: "center",
166
- justifyContent: "center"
167
- },
168
- icon: {
169
- alignItems: "center",
170
- justifyContent: "center",
171
- width: _Config.default.buttonIconSize
172
- },
173
- fixed: {
174
- left: 0,
175
- right: 0,
176
- bottom: 0,
177
- height: 64,
178
- borderRadius: 0
179
- }
180
- });
181
-
182
- var _default = (0, _theming.withTheme)(FAB);
183
-
184
- exports.default = _default;
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _theming = require("../theming");
13
-
14
- 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); }
15
-
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
-
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
- const Divider = _ref => {
21
- let {
22
- style,
23
- color,
24
- theme: {
25
- colors
26
- },
27
- ...rest
28
- } = _ref;
29
- return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
30
- style: [{
31
- backgroundColor: color || colors.divider,
32
- height: _reactNative.StyleSheet.hairlineWidth
33
- }, style]
34
- }, rest));
35
- };
36
-
37
- var _default = (0, _theming.withTheme)(Divider);
38
-
39
- exports.default = _default;
@@ -1,92 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _theming = require("../theming");
13
-
14
- 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); }
15
-
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
-
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
- const FAB = _ref => {
21
- let {
22
- onPress,
23
- disabled,
24
- loading,
25
- iconName = "MaterialIcons/add",
26
- style,
27
- theme,
28
- iconColor,
29
- bgColor,
30
- size = 50,
31
- Icon,
32
- ...props
33
- } = _ref;
34
- const backgroundColor = bgColor || theme.colors.primary;
35
- const color = iconColor || "#FFF";
36
- return /*#__PURE__*/React.createElement(_reactNative.View, {
37
- style: [{
38
- width: size,
39
- height: size,
40
- borderRadius: size / 2,
41
- overflow: "hidden"
42
- }, style]
43
- }, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
44
- onPress: onPress,
45
- disabled: loading || disabled,
46
- android_ripple: {
47
- color: "#333",
48
- radius: size / 4
49
- },
50
- style: _ref2 => {
51
- let {
52
- pressed
53
- } = _ref2;
54
- return [styles.button, {
55
- opacity: pressed || disabled ? 0.75 : 1,
56
- width: size,
57
- height: size,
58
- borderRadius: size / 2,
59
- backgroundColor
60
- }];
61
- }
62
- }, props), /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
63
- style: size > 50 ? {
64
- marginTop: 2,
65
- marginLeft: 2
66
- } : undefined,
67
- size: size <= 50 ? "small" : "large",
68
- color: color
69
- }) : /*#__PURE__*/React.createElement(Icon, {
70
- name: iconName,
71
- size: size,
72
- color: color
73
- }))));
74
- };
75
-
76
- const styles = _reactNative.StyleSheet.create({
77
- button: {
78
- backgroundColor: "#5a45ff",
79
- justifyContent: "center",
80
- alignItems: "center",
81
- ..._reactNative.Platform.select({
82
- web: {
83
- cursor: "pointer",
84
- userSelect: "none"
85
- }
86
- })
87
- }
88
- });
89
-
90
- var _default = (0, _theming.withTheme)(FAB);
91
-
92
- exports.default = _default;
@@ -1,115 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _theming = require("../theming");
13
-
14
- var _Config = _interopRequireDefault(require("./Config"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- 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); }
19
-
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
-
22
- const FieldSearchBarFull = _ref => {
23
- let {
24
- showIcon,
25
- Icon,
26
- icon = "search",
27
- placeholder = "",
28
- style,
29
- theme: {
30
- colors,
31
- typography
32
- },
33
- onChange: changeOverride,
34
- onSubmit: submitOverride,
35
- value,
36
- defaultValue
37
- } = _ref;
38
- const [focused, setIsFocused] = React.useState(false);
39
-
40
- const onBlur = () => {
41
- setIsFocused(false);
42
- };
43
-
44
- const [internalValue, setInternalValue] = React.useState(value || defaultValue);
45
- React.useEffect(() => {
46
- if (value != null) {
47
- setInternalValue(value);
48
- }
49
- }, [value]);
50
- React.useEffect(() => {
51
- if (defaultValue != null) {
52
- setInternalValue(defaultValue);
53
- }
54
- }, [defaultValue]);
55
- const onChange = React.useCallback(text => {
56
- changeOverride && changeOverride(text);
57
- }, [changeOverride]);
58
-
59
- const onFocus = () => {
60
- setIsFocused(true);
61
- };
62
-
63
- const onSubmit = e => {
64
- submitOverride && submitOverride(e);
65
- };
66
-
67
- const {
68
- lineHeight,
69
- ...typeStyles
70
- } = typography.body2; // eslint-disable-line @typescript-eslint/no-unused-vars
71
-
72
- const handleChangeText = newValue => {
73
- setInternalValue(newValue);
74
-
75
- if (onChange) {
76
- onChange(newValue);
77
- }
78
- };
79
-
80
- return /*#__PURE__*/React.createElement(_reactNative.View, {
81
- style: [styles.container, style]
82
- }, showIcon && /*#__PURE__*/React.createElement(Icon, {
83
- name: icon,
84
- size: _Config.default.fieldSearchBarFullIconSize,
85
- color: focused ? colors.primary : colors.light
86
- }), /*#__PURE__*/React.createElement(_reactNative.View, {
87
- style: {
88
- marginLeft: showIcon ? 12 : 0,
89
- flex: 1
90
- }
91
- }, /*#__PURE__*/React.createElement(_reactNative.TextInput, {
92
- clearButtonMode: "while-editing",
93
- placeholder: placeholder,
94
- value: internalValue,
95
- onBlur: onBlur,
96
- onFocus: onFocus,
97
- onChangeText: handleChangeText,
98
- onSubmitEditing: onSubmit,
99
- placeholderTextColor: colors.light,
100
- style: [{
101
- color: colors.medium
102
- }, typeStyles]
103
- })));
104
- };
105
-
106
- const styles = _reactNative.StyleSheet.create({
107
- container: {
108
- flexDirection: "row",
109
- alignItems: "center"
110
- }
111
- });
112
-
113
- var _default = (0, _theming.withTheme)(FieldSearchBarFull);
114
-
115
- exports.default = _default;
@@ -1,95 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var React = _interopRequireWildcard(require("react"));
9
-
10
- var _reactNative = require("react-native");
11
-
12
- var _theming = require("../theming");
13
-
14
- var _Divider = _interopRequireDefault(require("./Divider"));
15
-
16
- var _Touchable = _interopRequireDefault(require("./Touchable"));
17
-
18
- var _Config = _interopRequireDefault(require("./Config"));
19
-
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
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); }
23
-
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
-
26
- const Header = _ref => {
27
- let {
28
- Icon,
29
- titleTypeStyle,
30
- titleColor,
31
- title,
32
- buttonText,
33
- dividerTopMargin,
34
- icon,
35
- onPress,
36
- style,
37
- theme: {
38
- colors,
39
- typography
40
- }
41
- } = _ref;
42
- return /*#__PURE__*/React.createElement(_reactNative.View, {
43
- style: [styles.container, style]
44
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
45
- style: styles.topContainer
46
- }, /*#__PURE__*/React.createElement(_reactNative.Text, {
47
- style: [titleTypeStyle, {
48
- color: titleColor,
49
- flex: 1
50
- }],
51
- numberOfLines: 1
52
- }, title), onPress && /*#__PURE__*/React.createElement(_Touchable.default, {
53
- style: {
54
- alignSelf: "center",
55
- marginLeft: 12
56
- },
57
- onPress: onPress
58
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
59
- style: styles.buttonContainer
60
- }, /*#__PURE__*/React.createElement(_reactNative.Text, {
61
- style: [typography.subtitle2, {
62
- color: colors.light,
63
- marginRight: 8
64
- }],
65
- numberOfLines: 1
66
- }, buttonText), /*#__PURE__*/React.createElement(Icon, {
67
- name: icon,
68
- size: _Config.default.headerIconSize,
69
- color: colors.light
70
- })))), /*#__PURE__*/React.createElement(_Divider.default, {
71
- style: {
72
- marginTop: dividerTopMargin || 16
73
- }
74
- }));
75
- };
76
-
77
- const styles = _reactNative.StyleSheet.create({
78
- container: {
79
- alignSelf: "stretch"
80
- },
81
- topContainer: {
82
- flexDirection: "row",
83
- justifyContent: "space-between",
84
- alignItems: "center"
85
- },
86
- buttonContainer: {
87
- flexDirection: "row",
88
- justifyContent: "center",
89
- alignItems: "center"
90
- }
91
- });
92
-
93
- var _default = (0, _theming.withTheme)(Header);
94
-
95
- exports.default = _default;