@draftbit/core 54.0.2 → 54.0.4-11e01d.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 (371) hide show
  1. package/lib/commonjs/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +1 -1
  2. package/lib/commonjs/components/MediaPlayer/MediaPlaybackWrapper.js +1 -1
  3. package/lib/commonjs/components/MediaPlayer/MediaPlayerCommon.js +1 -1
  4. package/lib/commonjs/components/MediaPlayer/VideoPlayer/VideoPlayer.js +1 -1
  5. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -1
  6. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -1
  7. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -1
  8. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -1
  9. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -1
  10. package/lib/commonjs/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +1 -1
  11. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.d.ts +3 -1
  12. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +69 -54
  13. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +1 -1
  14. package/lib/typescript/src/components/MediaPlayer/MediaPlaybackWrapper.d.ts +3 -2
  15. package/lib/typescript/src/components/MediaPlayer/MediaPlaybackWrapper.js +19 -21
  16. package/lib/typescript/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +1 -1
  17. package/lib/typescript/src/components/MediaPlayer/MediaPlayerCommon.d.ts +5 -4
  18. package/lib/typescript/src/components/MediaPlayer/MediaPlayerCommon.js +3 -26
  19. package/lib/typescript/src/components/MediaPlayer/MediaPlayerCommon.js.map +1 -1
  20. package/lib/typescript/src/components/MediaPlayer/VideoPlayer/VideoPlayer.d.ts +14 -4
  21. package/lib/typescript/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js +125 -62
  22. package/lib/typescript/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +1 -1
  23. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -1
  24. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +1 -1
  25. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -1
  26. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +1 -1
  27. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -1
  28. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +1 -1
  29. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -1
  30. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +1 -1
  31. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -1
  32. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +1 -1
  33. package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.d.ts +3 -1
  34. package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +11 -9
  35. package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js.map +1 -1
  36. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  37. package/package.json +8 -5
  38. package/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.tsx +84 -72
  39. package/src/components/MediaPlayer/MediaPlaybackWrapper.tsx +21 -24
  40. package/src/components/MediaPlayer/MediaPlayerCommon.ts +8 -34
  41. package/src/components/MediaPlayer/VideoPlayer/VideoPlayer.tsx +213 -86
  42. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx +4 -2
  43. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx +4 -2
  44. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx +4 -2
  45. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx +4 -2
  46. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx +4 -2
  47. package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.ts +14 -9
  48. package/src/Provider.js +0 -10
  49. package/src/Provider.js.map +0 -1
  50. package/src/components/AccordionGroup.js +0 -51
  51. package/src/components/AccordionGroup.js.map +0 -1
  52. package/src/components/ActionSheet/ActionSheet.js +0 -46
  53. package/src/components/ActionSheet/ActionSheet.js.map +0 -1
  54. package/src/components/ActionSheet/ActionSheetCancel.js +0 -7
  55. package/src/components/ActionSheet/ActionSheetCancel.js.map +0 -1
  56. package/src/components/ActionSheet/ActionSheetItem.js +0 -31
  57. package/src/components/ActionSheet/ActionSheetItem.js.map +0 -1
  58. package/src/components/ActionSheet/index.js +0 -4
  59. package/src/components/ActionSheet/index.js.map +0 -1
  60. package/src/components/AspectRatio.js +0 -19
  61. package/src/components/AspectRatio.js.map +0 -1
  62. package/src/components/BottomSheet/BottomSheet.js +0 -76
  63. package/src/components/BottomSheet/BottomSheet.js.map +0 -1
  64. package/src/components/BottomSheet/index.js +0 -2
  65. package/src/components/BottomSheet/index.js.map +0 -1
  66. package/src/components/Button.js +0 -119
  67. package/src/components/Button.js.map +0 -1
  68. package/src/components/Checkbox/Checkbox.js +0 -63
  69. package/src/components/Checkbox/Checkbox.js.map +0 -1
  70. package/src/components/Checkbox/CheckboxGroupRow.js +0 -77
  71. package/src/components/Checkbox/CheckboxGroupRow.js.map +0 -1
  72. package/src/components/Checkbox/CheckboxRow.js +0 -79
  73. package/src/components/Checkbox/CheckboxRow.js.map +0 -1
  74. package/src/components/Checkbox/context.js +0 -15
  75. package/src/components/Checkbox/context.js.map +0 -1
  76. package/src/components/Checkbox/index.js +0 -3
  77. package/src/components/Checkbox/index.js.map +0 -1
  78. package/src/components/Config.js +0 -65
  79. package/src/components/Config.js.map +0 -1
  80. package/src/components/DatePicker/DatePicker.js +0 -418
  81. package/src/components/DatePicker/DatePicker.js.map +0 -1
  82. package/src/components/DatePicker/DatePickerComponent.js +0 -17
  83. package/src/components/DatePicker/DatePickerComponent.js.map +0 -1
  84. package/src/components/DatePicker/DatePickerComponent.web.js +0 -57
  85. package/src/components/DatePicker/DatePickerComponent.web.js.map +0 -1
  86. package/src/components/DatePicker/DatePickerComponentType.js +0 -2
  87. package/src/components/DatePicker/DatePickerComponentType.js.map +0 -1
  88. package/src/components/DatePicker/parseDate.js +0 -12
  89. package/src/components/DatePicker/parseDate.js.map +0 -1
  90. package/src/components/DeckSwiper/DeckSwiper.js +0 -116
  91. package/src/components/DeckSwiper/DeckSwiper.js.map +0 -1
  92. package/src/components/DeckSwiper/DeckSwiperCard.js +0 -21
  93. package/src/components/DeckSwiper/DeckSwiperCard.js.map +0 -1
  94. package/src/components/DeckSwiper/index.js +0 -3
  95. package/src/components/DeckSwiper/index.js.map +0 -1
  96. package/src/components/Divider.js +0 -14
  97. package/src/components/Divider.js.map +0 -1
  98. package/src/components/Elevation.js +0 -20
  99. package/src/components/Elevation.js.map +0 -1
  100. package/src/components/ExpoImage.js +0 -44
  101. package/src/components/ExpoImage.js.map +0 -1
  102. package/src/components/FlatList.js +0 -7
  103. package/src/components/FlatList.js.map +0 -1
  104. package/src/components/FormRow.js +0 -20
  105. package/src/components/FormRow.js.map +0 -1
  106. package/src/components/IconButton.js +0 -36
  107. package/src/components/IconButton.js.map +0 -1
  108. package/src/components/Image.js +0 -48
  109. package/src/components/Image.js.map +0 -1
  110. package/src/components/KeyboardAvoidingView.js +0 -29
  111. package/src/components/KeyboardAvoidingView.js.map +0 -1
  112. package/src/components/Layout/AspectRatio.js +0 -7
  113. package/src/components/Layout/AspectRatio.js.map +0 -1
  114. package/src/components/Layout/Center.js +0 -15
  115. package/src/components/Layout/Center.js.map +0 -1
  116. package/src/components/Layout/Circle.js +0 -16
  117. package/src/components/Layout/Circle.js.map +0 -1
  118. package/src/components/Layout/HStack.js +0 -12
  119. package/src/components/Layout/HStack.js.map +0 -1
  120. package/src/components/Layout/LayoutCommon.js +0 -8
  121. package/src/components/Layout/LayoutCommon.js.map +0 -1
  122. package/src/components/Layout/Spacer.js +0 -15
  123. package/src/components/Layout/Spacer.js.map +0 -1
  124. package/src/components/Layout/Square.js +0 -25
  125. package/src/components/Layout/Square.js.map +0 -1
  126. package/src/components/Layout/VStack.js +0 -12
  127. package/src/components/Layout/VStack.js.map +0 -1
  128. package/src/components/Layout/ZStack.js +0 -58
  129. package/src/components/Layout/ZStack.js.map +0 -1
  130. package/src/components/Layout/index.js +0 -9
  131. package/src/components/Layout/index.js.map +0 -1
  132. package/src/components/LoadingIndicator.js +0 -38
  133. package/src/components/LoadingIndicator.js.map +0 -1
  134. package/src/components/LottieAnimation.js +0 -12
  135. package/src/components/LottieAnimation.js.map +0 -1
  136. package/src/components/Markdown.js +0 -33
  137. package/src/components/Markdown.js.map +0 -1
  138. package/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js +0 -2
  139. package/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js.map +0 -1
  140. package/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +0 -123
  141. package/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +0 -1
  142. package/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +0 -90
  143. package/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +0 -1
  144. package/src/components/MediaPlayer/AudioPlayer/index.js +0 -13
  145. package/src/components/MediaPlayer/AudioPlayer/index.js.map +0 -1
  146. package/src/components/MediaPlayer/MediaPlaybackWrapper.js +0 -42
  147. package/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +0 -1
  148. package/src/components/MediaPlayer/MediaPlayerCommon.js +0 -71
  149. package/src/components/MediaPlayer/MediaPlayerCommon.js.map +0 -1
  150. package/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js +0 -109
  151. package/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +0 -1
  152. package/src/components/MediaPlayer/VideoPlayer/index.js +0 -2
  153. package/src/components/MediaPlayer/VideoPlayer/index.js.map +0 -1
  154. package/src/components/NumberInput.js +0 -63
  155. package/src/components/NumberInput.js.map +0 -1
  156. package/src/components/Picker/NativePicker.ios.js +0 -77
  157. package/src/components/Picker/NativePicker.ios.js.map +0 -1
  158. package/src/components/Picker/NativePicker.js +0 -73
  159. package/src/components/Picker/NativePicker.js.map +0 -1
  160. package/src/components/Picker/PickerCommon.js +0 -36
  161. package/src/components/Picker/PickerCommon.js.map +0 -1
  162. package/src/components/Picker/PickerInputContainer.js +0 -36
  163. package/src/components/Picker/PickerInputContainer.js.map +0 -1
  164. package/src/components/Picker/dropdown/DropDownModalPicker.js +0 -70
  165. package/src/components/Picker/dropdown/DropDownModalPicker.js.map +0 -1
  166. package/src/components/Picker/dropdown/DropDownPicker.js +0 -61
  167. package/src/components/Picker/dropdown/DropDownPicker.js.map +0 -1
  168. package/src/components/Picker/dropdown/MultiSelectPicker.js +0 -9
  169. package/src/components/Picker/dropdown/MultiSelectPicker.js.map +0 -1
  170. package/src/components/Picker/dropdown/PickerItem.js +0 -9
  171. package/src/components/Picker/dropdown/PickerItem.js.map +0 -1
  172. package/src/components/Picker/index.js +0 -22
  173. package/src/components/Picker/index.js.map +0 -1
  174. package/src/components/PinInput/CustomPinInputCell.js +0 -11
  175. package/src/components/PinInput/CustomPinInputCell.js.map +0 -1
  176. package/src/components/PinInput/PinInput.js +0 -89
  177. package/src/components/PinInput/PinInput.js.map +0 -1
  178. package/src/components/PinInput/PinInputText.js +0 -14
  179. package/src/components/PinInput/PinInputText.js.map +0 -1
  180. package/src/components/PinInput/index.js +0 -4
  181. package/src/components/PinInput/index.js.map +0 -1
  182. package/src/components/Portal/Portal.js +0 -34
  183. package/src/components/Portal/Portal.js.map +0 -1
  184. package/src/components/Portal/PortalConsumer.js +0 -28
  185. package/src/components/Portal/PortalConsumer.js.map +0 -1
  186. package/src/components/Portal/PortalHost.js +0 -109
  187. package/src/components/Portal/PortalHost.js.map +0 -1
  188. package/src/components/Portal/PortalManager.js +0 -33
  189. package/src/components/Portal/PortalManager.js.map +0 -1
  190. package/src/components/Pressable.js +0 -23
  191. package/src/components/Pressable.js.map +0 -1
  192. package/src/components/Progress/CircularProgress/CircularProgress.js +0 -103
  193. package/src/components/Progress/CircularProgress/CircularProgress.js.map +0 -1
  194. package/src/components/Progress/CircularProgress/index.js +0 -14
  195. package/src/components/Progress/CircularProgress/index.js.map +0 -1
  196. package/src/components/Progress/IndeterminateProgress.js +0 -39
  197. package/src/components/Progress/IndeterminateProgress.js.map +0 -1
  198. package/src/components/Progress/LinearProgress/LinearProgress.js +0 -57
  199. package/src/components/Progress/LinearProgress/LinearProgress.js.map +0 -1
  200. package/src/components/Progress/LinearProgress/index.js +0 -14
  201. package/src/components/Progress/LinearProgress/index.js.map +0 -1
  202. package/src/components/Progress/ProgressCommon.js +0 -2
  203. package/src/components/Progress/ProgressCommon.js.map +0 -1
  204. package/src/components/ProgressIndicator.js +0 -28
  205. package/src/components/ProgressIndicator.js.map +0 -1
  206. package/src/components/RadioButton/RadioButton.js +0 -18
  207. package/src/components/RadioButton/RadioButton.js.map +0 -1
  208. package/src/components/RadioButton/RadioButtonGroup.js +0 -44
  209. package/src/components/RadioButton/RadioButtonGroup.js.map +0 -1
  210. package/src/components/RadioButton/RadioButtonRow.js +0 -79
  211. package/src/components/RadioButton/RadioButtonRow.js.map +0 -1
  212. package/src/components/RadioButton/context.js +0 -15
  213. package/src/components/RadioButton/context.js.map +0 -1
  214. package/src/components/RadioButton/index.js +0 -4
  215. package/src/components/RadioButton/index.js.map +0 -1
  216. package/src/components/Row.js +0 -49
  217. package/src/components/Row.js.map +0 -1
  218. package/src/components/SVG.js +0 -8
  219. package/src/components/SVG.js.map +0 -1
  220. package/src/components/SVG.native.js +0 -10
  221. package/src/components/SVG.native.js.map +0 -1
  222. package/src/components/ScreenContainer.js +0 -42
  223. package/src/components/ScreenContainer.js.map +0 -1
  224. package/src/components/SectionList/SectionHeader.js +0 -14
  225. package/src/components/SectionList/SectionHeader.js.map +0 -1
  226. package/src/components/SectionList/SectionList.js +0 -111
  227. package/src/components/SectionList/SectionList.js.map +0 -1
  228. package/src/components/SectionList/index.js +0 -3
  229. package/src/components/SectionList/index.js.map +0 -1
  230. package/src/components/Shadow.js +0 -26
  231. package/src/components/Shadow.js.map +0 -1
  232. package/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js +0 -13
  233. package/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js.map +0 -1
  234. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +0 -13
  235. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +0 -1
  236. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +0 -13
  237. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +0 -1
  238. package/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js +0 -13
  239. package/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js.map +0 -1
  240. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +0 -13
  241. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +0 -1
  242. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +0 -15
  243. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +0 -1
  244. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +0 -15
  245. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +0 -1
  246. package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +0 -89
  247. package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js.map +0 -1
  248. package/src/components/Slider.js +0 -84
  249. package/src/components/Slider.js.map +0 -1
  250. package/src/components/StarRating.js +0 -51
  251. package/src/components/StarRating.js.map +0 -1
  252. package/src/components/StepIndicator.js +0 -347
  253. package/src/components/StepIndicator.js.map +0 -1
  254. package/src/components/Stepper.js +0 -43
  255. package/src/components/Stepper.js.map +0 -1
  256. package/src/components/Surface.js +0 -55
  257. package/src/components/Surface.js.map +0 -1
  258. package/src/components/SwipeableItem/SwipeableItem.js +0 -124
  259. package/src/components/SwipeableItem/SwipeableItem.js.map +0 -1
  260. package/src/components/SwipeableItem/SwipeableItemButton.js +0 -6
  261. package/src/components/SwipeableItem/SwipeableItemButton.js.map +0 -1
  262. package/src/components/SwipeableItem/SwipeableItemCommon.js +0 -44
  263. package/src/components/SwipeableItem/SwipeableItemCommon.js.map +0 -1
  264. package/src/components/SwipeableItem/SwipeableList.js +0 -29
  265. package/src/components/SwipeableItem/SwipeableList.js.map +0 -1
  266. package/src/components/SwipeableItem/index.js +0 -4
  267. package/src/components/SwipeableItem/index.js.map +0 -1
  268. package/src/components/Swiper/Swiper.js +0 -99
  269. package/src/components/Swiper/Swiper.js.map +0 -1
  270. package/src/components/Swiper/SwiperItem.js +0 -10
  271. package/src/components/Swiper/SwiperItem.js.map +0 -1
  272. package/src/components/Swiper/index.js +0 -3
  273. package/src/components/Swiper/index.js.map +0 -1
  274. package/src/components/Switch.js +0 -56
  275. package/src/components/Switch.js.map +0 -1
  276. package/src/components/TabView/TabView.js +0 -65
  277. package/src/components/TabView/TabView.js.map +0 -1
  278. package/src/components/TabView/TabViewItem.js +0 -12
  279. package/src/components/TabView/TabViewItem.js.map +0 -1
  280. package/src/components/TabView/index.js +0 -3
  281. package/src/components/TabView/index.js.map +0 -1
  282. package/src/components/Table/Table.js +0 -94
  283. package/src/components/Table/Table.js.map +0 -1
  284. package/src/components/Table/TableCell.js +0 -34
  285. package/src/components/Table/TableCell.js.map +0 -1
  286. package/src/components/Table/TableCommon.js +0 -13
  287. package/src/components/Table/TableCommon.js.map +0 -1
  288. package/src/components/Table/TableRow.js +0 -42
  289. package/src/components/Table/TableRow.js.map +0 -1
  290. package/src/components/Table/index.js +0 -4
  291. package/src/components/Table/index.js.map +0 -1
  292. package/src/components/Text.js +0 -25
  293. package/src/components/Text.js.map +0 -1
  294. package/src/components/TextField.js +0 -411
  295. package/src/components/TextField.js.map +0 -1
  296. package/src/components/TextInput.js +0 -25
  297. package/src/components/TextInput.js.map +0 -1
  298. package/src/components/Timer.js +0 -87
  299. package/src/components/Timer.js.map +0 -1
  300. package/src/components/Touchable.js +0 -13
  301. package/src/components/Touchable.js.map +0 -1
  302. package/src/components/Touchable.web.js +0 -3
  303. package/src/components/Touchable.web.js.map +0 -1
  304. package/src/components/Typography.js +0 -37
  305. package/src/components/Typography.js.map +0 -1
  306. package/src/components/YoutubePlayer/YoutubePlayer.js +0 -21
  307. package/src/components/YoutubePlayer/YoutubePlayer.js.map +0 -1
  308. package/src/components/YoutubePlayer/YoutubePlayer.native.js +0 -36
  309. package/src/components/YoutubePlayer/YoutubePlayer.native.js.map +0 -1
  310. package/src/components/YoutubePlayer/YoutubePlayerProps.js +0 -2
  311. package/src/components/YoutubePlayer/YoutubePlayerProps.js.map +0 -1
  312. package/src/components/YoutubePlayer/index.js +0 -2
  313. package/src/components/YoutubePlayer/index.js.map +0 -1
  314. package/src/components/useAuthState.js +0 -35
  315. package/src/components/useAuthState.js.map +0 -1
  316. package/src/constants.js +0 -11
  317. package/src/constants.js.map +0 -1
  318. package/src/deprecated-components/AccordionItem.js +0 -36
  319. package/src/deprecated-components/AccordionItem.js.map +0 -1
  320. package/src/deprecated-components/AnimatedCircularProgress.js +0 -47
  321. package/src/deprecated-components/AnimatedCircularProgress.js.map +0 -1
  322. package/src/deprecated-components/AvatarEdit.js +0 -34
  323. package/src/deprecated-components/AvatarEdit.js.map +0 -1
  324. package/src/deprecated-components/AvoidKeyboardView.js +0 -36
  325. package/src/deprecated-components/AvoidKeyboardView.js.map +0 -1
  326. package/src/deprecated-components/Banner.js +0 -112
  327. package/src/deprecated-components/Banner.js.map +0 -1
  328. package/src/deprecated-components/Card.js +0 -61
  329. package/src/deprecated-components/Card.js.map +0 -1
  330. package/src/deprecated-components/CheckboxGroup.js +0 -25
  331. package/src/deprecated-components/CheckboxGroup.js.map +0 -1
  332. package/src/deprecated-components/CircleImage.js +0 -12
  333. package/src/deprecated-components/CircleImage.js.map +0 -1
  334. package/src/deprecated-components/CircularProgress.js +0 -85
  335. package/src/deprecated-components/CircularProgress.js.map +0 -1
  336. package/src/deprecated-components/Container.js +0 -46
  337. package/src/deprecated-components/Container.js.map +0 -1
  338. package/src/deprecated-components/DeprecatedButton.js +0 -87
  339. package/src/deprecated-components/DeprecatedButton.js.map +0 -1
  340. package/src/deprecated-components/DeprecatedCardWrapper.js +0 -22
  341. package/src/deprecated-components/DeprecatedCardWrapper.js.map +0 -1
  342. package/src/deprecated-components/DeprecatedFAB.js +0 -111
  343. package/src/deprecated-components/DeprecatedFAB.js.map +0 -1
  344. package/src/deprecated-components/FAB.js +0 -50
  345. package/src/deprecated-components/FAB.js.map +0 -1
  346. package/src/deprecated-components/FieldSearchBarFull.js +0 -57
  347. package/src/deprecated-components/FieldSearchBarFull.js.map +0 -1
  348. package/src/deprecated-components/Layout.js +0 -69
  349. package/src/deprecated-components/Layout.js.map +0 -1
  350. package/src/deprecated-components/ProgressBar.js +0 -122
  351. package/src/deprecated-components/ProgressBar.js.map +0 -1
  352. package/src/deprecated-components/ProgressCircle.js +0 -17
  353. package/src/deprecated-components/ProgressCircle.js.map +0 -1
  354. package/src/deprecated-components/RadioButtonFieldGroup.js +0 -21
  355. package/src/deprecated-components/RadioButtonFieldGroup.js.map +0 -1
  356. package/src/deprecated-components/RowBodyIcon.js +0 -12
  357. package/src/deprecated-components/RowBodyIcon.js.map +0 -1
  358. package/src/deprecated-components/RowHeadlineImageCaption.js +0 -16
  359. package/src/deprecated-components/RowHeadlineImageCaption.js.map +0 -1
  360. package/src/deprecated-components/RowHeadlineImageIcon.js +0 -18
  361. package/src/deprecated-components/RowHeadlineImageIcon.js.map +0 -1
  362. package/src/deprecated-components/ToggleButton.js +0 -43
  363. package/src/deprecated-components/ToggleButton.js.map +0 -1
  364. package/src/hooks.js +0 -35
  365. package/src/hooks.js.map +0 -1
  366. package/src/index.js +0 -77
  367. package/src/index.js.map +0 -1
  368. package/src/interfaces/Icon.js +0 -9
  369. package/src/interfaces/Icon.js.map +0 -1
  370. package/src/utilities.js +0 -223
  371. package/src/utilities.js.map +0 -1
@@ -1,26 +0,0 @@
1
- import React from "react";
2
- import { StyleSheet } from "react-native";
3
- import { Shadow as ShadowComponent } from "react-native-shadow-2";
4
- import { extractBorderAndMarginStyles, extractSizeStyles } from "../utilities";
5
- const Shadow = ({ offsetX = 0, offsetY = 0, showShadowSideStart = true, showShadowSideEnd = true, showShadowSideTop = true, showShadowSideBottom = true, showShadowCornerTopStart = true, showShadowCornerTopEnd = true, showShadowCornerBottomStart = true, showShadowCornerBottomEnd = true, paintInside = true, style, ...rest }) => {
6
- const { borderStyles } = extractBorderAndMarginStyles(style);
7
- const shadowStyles = StyleSheet.flatten([
8
- borderStyles,
9
- extractSizeStyles(style),
10
- ]);
11
- const containerStyle = StyleSheet.flatten(style);
12
- Object.keys(shadowStyles).forEach((key) => delete containerStyle[key]);
13
- return (React.createElement(ShadowComponent, { offset: [offsetX, offsetY], sides: {
14
- start: showShadowSideStart,
15
- end: showShadowSideEnd,
16
- top: showShadowSideTop,
17
- bottom: showShadowSideBottom,
18
- }, corners: {
19
- topStart: showShadowCornerTopStart,
20
- topEnd: showShadowCornerTopEnd,
21
- bottomStart: showShadowCornerBottomStart,
22
- bottomEnd: showShadowCornerBottomEnd,
23
- }, style: shadowStyles, containerStyle: containerStyle, paintInside: paintInside, ...rest }));
24
- };
25
- export default Shadow;
26
- //# sourceMappingURL=Shadow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Shadow.js","sourceRoot":"","sources":["Shadow.tsx"],"names":[],"mappings":"AAAA,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B;YAC9B,WAAW,EAAE,2BAA2B;YACxC,SAAS,EAAE,yBAAyB;SACrC,EACD,KAAK,EAAE,YAAY,EACnB,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,KACpB,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { FlashList } from "@shopify/flash-list";
3
- import { useFlashListSplitContentContainerStyles } from "./useSplitContentContainerStyles";
4
- /**
5
- * A FlashList wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleFlashList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useFlashListSplitContentContainerStyles(styleProp);
10
- return (React.createElement(FlashList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
11
- });
12
- export default SimpleStyleFlashList;
13
- //# sourceMappingURL=SimpleStyleFlashList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleFlashList.js","sourceRoot":"","sources":["SimpleStyleFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,uCAAuC,EAAE,MAAM,kCAAkC,CAAC;AAE3F;;;GAGG;AACH,MAAM,oBAAoB,GAAG,KAAK,CAAC,UAAU,CAC3C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAC0C,EACnD,GAAqC,EACrC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,uCAAuC,CAAC,SAAS,CAAC,CAAC;IAErD,OAAO,CACL,oBAAC,SAAS,IACR,GAAG,EAAE,GAAU,EACf,KAAK,EAAE,KAAY,EACnB,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import FlatList from "../FlatList";
3
- import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
4
- /**
5
- * A FlatList wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleFlatList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
10
- return (React.createElement(FlatList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
11
- });
12
- export default SimpleStyleFlatList;
13
- //# sourceMappingURL=SimpleStyleFlatList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleFlatList.js","sourceRoot":"","sources":["SimpleStyleFlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,aAAa,CAAC;AAGnC,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,mBAAmB,GAAG,KAAK,CAAC,UAAU,CAC1C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EACyC,EAClD,GAAiC,EACjC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO,CACL,oBAAC,QAAQ,IACP,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
3
- import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
4
- /**
5
- * A KeyboardAwareScrollView wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleKeyboardAwareScrollView = React.forwardRef(({ style: styleProp, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
10
- return (React.createElement(KeyboardAwareScrollView, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
- });
12
- export default SimpleStyleKeyboardAwareScrollView;
13
- //# sourceMappingURL=SimpleStyleKeyboardAwareScrollView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleKeyboardAwareScrollView.js","sourceRoot":"","sources":["SimpleStyleKeyboardAwareScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,kCAAkC,GAAG,KAAK,CAAC,UAAU,CACzD,CACE,EACE,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EACqD,EAC9D,GAAuC,EACvC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO,CACL,oBAAC,uBAAuB,IACtB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { FlashList } from "@shopify/flash-list";
3
- import { useFlashListSplitContentContainerStyles } from "./useSplitContentContainerStyles";
4
- /**
5
- * A FlashList wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleFlashList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useFlashListSplitContentContainerStyles(styleProp);
10
- return (React.createElement(FlashList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, masonry: true, ...rest }));
11
- });
12
- export default SimpleStyleFlashList;
13
- //# sourceMappingURL=SimpleStyleMasonryFlashList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleMasonryFlashList.js","sourceRoot":"","sources":["SimpleStyleMasonryFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,uCAAuC,EAAE,MAAM,kCAAkC,CAAC;AAE3F;;;GAGG;AACH,MAAM,oBAAoB,GAAG,KAAK,CAAC,UAAU,CAC3C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAC0C,EACnD,GAAqC,EACrC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,uCAAuC,CAAC,SAAS,CAAC,CAAC;IAErD,OAAO,CACL,oBAAC,SAAS,IACR,GAAG,EAAE,GAAU,EACf,KAAK,EAAE,KAAY,EACnB,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,EACV,OAAO,WACH,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import { ScrollView, RefreshControl } from "react-native";
3
- import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
4
- /**
5
- * A ScrollView wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleScrollView = React.forwardRef(({ style: styleProp, onRefresh, refreshing = false, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
10
- return (React.createElement(ScrollView, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, refreshControl: onRefresh ? (React.createElement(RefreshControl, { refreshing: refreshing, onRefresh: onRefresh })) : undefined, ...rest }));
11
- });
12
- export default SimpleStyleScrollView;
13
- //# sourceMappingURL=SimpleStyleScrollView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleScrollView.js","sourceRoot":"","sources":["SimpleStyleScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAO9E;;;GAGG;AACH,MAAM,qBAAqB,GAAG,KAAK,CAAC,UAAU,CAC5C,CACE,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,GAAG,KAAK,EAAE,GAAG,IAAI,EAAS,EACnE,GAA0B,EAC1B,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO,CACL,oBAAC,UAAU,IACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,cAAc,EACZ,SAAS,CAAC,CAAC,CAAC,CACV,oBAAC,cAAc,IAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAI,CACjE,CAAC,CAAC,CAAC,SAAS,KAEX,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { SectionList } from "../SectionList";
3
- import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
4
- /**
5
- * A SectionList wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleSectionList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
10
- return (
11
- //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
12
- React.createElement(SectionList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
13
- });
14
- export default SimpleStyleSectionList;
15
- //# sourceMappingURL=SimpleStyleSectionList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleSectionList.js","sourceRoot":"","sources":["SimpleStyleSectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAC7C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO;IACL,gHAAgH;IAChH,oBAAC,WAAW,IACV,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { SwipeableList } from "../SwipeableItem";
3
- import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
4
- /**
5
- * A SwipeableList wrapper that takes a single `style` prop and internally extracts
6
- * the appropriate style keys into the `contentContainerStyle`
7
- */
8
- const SimpleStyleSwipeableList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
9
- const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
10
- return (
11
- //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
12
- React.createElement(SwipeableList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
13
- });
14
- export default SimpleStyleSwipeableList;
15
- //# sourceMappingURL=SimpleStyleSwipeableList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleStyleSwipeableList.js","sourceRoot":"","sources":["SimpleStyleSwipeableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO;IACL,gHAAgH;IAChH,oBAAC,aAAa,IACZ,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,89 +0,0 @@
1
- import { StyleSheet, Dimensions } from "react-native";
2
- import { pick, omit } from "lodash";
3
- import { extractPercentNumber, useDeepCompareMemo } from "../../utilities";
4
- const DEVICE_WIDTH = Dimensions.get("window").width;
5
- const DEVICE_HEIGHT = Dimensions.get("window").height;
6
- export const contentContainerStyleNames = [
7
- "padding",
8
- "paddingBottom",
9
- "paddingEnd",
10
- "paddingHorizontal",
11
- "paddingLeft",
12
- "paddingRight",
13
- "paddingStart",
14
- "paddingTop",
15
- "paddingVertical",
16
- "justifyContent",
17
- "alignItems",
18
- "alignContent",
19
- "flexDirection",
20
- "flexWrap",
21
- "gap",
22
- "columnGap",
23
- "rowGap",
24
- ];
25
- export default function useSplitContentContainerStyles(originalStyle) {
26
- return useDeepCompareMemo(() => {
27
- const flattenedStyle = StyleSheet.flatten(originalStyle);
28
- const contentContainerStyle = pick(flattenedStyle, contentContainerStyleNames);
29
- // contentContainerStyle should always at least fill the parent to ensure sizing changes reflects properly on component and children.
30
- contentContainerStyle.flexGrow = 1;
31
- let style = omit(flattenedStyle, contentContainerStyleNames);
32
- // ScrollView's implementation defaults flexGrow to 1, which prevents the ability to set a static size or use a flex larger than 1
33
- // See: https://github.com/facebook/react-native/issues/3422
34
- if (style.flex === undefined) {
35
- style = { flexGrow: 0, ...style };
36
- }
37
- else if (style.flexGrow === undefined) {
38
- style = { flexGrow: style.flex, ...style };
39
- }
40
- return {
41
- style,
42
- contentContainerStyle,
43
- };
44
- }, [originalStyle]);
45
- }
46
- export function useFlashListSplitContentContainerStyles(originalStyle) {
47
- const { style, contentContainerStyle } = useSplitContentContainerStyles(originalStyle);
48
- // FlashList only supports a subset of contentContainerStyles
49
- // See https://shopify.github.io/flash-list/docs/usage/#contentcontainerstyle
50
- const flashListContentContainerStyle = pick(contentContainerStyle, [
51
- "backgroundColor",
52
- "paddingTop",
53
- "paddingLeft",
54
- "paddingRight",
55
- "paddingBottom",
56
- "padding",
57
- "paddingVertical",
58
- "paddingHorizontal",
59
- ]);
60
- // FlashList percentage paddings cause it to freeze and crash
61
- // This converts them to numbers based on device width/height
62
- for (const [key, value] of Object.entries(flashListContentContainerStyle)) {
63
- if (typeof value === "string" && key.includes("padding")) {
64
- const asNumber = extractPercentNumber(value);
65
- if (asNumber !== undefined) {
66
- switch (key) {
67
- case "padding":
68
- case "paddingLeft":
69
- case "paddingRight":
70
- case "paddingHorizontal":
71
- flashListContentContainerStyle[key] =
72
- DEVICE_WIDTH * (asNumber / 100);
73
- break;
74
- case "paddingTop":
75
- case "paddingBottom":
76
- case "paddingVertical":
77
- flashListContentContainerStyle[key] =
78
- DEVICE_HEIGHT * (asNumber / 100);
79
- break;
80
- }
81
- }
82
- }
83
- }
84
- return {
85
- style,
86
- contentContainerStyle: flashListContentContainerStyle,
87
- };
88
- }
89
- //# sourceMappingURL=useSplitContentContainerStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSplitContentContainerStyles.js","sourceRoot":"","sources":["useSplitContentContainerStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC;AACpD,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;AAOtD,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,SAAS;IACT,eAAe;IACf,YAAY;IACZ,mBAAmB;IACnB,aAAa;IACb,cAAc;IACd,cAAc;IACd,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,UAAU;IACV,KAAK;IACL,WAAW;IACX,QAAQ;CACT,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,8BAA8B,CACpD,aAAmC;IAEnC,OAAO,kBAAkB,CAAS,GAAG,EAAE;QACrC,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAEzD,MAAM,qBAAqB,GAAG,IAAI,CAChC,cAAc,EACd,0BAA0B,CAC3B,CAAC;QAEF,qIAAqI;QACrI,qBAAqB,CAAC,QAAQ,GAAG,CAAC,CAAC;QAEnC,IAAI,KAAK,GAAG,IAAI,C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CAAC;oBACpB,KAAK,mBAAmB;wBACtB,8BAA8B,CAAC,GAAG,CAAC;4BACjC,YAAY,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;wBAClC,MAAM;oBACR,KAAK,YAAY,CAAC;oBAClB,KAAK,eAAe,CAAC;oBACrB,KAAK,iBAAiB;wBACpB,8BAA8B,CAAC,GAAG,CAAC;4BACjC,aAAa,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;wBACnC,MAAM;gBACV,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO;QACL,KAAK;QACL,qBAAqB,EAAE,8BAA8B;KACtD,CAAC;AACJ,CAAC"}
@@ -1,84 +0,0 @@
1
- import * as React from "react";
2
- import { View, StyleSheet, Platform } from "react-native";
3
- import NativeSlider from "@react-native-community/slider";
4
- import isNumber from "lodash.isnumber";
5
- import toNumber from "lodash.tonumber";
6
- import { withTheme } from "@draftbit/theme";
7
- function maybeParseValue(value) {
8
- if (value === undefined) {
9
- return undefined;
10
- }
11
- if (isNumber(value)) {
12
- return value;
13
- }
14
- try {
15
- const maybe = toNumber(value);
16
- if (isNumber(maybe)) {
17
- return maybe;
18
- }
19
- }
20
- catch {
21
- return undefined;
22
- }
23
- return undefined;
24
- }
25
- function Slider({ Icon, leftIcon, rightIcon, leftIconColor, rightIconColor, value, defaultValue, minimumTrackTintColor, maximumTrackTintColor, thumbTintColor, minimumValue = 0, maximumValue = 100, tapToSeek, step = 1, onValueChange = () => { }, style, theme, disabled, ...rest }) {
26
- const [internalValue, setInternalValue] = React.useState(value || defaultValue);
27
- /**
28
- * Web version of the slider relies on some logic running in the onLayout callback using a given React ref (https://github.com/callstack/react-native-slider/blob/main/package/src/RNCSliderNativeComponent.web.tsx#L320)
29
- *
30
- * The issue is that the onLayout callback is called before the ref is initialized, which leads to an improperly initiatilzed variable
31
- * that determines the x position of the slider
32
- *
33
- * Similair issue: https://github.com/callstack/react-native-slider/issues/470
34
- *
35
- * This workaround forces onLayout to be called twice, where the 2nd time around the ref is initialized
36
- * Done by updating the style of a child component which forces re layout
37
- */
38
- const [tempThumbStyle, setTempThumbStyle] = React.useState({
39
- width: 0,
40
- height: 0,
41
- });
42
- React.useEffect(() => {
43
- setTempThumbStyle({ width: undefined, height: undefined });
44
- }, []);
45
- React.useEffect(() => {
46
- if (value != null) {
47
- setInternalValue(value);
48
- }
49
- }, [value]);
50
- React.useEffect(() => {
51
- if (defaultValue != null) {
52
- setInternalValue(defaultValue);
53
- }
54
- }, [defaultValue]);
55
- const minTrackColor = minimumTrackTintColor || theme.colors.branding.primary;
56
- const maxTrackColor = maximumTrackTintColor || theme.colors.foreground.light;
57
- const thumbColor = thumbTintColor || theme.colors.branding.primary;
58
- const leftIconThemeColor = leftIconColor || theme.colors.text.light;
59
- const rightIconThemeColor = rightIconColor || theme.colors.text.light;
60
- const parsedValue = maybeParseValue(internalValue);
61
- const handleSlidingComplete = (newValue) => {
62
- setInternalValue(newValue);
63
- onValueChange(newValue);
64
- };
65
- return (React.createElement(View, { style: [styles.container, style], ...rest },
66
- leftIcon ? (React.createElement(Icon, { color: leftIconThemeColor, name: leftIcon, size: 24 })) : null,
67
- React.createElement(NativeSlider, { value: parsedValue, step: step, minimumValue: minimumValue, maximumValue: maximumValue, tapToSeek: tapToSeek, minimumTrackTintColor: minTrackColor, maximumTrackTintColor: maxTrackColor, thumbTintColor: thumbColor, onSlidingComplete: handleSlidingComplete, style: styles.slider, disabled: disabled,
68
- //@ts-ignore Not registered in types
69
- thumbStyle: Platform.OS === "web" ? tempThumbStyle : undefined }),
70
- rightIcon ? (React.createElement(Icon, { color: rightIconThemeColor, name: rightIcon, size: 24 })) : null));
71
- }
72
- const styles = StyleSheet.create({
73
- container: {
74
- height: 40,
75
- flexDirection: "row",
76
- alignItems: "center",
77
- },
78
- slider: {
79
- flex: 1,
80
- marginHorizontal: 12,
81
- },
82
- });
83
- export default withTheme(Slider);
84
- //# sourceMappingURL=Slider.js.map
@@ -1 +0,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CAAC,MAAM,CAAC,CAAC"}
@@ -1,51 +0,0 @@
1
- import * as React from "react";
2
- import { View, StyleSheet, Pressable, } from "react-native";
3
- import { withTheme } from "@draftbit/theme";
4
- const StarRating = ({ Icon, starSize = 16, maxStars = 5, rating = 0, defaultValue, isEditable = false, activeColor, inactiveColor, style, onPress, ...rest }) => {
5
- const [localRating, setLocalRating] = React.useState(rating || defaultValue || 0);
6
- React.useEffect(() => {
7
- if (rating != null) {
8
- setLocalRating(rating);
9
- }
10
- }, [rating]);
11
- React.useEffect(() => {
12
- if (defaultValue != null) {
13
- setLocalRating(defaultValue);
14
- }
15
- }, [defaultValue]);
16
- const ratingHandler = React.useCallback((r) => {
17
- setLocalRating(r);
18
- !!onPress && onPress(r);
19
- }, [onPress]);
20
- const ratingRounded = Math.round(localRating * 2) / 2;
21
- return (React.createElement(View, { style: [styles.container, style], ...rest }, [...Array(maxStars)].map((_, i) => (React.createElement(View, { key: i, style: { display: "flex" } },
22
- React.createElement(Icon, { name: ratingRounded - i === 0.5
23
- ? "MaterialIcons/star-half"
24
- : "MaterialIcons/star", size: starSize, color: ratingRounded > i ? activeColor : inactiveColor }),
25
- isEditable && (React.createElement(View, { style: styles.touchContainer },
26
- React.createElement(Pressable, { style: styles.pressable, onPress: () => ratingHandler(i + 0.5) }),
27
- React.createElement(Pressable, { style: styles.pressable, onPress: () => ratingHandler(i + 1) }))))))));
28
- };
29
- const styles = StyleSheet.create({
30
- container: {
31
- flexDirection: "row",
32
- alignItems: "center",
33
- },
34
- touchContainer: {
35
- display: "flex",
36
- flexDirection: "row",
37
- position: "absolute",
38
- top: 0,
39
- right: 0,
40
- left: 0,
41
- bottom: 0,
42
- zIndex: 1,
43
- },
44
- pressable: {
45
- flex: 1,
46
- height: "100%",
47
- width: "50%",
48
- },
49
- });
50
- export default withTheme(StarRating);
51
- //# sourceMappingURL=StarRating.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StarRating.js","sourceRoot":"","sources":["StarRating.tsx"],"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