@draftbit/core 46.4.4-fe82de.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 (1022) hide show
  1. package/lib/commonjs/Provider.js +2 -1
  2. package/lib/commonjs/Provider.js.map +1 -0
  3. package/lib/commonjs/components/Accordion/AccordionGroup.js +2 -1
  4. package/lib/commonjs/components/Accordion/AccordionGroup.js.map +1 -0
  5. package/lib/commonjs/components/Accordion/AccordionItem.js +2 -1
  6. package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -0
  7. package/lib/commonjs/components/Accordion/index.js +2 -1
  8. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  9. package/lib/commonjs/components/ActionSheet/ActionSheet.js +2 -1
  10. package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +1 -0
  11. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +2 -1
  12. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +1 -0
  13. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +2 -1
  14. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +1 -0
  15. package/lib/commonjs/components/ActionSheet/index.js +2 -1
  16. package/lib/commonjs/components/ActionSheet/index.js.map +1 -0
  17. package/lib/commonjs/components/Button.js +2 -1
  18. package/lib/commonjs/components/Button.js.map +1 -0
  19. package/lib/commonjs/components/Checkbox/Checkbox.js +2 -1
  20. package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -0
  21. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +2 -1
  22. package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +1 -0
  23. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +2 -1
  24. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -0
  25. package/lib/commonjs/components/Checkbox/CheckboxRow.js +2 -1
  26. package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -0
  27. package/lib/commonjs/components/Checkbox/context.js +2 -1
  28. package/lib/commonjs/components/Checkbox/context.js.map +1 -0
  29. package/lib/commonjs/components/Checkbox/index.js +2 -1
  30. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  31. package/lib/commonjs/components/Config.js +2 -1
  32. package/lib/commonjs/components/Config.js.map +1 -0
  33. package/lib/commonjs/components/DatePicker/DatePicker.js +10 -18
  34. package/lib/commonjs/components/DatePicker/DatePicker.js.map +1 -0
  35. package/lib/commonjs/components/DatePicker/DatePickerComponent.js +2 -1
  36. package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +1 -0
  37. package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +2 -1
  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 -1
  42. package/lib/commonjs/components/DeprecatedButton.js.map +1 -0
  43. package/lib/commonjs/components/Elevation.js +2 -1
  44. package/lib/commonjs/components/Elevation.js.map +1 -0
  45. package/lib/commonjs/components/FormRow.js +19 -4
  46. package/lib/commonjs/components/FormRow.js.map +1 -0
  47. package/lib/commonjs/components/IconButton.js +2 -1
  48. package/lib/commonjs/components/IconButton.js.map +1 -0
  49. package/lib/commonjs/components/Layout.js +2 -1
  50. package/lib/commonjs/components/Layout.js.map +1 -0
  51. package/lib/commonjs/components/NumberInput.js +2 -1
  52. package/lib/commonjs/components/NumberInput.js.map +1 -0
  53. package/lib/commonjs/components/Picker/Picker.js +2 -1
  54. package/lib/commonjs/components/Picker/Picker.js.map +1 -0
  55. package/lib/commonjs/components/Picker/PickerComponent.android.js +2 -1
  56. package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -0
  57. package/lib/commonjs/components/Picker/PickerComponent.ios.js +32 -12
  58. package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +1 -0
  59. package/lib/commonjs/components/Picker/PickerComponent.web.js +2 -1
  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 +2 -1
  64. package/lib/commonjs/components/Portal/Portal.js.map +1 -0
  65. package/lib/commonjs/components/Portal/PortalConsumer.js +2 -1
  66. package/lib/commonjs/components/Portal/PortalConsumer.js.map +1 -0
  67. package/lib/commonjs/components/Portal/PortalHost.js +47 -16
  68. package/lib/commonjs/components/Portal/PortalHost.js.map +1 -0
  69. package/lib/commonjs/components/Portal/PortalManager.js +2 -1
  70. package/lib/commonjs/components/Portal/PortalManager.js.map +1 -0
  71. package/lib/commonjs/components/RadioButton/RadioButton.js +16 -4
  72. package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -0
  73. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +2 -1
  74. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
  75. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +2 -1
  76. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -0
  77. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +2 -1
  78. package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -0
  79. package/lib/commonjs/components/RadioButton/context.js +2 -1
  80. package/lib/commonjs/components/RadioButton/context.js.map +1 -0
  81. package/lib/commonjs/components/RadioButton/index.js +2 -1
  82. package/lib/commonjs/components/RadioButton/index.js.map +1 -0
  83. package/lib/commonjs/components/SVG.js +2 -1
  84. package/lib/commonjs/components/SVG.js.map +1 -0
  85. package/lib/commonjs/components/ScreenContainer.js +2 -1
  86. package/lib/commonjs/components/ScreenContainer.js.map +1 -0
  87. package/lib/commonjs/components/Slider.js +2 -1
  88. package/lib/commonjs/components/Slider.js.map +1 -0
  89. package/lib/commonjs/components/StarRating.js +2 -1
  90. package/lib/commonjs/components/StarRating.js.map +1 -0
  91. package/lib/commonjs/components/Stepper.js +3 -2
  92. package/lib/commonjs/components/Stepper.js.map +1 -0
  93. package/lib/commonjs/components/Surface.js +15 -3
  94. package/lib/commonjs/components/Surface.js.map +1 -0
  95. package/lib/commonjs/components/Swiper/Swiper.js +2 -1
  96. package/lib/commonjs/components/Swiper/Swiper.js.map +1 -0
  97. package/lib/commonjs/components/Swiper/SwiperItem.js +2 -1
  98. package/lib/commonjs/components/Swiper/SwiperItem.js.map +1 -0
  99. package/lib/commonjs/components/Swiper/index.js +2 -1
  100. package/lib/commonjs/components/Swiper/index.js.map +1 -0
  101. package/lib/commonjs/components/Switch.js +2 -1
  102. package/lib/commonjs/components/Switch.js.map +1 -0
  103. package/lib/commonjs/components/Text.js +2 -1
  104. package/lib/commonjs/components/Text.js.map +1 -0
  105. package/lib/commonjs/components/TextField.js +2 -1
  106. package/lib/commonjs/components/TextField.js.map +1 -0
  107. package/lib/commonjs/components/Touchable.js +2 -1
  108. package/lib/commonjs/components/Touchable.js.map +1 -0
  109. package/lib/commonjs/components/Touchable.web.js +2 -1
  110. package/lib/commonjs/components/Touchable.web.js.map +1 -0
  111. package/lib/commonjs/constants.js +2 -1
  112. package/lib/commonjs/constants.js.map +1 -0
  113. package/lib/commonjs/hooks.js +2 -1
  114. package/lib/commonjs/hooks.js.map +1 -0
  115. package/lib/commonjs/index.js +15 -207
  116. package/lib/commonjs/index.js.map +1 -0
  117. package/lib/commonjs/interfaces/Icon.js +2 -1
  118. package/lib/commonjs/interfaces/Icon.js.map +1 -0
  119. package/lib/commonjs/mappings/Accordion.js +2 -1
  120. package/lib/commonjs/mappings/Accordion.js.map +1 -0
  121. package/lib/commonjs/mappings/AccordionItem.js +2 -1
  122. package/lib/commonjs/mappings/AccordionItem.js.map +1 -0
  123. package/lib/commonjs/mappings/ActionSheet.js +2 -1
  124. package/lib/commonjs/mappings/ActionSheet.js.map +1 -0
  125. package/lib/commonjs/mappings/ActionSheetCancel.js +2 -1
  126. package/lib/commonjs/mappings/ActionSheetCancel.js.map +1 -0
  127. package/lib/commonjs/mappings/ActionSheetItem.js +2 -1
  128. package/lib/commonjs/mappings/ActionSheetItem.js.map +1 -0
  129. package/lib/commonjs/mappings/ActivityIndicator.js +2 -1
  130. package/lib/commonjs/mappings/ActivityIndicator.js.map +1 -0
  131. package/lib/commonjs/mappings/AudioPlayer.js +2 -1
  132. package/lib/commonjs/mappings/AudioPlayer.js.map +1 -0
  133. package/lib/commonjs/mappings/BlurView.js +2 -1
  134. package/lib/commonjs/mappings/BlurView.js.map +1 -0
  135. package/lib/commonjs/mappings/Button.js +2 -1
  136. package/lib/commonjs/mappings/Button.js.map +1 -0
  137. package/lib/commonjs/mappings/Checkbox.js +2 -1
  138. package/lib/commonjs/mappings/Checkbox.js.map +1 -0
  139. package/lib/commonjs/mappings/CheckboxGroup.js +2 -1
  140. package/lib/commonjs/mappings/CheckboxGroup.js.map +1 -0
  141. package/lib/commonjs/mappings/CheckboxRow.js +2 -1
  142. package/lib/commonjs/mappings/CheckboxRow.js.map +1 -0
  143. package/lib/commonjs/mappings/CustomCode.js +2 -1
  144. package/lib/commonjs/mappings/CustomCode.js.map +1 -0
  145. package/lib/commonjs/mappings/DatePicker.js +2 -14
  146. package/lib/commonjs/mappings/DatePicker.js.map +1 -0
  147. package/lib/commonjs/mappings/Fetch.js +2 -1
  148. package/lib/commonjs/mappings/Fetch.js.map +1 -0
  149. package/lib/commonjs/mappings/FlashList.js +2 -1
  150. package/lib/commonjs/mappings/FlashList.js.map +1 -0
  151. package/lib/commonjs/mappings/FlatList.js +2 -1
  152. package/lib/commonjs/mappings/FlatList.js.map +1 -0
  153. package/lib/commonjs/mappings/Icon.js +2 -1
  154. package/lib/commonjs/mappings/Icon.js.map +1 -0
  155. package/lib/commonjs/mappings/IconButton.js +2 -1
  156. package/lib/commonjs/mappings/IconButton.js.map +1 -0
  157. package/lib/commonjs/mappings/Image.js +2 -1
  158. package/lib/commonjs/mappings/Image.js.map +1 -0
  159. package/lib/commonjs/mappings/ImageBackground.js +2 -1
  160. package/lib/commonjs/mappings/ImageBackground.js.map +1 -0
  161. package/lib/commonjs/mappings/KeyboardAvoidingView.js +2 -1
  162. package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +1 -0
  163. package/lib/commonjs/mappings/KeyboardAwareScrollView.js +2 -1
  164. package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -0
  165. package/lib/commonjs/mappings/Layout.js +2 -1
  166. package/lib/commonjs/mappings/Layout.js.map +1 -0
  167. package/lib/commonjs/mappings/LinearGradient.js +2 -1
  168. package/lib/commonjs/mappings/LinearGradient.js.map +1 -0
  169. package/lib/commonjs/mappings/MapCallout.js +2 -1
  170. package/lib/commonjs/mappings/MapCallout.js.map +1 -0
  171. package/lib/commonjs/mappings/MapMarker.js +2 -1
  172. package/lib/commonjs/mappings/MapMarker.js.map +1 -0
  173. package/lib/commonjs/mappings/MapView.js +2 -1
  174. package/lib/commonjs/mappings/MapView.js.map +1 -0
  175. package/lib/commonjs/mappings/Modal.js +2 -1
  176. package/lib/commonjs/mappings/Modal.js.map +1 -0
  177. package/lib/commonjs/mappings/NumberInput.js +2 -1
  178. package/lib/commonjs/mappings/NumberInput.js.map +1 -0
  179. package/lib/commonjs/mappings/Picker.js +2 -1
  180. package/lib/commonjs/mappings/Picker.js.map +1 -0
  181. package/lib/commonjs/mappings/RadioButton.js +2 -1
  182. package/lib/commonjs/mappings/RadioButton.js.map +1 -0
  183. package/lib/commonjs/mappings/RadioButtonGroup.js +2 -1
  184. package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -0
  185. package/lib/commonjs/mappings/RadioButtonRow.js +2 -1
  186. package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -0
  187. package/lib/commonjs/mappings/SVG.js +2 -1
  188. package/lib/commonjs/mappings/SVG.js.map +1 -0
  189. package/lib/commonjs/mappings/SafeAreaView.js +2 -1
  190. package/lib/commonjs/mappings/SafeAreaView.js.map +1 -0
  191. package/lib/commonjs/mappings/ScrollView.js +2 -1
  192. package/lib/commonjs/mappings/ScrollView.js.map +1 -0
  193. package/lib/commonjs/mappings/Slider.js +2 -1
  194. package/lib/commonjs/mappings/Slider.js.map +1 -0
  195. package/lib/commonjs/mappings/StarRating.js +2 -1
  196. package/lib/commonjs/mappings/StarRating.js.map +1 -0
  197. package/lib/commonjs/mappings/Stepper.js +2 -1
  198. package/lib/commonjs/mappings/Stepper.js.map +1 -0
  199. package/lib/commonjs/mappings/Surface.js +2 -1
  200. package/lib/commonjs/mappings/Surface.js.map +1 -0
  201. package/lib/commonjs/mappings/Swiper.js +2 -1
  202. package/lib/commonjs/mappings/Swiper.js.map +1 -0
  203. package/lib/commonjs/mappings/SwiperItem.js +2 -1
  204. package/lib/commonjs/mappings/SwiperItem.js.map +1 -0
  205. package/lib/commonjs/mappings/Switch.js +2 -1
  206. package/lib/commonjs/mappings/Switch.js.map +1 -0
  207. package/lib/commonjs/mappings/Text.js +2 -1
  208. package/lib/commonjs/mappings/Text.js.map +1 -0
  209. package/lib/commonjs/mappings/TextArea.js +2 -1
  210. package/lib/commonjs/mappings/TextArea.js.map +1 -0
  211. package/lib/commonjs/mappings/TextField.js +2 -1
  212. package/lib/commonjs/mappings/TextField.js.map +1 -0
  213. package/lib/commonjs/mappings/TextInput.js +2 -1
  214. package/lib/commonjs/mappings/TextInput.js.map +1 -0
  215. package/lib/commonjs/mappings/Touchable.js +3 -2
  216. package/lib/commonjs/mappings/Touchable.js.map +1 -0
  217. package/lib/commonjs/mappings/Video.js +2 -1
  218. package/lib/commonjs/mappings/Video.js.map +1 -0
  219. package/lib/commonjs/mappings/View.js +2 -1
  220. package/lib/commonjs/mappings/View.js.map +1 -0
  221. package/lib/commonjs/mappings/WebView.js +2 -1
  222. package/lib/commonjs/mappings/WebView.js.map +1 -0
  223. package/lib/commonjs/styles/DarkTheme.js +2 -1
  224. package/lib/commonjs/styles/DarkTheme.js.map +1 -0
  225. package/lib/commonjs/styles/DefaultTheme.js +2 -1
  226. package/lib/commonjs/styles/DefaultTheme.js.map +1 -0
  227. package/lib/commonjs/styles/fonts.js +2 -1
  228. package/lib/commonjs/styles/fonts.js.map +1 -0
  229. package/lib/commonjs/styles/overlay.js +2 -1
  230. package/lib/commonjs/styles/overlay.js.map +1 -0
  231. package/lib/commonjs/styles/shadow.js +2 -1
  232. package/lib/commonjs/styles/shadow.js.map +1 -0
  233. package/lib/commonjs/theming.js +2 -1
  234. package/lib/commonjs/theming.js.map +1 -0
  235. package/lib/commonjs/utilities.js +2 -1
  236. package/lib/commonjs/utilities.js.map +1 -0
  237. package/lib/module/Provider.js +2 -1
  238. package/lib/module/Provider.js.map +1 -0
  239. package/lib/module/components/Accordion/AccordionGroup.js +2 -1
  240. package/lib/module/components/Accordion/AccordionGroup.js.map +1 -0
  241. package/lib/module/components/Accordion/AccordionItem.js +25 -5
  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 -1
  246. package/lib/module/components/ActionSheet/ActionSheet.js.map +1 -0
  247. package/lib/module/components/ActionSheet/ActionSheetCancel.js +2 -1
  248. package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -0
  249. package/lib/module/components/ActionSheet/ActionSheetItem.js +2 -1
  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 +2 -1
  254. package/lib/module/components/Button.js.map +1 -0
  255. package/lib/module/components/Checkbox/Checkbox.js +2 -1
  256. package/lib/module/components/Checkbox/Checkbox.js.map +1 -0
  257. package/lib/module/components/Checkbox/CheckboxGroup.js +2 -1
  258. package/lib/module/components/Checkbox/CheckboxGroup.js.map +1 -0
  259. package/lib/module/components/Checkbox/CheckboxGroupRow.js +2 -1
  260. package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +1 -0
  261. package/lib/module/components/Checkbox/CheckboxRow.js +2 -1
  262. package/lib/module/components/Checkbox/CheckboxRow.js.map +1 -0
  263. package/lib/module/components/Checkbox/context.js +2 -1
  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 +2 -1
  268. package/lib/module/components/Config.js.map +1 -0
  269. package/lib/module/components/DatePicker/DatePicker.js +10 -18
  270. package/lib/module/components/DatePicker/DatePicker.js.map +1 -0
  271. package/lib/module/components/DatePicker/DatePickerComponent.js +2 -1
  272. package/lib/module/components/DatePicker/DatePickerComponent.js.map +1 -0
  273. package/lib/module/components/DatePicker/DatePickerComponent.web.js +2 -1
  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 -1
  278. package/lib/module/components/DeprecatedButton.js.map +1 -0
  279. package/lib/module/components/Elevation.js +2 -1
  280. package/lib/module/components/Elevation.js.map +1 -0
  281. package/lib/module/components/FormRow.js +2 -1
  282. package/lib/module/components/FormRow.js.map +1 -0
  283. package/lib/module/components/IconButton.js +2 -1
  284. package/lib/module/components/IconButton.js.map +1 -0
  285. package/lib/module/components/Layout.js +2 -1
  286. package/lib/module/components/Layout.js.map +1 -0
  287. package/lib/module/components/NumberInput.js +2 -1
  288. package/lib/module/components/NumberInput.js.map +1 -0
  289. package/lib/module/components/Picker/Picker.js +2 -1
  290. package/lib/module/components/Picker/Picker.js.map +1 -0
  291. package/lib/module/components/Picker/PickerComponent.android.js +2 -1
  292. package/lib/module/components/Picker/PickerComponent.android.js.map +1 -0
  293. package/lib/module/components/Picker/PickerComponent.ios.js +2 -1
  294. package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -0
  295. package/lib/module/components/Picker/PickerComponent.web.js +2 -1
  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 +2 -1
  300. package/lib/module/components/Portal/Portal.js.map +1 -0
  301. package/lib/module/components/Portal/PortalConsumer.js +2 -1
  302. package/lib/module/components/Portal/PortalConsumer.js.map +1 -0
  303. package/lib/module/components/Portal/PortalHost.js +2 -1
  304. package/lib/module/components/Portal/PortalHost.js.map +1 -0
  305. package/lib/module/components/Portal/PortalManager.js +2 -1
  306. package/lib/module/components/Portal/PortalManager.js.map +1 -0
  307. package/lib/module/components/RadioButton/RadioButton.js +2 -1
  308. package/lib/module/components/RadioButton/RadioButton.js.map +1 -0
  309. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +2 -1
  310. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
  311. package/lib/module/components/RadioButton/RadioButtonGroup.js +2 -1
  312. package/lib/module/components/RadioButton/RadioButtonGroup.js.map +1 -0
  313. package/lib/module/components/RadioButton/RadioButtonRow.js +2 -1
  314. package/lib/module/components/RadioButton/RadioButtonRow.js.map +1 -0
  315. package/lib/module/components/RadioButton/context.js +2 -1
  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 -1
  320. package/lib/module/components/SVG.js.map +1 -0
  321. package/lib/module/components/ScreenContainer.js +2 -1
  322. package/lib/module/components/ScreenContainer.js.map +1 -0
  323. package/lib/module/components/Slider.js +2 -1
  324. package/lib/module/components/Slider.js.map +1 -0
  325. package/lib/module/components/StarRating.js +2 -1
  326. package/lib/module/components/StarRating.js.map +1 -0
  327. package/lib/module/components/Stepper.js +3 -4
  328. package/lib/module/components/Stepper.js.map +1 -0
  329. package/lib/module/components/Surface.js +2 -1
  330. package/lib/module/components/Surface.js.map +1 -0
  331. package/lib/module/components/Swiper/Swiper.js +2 -1
  332. package/lib/module/components/Swiper/Swiper.js.map +1 -0
  333. package/lib/module/components/Swiper/SwiperItem.js +2 -1
  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 +2 -1
  338. package/lib/module/components/Switch.js.map +1 -0
  339. package/lib/module/components/Text.js +2 -1
  340. package/lib/module/components/Text.js.map +1 -0
  341. package/lib/module/components/TextField.js +2 -1
  342. package/lib/module/components/TextField.js.map +1 -0
  343. package/lib/module/components/Touchable.js +2 -1
  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 +2 -1
  348. package/lib/module/constants.js.map +1 -0
  349. package/lib/module/hooks.js +2 -1
  350. package/lib/module/hooks.js.map +1 -0
  351. package/lib/module/index.js +30 -41
  352. package/lib/module/index.js.map +1 -0
  353. package/lib/module/interfaces/Icon.js +2 -1
  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 +2 -1
  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 +3 -15
  382. package/lib/module/mappings/DatePicker.js.map +1 -0
  383. package/lib/module/mappings/Fetch.js +2 -1
  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 +2 -1
  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 +2 -1
  414. package/lib/module/mappings/NumberInput.js.map +1 -0
  415. package/lib/module/mappings/Picker.js +2 -1
  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 +2 -1
  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 +2 -1
  444. package/lib/module/mappings/Text.js.map +1 -0
  445. package/lib/module/mappings/TextArea.js +2 -1
  446. package/lib/module/mappings/TextArea.js.map +1 -0
  447. package/lib/module/mappings/TextField.js +2 -1
  448. package/lib/module/mappings/TextField.js.map +1 -0
  449. package/lib/module/mappings/TextInput.js +2 -1
  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 +2 -1
  460. package/lib/module/styles/DarkTheme.js.map +1 -0
  461. package/lib/module/styles/DefaultTheme.js +2 -1
  462. package/lib/module/styles/DefaultTheme.js.map +1 -0
  463. package/lib/module/styles/fonts.js +2 -1
  464. package/lib/module/styles/fonts.js.map +1 -0
  465. package/lib/module/styles/overlay.js +2 -1
  466. package/lib/module/styles/overlay.js.map +1 -0
  467. package/lib/module/styles/shadow.js +2 -1
  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 +2 -1
  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 -5
  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 +2 -1
  576. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  577. package/lib/typescript/src/components/TextField.d.ts +2 -1
  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 -39
  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 -42
  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 +1 -0
  684. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
  685. package/lib/typescript/src/mappings/TextInput.d.ts +1 -0
  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 -3
  710. package/src/components/DatePicker/DatePicker.js +8 -14
  711. package/src/components/DatePicker/DatePicker.tsx +7 -23
  712. package/src/index.js +22 -41
  713. package/src/index.tsx +36 -51
  714. package/src/mappings/DatePicker.js +1 -21
  715. package/src/mappings/DatePicker.ts +0 -23
  716. package/src/mappings/Touchable.js +1 -1
  717. package/src/mappings/Touchable.ts +1 -1
  718. package/lib/commonjs/components/AnimatedCircularProgress.js +0 -77
  719. package/lib/commonjs/components/AspectRatio.js +0 -66
  720. package/lib/commonjs/components/AvatarEdit.js +0 -59
  721. package/lib/commonjs/components/Banner.js +0 -167
  722. package/lib/commonjs/components/Card.js +0 -137
  723. package/lib/commonjs/components/CardBlock.js +0 -106
  724. package/lib/commonjs/components/CardContainer.js +0 -129
  725. package/lib/commonjs/components/CardContainerRating.js +0 -133
  726. package/lib/commonjs/components/CardContainerShortImage.js +0 -84
  727. package/lib/commonjs/components/CardInline.js +0 -91
  728. package/lib/commonjs/components/Carousel.js +0 -129
  729. package/lib/commonjs/components/CircleImage.js +0 -35
  730. package/lib/commonjs/components/CircularProgress.js +0 -112
  731. package/lib/commonjs/components/Container.js +0 -93
  732. package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
  733. package/lib/commonjs/components/DeprecatedFAB.js +0 -158
  734. package/lib/commonjs/components/Divider.js +0 -30
  735. package/lib/commonjs/components/FAB.js +0 -82
  736. package/lib/commonjs/components/FieldSearchBarFull.js +0 -97
  737. package/lib/commonjs/components/Header.js +0 -82
  738. package/lib/commonjs/components/HeaderLarge.js +0 -38
  739. package/lib/commonjs/components/HeaderMedium.js +0 -38
  740. package/lib/commonjs/components/HeaderOverline.js +0 -39
  741. package/lib/commonjs/components/Image.js +0 -81
  742. package/lib/commonjs/components/Justification.js +0 -5
  743. package/lib/commonjs/components/ProgressBar.js +0 -158
  744. package/lib/commonjs/components/ProgressCircle.js +0 -48
  745. package/lib/commonjs/components/ProgressIndicator.js +0 -55
  746. package/lib/commonjs/components/ResizeMode.js +0 -5
  747. package/lib/commonjs/components/Row.js +0 -73
  748. package/lib/commonjs/components/RowBodyIcon.js +0 -45
  749. package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
  750. package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
  751. package/lib/commonjs/components/StepIndicator.js +0 -385
  752. package/lib/commonjs/components/ToggleButton.js +0 -71
  753. package/lib/commonjs/components/Typography.js +0 -58
  754. package/lib/commonjs/components/useAuthState.js +0 -28
  755. package/lib/commonjs/mappings/AvatarEdit.js +0 -45
  756. package/lib/commonjs/mappings/Banner.js +0 -39
  757. package/lib/commonjs/mappings/Card.js +0 -60
  758. package/lib/commonjs/mappings/CardBlock.js +0 -126
  759. package/lib/commonjs/mappings/CardContainer.js +0 -108
  760. package/lib/commonjs/mappings/CardContainerRating.js +0 -130
  761. package/lib/commonjs/mappings/CardContainerShortImage.js +0 -124
  762. package/lib/commonjs/mappings/CardInline.js +0 -59
  763. package/lib/commonjs/mappings/Carousel.js +0 -24
  764. package/lib/commonjs/mappings/CircleImage.js +0 -32
  765. package/lib/commonjs/mappings/Container.js +0 -37
  766. package/lib/commonjs/mappings/Divider.js +0 -32
  767. package/lib/commonjs/mappings/FAB.js +0 -44
  768. package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -56
  769. package/lib/commonjs/mappings/HeaderLarge.js +0 -34
  770. package/lib/commonjs/mappings/HeaderMedium.js +0 -60
  771. package/lib/commonjs/mappings/HeaderOverline.js +0 -60
  772. package/lib/commonjs/mappings/ProgressBar.js +0 -106
  773. package/lib/commonjs/mappings/ProgressCircle.js +0 -116
  774. package/lib/commonjs/mappings/ProgressIndicator.js +0 -188
  775. package/lib/commonjs/mappings/RowBodyIcon.js +0 -79
  776. package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -169
  777. package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -99
  778. package/lib/commonjs/mappings/ToggleButton.js +0 -53
  779. package/lib/module/components/AnimatedCircularProgress.js +0 -56
  780. package/lib/module/components/AspectRatio.js +0 -42
  781. package/lib/module/components/AvatarEdit.js +0 -49
  782. package/lib/module/components/Banner.js +0 -157
  783. package/lib/module/components/Card.js +0 -128
  784. package/lib/module/components/CardBlock.js +0 -98
  785. package/lib/module/components/CardContainer.js +0 -121
  786. package/lib/module/components/CardContainerRating.js +0 -125
  787. package/lib/module/components/CardContainerShortImage.js +0 -76
  788. package/lib/module/components/CardInline.js +0 -82
  789. package/lib/module/components/Carousel.js +0 -139
  790. package/lib/module/components/CircleImage.js +0 -25
  791. package/lib/module/components/CircularProgress.js +0 -104
  792. package/lib/module/components/Container.js +0 -83
  793. package/lib/module/components/DeprecatedCardWrapper.js +0 -32
  794. package/lib/module/components/DeprecatedFAB.js +0 -148
  795. package/lib/module/components/Divider.js +0 -21
  796. package/lib/module/components/FAB.js +0 -73
  797. package/lib/module/components/FieldSearchBarFull.js +0 -87
  798. package/lib/module/components/Header.js +0 -72
  799. package/lib/module/components/HeaderLarge.js +0 -28
  800. package/lib/module/components/HeaderMedium.js +0 -28
  801. package/lib/module/components/HeaderOverline.js +0 -29
  802. package/lib/module/components/Image.js +0 -74
  803. package/lib/module/components/Justification.js +0 -1
  804. package/lib/module/components/ProgressBar.js +0 -149
  805. package/lib/module/components/ProgressCircle.js +0 -38
  806. package/lib/module/components/ProgressIndicator.js +0 -45
  807. package/lib/module/components/ResizeMode.js +0 -1
  808. package/lib/module/components/Row.js +0 -63
  809. package/lib/module/components/RowBodyIcon.js +0 -35
  810. package/lib/module/components/RowHeadlineImageCaption.js +0 -35
  811. package/lib/module/components/RowHeadlineImageIcon.js +0 -41
  812. package/lib/module/components/StepIndicator.js +0 -377
  813. package/lib/module/components/ToggleButton.js +0 -61
  814. package/lib/module/components/Typography.js +0 -48
  815. package/lib/module/components/useAuthState.js +0 -19
  816. package/lib/module/mappings/AvatarEdit.js +0 -38
  817. package/lib/module/mappings/Banner.js +0 -32
  818. package/lib/module/mappings/Card.js +0 -53
  819. package/lib/module/mappings/CardBlock.js +0 -119
  820. package/lib/module/mappings/CardContainer.js +0 -101
  821. package/lib/module/mappings/CardContainerRating.js +0 -123
  822. package/lib/module/mappings/CardContainerShortImage.js +0 -117
  823. package/lib/module/mappings/CardInline.js +0 -52
  824. package/lib/module/mappings/Carousel.js +0 -17
  825. package/lib/module/mappings/CircleImage.js +0 -25
  826. package/lib/module/mappings/Container.js +0 -30
  827. package/lib/module/mappings/Divider.js +0 -25
  828. package/lib/module/mappings/FAB.js +0 -37
  829. package/lib/module/mappings/FieldSearchBarFull.js +0 -49
  830. package/lib/module/mappings/HeaderLarge.js +0 -27
  831. package/lib/module/mappings/HeaderMedium.js +0 -53
  832. package/lib/module/mappings/HeaderOverline.js +0 -53
  833. package/lib/module/mappings/ProgressBar.js +0 -99
  834. package/lib/module/mappings/ProgressCircle.js +0 -109
  835. package/lib/module/mappings/ProgressIndicator.js +0 -181
  836. package/lib/module/mappings/RowBodyIcon.js +0 -72
  837. package/lib/module/mappings/RowHeadlineImageCaption.js +0 -162
  838. package/lib/module/mappings/RowHeadlineImageIcon.js +0 -92
  839. package/lib/module/mappings/ToggleButton.js +0 -46
  840. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -13
  841. package/lib/typescript/src/components/AspectRatio.d.ts +0 -8
  842. package/lib/typescript/src/components/AvatarEdit.d.ts +0 -15
  843. package/lib/typescript/src/components/Banner.d.ts +0 -22
  844. package/lib/typescript/src/components/Card.d.ts +0 -42
  845. package/lib/typescript/src/components/CardBlock.d.ts +0 -20
  846. package/lib/typescript/src/components/CardContainer.d.ts +0 -22
  847. package/lib/typescript/src/components/CardContainerRating.d.ts +0 -23
  848. package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -18
  849. package/lib/typescript/src/components/CardInline.d.ts +0 -19
  850. package/lib/typescript/src/components/Carousel.d.ts +0 -14
  851. package/lib/typescript/src/components/CircleImage.d.ts +0 -9
  852. package/lib/typescript/src/components/CircularProgress.d.ts +0 -42
  853. package/lib/typescript/src/components/Container.d.ts +0 -20
  854. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -14
  855. package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -55
  856. package/lib/typescript/src/components/Divider.d.ts +0 -12
  857. package/lib/typescript/src/components/FAB.d.ts +0 -19
  858. package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -19
  859. package/lib/typescript/src/components/Header.d.ts +0 -19
  860. package/lib/typescript/src/components/HeaderLarge.d.ts +0 -16
  861. package/lib/typescript/src/components/HeaderMedium.d.ts +0 -16
  862. package/lib/typescript/src/components/HeaderOverline.d.ts +0 -16
  863. package/lib/typescript/src/components/Image.d.ts +0 -4
  864. package/lib/typescript/src/components/Justification.d.ts +0 -1
  865. package/lib/typescript/src/components/ProgressBar.d.ts +0 -34
  866. package/lib/typescript/src/components/ProgressCircle.d.ts +0 -20
  867. package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -23
  868. package/lib/typescript/src/components/ResizeMode.d.ts +0 -1
  869. package/lib/typescript/src/components/Row.d.ts +0 -20
  870. package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -15
  871. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -15
  872. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -17
  873. package/lib/typescript/src/components/StepIndicator.d.ts +0 -53
  874. package/lib/typescript/src/components/ToggleButton.d.ts +0 -24
  875. package/lib/typescript/src/components/Typography.d.ts +0 -21
  876. package/lib/typescript/src/components/useAuthState.d.ts +0 -1
  877. package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -37
  878. package/lib/typescript/src/mappings/Banner.d.ts +0 -48
  879. package/lib/typescript/src/mappings/Card.d.ts +0 -113
  880. package/lib/typescript/src/mappings/CardBlock.d.ts +0 -288
  881. package/lib/typescript/src/mappings/CardContainer.d.ts +0 -101
  882. package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -107
  883. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -138
  884. package/lib/typescript/src/mappings/CardInline.d.ts +0 -61
  885. package/lib/typescript/src/mappings/Carousel.d.ts +0 -33
  886. package/lib/typescript/src/mappings/CircleImage.d.ts +0 -33
  887. package/lib/typescript/src/mappings/Container.d.ts +0 -54
  888. package/lib/typescript/src/mappings/Divider.d.ts +0 -24
  889. package/lib/typescript/src/mappings/FAB.d.ts +0 -82
  890. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -55
  891. package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -33
  892. package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -52
  893. package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -52
  894. package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -98
  895. package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -108
  896. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -180
  897. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -72
  898. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -165
  899. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -169
  900. package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -115
  901. package/src/components/AnimatedCircularProgress.js +0 -43
  902. package/src/components/AnimatedCircularProgress.tsx +0 -101
  903. package/src/components/AspectRatio.js +0 -18
  904. package/src/components/AspectRatio.tsx +0 -40
  905. package/src/components/AvatarEdit.js +0 -30
  906. package/src/components/AvatarEdit.tsx +0 -64
  907. package/src/components/Banner.js +0 -109
  908. package/src/components/Banner.tsx +0 -204
  909. package/src/components/Card.js +0 -57
  910. package/src/components/Card.tsx +0 -161
  911. package/src/components/CardBlock.js +0 -54
  912. package/src/components/CardBlock.tsx +0 -127
  913. package/src/components/CardContainer.js +0 -69
  914. package/src/components/CardContainer.tsx +0 -165
  915. package/src/components/CardContainerRating.js +0 -79
  916. package/src/components/CardContainerRating.tsx +0 -175
  917. package/src/components/CardContainerShortImage.js +0 -33
  918. package/src/components/CardContainerShortImage.tsx +0 -101
  919. package/src/components/CardInline.js +0 -36
  920. package/src/components/CardInline.tsx +0 -93
  921. package/src/components/Carousel.js +0 -68
  922. package/src/components/Carousel.tsx +0 -134
  923. package/src/components/CircleImage.js +0 -8
  924. package/src/components/CircleImage.tsx +0 -33
  925. package/src/components/CircularProgress.js +0 -81
  926. package/src/components/CircularProgress.tsx +0 -188
  927. package/src/components/Container.js +0 -43
  928. package/src/components/Container.tsx +0 -116
  929. package/src/components/DeprecatedCardWrapper.js +0 -18
  930. package/src/components/DeprecatedCardWrapper.tsx +0 -46
  931. package/src/components/DeprecatedFAB.js +0 -115
  932. package/src/components/DeprecatedFAB.tsx +0 -231
  933. package/src/components/Divider.js +0 -13
  934. package/src/components/Divider.tsx +0 -32
  935. package/src/components/FAB.js +0 -46
  936. package/src/components/FAB.tsx +0 -108
  937. package/src/components/FieldSearchBarFull.js +0 -53
  938. package/src/components/FieldSearchBarFull.tsx +0 -126
  939. package/src/components/Header.js +0 -44
  940. package/src/components/Header.tsx +0 -105
  941. package/src/components/HeaderLarge.js +0 -7
  942. package/src/components/HeaderLarge.tsx +0 -40
  943. package/src/components/HeaderMedium.js +0 -7
  944. package/src/components/HeaderMedium.tsx +0 -41
  945. package/src/components/HeaderOverline.js +0 -7
  946. package/src/components/HeaderOverline.tsx +0 -42
  947. package/src/components/Image.js +0 -47
  948. package/src/components/Image.tsx +0 -91
  949. package/src/components/Justification.js +0 -1
  950. package/src/components/Justification.ts +0 -8
  951. package/src/components/ProgressBar.js +0 -118
  952. package/src/components/ProgressBar.tsx +0 -191
  953. package/src/components/ProgressCircle.js +0 -13
  954. package/src/components/ProgressCircle.tsx +0 -64
  955. package/src/components/ProgressIndicator.js +0 -27
  956. package/src/components/ProgressIndicator.tsx +0 -71
  957. package/src/components/ResizeMode.js +0 -1
  958. package/src/components/ResizeMode.ts +0 -7
  959. package/src/components/Row.js +0 -48
  960. package/src/components/Row.tsx +0 -108
  961. package/src/components/RowBodyIcon.js +0 -8
  962. package/src/components/RowBodyIcon.tsx +0 -47
  963. package/src/components/RowHeadlineImageCaption.js +0 -12
  964. package/src/components/RowHeadlineImageCaption.tsx +0 -49
  965. package/src/components/RowHeadlineImageIcon.js +0 -14
  966. package/src/components/RowHeadlineImageIcon.tsx +0 -61
  967. package/src/components/StepIndicator.js +0 -346
  968. package/src/components/StepIndicator.tsx +0 -494
  969. package/src/components/ToggleButton.js +0 -39
  970. package/src/components/ToggleButton.tsx +0 -94
  971. package/src/components/Typography.js +0 -36
  972. package/src/components/Typography.tsx +0 -67
  973. package/src/components/useAuthState.js +0 -31
  974. package/src/components/useAuthState.tsx +0 -38
  975. package/src/mappings/AvatarEdit.js +0 -38
  976. package/src/mappings/AvatarEdit.ts +0 -45
  977. package/src/mappings/Banner.js +0 -32
  978. package/src/mappings/Banner.ts +0 -40
  979. package/src/mappings/Card.js +0 -52
  980. package/src/mappings/Card.ts +0 -64
  981. package/src/mappings/CardBlock.js +0 -123
  982. package/src/mappings/CardBlock.ts +0 -136
  983. package/src/mappings/CardContainer.js +0 -104
  984. package/src/mappings/CardContainer.ts +0 -116
  985. package/src/mappings/CardContainerRating.js +0 -126
  986. package/src/mappings/CardContainerRating.ts +0 -137
  987. package/src/mappings/CardContainerShortImage.js +0 -120
  988. package/src/mappings/CardContainerShortImage.ts +0 -130
  989. package/src/mappings/CardInline.js +0 -52
  990. package/src/mappings/CardInline.ts +0 -61
  991. package/src/mappings/Carousel.js +0 -19
  992. package/src/mappings/Carousel.ts +0 -25
  993. package/src/mappings/CircleImage.js +0 -25
  994. package/src/mappings/CircleImage.ts +0 -33
  995. package/src/mappings/Container.js +0 -30
  996. package/src/mappings/Container.ts +0 -41
  997. package/src/mappings/Divider.js +0 -27
  998. package/src/mappings/Divider.ts +0 -34
  999. package/src/mappings/FAB.js +0 -37
  1000. package/src/mappings/FAB.ts +0 -48
  1001. package/src/mappings/FieldSearchBarFull.js +0 -50
  1002. package/src/mappings/FieldSearchBarFull.ts +0 -59
  1003. package/src/mappings/HeaderLarge.js +0 -29
  1004. package/src/mappings/HeaderLarge.ts +0 -38
  1005. package/src/mappings/HeaderMedium.js +0 -55
  1006. package/src/mappings/HeaderMedium.ts +0 -63
  1007. package/src/mappings/HeaderOverline.js +0 -55
  1008. package/src/mappings/HeaderOverline.ts +0 -63
  1009. package/src/mappings/ProgressBar.js +0 -101
  1010. package/src/mappings/ProgressBar.ts +0 -110
  1011. package/src/mappings/ProgressCircle.js +0 -109
  1012. package/src/mappings/ProgressCircle.ts +0 -117
  1013. package/src/mappings/ProgressIndicator.js +0 -181
  1014. package/src/mappings/ProgressIndicator.ts +0 -190
  1015. package/src/mappings/RowBodyIcon.js +0 -75
  1016. package/src/mappings/RowBodyIcon.ts +0 -82
  1017. package/src/mappings/RowHeadlineImageCaption.js +0 -167
  1018. package/src/mappings/RowHeadlineImageCaption.ts +0 -178
  1019. package/src/mappings/RowHeadlineImageIcon.js +0 -99
  1020. package/src/mappings/RowHeadlineImageIcon.ts +0 -116
  1021. package/src/mappings/ToggleButton.js +0 -50
  1022. package/src/mappings/ToggleButton.ts +0 -63
@@ -1,385 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _reactNative = require("react-native");
9
- 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); }
10
- 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; }
11
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
13
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
- const STEP_STATUS = {
15
- CURRENT: "current",
16
- FINISHED: "finished",
17
- UNFINISHED: "unfinished"
18
- };
19
- class StepIndicator extends _react.Component {
20
- constructor(props) {
21
- super(props);
22
- _defineProperty(this, "renderProgressBarBackground", () => {
23
- const {
24
- stepCount,
25
- direction
26
- } = this.props;
27
- let progressBarBackgroundStyle;
28
- if (direction === "vertical") {
29
- progressBarBackgroundStyle = {
30
- backgroundColor: this.state.customStyles.separatorUnFinishedColor,
31
- position: "absolute",
32
- left: (this.state.width - this.state.customStyles.separatorStrokeWidth) / 2,
33
- top: this.state.height / (2 * stepCount),
34
- bottom: this.state.height / (2 * stepCount),
35
- width: this.state.customStyles.separatorStrokeUnfinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeUnfinishedWidth
36
- };
37
- } else {
38
- progressBarBackgroundStyle = {
39
- backgroundColor: this.state.customStyles.separatorUnFinishedColor,
40
- position: "absolute",
41
- top: (this.state.height - this.state.customStyles.separatorStrokeWidth) / 2,
42
- left: this.state.width / (2 * stepCount),
43
- right: this.state.width / (2 * stepCount),
44
- height: this.state.customStyles.separatorStrokeUnfinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeUnfinishedWidth
45
- };
46
- }
47
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
48
- onLayout: event => {
49
- if (direction === "vertical") {
50
- this.setState({
51
- progressBarSize: event.nativeEvent.layout.height
52
- }, () => {
53
- this.onCurrentPositionChanged(this.props.currentPosition);
54
- });
55
- } else {
56
- this.setState({
57
- progressBarSize: event.nativeEvent.layout.width
58
- }, () => {
59
- this.onCurrentPositionChanged(this.props.currentPosition);
60
- });
61
- }
62
- },
63
- style: progressBarBackgroundStyle
64
- });
65
- });
66
- _defineProperty(this, "renderProgressBar", () => {
67
- const {
68
- stepCount,
69
- direction
70
- } = this.props;
71
- let progressBarStyle;
72
- if (direction === "vertical") {
73
- progressBarStyle = {
74
- backgroundColor: this.state.customStyles.separatorFinishedColor,
75
- position: "absolute",
76
- left: (this.state.width - this.state.customStyles.separatorStrokeWidth) / 2,
77
- top: this.state.height / (2 * stepCount),
78
- bottom: this.state.height / (2 * stepCount),
79
- width: this.state.customStyles.separatorStrokeFinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeFinishedWidth,
80
- height: this.progressAnim
81
- };
82
- } else {
83
- progressBarStyle = {
84
- backgroundColor: this.state.customStyles.separatorFinishedColor,
85
- position: "absolute",
86
- top: (this.state.height - this.state.customStyles.separatorStrokeWidth) / 2,
87
- left: this.state.width / (2 * stepCount),
88
- right: this.state.width / (2 * stepCount),
89
- height: this.state.customStyles.separatorStrokeFinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeFinishedWidth,
90
- width: this.progressAnim
91
- };
92
- }
93
- return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
94
- style: progressBarStyle
95
- });
96
- });
97
- _defineProperty(this, "renderStepIndicator", () => {
98
- let steps = [];
99
- const {
100
- stepCount,
101
- direction
102
- } = this.props;
103
- for (let position = 0; position < stepCount; position++) {
104
- steps.push( /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
105
- key: position,
106
- onPress: () => this.stepPressed(position)
107
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
108
- style: [styles.stepContainer, direction === "vertical" ? {
109
- flexDirection: "column"
110
- } : {
111
- flexDirection: "row"
112
- }]
113
- }, this.renderStep(position))));
114
- }
115
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
116
- onLayout: event => this.setState({
117
- width: event.nativeEvent.layout.width,
118
- height: event.nativeEvent.layout.height
119
- }),
120
- style: [styles.stepIndicatorContainer, direction === "vertical" ? {
121
- flexDirection: "column",
122
- width: this.state.customStyles.currentStepIndicatorSize
123
- } : {
124
- flexDirection: "row",
125
- height: this.state.customStyles.currentStepIndicatorSize
126
- }]
127
- }, steps);
128
- });
129
- _defineProperty(this, "renderStepLabels", () => {
130
- const {
131
- labels,
132
- direction,
133
- currentPosition,
134
- renderLabel
135
- } = this.props;
136
- var labelViews = labels.map((label, index) => {
137
- const selectedStepLabelStyle = index === currentPosition ? {
138
- color: this.state.customStyles.currentStepLabelColor
139
- } : {
140
- color: this.state.customStyles.labelColor
141
- };
142
- return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
143
- style: styles.stepLabelItem,
144
- key: index,
145
- onPress: () => this.stepPressed(index)
146
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
147
- style: styles.stepLabelItem
148
- }, renderLabel ? renderLabel({
149
- position: index,
150
- stepStatus: this.getStepStatus(index),
151
- label,
152
- currentPosition
153
- }) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
154
- style: [styles.stepLabel, selectedStepLabelStyle, {
155
- fontSize: this.state.customStyles.labelSize,
156
- fontFamily: this.state.customStyles.labelFontFamily
157
- }]
158
- }, label)));
159
- });
160
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
161
- style: [styles.stepLabelsContainer, direction === "vertical" ? {
162
- flexDirection: "column",
163
- paddingHorizontal: 4
164
- } : {
165
- flexDirection: "row",
166
- paddingVertical: 4
167
- }, {
168
- alignItems: this.state.customStyles.labelAlign
169
- }]
170
- }, labelViews);
171
- });
172
- _defineProperty(this, "renderStep", position => {
173
- const {
174
- renderStepIndicator
175
- } = this.props;
176
- let stepStyle;
177
- let indicatorLabelStyle;
178
- switch (this.getStepStatus(position)) {
179
- case STEP_STATUS.CURRENT:
180
- {
181
- stepStyle = {
182
- backgroundColor: this.state.customStyles.stepIndicatorCurrentColor,
183
- borderWidth: this.state.customStyles.currentStepStrokeWidth,
184
- borderColor: this.state.customStyles.stepStrokeCurrentColor,
185
- height: this.sizeAnim,
186
- width: this.sizeAnim,
187
- borderRadius: this.borderRadiusAnim
188
- };
189
- indicatorLabelStyle = {
190
- fontSize: this.state.customStyles.currentStepIndicatorLabelFontSize,
191
- color: this.state.customStyles.stepIndicatorLabelCurrentColor
192
- };
193
- break;
194
- }
195
- case STEP_STATUS.FINISHED:
196
- {
197
- stepStyle = {
198
- backgroundColor: this.state.customStyles.stepIndicatorFinishedColor,
199
- borderWidth: this.state.customStyles.stepStrokeWidth,
200
- borderColor: this.state.customStyles.stepStrokeFinishedColor,
201
- height: this.state.customStyles.stepIndicatorSize,
202
- width: this.state.customStyles.stepIndicatorSize,
203
- borderRadius: this.state.customStyles.stepIndicatorSize / 2
204
- };
205
- indicatorLabelStyle = {
206
- fontSize: this.state.customStyles.stepIndicatorLabelFontSize,
207
- color: this.state.customStyles.stepIndicatorLabelFinishedColor
208
- };
209
- break;
210
- }
211
- case STEP_STATUS.UNFINISHED:
212
- {
213
- stepStyle = {
214
- backgroundColor: this.state.customStyles.stepIndicatorUnFinishedColor,
215
- borderWidth: this.state.customStyles.stepStrokeWidth,
216
- borderColor: this.state.customStyles.stepStrokeUnFinishedColor,
217
- height: this.state.customStyles.stepIndicatorSize,
218
- width: this.state.customStyles.stepIndicatorSize,
219
- borderRadius: this.state.customStyles.stepIndicatorSize / 2
220
- };
221
- indicatorLabelStyle = {
222
- overflow: "hidden",
223
- fontSize: this.state.customStyles.stepIndicatorLabelFontSize,
224
- color: this.state.customStyles.stepIndicatorLabelUnFinishedColor
225
- };
226
- break;
227
- }
228
- default:
229
- }
230
- return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
231
- key: "step-indicator",
232
- style: [styles.step, stepStyle]
233
- }, renderStepIndicator ? renderStepIndicator({
234
- position,
235
- stepStatus: this.getStepStatus(position)
236
- }) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
237
- style: indicatorLabelStyle
238
- }, `${position + 1}`));
239
- });
240
- _defineProperty(this, "getStepStatus", stepPosition => {
241
- const {
242
- currentPosition
243
- } = this.props;
244
- if (stepPosition === currentPosition) {
245
- return STEP_STATUS.CURRENT;
246
- } else if (stepPosition < currentPosition) {
247
- return STEP_STATUS.FINISHED;
248
- } else {
249
- return STEP_STATUS.UNFINISHED;
250
- }
251
- });
252
- _defineProperty(this, "onCurrentPositionChanged", position => {
253
- let {
254
- stepCount
255
- } = this.props;
256
- if (position > stepCount - 1) {
257
- position = stepCount - 1;
258
- }
259
- const animateToPosition = this.state.progressBarSize / (stepCount - 1) * position;
260
- this.sizeAnim.setValue(this.state.customStyles.stepIndicatorSize);
261
- this.borderRadiusAnim.setValue(this.state.customStyles.stepIndicatorSize / 2);
262
- _reactNative.Animated.sequence([_reactNative.Animated.timing(this.progressAnim, {
263
- toValue: animateToPosition,
264
- duration: 200
265
- }), _reactNative.Animated.parallel([_reactNative.Animated.timing(this.sizeAnim, {
266
- toValue: this.state.customStyles.currentStepIndicatorSize,
267
- duration: 100
268
- }), _reactNative.Animated.timing(this.borderRadiusAnim, {
269
- toValue: this.state.customStyles.currentStepIndicatorSize / 2,
270
- duration: 100
271
- })])]).start();
272
- });
273
- const defaultStyles = {
274
- stepIndicatorSize: 30,
275
- currentStepIndicatorSize: 40,
276
- separatorStrokeWidth: 3,
277
- separatorStrokeUnfinishedWidth: 0,
278
- separatorStrokeFinishedWidth: 0,
279
- currentStepStrokeWidth: 5,
280
- stepStrokeWidth: 0,
281
- stepStrokeCurrentColor: "#4aae4f",
282
- stepStrokeFinishedColor: "#4aae4f",
283
- stepStrokeUnFinishedColor: "#4aae4f",
284
- separatorFinishedColor: "#4aae4f",
285
- separatorUnFinishedColor: "#a4d4a5",
286
- stepIndicatorFinishedColor: "#4aae4f",
287
- stepIndicatorUnFinishedColor: "#a4d4a5",
288
- stepIndicatorCurrentColor: "#ffffff",
289
- stepIndicatorLabelFontSize: 15,
290
- currentStepIndicatorLabelFontSize: 15,
291
- stepIndicatorLabelCurrentColor: "#000000",
292
- stepIndicatorLabelFinishedColor: "#ffffff",
293
- stepIndicatorLabelUnFinishedColor: "rgba(255,255,255,0.5)",
294
- labelColor: "#000000",
295
- labelSize: 13,
296
- labelAlign: "center",
297
- currentStepLabelColor: "#4aae4f"
298
- };
299
- const customStyles = Object.assign(defaultStyles, props.customStyles);
300
- this.state = {
301
- width: 0,
302
- height: 1,
303
- progressBarSize: -2,
304
- customStyles
305
- };
306
- this.progressAnim = new _reactNative.Animated.Value(0);
307
- this.sizeAnim = new _reactNative.Animated.Value(this.state.customStyles.stepIndicatorSize);
308
- this.borderRadiusAnim = new _reactNative.Animated.Value(this.state.customStyles.stepIndicatorSize / 2);
309
- }
310
- stepPressed(position) {
311
- if (this.props.onPress) {
312
- this.props.onPress(position);
313
- }
314
- }
315
- render() {
316
- const {
317
- labels,
318
- direction
319
- } = this.props;
320
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
321
- style: [styles.container, direction === "vertical" ? {
322
- flexDirection: "row",
323
- flex: 1
324
- } : {
325
- flexDirection: "column"
326
- }]
327
- }, this.state.width !== 0 && this.renderProgressBarBackground(), this.state.width !== 0 && this.renderProgressBar(), this.renderStepIndicator(), labels && this.renderStepLabels());
328
- }
329
- componentDidUpdate(prevProps) {
330
- // if (prevProps.customStyles !== this.props.customStyles) {
331
- // this.setState((state) => ({
332
- // customStyles: Object.assign(
333
- // state.customStyles,
334
- // this.props.customStyles
335
- // ),
336
- // }));
337
- // }
338
-
339
- if (prevProps.currentPosition !== this.props.currentPosition) {
340
- this.onCurrentPositionChanged(this.props.currentPosition);
341
- }
342
- }
343
- }
344
- exports.default = StepIndicator;
345
- const styles = _reactNative.StyleSheet.create({
346
- container: {
347
- backgroundColor: "transparent"
348
- },
349
- stepIndicatorContainer: {
350
- flexDirection: "row",
351
- alignItems: "center",
352
- justifyContent: "space-around",
353
- backgroundColor: "transparent"
354
- },
355
- stepLabelsContainer: {
356
- justifyContent: "space-around"
357
- },
358
- step: {
359
- alignItems: "center",
360
- justifyContent: "center",
361
- zIndex: 2
362
- },
363
- stepContainer: {
364
- flex: 1,
365
- flexDirection: "row",
366
- alignItems: "center",
367
- justifyContent: "center"
368
- },
369
- stepLabel: {
370
- fontSize: 12,
371
- textAlign: "center",
372
- fontWeight: "500"
373
- },
374
- stepLabelItem: {
375
- flex: 1,
376
- alignItems: "center",
377
- justifyContent: "center"
378
- }
379
- });
380
- StepIndicator.defaultProps = {
381
- currentPosition: 0,
382
- stepCount: 5,
383
- customStyles: {},
384
- direction: "horizontal"
385
- };
@@ -1,71 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var React = _interopRequireWildcard(require("react"));
8
- var _theming = require("../theming");
9
- var _reactNative = require("react-native");
10
- var _IconButton = _interopRequireDefault(require("./IconButton"));
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- 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); }
13
- 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; }
14
- 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); }
15
- const ToggleButton = _ref => {
16
- let {
17
- Icon,
18
- icon,
19
- toggled = false,
20
- onPress = () => {},
21
- defaultValue,
22
- disabled = false,
23
- color = "primary",
24
- colorSecondary = "surface",
25
- borderColor = "divider",
26
- iconSize = 25,
27
- width = 50,
28
- height = 50,
29
- theme: {
30
- colors
31
- },
32
- style,
33
- ...rest
34
- } = _ref;
35
- const [internalValue, setInternalValue] = React.useState(toggled || defaultValue || false);
36
- React.useEffect(() => {
37
- if (toggled != null) {
38
- setInternalValue(toggled);
39
- }
40
- }, [toggled]);
41
- React.useEffect(() => {
42
- if (defaultValue != null) {
43
- setInternalValue(defaultValue);
44
- }
45
- }, [defaultValue]);
46
- const handlePress = () => {
47
- setInternalValue(!internalValue);
48
- onPress(!internalValue);
49
- };
50
- return /*#__PURE__*/React.createElement(_IconButton.default, _extends({
51
- Icon: Icon,
52
- icon: icon,
53
- size: iconSize,
54
- color: internalValue ? colors[color] : colors[colorSecondary],
55
- onPress: handlePress,
56
- disabled: disabled,
57
- style: [styles.mainContainer, {
58
- width,
59
- height,
60
- backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
61
- borderColor: colors[borderColor]
62
- }, style]
63
- }, rest));
64
- };
65
- const styles = _reactNative.StyleSheet.create({
66
- mainContainer: {
67
- borderWidth: 1
68
- }
69
- });
70
- var _default = (0, _theming.withTheme)(ToggleButton);
71
- exports.default = _default;
@@ -1,58 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Title = exports.Subtitle = exports.Caption = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNative = require("react-native");
9
- var _theming = require("../theming");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- const Title = (0, _theming.withTheme)(_ref => {
12
- let {
13
- text,
14
- theme,
15
- style
16
- } = _ref;
17
- return /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
18
- style: [{
19
- fontSize: 20,
20
- letterSpacing: 0,
21
- lineHeight: 26,
22
- color: theme.colors.text
23
- }, style]
24
- }, text);
25
- });
26
- exports.Title = Title;
27
- const Subtitle = (0, _theming.withTheme)(_ref2 => {
28
- let {
29
- text,
30
- theme,
31
- style
32
- } = _ref2;
33
- return /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
34
- style: [{
35
- fontSize: 14,
36
- letterSpacing: 0,
37
- lineHeight: 16,
38
- color: theme.colors.medium
39
- }, style]
40
- }, text);
41
- });
42
- exports.Subtitle = Subtitle;
43
- const Caption = (0, _theming.withTheme)(_ref3 => {
44
- let {
45
- text,
46
- theme,
47
- style
48
- } = _ref3;
49
- return /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
50
- style: [{
51
- fontSize: 12,
52
- letterSpacing: 0,
53
- lineHeight: 14,
54
- color: theme.colors.light
55
- }, style]
56
- }, text);
57
- });
58
- exports.Caption = Caption;
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useAuthState = void 0;
7
- var React = _interopRequireWildcard(require("react"));
8
- 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); }
9
- 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; }
10
- const useAuthState = auth => {
11
- const [error, setError] = React.useState();
12
- const [value, setValue] = React.useState(auth.currentUser);
13
- React.useEffect(() => {
14
- const list = auth.onAuthStateChanged(setValue, setError);
15
- return () => {
16
- list();
17
- };
18
- }, [auth]);
19
- const signInWithEmailAndPassword = (user, password) => {
20
- auth.signInWithEmailAndPassword(user, password).then(setValue).catch(setError);
21
- };
22
- const createUserWithEmailAndPassword = (user, password) => {
23
- auth.signInWithEmailAndPassword(user, password).then(setValue).catch(setError);
24
- };
25
- const signOut = () => auth.signOut();
26
- return [value, error, signInWithEmailAndPassword, signOut, createUserWithEmailAndPassword];
27
- };
28
- exports.useAuthState = useAuthState;
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SEED_DATA = void 0;
7
- var _types = require("@draftbit/types");
8
- const SEED_DATA = {
9
- name: "Avatar Edit",
10
- tag: "AvatarEdit",
11
- description: "An avatar with an edit icon in the top right",
12
- category: _types.COMPONENT_TYPES.deprecated,
13
- stylesPanelSections: _types.BLOCK_STYLES_SECTIONS,
14
- layout: {
15
- width: 64,
16
- height: 64
17
- },
18
- props: {
19
- size: {
20
- group: _types.GROUPS.basic,
21
- label: "Size",
22
- description: "Size of avatar / width, height",
23
- editable: true,
24
- required: false,
25
- formType: _types.FORM_TYPES.number,
26
- propType: _types.PROP_TYPES.NUMBER,
27
- min: 0,
28
- max: 300,
29
- precision: 0,
30
- step: 1,
31
- defaultValue: 80
32
- },
33
- image: {
34
- group: _types.GROUPS.data,
35
- label: "Image",
36
- description: "Name of the image",
37
- editable: true,
38
- required: true,
39
- formType: _types.FORM_TYPES.image,
40
- propType: _types.PROP_TYPES.ASSET,
41
- defaultValue: "brightness-5"
42
- }
43
- }
44
- };
45
- exports.SEED_DATA = SEED_DATA;
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SEED_DATA = void 0;
7
- var _types = require("@draftbit/types");
8
- const SEED_DATA = {
9
- name: "Banner",
10
- tag: "Banner",
11
- category: _types.COMPONENT_TYPES.deprecated,
12
- props: {
13
- icon: (0, _types.createIconProp)({
14
- defaultValue: null,
15
- required: false
16
- }),
17
- content: (0, _types.createTextProp)({
18
- label: "Content",
19
- description: "Banner text content"
20
- }),
21
- initiallyVisible: (0, _types.createBoolProp)({
22
- group: _types.GROUPS.basic,
23
- label: "Initially visible",
24
- description: "Whether the banner should be visible",
25
- defaultValue: true
26
- }),
27
- dismissable: (0, _types.createBoolProp)({
28
- group: _types.GROUPS.basic,
29
- label: "Dismissable",
30
- description: "Whether the banner should be able to be closed",
31
- defaultValue: true
32
- }),
33
- buttonColor: (0, _types.createColorProp)({
34
- label: "Button color",
35
- defaultValue: "primary"
36
- })
37
- }
38
- };
39
- exports.SEED_DATA = SEED_DATA;
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SEED_DATA = void 0;
7
- var _types = require("@draftbit/types");
8
- const SEED_DATA = {
9
- name: "Card",
10
- tag: "Card",
11
- description: "A card you can customize however you'd like",
12
- category: _types.COMPONENT_TYPES.card,
13
- triggers: [_types.Triggers.OnPress, _types.Triggers.OnPressIcon],
14
- props: {
15
- onPress: (0, _types.createActionProp)(),
16
- onPressIcon: (0, _types.createActionProp)({
17
- handlerPropName: "onPressIcon"
18
- }),
19
- elevation: (0, _types.createElevationType)(3),
20
- image: (0, _types.createImageProp)(),
21
- title: (0, _types.createTextProp)({
22
- label: "Title",
23
- description: "Large title text",
24
- // defaultValue: "Title",
25
- defaultValue: null
26
- }),
27
- titleStyle: (0, _types.createTextStyle)({
28
- label: "Title Style"
29
- }),
30
- subtitle: (0, _types.createTextProp)({
31
- label: "Subtitle",
32
- description: "Text underneath the title",
33
- defaultValue: null
34
- // defaultValue: "Edit me in the props panel on the right",
35
- }),
36
-
37
- subtitleStyle: (0, _types.createTextStyle)({
38
- label: "Subtitle Style"
39
- }),
40
- description: (0, _types.createTextProp)({
41
- label: "Description",
42
- description: "Smallest text underneath subtitle",
43
- // defaultValue:
44
- // "This bottom text is optional, but shows up to make your life a little easier!",
45
- defaultValue: null
46
- }),
47
- descriptionStyle: (0, _types.createTextStyle)({
48
- label: "Description Style"
49
- }),
50
- icon: (0, _types.createIconProp)(),
51
- aspectRatio: (0, _types.createAspectRatioProp)({
52
- defaultValue: 1.5
53
- }),
54
- textCentered: (0, _types.createStaticBoolProp)({
55
- label: "Centered Text",
56
- description: "Places your title and subtitle in the center"
57
- })
58
- }
59
- };
60
- exports.SEED_DATA = SEED_DATA;