@draftbit/core 44.2.3-9cbaf6.2 → 46.0.0

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 (654) hide show
  1. package/lib/commonjs/Provider.js.map +1 -1
  2. package/lib/commonjs/components/Accordion/AccordionGroup.js.map +1 -1
  3. package/lib/commonjs/components/Accordion/AccordionItem.js +5 -21
  4. package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -1
  5. package/lib/commonjs/components/Accordion/index.js.map +1 -1
  6. package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +1 -1
  7. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +1 -1
  8. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +1 -1
  9. package/lib/commonjs/components/ActionSheet/index.js.map +1 -1
  10. package/lib/commonjs/components/AnimatedCircularProgress.js +1 -1
  11. package/lib/commonjs/components/AnimatedCircularProgress.js.map +1 -1
  12. package/lib/commonjs/components/AspectRatio.js +1 -1
  13. package/lib/commonjs/components/AspectRatio.js.map +1 -1
  14. package/lib/commonjs/components/AvatarEdit.js +1 -1
  15. package/lib/commonjs/components/AvatarEdit.js.map +1 -1
  16. package/lib/commonjs/components/Banner.js +1 -1
  17. package/lib/commonjs/components/Banner.js.map +1 -1
  18. package/lib/commonjs/components/Button.js +1 -1
  19. package/lib/commonjs/components/Button.js.map +1 -1
  20. package/lib/commonjs/components/Card.js.map +1 -1
  21. package/lib/commonjs/components/CardBlock.js +1 -1
  22. package/lib/commonjs/components/CardBlock.js.map +1 -1
  23. package/lib/commonjs/components/CardContainer.js +1 -1
  24. package/lib/commonjs/components/CardContainer.js.map +1 -1
  25. package/lib/commonjs/components/CardContainerRating.js +1 -1
  26. package/lib/commonjs/components/CardContainerRating.js.map +1 -1
  27. package/lib/commonjs/components/CardContainerShortImage.js +1 -1
  28. package/lib/commonjs/components/CardContainerShortImage.js.map +1 -1
  29. package/lib/commonjs/components/CardInline.js.map +1 -1
  30. package/lib/commonjs/components/Carousel.js +1 -1
  31. package/lib/commonjs/components/Carousel.js.map +1 -1
  32. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  33. package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -1
  34. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +1 -1
  35. package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +1 -1
  36. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +1 -1
  37. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -1
  38. package/lib/commonjs/components/Checkbox/CheckboxRow.js +1 -1
  39. package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -1
  40. package/lib/commonjs/components/Checkbox/context.js.map +1 -1
  41. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  42. package/lib/commonjs/components/CircleImage.js +1 -1
  43. package/lib/commonjs/components/CircleImage.js.map +1 -1
  44. package/lib/commonjs/components/CircularProgress.js.map +1 -1
  45. package/lib/commonjs/components/Config.js.map +1 -1
  46. package/lib/commonjs/components/Container.js +1 -1
  47. package/lib/commonjs/components/Container.js.map +1 -1
  48. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  49. package/lib/commonjs/components/DatePicker/DatePicker.js.map +1 -1
  50. package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +1 -1
  51. package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +1 -1
  52. package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +1 -1
  53. package/lib/commonjs/components/DeprecatedButton.js +1 -1
  54. package/lib/commonjs/components/DeprecatedButton.js.map +1 -1
  55. package/lib/commonjs/components/DeprecatedCardWrapper.js +1 -1
  56. package/lib/commonjs/components/DeprecatedCardWrapper.js.map +1 -1
  57. package/lib/commonjs/components/DeprecatedFAB.js +1 -1
  58. package/lib/commonjs/components/DeprecatedFAB.js.map +1 -1
  59. package/lib/commonjs/components/Divider.js +1 -1
  60. package/lib/commonjs/components/Divider.js.map +1 -1
  61. package/lib/commonjs/components/Elevation.js +1 -1
  62. package/lib/commonjs/components/Elevation.js.map +1 -1
  63. package/lib/commonjs/components/FAB.js +1 -1
  64. package/lib/commonjs/components/FAB.js.map +1 -1
  65. package/lib/commonjs/components/FieldSearchBarFull.js.map +1 -1
  66. package/lib/commonjs/components/FormRow.js +1 -1
  67. package/lib/commonjs/components/FormRow.js.map +1 -1
  68. package/lib/commonjs/components/Header.js.map +1 -1
  69. package/lib/commonjs/components/HeaderLarge.js.map +1 -1
  70. package/lib/commonjs/components/HeaderMedium.js.map +1 -1
  71. package/lib/commonjs/components/HeaderOverline.js.map +1 -1
  72. package/lib/commonjs/components/IconButton.js +1 -1
  73. package/lib/commonjs/components/IconButton.js.map +1 -1
  74. package/lib/commonjs/components/Image.js +1 -1
  75. package/lib/commonjs/components/Image.js.map +1 -1
  76. package/lib/commonjs/components/Justification.js +0 -3
  77. package/lib/commonjs/components/Justification.js.map +1 -1
  78. package/lib/commonjs/components/Layout.js +1 -1
  79. package/lib/commonjs/components/Layout.js.map +1 -1
  80. package/lib/commonjs/components/NumberInput.js +1 -1
  81. package/lib/commonjs/components/NumberInput.js.map +1 -1
  82. package/lib/commonjs/components/Picker/Picker.js.map +1 -1
  83. package/lib/commonjs/components/Picker/PickerComponent.android.js +1 -1
  84. package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -1
  85. package/lib/commonjs/components/Picker/PickerComponent.ios.js +1 -1
  86. package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +1 -1
  87. package/lib/commonjs/components/Picker/PickerComponent.web.js +1 -1
  88. package/lib/commonjs/components/Picker/PickerComponent.web.js.map +1 -1
  89. package/lib/commonjs/components/Picker/PickerTypes.js.map +1 -1
  90. package/lib/commonjs/components/Portal/Portal.js.map +1 -1
  91. package/lib/commonjs/components/Portal/PortalConsumer.js.map +1 -1
  92. package/lib/commonjs/components/Portal/PortalHost.js.map +1 -1
  93. package/lib/commonjs/components/Portal/PortalManager.js.map +1 -1
  94. package/lib/commonjs/components/ProgressBar.js +1 -1
  95. package/lib/commonjs/components/ProgressBar.js.map +1 -1
  96. package/lib/commonjs/components/ProgressCircle.js.map +1 -1
  97. package/lib/commonjs/components/ProgressIndicator.js.map +1 -1
  98. package/lib/commonjs/components/RadioButton/RadioButton.js +1 -1
  99. package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -1
  100. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +1 -1
  101. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +1 -1
  102. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +1 -1
  103. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -1
  104. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +1 -1
  105. package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -1
  106. package/lib/commonjs/components/RadioButton/context.js.map +1 -1
  107. package/lib/commonjs/components/RadioButton/index.js.map +1 -1
  108. package/lib/commonjs/components/ResizeMode.js +0 -3
  109. package/lib/commonjs/components/ResizeMode.js.map +1 -1
  110. package/lib/commonjs/components/Row.js.map +1 -1
  111. package/lib/commonjs/components/RowBodyIcon.js.map +1 -1
  112. package/lib/commonjs/components/RowHeadlineImageCaption.js.map +1 -1
  113. package/lib/commonjs/components/RowHeadlineImageIcon.js.map +1 -1
  114. package/lib/commonjs/components/ScreenContainer.js +1 -1
  115. package/lib/commonjs/components/ScreenContainer.js.map +1 -1
  116. package/lib/commonjs/components/Slider.js +1 -1
  117. package/lib/commonjs/components/Slider.js.map +1 -1
  118. package/lib/commonjs/components/StarRating.js +1 -1
  119. package/lib/commonjs/components/StarRating.js.map +1 -1
  120. package/lib/commonjs/components/StepIndicator.js.map +1 -1
  121. package/lib/commonjs/components/Stepper.js.map +1 -1
  122. package/lib/commonjs/components/Surface.js +1 -1
  123. package/lib/commonjs/components/Surface.js.map +1 -1
  124. package/lib/commonjs/components/Swiper/Swiper.js.map +1 -1
  125. package/lib/commonjs/components/Swiper/SwiperItem.js.map +1 -1
  126. package/lib/commonjs/components/Swiper/index.js.map +1 -1
  127. package/lib/commonjs/components/Switch.js +1 -1
  128. package/lib/commonjs/components/Switch.js.map +1 -1
  129. package/lib/commonjs/components/Text.js +1 -1
  130. package/lib/commonjs/components/Text.js.map +1 -1
  131. package/lib/commonjs/components/TextField.js +1 -1
  132. package/lib/commonjs/components/TextField.js.map +1 -1
  133. package/lib/commonjs/components/ToggleButton.js +1 -1
  134. package/lib/commonjs/components/ToggleButton.js.map +1 -1
  135. package/lib/commonjs/components/Touchable.js +1 -1
  136. package/lib/commonjs/components/Touchable.js.map +1 -1
  137. package/lib/commonjs/components/Touchable.web.js.map +1 -1
  138. package/lib/commonjs/components/Typography.js.map +1 -1
  139. package/lib/commonjs/components/useAuthState.js.map +1 -1
  140. package/lib/commonjs/constants.js.map +1 -1
  141. package/lib/commonjs/hooks.js.map +1 -1
  142. package/lib/commonjs/index.js +0 -14
  143. package/lib/commonjs/index.js.map +1 -1
  144. package/lib/commonjs/interfaces/Icon.js.map +1 -1
  145. package/lib/commonjs/mappings/Accordion.js.map +1 -1
  146. package/lib/commonjs/mappings/AccordionItem.js.map +1 -1
  147. package/lib/commonjs/mappings/ActionSheet.js.map +1 -1
  148. package/lib/commonjs/mappings/ActionSheetCancel.js.map +1 -1
  149. package/lib/commonjs/mappings/ActionSheetItem.js.map +1 -1
  150. package/lib/commonjs/mappings/ActivityIndicator.js.map +1 -1
  151. package/lib/commonjs/mappings/AudioPlayer.js.map +1 -1
  152. package/lib/commonjs/mappings/AvatarEdit.js.map +1 -1
  153. package/lib/commonjs/mappings/Banner.js.map +1 -1
  154. package/lib/commonjs/mappings/BlurView.js.map +1 -1
  155. package/lib/commonjs/mappings/Button.js.map +1 -1
  156. package/lib/commonjs/mappings/Card.js.map +1 -1
  157. package/lib/commonjs/mappings/CardBlock.js.map +1 -1
  158. package/lib/commonjs/mappings/CardContainer.js.map +1 -1
  159. package/lib/commonjs/mappings/CardContainerRating.js.map +1 -1
  160. package/lib/commonjs/mappings/CardContainerShortImage.js.map +1 -1
  161. package/lib/commonjs/mappings/CardInline.js.map +1 -1
  162. package/lib/commonjs/mappings/Carousel.js.map +1 -1
  163. package/lib/commonjs/mappings/Checkbox.js.map +1 -1
  164. package/lib/commonjs/mappings/CheckboxGroup.js.map +1 -1
  165. package/lib/commonjs/mappings/CheckboxRow.js.map +1 -1
  166. package/lib/commonjs/mappings/CircleImage.js.map +1 -1
  167. package/lib/commonjs/mappings/Container.js.map +1 -1
  168. package/lib/commonjs/mappings/CustomCode.js.map +1 -1
  169. package/lib/commonjs/mappings/DatePicker.js.map +1 -1
  170. package/lib/commonjs/mappings/Divider.js.map +1 -1
  171. package/lib/commonjs/mappings/FAB.js.map +1 -1
  172. package/lib/commonjs/mappings/Fetch.js.map +1 -1
  173. package/lib/commonjs/mappings/FieldSearchBarFull.js.map +1 -1
  174. package/lib/commonjs/mappings/FlatList.js.map +1 -1
  175. package/lib/commonjs/mappings/HeaderLarge.js.map +1 -1
  176. package/lib/commonjs/mappings/HeaderMedium.js.map +1 -1
  177. package/lib/commonjs/mappings/HeaderOverline.js.map +1 -1
  178. package/lib/commonjs/mappings/Icon.js.map +1 -1
  179. package/lib/commonjs/mappings/IconButton.js.map +1 -1
  180. package/lib/commonjs/mappings/Image.js.map +1 -1
  181. package/lib/commonjs/mappings/ImageBackground.js.map +1 -1
  182. package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +1 -1
  183. package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -1
  184. package/lib/commonjs/mappings/Layout.js.map +1 -1
  185. package/lib/commonjs/mappings/LinearGradient.js.map +1 -1
  186. package/lib/commonjs/mappings/MapCallout.js.map +1 -1
  187. package/lib/commonjs/mappings/MapMarker.js.map +1 -1
  188. package/lib/commonjs/mappings/MapView.js.map +1 -1
  189. package/lib/commonjs/mappings/Modal.js.map +1 -1
  190. package/lib/commonjs/mappings/Picker.js.map +1 -1
  191. package/lib/commonjs/mappings/ProgressBar.js.map +1 -1
  192. package/lib/commonjs/mappings/ProgressCircle.js.map +1 -1
  193. package/lib/commonjs/mappings/ProgressIndicator.js.map +1 -1
  194. package/lib/commonjs/mappings/RadioButton.js.map +1 -1
  195. package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -1
  196. package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -1
  197. package/lib/commonjs/mappings/RowBodyIcon.js.map +1 -1
  198. package/lib/commonjs/mappings/RowHeadlineImageCaption.js.map +1 -1
  199. package/lib/commonjs/mappings/RowHeadlineImageIcon.js.map +1 -1
  200. package/lib/commonjs/mappings/SafeAreaView.js.map +1 -1
  201. package/lib/commonjs/mappings/ScrollView.js.map +1 -1
  202. package/lib/commonjs/mappings/Slider.js.map +1 -1
  203. package/lib/commonjs/mappings/StarRating.js.map +1 -1
  204. package/lib/commonjs/mappings/Stepper.js.map +1 -1
  205. package/lib/commonjs/mappings/Surface.js.map +1 -1
  206. package/lib/commonjs/mappings/Swiper.js.map +1 -1
  207. package/lib/commonjs/mappings/SwiperItem.js.map +1 -1
  208. package/lib/commonjs/mappings/Switch.js.map +1 -1
  209. package/lib/commonjs/mappings/Text.js.map +1 -1
  210. package/lib/commonjs/mappings/TextArea.js.map +1 -1
  211. package/lib/commonjs/mappings/TextField.js.map +1 -1
  212. package/lib/commonjs/mappings/TextInput.js.map +1 -1
  213. package/lib/commonjs/mappings/ToggleButton.js.map +1 -1
  214. package/lib/commonjs/mappings/Touchable.js.map +1 -1
  215. package/lib/commonjs/mappings/Video.js.map +1 -1
  216. package/lib/commonjs/mappings/View.js.map +1 -1
  217. package/lib/commonjs/mappings/WebView.js.map +1 -1
  218. package/lib/commonjs/styles/DarkTheme.js.map +1 -1
  219. package/lib/commonjs/styles/DefaultTheme.js.map +1 -1
  220. package/lib/commonjs/styles/fonts.js.map +1 -1
  221. package/lib/commonjs/styles/overlay.js.map +1 -1
  222. package/lib/commonjs/styles/shadow.js.map +1 -1
  223. package/lib/commonjs/theming.js.map +1 -1
  224. package/lib/commonjs/utilities.js.map +1 -1
  225. package/lib/module/Provider.js.map +1 -1
  226. package/lib/module/components/Accordion/AccordionGroup.js.map +1 -1
  227. package/lib/module/components/Accordion/AccordionItem.js +1 -1
  228. package/lib/module/components/Accordion/AccordionItem.js.map +1 -1
  229. package/lib/module/components/Accordion/index.js.map +1 -1
  230. package/lib/module/components/ActionSheet/ActionSheet.js.map +1 -1
  231. package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -1
  232. package/lib/module/components/ActionSheet/ActionSheetItem.js.map +1 -1
  233. package/lib/module/components/ActionSheet/index.js.map +1 -1
  234. package/lib/module/components/AnimatedCircularProgress.js +1 -1
  235. package/lib/module/components/AnimatedCircularProgress.js.map +1 -1
  236. package/lib/module/components/AspectRatio.js +1 -1
  237. package/lib/module/components/AspectRatio.js.map +1 -1
  238. package/lib/module/components/AvatarEdit.js +1 -1
  239. package/lib/module/components/AvatarEdit.js.map +1 -1
  240. package/lib/module/components/Banner.js +1 -1
  241. package/lib/module/components/Banner.js.map +1 -1
  242. package/lib/module/components/Button.js +1 -1
  243. package/lib/module/components/Button.js.map +1 -1
  244. package/lib/module/components/Card.js.map +1 -1
  245. package/lib/module/components/CardBlock.js +1 -1
  246. package/lib/module/components/CardBlock.js.map +1 -1
  247. package/lib/module/components/CardContainer.js +1 -1
  248. package/lib/module/components/CardContainer.js.map +1 -1
  249. package/lib/module/components/CardContainerRating.js +1 -1
  250. package/lib/module/components/CardContainerRating.js.map +1 -1
  251. package/lib/module/components/CardContainerShortImage.js +1 -1
  252. package/lib/module/components/CardContainerShortImage.js.map +1 -1
  253. package/lib/module/components/CardInline.js.map +1 -1
  254. package/lib/module/components/Carousel.js +5 -20
  255. package/lib/module/components/Carousel.js.map +1 -1
  256. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  257. package/lib/module/components/Checkbox/Checkbox.js.map +1 -1
  258. package/lib/module/components/Checkbox/CheckboxGroup.js +1 -1
  259. package/lib/module/components/Checkbox/CheckboxGroup.js.map +1 -1
  260. package/lib/module/components/Checkbox/CheckboxGroupRow.js +1 -1
  261. package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +1 -1
  262. package/lib/module/components/Checkbox/CheckboxRow.js +1 -1
  263. package/lib/module/components/Checkbox/CheckboxRow.js.map +1 -1
  264. package/lib/module/components/Checkbox/context.js.map +1 -1
  265. package/lib/module/components/Checkbox/index.js.map +1 -1
  266. package/lib/module/components/CircleImage.js +1 -1
  267. package/lib/module/components/CircleImage.js.map +1 -1
  268. package/lib/module/components/CircularProgress.js.map +1 -1
  269. package/lib/module/components/Config.js.map +1 -1
  270. package/lib/module/components/Container.js +1 -1
  271. package/lib/module/components/Container.js.map +1 -1
  272. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  273. package/lib/module/components/DatePicker/DatePicker.js.map +1 -1
  274. package/lib/module/components/DatePicker/DatePickerComponent.js.map +1 -1
  275. package/lib/module/components/DatePicker/DatePickerComponent.web.js.map +1 -1
  276. package/lib/module/components/DatePicker/DatePickerComponentType.js.map +1 -1
  277. package/lib/module/components/DeprecatedButton.js +1 -1
  278. package/lib/module/components/DeprecatedButton.js.map +1 -1
  279. package/lib/module/components/DeprecatedCardWrapper.js +1 -1
  280. package/lib/module/components/DeprecatedCardWrapper.js.map +1 -1
  281. package/lib/module/components/DeprecatedFAB.js +1 -1
  282. package/lib/module/components/DeprecatedFAB.js.map +1 -1
  283. package/lib/module/components/Divider.js +1 -1
  284. package/lib/module/components/Divider.js.map +1 -1
  285. package/lib/module/components/Elevation.js +1 -1
  286. package/lib/module/components/Elevation.js.map +1 -1
  287. package/lib/module/components/FAB.js +1 -1
  288. package/lib/module/components/FAB.js.map +1 -1
  289. package/lib/module/components/FieldSearchBarFull.js.map +1 -1
  290. package/lib/module/components/FormRow.js +1 -1
  291. package/lib/module/components/FormRow.js.map +1 -1
  292. package/lib/module/components/Header.js.map +1 -1
  293. package/lib/module/components/HeaderLarge.js.map +1 -1
  294. package/lib/module/components/HeaderMedium.js.map +1 -1
  295. package/lib/module/components/HeaderOverline.js.map +1 -1
  296. package/lib/module/components/IconButton.js +1 -1
  297. package/lib/module/components/IconButton.js.map +1 -1
  298. package/lib/module/components/Image.js +1 -1
  299. package/lib/module/components/Image.js.map +1 -1
  300. package/lib/module/components/Justification.js +1 -1
  301. package/lib/module/components/Justification.js.map +1 -1
  302. package/lib/module/components/Layout.js +1 -1
  303. package/lib/module/components/Layout.js.map +1 -1
  304. package/lib/module/components/NumberInput.js +1 -1
  305. package/lib/module/components/NumberInput.js.map +1 -1
  306. package/lib/module/components/Picker/Picker.js.map +1 -1
  307. package/lib/module/components/Picker/PickerComponent.android.js +1 -1
  308. package/lib/module/components/Picker/PickerComponent.android.js.map +1 -1
  309. package/lib/module/components/Picker/PickerComponent.ios.js +1 -1
  310. package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -1
  311. package/lib/module/components/Picker/PickerComponent.web.js +1 -1
  312. package/lib/module/components/Picker/PickerComponent.web.js.map +1 -1
  313. package/lib/module/components/Picker/PickerTypes.js.map +1 -1
  314. package/lib/module/components/Portal/Portal.js.map +1 -1
  315. package/lib/module/components/Portal/PortalConsumer.js.map +1 -1
  316. package/lib/module/components/Portal/PortalHost.js.map +1 -1
  317. package/lib/module/components/Portal/PortalManager.js.map +1 -1
  318. package/lib/module/components/ProgressBar.js +1 -1
  319. package/lib/module/components/ProgressBar.js.map +1 -1
  320. package/lib/module/components/ProgressCircle.js.map +1 -1
  321. package/lib/module/components/ProgressIndicator.js.map +1 -1
  322. package/lib/module/components/RadioButton/RadioButton.js +1 -1
  323. package/lib/module/components/RadioButton/RadioButton.js.map +1 -1
  324. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +1 -1
  325. package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +1 -1
  326. package/lib/module/components/RadioButton/RadioButtonGroup.js +1 -1
  327. package/lib/module/components/RadioButton/RadioButtonGroup.js.map +1 -1
  328. package/lib/module/components/RadioButton/RadioButtonRow.js +1 -1
  329. package/lib/module/components/RadioButton/RadioButtonRow.js.map +1 -1
  330. package/lib/module/components/RadioButton/context.js.map +1 -1
  331. package/lib/module/components/RadioButton/index.js.map +1 -1
  332. package/lib/module/components/ResizeMode.js +1 -1
  333. package/lib/module/components/ResizeMode.js.map +1 -1
  334. package/lib/module/components/Row.js.map +1 -1
  335. package/lib/module/components/RowBodyIcon.js.map +1 -1
  336. package/lib/module/components/RowHeadlineImageCaption.js.map +1 -1
  337. package/lib/module/components/RowHeadlineImageIcon.js.map +1 -1
  338. package/lib/module/components/ScreenContainer.js +1 -1
  339. package/lib/module/components/ScreenContainer.js.map +1 -1
  340. package/lib/module/components/Slider.js +1 -1
  341. package/lib/module/components/Slider.js.map +1 -1
  342. package/lib/module/components/StarRating.js +1 -1
  343. package/lib/module/components/StarRating.js.map +1 -1
  344. package/lib/module/components/StepIndicator.js.map +1 -1
  345. package/lib/module/components/Stepper.js.map +1 -1
  346. package/lib/module/components/Surface.js +1 -1
  347. package/lib/module/components/Surface.js.map +1 -1
  348. package/lib/module/components/Swiper/Swiper.js.map +1 -1
  349. package/lib/module/components/Swiper/SwiperItem.js.map +1 -1
  350. package/lib/module/components/Swiper/index.js.map +1 -1
  351. package/lib/module/components/Switch.js +1 -1
  352. package/lib/module/components/Switch.js.map +1 -1
  353. package/lib/module/components/Text.js +1 -1
  354. package/lib/module/components/Text.js.map +1 -1
  355. package/lib/module/components/TextField.js +1 -1
  356. package/lib/module/components/TextField.js.map +1 -1
  357. package/lib/module/components/ToggleButton.js +1 -1
  358. package/lib/module/components/ToggleButton.js.map +1 -1
  359. package/lib/module/components/Touchable.js +1 -1
  360. package/lib/module/components/Touchable.js.map +1 -1
  361. package/lib/module/components/Touchable.web.js.map +1 -1
  362. package/lib/module/components/Typography.js.map +1 -1
  363. package/lib/module/components/useAuthState.js.map +1 -1
  364. package/lib/module/constants.js.map +1 -1
  365. package/lib/module/hooks.js.map +1 -1
  366. package/lib/module/index.js +0 -1
  367. package/lib/module/index.js.map +1 -1
  368. package/lib/module/interfaces/Icon.js.map +1 -1
  369. package/lib/module/mappings/Accordion.js.map +1 -1
  370. package/lib/module/mappings/AccordionItem.js.map +1 -1
  371. package/lib/module/mappings/ActionSheet.js.map +1 -1
  372. package/lib/module/mappings/ActionSheetCancel.js.map +1 -1
  373. package/lib/module/mappings/ActionSheetItem.js.map +1 -1
  374. package/lib/module/mappings/ActivityIndicator.js.map +1 -1
  375. package/lib/module/mappings/AudioPlayer.js.map +1 -1
  376. package/lib/module/mappings/AvatarEdit.js.map +1 -1
  377. package/lib/module/mappings/Banner.js.map +1 -1
  378. package/lib/module/mappings/BlurView.js.map +1 -1
  379. package/lib/module/mappings/Button.js.map +1 -1
  380. package/lib/module/mappings/Card.js.map +1 -1
  381. package/lib/module/mappings/CardBlock.js.map +1 -1
  382. package/lib/module/mappings/CardContainer.js.map +1 -1
  383. package/lib/module/mappings/CardContainerRating.js.map +1 -1
  384. package/lib/module/mappings/CardContainerShortImage.js.map +1 -1
  385. package/lib/module/mappings/CardInline.js.map +1 -1
  386. package/lib/module/mappings/Carousel.js.map +1 -1
  387. package/lib/module/mappings/Checkbox.js.map +1 -1
  388. package/lib/module/mappings/CheckboxGroup.js.map +1 -1
  389. package/lib/module/mappings/CheckboxRow.js.map +1 -1
  390. package/lib/module/mappings/CircleImage.js.map +1 -1
  391. package/lib/module/mappings/Container.js.map +1 -1
  392. package/lib/module/mappings/CustomCode.js.map +1 -1
  393. package/lib/module/mappings/DatePicker.js.map +1 -1
  394. package/lib/module/mappings/Divider.js.map +1 -1
  395. package/lib/module/mappings/FAB.js.map +1 -1
  396. package/lib/module/mappings/Fetch.js.map +1 -1
  397. package/lib/module/mappings/FieldSearchBarFull.js.map +1 -1
  398. package/lib/module/mappings/FlatList.js.map +1 -1
  399. package/lib/module/mappings/HeaderLarge.js.map +1 -1
  400. package/lib/module/mappings/HeaderMedium.js.map +1 -1
  401. package/lib/module/mappings/HeaderOverline.js.map +1 -1
  402. package/lib/module/mappings/Icon.js.map +1 -1
  403. package/lib/module/mappings/IconButton.js.map +1 -1
  404. package/lib/module/mappings/Image.js.map +1 -1
  405. package/lib/module/mappings/ImageBackground.js.map +1 -1
  406. package/lib/module/mappings/KeyboardAvoidingView.js.map +1 -1
  407. package/lib/module/mappings/KeyboardAwareScrollView.js.map +1 -1
  408. package/lib/module/mappings/Layout.js.map +1 -1
  409. package/lib/module/mappings/LinearGradient.js.map +1 -1
  410. package/lib/module/mappings/MapCallout.js.map +1 -1
  411. package/lib/module/mappings/MapMarker.js.map +1 -1
  412. package/lib/module/mappings/MapView.js.map +1 -1
  413. package/lib/module/mappings/Modal.js.map +1 -1
  414. package/lib/module/mappings/Picker.js.map +1 -1
  415. package/lib/module/mappings/ProgressBar.js.map +1 -1
  416. package/lib/module/mappings/ProgressCircle.js.map +1 -1
  417. package/lib/module/mappings/ProgressIndicator.js.map +1 -1
  418. package/lib/module/mappings/RadioButton.js.map +1 -1
  419. package/lib/module/mappings/RadioButtonGroup.js.map +1 -1
  420. package/lib/module/mappings/RadioButtonRow.js.map +1 -1
  421. package/lib/module/mappings/RowBodyIcon.js.map +1 -1
  422. package/lib/module/mappings/RowHeadlineImageCaption.js.map +1 -1
  423. package/lib/module/mappings/RowHeadlineImageIcon.js.map +1 -1
  424. package/lib/module/mappings/SafeAreaView.js.map +1 -1
  425. package/lib/module/mappings/ScrollView.js.map +1 -1
  426. package/lib/module/mappings/Slider.js.map +1 -1
  427. package/lib/module/mappings/StarRating.js.map +1 -1
  428. package/lib/module/mappings/Stepper.js.map +1 -1
  429. package/lib/module/mappings/Surface.js.map +1 -1
  430. package/lib/module/mappings/Swiper.js.map +1 -1
  431. package/lib/module/mappings/SwiperItem.js.map +1 -1
  432. package/lib/module/mappings/Switch.js.map +1 -1
  433. package/lib/module/mappings/Text.js.map +1 -1
  434. package/lib/module/mappings/TextArea.js.map +1 -1
  435. package/lib/module/mappings/TextField.js.map +1 -1
  436. package/lib/module/mappings/TextInput.js.map +1 -1
  437. package/lib/module/mappings/ToggleButton.js.map +1 -1
  438. package/lib/module/mappings/Touchable.js.map +1 -1
  439. package/lib/module/mappings/Video.js.map +1 -1
  440. package/lib/module/mappings/View.js.map +1 -1
  441. package/lib/module/mappings/WebView.js.map +1 -1
  442. package/lib/module/styles/DarkTheme.js.map +1 -1
  443. package/lib/module/styles/DefaultTheme.js.map +1 -1
  444. package/lib/module/styles/fonts.js.map +1 -1
  445. package/lib/module/styles/overlay.js.map +1 -1
  446. package/lib/module/styles/shadow.js.map +1 -1
  447. package/lib/module/theming.js.map +1 -1
  448. package/lib/module/utilities.js.map +1 -1
  449. package/lib/typescript/src/index.d.ts +0 -1
  450. package/package.json +5 -7
  451. package/src/index.tsx +0 -1
  452. package/lib/commonjs/components/TabView/TabView.js +0 -103
  453. package/lib/commonjs/components/TabView/TabView.js.map +0 -1
  454. package/lib/commonjs/components/TabView/TabViewItem.js +0 -27
  455. package/lib/commonjs/components/TabView/TabViewItem.js.map +0 -1
  456. package/lib/commonjs/components/TabView/index.js +0 -24
  457. package/lib/commonjs/components/TabView/index.js.map +0 -1
  458. package/lib/commonjs/mappings/TabView.js +0 -80
  459. package/lib/commonjs/mappings/TabView.js.map +0 -1
  460. package/lib/module/components/TabView/TabView.js +0 -88
  461. package/lib/module/components/TabView/TabView.js.map +0 -1
  462. package/lib/module/components/TabView/TabViewItem.js +0 -19
  463. package/lib/module/components/TabView/TabViewItem.js.map +0 -1
  464. package/lib/module/components/TabView/index.js +0 -3
  465. package/lib/module/components/TabView/index.js.map +0 -1
  466. package/lib/module/mappings/TabView.js +0 -71
  467. package/lib/module/mappings/TabView.js.map +0 -1
  468. package/lib/typescript/src/components/TabView/TabView.d.ts +0 -19
  469. package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -10
  470. package/lib/typescript/src/components/TabView/index.d.ts +0 -2
  471. package/lib/typescript/src/mappings/TabView.d.ts +0 -111
  472. package/src/Provider.js +0 -9
  473. package/src/components/Accordion/AccordionGroup.js +0 -44
  474. package/src/components/Accordion/AccordionItem.js +0 -32
  475. package/src/components/Accordion/index.js +0 -2
  476. package/src/components/ActionSheet/ActionSheet.js +0 -45
  477. package/src/components/ActionSheet/ActionSheetCancel.js +0 -6
  478. package/src/components/ActionSheet/ActionSheetItem.js +0 -30
  479. package/src/components/ActionSheet/index.js +0 -3
  480. package/src/components/AnimatedCircularProgress.js +0 -43
  481. package/src/components/AspectRatio.js +0 -18
  482. package/src/components/AvatarEdit.js +0 -30
  483. package/src/components/Banner.js +0 -109
  484. package/src/components/Button.js +0 -112
  485. package/src/components/Card.js +0 -57
  486. package/src/components/CardBlock.js +0 -54
  487. package/src/components/CardContainer.js +0 -69
  488. package/src/components/CardContainerRating.js +0 -79
  489. package/src/components/CardContainerShortImage.js +0 -33
  490. package/src/components/CardInline.js +0 -36
  491. package/src/components/Carousel.js +0 -66
  492. package/src/components/Checkbox/Checkbox.js +0 -63
  493. package/src/components/Checkbox/CheckboxGroup.js +0 -21
  494. package/src/components/Checkbox/CheckboxGroupRow.js +0 -77
  495. package/src/components/Checkbox/CheckboxRow.js +0 -78
  496. package/src/components/Checkbox/context.js +0 -14
  497. package/src/components/Checkbox/index.js +0 -3
  498. package/src/components/CircleImage.js +0 -8
  499. package/src/components/CircularProgress.js +0 -78
  500. package/src/components/Config.js +0 -63
  501. package/src/components/Container.js +0 -43
  502. package/src/components/DatePicker/DatePicker.js +0 -368
  503. package/src/components/DatePicker/DatePickerComponent.js +0 -13
  504. package/src/components/DatePicker/DatePickerComponent.web.js +0 -30
  505. package/src/components/DatePicker/DatePickerComponentType.js +0 -1
  506. package/src/components/DeprecatedButton.js +0 -95
  507. package/src/components/DeprecatedCardWrapper.js +0 -18
  508. package/src/components/DeprecatedFAB.js +0 -115
  509. package/src/components/Divider.js +0 -13
  510. package/src/components/Elevation.js +0 -20
  511. package/src/components/FAB.js +0 -46
  512. package/src/components/FieldSearchBarFull.js +0 -53
  513. package/src/components/FormRow.js +0 -19
  514. package/src/components/Header.js +0 -44
  515. package/src/components/HeaderLarge.js +0 -7
  516. package/src/components/HeaderMedium.js +0 -7
  517. package/src/components/HeaderOverline.js +0 -7
  518. package/src/components/IconButton.js +0 -35
  519. package/src/components/Image.js +0 -47
  520. package/src/components/Justification.js +0 -1
  521. package/src/components/Layout.js +0 -50
  522. package/src/components/NumberInput.js +0 -49
  523. package/src/components/Picker/Picker.js +0 -266
  524. package/src/components/Picker/PickerComponent.android.js +0 -68
  525. package/src/components/Picker/PickerComponent.ios.js +0 -78
  526. package/src/components/Picker/PickerComponent.web.js +0 -69
  527. package/src/components/Picker/PickerTypes.js +0 -1
  528. package/src/components/Portal/Portal.js +0 -35
  529. package/src/components/Portal/PortalConsumer.js +0 -28
  530. package/src/components/Portal/PortalHost.js +0 -105
  531. package/src/components/Portal/PortalManager.js +0 -29
  532. package/src/components/ProgressBar.js +0 -118
  533. package/src/components/ProgressCircle.js +0 -13
  534. package/src/components/ProgressIndicator.js +0 -27
  535. package/src/components/RadioButton/RadioButton.js +0 -17
  536. package/src/components/RadioButton/RadioButtonFieldGroup.js +0 -17
  537. package/src/components/RadioButton/RadioButtonGroup.js +0 -43
  538. package/src/components/RadioButton/RadioButtonRow.js +0 -76
  539. package/src/components/RadioButton/context.js +0 -14
  540. package/src/components/RadioButton/index.js +0 -4
  541. package/src/components/ResizeMode.js +0 -1
  542. package/src/components/Row.js +0 -48
  543. package/src/components/RowBodyIcon.js +0 -8
  544. package/src/components/RowHeadlineImageCaption.js +0 -12
  545. package/src/components/RowHeadlineImageIcon.js +0 -14
  546. package/src/components/ScreenContainer.js +0 -34
  547. package/src/components/Slider.js +0 -63
  548. package/src/components/StarRating.js +0 -50
  549. package/src/components/StepIndicator.js +0 -346
  550. package/src/components/Stepper.js +0 -39
  551. package/src/components/Surface.js +0 -32
  552. package/src/components/Swiper/Swiper.js +0 -29
  553. package/src/components/Swiper/SwiperItem.js +0 -9
  554. package/src/components/Swiper/index.js +0 -2
  555. package/src/components/Switch.js +0 -56
  556. package/src/components/TabView/TabView.js +0 -33
  557. package/src/components/TabView/TabView.tsx +0 -97
  558. package/src/components/TabView/TabViewItem.js +0 -5
  559. package/src/components/TabView/TabViewItem.tsx +0 -21
  560. package/src/components/TabView/index.js +0 -2
  561. package/src/components/TabView/index.ts +0 -2
  562. package/src/components/Text.js +0 -28
  563. package/src/components/TextField.js +0 -420
  564. package/src/components/ToggleButton.js +0 -39
  565. package/src/components/Touchable.js +0 -12
  566. package/src/components/Touchable.web.js +0 -2
  567. package/src/components/Typography.js +0 -36
  568. package/src/components/useAuthState.js +0 -31
  569. package/src/constants.js +0 -10
  570. package/src/hooks.js +0 -12
  571. package/src/index.js +0 -53
  572. package/src/interfaces/Icon.js +0 -8
  573. package/src/mappings/Accordion.js +0 -41
  574. package/src/mappings/AccordionItem.js +0 -16
  575. package/src/mappings/ActionSheet.js +0 -13
  576. package/src/mappings/ActionSheetCancel.js +0 -19
  577. package/src/mappings/ActionSheetItem.js +0 -23
  578. package/src/mappings/ActivityIndicator.js +0 -53
  579. package/src/mappings/AudioPlayer.js +0 -20
  580. package/src/mappings/AvatarEdit.js +0 -37
  581. package/src/mappings/Banner.js +0 -32
  582. package/src/mappings/BlurView.js +0 -41
  583. package/src/mappings/Button.js +0 -56
  584. package/src/mappings/Card.js +0 -52
  585. package/src/mappings/CardBlock.js +0 -122
  586. package/src/mappings/CardContainer.js +0 -102
  587. package/src/mappings/CardContainerRating.js +0 -124
  588. package/src/mappings/CardContainerShortImage.js +0 -118
  589. package/src/mappings/CardInline.js +0 -51
  590. package/src/mappings/Carousel.js +0 -18
  591. package/src/mappings/Checkbox.js +0 -45
  592. package/src/mappings/CheckboxGroup.js +0 -25
  593. package/src/mappings/CheckboxRow.js +0 -56
  594. package/src/mappings/CircleImage.js +0 -24
  595. package/src/mappings/Container.js +0 -29
  596. package/src/mappings/CustomCode.js +0 -8
  597. package/src/mappings/DatePicker.js +0 -147
  598. package/src/mappings/Divider.js +0 -26
  599. package/src/mappings/FAB.js +0 -36
  600. package/src/mappings/Fetch.js +0 -12
  601. package/src/mappings/FieldSearchBarFull.js +0 -49
  602. package/src/mappings/FlatList.js +0 -19
  603. package/src/mappings/HeaderLarge.js +0 -28
  604. package/src/mappings/HeaderMedium.js +0 -54
  605. package/src/mappings/HeaderOverline.js +0 -54
  606. package/src/mappings/Icon.js +0 -25
  607. package/src/mappings/IconButton.js +0 -30
  608. package/src/mappings/Image.js +0 -15
  609. package/src/mappings/ImageBackground.js +0 -28
  610. package/src/mappings/KeyboardAvoidingView.js +0 -40
  611. package/src/mappings/KeyboardAwareScrollView.js +0 -49
  612. package/src/mappings/Layout.js +0 -195
  613. package/src/mappings/LinearGradient.js +0 -77
  614. package/src/mappings/MapCallout.js +0 -21
  615. package/src/mappings/MapMarker.js +0 -47
  616. package/src/mappings/MapView.js +0 -138
  617. package/src/mappings/Modal.js +0 -41
  618. package/src/mappings/Picker.js +0 -139
  619. package/src/mappings/ProgressBar.js +0 -100
  620. package/src/mappings/ProgressCircle.js +0 -108
  621. package/src/mappings/ProgressIndicator.js +0 -180
  622. package/src/mappings/RadioButton.js +0 -50
  623. package/src/mappings/RadioButtonGroup.js +0 -16
  624. package/src/mappings/RadioButtonRow.js +0 -37
  625. package/src/mappings/RowBodyIcon.js +0 -75
  626. package/src/mappings/RowHeadlineImageCaption.js +0 -167
  627. package/src/mappings/RowHeadlineImageIcon.js +0 -99
  628. package/src/mappings/SafeAreaView.js +0 -33
  629. package/src/mappings/ScrollView.js +0 -30
  630. package/src/mappings/Slider.js +0 -59
  631. package/src/mappings/StarRating.js +0 -42
  632. package/src/mappings/Stepper.js +0 -28
  633. package/src/mappings/Surface.js +0 -13
  634. package/src/mappings/Swiper.js +0 -60
  635. package/src/mappings/SwiperItem.js +0 -8
  636. package/src/mappings/Switch.js +0 -75
  637. package/src/mappings/TabView.js +0 -73
  638. package/src/mappings/TabView.ts +0 -80
  639. package/src/mappings/Text.js +0 -232
  640. package/src/mappings/TextArea.js +0 -52
  641. package/src/mappings/TextField.js +0 -158
  642. package/src/mappings/TextInput.js +0 -208
  643. package/src/mappings/ToggleButton.js +0 -45
  644. package/src/mappings/Touchable.js +0 -12
  645. package/src/mappings/Video.js +0 -74
  646. package/src/mappings/View.js +0 -206
  647. package/src/mappings/WebView.js +0 -18
  648. package/src/styles/DarkTheme.js +0 -26
  649. package/src/styles/DefaultTheme.js +0 -111
  650. package/src/styles/fonts.js +0 -62
  651. package/src/styles/overlay.js +0 -60
  652. package/src/styles/shadow.js +0 -51
  653. package/src/theming.js +0 -3
  654. package/src/utilities.js +0 -102
@@ -1,111 +0,0 @@
1
- export declare const SEED_DATA: ({
2
- name: string;
3
- tag: string;
4
- category: string;
5
- layout: {};
6
- props: {
7
- tabBarPosition: {
8
- group: string;
9
- label: string;
10
- description: string;
11
- editable: boolean;
12
- required: boolean;
13
- formType: string;
14
- propType: string;
15
- defaultValue: null;
16
- options: never[];
17
- };
18
- keyboardDismissMode: {
19
- group: string;
20
- label: string;
21
- description: string;
22
- editable: boolean;
23
- required: boolean;
24
- formType: string;
25
- propType: string;
26
- defaultValue: null;
27
- options: never[];
28
- };
29
- swipeEnabled: {
30
- label: string;
31
- description: string;
32
- formType: string;
33
- propType: string;
34
- defaultValue: boolean;
35
- editable: boolean;
36
- required: boolean;
37
- group: string;
38
- };
39
- scrollEnabled: {
40
- label: string;
41
- description: string;
42
- formType: string;
43
- propType: string;
44
- defaultValue: boolean;
45
- editable: boolean;
46
- required: boolean;
47
- group: string;
48
- };
49
- activeColor: {
50
- group: string;
51
- label: string;
52
- description: string;
53
- editable: boolean;
54
- required: boolean;
55
- defaultValue: null;
56
- formType: string;
57
- propType: string;
58
- };
59
- inactiveColor: {
60
- group: string;
61
- label: string;
62
- description: string;
63
- editable: boolean;
64
- required: boolean;
65
- defaultValue: null;
66
- formType: string;
67
- propType: string;
68
- };
69
- pressColor: {
70
- group: string;
71
- label: string;
72
- description: string;
73
- editable: boolean;
74
- required: boolean;
75
- defaultValue: null;
76
- formType: string;
77
- propType: string;
78
- };
79
- indicatorColor: {
80
- group: string;
81
- label: string;
82
- description: string;
83
- editable: boolean;
84
- required: boolean;
85
- defaultValue: null;
86
- formType: string;
87
- propType: string;
88
- };
89
- title?: undefined;
90
- id?: undefined;
91
- accessibilityLabel?: undefined;
92
- };
93
- } | {
94
- name: string;
95
- tag: string;
96
- category: string;
97
- layout: {};
98
- props: {
99
- title: any;
100
- id: any;
101
- accessibilityLabel: any;
102
- tabBarPosition?: undefined;
103
- keyboardDismissMode?: undefined;
104
- swipeEnabled?: undefined;
105
- scrollEnabled?: undefined;
106
- activeColor?: undefined;
107
- inactiveColor?: undefined;
108
- pressColor?: undefined;
109
- indicatorColor?: undefined;
110
- };
111
- })[];
package/src/Provider.js DELETED
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- import { ThemeProvider } from "./theming";
3
- import PortalHost from "./components/Portal/PortalHost";
4
- export default class Provider extends React.Component {
5
- render() {
6
- return (React.createElement(PortalHost, null,
7
- React.createElement(ThemeProvider, { theme: this.props.theme }, this.props.children)));
8
- }
9
- }
@@ -1,44 +0,0 @@
1
- import * as React from "react";
2
- import { View, StyleSheet, Pressable, } from "react-native";
3
- import Text from "../Text";
4
- import { withTheme } from "../../theming";
5
- import { extractStyles } from "../../utilities";
6
- const AccordionGroup = ({ label, expanded: expandedProp = false, openColor, closedColor, caretColor: caretColorProp, caretSize = 24, icon, iconSize = 24, style, children, theme, Icon, }) => {
7
- const [expanded, setExpanded] = React.useState(expandedProp);
8
- const { textStyles, viewStyles } = extractStyles(style);
9
- const expandedColor = openColor || theme.colors.primary;
10
- const collapsedColor = closedColor || theme.colors.primary;
11
- const labelColor = expanded ? expandedColor : collapsedColor;
12
- const caretColor = caretColorProp || labelColor;
13
- const handlePressAction = () => {
14
- setExpanded(!expanded);
15
- };
16
- return (React.createElement(React.Fragment, null,
17
- React.createElement(Pressable, { style: [styles.row, viewStyles], onPress: handlePressAction, accessibilityRole: "button" },
18
- icon ? (React.createElement(Icon, { name: icon, size: iconSize, color: labelColor, style: styles.icon })) : null,
19
- React.createElement(View, { style: styles.content },
20
- React.createElement(Text, { selectable: false, style: [
21
- textStyles,
22
- {
23
- color: labelColor,
24
- },
25
- ] }, label)),
26
- React.createElement(Icon, { name: expanded
27
- ? "MaterialIcons/keyboard-arrow-up"
28
- : "MaterialIcons/keyboard-arrow-down", color: caretColor, size: caretSize })),
29
- expanded ? children : null));
30
- };
31
- const styles = StyleSheet.create({
32
- row: {
33
- flexDirection: "row",
34
- alignItems: "center",
35
- },
36
- content: {
37
- flex: 1,
38
- justifyContent: "center",
39
- },
40
- icon: {
41
- marginRight: 8,
42
- },
43
- });
44
- export default withTheme(AccordionGroup);
@@ -1,32 +0,0 @@
1
- import * as React from "react";
2
- import { Pressable, StyleSheet, View, } from "react-native";
3
- import Text from "../Text";
4
- import { extractStyles } from "../../utilities";
5
- import { withTheme } from "../../theming";
6
- const AccordionItem = ({ Icon, icon, label, style, iconColor, theme, ...rest }) => {
7
- const { textStyles, viewStyles } = extractStyles(style);
8
- return (React.createElement(Pressable, { style: [styles.container, viewStyles], ...rest },
9
- React.createElement(View, { style: styles.row },
10
- icon ? (React.createElement(Icon, { name: icon, size: 24, color: iconColor || theme.colors.primary })) : null,
11
- React.createElement(View, { style: [styles.item, styles.content] },
12
- React.createElement(Text, { selectable: false, style: textStyles }, label)))));
13
- };
14
- const styles = StyleSheet.create({
15
- container: {
16
- padding: 8,
17
- },
18
- row: {
19
- flexDirection: "row",
20
- alignItems: "center",
21
- paddingLeft: 8,
22
- },
23
- item: {
24
- marginVertical: 6,
25
- paddingLeft: 8,
26
- },
27
- content: {
28
- flex: 1,
29
- justifyContent: "center",
30
- },
31
- });
32
- export default withTheme(AccordionItem);
@@ -1,2 +0,0 @@
1
- export { default as AccordionGroup } from "./AccordionGroup";
2
- export { default as AccordionItem } from "./AccordionItem";
@@ -1,45 +0,0 @@
1
- import React from "react";
2
- import { View, StyleSheet } from "react-native";
3
- import Portal from "../Portal/Portal";
4
- import Touchable from "../Touchable";
5
- import ActionSheetCancel from "./ActionSheetCancel";
6
- const ActionSheet = ({ visible = false, onClose, children }) => {
7
- return visible ? (React.createElement(Portal, null,
8
- React.createElement(Touchable, { style: styles.wrapper, onPress: onClose },
9
- React.createElement(View, { style: styles.overlay }),
10
- React.createElement(View, { style: styles.groupWrapper },
11
- React.createElement(View, { style: styles.group }, React.Children.toArray(children).filter((child) => child?.type !== ActionSheetCancel)),
12
- React.createElement(View, { style: styles.group }, React.Children.toArray(children).filter((child) => child.type === ActionSheetCancel)))))) : (React.createElement(React.Fragment, null));
13
- };
14
- const styles = StyleSheet.create({
15
- wrapper: {
16
- flex: 1,
17
- display: "flex",
18
- flexDirection: "column",
19
- },
20
- overlay: {
21
- position: "absolute",
22
- top: 0,
23
- left: 0,
24
- right: 0,
25
- bottom: 0,
26
- backgroundColor: "#000000",
27
- opacity: 0.3,
28
- },
29
- groupWrapper: {
30
- flex: 1,
31
- flexDirection: "column",
32
- justifyContent: "flex-end",
33
- display: "flex",
34
- marginBottom: 25,
35
- },
36
- group: {
37
- display: "flex",
38
- flexDirection: "column",
39
- borderRadius: 10,
40
- marginHorizontal: 7,
41
- marginVertical: 2.5,
42
- overflow: "hidden",
43
- },
44
- });
45
- export default ActionSheet;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import ActionSheetItem from "./ActionSheetItem";
3
- const ActionSheetCancel = ({ label = "Cancel", color, style, onPress, }) => {
4
- return (React.createElement(ActionSheetItem, { label: label, color: color || "#FF453A", style: [style], onPress: onPress }));
5
- };
6
- export default ActionSheetCancel;
@@ -1,30 +0,0 @@
1
- import React from "react";
2
- import { Text, StyleSheet, TouchableOpacity, } from "react-native";
3
- import { extractStyles } from "../../utilities";
4
- const ActionSheetItem = ({ label, style, color, onPress }) => {
5
- const { textStyles, viewStyles } = extractStyles(style);
6
- return (React.createElement(TouchableOpacity, { activeOpacity: 0.7, style: [styles.wrapper, viewStyles], onPress: onPress },
7
- React.createElement(Text, { style: [styles.label, textStyles, { color }] }, label)));
8
- };
9
- const styles = StyleSheet.create({
10
- wrapper: {
11
- borderBottomWidth: StyleSheet.hairlineWidth,
12
- borderBottomColor: "#CCCCCC",
13
- backgroundColor: "#F1F1F1",
14
- minHeight: 50,
15
- overflow: "hidden",
16
- display: "flex",
17
- justifyContent: "center",
18
- },
19
- label: {
20
- fontSize: 16,
21
- textAlign: "center",
22
- color: "#0A84FF",
23
- fontWeight: "500",
24
- overflow: "hidden",
25
- paddingHorizontal: 20,
26
- paddingVertical: 10,
27
- alignSelf: "center",
28
- },
29
- });
30
- export default ActionSheetItem;
@@ -1,3 +0,0 @@
1
- export { default as ActionSheet } from "./ActionSheet";
2
- export { default as ActionSheetItem } from "./ActionSheetItem";
3
- export { default as ActionSheetCancel } from "./ActionSheetCancel";
@@ -1,43 +0,0 @@
1
- import * as React from "react";
2
- import { Animated, Easing, } from "react-native";
3
- import CircularProgress from "./CircularProgress";
4
- const AnimatedProgress = Animated.createAnimatedComponent(CircularProgress);
5
- const AnimatedCircularProgress = ({ duration = 500, easing = Easing.out(Easing.ease), fill, prefill = 0, useNativeDriver = false, tintColorSecondary, onAnimationComplete, tintColor = "black", ...other }) => {
6
- const [fillAnimation] = React.useState(new Animated.Value(prefill));
7
- const animate = React.useCallback((toVal = -1, dur, ease) => {
8
- const toValue = toVal >= 0 ? toVal : fill;
9
- const dura = dur || duration;
10
- const eas = ease || easing;
11
- const useNative = useNativeDriver;
12
- const anim = Animated.timing(fillAnimation, {
13
- useNativeDriver: useNative,
14
- toValue,
15
- easing: eas,
16
- duration: dura,
17
- });
18
- anim.start(onAnimationComplete);
19
- return anim;
20
- }, [
21
- duration,
22
- easing,
23
- fill,
24
- useNativeDriver,
25
- fillAnimation,
26
- onAnimationComplete,
27
- ]);
28
- const animateColor = () => {
29
- if (!tintColorSecondary) {
30
- return tintColor;
31
- }
32
- const tintAnimation = fillAnimation.interpolate({
33
- inputRange: [0, 100],
34
- outputRange: [tintColor, tintColorSecondary],
35
- });
36
- return tintAnimation;
37
- };
38
- React.useEffect(() => {
39
- animate();
40
- }, [fill, animate]);
41
- return (React.createElement(AnimatedProgress, { ...other, style: other.style, childrenContainerStyle: other.childrenContainerStyle, fill: fillAnimation, tintColor: animateColor() }));
42
- };
43
- export default AnimatedCircularProgress;
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { View, StyleSheet, } from "react-native";
3
- const AspectRatio = (props) => {
4
- const [layout, setLayout] = React.useState(null);
5
- const { aspectRatio = 1, ...inputStyle } = StyleSheet.flatten(props.style) || {};
6
- const style = [inputStyle, { aspectRatio }];
7
- if (layout) {
8
- const { width = 0, height = 0 } = layout;
9
- if (width === 0) {
10
- style.push({ width: height * (1 / aspectRatio), height });
11
- }
12
- else {
13
- style.push({ width, height: width * (1 / aspectRatio) });
14
- }
15
- }
16
- return (React.createElement(View, { ...props, style: style, onLayout: ({ nativeEvent: { layout: l } }) => setLayout(l) }, props.children));
17
- };
18
- export default AspectRatio;
@@ -1,30 +0,0 @@
1
- import * as React from "react";
2
- import { View } from "react-native";
3
- import Touchable from "./Touchable";
4
- import CircleImage from "./CircleImage";
5
- import { withTheme } from "../theming";
6
- const AvatarEdit = ({ Icon, image, size = 80, onPress = () => { }, style, theme, ...rest }) => {
7
- const colorStyles = {
8
- editBackgroundColor: theme.colors.primary,
9
- editIconColor: theme.colors.surface,
10
- editBorderColor: theme.colors.surface,
11
- };
12
- const dimensions = {
13
- width: size,
14
- height: size,
15
- };
16
- return (React.createElement(View, { style: [style, dimensions], ...rest },
17
- React.createElement(Touchable, { onPress: onPress },
18
- React.createElement(CircleImage, { source: image, size: size }),
19
- React.createElement(View, { style: {
20
- position: "absolute",
21
- top: -3,
22
- right: -3,
23
- borderColor: colorStyles.editBorderColor,
24
- backgroundColor: colorStyles.editBackgroundColor,
25
- borderRadius: size * (3 / 16),
26
- padding: size * (3 / 32),
27
- } },
28
- React.createElement(Icon, { name: "MaterialIcons/edit", color: colorStyles.editIconColor, size: size * (3 / 16) })))));
29
- };
30
- export default withTheme(AvatarEdit);
@@ -1,109 +0,0 @@
1
- import * as React from "react";
2
- import { Button, Text, View, StyleSheet, Animated, } from "react-native";
3
- import Surface from "./Surface";
4
- import shadow from "../styles/shadow";
5
- import { withTheme } from "../theming";
6
- const ELEVATION = 1;
7
- const DEFAULT_MAX_WIDTH = 960;
8
- const Banner = ({ initiallyVisible = true, dismissable = true, icon, buttonColor, content, contentStyle, style, theme, Icon, ...rest }) => {
9
- const [visible, setVisible] = React.useState(initiallyVisible);
10
- React.useEffect(() => {
11
- if (initiallyVisible) {
12
- setVisible(true);
13
- }
14
- }, [initiallyVisible]);
15
- const { current: position } = React.useRef(new Animated.Value(visible ? 1 : 0));
16
- const [layout, setLayout] = React.useState({
17
- height: 0,
18
- measured: false,
19
- });
20
- React.useEffect(() => {
21
- if (visible) {
22
- // show
23
- Animated.timing(position, {
24
- duration: 250,
25
- toValue: 1,
26
- useNativeDriver: false,
27
- }).start();
28
- }
29
- else {
30
- // hide
31
- Animated.timing(position, {
32
- duration: 200,
33
- toValue: 0,
34
- useNativeDriver: false,
35
- }).start();
36
- }
37
- }, [visible, position]);
38
- const handleLayout = ({ nativeEvent }) => {
39
- const { height } = nativeEvent.layout;
40
- setLayout({ height, measured: true });
41
- };
42
- // The banner animation has 2 parts:
43
- // 1. Blank spacer element which animates its height to move the content
44
- // 2. Actual banner which animates its translateY
45
- // In initial render, we position everything normally and measure the height of the banner
46
- // Once we have the height, we apply the height to the spacer and switch the banner to position: absolute
47
- // We need this because we need to move the content below as if banner's height was being animated
48
- // However we can't animated banner's height directly as it'll also resize the content inside
49
- const height = Animated.multiply(position, layout.height);
50
- const translateY = Animated.multiply(Animated.add(position, -1), layout.height);
51
- return (React.createElement(Surface, { ...rest, style: [styles.container, shadow(ELEVATION), style] },
52
- React.createElement(View, { style: [styles.wrapper, contentStyle] },
53
- React.createElement(Animated.View, { style: { height } }),
54
- React.createElement(Animated.View, { onLayout: handleLayout, style: [
55
- layout.measured || !visible
56
- ? // If we have measured banner's height or it's invisible,
57
- // Position it absolutely, the layout will be taken care of the spacer
58
- [styles.absolute, { transform: [{ translateY }] }]
59
- : // Otherwise position it normally
60
- null,
61
- !layout.measured && !visible
62
- ? // If we haven't measured banner's height yet and it's invisible,
63
- // hide it with opacity: 0 so user doesn't see it
64
- { opacity: 0 }
65
- : null,
66
- ] },
67
- React.createElement(View, { style: [styles.content, { marginBottom: dismissable ? 0 : 16 }] },
68
- icon ? (React.createElement(View, { style: styles.icon },
69
- React.createElement(Icon, { name: icon, size: 40 }))) : null,
70
- React.createElement(Text, { style: [styles.message, { color: theme.colors.text }], accessibilityLiveRegion: visible ? "polite" : "none", accessibilityRole: "alert" }, content)),
71
- dismissable ? (React.createElement(View, { style: styles.actions },
72
- React.createElement(Button, { color: buttonColor || theme.colors.primary, title: "Close", onPress: () => setVisible(false) }))) : null))));
73
- };
74
- const styles = StyleSheet.create({
75
- container: {
76
- elevation: ELEVATION,
77
- },
78
- wrapper: {
79
- overflow: "hidden",
80
- alignSelf: "center",
81
- width: "100%",
82
- maxWidth: DEFAULT_MAX_WIDTH,
83
- },
84
- absolute: {
85
- position: "absolute",
86
- top: 0,
87
- width: "100%",
88
- },
89
- content: {
90
- flexDirection: "row",
91
- justifyContent: "flex-start",
92
- marginHorizontal: 8,
93
- marginTop: 16,
94
- marginBottom: 0,
95
- },
96
- icon: {
97
- margin: 8,
98
- },
99
- message: {
100
- flex: 1,
101
- margin: 8,
102
- },
103
- actions: {
104
- flexDirection: "row",
105
- justifyContent: "flex-end",
106
- margin: 8,
107
- },
108
- });
109
- export default withTheme(Banner);
@@ -1,112 +0,0 @@
1
- import * as React from "react";
2
- import { Text, Pressable, Platform, StyleSheet, ActivityIndicator, } from "react-native";
3
- import { withTheme } from "../theming";
4
- const CONSTANTS = {
5
- baseHeight: 42,
6
- borderRadius: 4,
7
- padding: 8,
8
- icon: 24,
9
- };
10
- function Base({ Icon, icon, title, onPress, loading, disabled, style, ...props }) {
11
- const { color, fontFamily, fontWeight, fontSize, lineHeight, letterSpacing, textTransform, textAlign, textDecorationLine, textDecorationColor, textDecorationStyle, ...buttonStyles } = StyleSheet.flatten(style || {});
12
- const titleStyles = {
13
- color,
14
- fontFamily,
15
- fontWeight,
16
- fontSize,
17
- lineHeight,
18
- letterSpacing,
19
- textTransform,
20
- textAlign,
21
- textDecorationLine,
22
- textDecorationColor,
23
- textDecorationStyle,
24
- };
25
- if (textAlign === "left") {
26
- buttonStyles.justifyContent = "flex-start";
27
- }
28
- if (textAlign === "right") {
29
- buttonStyles.justifyContent = "flex-end";
30
- }
31
- return (React.createElement(Pressable, { onPress: onPress, disabled: disabled || loading, style: ({ pressed }) => {
32
- return [
33
- styles.base,
34
- {
35
- opacity: pressed || disabled ? 0.75 : 1,
36
- },
37
- buttonStyles,
38
- ];
39
- }, ...props },
40
- loading ? (React.createElement(ActivityIndicator, { size: "small", color: color, style: styles.loading })) : null,
41
- icon && !loading ? (React.createElement(Icon, { name: icon, color: color, style: styles.icon, size: CONSTANTS.icon })) : null,
42
- React.createElement(Text, { style: titleStyles }, title)));
43
- }
44
- const Solid = ({ style, theme, ...props }) => {
45
- return (React.createElement(Base, { style: [
46
- {
47
- color: "#FFF",
48
- borderRadius: theme.roundness,
49
- backgroundColor: theme.colors.primary,
50
- },
51
- style,
52
- ], ...props }));
53
- };
54
- const ButtonSolid = withTheme(Solid);
55
- export { ButtonSolid };
56
- const Outline = ({ style, theme, ...props }) => {
57
- return (React.createElement(Base, { style: [
58
- styles.outline,
59
- {
60
- borderRadius: theme.roundness,
61
- borderColor: theme.colors.primary,
62
- color: theme.colors.primary,
63
- },
64
- style,
65
- ], ...props }));
66
- };
67
- const ButtonOutline = withTheme(Outline);
68
- export { ButtonOutline };
69
- const styles = StyleSheet.create({
70
- base: {
71
- position: "relative",
72
- flexDirection: "row",
73
- alignItems: "center",
74
- justifyContent: "center",
75
- minHeight: CONSTANTS.baseHeight,
76
- paddingHorizontal: 12,
77
- fontFamily: "System",
78
- fontWeight: "700",
79
- ...Platform.select({
80
- web: {
81
- cursor: "pointer",
82
- userSelect: "none",
83
- },
84
- }),
85
- },
86
- outline: {
87
- backgroundColor: "transparent",
88
- borderWidth: 1,
89
- },
90
- bare: {
91
- backgroundColor: "transparent",
92
- padding: 0,
93
- minHeight: undefined,
94
- },
95
- loading: {
96
- marginRight: 6,
97
- },
98
- icon: {
99
- ...Platform.select({
100
- web: {
101
- marginTop: 1,
102
- marginRight: 4,
103
- alignSelf: "center",
104
- },
105
- default: {
106
- marginBottom: 2,
107
- marginRight: 4,
108
- alignSelf: "center",
109
- },
110
- }),
111
- },
112
- });
@@ -1,57 +0,0 @@
1
- import React from "react";
2
- import { StyleSheet, View, Pressable, } from "react-native";
3
- import Image from "./Image";
4
- import Surface from "./Surface";
5
- import { Title, Subtitle, Caption } from "./Typography";
6
- import { withTheme } from "../theming";
7
- import Config from "./Config";
8
- const ICON_SIZE = Config.cardIconSize;
9
- const ICON_CONTAINER_SIZE = Config.cardIconSize * 2;
10
- const ICON_CONTAINER_PADDING = Config.cardIconSize / 2 - 1;
11
- const ICON_ELEVATION = Config.cardIconElevation;
12
- export const TopRightCircleIcon = withTheme(({ Icon, icon, theme, onPress, }) => {
13
- return (React.createElement(Surface, { style: {
14
- justifyContent: "center",
15
- alignItems: "center",
16
- elevation: ICON_ELEVATION,
17
- position: "absolute",
18
- top: 12,
19
- right: 12,
20
- width: ICON_CONTAINER_SIZE,
21
- height: ICON_CONTAINER_SIZE,
22
- padding: ICON_CONTAINER_PADDING,
23
- borderRadius: ICON_CONTAINER_SIZE,
24
- backgroundColor: "rgba(0, 0, 0, 0.1)",
25
- } },
26
- React.createElement(Pressable, { disabled: !onPress, onPress: onPress, style: ({ pressed }) => {
27
- return [
28
- {
29
- opacity: pressed ? 0.8 : 1,
30
- },
31
- ];
32
- } },
33
- React.createElement(Icon, { name: icon, size: ICON_SIZE, color: theme.colors.surface }))));
34
- });
35
- const Card = ({ Icon, image = Config.cardImageUrl, title, subtitle, description, textCentered, icon, aspectRatio = 1.5, elevation = 2, style, onPress, onPressIcon, titleStyle, subtitleStyle, descriptionStyle, theme, children, }) => {
36
- const { backgroundColor: bgColor, padding, ...styles } = StyleSheet.flatten(style || {});
37
- const backgroundColor = bgColor ? bgColor : theme.colors.surface;
38
- const innerPadding = padding ? padding : 12;
39
- return (React.createElement(Surface, { style: [{ elevation, backgroundColor }, styles] },
40
- React.createElement(Pressable, { disabled: !onPress, onPress: onPress, style: ({ pressed }) => {
41
- return [
42
- {
43
- opacity: pressed ? 0.8 : 1,
44
- },
45
- ];
46
- } },
47
- React.createElement(Image, { style: { aspectRatio }, source: typeof image === "string" ? { uri: image } : image, resizeMode: "cover" }),
48
- React.createElement(View, { style: { padding: innerPadding } },
49
- React.createElement(View, { style: { alignItems: textCentered ? "center" : "flex-start" } },
50
- title || (title && title !== "") ? (React.createElement(Title, { text: title, style: titleStyle })) : null,
51
- subtitle || (subtitle && subtitle !== "") ? (React.createElement(Subtitle, { text: subtitle, style: subtitleStyle })) : null,
52
- description || (description && description !== "") ? (React.createElement(View, { style: { marginTop: 4 } },
53
- React.createElement(Caption, { text: description, style: descriptionStyle }))) : null,
54
- children)),
55
- icon ? (React.createElement(TopRightCircleIcon, { Icon: Icon, icon: icon, onPress: onPressIcon })) : null)));
56
- };
57
- export default withTheme(Card);