@draftbit/core 47.5.2-6d2500.2 → 47.5.2-743193.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 (688) hide show
  1. package/lib/src/Provider.js.map +1 -0
  2. package/lib/src/components/AccordionGroup.js.map +1 -0
  3. package/lib/src/components/ActionSheet/ActionSheet.js.map +1 -0
  4. package/lib/src/components/ActionSheet/ActionSheetCancel.js.map +1 -0
  5. package/lib/src/components/ActionSheet/ActionSheetItem.js.map +1 -0
  6. package/lib/src/components/ActionSheet/index.js.map +1 -0
  7. package/lib/src/components/AspectRatio.js.map +1 -0
  8. package/lib/src/components/BottomSheet/BottomSheet.js.map +1 -0
  9. package/lib/src/components/BottomSheet/BottomSheetComponent.js.map +1 -0
  10. package/lib/src/components/BottomSheet/index.js.map +1 -0
  11. package/lib/src/components/Button.js.map +1 -0
  12. package/lib/src/components/Checkbox/Checkbox.js.map +1 -0
  13. package/lib/src/components/Checkbox/CheckboxGroupRow.js.map +1 -0
  14. package/lib/src/components/Checkbox/CheckboxRow.js.map +1 -0
  15. package/lib/src/components/Checkbox/context.js.map +1 -0
  16. package/lib/src/components/Checkbox/index.js.map +1 -0
  17. package/lib/src/components/Config.js.map +1 -0
  18. package/lib/src/components/DatePicker/DatePicker.js.map +1 -0
  19. package/lib/src/components/DatePicker/DatePickerComponent.js.map +1 -0
  20. package/lib/src/components/DatePicker/DatePickerComponent.web.js.map +1 -0
  21. package/lib/src/components/DatePicker/DatePickerComponentType.js.map +1 -0
  22. package/lib/{typescript/src → src}/components/DeckSwiper/DeckSwiper.d.ts +3 -1
  23. package/lib/{typescript/src → src}/components/DeckSwiper/DeckSwiper.js +6 -2
  24. package/lib/src/components/DeckSwiper/DeckSwiper.js.map +1 -0
  25. package/lib/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -0
  26. package/lib/src/components/DeckSwiper/index.js.map +1 -0
  27. package/lib/src/components/Divider.js.map +1 -0
  28. package/lib/src/components/Elevation.js.map +1 -0
  29. package/lib/src/components/FormRow.js.map +1 -0
  30. package/lib/src/components/IconButton.js.map +1 -0
  31. package/lib/src/components/Image.js.map +1 -0
  32. package/lib/src/components/Layout.js.map +1 -0
  33. package/lib/src/components/Markdown.js.map +1 -0
  34. package/lib/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js.map +1 -0
  35. package/lib/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +1 -0
  36. package/lib/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +1 -0
  37. package/lib/src/components/MediaPlayer/AudioPlayer/index.js.map +1 -0
  38. package/lib/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +1 -0
  39. package/lib/src/components/MediaPlayer/MediaPlayerCommon.js.map +1 -0
  40. package/lib/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +1 -0
  41. package/lib/src/components/MediaPlayer/VideoPlayer/index.js.map +1 -0
  42. package/lib/src/components/NumberInput.js.map +1 -0
  43. package/lib/src/components/Picker/Picker.js.map +1 -0
  44. package/lib/src/components/Picker/PickerComponent.android.js.map +1 -0
  45. package/lib/src/components/Picker/PickerComponent.ios.js.map +1 -0
  46. package/lib/src/components/Picker/PickerComponent.web.js.map +1 -0
  47. package/lib/src/components/Picker/PickerTypes.js.map +1 -0
  48. package/lib/src/components/Portal/Portal.js.map +1 -0
  49. package/lib/src/components/Portal/PortalConsumer.js.map +1 -0
  50. package/lib/src/components/Portal/PortalHost.js.map +1 -0
  51. package/lib/src/components/Portal/PortalManager.js.map +1 -0
  52. package/lib/src/components/Pressable.js.map +1 -0
  53. package/lib/{typescript/src → src}/components/Progress/CircularProgress/CircularProgress.js +2 -2
  54. package/lib/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -0
  55. package/lib/{typescript/src → src}/components/Progress/CircularProgress/index.js +0 -6
  56. package/lib/src/components/Progress/CircularProgress/index.js.map +1 -0
  57. package/lib/src/components/Progress/IndeterminateProgress.js.map +1 -0
  58. package/lib/{typescript/src → src}/components/Progress/LinearProgress/LinearProgress.js +1 -1
  59. package/lib/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -0
  60. package/lib/{typescript/src → src}/components/Progress/LinearProgress/index.js +0 -6
  61. package/lib/src/components/Progress/LinearProgress/index.js.map +1 -0
  62. package/lib/src/components/Progress/ProgressCommon.js.map +1 -0
  63. package/lib/src/components/ProgressIndicator.js.map +1 -0
  64. package/lib/src/components/RadioButton/RadioButton.js.map +1 -0
  65. package/lib/src/components/RadioButton/RadioButtonGroup.js.map +1 -0
  66. package/lib/src/components/RadioButton/RadioButtonRow.js.map +1 -0
  67. package/lib/src/components/RadioButton/context.js.map +1 -0
  68. package/lib/src/components/RadioButton/index.js.map +1 -0
  69. package/lib/src/components/Row.js.map +1 -0
  70. package/lib/src/components/SVG.js.map +1 -0
  71. package/lib/src/components/ScreenContainer.js.map +1 -0
  72. package/lib/src/components/SectionList/SectionHeader.js.map +1 -0
  73. package/lib/src/components/SectionList/SectionList.js.map +1 -0
  74. package/lib/src/components/SectionList/index.js.map +1 -0
  75. package/lib/src/components/Shadow.js.map +1 -0
  76. package/lib/src/components/Slider.js.map +1 -0
  77. package/lib/src/components/StarRating.js.map +1 -0
  78. package/lib/src/components/StepIndicator.js.map +1 -0
  79. package/lib/src/components/Stepper.js.map +1 -0
  80. package/lib/src/components/Surface.js.map +1 -0
  81. package/lib/src/components/SwipeableItem/SwipeableItem.js.map +1 -0
  82. package/lib/src/components/SwipeableItem/SwipeableItemButton.js.map +1 -0
  83. package/lib/src/components/SwipeableItem/SwipeableItemCommon.js.map +1 -0
  84. package/lib/src/components/SwipeableItem/SwipeableList.js.map +1 -0
  85. package/lib/src/components/SwipeableItem/index.js.map +1 -0
  86. package/lib/src/components/Swiper/Swiper.js.map +1 -0
  87. package/lib/src/components/Swiper/SwiperItem.js.map +1 -0
  88. package/lib/src/components/Swiper/index.js.map +1 -0
  89. package/lib/src/components/Switch.js.map +1 -0
  90. package/lib/src/components/TabView/TabView.js.map +1 -0
  91. package/lib/src/components/TabView/TabViewItem.js.map +1 -0
  92. package/lib/src/components/TabView/index.js.map +1 -0
  93. package/lib/src/components/Table/Table.js.map +1 -0
  94. package/lib/src/components/Table/TableCell.js.map +1 -0
  95. package/lib/src/components/Table/TableCommon.js.map +1 -0
  96. package/lib/src/components/Table/TableRow.js.map +1 -0
  97. package/lib/src/components/Table/index.js.map +1 -0
  98. package/lib/src/components/Text.js.map +1 -0
  99. package/lib/src/components/TextField.js.map +1 -0
  100. package/lib/src/components/TextInput.js.map +1 -0
  101. package/lib/src/components/Touchable.js.map +1 -0
  102. package/lib/src/components/Touchable.web.js.map +1 -0
  103. package/lib/src/components/Typography.js.map +1 -0
  104. package/lib/src/components/YoutubePlayer/YoutubePlayer.js.map +1 -0
  105. package/lib/src/components/YoutubePlayer/YoutubePlayer.native.js.map +1 -0
  106. package/lib/src/components/YoutubePlayer/YoutubePlayerProps.js.map +1 -0
  107. package/lib/src/components/YoutubePlayer/index.js.map +1 -0
  108. package/lib/src/components/useAuthState.js.map +1 -0
  109. package/lib/src/constants.js.map +1 -0
  110. package/lib/src/deprecated-components/AccordionItem.js.map +1 -0
  111. package/lib/src/deprecated-components/AnimatedCircularProgress.js.map +1 -0
  112. package/lib/src/deprecated-components/AvatarEdit.js.map +1 -0
  113. package/lib/src/deprecated-components/Banner.js.map +1 -0
  114. package/lib/src/deprecated-components/Card.js.map +1 -0
  115. package/lib/src/deprecated-components/CheckboxGroup.js.map +1 -0
  116. package/lib/src/deprecated-components/CircleImage.js.map +1 -0
  117. package/lib/src/deprecated-components/CircularProgress.js.map +1 -0
  118. package/lib/src/deprecated-components/Container.js.map +1 -0
  119. package/lib/src/deprecated-components/DeprecatedButton.js.map +1 -0
  120. package/lib/src/deprecated-components/DeprecatedCardWrapper.js.map +1 -0
  121. package/lib/src/deprecated-components/DeprecatedFAB.js.map +1 -0
  122. package/lib/src/deprecated-components/FAB.js.map +1 -0
  123. package/lib/src/deprecated-components/FieldSearchBarFull.js.map +1 -0
  124. package/lib/src/deprecated-components/ProgressBar.js.map +1 -0
  125. package/lib/src/deprecated-components/ProgressCircle.js.map +1 -0
  126. package/lib/src/deprecated-components/RadioButtonFieldGroup.js.map +1 -0
  127. package/lib/src/deprecated-components/RowBodyIcon.js.map +1 -0
  128. package/lib/src/deprecated-components/RowHeadlineImageCaption.js.map +1 -0
  129. package/lib/src/deprecated-components/RowHeadlineImageIcon.js.map +1 -0
  130. package/lib/src/deprecated-components/ToggleButton.js.map +1 -0
  131. package/lib/src/hooks.js.map +1 -0
  132. package/lib/src/index.js.map +1 -0
  133. package/lib/src/interfaces/Icon.js.map +1 -0
  134. package/lib/src/styles/DarkTheme.js.map +1 -0
  135. package/lib/src/styles/DefaultTheme.js.map +1 -0
  136. package/lib/src/styles/fonts.js.map +1 -0
  137. package/lib/src/styles/overlay.js.map +1 -0
  138. package/lib/src/styles/shadow.js.map +1 -0
  139. package/lib/src/theming.js.map +1 -0
  140. package/lib/src/utilities.js.map +1 -0
  141. package/lib/tsconfig.tsbuildinfo +1 -0
  142. package/package.json +7 -9
  143. package/src/components/DeckSwiper/DeckSwiper.js +6 -2
  144. package/src/components/DeckSwiper/DeckSwiper.js.map +1 -1
  145. package/src/components/DeckSwiper/DeckSwiper.tsx +8 -0
  146. package/src/components/Progress/CircularProgress/CircularProgress.js +2 -2
  147. package/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -1
  148. package/src/components/Progress/CircularProgress/CircularProgress.tsx +1 -2
  149. package/src/components/Progress/CircularProgress/index.js +0 -6
  150. package/src/components/Progress/CircularProgress/index.js.map +1 -1
  151. package/src/components/Progress/CircularProgress/index.tsx +0 -7
  152. package/src/components/Progress/LinearProgress/LinearProgress.js +1 -1
  153. package/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -1
  154. package/src/components/Progress/LinearProgress/LinearProgress.tsx +3 -1
  155. package/src/components/Progress/LinearProgress/index.js +0 -6
  156. package/src/components/Progress/LinearProgress/index.js.map +1 -1
  157. package/src/components/Progress/LinearProgress/index.tsx +0 -7
  158. package/lib/commonjs/Provider.js +0 -1
  159. package/lib/commonjs/components/AccordionGroup.js +0 -1
  160. package/lib/commonjs/components/ActionSheet/ActionSheet.js +0 -1
  161. package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +0 -1
  162. package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +0 -1
  163. package/lib/commonjs/components/ActionSheet/index.js +0 -1
  164. package/lib/commonjs/components/AspectRatio.js +0 -1
  165. package/lib/commonjs/components/BottomSheet/BottomSheet.js +0 -1
  166. package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +0 -1
  167. package/lib/commonjs/components/BottomSheet/index.js +0 -1
  168. package/lib/commonjs/components/Button.js +0 -1
  169. package/lib/commonjs/components/Checkbox/Checkbox.js +0 -1
  170. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +0 -1
  171. package/lib/commonjs/components/Checkbox/CheckboxRow.js +0 -1
  172. package/lib/commonjs/components/Checkbox/context.js +0 -1
  173. package/lib/commonjs/components/Checkbox/index.js +0 -1
  174. package/lib/commonjs/components/Config.js +0 -1
  175. package/lib/commonjs/components/DatePicker/DatePicker.js +0 -1
  176. package/lib/commonjs/components/DatePicker/DatePickerComponent.js +0 -1
  177. package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +0 -1
  178. package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +0 -1
  179. package/lib/commonjs/components/DeckSwiper/DeckSwiper.js +0 -1
  180. package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js +0 -1
  181. package/lib/commonjs/components/DeckSwiper/index.js +0 -1
  182. package/lib/commonjs/components/Divider.js +0 -1
  183. package/lib/commonjs/components/Elevation.js +0 -1
  184. package/lib/commonjs/components/FormRow.js +0 -1
  185. package/lib/commonjs/components/IconButton.js +0 -1
  186. package/lib/commonjs/components/Image.js +0 -1
  187. package/lib/commonjs/components/Layout.js +0 -1
  188. package/lib/commonjs/components/Markdown.js +0 -1
  189. package/lib/commonjs/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js +0 -1
  190. package/lib/commonjs/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +0 -1
  191. package/lib/commonjs/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +0 -1
  192. package/lib/commonjs/components/MediaPlayer/AudioPlayer/index.js +0 -1
  193. package/lib/commonjs/components/MediaPlayer/MediaPlaybackWrapper.js +0 -1
  194. package/lib/commonjs/components/MediaPlayer/MediaPlayerCommon.js +0 -1
  195. package/lib/commonjs/components/MediaPlayer/VideoPlayer/VideoPlayer.js +0 -1
  196. package/lib/commonjs/components/MediaPlayer/VideoPlayer/index.js +0 -1
  197. package/lib/commonjs/components/NumberInput.js +0 -1
  198. package/lib/commonjs/components/Picker/Picker.js +0 -1
  199. package/lib/commonjs/components/Picker/PickerComponent.android.js +0 -1
  200. package/lib/commonjs/components/Picker/PickerComponent.ios.js +0 -1
  201. package/lib/commonjs/components/Picker/PickerComponent.web.js +0 -1
  202. package/lib/commonjs/components/Picker/PickerTypes.js +0 -1
  203. package/lib/commonjs/components/Portal/Portal.js +0 -1
  204. package/lib/commonjs/components/Portal/PortalConsumer.js +0 -1
  205. package/lib/commonjs/components/Portal/PortalHost.js +0 -1
  206. package/lib/commonjs/components/Portal/PortalManager.js +0 -1
  207. package/lib/commonjs/components/Pressable.js +0 -1
  208. package/lib/commonjs/components/Progress/CircularProgress/CircularProgress.js +0 -1
  209. package/lib/commonjs/components/Progress/CircularProgress/index.js +0 -1
  210. package/lib/commonjs/components/Progress/IndeterminateProgress.js +0 -1
  211. package/lib/commonjs/components/Progress/LinearProgress/LinearProgress.js +0 -1
  212. package/lib/commonjs/components/Progress/LinearProgress/index.js +0 -1
  213. package/lib/commonjs/components/Progress/ProgressCommon.js +0 -1
  214. package/lib/commonjs/components/ProgressIndicator.js +0 -1
  215. package/lib/commonjs/components/RadioButton/RadioButton.js +0 -1
  216. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +0 -1
  217. package/lib/commonjs/components/RadioButton/RadioButtonRow.js +0 -1
  218. package/lib/commonjs/components/RadioButton/context.js +0 -1
  219. package/lib/commonjs/components/RadioButton/index.js +0 -1
  220. package/lib/commonjs/components/Row.js +0 -1
  221. package/lib/commonjs/components/SVG.js +0 -1
  222. package/lib/commonjs/components/ScreenContainer.js +0 -1
  223. package/lib/commonjs/components/SectionList/SectionHeader.js +0 -1
  224. package/lib/commonjs/components/SectionList/SectionList.js +0 -1
  225. package/lib/commonjs/components/SectionList/index.js +0 -1
  226. package/lib/commonjs/components/Shadow.js +0 -1
  227. package/lib/commonjs/components/Slider.js +0 -1
  228. package/lib/commonjs/components/StarRating.js +0 -1
  229. package/lib/commonjs/components/StepIndicator.js +0 -1
  230. package/lib/commonjs/components/Stepper.js +0 -1
  231. package/lib/commonjs/components/Surface.js +0 -1
  232. package/lib/commonjs/components/SwipeableItem/SwipeableItem.js +0 -1
  233. package/lib/commonjs/components/SwipeableItem/SwipeableItemButton.js +0 -1
  234. package/lib/commonjs/components/SwipeableItem/SwipeableItemCommon.js +0 -1
  235. package/lib/commonjs/components/SwipeableItem/SwipeableList.js +0 -1
  236. package/lib/commonjs/components/SwipeableItem/index.js +0 -1
  237. package/lib/commonjs/components/Swiper/Swiper.js +0 -1
  238. package/lib/commonjs/components/Swiper/SwiperItem.js +0 -1
  239. package/lib/commonjs/components/Swiper/index.js +0 -1
  240. package/lib/commonjs/components/Switch.js +0 -1
  241. package/lib/commonjs/components/TabView/TabView.js +0 -1
  242. package/lib/commonjs/components/TabView/TabViewItem.js +0 -1
  243. package/lib/commonjs/components/TabView/index.js +0 -1
  244. package/lib/commonjs/components/Table/Table.js +0 -1
  245. package/lib/commonjs/components/Table/TableCell.js +0 -1
  246. package/lib/commonjs/components/Table/TableCommon.js +0 -1
  247. package/lib/commonjs/components/Table/TableRow.js +0 -1
  248. package/lib/commonjs/components/Table/index.js +0 -1
  249. package/lib/commonjs/components/Text.js +0 -1
  250. package/lib/commonjs/components/TextField.js +0 -1
  251. package/lib/commonjs/components/TextInput.js +0 -1
  252. package/lib/commonjs/components/Touchable.js +0 -1
  253. package/lib/commonjs/components/Touchable.web.js +0 -1
  254. package/lib/commonjs/components/Typography.js +0 -1
  255. package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js +0 -1
  256. package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.native.js +0 -1
  257. package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js +0 -1
  258. package/lib/commonjs/components/YoutubePlayer/index.js +0 -1
  259. package/lib/commonjs/components/useAuthState.js +0 -1
  260. package/lib/commonjs/constants.js +0 -1
  261. package/lib/commonjs/deprecated-components/AccordionItem.js +0 -1
  262. package/lib/commonjs/deprecated-components/AnimatedCircularProgress.js +0 -1
  263. package/lib/commonjs/deprecated-components/AvatarEdit.js +0 -1
  264. package/lib/commonjs/deprecated-components/Banner.js +0 -1
  265. package/lib/commonjs/deprecated-components/Card.js +0 -1
  266. package/lib/commonjs/deprecated-components/CheckboxGroup.js +0 -1
  267. package/lib/commonjs/deprecated-components/CircleImage.js +0 -1
  268. package/lib/commonjs/deprecated-components/CircularProgress.js +0 -1
  269. package/lib/commonjs/deprecated-components/Container.js +0 -1
  270. package/lib/commonjs/deprecated-components/DeprecatedButton.js +0 -1
  271. package/lib/commonjs/deprecated-components/DeprecatedCardWrapper.js +0 -1
  272. package/lib/commonjs/deprecated-components/DeprecatedFAB.js +0 -1
  273. package/lib/commonjs/deprecated-components/FAB.js +0 -1
  274. package/lib/commonjs/deprecated-components/FieldSearchBarFull.js +0 -1
  275. package/lib/commonjs/deprecated-components/ProgressBar.js +0 -1
  276. package/lib/commonjs/deprecated-components/ProgressCircle.js +0 -1
  277. package/lib/commonjs/deprecated-components/RadioButtonFieldGroup.js +0 -1
  278. package/lib/commonjs/deprecated-components/RowBodyIcon.js +0 -1
  279. package/lib/commonjs/deprecated-components/RowHeadlineImageCaption.js +0 -1
  280. package/lib/commonjs/deprecated-components/RowHeadlineImageIcon.js +0 -1
  281. package/lib/commonjs/deprecated-components/ToggleButton.js +0 -1
  282. package/lib/commonjs/hooks.js +0 -1
  283. package/lib/commonjs/index.js +0 -1
  284. package/lib/commonjs/interfaces/Icon.js +0 -1
  285. package/lib/commonjs/styles/DarkTheme.js +0 -1
  286. package/lib/commonjs/styles/DefaultTheme.js +0 -1
  287. package/lib/commonjs/styles/fonts.js +0 -1
  288. package/lib/commonjs/styles/overlay.js +0 -1
  289. package/lib/commonjs/styles/shadow.js +0 -1
  290. package/lib/commonjs/theming.js +0 -1
  291. package/lib/commonjs/utilities.js +0 -1
  292. package/lib/typescript/src/Provider.js.map +0 -1
  293. package/lib/typescript/src/components/AccordionGroup.js.map +0 -1
  294. package/lib/typescript/src/components/ActionSheet/ActionSheet.js.map +0 -1
  295. package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.js.map +0 -1
  296. package/lib/typescript/src/components/ActionSheet/ActionSheetItem.js.map +0 -1
  297. package/lib/typescript/src/components/ActionSheet/index.js.map +0 -1
  298. package/lib/typescript/src/components/AspectRatio.js.map +0 -1
  299. package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +0 -1
  300. package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.js.map +0 -1
  301. package/lib/typescript/src/components/BottomSheet/index.js.map +0 -1
  302. package/lib/typescript/src/components/Button.js.map +0 -1
  303. package/lib/typescript/src/components/Checkbox/Checkbox.js.map +0 -1
  304. package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.js.map +0 -1
  305. package/lib/typescript/src/components/Checkbox/CheckboxRow.js.map +0 -1
  306. package/lib/typescript/src/components/Checkbox/context.js.map +0 -1
  307. package/lib/typescript/src/components/Checkbox/index.js.map +0 -1
  308. package/lib/typescript/src/components/Config.js.map +0 -1
  309. package/lib/typescript/src/components/DatePicker/DatePicker.js.map +0 -1
  310. package/lib/typescript/src/components/DatePicker/DatePickerComponent.js.map +0 -1
  311. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.js.map +0 -1
  312. package/lib/typescript/src/components/DatePicker/DatePickerComponentType.js.map +0 -1
  313. package/lib/typescript/src/components/DeckSwiper/DeckSwiper.js.map +0 -1
  314. package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.js.map +0 -1
  315. package/lib/typescript/src/components/DeckSwiper/index.js.map +0 -1
  316. package/lib/typescript/src/components/Divider.js.map +0 -1
  317. package/lib/typescript/src/components/Elevation.js.map +0 -1
  318. package/lib/typescript/src/components/FormRow.js.map +0 -1
  319. package/lib/typescript/src/components/IconButton.js.map +0 -1
  320. package/lib/typescript/src/components/Image.js.map +0 -1
  321. package/lib/typescript/src/components/Layout.js.map +0 -1
  322. package/lib/typescript/src/components/Markdown.js.map +0 -1
  323. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js.map +0 -1
  324. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +0 -1
  325. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +0 -1
  326. package/lib/typescript/src/components/MediaPlayer/AudioPlayer/index.js.map +0 -1
  327. package/lib/typescript/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +0 -1
  328. package/lib/typescript/src/components/MediaPlayer/MediaPlayerCommon.js.map +0 -1
  329. package/lib/typescript/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +0 -1
  330. package/lib/typescript/src/components/MediaPlayer/VideoPlayer/index.js.map +0 -1
  331. package/lib/typescript/src/components/NumberInput.js.map +0 -1
  332. package/lib/typescript/src/components/Picker/Picker.js.map +0 -1
  333. package/lib/typescript/src/components/Picker/PickerComponent.android.js.map +0 -1
  334. package/lib/typescript/src/components/Picker/PickerComponent.ios.js.map +0 -1
  335. package/lib/typescript/src/components/Picker/PickerComponent.web.js.map +0 -1
  336. package/lib/typescript/src/components/Picker/PickerTypes.js.map +0 -1
  337. package/lib/typescript/src/components/Portal/Portal.js.map +0 -1
  338. package/lib/typescript/src/components/Portal/PortalConsumer.js.map +0 -1
  339. package/lib/typescript/src/components/Portal/PortalHost.js.map +0 -1
  340. package/lib/typescript/src/components/Portal/PortalManager.js.map +0 -1
  341. package/lib/typescript/src/components/Pressable.js.map +0 -1
  342. package/lib/typescript/src/components/Progress/CircularProgress/CircularProgress.js.map +0 -1
  343. package/lib/typescript/src/components/Progress/CircularProgress/index.js.map +0 -1
  344. package/lib/typescript/src/components/Progress/IndeterminateProgress.js.map +0 -1
  345. package/lib/typescript/src/components/Progress/LinearProgress/LinearProgress.js.map +0 -1
  346. package/lib/typescript/src/components/Progress/LinearProgress/index.js.map +0 -1
  347. package/lib/typescript/src/components/Progress/ProgressCommon.js.map +0 -1
  348. package/lib/typescript/src/components/ProgressIndicator.js.map +0 -1
  349. package/lib/typescript/src/components/RadioButton/RadioButton.js.map +0 -1
  350. package/lib/typescript/src/components/RadioButton/RadioButtonGroup.js.map +0 -1
  351. package/lib/typescript/src/components/RadioButton/RadioButtonRow.js.map +0 -1
  352. package/lib/typescript/src/components/RadioButton/context.js.map +0 -1
  353. package/lib/typescript/src/components/RadioButton/index.js.map +0 -1
  354. package/lib/typescript/src/components/Row.js.map +0 -1
  355. package/lib/typescript/src/components/SVG.js.map +0 -1
  356. package/lib/typescript/src/components/ScreenContainer.js.map +0 -1
  357. package/lib/typescript/src/components/SectionList/SectionHeader.js.map +0 -1
  358. package/lib/typescript/src/components/SectionList/SectionList.js.map +0 -1
  359. package/lib/typescript/src/components/SectionList/index.js.map +0 -1
  360. package/lib/typescript/src/components/Shadow.js.map +0 -1
  361. package/lib/typescript/src/components/Slider.js.map +0 -1
  362. package/lib/typescript/src/components/StarRating.js.map +0 -1
  363. package/lib/typescript/src/components/StepIndicator.js.map +0 -1
  364. package/lib/typescript/src/components/Stepper.js.map +0 -1
  365. package/lib/typescript/src/components/Surface.js.map +0 -1
  366. package/lib/typescript/src/components/SwipeableItem/SwipeableItem.js.map +0 -1
  367. package/lib/typescript/src/components/SwipeableItem/SwipeableItemButton.js.map +0 -1
  368. package/lib/typescript/src/components/SwipeableItem/SwipeableItemCommon.js.map +0 -1
  369. package/lib/typescript/src/components/SwipeableItem/SwipeableList.js.map +0 -1
  370. package/lib/typescript/src/components/SwipeableItem/index.js.map +0 -1
  371. package/lib/typescript/src/components/Swiper/Swiper.js.map +0 -1
  372. package/lib/typescript/src/components/Swiper/SwiperItem.js.map +0 -1
  373. package/lib/typescript/src/components/Swiper/index.js.map +0 -1
  374. package/lib/typescript/src/components/Switch.js.map +0 -1
  375. package/lib/typescript/src/components/TabView/TabView.js.map +0 -1
  376. package/lib/typescript/src/components/TabView/TabViewItem.js.map +0 -1
  377. package/lib/typescript/src/components/TabView/index.js.map +0 -1
  378. package/lib/typescript/src/components/Table/Table.js.map +0 -1
  379. package/lib/typescript/src/components/Table/TableCell.js.map +0 -1
  380. package/lib/typescript/src/components/Table/TableCommon.js.map +0 -1
  381. package/lib/typescript/src/components/Table/TableRow.js.map +0 -1
  382. package/lib/typescript/src/components/Table/index.js.map +0 -1
  383. package/lib/typescript/src/components/Text.js.map +0 -1
  384. package/lib/typescript/src/components/TextField.js.map +0 -1
  385. package/lib/typescript/src/components/TextInput.js.map +0 -1
  386. package/lib/typescript/src/components/Touchable.js.map +0 -1
  387. package/lib/typescript/src/components/Touchable.web.js.map +0 -1
  388. package/lib/typescript/src/components/Typography.js.map +0 -1
  389. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.js.map +0 -1
  390. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.js.map +0 -1
  391. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.js.map +0 -1
  392. package/lib/typescript/src/components/YoutubePlayer/index.js.map +0 -1
  393. package/lib/typescript/src/components/useAuthState.js.map +0 -1
  394. package/lib/typescript/src/constants.js.map +0 -1
  395. package/lib/typescript/src/deprecated-components/AccordionItem.js.map +0 -1
  396. package/lib/typescript/src/deprecated-components/AnimatedCircularProgress.js.map +0 -1
  397. package/lib/typescript/src/deprecated-components/AvatarEdit.js.map +0 -1
  398. package/lib/typescript/src/deprecated-components/Banner.js.map +0 -1
  399. package/lib/typescript/src/deprecated-components/Card.js.map +0 -1
  400. package/lib/typescript/src/deprecated-components/CheckboxGroup.js.map +0 -1
  401. package/lib/typescript/src/deprecated-components/CircleImage.js.map +0 -1
  402. package/lib/typescript/src/deprecated-components/CircularProgress.js.map +0 -1
  403. package/lib/typescript/src/deprecated-components/Container.js.map +0 -1
  404. package/lib/typescript/src/deprecated-components/DeprecatedButton.js.map +0 -1
  405. package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.js.map +0 -1
  406. package/lib/typescript/src/deprecated-components/DeprecatedFAB.js.map +0 -1
  407. package/lib/typescript/src/deprecated-components/FAB.js.map +0 -1
  408. package/lib/typescript/src/deprecated-components/FieldSearchBarFull.js.map +0 -1
  409. package/lib/typescript/src/deprecated-components/ProgressBar.js.map +0 -1
  410. package/lib/typescript/src/deprecated-components/ProgressCircle.js.map +0 -1
  411. package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.js.map +0 -1
  412. package/lib/typescript/src/deprecated-components/RowBodyIcon.js.map +0 -1
  413. package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.js.map +0 -1
  414. package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.js.map +0 -1
  415. package/lib/typescript/src/deprecated-components/ToggleButton.js.map +0 -1
  416. package/lib/typescript/src/hooks.js.map +0 -1
  417. package/lib/typescript/src/index.js.map +0 -1
  418. package/lib/typescript/src/interfaces/Icon.js.map +0 -1
  419. package/lib/typescript/src/styles/DarkTheme.js.map +0 -1
  420. package/lib/typescript/src/styles/DefaultTheme.js.map +0 -1
  421. package/lib/typescript/src/styles/fonts.js.map +0 -1
  422. package/lib/typescript/src/styles/overlay.js.map +0 -1
  423. package/lib/typescript/src/styles/shadow.js.map +0 -1
  424. package/lib/typescript/src/theming.js.map +0 -1
  425. package/lib/typescript/src/utilities.js.map +0 -1
  426. package/lib/typescript/tsconfig.tsbuildinfo +0 -1
  427. /package/lib/{typescript/src → src}/Provider.d.ts +0 -0
  428. /package/lib/{typescript/src → src}/Provider.js +0 -0
  429. /package/lib/{typescript/src → src}/components/AccordionGroup.d.ts +0 -0
  430. /package/lib/{typescript/src → src}/components/AccordionGroup.js +0 -0
  431. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheet.d.ts +0 -0
  432. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheet.js +0 -0
  433. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheetCancel.d.ts +0 -0
  434. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheetCancel.js +0 -0
  435. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheetItem.d.ts +0 -0
  436. /package/lib/{typescript/src → src}/components/ActionSheet/ActionSheetItem.js +0 -0
  437. /package/lib/{typescript/src → src}/components/ActionSheet/index.d.ts +0 -0
  438. /package/lib/{typescript/src → src}/components/ActionSheet/index.js +0 -0
  439. /package/lib/{typescript/src → src}/components/AspectRatio.d.ts +0 -0
  440. /package/lib/{typescript/src → src}/components/AspectRatio.js +0 -0
  441. /package/lib/{typescript/src → src}/components/BottomSheet/BottomSheet.d.ts +0 -0
  442. /package/lib/{typescript/src → src}/components/BottomSheet/BottomSheet.js +0 -0
  443. /package/lib/{typescript/src → src}/components/BottomSheet/BottomSheetComponent.d.ts +0 -0
  444. /package/lib/{typescript/src → src}/components/BottomSheet/BottomSheetComponent.js +0 -0
  445. /package/lib/{typescript/src → src}/components/BottomSheet/index.d.ts +0 -0
  446. /package/lib/{typescript/src → src}/components/BottomSheet/index.js +0 -0
  447. /package/lib/{typescript/src → src}/components/Button.d.ts +0 -0
  448. /package/lib/{typescript/src → src}/components/Button.js +0 -0
  449. /package/lib/{typescript/src → src}/components/Checkbox/Checkbox.d.ts +0 -0
  450. /package/lib/{typescript/src → src}/components/Checkbox/Checkbox.js +0 -0
  451. /package/lib/{typescript/src → src}/components/Checkbox/CheckboxGroupRow.d.ts +0 -0
  452. /package/lib/{typescript/src → src}/components/Checkbox/CheckboxGroupRow.js +0 -0
  453. /package/lib/{typescript/src → src}/components/Checkbox/CheckboxRow.d.ts +0 -0
  454. /package/lib/{typescript/src → src}/components/Checkbox/CheckboxRow.js +0 -0
  455. /package/lib/{typescript/src → src}/components/Checkbox/context.d.ts +0 -0
  456. /package/lib/{typescript/src → src}/components/Checkbox/context.js +0 -0
  457. /package/lib/{typescript/src → src}/components/Checkbox/index.d.ts +0 -0
  458. /package/lib/{typescript/src → src}/components/Checkbox/index.js +0 -0
  459. /package/lib/{typescript/src → src}/components/Config.d.ts +0 -0
  460. /package/lib/{typescript/src → src}/components/Config.js +0 -0
  461. /package/lib/{typescript/src → src}/components/DatePicker/DatePicker.d.ts +0 -0
  462. /package/lib/{typescript/src → src}/components/DatePicker/DatePicker.js +0 -0
  463. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponent.d.ts +0 -0
  464. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponent.js +0 -0
  465. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponent.web.d.ts +0 -0
  466. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponent.web.js +0 -0
  467. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponentType.d.ts +0 -0
  468. /package/lib/{typescript/src → src}/components/DatePicker/DatePickerComponentType.js +0 -0
  469. /package/lib/{typescript/src → src}/components/DeckSwiper/DeckSwiperCard.d.ts +0 -0
  470. /package/lib/{typescript/src → src}/components/DeckSwiper/DeckSwiperCard.js +0 -0
  471. /package/lib/{typescript/src → src}/components/DeckSwiper/index.d.ts +0 -0
  472. /package/lib/{typescript/src → src}/components/DeckSwiper/index.js +0 -0
  473. /package/lib/{typescript/src → src}/components/Divider.d.ts +0 -0
  474. /package/lib/{typescript/src → src}/components/Divider.js +0 -0
  475. /package/lib/{typescript/src → src}/components/Elevation.d.ts +0 -0
  476. /package/lib/{typescript/src → src}/components/Elevation.js +0 -0
  477. /package/lib/{typescript/src → src}/components/FormRow.d.ts +0 -0
  478. /package/lib/{typescript/src → src}/components/FormRow.js +0 -0
  479. /package/lib/{typescript/src → src}/components/IconButton.d.ts +0 -0
  480. /package/lib/{typescript/src → src}/components/IconButton.js +0 -0
  481. /package/lib/{typescript/src → src}/components/Image.d.ts +0 -0
  482. /package/lib/{typescript/src → src}/components/Image.js +0 -0
  483. /package/lib/{typescript/src → src}/components/Layout.d.ts +0 -0
  484. /package/lib/{typescript/src → src}/components/Layout.js +0 -0
  485. /package/lib/{typescript/src → src}/components/Markdown.d.ts +0 -0
  486. /package/lib/{typescript/src → src}/components/Markdown.js +0 -0
  487. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.d.ts +0 -0
  488. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js +0 -0
  489. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.d.ts +0 -0
  490. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +0 -0
  491. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.d.ts +0 -0
  492. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +0 -0
  493. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/index.d.ts +0 -0
  494. /package/lib/{typescript/src → src}/components/MediaPlayer/AudioPlayer/index.js +0 -0
  495. /package/lib/{typescript/src → src}/components/MediaPlayer/MediaPlaybackWrapper.d.ts +0 -0
  496. /package/lib/{typescript/src → src}/components/MediaPlayer/MediaPlaybackWrapper.js +0 -0
  497. /package/lib/{typescript/src → src}/components/MediaPlayer/MediaPlayerCommon.d.ts +0 -0
  498. /package/lib/{typescript/src → src}/components/MediaPlayer/MediaPlayerCommon.js +0 -0
  499. /package/lib/{typescript/src → src}/components/MediaPlayer/VideoPlayer/VideoPlayer.d.ts +0 -0
  500. /package/lib/{typescript/src → src}/components/MediaPlayer/VideoPlayer/VideoPlayer.js +0 -0
  501. /package/lib/{typescript/src → src}/components/MediaPlayer/VideoPlayer/index.d.ts +0 -0
  502. /package/lib/{typescript/src → src}/components/MediaPlayer/VideoPlayer/index.js +0 -0
  503. /package/lib/{typescript/src → src}/components/NumberInput.d.ts +0 -0
  504. /package/lib/{typescript/src → src}/components/NumberInput.js +0 -0
  505. /package/lib/{typescript/src → src}/components/Picker/Picker.d.ts +0 -0
  506. /package/lib/{typescript/src → src}/components/Picker/Picker.js +0 -0
  507. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.android.d.ts +0 -0
  508. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.android.js +0 -0
  509. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.ios.d.ts +0 -0
  510. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.ios.js +0 -0
  511. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.web.d.ts +0 -0
  512. /package/lib/{typescript/src → src}/components/Picker/PickerComponent.web.js +0 -0
  513. /package/lib/{typescript/src → src}/components/Picker/PickerTypes.d.ts +0 -0
  514. /package/lib/{typescript/src → src}/components/Picker/PickerTypes.js +0 -0
  515. /package/lib/{typescript/src → src}/components/Portal/Portal.d.ts +0 -0
  516. /package/lib/{typescript/src → src}/components/Portal/Portal.js +0 -0
  517. /package/lib/{typescript/src → src}/components/Portal/PortalConsumer.d.ts +0 -0
  518. /package/lib/{typescript/src → src}/components/Portal/PortalConsumer.js +0 -0
  519. /package/lib/{typescript/src → src}/components/Portal/PortalHost.d.ts +0 -0
  520. /package/lib/{typescript/src → src}/components/Portal/PortalHost.js +0 -0
  521. /package/lib/{typescript/src → src}/components/Portal/PortalManager.d.ts +0 -0
  522. /package/lib/{typescript/src → src}/components/Portal/PortalManager.js +0 -0
  523. /package/lib/{typescript/src → src}/components/Pressable.d.ts +0 -0
  524. /package/lib/{typescript/src → src}/components/Pressable.js +0 -0
  525. /package/lib/{typescript/src → src}/components/Progress/CircularProgress/CircularProgress.d.ts +0 -0
  526. /package/lib/{typescript/src → src}/components/Progress/CircularProgress/index.d.ts +0 -0
  527. /package/lib/{typescript/src → src}/components/Progress/IndeterminateProgress.d.ts +0 -0
  528. /package/lib/{typescript/src → src}/components/Progress/IndeterminateProgress.js +0 -0
  529. /package/lib/{typescript/src → src}/components/Progress/LinearProgress/LinearProgress.d.ts +0 -0
  530. /package/lib/{typescript/src → src}/components/Progress/LinearProgress/index.d.ts +0 -0
  531. /package/lib/{typescript/src → src}/components/Progress/ProgressCommon.d.ts +0 -0
  532. /package/lib/{typescript/src → src}/components/Progress/ProgressCommon.js +0 -0
  533. /package/lib/{typescript/src → src}/components/ProgressIndicator.d.ts +0 -0
  534. /package/lib/{typescript/src → src}/components/ProgressIndicator.js +0 -0
  535. /package/lib/{typescript/src → src}/components/RadioButton/RadioButton.d.ts +0 -0
  536. /package/lib/{typescript/src → src}/components/RadioButton/RadioButton.js +0 -0
  537. /package/lib/{typescript/src → src}/components/RadioButton/RadioButtonGroup.d.ts +0 -0
  538. /package/lib/{typescript/src → src}/components/RadioButton/RadioButtonGroup.js +0 -0
  539. /package/lib/{typescript/src → src}/components/RadioButton/RadioButtonRow.d.ts +0 -0
  540. /package/lib/{typescript/src → src}/components/RadioButton/RadioButtonRow.js +0 -0
  541. /package/lib/{typescript/src → src}/components/RadioButton/context.d.ts +0 -0
  542. /package/lib/{typescript/src → src}/components/RadioButton/context.js +0 -0
  543. /package/lib/{typescript/src → src}/components/RadioButton/index.d.ts +0 -0
  544. /package/lib/{typescript/src → src}/components/RadioButton/index.js +0 -0
  545. /package/lib/{typescript/src → src}/components/Row.d.ts +0 -0
  546. /package/lib/{typescript/src → src}/components/Row.js +0 -0
  547. /package/lib/{typescript/src → src}/components/SVG.d.ts +0 -0
  548. /package/lib/{typescript/src → src}/components/SVG.js +0 -0
  549. /package/lib/{typescript/src → src}/components/ScreenContainer.d.ts +0 -0
  550. /package/lib/{typescript/src → src}/components/ScreenContainer.js +0 -0
  551. /package/lib/{typescript/src → src}/components/SectionList/SectionHeader.d.ts +0 -0
  552. /package/lib/{typescript/src → src}/components/SectionList/SectionHeader.js +0 -0
  553. /package/lib/{typescript/src → src}/components/SectionList/SectionList.d.ts +0 -0
  554. /package/lib/{typescript/src → src}/components/SectionList/SectionList.js +0 -0
  555. /package/lib/{typescript/src → src}/components/SectionList/index.d.ts +0 -0
  556. /package/lib/{typescript/src → src}/components/SectionList/index.js +0 -0
  557. /package/lib/{typescript/src → src}/components/Shadow.d.ts +0 -0
  558. /package/lib/{typescript/src → src}/components/Shadow.js +0 -0
  559. /package/lib/{typescript/src → src}/components/Slider.d.ts +0 -0
  560. /package/lib/{typescript/src → src}/components/Slider.js +0 -0
  561. /package/lib/{typescript/src → src}/components/StarRating.d.ts +0 -0
  562. /package/lib/{typescript/src → src}/components/StarRating.js +0 -0
  563. /package/lib/{typescript/src → src}/components/StepIndicator.d.ts +0 -0
  564. /package/lib/{typescript/src → src}/components/StepIndicator.js +0 -0
  565. /package/lib/{typescript/src → src}/components/Stepper.d.ts +0 -0
  566. /package/lib/{typescript/src → src}/components/Stepper.js +0 -0
  567. /package/lib/{typescript/src → src}/components/Surface.d.ts +0 -0
  568. /package/lib/{typescript/src → src}/components/Surface.js +0 -0
  569. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItem.d.ts +0 -0
  570. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItem.js +0 -0
  571. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItemButton.d.ts +0 -0
  572. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItemButton.js +0 -0
  573. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItemCommon.d.ts +0 -0
  574. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableItemCommon.js +0 -0
  575. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableList.d.ts +0 -0
  576. /package/lib/{typescript/src → src}/components/SwipeableItem/SwipeableList.js +0 -0
  577. /package/lib/{typescript/src → src}/components/SwipeableItem/index.d.ts +0 -0
  578. /package/lib/{typescript/src → src}/components/SwipeableItem/index.js +0 -0
  579. /package/lib/{typescript/src → src}/components/Swiper/Swiper.d.ts +0 -0
  580. /package/lib/{typescript/src → src}/components/Swiper/Swiper.js +0 -0
  581. /package/lib/{typescript/src → src}/components/Swiper/SwiperItem.d.ts +0 -0
  582. /package/lib/{typescript/src → src}/components/Swiper/SwiperItem.js +0 -0
  583. /package/lib/{typescript/src → src}/components/Swiper/index.d.ts +0 -0
  584. /package/lib/{typescript/src → src}/components/Swiper/index.js +0 -0
  585. /package/lib/{typescript/src → src}/components/Switch.d.ts +0 -0
  586. /package/lib/{typescript/src → src}/components/Switch.js +0 -0
  587. /package/lib/{typescript/src → src}/components/TabView/TabView.d.ts +0 -0
  588. /package/lib/{typescript/src → src}/components/TabView/TabView.js +0 -0
  589. /package/lib/{typescript/src → src}/components/TabView/TabViewItem.d.ts +0 -0
  590. /package/lib/{typescript/src → src}/components/TabView/TabViewItem.js +0 -0
  591. /package/lib/{typescript/src → src}/components/TabView/index.d.ts +0 -0
  592. /package/lib/{typescript/src → src}/components/TabView/index.js +0 -0
  593. /package/lib/{typescript/src → src}/components/Table/Table.d.ts +0 -0
  594. /package/lib/{typescript/src → src}/components/Table/Table.js +0 -0
  595. /package/lib/{typescript/src → src}/components/Table/TableCell.d.ts +0 -0
  596. /package/lib/{typescript/src → src}/components/Table/TableCell.js +0 -0
  597. /package/lib/{typescript/src → src}/components/Table/TableCommon.d.ts +0 -0
  598. /package/lib/{typescript/src → src}/components/Table/TableCommon.js +0 -0
  599. /package/lib/{typescript/src → src}/components/Table/TableRow.d.ts +0 -0
  600. /package/lib/{typescript/src → src}/components/Table/TableRow.js +0 -0
  601. /package/lib/{typescript/src → src}/components/Table/index.d.ts +0 -0
  602. /package/lib/{typescript/src → src}/components/Table/index.js +0 -0
  603. /package/lib/{typescript/src → src}/components/Text.d.ts +0 -0
  604. /package/lib/{typescript/src → src}/components/Text.js +0 -0
  605. /package/lib/{typescript/src → src}/components/TextField.d.ts +0 -0
  606. /package/lib/{typescript/src → src}/components/TextField.js +0 -0
  607. /package/lib/{typescript/src → src}/components/TextInput.d.ts +0 -0
  608. /package/lib/{typescript/src → src}/components/TextInput.js +0 -0
  609. /package/lib/{typescript/src → src}/components/Touchable.d.ts +0 -0
  610. /package/lib/{typescript/src → src}/components/Touchable.js +0 -0
  611. /package/lib/{typescript/src → src}/components/Touchable.web.d.ts +0 -0
  612. /package/lib/{typescript/src → src}/components/Touchable.web.js +0 -0
  613. /package/lib/{typescript/src → src}/components/Typography.d.ts +0 -0
  614. /package/lib/{typescript/src → src}/components/Typography.js +0 -0
  615. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayer.d.ts +0 -0
  616. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayer.js +0 -0
  617. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayer.native.d.ts +0 -0
  618. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayer.native.js +0 -0
  619. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayerProps.d.ts +0 -0
  620. /package/lib/{typescript/src → src}/components/YoutubePlayer/YoutubePlayerProps.js +0 -0
  621. /package/lib/{typescript/src → src}/components/YoutubePlayer/index.d.ts +0 -0
  622. /package/lib/{typescript/src → src}/components/YoutubePlayer/index.js +0 -0
  623. /package/lib/{typescript/src → src}/components/useAuthState.d.ts +0 -0
  624. /package/lib/{typescript/src → src}/components/useAuthState.js +0 -0
  625. /package/lib/{typescript/src → src}/constants.d.ts +0 -0
  626. /package/lib/{typescript/src → src}/constants.js +0 -0
  627. /package/lib/{typescript/src → src}/deprecated-components/AccordionItem.d.ts +0 -0
  628. /package/lib/{typescript/src → src}/deprecated-components/AccordionItem.js +0 -0
  629. /package/lib/{typescript/src → src}/deprecated-components/AnimatedCircularProgress.d.ts +0 -0
  630. /package/lib/{typescript/src → src}/deprecated-components/AnimatedCircularProgress.js +0 -0
  631. /package/lib/{typescript/src → src}/deprecated-components/AvatarEdit.d.ts +0 -0
  632. /package/lib/{typescript/src → src}/deprecated-components/AvatarEdit.js +0 -0
  633. /package/lib/{typescript/src → src}/deprecated-components/Banner.d.ts +0 -0
  634. /package/lib/{typescript/src → src}/deprecated-components/Banner.js +0 -0
  635. /package/lib/{typescript/src → src}/deprecated-components/Card.d.ts +0 -0
  636. /package/lib/{typescript/src → src}/deprecated-components/Card.js +0 -0
  637. /package/lib/{typescript/src → src}/deprecated-components/CheckboxGroup.d.ts +0 -0
  638. /package/lib/{typescript/src → src}/deprecated-components/CheckboxGroup.js +0 -0
  639. /package/lib/{typescript/src → src}/deprecated-components/CircleImage.d.ts +0 -0
  640. /package/lib/{typescript/src → src}/deprecated-components/CircleImage.js +0 -0
  641. /package/lib/{typescript/src → src}/deprecated-components/CircularProgress.d.ts +0 -0
  642. /package/lib/{typescript/src → src}/deprecated-components/CircularProgress.js +0 -0
  643. /package/lib/{typescript/src → src}/deprecated-components/Container.d.ts +0 -0
  644. /package/lib/{typescript/src → src}/deprecated-components/Container.js +0 -0
  645. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedButton.d.ts +0 -0
  646. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedButton.js +0 -0
  647. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedCardWrapper.d.ts +0 -0
  648. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedCardWrapper.js +0 -0
  649. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedFAB.d.ts +0 -0
  650. /package/lib/{typescript/src → src}/deprecated-components/DeprecatedFAB.js +0 -0
  651. /package/lib/{typescript/src → src}/deprecated-components/FAB.d.ts +0 -0
  652. /package/lib/{typescript/src → src}/deprecated-components/FAB.js +0 -0
  653. /package/lib/{typescript/src → src}/deprecated-components/FieldSearchBarFull.d.ts +0 -0
  654. /package/lib/{typescript/src → src}/deprecated-components/FieldSearchBarFull.js +0 -0
  655. /package/lib/{typescript/src → src}/deprecated-components/ProgressBar.d.ts +0 -0
  656. /package/lib/{typescript/src → src}/deprecated-components/ProgressBar.js +0 -0
  657. /package/lib/{typescript/src → src}/deprecated-components/ProgressCircle.d.ts +0 -0
  658. /package/lib/{typescript/src → src}/deprecated-components/ProgressCircle.js +0 -0
  659. /package/lib/{typescript/src → src}/deprecated-components/RadioButtonFieldGroup.d.ts +0 -0
  660. /package/lib/{typescript/src → src}/deprecated-components/RadioButtonFieldGroup.js +0 -0
  661. /package/lib/{typescript/src → src}/deprecated-components/RowBodyIcon.d.ts +0 -0
  662. /package/lib/{typescript/src → src}/deprecated-components/RowBodyIcon.js +0 -0
  663. /package/lib/{typescript/src → src}/deprecated-components/RowHeadlineImageCaption.d.ts +0 -0
  664. /package/lib/{typescript/src → src}/deprecated-components/RowHeadlineImageCaption.js +0 -0
  665. /package/lib/{typescript/src → src}/deprecated-components/RowHeadlineImageIcon.d.ts +0 -0
  666. /package/lib/{typescript/src → src}/deprecated-components/RowHeadlineImageIcon.js +0 -0
  667. /package/lib/{typescript/src → src}/deprecated-components/ToggleButton.d.ts +0 -0
  668. /package/lib/{typescript/src → src}/deprecated-components/ToggleButton.js +0 -0
  669. /package/lib/{typescript/src → src}/hooks.d.ts +0 -0
  670. /package/lib/{typescript/src → src}/hooks.js +0 -0
  671. /package/lib/{typescript/src → src}/index.d.ts +0 -0
  672. /package/lib/{typescript/src → src}/index.js +0 -0
  673. /package/lib/{typescript/src → src}/interfaces/Icon.d.ts +0 -0
  674. /package/lib/{typescript/src → src}/interfaces/Icon.js +0 -0
  675. /package/lib/{typescript/src → src}/styles/DarkTheme.d.ts +0 -0
  676. /package/lib/{typescript/src → src}/styles/DarkTheme.js +0 -0
  677. /package/lib/{typescript/src → src}/styles/DefaultTheme.d.ts +0 -0
  678. /package/lib/{typescript/src → src}/styles/DefaultTheme.js +0 -0
  679. /package/lib/{typescript/src → src}/styles/fonts.d.ts +0 -0
  680. /package/lib/{typescript/src → src}/styles/fonts.js +0 -0
  681. /package/lib/{typescript/src → src}/styles/overlay.d.ts +0 -0
  682. /package/lib/{typescript/src → src}/styles/overlay.js +0 -0
  683. /package/lib/{typescript/src → src}/styles/shadow.d.ts +0 -0
  684. /package/lib/{typescript/src → src}/styles/shadow.js +0 -0
  685. /package/lib/{typescript/src → src}/theming.d.ts +0 -0
  686. /package/lib/{typescript/src → src}/theming.js +0 -0
  687. /package/lib/{typescript/src → src}/utilities.d.ts +0 -0
  688. /package/lib/{typescript/src → src}/utilities.js +0 -0
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { StyleSheet, View } from "react-native";
3
3
  import DeckSwiperComponent from "react-native-deck-swiper";
4
- const DeckSwiper = ({ onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }) => {
4
+ const DeckSwiper = ({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }) => {
5
5
  //Both 'renderItem' and 'data' are optional to allow direct children. But if one is included, both need to be included
6
6
  if ((data && !renderItem) || (renderItem && !data)) {
7
7
  throw new Error("'renderItem' and 'data' need to both be provided to lazily render. Either remove them entirley or include both");
@@ -67,7 +67,11 @@ const DeckSwiper = ({ onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwiped
67
67
  }, onSwipedBottom: (index) => {
68
68
  onSwipedDown === null || onSwipedDown === void 0 ? void 0 : onSwipedDown(index);
69
69
  onSwipe === null || onSwipe === void 0 ? void 0 : onSwipe(index);
70
- } })));
70
+ },
71
+ //@ts-ignore Not typed, but is implemented and works
72
+ dragStart: onStartSwipe,
73
+ //@ts-ignore
74
+ dragEnd: onEndSwipe })));
71
75
  };
72
76
  const styles = StyleSheet.create({
73
77
  cardsContainer: {
@@ -1 +1 @@
1
- {"version":3,"file":"DeckSwiper.js","sourceRoot":"","sources":["DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAqB3D,MAAM,UAAU,GAAG,CAAmB,EACpC,OAAO,EACP,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,GAAG,CAAC,EAClB,eAAe,GAAG,KAAK,EACvB,eAAe,GAAG,IAAI,EACtB,iBAAiB,GAAG,IAAI,EACxB,gBAAgB,GAAG,CAAC,EACpB,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,QAAQ,GACoC,EAAE,EAAE;IAChD,sHAAsH;IACtH,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,EAAE;QAClD,MAAM,IAAI,KAAK,CACb,gHAAgH,CACjH,CAAC;KACH;IAED,IAAI,IAAI,IAAI,UAAU,IAAI,QAAQ,EAAE;QAClC,OAAO,CAAC,IAAI,CACV,0EAA0E,CAC3E,CAAC;KACH;IAED,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAyB,IAAI,CAAC,CAAC;IAEjE,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CACjC,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EACtC,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,8CAA8C;IAC9C,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CACnC,GAAG,EAAE,CAAC,KAAK,CA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,CAAG,KAAK,CAAC,CAAC;YACnB,CAAC;YACD,oDAAoD;YACpD,SAAS,EAAE,YAAY;YACvB,YAAY;YACZ,OAAO,EAAE,UAAU,GACnB,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,UAAU;KACrB;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,GAAG;KACb;CACF,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -3,6 +3,8 @@ import { StyleProp, ViewStyle, StyleSheet, View } from "react-native";
3
3
  import DeckSwiperComponent from "react-native-deck-swiper";
4
4
 
5
5
  export interface DeckSwiperProps<T> {
6
+ onStartSwipe?: () => void;
7
+ onEndSwipe?: () => void;
6
8
  onSwipe?: (index: number) => void;
7
9
  onSwipedLeft?: (index: number) => void;
8
10
  onSwipedRight?: (index: number) => void;
@@ -22,6 +24,8 @@ export interface DeckSwiperProps<T> {
22
24
  }
23
25
 
24
26
  const DeckSwiper = <T extends object>({
27
+ onStartSwipe,
28
+ onEndSwipe,
25
29
  onSwipe,
26
30
  onSwipedLeft,
27
31
  onSwipedRight,
@@ -150,6 +154,10 @@ const DeckSwiper = <T extends object>({
150
154
  onSwipedDown?.(index);
151
155
  onSwipe?.(index);
152
156
  }}
157
+ //@ts-ignore Not typed, but is implemented and works
158
+ dragStart={onStartSwipe}
159
+ //@ts-ignore
160
+ dragEnd={onEndSwipe}
153
161
  />
154
162
  </View>
155
163
  );
@@ -33,7 +33,7 @@ export const CircularProgress = ({ theme, minimumValue = 0, maximumValue = 100,
33
33
  }
34
34
  }, [startPosition]);
35
35
  const currentFillPercentage = value / (maximumValue + minimumValue);
36
- const currentAngle = useSharedValue(startAngle);
36
+ const currentAngle = useSharedValue(startAngle + currentFillPercentage * 360);
37
37
  const progressPathAnimatedProps = useAnimatedProps(() => {
38
38
  const isBelowMinAngle = currentAngle.value <= startAngle;
39
39
  return {
@@ -70,7 +70,7 @@ export const CircularProgress = ({ theme, minimumValue = 0, maximumValue = 100,
70
70
  ] },
71
71
  React.createElement(Svg, { testID: testID !== null && testID !== void 0 ? testID : "circular-progress-component", style: { flex: 1 } },
72
72
  showTrack && (React.createElement(Path, { d: circlePath(radius, radius, radius - thicknessOffset, startAngle, startAngle + 360), stroke: trackColor, strokeWidth: trackThickness, strokeOpacity: trackOpacity, strokeLinecap: trackLineCap, strokeDasharray: trackCustomDashArray || trackDashArray, strokeDashoffset: trackDashOffset })),
73
- React.createElement(AnimatedPath, { animatedProps: progressPathAnimatedProps, stroke: color, strokeWidth: thickness, strokeLinecap: lineCap, strokeDasharray: customDashArray || dashArray, strokeDashoffset: dashOffset, fill: "rgba(0,0,0,0)", onPress: () => { } }))));
73
+ React.createElement(AnimatedPath, { animatedProps: progressPathAnimatedProps, stroke: color, strokeWidth: thickness, strokeLinecap: lineCap, strokeDasharray: customDashArray || dashArray, strokeDashoffset: dashOffset, onPress: () => { } }))));
74
74
  };
75
75
  // From: https://github.com/bartgryszko/react-native-circular-progress/blob/a93b501aea40306126c8ede72089741eead52308/src/CircularProgress.js#L15
76
76
  function circlePath(x, y, radius, startAngle, endAngle) {
@@ -1 +1 @@
1
- {"version":3,"file":"CircularProgress.js","sourceRoot":"","sources":["CircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,EAAE,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,EAAE,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,GAG3B,MAAM,mBAAm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,GAAG,UAAU,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IAC5D,IAAI,CAAC,GAAG;QACN,GAAG;QACH,KAAK,CAAC,CAAC;QACP,KAAK,CAAC,CAAC;QACP,GAAG;QACH,MAAM;QACN,MAAM;QACN,CAAC;QACD,YAAY;QACZ,CAAC;QACD,GAAG,CAAC,CAAC;QACL,GAAG,CAAC,CAAC;KACN,CAAC;IACF,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
@@ -80,7 +80,7 @@ export const CircularProgress: React.FC<
80
80
  }, [startPosition]);
81
81
 
82
82
  const currentFillPercentage = value / (maximumValue + minimumValue);
83
- const currentAngle = useSharedValue(startAngle);
83
+ const currentAngle = useSharedValue(startAngle + currentFillPercentage * 360);
84
84
 
85
85
  const progressPathAnimatedProps = useAnimatedProps<PathProps>(() => {
86
86
  const isBelowMinAngle = currentAngle.value <= startAngle;
@@ -153,7 +153,6 @@ export const CircularProgress: React.FC<
153
153
  strokeLinecap={lineCap}
154
154
  strokeDasharray={customDashArray || dashArray}
155
155
  strokeDashoffset={dashOffset}
156
- fill={"rgba(0,0,0,0)"} //Prevent default black fill
157
156
  onPress={() => {}} //Addresses reanimated issue with SVG (https://github.com/software-mansion/react-native-reanimated/issues/3321#issuecomment-1256983430)
158
157
  />
159
158
  </Svg>
@@ -1,9 +1,3 @@
1
- //Prevents 'r.g.__reanimatedWorkletInit is not a function' issue on snack (https://forums.expo.dev/t/react-native-reanimated-error-r-g-reanimatedworkletinit-is-not-a-function/68222)
2
- //@ts-ignore
3
- if (!global.__reanimatedWorkletInit) {
4
- //@ts-ignore
5
- global.__reanimatedWorkletInit = function () { };
6
- }
7
1
  import React from "react";
8
2
  import IndeterminateProgress from "../IndeterminateProgress";
9
3
  import { CircularProgress as CircularProgressComponent } from "./CircularProgress";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts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10 +1,3 @@
1
- //Prevents 'r.g.__reanimatedWorkletInit is not a function' issue on snack (https://forums.expo.dev/t/react-native-reanimated-error-r-g-reanimatedworkletinit-is-not-a-function/68222)
2
- //@ts-ignore
3
- if (!global.__reanimatedWorkletInit) {
4
- //@ts-ignore
5
- global.__reanimatedWorkletInit = function () {};
6
- }
7
-
8
1
  import React from "react";
9
2
  import IndeterminateProgress from "../IndeterminateProgress";
10
3
  import {
@@ -17,7 +17,7 @@ export const LinearProgress = ({ theme, minimumValue = 0, maximumValue = 100, va
17
17
  const progressLineWidth = svgContainerWidth - thicknessOffset;
18
18
  const trackProgressLineWidth = svgContainerWidth - thicknessOffset;
19
19
  const currentFillPercentage = value / (maximumValue + minimumValue);
20
- const currentProgressLineWidth = useSharedValue(0);
20
+ const currentProgressLineWidth = useSharedValue(currentFillPercentage * progressLineWidth);
21
21
  const progressLineAnimatedProps = useAnimatedProps(() => {
22
22
  const isBelowMinWidth = currentProgressLineWidth.value <= thicknessOffset;
23
23
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"LinearProgress.js","sourceRoot":"","sources":["LinearProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,EAAE,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,EAAE,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,GAE3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AAEnE,MAAM,CAAC,MAAM,cAAc,GAAiC,CAAC,EAC3D,KAAK,EACL,YAAY,GAAG,CAAC,EAChB,YAAY,GAAG,GAAG,EAClB,KAAK,GAAG,YAAY,EACpB,SAAS,GAAG,EAAE,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,aAAa,EAAE,yBAAyB,EACxC,EAAE,EAAE,eAAe,EACnB,EAAE,EAAE,eAAe,EACnB,EAAE,EAAE,eAAe,EACnB,MAAM,EAAE,KAAK,EACb,WAAW,EAAE,SAAS,EACtB,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,eAAe,IAAI,SAAS,EAC7C,gBAAgB,EAAE,UAAU,EAC5B,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,GACjB,CACE,CACD,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -58,7 +58,9 @@ export const LinearProgress: React.FC<ValueProgressProps> = ({
58
58
  const trackProgressLineWidth = svgContainerWidth - thicknessOffset;
59
59
 
60
60
  const currentFillPercentage = value / (maximumValue + minimumValue);
61
- const currentProgressLineWidth = useSharedValue(0);
61
+ const currentProgressLineWidth = useSharedValue(
62
+ currentFillPercentage * progressLineWidth
63
+ );
62
64
 
63
65
  const progressLineAnimatedProps = useAnimatedProps<LineProps>(() => {
64
66
  const isBelowMinWidth = currentProgressLineWidth.value <= thicknessOffset;
@@ -1,9 +1,3 @@
1
- //Prevents 'r.g.__reanimatedWorkletInit is not a function' issue on snack (https://forums.expo.dev/t/react-native-reanimated-error-r-g-reanimatedworkletinit-is-not-a-function/68222)
2
- //@ts-ignore
3
- if (!global.__reanimatedWorkletInit) {
4
- //@ts-ignore
5
- global.__reanimatedWorkletInit = function () { };
6
- }
7
1
  import React from "react";
8
2
  import IndeterminateProgress from "../IndeterminateProgress";
9
3
  import { LinearProgress as LinearProgressComponent } from "./LinearProgress";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,qLAAqL;AACrL,YAAY;AACZ,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE;IACnC,YAAY;IACZ,MAAM,CAAC,uBAAuB,GAAG,cAAa,CAAC,CAAC;CACjD;AAED,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAK7D,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,cAAc,GAEhB,CAAC,KAAK,EAAE,EAAE;IACZ,IAAI,KAAK,CAAC,aAAa,EAAE;QACvB,OAAO,CACL,oBAAC,qBAAqB,IACpB,iBAAiB,EAAE,uBAAuB,KACtC,KAAK,GACT,CACH,CAAC;KACH;SAAM;QACL,OAAO,oBAAC,uBAAuB,OAAK,KAAK,GAAI,CAAC;KAC/C;AACH,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAK7D,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,cAAc,GAEhB,CAAC,KAAK,EAAE,EAAE;IACZ,IAAI,KAAK,CAAC,aAAa,EAAE;QACvB,OAAO,CACL,oBAAC,qBAAqB,IACpB,iBAAiB,EAAE,uBAAuB,KACtC,KAAK,GACT,CACH,CAAC;KACH;SAAM;QACL,OAAO,oBAAC,uBAAuB,OAAK,KAAK,GAAI,CAAC;KAC/C;AACH,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,cAAc,CAAC,CAAC"}
@@ -1,10 +1,3 @@
1
- //Prevents 'r.g.__reanimatedWorkletInit is not a function' issue on snack (https://forums.expo.dev/t/react-native-reanimated-error-r-g-reanimatedworkletinit-is-not-a-function/68222)
2
- //@ts-ignore
3
- if (!global.__reanimatedWorkletInit) {
4
- //@ts-ignore
5
- global.__reanimatedWorkletInit = function () {};
6
- }
7
-
8
1
  import React from "react";
9
2
  import IndeterminateProgress from "../IndeterminateProgress";
10
3
  import {
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var React=_interopRequireWildcard(require("react"));var _theming=require("./theming");var _PortalHost=_interopRequireDefault(require("./components/Portal/PortalHost"));var _jsxRuntime=require("react/jsx-runtime");var _jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/Provider.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=(0,_getPrototypeOf2.default)(Derived),result;if(hasNativeReflectConstruct){var NewTarget=(0,_getPrototypeOf2.default)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return(0,_possibleConstructorReturn2.default)(this,result);};}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}var Provider=function(_React$Component){(0,_inherits2.default)(Provider,_React$Component);var _super=_createSuper(Provider);function Provider(){(0,_classCallCheck2.default)(this,Provider);return _super.apply(this,arguments);}(0,_createClass2.default)(Provider,[{key:"render",value:function render(){return(0,_jsxRuntime.jsx)(_PortalHost.default,{children:(0,_jsxRuntime.jsx)(_theming.ThemeProvider,{theme:this.props.theme,children:this.props.children})});}}]);return Provider;}(React.Component);exports.default=Provider;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _Text=_interopRequireDefault(require("./Text"));var _theming=require("../theming");var _utilities=require("../utilities");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/AccordionGroup.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var AccordionGroup=function AccordionGroup(_ref){var label=_ref.label,_ref$expanded=_ref.expanded,expandedProp=_ref$expanded===void 0?false:_ref$expanded,openColor=_ref.openColor,closedColor=_ref.closedColor,caretColorProp=_ref.caretColor,_ref$caretSize=_ref.caretSize,caretSize=_ref$caretSize===void 0?24:_ref$caretSize,icon=_ref.icon,_ref$iconSize=_ref.iconSize,iconSize=_ref$iconSize===void 0?24:_ref$iconSize,style=_ref.style,children=_ref.children,theme=_ref.theme,Icon=_ref.Icon;var _React$useState=React.useState(expandedProp),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),expanded=_React$useState2[0],setExpanded=_React$useState2[1];var _extractStyles=(0,_utilities.extractStyles)(style),textStyles=_extractStyles.textStyles,viewStyles=_extractStyles.viewStyles;var expandedColor=openColor||theme.colors.primary;var collapsedColor=closedColor||theme.colors.primary;var labelColor=expanded?expandedColor:collapsedColor;var caretColor=caretColorProp||labelColor;var handlePressAction=function handlePressAction(){setExpanded(!expanded);};return(0,_jsxRuntime.jsxs)(_jsxRuntime.Fragment,{children:[(0,_jsxRuntime.jsxs)(_reactNative.Pressable,{style:[styles.row,viewStyles],onPress:handlePressAction,accessibilityRole:"button",children:[icon?(0,_jsxRuntime.jsx)(Icon,{name:icon,size:iconSize,color:labelColor,style:styles.icon}):null,(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.content,children:(0,_jsxRuntime.jsx)(_Text.default,{selectable:false,style:[textStyles,{color:labelColor}],children:label})}),(0,_jsxRuntime.jsx)(Icon,{name:expanded?"MaterialIcons/keyboard-arrow-up":"MaterialIcons/keyboard-arrow-down",color:caretColor,size:caretSize})]}),expanded?children:null]});};var styles=_reactNative.StyleSheet.create({row:{flexDirection:"row",alignItems:"center"},content:{flex:1,justifyContent:"center"},icon:{marginRight:8}});var _default=(0,_theming.withTheme)(AccordionGroup);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _Portal=_interopRequireDefault(require("../Portal/Portal"));var _Touchable=_interopRequireDefault(require("../Touchable"));var _ActionSheetCancel=_interopRequireDefault(require("./ActionSheetCancel"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/ActionSheet/ActionSheet.tsx";var ActionSheet=function ActionSheet(_ref){var _ref$visible=_ref.visible,visible=_ref$visible===void 0?false:_ref$visible,onClose=_ref.onClose,children=_ref.children;return visible?(0,_jsxRuntime.jsx)(_Portal.default,{children:(0,_jsxRuntime.jsxs)(_Touchable.default,{style:styles.wrapper,onPress:onClose,children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.overlay}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:styles.groupWrapper,children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.group,children:_react.default.Children.toArray(children).filter(function(child){return(child==null?void 0:child.type)!==_ActionSheetCancel.default;})}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.group,children:_react.default.Children.toArray(children).filter(function(child){return child.type===_ActionSheetCancel.default;})})]})]})}):(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{});};var styles=_reactNative.StyleSheet.create({wrapper:{flex:1,display:"flex",flexDirection:"column"},overlay:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"#000000",opacity:0.3},groupWrapper:{flex:1,flexDirection:"column",justifyContent:"flex-end",display:"flex",marginBottom:25},group:{display:"flex",flexDirection:"column",borderRadius:10,marginHorizontal:7,marginVertical:2.5,overflow:"hidden"}});var _default=ActionSheet;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _ActionSheetItem=_interopRequireDefault(require("./ActionSheetItem"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/ActionSheet/ActionSheetCancel.tsx";var ActionSheetCancel=function ActionSheetCancel(_ref){var _ref$label=_ref.label,label=_ref$label===void 0?"Cancel":_ref$label,color=_ref.color,style=_ref.style,onPress=_ref.onPress;return(0,_jsxRuntime.jsx)(_ActionSheetItem.default,{label:label,color:color||"#FF453A",style:[style],onPress:onPress});};var _default=ActionSheetCancel;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _utilities=require("../../utilities");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/ActionSheet/ActionSheetItem.tsx";var ActionSheetItem=function ActionSheetItem(_ref){var label=_ref.label,style=_ref.style,color=_ref.color,onPress=_ref.onPress;var _extractStyles=(0,_utilities.extractStyles)(style),textStyles=_extractStyles.textStyles,viewStyles=_extractStyles.viewStyles;return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{activeOpacity:0.7,style:[styles.wrapper,viewStyles],onPress:onPress,children:(0,_jsxRuntime.jsx)(_reactNative.Text,{style:[styles.label,textStyles,{color:color}],children:label})});};var styles=_reactNative.StyleSheet.create({wrapper:{borderBottomWidth:_reactNative.StyleSheet.hairlineWidth,borderBottomColor:"#CCCCCC",backgroundColor:"#F1F1F1",minHeight:50,overflow:"hidden",display:"flex",justifyContent:"center"},label:{fontSize:16,textAlign:"center",color:"#0A84FF",fontWeight:"500",overflow:"hidden",paddingHorizontal:20,paddingVertical:10,alignSelf:"center"}});var _default=ActionSheetItem;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"ActionSheet",{enumerable:true,get:function get(){return _ActionSheet.default;}});Object.defineProperty(exports,"ActionSheetCancel",{enumerable:true,get:function get(){return _ActionSheetCancel.default;}});Object.defineProperty(exports,"ActionSheetItem",{enumerable:true,get:function get(){return _ActionSheetItem.default;}});var _ActionSheet=_interopRequireDefault(require("./ActionSheet"));var _ActionSheetItem=_interopRequireDefault(require("./ActionSheetItem"));var _ActionSheetCancel=_interopRequireDefault(require("./ActionSheetCancel"));
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["aspectRatio"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/AspectRatio.tsx";var AspectRatio=function AspectRatio(props){var _React$useState=_react.default.useState(null),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),layout=_React$useState2[0],setLayout=_React$useState2[1];var _ref=_reactNative.StyleSheet.flatten(props.style)||{},_ref$aspectRatio=_ref.aspectRatio,aspectRatio=_ref$aspectRatio===void 0?1:_ref$aspectRatio,inputStyle=(0,_objectWithoutProperties2.default)(_ref,_excluded);var style=[inputStyle,{aspectRatio:aspectRatio}];if(layout){var _layout$width=layout.width,width=_layout$width===void 0?0:_layout$width,_layout$height=layout.height,height=_layout$height===void 0?0:_layout$height;if(width===0){style.push({width:height*(1/+aspectRatio),height:height});}else{style.push({width:width,height:width*(1/+aspectRatio)});}}return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({},props,{style:style,onLayout:function onLayout(_ref2){var l=_ref2.nativeEvent.layout;return setLayout(l);},children:props.children}));};var _default=AspectRatio;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _BottomSheetComponent=_interopRequireDefault(require("./BottomSheetComponent"));var _theming=require("../../theming");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["theme","snapPoints","topSnapPosition","middleSnapPosition","bottomSnapPosition","initialSnapIndex","initialSnapPosition","showHandle","handleColor","topBorderRadius","borderWidth","borderColor","onSettle","style","children"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/BottomSheet/BottomSheet.tsx";var BottomSheet=function BottomSheet(_ref){var theme=_ref.theme,snapPointsProp=_ref.snapPoints,_ref$topSnapPosition=_ref.topSnapPosition,topSnapPosition=_ref$topSnapPosition===void 0?"10%":_ref$topSnapPosition,_ref$middleSnapPositi=_ref.middleSnapPosition,middleSnapPosition=_ref$middleSnapPositi===void 0?"50%":_ref$middleSnapPositi,_ref$bottomSnapPositi=_ref.bottomSnapPosition,bottomSnapPosition=_ref$bottomSnapPositi===void 0?"80%":_ref$bottomSnapPositi,initialSnapIndex=_ref.initialSnapIndex,_ref$initialSnapPosit=_ref.initialSnapPosition,initialSnapPosition=_ref$initialSnapPosit===void 0?"bottom":_ref$initialSnapPosit,_ref$showHandle=_ref.showHandle,showHandle=_ref$showHandle===void 0?true:_ref$showHandle,_ref$handleColor=_ref.handleColor,handleColor=_ref$handleColor===void 0?theme.colors.divider:_ref$handleColor,_ref$topBorderRadius=_ref.topBorderRadius,topBorderRadius=_ref$topBorderRadius===void 0?20:_ref$topBorderRadius,_ref$borderWidth=_ref.borderWidth,borderWidth=_ref$borderWidth===void 0?1:_ref$borderWidth,_ref$borderColor=_ref.borderColor,borderColor=_ref$borderColor===void 0?theme.colors.divider:_ref$borderColor,onSettle=_ref.onSettle,style=_ref.style,children=_ref.children,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var backgroundColor=(style==null?void 0:style.backgroundColor)||theme.colors.background;var snapPoints=snapPointsProp||[topSnapPosition,middleSnapPosition,bottomSnapPosition];var getSnapIndexFromPosition=function getSnapIndexFromPosition(position){switch(position){case"top":return 0;case"middle":return 1;case"bottom":return 2;}};return(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.parentContainer,pointerEvents:"box-none",children:(0,_jsxRuntime.jsx)(_BottomSheetComponent.default,Object.assign({componentType:"ScrollView",snapPoints:snapPoints,initialSnapIndex:initialSnapIndex!=null?initialSnapIndex:getSnapIndexFromPosition(initialSnapPosition),renderHandle:function renderHandle(){return(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:showHandle&&(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.handleContainer,{backgroundColor:backgroundColor,borderTopLeftRadius:topBorderRadius,borderTopRightRadius:topBorderRadius}],children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.handle,{backgroundColor:handleColor}]})})});},contentContainerStyle:[styles.contentContainerStyle,style],containerStyle:_reactNative.StyleSheet.flatten([styles.containerStyle,{backgroundColor:backgroundColor,borderTopLeftRadius:topBorderRadius,borderTopRightRadius:topBorderRadius,borderWidth:borderWidth,borderColor:borderColor}]),onSettle:onSettle},rest,{children:children}))});};var styles=_reactNative.StyleSheet.create({parentContainer:{position:"absolute",left:0,right:0,top:0,bottom:0,zIndex:10,overflow:"hidden"},contentContainerStyle:{paddingHorizontal:16,paddingVertical:10},containerStyle:{flex:1,overflow:"hidden"},handleContainer:{alignItems:"center",paddingVertical:20},handle:{width:40,height:2,borderRadius:4}});var _default=(0,_theming.withTheme)(BottomSheet);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.ScrollBottomSheet=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeGestureHandler=require("react-native-gesture-handler");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["renderHandle","initialSnapIndex","containerStyle"];var _imperativeScrollOpti,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/BottomSheet/BottomSheetComponent.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=(0,_getPrototypeOf2.default)(Derived),result;if(hasNativeReflectConstruct){var NewTarget=(0,_getPrototypeOf2.default)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return(0,_possibleConstructorReturn2.default)(this,result);};}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}var interpolateDeprecated=_reactNativeReanimated.default.interpolate,interpolateNode=_reactNativeReanimated.default.interpolateNode;var interpolate=interpolateNode!=null?interpolateNode:interpolateDeprecated;var Easing=_reactNativeReanimated.EasingNode!=null?_reactNativeReanimated.EasingNode:_reactNativeReanimated.Easing;var FlatListComponentType="FlatList";var ScrollViewComponentType="ScrollView";var SectionListComponentType="SectionList";var TimingAnimationType="timing";var SpringAnimationType="spring";var DEFAULT_SPRING_PARAMS={damping:50,mass:0.3,stiffness:121.6,overshootClamping:true,restSpeedThreshold:0.3,restDisplacementThreshold:0.3};var _Dimensions$get=_reactNative.Dimensions.get("window"),windowHeight=_Dimensions$get.height;var IOS_NORMAL_DECELERATION_RATE=0.998;var ANDROID_NORMAL_DECELERATION_RATE=0.985;var DEFAULT_ANIMATION_DURATION=250;var DEFAULT_EASING=Easing.inOut(Easing.linear);var imperativeScrollOptions=(_imperativeScrollOpti={},(0,_defineProperty2.default)(_imperativeScrollOpti,FlatListComponentType,{method:"scrollToIndex",args:{index:0,viewPosition:0,viewOffset:1000,animated:true}}),(0,_defineProperty2.default)(_imperativeScrollOpti,ScrollViewComponentType,{method:"scrollTo",args:{x:0,y:0,animated:true}}),(0,_defineProperty2.default)(_imperativeScrollOpti,SectionListComponentType,{method:"scrollToLocation",args:{itemIndex:0,sectionIndex:0,viewPosition:0,viewOffset:1000,animated:true}}),_imperativeScrollOpti);var ScrollBottomSheet=function(_Component){(0,_inherits2.default)(ScrollBottomSheet,_Component);var _super=_createSuper(ScrollBottomSheet);function ScrollBottomSheet(props){var _props$animationConfi;var _this;(0,_classCallCheck2.default)(this,ScrollBottomSheet);_this=_super.call(this,props);_this.masterDrawer=_react.default.createRef();_this.drawerHandleRef=_react.default.createRef();_this.drawerContentRef=_react.default.createRef();_this.scrollComponentRef=_react.default.createRef();_this.isManuallySetValue=new _reactNativeReanimated.Value(0);_this.manualYOffset=new _reactNativeReanimated.Value(0);_this.prevSnapIndex=-1;_this.dragY=new _reactNativeReanimated.Value(0);_this.prevDragY=new _reactNativeReanimated.Value(0);_this.tempDestSnapPoint=new _reactNativeReanimated.Value(0);_this.isAndroid=new _reactNativeReanimated.Value(Number(_reactNative.Platform.OS==="android"));_this.animationClock=new _reactNativeReanimated.Clock();_this.animationPosition=new _reactNativeReanimated.Value(0);_this.animationFinished=new _reactNativeReanimated.Value(0);_this.animationFrameTime=new _reactNativeReanimated.Value(0);_this.velocityY=new _reactNativeReanimated.Value(0);_this.lastStartScrollY=new _reactNativeReanimated.Value(0);_this.destSnapPoint=new _reactNativeReanimated.Value(0);_this.dragWithHandle=new _reactNativeReanimated.Value(0);_this.scrollUpAndPullDown=new _reactNativeReanimated.Value(0);_this.convertPercentageToDp=function(str){return Number(str.split("%")[0])*(windowHeight-_this.props.topInset)/100;};_this.getNormalisedSnapPoints=function(){return _this.props.snapPoints.map(function(p){if(typeof p==="string"){return _this.convertPercentageToDp(p);}else if(typeof p==="number"){return p;}throw new Error("Invalid type for value "+p+": "+typeof p+". It should be either a percentage string or a number");});};_this.getScrollComponent=function(){switch(_this.props.componentType){case"FlatList":return _reactNative.FlatList;case"ScrollView":return _reactNative.ScrollView;case"SectionList":return _reactNative.SectionList;default:throw new Error("Component type not supported: it should be one of `FlatList`, `ScrollView` or `SectionList`");}};_this.snapTo=function(index){var snapPoints=_this.getNormalisedSnapPoints();_this.isManuallySetValue.setValue(1);_this.manualYOffset.setValue(snapPoints[index]);_this.nextSnapIndex.setValue(index);};var initialSnapIndex=props.initialSnapIndex,animationType=props.animationType;var animationDriver=animationType==="timing"?0:1;var animationDuration=props.animationType==="timing"&&((_props$animationConfi=props.animationConfig)==null?void 0:_props$animationConfi.duration)||DEFAULT_ANIMATION_DURATION;var ScrollComponent=_this.getScrollComponent();_this.scrollComponent=_reactNativeReanimated.default.createAnimatedComponent(ScrollComponent);var _snapPoints=_this.getNormalisedSnapPoints();var openPosition=_snapPoints[0];var closedPosition=_this.props.enableOverScroll?windowHeight:_snapPoints[_snapPoints.length-1];var initialSnap=_snapPoints[initialSnapIndex];_this.nextSnapIndex=new _reactNativeReanimated.Value(initialSnapIndex);var initialDecelerationRate=_reactNative.Platform.select({android:props.initialSnapIndex===0?ANDROID_NORMAL_DECELERATION_RATE:0,ios:IOS_NORMAL_DECELERATION_RATE});_this.decelerationRate=new _reactNativeReanimated.Value(initialDecelerationRate);var handleGestureState=new _reactNativeReanimated.Value(-1);var handleOldGestureState=new _reactNativeReanimated.Value(-1);var drawerGestureState=new _reactNativeReanimated.Value(-1);var drawerOldGestureState=new _reactNativeReanimated.Value(-1);var lastSnapInRange=new _reactNativeReanimated.Value(1);_this.prevTranslateYOffset=new _reactNativeReanimated.Value(initialSnap);_this.translationY=new _reactNativeReanimated.Value(initialSnap);_this.lastSnap=new _reactNativeReanimated.Value(initialSnap);_this.onHandleGestureEvent=(0,_reactNativeReanimated.event)([{nativeEvent:{translationY:_this.dragY,oldState:handleOldGestureState,state:handleGestureState,velocityY:_this.velocityY}}]);_this.onDrawerGestureEvent=(0,_reactNativeReanimated.event)([{nativeEvent:{translationY:_this.dragY,oldState:drawerOldGestureState,state:drawerGestureState,velocityY:_this.velocityY}}]);_this.onScrollBeginDrag=(0,_reactNativeReanimated.event)([{nativeEvent:{contentOffset:{y:_this.lastStartScrollY}}}]);var didHandleGestureBegin=(0,_reactNativeReanimated.eq)(handleGestureState,_reactNativeGestureHandler.State.ACTIVE);var isAnimationInterrupted=(0,_reactNativeReanimated.and)((0,_reactNativeReanimated.or)((0,_reactNativeReanimated.eq)(handleGestureState,_reactNativeGestureHandler.State.BEGAN),(0,_reactNativeReanimated.eq)(drawerGestureState,_reactNativeGestureHandler.State.BEGAN),(0,_reactNativeReanimated.and)((0,_reactNativeReanimated.eq)(_this.isAndroid,0),(0,_reactNativeReanimated.eq)(animationDriver,1),(0,_reactNativeReanimated.or)((0,_reactNativeReanimated.eq)(drawerGestureState,_reactNativeGestureHandler.State.ACTIVE),(0,_reactNativeReanimated.eq)(handleGestureState,_reactNativeGestureHandler.State.ACTIVE)))),(0,_reactNativeReanimated.clockRunning)(_this.animationClock));_this.didGestureFinish=(0,_reactNativeReanimated.or)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.eq)(handleOldGestureState,_reactNativeGestureHandler.State.ACTIVE),(0,_reactNativeReanimated.eq)(handleGestureState,_reactNativeGestureHandler.State.END)),(0,_reactNativeReanimated.and)((0,_reactNativeReanimated.eq)(drawerOldGestureState,_reactNativeGestureHandler.State.ACTIVE),(0,_reactNativeReanimated.eq)(drawerGestureState,_reactNativeGestureHandler.State.END)));var isLastSnapPointInRange=function isLastSnapPointInRange(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;return i===_snapPoints.length?lastSnapInRange:(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(_this.lastSnap,_snapPoints[i]),[(0,_reactNativeReanimated.set)(lastSnapInRange,1)],isLastSnapPointInRange(i+1));};var scrollY=[(0,_reactNativeReanimated.set)(lastSnapInRange,0),isLastSnapPointInRange(),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.or)(didHandleGestureBegin,(0,_reactNativeReanimated.and)(_this.isManuallySetValue,(0,_reactNativeReanimated.not)((0,_reactNativeReanimated.eq)(_this.manualYOffset,_snapPoints[0])))),[(0,_reactNativeReanimated.set)(_this.dragWithHandle,1),0]),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.eq)(_this.dragWithHandle,1),(0,_reactNativeReanimated.greaterThan)(_snapPoints[0],(0,_reactNativeReanimated.add)(_this.lastSnap,_this.dragY)),(0,_reactNativeReanimated.and)((0,_reactNativeReanimated.not)((0,_reactNativeReanimated.eq)(_this.lastSnap,_snapPoints[0])),lastSnapInRange)),[(0,_reactNativeReanimated.set)(_this.lastSnap,_snapPoints[0]),(0,_reactNativeReanimated.set)(_this.dragWithHandle,0),_this.lastStartScrollY],(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(_this.dragWithHandle,1),0,_this.lastStartScrollY))];_this.didScrollUpAndPullDown=(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.greaterOrEq)(_this.dragY,_this.lastStartScrollY),(0,_reactNativeReanimated.greaterThan)(_this.lastStartScrollY,0)),(0,_reactNativeReanimated.set)(_this.scrollUpAndPullDown,1));_this.setTranslationY=(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.not)(_this.dragWithHandle),(0,_reactNativeReanimated.not)((0,_reactNativeReanimated.greaterOrEq)(_this.dragY,_this.lastStartScrollY))),(0,_reactNativeReanimated.set)(_this.translationY,(0,_reactNativeReanimated.sub)(_this.dragY,_this.lastStartScrollY)),(0,_reactNativeReanimated.set)(_this.translationY,_this.dragY));_this.extraOffset=(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(_this.scrollUpAndPullDown,1),_this.lastStartScrollY,0);var endOffsetY=(0,_reactNativeReanimated.add)(_this.lastSnap,_this.translationY,(0,_reactNativeReanimated.multiply)(1-props.friction,_this.velocityY));_this.calculateNextSnapPoint=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;return i===_snapPoints.length?_this.tempDestSnapPoint:(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.greaterThan)((0,_reactNativeReanimated.abs)((0,_reactNativeReanimated.sub)(_this.tempDestSnapPoint,endOffsetY)),(0,_reactNativeReanimated.abs)((0,_reactNativeReanimated.sub)((0,_reactNativeReanimated.add)(_snapPoints[i],_this.extraOffset),endOffsetY))),[(0,_reactNativeReanimated.set)(_this.tempDestSnapPoint,(0,_reactNativeReanimated.add)(_snapPoints[i],_this.extraOffset)),(0,_reactNativeReanimated.set)(_this.nextSnapIndex,i),_this.calculateNextSnapPoint(i+1)],_this.calculateNextSnapPoint(i+1));};var runAnimation=function runAnimation(_ref){var _props$animationConfi2;var clock=_ref.clock,from=_ref.from,to=_ref.to,position=_ref.position,finished=_ref.finished,velocity=_ref.velocity,frameTime=_ref.frameTime;var state={finished:finished,velocity:new _reactNativeReanimated.Value(0),position:position,time:new _reactNativeReanimated.Value(0),frameTime:frameTime};var timingConfig={duration:animationDuration,easing:props.animationType==="timing"&&((_props$animationConfi2=props.animationConfig)==null?void 0:_props$animationConfi2.easing)||DEFAULT_EASING,toValue:new _reactNativeReanimated.Value(0)};var springConfig=Object.assign({},DEFAULT_SPRING_PARAMS,props.animationType==="spring"&&props.animationConfig||{},{toValue:new _reactNativeReanimated.Value(0)});return[(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.not)((0,_reactNativeReanimated.clockRunning)(clock)),(0,_reactNativeReanimated.not)((0,_reactNativeReanimated.eq)(finished,1))),[(0,_reactNativeReanimated.set)(state.finished,0),(0,_reactNativeReanimated.set)(state.velocity,velocity),(0,_reactNativeReanimated.set)(state.time,0),(0,_reactNativeReanimated.set)(state.position,from),(0,_reactNativeReanimated.set)(state.frameTime,0),(0,_reactNativeReanimated.set)(timingConfig.toValue,to),(0,_reactNativeReanimated.set)(springConfig.toValue,to),(0,_reactNativeReanimated.startClock)(clock)]),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(animationDriver,0),(0,_reactNativeReanimated.timing)(clock,state,timingConfig),(0,_reactNativeReanimated.spring)(clock,state,springConfig)),(0,_reactNativeReanimated.cond)(state.finished,[(0,_reactNativeReanimated.call)([_this.nextSnapIndex],function(_ref2){var _ref3=(0,_slicedToArray2.default)(_ref2,1),value=_ref3[0];if(value!==_this.prevSnapIndex){_this.props.onSettle==null?void 0:_this.props.onSettle(value);}_this.prevSnapIndex=value;}),(0,_reactNativeReanimated.set)(drawerOldGestureState,_reactNativeGestureHandler.State.END),(0,_reactNativeReanimated.set)(handleOldGestureState,_reactNativeGestureHandler.State.END),(0,_reactNativeReanimated.set)(_this.prevTranslateYOffset,state.position),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(_this.scrollUpAndPullDown,1),[(0,_reactNativeReanimated.set)(_this.prevTranslateYOffset,(0,_reactNativeReanimated.sub)(_this.prevTranslateYOffset,_this.lastStartScrollY)),(0,_reactNativeReanimated.set)(_this.lastStartScrollY,0),(0,_reactNativeReanimated.set)(_this.scrollUpAndPullDown,0)]),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(_this.destSnapPoint,_snapPoints[0]),[(0,_reactNativeReanimated.set)(_this.dragWithHandle,0)]),(0,_reactNativeReanimated.set)(_this.isManuallySetValue,0),(0,_reactNativeReanimated.set)(_this.manualYOffset,0),(0,_reactNativeReanimated.stopClock)(clock),_this.prevTranslateYOffset],state.position)];};var translateYOffset=(0,_reactNativeReanimated.cond)(isAnimationInterrupted,[(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.or)(_this.dragWithHandle,(0,_reactNativeReanimated.greaterOrEq)((0,_reactNativeReanimated.abs)(_this.prevDragY),_this.lastStartScrollY)),(0,_reactNativeReanimated.set)(_this.prevTranslateYOffset,_this.animationPosition)),(0,_reactNativeReanimated.set)(_this.animationFinished,1),(0,_reactNativeReanimated.set)(_this.translationY,0),(0,_reactNativeReanimated.set)(drawerOldGestureState,_reactNativeGestureHandler.State.END),(0,_reactNativeReanimated.set)(handleOldGestureState,_reactNativeGestureHandler.State.END),(0,_reactNativeReanimated.set)(_this.animationFrameTime,(0,_reactNativeReanimated.add)(animationDuration,1000)),(0,_reactNativeReanimated.set)(_this.velocityY,0),(0,_reactNativeReanimated.stopClock)(_this.animationClock),_this.prevTranslateYOffset],(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.or)(_this.didGestureFinish,_this.isManuallySetValue,(0,_reactNativeReanimated.clockRunning)(_this.animationClock)),[runAnimation({clock:_this.animationClock,from:(0,_reactNativeReanimated.cond)(_this.isManuallySetValue,_this.prevTranslateYOffset,(0,_reactNativeReanimated.add)(_this.prevTranslateYOffset,_this.translationY)),to:_this.destSnapPoint,position:_this.animationPosition,finished:_this.animationFinished,frameTime:_this.animationFrameTime,velocity:_this.velocityY})],[(0,_reactNativeReanimated.set)(_this.animationFrameTime,0),(0,_reactNativeReanimated.set)(_this.animationFinished,0),_this.prevTranslateYOffset]));_this.translateY=interpolate((0,_reactNativeReanimated.add)(translateYOffset,_this.dragY,(0,_reactNativeReanimated.multiply)(scrollY,-1)),{inputRange:[openPosition,closedPosition],outputRange:[openPosition,closedPosition],extrapolate:_reactNativeReanimated.Extrapolate.CLAMP});_this.position=interpolate(_this.translateY,{inputRange:[openPosition,_snapPoints[_snapPoints.length-1]],outputRange:[1,0],extrapolate:_reactNativeReanimated.Extrapolate.CLAMP});return _this;}(0,_createClass2.default)(ScrollBottomSheet,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,renderHandle=_this$props.renderHandle,initialSnapIndex=_this$props.initialSnapIndex,containerStyle=_this$props.containerStyle,rest=(0,_objectWithoutProperties2.default)(_this$props,_excluded);var AnimatedScrollableComponent=this.scrollComponent;var normalisedSnapPoints=this.getNormalisedSnapPoints();var initialSnap=normalisedSnapPoints[initialSnapIndex];var Content=(0,_jsxRuntime.jsxs)(_reactNativeReanimated.default.View,{style:[_reactNative.StyleSheet.absoluteFillObject,containerStyle,{transform:[{translateY:this.translateY}]}],children:[(0,_jsxRuntime.jsx)(_reactNativeGestureHandler.PanGestureHandler,{ref:this.drawerHandleRef,shouldCancelWhenOutside:false,simultaneousHandlers:this.masterDrawer,onGestureEvent:this.onHandleGestureEvent,onHandlerStateChange:this.onHandleGestureEvent,children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{children:renderHandle()})}),(0,_jsxRuntime.jsx)(_reactNativeGestureHandler.PanGestureHandler,{ref:this.drawerContentRef,simultaneousHandlers:[this.scrollComponentRef,this.masterDrawer],shouldCancelWhenOutside:false,onGestureEvent:this.onDrawerGestureEvent,onHandlerStateChange:this.onDrawerGestureEvent,children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{style:styles.container,children:(0,_jsxRuntime.jsx)(_reactNativeGestureHandler.NativeViewGestureHandler,{ref:this.scrollComponentRef,waitFor:this.masterDrawer,simultaneousHandlers:this.drawerContentRef,children:(0,_jsxRuntime.jsx)(AnimatedScrollableComponent,Object.assign({overScrollMode:"never",bounces:false},rest,{ref:this.props.innerRef,decelerationRate:this.decelerationRate,onScrollBeginDrag:this.onScrollBeginDrag,scrollEventThrottle:1,contentContainerStyle:[rest.contentContainerStyle,{paddingBottom:this.getNormalisedSnapPoints()[0]}]}))})})}),this.props.animatedPosition&&(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.Code,{exec:(0,_reactNativeReanimated.onChange)(this.position,(0,_reactNativeReanimated.set)(this.props.animatedPosition,this.position))}),(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.Code,{exec:(0,_reactNativeReanimated.onChange)(this.dragY,(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.not)((0,_reactNativeReanimated.eq)(this.dragY,0)),(0,_reactNativeReanimated.set)(this.prevDragY,this.dragY)))}),(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.Code,{exec:(0,_reactNativeReanimated.onChange)(this.didGestureFinish,(0,_reactNativeReanimated.cond)(this.didGestureFinish,[this.didScrollUpAndPullDown,this.setTranslationY,(0,_reactNativeReanimated.set)(this.tempDestSnapPoint,(0,_reactNativeReanimated.add)(normalisedSnapPoints[0],this.extraOffset)),(0,_reactNativeReanimated.set)(this.nextSnapIndex,0),(0,_reactNativeReanimated.set)(this.destSnapPoint,this.calculateNextSnapPoint()),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.and)((0,_reactNativeReanimated.greaterThan)(this.dragY,this.lastStartScrollY),this.isAndroid,(0,_reactNativeReanimated.not)(this.dragWithHandle)),(0,_reactNativeReanimated.call)([],function(){var _this2$props,_this2$props$data;var _imperativeScrollOpti2=imperativeScrollOptions[_this2.props.componentType],method=_imperativeScrollOpti2.method,args=_imperativeScrollOpti2.args;var node=_this2.props.innerRef.current;if(node&&node[method]&&(_this2.props.componentType==="FlatList"&&(((_this2$props=_this2.props)==null?void 0:(_this2$props$data=_this2$props.data)==null?void 0:_this2$props$data.length)||0)>0||_this2.props.componentType==="SectionList"&&_this2.props.sections.length>0||_this2.props.componentType==="ScrollView")){node[method](args);}})),(0,_reactNativeReanimated.set)(this.dragY,0),(0,_reactNativeReanimated.set)(this.velocityY,0),(0,_reactNativeReanimated.set)(this.lastSnap,(0,_reactNativeReanimated.sub)(this.destSnapPoint,(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(this.scrollUpAndPullDown,1),this.lastStartScrollY,0))),(0,_reactNativeReanimated.call)([this.lastSnap],function(_ref4){var _this2$masterDrawer,_this2$masterDrawer$c;var _ref5=(0,_slicedToArray2.default)(_ref4,1),value=_ref5[0];(_this2$masterDrawer=_this2.masterDrawer)==null?void 0:(_this2$masterDrawer$c=_this2$masterDrawer.current)==null?void 0:_this2$masterDrawer$c.setNativeProps({maxDeltaY:value-_this2.getNormalisedSnapPoints()[0]});}),(0,_reactNativeReanimated.set)(this.decelerationRate,(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(this.isAndroid,1),(0,_reactNativeReanimated.cond)((0,_reactNativeReanimated.eq)(this.lastSnap,normalisedSnapPoints[0]),ANDROID_NORMAL_DECELERATION_RATE,0),IOS_NORMAL_DECELERATION_RATE))]))}),(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.Code,{exec:(0,_reactNativeReanimated.onChange)(this.isManuallySetValue,[(0,_reactNativeReanimated.cond)(this.isManuallySetValue,[(0,_reactNativeReanimated.set)(this.destSnapPoint,this.manualYOffset),(0,_reactNativeReanimated.set)(this.animationFinished,0),(0,_reactNativeReanimated.set)(this.lastSnap,this.manualYOffset),(0,_reactNativeReanimated.call)([this.lastSnap],function(_ref6){var _this2$masterDrawer2,_this2$masterDrawer2$;var _ref7=(0,_slicedToArray2.default)(_ref6,1),value=_ref7[0];(_this2$masterDrawer2=_this2.masterDrawer)==null?void 0:(_this2$masterDrawer2$=_this2$masterDrawer2.current)==null?void 0:_this2$masterDrawer2$.setNativeProps({maxDeltaY:value-_this2.getNormalisedSnapPoints()[0]});})],[(0,_reactNativeReanimated.set)(this.nextSnapIndex,0)])])})]});if(_reactNative.Platform.OS==="android"){return(0,_jsxRuntime.jsx)(_reactNativeGestureHandler.TapGestureHandler,{maxDurationMs:100000,ref:this.masterDrawer,maxDeltaY:initialSnap-this.getNormalisedSnapPoints()[0],shouldCancelWhenOutside:false,children:Content});}return(0,_jsxRuntime.jsx)(_reactNativeGestureHandler.TapGestureHandler,{maxDurationMs:100000,ref:this.masterDrawer,maxDeltaY:initialSnap-this.getNormalisedSnapPoints()[0],children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:_reactNative.StyleSheet.absoluteFillObject,pointerEvents:"box-none",children:Content})});}}]);return ScrollBottomSheet;}(_react.Component);exports.ScrollBottomSheet=ScrollBottomSheet;ScrollBottomSheet.defaultProps={topInset:0,friction:0.95,animationType:"timing",innerRef:_react.default.createRef(),enableOverScroll:false};var _default=ScrollBottomSheet;exports.default=_default;var styles=_reactNative.StyleSheet.create({container:{flex:1}});
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"BottomSheet",{enumerable:true,get:function get(){return _BottomSheet.default;}});var _BottomSheet=_interopRequireDefault(require("./BottomSheet"));
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ButtonSolid=exports.ButtonOutline=exports.Button=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _theming=require("../theming");var _jsxRuntime=require("react/jsx-runtime");var _jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Button.tsx",_this=this;var _excluded=["Icon","icon","title","loading","disabled","style","activeOpacity","disabledOpacity"],_excluded2=["color","fontFamily","fontWeight","fontSize","lineHeight","letterSpacing","textTransform","textAlign","textDecorationLine","textDecorationColor","textDecorationStyle"],_excluded3=["style","theme"],_excluded4=["style","theme"];function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var CONSTANTS={baseHeight:42,borderRadius:4,padding:8,icon:24};function Base(_ref){var Icon=_ref.Icon,icon=_ref.icon,title=_ref.title,loading=_ref.loading,disabled=_ref.disabled,style=_ref.style,_ref$activeOpacity=_ref.activeOpacity,activeOpacity=_ref$activeOpacity===void 0?0.8:_ref$activeOpacity,_ref$disabledOpacity=_ref.disabledOpacity,disabledOpacity=_ref$disabledOpacity===void 0?0.8:_ref$disabledOpacity,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _StyleSheet$flatten=_reactNative.StyleSheet.flatten(style||{}),color=_StyleSheet$flatten.color,fontFamily=_StyleSheet$flatten.fontFamily,fontWeight=_StyleSheet$flatten.fontWeight,fontSize=_StyleSheet$flatten.fontSize,lineHeight=_StyleSheet$flatten.lineHeight,letterSpacing=_StyleSheet$flatten.letterSpacing,textTransform=_StyleSheet$flatten.textTransform,textAlign=_StyleSheet$flatten.textAlign,textDecorationLine=_StyleSheet$flatten.textDecorationLine,textDecorationColor=_StyleSheet$flatten.textDecorationColor,textDecorationStyle=_StyleSheet$flatten.textDecorationStyle,buttonStyles=(0,_objectWithoutProperties2.default)(_StyleSheet$flatten,_excluded2);var titleStyles={color:color,fontFamily:fontFamily,fontWeight:fontWeight,fontSize:fontSize,lineHeight:lineHeight,letterSpacing:letterSpacing,textTransform:textTransform,textAlign:textAlign,textDecorationLine:textDecorationLine,textDecorationColor:textDecorationColor,textDecorationStyle:textDecorationStyle};if(textAlign==="left"){buttonStyles.justifyContent="flex-start";}if(textAlign==="right"){buttonStyles.justifyContent="flex-end";}return(0,_jsxRuntime.jsxs)(_reactNative.Pressable,Object.assign({disabled:disabled||loading,style:function style(_ref2){var pressed=_ref2.pressed;return[styles.base,{opacity:pressed?activeOpacity:disabled?disabledOpacity:1},buttonStyles];}},props,{children:[loading?(0,_jsxRuntime.jsx)(_reactNative.ActivityIndicator,{size:"small",color:color,style:styles.loading}):null,icon&&!loading?(0,_jsxRuntime.jsx)(Icon,{name:icon,color:color,style:styles.icon,size:CONSTANTS.icon}):null,(0,_jsxRuntime.jsx)(_reactNative.Text,{style:titleStyles,children:title})]}));}var Solid=function Solid(_ref3){var style=_ref3.style,theme=_ref3.theme,props=(0,_objectWithoutProperties2.default)(_ref3,_excluded3);return(0,_jsxRuntime.jsx)(Base,Object.assign({style:[{color:"#FFF",borderRadius:theme.roundness,backgroundColor:theme.colors.primary},style]},props));};var ButtonSolid=(0,_theming.withTheme)(Solid);exports.ButtonSolid=ButtonSolid;var Button=(0,_theming.withTheme)(Solid);exports.Button=Button;var Outline=function Outline(_ref4){var style=_ref4.style,theme=_ref4.theme,props=(0,_objectWithoutProperties2.default)(_ref4,_excluded4);return(0,_jsxRuntime.jsx)(Base,Object.assign({style:[styles.outline,{borderRadius:theme.roundness,borderColor:theme.colors.primary,color:theme.colors.primary},style]},props));};var ButtonOutline=(0,_theming.withTheme)(Outline);exports.ButtonOutline=ButtonOutline;var styles=_reactNative.StyleSheet.create({base:Object.assign({position:"relative",flexDirection:"row",alignItems:"center",justifyContent:"center",minHeight:CONSTANTS.baseHeight,paddingHorizontal:12,fontFamily:"System",fontWeight:"700"},_reactNative.Platform.select({web:{cursor:"pointer",userSelect:"none"}})),outline:{backgroundColor:"transparent",borderWidth:1},bare:{backgroundColor:"transparent",padding:0,minHeight:undefined},loading:{marginRight:6},icon:Object.assign({},_reactNative.Platform.select({web:{marginTop:1,marginRight:4,alignSelf:"center"},default:{marginBottom:2,marginRight:4,alignSelf:"center"}}))});
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _theming=require("../../theming");var _hooks=require("../../hooks");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["Icon","status","disabled","onPress","onCheck","onUncheck","color","uncheckedColor","defaultValue","checkedIcon","uncheckedIcon","size","style"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Checkbox/Checkbox.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var Checkbox=function Checkbox(_ref){var Icon=_ref.Icon,status=_ref.status,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?false:_ref$disabled,onPress=_ref.onPress,onCheck=_ref.onCheck,onUncheck=_ref.onUncheck,color=_ref.color,uncheckedColor=_ref.uncheckedColor,defaultValue=_ref.defaultValue,_ref$checkedIcon=_ref.checkedIcon,checkedIcon=_ref$checkedIcon===void 0?"MaterialCommunityIcons/checkbox-marked":_ref$checkedIcon,_ref$uncheckedIcon=_ref.uncheckedIcon,uncheckedIcon=_ref$uncheckedIcon===void 0?"MaterialCommunityIcons/checkbox-blank-outline":_ref$uncheckedIcon,_ref$size=_ref.size,size=_ref$size===void 0?24:_ref$size,style=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _React$useState=React.useState(status||defaultValue||false),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),internalValue=_React$useState2[0],setInternalValue=_React$useState2[1];React.useEffect(function(){if(status!=null){setInternalValue(status);}},[status]);var previousDefaultValue=(0,_hooks.usePrevious)(defaultValue);React.useEffect(function(){if(defaultValue!==previousDefaultValue){setInternalValue(Boolean(defaultValue));}},[defaultValue,previousDefaultValue]);var _useTheme=(0,_theming.useTheme)(),colors=_useTheme.colors;var checkboxColor=internalValue?color||colors.primary:uncheckedColor||colors.primary;var handlePress=function handlePress(){var newValue=!internalValue;setInternalValue(newValue);onPress==null?void 0:onPress(newValue);if(newValue){onCheck==null?void 0:onCheck();}if(!newValue){onUncheck==null?void 0:onUncheck();}};return(0,_jsxRuntime.jsxs)(_reactNative.Pressable,Object.assign({},rest,{onPress:handlePress,disabled:disabled,accessibilityState:{disabled:disabled},accessibilityRole:"button",accessibilityLiveRegion:"polite",style:[styles.container,style,{width:size,height:size}],children:[(0,_jsxRuntime.jsx)(Icon,{style:styles.icon,name:internalValue?checkedIcon:uncheckedIcon,size:size,color:checkboxColor}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:[_reactNative.StyleSheet.absoluteFill,styles.fillContainer],children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.fill,{opacity:disabled?0.5:1},{borderColor:checkboxColor}]})})]}));};var styles=_reactNative.StyleSheet.create({container:{borderRadius:18},fillContainer:{alignItems:"center",justifyContent:"center"},icon:{alignSelf:"center"},fill:{borderRadius:5,width:30,height:30,alignSelf:"center"}});var _default=Checkbox;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.Direction=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _Checkbox=_interopRequireDefault(require("./Checkbox"));var _Text=_interopRequireDefault(require("../Text"));var _context=require("./context");var _utilities=require("../../utilities");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["Icon","label","status","value","onPress","labelContainerStyle","labelStyle","checkboxStyle","direction","disabled","style","color","uncheckedColor"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Checkbox/CheckboxGroupRow.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var Direction=function(Direction){Direction["Row"]="row";Direction["RowReverse"]="row-reverse";return Direction;}({});exports.Direction=Direction;var getCheckboxAlignment=function getCheckboxAlignment(parentDirection,direction){if(parentDirection===_context.Direction.Horizontal){return direction===Direction.Row?"flex-start":"flex-end";}else if(direction===Direction.RowReverse){return"flex-start";}else{return"flex-end";}};var renderLabel=function renderLabel(value,labelStyle,textStyle){if(typeof value==="string"){return(0,_jsxRuntime.jsx)(_Text.default,{style:[labelStyle,textStyle],children:value});}else{return(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:value});}};var CheckboxGroupRow=function CheckboxGroupRow(_ref){var Icon=_ref.Icon,_ref$label=_ref.label,label=_ref$label===void 0?"Label":_ref$label,status=_ref.status,value=_ref.value,onPress=_ref.onPress,labelContainerStyle=_ref.labelContainerStyle,labelStyle=_ref.labelStyle,checkboxStyle=_ref.checkboxStyle,_ref$direction=_ref.direction,direction=_ref$direction===void 0?Direction.Row:_ref$direction,disabled=_ref.disabled,style=_ref.style,color=_ref.color,uncheckedColor=_ref.uncheckedColor,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useCheckboxGroupCont=(0,_context.useCheckboxGroupContext)(),selectedValues=_useCheckboxGroupCont.values,onValueChange=_useCheckboxGroupCont.onValueChange,parentDirection=_useCheckboxGroupCont.direction;var values=Array.isArray(selectedValues)?selectedValues:[];var isChecked=status||values.includes(value);var handlePress=function handlePress(){if(!disabled){onPress==null?void 0:onPress(!isChecked);onValueChange==null?void 0:onValueChange(value,!isChecked);}};var _extractStyles=(0,_utilities.extractStyles)(style),textStyles=_extractStyles.textStyles,viewStyles=_extractStyles.viewStyles;return(0,_jsxRuntime.jsxs)(_reactNative.Pressable,Object.assign({onPress:handlePress,style:[styles.mainParent,{flexDirection:direction},viewStyles],disabled:disabled},rest,{children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.label,{alignItems:direction===Direction.Row?"flex-start":"flex-end"},labelContainerStyle],children:renderLabel(label,labelStyle,textStyles)}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{flex:1,alignItems:getCheckboxAlignment(parentDirection,direction)},children:(0,_jsxRuntime.jsx)(_Checkbox.default,{Icon:Icon,status:isChecked,onPress:handlePress,style:checkboxStyle,disabled:disabled,color:color,uncheckedColor:uncheckedColor})})]}));};var styles=_reactNative.StyleSheet.create({mainParent:Object.assign({alignItems:"center",justifyContent:"space-around",paddingStart:20,minHeight:50,paddingEnd:20,display:"flex"},_reactNative.Platform.select({web:{cursor:"pointer",userSelect:"none"}})),label:{flex:3}});var _default=CheckboxGroupRow;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.Direction=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _lodash=require("lodash");var _utilities=require("../../utilities");var _hooks=require("../../hooks");var _Text=_interopRequireDefault(require("../Text"));var _Checkbox=_interopRequireDefault(require("./Checkbox"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["label","labelStyle","labelContainerStyle","checkboxStyle","direction","Icon","status","disabled","onPress","onCheck","onUncheck","color","uncheckedColor","defaultValue","checkedIcon","uncheckedIcon","size","style"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Checkbox/CheckboxRow.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var Direction=function(Direction){Direction["Row"]="row";Direction["RowReverse"]="row-reverse";return Direction;}({});exports.Direction=Direction;var renderLabel=function renderLabel(value,labelStyle,textStyle){if((0,_lodash.isString)(value)){return(0,_jsxRuntime.jsx)(_Text.default,{style:[textStyle,labelStyle],children:value});}else{return(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:value});}};var CheckboxRow=function CheckboxRow(_ref){var _ref$label=_ref.label,label=_ref$label===void 0?"Label":_ref$label,labelStyle=_ref.labelStyle,labelContainerStyle=_ref.labelContainerStyle,checkboxStyle=_ref.checkboxStyle,_ref$direction=_ref.direction,direction=_ref$direction===void 0?Direction.Row:_ref$direction,Icon=_ref.Icon,status=_ref.status,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?false:_ref$disabled,onPress=_ref.onPress,onCheck=_ref.onCheck,onUncheck=_ref.onUncheck,color=_ref.color,uncheckedColor=_ref.uncheckedColor,defaultValue=_ref.defaultValue,checkedIcon=_ref.checkedIcon,uncheckedIcon=_ref.uncheckedIcon,size=_ref.size,style=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _React$useState=React.useState(status||defaultValue||false),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),internalValue=_React$useState2[0],setInternalValue=_React$useState2[1];React.useEffect(function(){if(status!=null){setInternalValue(status);}},[status]);var previousDefaultValue=(0,_hooks.usePrevious)(defaultValue);React.useEffect(function(){if(defaultValue!==previousDefaultValue){setInternalValue(Boolean(defaultValue));}},[defaultValue,previousDefaultValue]);var handlePress=function handlePress(){var newValue=!internalValue;setInternalValue(newValue);onPress==null?void 0:onPress(newValue);if(newValue){onCheck==null?void 0:onCheck();}if(!newValue){onUncheck==null?void 0:onUncheck();}};var _extractStyles=(0,_utilities.extractStyles)(style),textStyles=_extractStyles.textStyles,viewStyles=_extractStyles.viewStyles;return(0,_jsxRuntime.jsxs)(_reactNative.Pressable,Object.assign({onPress:handlePress,style:[viewStyles,styles.mainParent,{flexDirection:direction}],disabled:disabled},rest,{children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.label,{alignItems:direction===Direction.Row?"flex-start":"flex-end"},labelContainerStyle],children:renderLabel(label,textStyles,labelStyle)}),(0,_jsxRuntime.jsx)(_Checkbox.default,{Icon:Icon,status:internalValue,style:checkboxStyle,disabled:disabled,onPress:handlePress,color:color,uncheckedColor:uncheckedColor,checkedIcon:checkedIcon,uncheckedIcon:uncheckedIcon,size:size})]}));};var styles=_reactNative.StyleSheet.create({mainParent:Object.assign({alignItems:"center",justifyContent:"space-around",paddingStart:20,minHeight:50,paddingEnd:20,display:"flex"},_reactNative.Platform.select({web:{cursor:"pointer",userSelect:"none"}})),label:{flex:3}});var _default=CheckboxRow;exports.default=_default;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.checkboxGroupContext=exports.Direction=void 0;exports.useCheckboxGroupContext=useCheckboxGroupContext;var _react=require("react");var Direction=function(Direction){Direction["Horizontal"]="horizontal";Direction["Vertical"]="vertical";return Direction;}({});exports.Direction=Direction;var checkboxGroupContext=(0,_react.createContext)({onValueChange:function onValueChange(){},values:[],direction:undefined});exports.checkboxGroupContext=checkboxGroupContext;function useCheckboxGroupContext(){return(0,_react.useContext)(checkboxGroupContext);}
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function get(){return _Checkbox.default;}});Object.defineProperty(exports,"CheckboxRow",{enumerable:true,get:function get(){return _CheckboxRow.default;}});var _Checkbox=_interopRequireDefault(require("./Checkbox"));var _CheckboxRow=_interopRequireDefault(require("./CheckboxRow"));
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _reactNative=require("react-native");var getWindowDimensions=function getWindowDimensions(){var _Dimensions$get=_reactNative.Dimensions.get("window"),width=_Dimensions$get.width,height=_Dimensions$get.height;return{windowWidth:width,windowHeight:height};};var _getWindowDimensions=getWindowDimensions(),windowWidth=_getWindowDimensions.windowWidth,windowHeight=_getWindowDimensions.windowHeight;var getFilters=function getFilters(options){var width=options.width,height=options.height;var filters=["c_scale","q_auto","dpr_auto"];if(width)filters.push("w_"+width);if(height)filters.push("h_"+height);return filters.join(",");};var buildImageUrl=function buildImageUrl(options,name){var filters=getFilters(options);return["https://res.cloudinary.com/altos/image/upload",filters,name+".png"].join("/");};var getExtension=function getExtension(){return _reactNative.Platform.OS==="web"?".svg":".png";};var _default={windowWidth:windowWidth,windowHeight:windowHeight,avatarImageUrl:buildImageUrl({width:60,height:60},"Avatar"),avatarImageSize:60,cardImageSize:200,cardImageUrl:"https://static.draftbit.com/images/placeholder-image"+getExtension(),cardIconSize:16,cardIconBackgroundOpacity:0.24,cardIconElevation:1,placeholderImageURL:"https://static.draftbit.com/images/placeholder-image"+getExtension(),getPlaceholderImageUrl:function getPlaceholderImageUrl(size){return buildImageUrl({width:size.width,height:size.height},"image-placeholder_1");},placeholderSvgURL:"https://static.draftbit.com/images/placeholder-image.svg",squareImageUrl:buildImageUrl({width:100,height:100},"Avatar"),FABSize:40,FABBorderRadius:20,FABFixedHeight:64,cardContainerShortImageAspectRatio:1,rowSingleLineImageSize:24,rowMultiLineImageSize:48,rowSingleLineIconSize:24,rowMultiLineIconSize:16,headerIconSize:24,buttonIconSize:24,swiperInactiveDotSize:6,swiperActiveDotSize:10,fieldSearchBarFullIconSize:24,stepperButtonSize:40,radioButtonSize:24,topSafeAreaViewHeight:0};exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _dateformat=_interopRequireDefault(require("dateformat"));var _theming=require("../../theming");var _Portal=_interopRequireDefault(require("../Portal/Portal"));var _Touchable=_interopRequireDefault(require("../Touchable"));var _DatePickerComponent=_interopRequireDefault(require("./DatePickerComponent"));var _utilities=require("../../utilities");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["Icon","style","theme","date","onDateChange","defaultValue","disabled","mode","format","type","leftIconName","rightIconName","leftIconMode","label","labelSize","labelColor","placeholder","borderColor","borderColorActive","autoDismissKeyboard","minimumDate","maximumDate"],_excluded2=["lineHeight"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DatePicker/DatePicker.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var AnimatedText=_reactNative.Animated.createAnimatedComponent(_reactNative.Text);var FOCUS_ANIMATION_DURATION=150;var BLUR_ANIMATION_DURATION=180;var ICON_SIZE=24;var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];var DatePicker=function DatePicker(_ref){var Icon=_ref.Icon,style=_ref.style,_ref$theme=_ref.theme,colors=_ref$theme.colors,typography=_ref$theme.typography,roundness=_ref$theme.roundness,disabledOpacity=_ref$theme.disabledOpacity,date=_ref.date,_ref$onDateChange=_ref.onDateChange,onDateChange=_ref$onDateChange===void 0?function(){}:_ref$onDateChange,defaultValue=_ref.defaultValue,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?false:_ref$disabled,_ref$mode=_ref.mode,mode=_ref$mode===void 0?"date":_ref$mode,format=_ref.format,_ref$type=_ref.type,type=_ref$type===void 0?"underline":_ref$type,leftIconName=_ref.leftIconName,rightIconName=_ref.rightIconName,_ref$leftIconMode=_ref.leftIconMode,leftIconMode=_ref$leftIconMode===void 0?"inset":_ref$leftIconMode,label=_ref.label,labelSize=_ref.labelSize,labelColor=_ref.labelColor,placeholder=_ref.placeholder,inputBorderColor=_ref.borderColor,inputBorderColorActive=_ref.borderColorActive,_ref$autoDismissKeybo=_ref.autoDismissKeyboard,autoDismissKeyboard=_ref$autoDismissKeybo===void 0?true:_ref$autoDismissKeybo,minimumDate=_ref.minimumDate,maximumDate=_ref.maximumDate,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _React$useState=React.useState(date||defaultValue),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];React.useEffect(function(){if(defaultValue!=null){setValue(defaultValue);}},[defaultValue]);var _React$useState3=React.useState(false),_React$useState4=(0,_slicedToArray2.default)(_React$useState3,2),pickerVisible=_React$useState4[0],setPickerVisible=_React$useState4[1];var _React$useState5=React.useState(new _reactNative.Animated.Value(date?0:1)),_React$useState6=(0,_slicedToArray2.default)(_React$useState5,1),labeled=_React$useState6[0];var _React$useState7=React.useState(""),_React$useState8=(0,_slicedToArray2.default)(_React$useState7,2),placeholder1=_React$useState8[0],setPlaceholder1=_React$useState8[1];var _React$useState9=React.useState(false),_React$useState10=(0,_slicedToArray2.default)(_React$useState9,2),focused=_React$useState10[0],setFocused=_React$useState10[1];var _React$useState11=React.useState({measured:false,width:0}),_React$useState12=(0,_slicedToArray2.default)(_React$useState11,2),labelLayout=_React$useState12[0],setLabelLayout=_React$useState12[1];var _extractStyles=(0,_utilities.extractStyles)(style),viewStyles=_extractStyles.viewStyles,textStyles=_extractStyles.textStyles;var getValidDate=function getValidDate(){if(!value){return new Date();}return typeof(value==null?void 0:value.getMonth)==="function"?value:new Date();};var formatDate=function formatDate(){if(!value)return"";var newDate=getValidDate();if(format)return(0,_dateformat.default)(newDate,format);if(mode==="time"){return""+newDate.toLocaleTimeString();}if(mode==="datetime"){return""+newDate.toLocaleString();}return MONTHS[newDate.getMonth()]+" "+newDate.getDate()+", "+newDate.getFullYear();};var toggleVisibility=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){setPickerVisible(!pickerVisible);focused?_handleBlur():_handleFocus();});return function toggleVisibility(){return _ref2.apply(this,arguments);};}();var insets=(0,_reactNativeSafeAreaContext.useSafeAreaInsets)();var _hidePlaceholder=function _hidePlaceholder(){setPlaceholder1("");};React.useEffect(function(){setValue(date);},[date]);React.useEffect(function(){if(value||focused||placeholder1){_reactNative.Animated.timing(labeled,{toValue:0,duration:BLUR_ANIMATION_DURATION,useNativeDriver:true}).start();}else{_reactNative.Animated.timing(labeled,{toValue:1,duration:FOCUS_ANIMATION_DURATION,useNativeDriver:true}).start();}},[value,focused,placeholder1,labeled]);React.useEffect(function(){var _showPlaceholder=function _showPlaceholder(){return setTimeout(function(){return setPlaceholder1(placeholder||"");},50);};if(focused||!label){_showPlaceholder();}else{_hidePlaceholder();}return function(){clearTimeout(_showPlaceholder());};},[focused,label,placeholder]);React.useEffect(function(){if(pickerVisible&&autoDismissKeyboard){_reactNative.Keyboard.dismiss();}},[pickerVisible,autoDismissKeyboard]);var _handleFocus=function _handleFocus(){if(disabled){return;}setFocused(true);};var _handleBlur=function _handleBlur(){if(disabled){return;}setFocused(false);};var MINIMIZED_LABEL_Y_OFFSET=-(typography.caption.lineHeight+4);var OUTLINE_MINIMIZED_LABEL_Y_OFFSET=-(16*0.5+4);var MAXIMIZED_LABEL_FONT_SIZE=textStyles.fontSize||typography.subtitle1.fontSize;var MINIMIZED_LABEL_FONT_SIZE=labelSize?labelSize:typography.caption.fontSize;var hasActiveOutline=focused;var inputTextColor,activeColor,underlineColor,borderColor=inputBorderColor,placeholderColor,containerStyle,backgroundColor,inputStyle;inputTextColor=colors.strong;if(disabled){activeColor=colors.light;placeholderColor=colors.light;borderColor="transparent";underlineColor="transparent";backgroundColor=colors.divider;}else{activeColor=inputBorderColorActive||colors.primary;placeholderColor=inputBorderColor||colors.light;underlineColor=inputBorderColor||colors.light;backgroundColor=colors.background;}var _typography$subtitle=typography.subtitle1,lineHeight=_typography$subtitle.lineHeight,subtitle1=(0,_objectWithoutProperties2.default)(_typography$subtitle,_excluded2);inputStyle=Object.assign({paddingVertical:0,color:inputTextColor,paddingLeft:leftIconName&&leftIconMode==="inset"?ICON_SIZE+(type==="solid"?16:12):0,paddingRight:rightIconName?ICON_SIZE+16+4:12},subtitle1,{height:lineHeight});if(type==="underline"){containerStyle={borderTopLeftRadius:roundness,borderTopRightRadius:roundness,paddingBottom:12,marginTop:16};}else{containerStyle={borderRadius:roundness,borderColor:hasActiveOutline?activeColor:borderColor,borderWidth:1,paddingTop:labeled?16*1.5:16,paddingBottom:labeled?16*0.5:16,opacity:disabled?disabledOpacity:1,backgroundColor:backgroundColor};inputStyle.paddingHorizontal=12;}if(leftIconName&&leftIconMode==="outset"){containerStyle.marginLeft=ICON_SIZE+8;}var leftIconColor;if(focused){leftIconColor=colors.primary;}else{leftIconColor=colors.light;}var leftIconProps={size:24,color:leftIconColor,name:leftIconName||""};var leftIconStyle={position:"absolute",top:0,marginTop:type==="solid"?leftIconMode==="inset"?MINIMIZED_LABEL_FONT_SIZE+4:16:leftIconMode==="outset"?16:0};var labelStyle=Object.assign({},typography.subtitle1,{top:type==="solid"?16:0,fontFamily:textStyles==null?void 0:textStyles.fontFamily,left:leftIconName&&leftIconMode==="inset"?ICON_SIZE+(type==="solid"?16:12):0,transform:[{translateY:labeled.interpolate({inputRange:[0,1],outputRange:[type==="solid"?OUTLINE_MINIMIZED_LABEL_Y_OFFSET:MINIMIZED_LABEL_Y_OFFSET,0]})},{scale:labeled.interpolate({inputRange:[0,1],outputRange:[MINIMIZED_LABEL_FONT_SIZE/MAXIMIZED_LABEL_FONT_SIZE,1]})},{translateX:labeled.interpolate({inputRange:[0,1],outputRange:[-(1-MINIMIZED_LABEL_FONT_SIZE/MAXIMIZED_LABEL_FONT_SIZE)*(labelLayout.width/2),0]})}]});var inputStyles=[styles.input,inputStyle,type==="solid"?{marginHorizontal:12}:{}];return(0,_jsxRuntime.jsxs)(_reactNative.View,{style:[styles.container,style],children:[(0,_jsxRuntime.jsx)(_Touchable.default,{disabled:disabled,onPress:toggleVisibility,children:(0,_jsxRuntime.jsx)(_reactNative.View,{pointerEvents:"none",children:(0,_jsxRuntime.jsxs)(_reactNative.View,{style:[styles.container,style],children:[leftIconName&&leftIconMode==="outset"?(0,_jsxRuntime.jsx)(Icon,Object.assign({},leftIconProps,{style:leftIconStyle})):null,(0,_jsxRuntime.jsxs)(_reactNative.View,{style:[containerStyle,style?{height:style.height}:{},viewStyles],children:[type==="underline"?(0,_jsxRuntime.jsx)(_reactNative.Animated.View,{style:[styles.underline,{backgroundColor:focused?activeColor:underlineColor,transform:[{scaleY:focused?1:0.5}]}]}):null,label?(0,_jsxRuntime.jsxs)(_reactNative.View,{pointerEvents:"none",style:[_reactNative.StyleSheet.absoluteFill,{opacity:date||focused?labelLayout.measured?1:0:1}],children:[(0,_jsxRuntime.jsx)(AnimatedText,{onLayout:function onLayout(e){return setLabelLayout({width:e.nativeEvent.layout.width,measured:true});},style:[styles.placeholder,type==="solid"?{paddingHorizontal:12}:{},labelStyle,{color:labelColor||colors.light,opacity:labeled.interpolate({inputRange:[0,1],outputRange:[hasActiveOutline?1:0,0]})}],numberOfLines:1,children:label}),(0,_jsxRuntime.jsx)(AnimatedText,{style:[styles.placeholder,type==="solid"?{paddingHorizontal:12}:{},labelStyle,{color:labelColor||placeholderColor,opacity:hasActiveOutline?labeled:1}],numberOfLines:1,children:label})]}):null,leftIconName&&leftIconMode==="inset"?(0,_jsxRuntime.jsx)(Icon,Object.assign({},leftIconProps,{style:Object.assign({},leftIconStyle,{marginLeft:type==="solid"?16:0})})):null,(0,_jsxRuntime.jsx)(_reactNative.TextInput,Object.assign({value:formatDate(),placeholder:label?placeholder1:placeholder,editable:!disabled,placeholderTextColor:placeholderColor,selectionColor:activeColor,onFocus:_handleFocus,onBlur:_handleBlur,underlineColorAndroid:"transparent",style:[inputStyles,textStyles]},props))]}),rightIconName?(0,_jsxRuntime.jsx)(Icon,{name:rightIconName,size:ICON_SIZE,color:colors.light,style:{position:"absolute",right:16,marginTop:type==="solid"?MINIMIZED_LABEL_FONT_SIZE+4:16}}):null]})})}),pickerVisible&&(0,_jsxRuntime.jsx)(_Portal.default,{children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.picker,{backgroundColor:colors.divider}],children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.pickerContainer,{paddingTop:insets.top,paddingBottom:insets.bottom,paddingLeft:insets.left,paddingRight:insets.right}],children:(0,_jsxRuntime.jsx)(_DatePickerComponent.default,{value:getValidDate(),mode:mode,isVisible:pickerVisible,toggleVisibility:toggleVisibility,minimumDate:minimumDate,maximumDate:maximumDate,onChange:function onChange(_event,data){toggleVisibility();setValue(data);onDateChange(data);}})})})})]});};var styles=_reactNative.StyleSheet.create({container:{alignSelf:"stretch"},picker:{position:"absolute",bottom:0,left:0,right:0,flexDirection:"row",justifyContent:"center"},underline:{position:"absolute",left:0,right:0,bottom:0,height:2},input:{flexGrow:1,justifyContent:"center",textAlignVertical:"center",margin:0,textAlign:_reactNative.I18nManager.isRTL?"right":"left"},placeholder:{position:"absolute",left:0},pickerContainer:{flexDirection:"column",width:"100%",zIndex:100},closeButton:{alignSelf:"flex-end"}});var _default=(0,_theming.withTheme)(DatePicker);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _datetimepicker=_interopRequireDefault(require("@react-native-community/datetimepicker"));var _reactNativeModalDatetimePicker=_interopRequireDefault(require("react-native-modal-datetime-picker"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DatePicker/DatePickerComponent.tsx";var DatePickerComponent=function DatePickerComponent(_ref){var value=_ref.value,onChange=_ref.onChange,mode=_ref.mode,minimumDate=_ref.minimumDate,maximumDate=_ref.maximumDate,toggleVisibility=_ref.toggleVisibility;return _reactNative.Platform.OS==="ios"||_reactNative.Platform.OS==="android"?(0,_jsxRuntime.jsx)(_reactNativeModalDatetimePicker.default,{date:value,mode:mode,isVisible:true,display:_reactNative.Platform.OS==="ios"?"spinner":"default",minimumDate:minimumDate,maximumDate:maximumDate,onCancel:function onCancel(){console.log("Picker cancelled before selecting anything.");toggleVisibility();},onConfirm:function onConfirm(data){onChange(null,data);}}):(0,_jsxRuntime.jsx)(_datetimepicker.default,{value:value,mode:mode,onChange:onChange,display:"default",minimumDate:minimumDate,maximumDate:maximumDate});};var _default=DatePickerComponent;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _dateFns=_interopRequireDefault(require("@date-io/date-fns"));var _pickers=require("@material-ui/pickers");var _styles=require("@material-ui/core/styles");var _theming=require("../../theming");var _DefaultTheme=_interopRequireDefault(require("../../styles/DefaultTheme"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DatePicker/DatePickerComponent.web.tsx";var DatePickerComponent=function DatePickerComponent(_ref){var value=_ref.value,_onChange=_ref.onChange,mode=_ref.mode,toggleVisibility=_ref.toggleVisibility,isVisible=_ref.isVisible,minimumDate=_ref.minimumDate,maximumDate=_ref.maximumDate,theme=_ref.theme;var internalTheme=(0,_styles.createMuiTheme)({palette:{primary:{main:theme.colors.primary||_DefaultTheme.default.colors.primary},secondary:{main:theme.colors.secondary||_DefaultTheme.default.colors.secondary}}});var Picker=mode==="date"?_pickers.DatePicker:mode==="time"?_pickers.TimePicker:_pickers.DateTimePicker;return(0,_jsxRuntime.jsx)(_pickers.MuiPickersUtilsProvider,{utils:_dateFns.default,children:(0,_jsxRuntime.jsx)(_styles.ThemeProvider,{theme:internalTheme,children:(0,_jsxRuntime.jsx)(Picker,{value:value,open:isVisible,onChange:function onChange(d){toggleVisibility();_onChange(null,d);},onClose:function onClose(){return toggleVisibility();},variant:"dialog",TextFieldComponent:function TextFieldComponent(){return null;},minDate:minimumDate,maxDate:maximumDate})})});};var _default=(0,_theming.withTheme)(DatePickerComponent);exports.default=_default;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeDeckSwiper=_interopRequireDefault(require("react-native-deck-swiper"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DeckSwiper/DeckSwiper.tsx";var DeckSwiper=function DeckSwiper(_ref){var onSwipe=_ref.onSwipe,_onSwipedLeft=_ref.onSwipedLeft,_onSwipedRight=_ref.onSwipedRight,onSwipedUp=_ref.onSwipedUp,onSwipedDown=_ref.onSwipedDown,onIndexChanged=_ref.onIndexChanged,onEndReached=_ref.onEndReached,_ref$startCardIndex=_ref.startCardIndex,startCardIndex=_ref$startCardIndex===void 0?0:_ref$startCardIndex,_ref$infiniteSwiping=_ref.infiniteSwiping,infiniteSwiping=_ref$infiniteSwiping===void 0?false:_ref$infiniteSwiping,_ref$verticalEnabled=_ref.verticalEnabled,verticalEnabled=_ref$verticalEnabled===void 0?true:_ref$verticalEnabled,_ref$horizontalEnable=_ref.horizontalEnabled,horizontalEnabled=_ref$horizontalEnable===void 0?true:_ref$horizontalEnable,_ref$visibleCardCount=_ref.visibleCardCount,visibleCardCount=_ref$visibleCardCount===void 0?1:_ref$visibleCardCount,data=_ref.data,keyExtractor=_ref.keyExtractor,renderItem=_ref.renderItem,style=_ref.style,children=_ref.children;if(data&&!renderItem||renderItem&&!data){throw new Error("'renderItem' and 'data' need to both be provided to lazily render. Either remove them entirley or include both");}if(data&&renderItem&&children){console.warn("'children' of DeckSwiper ignored due to usage of 'data' and 'renderItem'");}var deckSwiperRef=_react.default.useRef(null);var childrenArray=_react.default.useMemo(function(){return _react.default.Children.toArray(children);},[children]);var cardsFillerData=_react.default.useMemo(function(){return Array.from(Array(childrenArray.length).keys());},[childrenArray]);var cardsData=data||cardsFillerData;var renderCard=function renderCard(card,index){if(renderItem){return renderItem({item:card,index:index});}else{return(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:childrenArray[index]});}};var renderFirstCard=function renderFirstCard(){if(cardsData.length){return renderCard(cardsData[0],0);}return undefined;};var cardKeyExtractor=function cardKeyExtractor(card){if(keyExtractor){return keyExtractor(card);}else{return card==null?void 0:card.toString();}};_react.default.useEffect(function(){var _deckSwiperRef$curren;(_deckSwiperRef$curren=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren.forceUpdate();});return(0,_jsxRuntime.jsxs)(_reactNative.View,{children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.containerHeightFiller,children:renderFirstCard()}),(0,_jsxRuntime.jsx)(_reactNativeDeckSwiper.default,{ref:deckSwiperRef,cards:cardsData,renderCard:renderCard,keyExtractor:cardKeyExtractor,containerStyle:_reactNative.StyleSheet.flatten([styles.cardsContainer,style]),cardStyle:styles.card,onSwiped:onIndexChanged,onSwipedAll:onEndReached,cardIndex:startCardIndex,infinite:infiniteSwiping,verticalSwipe:verticalEnabled,horizontalSwipe:horizontalEnabled,showSecondCard:visibleCardCount>1,stackSize:visibleCardCount,backgroundColor:"transparent",cardVerticalMargin:0,cardHorizontalMargin:0,onSwipedLeft:function onSwipedLeft(index){_onSwipedLeft==null?void 0:_onSwipedLeft(index);onSwipe==null?void 0:onSwipe(index);},onSwipedRight:function onSwipedRight(index){_onSwipedRight==null?void 0:_onSwipedRight(index);onSwipe==null?void 0:onSwipe(index);},onSwipedTop:function onSwipedTop(index){onSwipedUp==null?void 0:onSwipedUp(index);onSwipe==null?void 0:onSwipe(index);},onSwipedBottom:function onSwipedBottom(index){onSwipedDown==null?void 0:onSwipedDown(index);onSwipe==null?void 0:onSwipe(index);}})]});};var styles=_reactNative.StyleSheet.create({cardsContainer:{position:"absolute"},card:{left:0,right:0,width:"auto",height:"auto"},containerHeightFiller:{opacity:0.0}});var _default=DeckSwiper;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _theming=require("../../theming");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DeckSwiper/DeckSwiperCard.tsx";var DeckSwiperCard=function DeckSwiperCard(_ref){var style=_ref.style,children=_ref.children,theme=_ref.theme;return(0,_jsxRuntime.jsx)(_reactNative.View,{style:[styles.card,{backgroundColor:theme.colors.background,borderColor:theme.colors.divider},style],children:children});};var styles=_reactNative.StyleSheet.create({card:{alignItems:"center",justifyContent:"center",padding:20,borderWidth:2}});var _default=(0,_theming.withTheme)(DeckSwiperCard);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"DeckSwiper",{enumerable:true,get:function get(){return _DeckSwiper.default;}});Object.defineProperty(exports,"DeckSwiperCard",{enumerable:true,get:function get(){return _DeckSwiperCard.default;}});var _DeckSwiper=_interopRequireDefault(require("./DeckSwiper"));var _DeckSwiperCard=_interopRequireDefault(require("./DeckSwiperCard"));
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _theming=require("../theming");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","color","theme"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Divider.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var Divider=function Divider(_ref){var style=_ref.style,color=_ref.color,colors=_ref.theme.colors,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({style:[{backgroundColor:color||colors.divider,height:_reactNative.StyleSheet.hairlineWidth},style]},rest));};var _default=(0,_theming.withTheme)(Divider);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _shadow=_interopRequireDefault(require("../styles/shadow"));var _theming=require("../theming");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","theme","children"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Elevation.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var Elevation=function Elevation(_ref){var style=_ref.style,theme=_ref.theme,children=_ref.children,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _ref2=_reactNative.StyleSheet.flatten(style)||{},_ref2$elevation=_ref2.elevation,elevation=_ref2$elevation===void 0?4:_ref2$elevation,radius=_ref2.borderRadius;var colors=theme.colors;var borderRadius=radius;return(0,_jsxRuntime.jsx)(_reactNative.Animated.View,Object.assign({},rest,{style:[{borderRadius:borderRadius,backgroundColor:colors.surface},elevation?(0,_shadow.default)(elevation):null,style],children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:{overflow:"hidden",borderRadius:borderRadius},children:children})}));};var _default=(0,_theming.withTheme)(Elevation);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=FormRow;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _utilities=require("../utilities");var _Touchable=_interopRequireDefault(require("./Touchable"));var _jsxRuntime=require("react/jsx-runtime");var _jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/FormRow.tsx";var _excluded=["disabled","direction","children","label","style","onPress"];function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}function FormRow(_ref){var disabled=_ref.disabled,direction=_ref.direction,children=_ref.children,label=_ref.label,style=_ref.style,onPress=_ref.onPress,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _extractStyles=(0,_utilities.extractStyles)(style),textStyles=_extractStyles.textStyles,viewStyles=_extractStyles.viewStyles;return(0,_jsxRuntime.jsxs)(_Touchable.default,Object.assign({disabled:disabled,onPress:onPress,style:[styles.row,{flexDirection:direction},viewStyles]},rest,{children:[(0,_jsxRuntime.jsx)(_reactNative.Text,{style:textStyles,children:label}),children]}));}var styles=_reactNative.StyleSheet.create({row:{marginLeft:8,marginRight:8,flexDirection:"row",justifyContent:"space-between",alignItems:"center"}});
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _theming=require("../theming");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["Icon","icon","color","size","disabled","loading","onPress","theme","style","activeOpacity","disabledOpacity"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/IconButton.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}var IconButton=function IconButton(_ref){var Icon=_ref.Icon,icon=_ref.icon,customColor=_ref.color,_ref$size=_ref.size,size=_ref$size===void 0?32:_ref$size,disabled=_ref.disabled,_ref$loading=_ref.loading,loading=_ref$loading===void 0?false:_ref$loading,onPress=_ref.onPress,theme=_ref.theme,_style=_ref.style,_ref$activeOpacity=_ref.activeOpacity,activeOpacity=_ref$activeOpacity===void 0?0.8:_ref$activeOpacity,_ref$disabledOpacity=_ref.disabledOpacity,disabledOpacity=_ref$disabledOpacity===void 0?0.8:_ref$disabledOpacity,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var iconColor=customColor||theme.colors.primary;return(0,_jsxRuntime.jsx)(_reactNative.Pressable,Object.assign({onPress:onPress,disabled:disabled||loading,style:function style(_ref2){var pressed=_ref2.pressed;return[styles.container,{opacity:pressed?activeOpacity:disabled?disabledOpacity:1,width:size,height:size,alignItems:"center",justifyContent:"center"},_style];}},props,{children:(0,_jsxRuntime.jsxs)(_reactNative.View,{children:[icon&&!loading?(0,_jsxRuntime.jsx)(Icon,{name:icon,size:size-2,color:iconColor}):null,loading?(0,_jsxRuntime.jsx)(_reactNative.ActivityIndicator,{size:"small",color:iconColor}):null]})}));};var styles=_reactNative.StyleSheet.create({container:Object.assign({alignItems:"center",justifyContent:"center"},_reactNative.Platform.select({web:{cursor:"pointer",userSelect:"none"}}))});var _default=(0,_theming.withTheme)(IconButton);exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _Config=_interopRequireDefault(require("./Config"));var _AspectRatio=_interopRequireDefault(require("./AspectRatio"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["source","resizeMode","style"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Image.tsx";var generateDimensions=function generateDimensions(_ref){var aspectRatio=_ref.aspectRatio,width=_ref.width,height=_ref.height;if(aspectRatio&&!width&&!height){return{aspectRatio:aspectRatio,width:"100%"};}if(aspectRatio&&height){return{aspectRatio:aspectRatio,height:height,width:aspectRatio*height};}if(aspectRatio&&width){return{aspectRatio:aspectRatio,width:width,height:width/aspectRatio};}return{width:width,height:height};};var Image=function Image(_ref2){var source=_ref2.source,_ref2$resizeMode=_ref2.resizeMode,resizeMode=_ref2$resizeMode===void 0?"cover":_ref2$resizeMode,style=_ref2.style,props=(0,_objectWithoutProperties2.default)(_ref2,_excluded);var imageSource=source===null||source===undefined?_Config.default.placeholderImageURL:source;var styles=_reactNative.StyleSheet.flatten(style||{});var _generateDimensions=generateDimensions(styles),aspectRatio=_generateDimensions.aspectRatio,width=_generateDimensions.width,height=_generateDimensions.height;if(aspectRatio){return(0,_jsxRuntime.jsx)(_AspectRatio.default,{style:[style,{width:width,height:height,aspectRatio:aspectRatio}],children:(0,_jsxRuntime.jsx)(_reactNative.Image,Object.assign({},props,{source:imageSource,resizeMode:resizeMode,style:[style,{height:"100%",width:"100%"}]}))});}return(0,_jsxRuntime.jsx)(_reactNative.Image,Object.assign({},props,{source:source,resizeMode:resizeMode,style:style}));};var _default=Image;exports.default=_default;
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Center=Center;exports.Circle=Circle;exports.Row=Row;exports.Spacer=Spacer;exports.Square=Square;exports.Stack=Stack;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var React=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _jsxRuntime=require("react/jsx-runtime");var _jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/Layout.tsx";var _excluded=["width","height","children","bgColor","style"],_excluded2=["size","bgColor","children","style"],_excluded3=["size","bgColor","children","style"],_excluded4=["justifyContent","alignItems","children","style"],_excluded5=["top","right","bottom","left","children","style"],_excluded6=["children","justifyContent","alignItems","style"];function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}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;}function Center(_ref){var _ref$width=_ref.width,width=_ref$width===void 0?240:_ref$width,_ref$height=_ref.height,height=_ref$height===void 0?200:_ref$height,children=_ref.children,bgColor=_ref.bgColor,style=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({style:[{justifyContent:"center",alignItems:"center",width:width,height:height,backgroundColor:bgColor},style]},rest,{children:children}));}function Circle(_ref2){var _ref2$size=_ref2.size,size=_ref2$size===void 0?50:_ref2$size,bgColor=_ref2.bgColor,children=_ref2.children,style=_ref2.style,rest=(0,_objectWithoutProperties2.default)(_ref2,_excluded2);var borderRadius=1000;return(0,_jsxRuntime.jsx)(Center,Object.assign({width:size,height:size,bgColor:bgColor,style:[style,{backgroundColor:bgColor,borderRadius:borderRadius,overflow:"hidden"}]},rest,{children:children}));}function Square(_ref3){var _ref3$size=_ref3.size,size=_ref3$size===void 0?50:_ref3$size,bgColor=_ref3.bgColor,children=_ref3.children,style=_ref3.style,rest=(0,_objectWithoutProperties2.default)(_ref3,_excluded3);return(0,_jsxRuntime.jsx)(Center,Object.assign({style:style,width:size,height:size,bgColor:bgColor},rest,{children:children}));}function Row(_ref4){var justifyContent=_ref4.justifyContent,alignItems=_ref4.alignItems,children=_ref4.children,style=_ref4.style,rest=(0,_objectWithoutProperties2.default)(_ref4,_excluded4);return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({style:[style,{alignItems:alignItems,flexDirection:"row",justifyContent:justifyContent}]},rest,{children:children}));}function Spacer(_ref5){var _ref5$top=_ref5.top,top=_ref5$top===void 0?8:_ref5$top,_ref5$right=_ref5.right,right=_ref5$right===void 0?8:_ref5$right,_ref5$bottom=_ref5.bottom,bottom=_ref5$bottom===void 0?8:_ref5$bottom,_ref5$left=_ref5.left,left=_ref5$left===void 0?8:_ref5$left,children=_ref5.children,style=_ref5.style,rest=(0,_objectWithoutProperties2.default)(_ref5,_excluded5);return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({style:[style,{paddingRight:right,paddingTop:top,paddingLeft:left,paddingBottom:bottom}]},rest,{children:children}));}function Stack(_ref6){var children=_ref6.children,_ref6$justifyContent=_ref6.justifyContent,justifyContent=_ref6$justifyContent===void 0?"flex-start":_ref6$justifyContent,_ref6$alignItems=_ref6.alignItems,alignItems=_ref6$alignItems===void 0?"flex-start":_ref6$alignItems,style=_ref6.style,rest=(0,_objectWithoutProperties2.default)(_ref6,_excluded6);return(0,_jsxRuntime.jsx)(_reactNative.View,Object.assign({style:[style,{justifyContent:justifyContent,alignItems:alignItems}]},rest,{children:children}));}