@draftbit/core 46.4.4-764cb2.2 → 46.4.4-76f633.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 (370) hide show
  1. package/lib/commonjs/components/DatePicker/DatePicker.js +8 -17
  2. package/lib/commonjs/components/Portal/PortalConsumer.js +7 -22
  3. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +23 -6
  4. package/lib/commonjs/constants.js +1 -1
  5. package/lib/commonjs/mappings/DatePicker.js +0 -13
  6. package/lib/module/components/DatePicker/DatePicker.js +8 -17
  7. package/lib/module/mappings/DatePicker.js +1 -14
  8. package/lib/typescript/src/Provider.d.ts +2 -1
  9. package/lib/typescript/src/Provider.d.ts.map +1 -0
  10. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +2 -1
  11. package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
  12. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +2 -1
  13. package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
  14. package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
  15. package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
  16. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
  17. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
  18. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +2 -1
  19. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
  20. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +2 -1
  21. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
  22. package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
  23. package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
  24. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +2 -1
  25. package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +1 -0
  26. package/lib/typescript/src/components/AspectRatio.d.ts +2 -1
  27. package/lib/typescript/src/components/AspectRatio.d.ts.map +1 -0
  28. package/lib/typescript/src/components/AvatarEdit.d.ts +2 -1
  29. package/lib/typescript/src/components/AvatarEdit.d.ts.map +1 -0
  30. package/lib/typescript/src/components/Banner.d.ts +2 -1
  31. package/lib/typescript/src/components/Banner.d.ts.map +1 -0
  32. package/lib/typescript/src/components/Button.d.ts +1 -0
  33. package/lib/typescript/src/components/Button.d.ts.map +1 -0
  34. package/lib/typescript/src/components/Card.d.ts +2 -1
  35. package/lib/typescript/src/components/Card.d.ts.map +1 -0
  36. package/lib/typescript/src/components/CardBlock.d.ts +2 -1
  37. package/lib/typescript/src/components/CardBlock.d.ts.map +1 -0
  38. package/lib/typescript/src/components/CardContainer.d.ts +2 -1
  39. package/lib/typescript/src/components/CardContainer.d.ts.map +1 -0
  40. package/lib/typescript/src/components/CardContainerRating.d.ts +2 -1
  41. package/lib/typescript/src/components/CardContainerRating.d.ts.map +1 -0
  42. package/lib/typescript/src/components/CardContainerShortImage.d.ts +2 -1
  43. package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +1 -0
  44. package/lib/typescript/src/components/CardInline.d.ts +2 -1
  45. package/lib/typescript/src/components/CardInline.d.ts.map +1 -0
  46. package/lib/typescript/src/components/Carousel.d.ts +2 -1
  47. package/lib/typescript/src/components/Carousel.d.ts.map +1 -0
  48. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
  49. package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  50. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
  51. package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
  52. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
  53. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
  54. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
  55. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
  56. package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
  57. package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
  58. package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
  59. package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  60. package/lib/typescript/src/components/CircleImage.d.ts +1 -0
  61. package/lib/typescript/src/components/CircleImage.d.ts.map +1 -0
  62. package/lib/typescript/src/components/CircularProgress.d.ts +2 -1
  63. package/lib/typescript/src/components/CircularProgress.d.ts.map +1 -0
  64. package/lib/typescript/src/components/Config.d.ts +1 -0
  65. package/lib/typescript/src/components/Config.d.ts.map +1 -0
  66. package/lib/typescript/src/components/Container.d.ts +2 -1
  67. package/lib/typescript/src/components/Container.d.ts.map +1 -0
  68. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +2 -5
  69. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
  70. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
  71. package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
  72. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +1 -0
  73. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +1 -0
  74. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +1 -0
  75. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
  76. package/lib/typescript/src/components/DeprecatedButton.d.ts +2 -1
  77. package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
  78. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +2 -1
  79. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +1 -0
  80. package/lib/typescript/src/components/DeprecatedFAB.d.ts +2 -1
  81. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +1 -0
  82. package/lib/typescript/src/components/Divider.d.ts +2 -1
  83. package/lib/typescript/src/components/Divider.d.ts.map +1 -0
  84. package/lib/typescript/src/components/Elevation.d.ts +2 -1
  85. package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
  86. package/lib/typescript/src/components/FAB.d.ts +2 -1
  87. package/lib/typescript/src/components/FAB.d.ts.map +1 -0
  88. package/lib/typescript/src/components/FieldSearchBarFull.d.ts +2 -1
  89. package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +1 -0
  90. package/lib/typescript/src/components/FormRow.d.ts +2 -1
  91. package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
  92. package/lib/typescript/src/components/Header.d.ts +2 -1
  93. package/lib/typescript/src/components/Header.d.ts.map +1 -0
  94. package/lib/typescript/src/components/HeaderLarge.d.ts +2 -1
  95. package/lib/typescript/src/components/HeaderLarge.d.ts.map +1 -0
  96. package/lib/typescript/src/components/HeaderMedium.d.ts +2 -1
  97. package/lib/typescript/src/components/HeaderMedium.d.ts.map +1 -0
  98. package/lib/typescript/src/components/HeaderOverline.d.ts +2 -1
  99. package/lib/typescript/src/components/HeaderOverline.d.ts.map +1 -0
  100. package/lib/typescript/src/components/IconButton.d.ts +2 -1
  101. package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
  102. package/lib/typescript/src/components/Image.d.ts +1 -0
  103. package/lib/typescript/src/components/Image.d.ts.map +1 -0
  104. package/lib/typescript/src/components/Justification.d.ts +2 -1
  105. package/lib/typescript/src/components/Justification.d.ts.map +1 -0
  106. package/lib/typescript/src/components/Layout.d.ts +1 -0
  107. package/lib/typescript/src/components/Layout.d.ts.map +1 -0
  108. package/lib/typescript/src/components/NumberInput.d.ts +1 -0
  109. package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
  110. package/lib/typescript/src/components/Picker/Picker.d.ts +2 -1
  111. package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
  112. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
  113. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
  114. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
  115. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
  116. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
  117. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
  118. package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
  119. package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
  120. package/lib/typescript/src/components/Portal/Portal.d.ts +2 -1
  121. package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  122. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +2 -1
  123. package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  124. package/lib/typescript/src/components/Portal/PortalHost.d.ts +3 -2
  125. package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  126. package/lib/typescript/src/components/Portal/PortalManager.d.ts +2 -1
  127. package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  128. package/lib/typescript/src/components/ProgressBar.d.ts +2 -1
  129. package/lib/typescript/src/components/ProgressBar.d.ts.map +1 -0
  130. package/lib/typescript/src/components/ProgressCircle.d.ts +2 -1
  131. package/lib/typescript/src/components/ProgressCircle.d.ts.map +1 -0
  132. package/lib/typescript/src/components/ProgressIndicator.d.ts +2 -1
  133. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +1 -0
  134. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +2 -1
  135. package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
  136. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
  137. package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
  138. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
  139. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
  140. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
  141. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
  142. package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
  143. package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
  144. package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
  145. package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
  146. package/lib/typescript/src/components/ResizeMode.d.ts +2 -1
  147. package/lib/typescript/src/components/ResizeMode.d.ts.map +1 -0
  148. package/lib/typescript/src/components/Row.d.ts +2 -1
  149. package/lib/typescript/src/components/Row.d.ts.map +1 -0
  150. package/lib/typescript/src/components/RowBodyIcon.d.ts +2 -1
  151. package/lib/typescript/src/components/RowBodyIcon.d.ts.map +1 -0
  152. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +2 -1
  153. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +1 -0
  154. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +2 -1
  155. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +1 -0
  156. package/lib/typescript/src/components/SVG.d.ts +2 -1
  157. package/lib/typescript/src/components/SVG.d.ts.map +1 -0
  158. package/lib/typescript/src/components/ScreenContainer.d.ts +2 -1
  159. package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
  160. package/lib/typescript/src/components/Slider.d.ts +2 -1
  161. package/lib/typescript/src/components/Slider.d.ts.map +1 -0
  162. package/lib/typescript/src/components/StarRating.d.ts +2 -1
  163. package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
  164. package/lib/typescript/src/components/StepIndicator.d.ts +3 -2
  165. package/lib/typescript/src/components/StepIndicator.d.ts.map +1 -0
  166. package/lib/typescript/src/components/Stepper.d.ts +2 -1
  167. package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
  168. package/lib/typescript/src/components/Surface.d.ts +2 -1
  169. package/lib/typescript/src/components/Surface.d.ts.map +1 -0
  170. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
  171. package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
  172. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
  173. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
  174. package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
  175. package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
  176. package/lib/typescript/src/components/Switch.d.ts +3 -2
  177. package/lib/typescript/src/components/Switch.d.ts.map +1 -0
  178. package/lib/typescript/src/components/Text.d.ts +2 -1
  179. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  180. package/lib/typescript/src/components/TextField.d.ts +2 -1
  181. package/lib/typescript/src/components/TextField.d.ts.map +1 -0
  182. package/lib/typescript/src/components/ToggleButton.d.ts +2 -1
  183. package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -0
  184. package/lib/typescript/src/components/Touchable.d.ts +2 -1
  185. package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
  186. package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
  187. package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
  188. package/lib/typescript/src/components/Typography.d.ts +2 -1
  189. package/lib/typescript/src/components/Typography.d.ts.map +1 -0
  190. package/lib/typescript/src/components/useAuthState.d.ts +1 -0
  191. package/lib/typescript/src/components/useAuthState.d.ts.map +1 -0
  192. package/lib/typescript/src/constants.d.ts +1 -0
  193. package/lib/typescript/src/constants.d.ts.map +1 -0
  194. package/lib/typescript/src/hooks.d.ts +1 -0
  195. package/lib/typescript/src/hooks.d.ts.map +1 -0
  196. package/lib/typescript/src/index.d.ts +1 -0
  197. package/lib/typescript/src/index.d.ts.map +1 -0
  198. package/lib/typescript/src/interfaces/Icon.d.ts +3 -2
  199. package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
  200. package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
  201. package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
  202. package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
  203. package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
  204. package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
  205. package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
  206. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
  207. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
  208. package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
  209. package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
  210. package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
  211. package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
  212. package/lib/typescript/src/mappings/AudioPlayer.d.ts +1 -0
  213. package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
  214. package/lib/typescript/src/mappings/AvatarEdit.d.ts +1 -0
  215. package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +1 -0
  216. package/lib/typescript/src/mappings/Banner.d.ts +1 -0
  217. package/lib/typescript/src/mappings/Banner.d.ts.map +1 -0
  218. package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
  219. package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
  220. package/lib/typescript/src/mappings/Button.d.ts +1 -0
  221. package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
  222. package/lib/typescript/src/mappings/Card.d.ts +1 -0
  223. package/lib/typescript/src/mappings/Card.d.ts.map +1 -0
  224. package/lib/typescript/src/mappings/CardBlock.d.ts +1 -0
  225. package/lib/typescript/src/mappings/CardBlock.d.ts.map +1 -0
  226. package/lib/typescript/src/mappings/CardContainer.d.ts +1 -0
  227. package/lib/typescript/src/mappings/CardContainer.d.ts.map +1 -0
  228. package/lib/typescript/src/mappings/CardContainerRating.d.ts +1 -0
  229. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +1 -0
  230. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +1 -0
  231. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +1 -0
  232. package/lib/typescript/src/mappings/CardInline.d.ts +1 -0
  233. package/lib/typescript/src/mappings/CardInline.d.ts.map +1 -0
  234. package/lib/typescript/src/mappings/Carousel.d.ts +1 -0
  235. package/lib/typescript/src/mappings/Carousel.d.ts.map +1 -0
  236. package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
  237. package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
  238. package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
  239. package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
  240. package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
  241. package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
  242. package/lib/typescript/src/mappings/CircleImage.d.ts +1 -0
  243. package/lib/typescript/src/mappings/CircleImage.d.ts.map +1 -0
  244. package/lib/typescript/src/mappings/Container.d.ts +1 -0
  245. package/lib/typescript/src/mappings/Container.d.ts.map +1 -0
  246. package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
  247. package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
  248. package/lib/typescript/src/mappings/DatePicker.d.ts +1 -42
  249. package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
  250. package/lib/typescript/src/mappings/Divider.d.ts +1 -0
  251. package/lib/typescript/src/mappings/Divider.d.ts.map +1 -0
  252. package/lib/typescript/src/mappings/FAB.d.ts +1 -0
  253. package/lib/typescript/src/mappings/FAB.d.ts.map +1 -0
  254. package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
  255. package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
  256. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +1 -0
  257. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +1 -0
  258. package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
  259. package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
  260. package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
  261. package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
  262. package/lib/typescript/src/mappings/HeaderLarge.d.ts +1 -0
  263. package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +1 -0
  264. package/lib/typescript/src/mappings/HeaderMedium.d.ts +1 -0
  265. package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +1 -0
  266. package/lib/typescript/src/mappings/HeaderOverline.d.ts +1 -0
  267. package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +1 -0
  268. package/lib/typescript/src/mappings/Icon.d.ts +1 -0
  269. package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
  270. package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
  271. package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
  272. package/lib/typescript/src/mappings/Image.d.ts +1 -0
  273. package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
  274. package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
  275. package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
  276. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
  277. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
  278. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
  279. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
  280. package/lib/typescript/src/mappings/Layout.d.ts +1 -0
  281. package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
  282. package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
  283. package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
  284. package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
  285. package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
  286. package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
  287. package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
  288. package/lib/typescript/src/mappings/MapView.d.ts +1 -0
  289. package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
  290. package/lib/typescript/src/mappings/Modal.d.ts +1 -0
  291. package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
  292. package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
  293. package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
  294. package/lib/typescript/src/mappings/Picker.d.ts +1 -0
  295. package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
  296. package/lib/typescript/src/mappings/ProgressBar.d.ts +1 -0
  297. package/lib/typescript/src/mappings/ProgressBar.d.ts.map +1 -0
  298. package/lib/typescript/src/mappings/ProgressCircle.d.ts +1 -0
  299. package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +1 -0
  300. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +1 -0
  301. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +1 -0
  302. package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
  303. package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
  304. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
  305. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
  306. package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
  307. package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
  308. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +1 -0
  309. package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +1 -0
  310. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +1 -0
  311. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +1 -0
  312. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +1 -0
  313. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +1 -0
  314. package/lib/typescript/src/mappings/SVG.d.ts +1 -0
  315. package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
  316. package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
  317. package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
  318. package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
  319. package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
  320. package/lib/typescript/src/mappings/Slider.d.ts +1 -0
  321. package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
  322. package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
  323. package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
  324. package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
  325. package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
  326. package/lib/typescript/src/mappings/Surface.d.ts +1 -0
  327. package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
  328. package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
  329. package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
  330. package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
  331. package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
  332. package/lib/typescript/src/mappings/Switch.d.ts +1 -0
  333. package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
  334. package/lib/typescript/src/mappings/Text.d.ts +1 -0
  335. package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
  336. package/lib/typescript/src/mappings/TextArea.d.ts +1 -0
  337. package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
  338. package/lib/typescript/src/mappings/TextField.d.ts +1 -0
  339. package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
  340. package/lib/typescript/src/mappings/TextInput.d.ts +1 -0
  341. package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
  342. package/lib/typescript/src/mappings/ToggleButton.d.ts +1 -0
  343. package/lib/typescript/src/mappings/ToggleButton.d.ts.map +1 -0
  344. package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
  345. package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
  346. package/lib/typescript/src/mappings/Video.d.ts +1 -0
  347. package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
  348. package/lib/typescript/src/mappings/View.d.ts +1 -0
  349. package/lib/typescript/src/mappings/View.d.ts.map +1 -0
  350. package/lib/typescript/src/mappings/WebView.d.ts +1 -0
  351. package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
  352. package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
  353. package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
  354. package/lib/typescript/src/styles/DefaultTheme.d.ts +2 -1
  355. package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
  356. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  357. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  358. package/lib/typescript/src/styles/overlay.d.ts +1 -0
  359. package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
  360. package/lib/typescript/src/styles/shadow.d.ts +1 -0
  361. package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
  362. package/lib/typescript/src/theming.d.ts +1 -0
  363. package/lib/typescript/src/theming.d.ts.map +1 -0
  364. package/lib/typescript/src/utilities.d.ts +1 -0
  365. package/lib/typescript/src/utilities.d.ts.map +1 -0
  366. package/package.json +15 -5
  367. package/src/components/DatePicker/DatePicker.js +8 -14
  368. package/src/components/DatePicker/DatePicker.tsx +7 -23
  369. package/src/mappings/DatePicker.js +1 -21
  370. package/src/mappings/DatePicker.ts +0 -23
@@ -12,7 +12,6 @@ var _theming = require("../../theming");
12
12
  var _Portal = _interopRequireDefault(require("../Portal/Portal"));
13
13
  var _Touchable = _interopRequireDefault(require("../Touchable"));
14
14
  var _DatePickerComponent = _interopRequireDefault(require("./DatePickerComponent"));
15
- var _utilities = require("../../utilities");
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
16
  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); }
18
17
  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; }
@@ -43,11 +42,7 @@ const DatePicker = _ref => {
43
42
  rightIconName,
44
43
  leftIconMode = "inset",
45
44
  label,
46
- labelSize,
47
- labelColor,
48
45
  placeholder,
49
- borderColor: inputBorderColor,
50
- borderColorActive: inputBorderColorActive,
51
46
  ...props
52
47
  } = _ref;
53
48
  const [value, setValue] = React.useState(date || defaultValue);
@@ -64,9 +59,6 @@ const DatePicker = _ref => {
64
59
  measured: false,
65
60
  width: 0
66
61
  });
67
- const {
68
- textStyles
69
- } = (0, _utilities.extractStyles)(style);
70
62
  const getValidDate = () => {
71
63
  if (!value) {
72
64
  return new Date();
@@ -156,8 +148,8 @@ const DatePicker = _ref => {
156
148
  };
157
149
  const MINIMIZED_LABEL_Y_OFFSET = -(typography.caption.lineHeight + 4);
158
150
  const OUTLINE_MINIMIZED_LABEL_Y_OFFSET = -(16 * 0.5 + 4);
159
- const MAXIMIZED_LABEL_FONT_SIZE = (textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontSize) || typography.subtitle1.fontSize;
160
- const MINIMIZED_LABEL_FONT_SIZE = labelSize ? labelSize : typography.caption.fontSize;
151
+ const MAXIMIZED_LABEL_FONT_SIZE = typography.subtitle1.fontSize;
152
+ const MINIMIZED_LABEL_FONT_SIZE = typography.caption.fontSize;
161
153
  const hasActiveOutline = focused;
162
154
  let inputTextColor, activeColor, underlineColor, borderColor, placeholderColor, containerStyle, backgroundColor, inputStyle;
163
155
  inputTextColor = colors.strong;
@@ -168,9 +160,9 @@ const DatePicker = _ref => {
168
160
  underlineColor = "transparent";
169
161
  backgroundColor = colors.divider;
170
162
  } else {
171
- activeColor = inputBorderColorActive || colors.primary;
172
- placeholderColor = borderColor = inputBorderColor || colors.light;
173
- underlineColor = inputBorderColor || colors.light;
163
+ activeColor = colors.primary;
164
+ placeholderColor = borderColor = colors.light;
165
+ underlineColor = colors.light;
174
166
  backgroundColor = colors.background;
175
167
  }
176
168
  const {
@@ -225,7 +217,6 @@ const DatePicker = _ref => {
225
217
  const labelStyle = {
226
218
  ...typography.subtitle1,
227
219
  top: type === "solid" ? 16 : 0,
228
- fontFamily: textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontFamily,
229
220
  left: leftIconName && leftIconMode === "inset" ? ICON_SIZE + (type === "solid" ? 16 : 12) : 0,
230
221
  transform: [{
231
222
  // Move label to top
@@ -249,7 +240,7 @@ const DatePicker = _ref => {
249
240
  };
250
241
  const inputStyles = [styles.input, inputStyle, type === "solid" ? {
251
242
  marginHorizontal: 12
252
- } : {}, textStyles];
243
+ } : {}];
253
244
 
254
245
  // const render = (props) => <NativeTextInput {...props} />;
255
246
 
@@ -298,7 +289,7 @@ const DatePicker = _ref => {
298
289
  style: [styles.placeholder, type === "solid" ? {
299
290
  paddingHorizontal: 12
300
291
  } : {}, labelStyle, {
301
- color: labelColor || colors.light,
292
+ color: colors.light,
302
293
  opacity: labeled.interpolate({
303
294
  inputRange: [0, 1],
304
295
  outputRange: [hasActiveOutline ? 1 : 0, 0]
@@ -309,7 +300,7 @@ const DatePicker = _ref => {
309
300
  style: [styles.placeholder, type === "solid" ? {
310
301
  paddingHorizontal: 12
311
302
  } : {}, labelStyle, {
312
- color: labelColor || placeholder,
303
+ color: placeholderColor,
313
304
  opacity: hasActiveOutline ? labeled : 1
314
305
  }],
315
306
  numberOfLines: 1
@@ -7,31 +7,16 @@ exports.default = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
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
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
+ 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; }
11
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
12
+ 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); }
10
13
  class PortalConsumer extends React.Component {
11
- async componentDidMount() {
12
- this.checkManager();
13
- // Delay updating to prevent React from going to infinite loop
14
- await Promise.resolve();
15
- this.key = this.props.manager.mount(this.props.children);
14
+ constructor() {
15
+ super(...arguments);
16
+ _defineProperty(this, "key", void 0);
16
17
  }
17
- componentDidUpdate() {
18
- this.checkManager();
19
- this.props.manager.update(this.key, this.props.children);
20
- }
21
- componentWillUnmount() {
18
+ async componentDidMount() {
22
19
  this.checkManager();
23
- this.props.manager.unmount(this.key);
24
- }
25
- checkManager() {
26
- if (!this.props.manager) {
27
- throw new Error("Looks like you forgot to wrap your root component with `Provider` component from `react-native-paper`.\n\n" + "Please read our getting-started guide and make sure you've followed all the required steps.\n\n" + "https://callstack.github.io/react-native-paper/getting-started.html");
28
- }
29
- }
30
- render() {
31
- return null;
32
- }
33
- }
34
- exports.default = PortalConsumer;s.checkManager();
35
20
 
36
21
  // Delay updating to prevent React from going to infinite loop
37
22
  await Promise.resolve();
@@ -14,8 +14,7 @@ var _utilities = require("../../utilities");
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
  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); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
- 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); }
18
- let Direction;
17
+ var Direction;
19
18
  exports.Direction = Direction;
20
19
  (function (Direction) {
21
20
  Direction["Row"] = "row";
@@ -63,7 +62,7 @@ const RadioButtonRow = _ref => {
63
62
  } = (0, _context.useRadioButtonGroupContext)();
64
63
  const realValue = (0, _utilities.getValueForRadioButton)(value);
65
64
  const realContextValue = (0, _utilities.getValueForRadioButton)(contextValue);
66
- const isSelected = selected ?? realContextValue === realValue;
65
+ const isSelected = selected !== null && selected !== void 0 ? selected : realContextValue === realValue;
67
66
  const handlePress = () => {
68
67
  onPress === null || onPress === void 0 ? void 0 : onPress(realValue);
69
68
  onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realValue);
@@ -72,13 +71,14 @@ const RadioButtonRow = _ref => {
72
71
  textStyles,
73
72
  viewStyles
74
73
  } = (0, _utilities.extractStyles)(style);
75
- return /*#__PURE__*/React.createElement(_Touchable.default, _extends({
74
+ return /*#__PURE__*/React.createElement(_Touchable.default, {
76
75
  onPress: handlePress,
77
76
  style: [styles.mainParent, {
78
77
  flexDirection: direction
79
78
  }, viewStyles],
80
- disabled: disabled
81
- }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
79
+ disabled: disabled,
80
+ ...rest
81
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
82
82
  style: [styles.label, {
83
83
  alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
84
84
  }, labelContainerStyle]
@@ -116,4 +116,21 @@ const styles = _reactNative.StyleSheet.create({
116
116
  }
117
117
  });
118
118
  var _default = RadioButtonRow;
119
+ exports.default = _default;nd",
120
+ paddingStart: 20,
121
+ minHeight: 50,
122
+ paddingEnd: 20,
123
+ display: "flex",
124
+ ..._reactNative.Platform.select({
125
+ web: {
126
+ cursor: "pointer",
127
+ userSelect: "none"
128
+ }
129
+ })
130
+ },
131
+ label: {
132
+ flex: 3
133
+ }
134
+ });
135
+ var _default = RadioButtonRow;
119
136
  exports.default = _default;
@@ -12,4 +12,4 @@ const APPROX_STATUSBAR_HEIGHT = _reactNative.Platform.select({
12
12
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
13
13
  ios: _reactNative.Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
14
14
  });
15
- exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;AR_HEIGHT;
15
+ exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;
@@ -16,12 +16,6 @@ const SEED_DATA_PROPS = {
16
16
  required: true,
17
17
  group: _types.GROUPS.data
18
18
  },
19
- labelSize: (0, _types.createNumberProp)({
20
- label: "Label Size"
21
- }),
22
- labelColor: (0, _types.createColorProp)({
23
- label: "Label Color"
24
- }),
25
19
  mode: {
26
20
  label: "Mode",
27
21
  description: "Choose between date, time and datetime",
@@ -33,12 +27,6 @@ const SEED_DATA_PROPS = {
33
27
  options: ["date", "time", "datetime"],
34
28
  group: _types.GROUPS.basic
35
29
  },
36
- borderColor: (0, _types.createColorProp)({
37
- label: "Border Color"
38
- }),
39
- borderColorActive: (0, _types.createColorProp)({
40
- label: "Border Color"
41
- }),
42
30
  format: {
43
31
  label: "Format",
44
32
  description: "Create an output format for the date.",
@@ -156,7 +144,6 @@ const SEED_DATA = [{
156
144
  category: _types.COMPONENT_TYPES.input,
157
145
  layout: null,
158
146
  triggers: [_types.Triggers.OnDateChange],
159
- StylesPanelSections: [_types.StylesPanelSections.Background, _types.StylesPanelSections.Borders, _types.StylesPanelSections.MarginsAndPaddings, _types.StylesPanelSections.Position, _types.StylesPanelSections.Size, _types.StylesPanelSections.Typography],
160
147
  props: {
161
148
  ...SEED_DATA_PROPS,
162
149
  type: {
@@ -7,7 +7,6 @@ import { withTheme } from "../../theming";
7
7
  import Portal from "../Portal/Portal";
8
8
  import Touchable from "../Touchable";
9
9
  import DateTimePicker from "./DatePickerComponent";
10
- import { extractStyles } from "../../utilities";
11
10
  const AnimatedText = Animated.createAnimatedComponent(Text);
12
11
  const FOCUS_ANIMATION_DURATION = 150;
13
12
  const BLUR_ANIMATION_DURATION = 180;
@@ -34,11 +33,7 @@ const DatePicker = _ref => {
34
33
  rightIconName,
35
34
  leftIconMode = "inset",
36
35
  label,
37
- labelSize,
38
- labelColor,
39
36
  placeholder,
40
- borderColor: inputBorderColor,
41
- borderColorActive: inputBorderColorActive,
42
37
  ...props
43
38
  } = _ref;
44
39
  const [value, setValue] = React.useState(date || defaultValue);
@@ -55,9 +50,6 @@ const DatePicker = _ref => {
55
50
  measured: false,
56
51
  width: 0
57
52
  });
58
- const {
59
- textStyles
60
- } = extractStyles(style);
61
53
  const getValidDate = () => {
62
54
  if (!value) {
63
55
  return new Date();
@@ -147,8 +139,8 @@ const DatePicker = _ref => {
147
139
  };
148
140
  const MINIMIZED_LABEL_Y_OFFSET = -(typography.caption.lineHeight + 4);
149
141
  const OUTLINE_MINIMIZED_LABEL_Y_OFFSET = -(16 * 0.5 + 4);
150
- const MAXIMIZED_LABEL_FONT_SIZE = (textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontSize) || typography.subtitle1.fontSize;
151
- const MINIMIZED_LABEL_FONT_SIZE = labelSize ? labelSize : typography.caption.fontSize;
142
+ const MAXIMIZED_LABEL_FONT_SIZE = typography.subtitle1.fontSize;
143
+ const MINIMIZED_LABEL_FONT_SIZE = typography.caption.fontSize;
152
144
  const hasActiveOutline = focused;
153
145
  let inputTextColor, activeColor, underlineColor, borderColor, placeholderColor, containerStyle, backgroundColor, inputStyle;
154
146
  inputTextColor = colors.strong;
@@ -159,9 +151,9 @@ const DatePicker = _ref => {
159
151
  underlineColor = "transparent";
160
152
  backgroundColor = colors.divider;
161
153
  } else {
162
- activeColor = inputBorderColorActive || colors.primary;
163
- placeholderColor = borderColor = inputBorderColor || colors.light;
164
- underlineColor = inputBorderColor || colors.light;
154
+ activeColor = colors.primary;
155
+ placeholderColor = borderColor = colors.light;
156
+ underlineColor = colors.light;
165
157
  backgroundColor = colors.background;
166
158
  }
167
159
  const {
@@ -216,7 +208,6 @@ const DatePicker = _ref => {
216
208
  const labelStyle = {
217
209
  ...typography.subtitle1,
218
210
  top: type === "solid" ? 16 : 0,
219
- fontFamily: textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontFamily,
220
211
  left: leftIconName && leftIconMode === "inset" ? ICON_SIZE + (type === "solid" ? 16 : 12) : 0,
221
212
  transform: [{
222
213
  // Move label to top
@@ -240,7 +231,7 @@ const DatePicker = _ref => {
240
231
  };
241
232
  const inputStyles = [styles.input, inputStyle, type === "solid" ? {
242
233
  marginHorizontal: 12
243
- } : {}, textStyles];
234
+ } : {}];
244
235
 
245
236
  // const render = (props) => <NativeTextInput {...props} />;
246
237
 
@@ -289,7 +280,7 @@ const DatePicker = _ref => {
289
280
  style: [styles.placeholder, type === "solid" ? {
290
281
  paddingHorizontal: 12
291
282
  } : {}, labelStyle, {
292
- color: labelColor || colors.light,
283
+ color: colors.light,
293
284
  opacity: labeled.interpolate({
294
285
  inputRange: [0, 1],
295
286
  outputRange: [hasActiveOutline ? 1 : 0, 0]
@@ -300,7 +291,7 @@ const DatePicker = _ref => {
300
291
  style: [styles.placeholder, type === "solid" ? {
301
292
  paddingHorizontal: 12
302
293
  } : {}, labelStyle, {
303
- color: labelColor || placeholder,
294
+ color: placeholderColor,
304
295
  opacity: hasActiveOutline ? labeled : 1
305
296
  }],
306
297
  numberOfLines: 1
@@ -1,4 +1,4 @@
1
- import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, FIELD_NAME, GROUPS, Triggers, StylesPanelSections, createNumberProp, createColorProp } from "@draftbit/types";
1
+ import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, FIELD_NAME, GROUPS, Triggers } from "@draftbit/types";
2
2
  const SEED_DATA_PROPS = {
3
3
  label: {
4
4
  label: "Label",
@@ -10,12 +10,6 @@ const SEED_DATA_PROPS = {
10
10
  required: true,
11
11
  group: GROUPS.data
12
12
  },
13
- labelSize: createNumberProp({
14
- label: "Label Size"
15
- }),
16
- labelColor: createColorProp({
17
- label: "Label Color"
18
- }),
19
13
  mode: {
20
14
  label: "Mode",
21
15
  description: "Choose between date, time and datetime",
@@ -27,12 +21,6 @@ const SEED_DATA_PROPS = {
27
21
  options: ["date", "time", "datetime"],
28
22
  group: GROUPS.basic
29
23
  },
30
- borderColor: createColorProp({
31
- label: "Border Color"
32
- }),
33
- borderColorActive: createColorProp({
34
- label: "Border Color"
35
- }),
36
24
  format: {
37
25
  label: "Format",
38
26
  description: "Create an output format for the date.",
@@ -150,7 +138,6 @@ export const SEED_DATA = [{
150
138
  category: COMPONENT_TYPES.input,
151
139
  layout: null,
152
140
  triggers: [Triggers.OnDateChange],
153
- StylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Size, StylesPanelSections.Typography],
154
141
  props: {
155
142
  ...SEED_DATA_PROPS,
156
143
  type: {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Theme } from "@draftbit/types";
3
- declare type Props = {
3
+ type Props = {
4
4
  children: React.ReactNode;
5
5
  theme?: Theme;
6
6
  };
@@ -8,3 +8,4 @@ export default class Provider extends React.Component<Props> {
8
8
  render(): JSX.Element;
9
9
  }
10
10
  export {};
11
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC;IAC1D,MAAM;CAUP"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { StyleProp, TextStyle } from "react-native";
3
3
  import type { IconSlot } from "../../interfaces/Icon";
4
4
  import type { Theme } from "../../styles/DefaultTheme";
5
- declare type AccordionGroupProps = {
5
+ type AccordionGroupProps = {
6
6
  label?: string;
7
7
  expanded?: boolean;
8
8
  openColor?: string;
@@ -19,3 +19,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
19
19
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
20
20
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<AccordionGroupProps> & (({ label, expanded: expandedProp, openColor, closedColor, caretColor: caretColorProp, caretSize, icon, iconSize, style, children, theme, Icon, }: AccordionGroupProps) => JSX.Element), {}>;
21
21
  export default _default;
22
+ //# sourceMappingURL=AccordionGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,SAAS,EACT,SAAS,EAEV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC;;;;AAoFb,wBAAyC"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { StyleProp, ViewStyle } from "react-native";
3
3
  import type { IconSlot } from "../../interfaces/Icon";
4
4
  import type { Theme } from "../../styles/DefaultTheme";
5
- declare type Props = {
5
+ type Props = {
6
6
  icon?: string;
7
7
  label: string;
8
8
  iconColor?: string;
@@ -13,3 +13,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
13
13
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
14
14
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ Icon, icon, label, style, iconColor, theme, ...rest }: Props) => JSX.Element), {}>;
15
15
  export default _default;
16
+ //# sourceMappingURL=AccordionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEvD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC;;;;AAoDb,wBAAwC"}
@@ -1,2 +1,3 @@
1
1
  export { default as AccordionGroup } from "./AccordionGroup";
2
2
  export { default as AccordionItem } from "./AccordionItem";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -6,3 +6,4 @@ interface Props {
6
6
  }
7
7
  declare const ActionSheet: ({ visible, onClose, children }: Props) => JSX.Element;
8
8
  export default ActionSheet;
9
+ //# sourceMappingURL=ActionSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,WAAW,mCAA4C,KAAK,gBAsBjE,CAAC;AAkCF,eAAe,WAAW,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { StyleProp, ViewStyle, TextStyle } from "react-native";
3
- declare type Props = {
3
+ type Props = {
4
4
  label: string;
5
5
  color: string;
6
6
  style?: StyleProp<ViewStyle | TextStyle>;
@@ -8,3 +8,4 @@ declare type Props = {
8
8
  };
9
9
  declare const ActionSheetCancel: React.FC<React.PropsWithChildren<Props>>;
10
10
  export default ActionSheetCancel;
11
+ //# sourceMappingURL=ActionSheetCancel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSheetCancel.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/ActionSheetCancel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG/D,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAc/D,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { StyleProp, ViewStyle, TextStyle } from "react-native";
3
- declare type Props = {
3
+ type Props = {
4
4
  label: string;
5
5
  color: string;
6
6
  style?: StyleProp<ViewStyle | TextStyle>;
@@ -8,3 +8,4 @@ declare type Props = {
8
8
  };
9
9
  declare const ActionSheetItem: React.FC<React.PropsWithChildren<Props>>;
10
10
  export default ActionSheetItem;
11
+ //# sourceMappingURL=ActionSheetItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSheetItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/ActionSheetItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,SAAS,EAET,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAgB7D,CAAC;AAwBF,eAAe,eAAe,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { default as ActionSheet } from "./ActionSheet";
2
2
  export { default as ActionSheetItem } from "./ActionSheetItem";
3
3
  export { default as ActionSheetCancel } from "./ActionSheetCancel";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { Animated, EasingFunction } from "react-native";
3
3
  import { Props as CircularProgressProps } from "./CircularProgress";
4
- declare type Props = {
4
+ type Props = {
5
5
  duration?: number;
6
6
  easing?: EasingFunction;
7
7
  prefill?: number;
@@ -11,3 +11,4 @@ declare type Props = {
11
11
  } & CircularProgressProps;
12
12
  declare const AnimatedCircularProgress: React.FC<React.PropsWithChildren<Props>>;
13
13
  export default AnimatedCircularProgress;
14
+ //# sourceMappingURL=AnimatedCircularProgress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedCircularProgress.d.ts","sourceRoot":"","sources":["../../../../src/components/AnimatedCircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,cAAc,EAGf,MAAM,cAAc,CAAC;AACtB,OAAyB,EACvB,KAAK,IAAI,qBAAqB,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,QAAQ,CAAC,WAAW,GAAG,SAAS,CAAC;CACxD,GAAG,qBAAqB,CAAC;AAE1B,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CA4EtE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import React from "react";
2
2
  import { StyleProp, ViewStyle } from "react-native";
3
- declare type Props = {
3
+ type Props = {
4
4
  children?: React.ReactNode;
5
5
  style?: StyleProp<ViewStyle>;
6
6
  };
7
7
  declare const AspectRatio: React.FC<React.PropsWithChildren<Props>>;
8
8
  export default AspectRatio;
9
+ //# sourceMappingURL=AspectRatio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../../../src/components/AspectRatio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAuBzD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Theme } from "../styles/DefaultTheme";
4
4
  import type { IconSlot } from "../interfaces/Icon";
5
- declare type Props = {
5
+ type Props = {
6
6
  image: string | ImageSourcePropType;
7
7
  size?: number;
8
8
  onPress?: () => void;
@@ -13,3 +13,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
13
13
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
14
14
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
15
15
  export default _default;
16
+ //# sourceMappingURL=AvatarEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvatarEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/AvatarEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK/E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC;;;;AAgDb,wBAAqC"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { View, ViewStyle, StyleProp } from "react-native";
3
3
  import type { IconSlot } from "../interfaces/Icon";
4
4
  import type { Theme } from "../styles/DefaultTheme";
5
- declare type Props = {
5
+ type Props = {
6
6
  initiallyVisible: boolean;
7
7
  dismissable: boolean;
8
8
  buttonColor?: string;
@@ -20,3 +20,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
20
20
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
21
21
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
22
22
  export default _default;
23
+ //# sourceMappingURL=Banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,IAAI,EACJ,SAAS,EAET,SAAS,EAEV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAKpD,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC;;;;AA2Kb,wBAAiC"}
@@ -4,3 +4,4 @@ declare const Button: any;
4
4
  export { Button };
5
5
  declare const ButtonOutline: any;
6
6
  export { ButtonOutline };
7
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button.tsx"],"names":[],"mappings":"AA0IA,QAAA,MAAM,WAAW,EAAE,GAAsB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,QAAA,MAAM,MAAM,EAAE,GAAsB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,CAAC;AAmBlB,QAAA,MAAM,aAAa,EAAE,GAAwB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -17,7 +17,7 @@ export declare const TopRightCircleIcon: React.ComponentType<import("@draftbit/r
17
17
  theme: Theme;
18
18
  onPress?: (() => void) | undefined;
19
19
  } & IconSlot) => JSX.Element), {}>;
20
- declare type Props = {
20
+ type Props = {
21
21
  image?: string | ImageSourcePropType;
22
22
  title?: string;
23
23
  subtitle?: string;
@@ -40,3 +40,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
40
40
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
41
41
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
42
42
  export default _default;
43
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,mBAAmB,EACnB,SAAS,EACT,SAAS,EACT,SAAS,EAEV,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAOnD,eAAO,MAAM,kBAAkB;UAOrB,MAAM;WACL,KAAK;qBACI,IAAI;;;;UAFd,MAAM;WACL,KAAK;qBACI,IAAI;;UAFd,MAAM;WACL,KAAK;qBACI,IAAI;kCAkCvB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,QAAQ,CAAC;;;;AAwEb,wBAA+B"}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
3
3
  import theme from "../styles/DefaultTheme";
4
- declare type Props = {
4
+ type Props = {
5
5
  image?: string | ImageSourcePropType;
6
6
  title?: string;
7
7
  leftDescription?: string;
@@ -18,3 +18,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
18
18
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
19
19
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
20
20
  export default _default;
21
+ //# sourceMappingURL=CardBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/CardBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,mBAAmB,EAGnB,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAG3C,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;;;;AAkGF,wBAAoC"}
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Theme } from "../styles/DefaultTheme";
4
4
  import type { IconSlot } from "../interfaces/Icon";
5
- declare type Props = {
5
+ type Props = {
6
6
  image?: string | ImageSourcePropType;
7
7
  title?: string;
8
8
  leftDescription?: string;
@@ -20,3 +20,4 @@ declare const _default: React.ComponentType<import("@draftbit/react-theme-provid
20
20
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
21
21
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
22
22
  export default _default;
23
+ //# sourceMappingURL=CardContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CardContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EAEnB,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAQnD,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,QAAQ,CAAC;;;;AAiIb,wBAAwC"}