@jamadd/react-native-template-ui 0.2.1 → 0.2.3

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 (657) hide show
  1. package/lib/module/components/button/AnimatedThemedPressable.js +5 -17
  2. package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
  3. package/lib/module/components/button/ThemedButton.js +20 -75
  4. package/lib/module/components/button/ThemedButton.js.map +1 -1
  5. package/lib/module/components/button/ThemedIconButton.js +16 -62
  6. package/lib/module/components/button/ThemedIconButton.js.map +1 -1
  7. package/lib/module/components/button/ThemedIconTextButton.js +29 -118
  8. package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
  9. package/lib/module/components/button/ThemedPressable.js +5 -17
  10. package/lib/module/components/button/ThemedPressable.js.map +1 -1
  11. package/lib/module/components/icon/ThemedIcon.js +15 -56
  12. package/lib/module/components/icon/ThemedIcon.js.map +1 -1
  13. package/lib/module/components/list/List.js +39 -131
  14. package/lib/module/components/list/List.js.map +1 -1
  15. package/lib/module/components/loading/ThemedLoading.js +13 -50
  16. package/lib/module/components/loading/ThemedLoading.js.map +1 -1
  17. package/lib/module/components/overlay/actionSheet/ActionSheet.js +19 -64
  18. package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
  19. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +8 -19
  20. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
  21. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +31 -87
  22. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
  23. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +25 -66
  24. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
  25. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +14 -39
  26. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
  27. package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js +25 -58
  28. package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -1
  29. package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js +21 -45
  30. package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -1
  31. package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js +30 -72
  32. package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -1
  33. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +28 -69
  34. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
  35. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +18 -45
  36. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
  37. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +31 -139
  38. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
  39. package/lib/module/components/overlay/alert/Alert.js +47 -125
  40. package/lib/module/components/overlay/alert/Alert.js.map +1 -1
  41. package/lib/module/components/overlay/alert/AlertButton.js +26 -62
  42. package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
  43. package/lib/module/components/overlay/alert/AlertButtons.js +23 -58
  44. package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
  45. package/lib/module/components/overlay/alert/AlertContent.js +15 -45
  46. package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
  47. package/lib/module/components/overlay/alert/AlertWrap.js +45 -132
  48. package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
  49. package/lib/module/components/overlay/modal/ThemedLoadingModal.js +21 -96
  50. package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
  51. package/lib/module/components/overlay/modal/ThemedModal.js +23 -75
  52. package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
  53. package/lib/module/components/overlay/toast/ThemedToast.js +86 -319
  54. package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
  55. package/lib/module/components/provider/GestureProvider.js +3 -15
  56. package/lib/module/components/provider/GestureProvider.js.map +1 -1
  57. package/lib/module/components/provider/InsetsProvider.js +3 -15
  58. package/lib/module/components/provider/InsetsProvider.js.map +1 -1
  59. package/lib/module/components/provider/ReactNativeTemplateProviders.js +11 -23
  60. package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
  61. package/lib/module/components/provider/ThemeProvider.js +3 -15
  62. package/lib/module/components/provider/ThemeProvider.js.map +1 -1
  63. package/lib/module/components/separator/ThemedSeparator.js +14 -53
  64. package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
  65. package/lib/module/components/switch/ThemedSwitch.js +21 -89
  66. package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
  67. package/lib/module/components/text/ThemedIconText.js +35 -124
  68. package/lib/module/components/text/ThemedIconText.js.map +1 -1
  69. package/lib/module/components/text/ThemedText.js +3 -15
  70. package/lib/module/components/text/ThemedText.js.map +1 -1
  71. package/lib/module/components/view/AnimatedThemedView.js +10 -33
  72. package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
  73. package/lib/module/components/view/ThemedScreenWrap.js +32 -110
  74. package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
  75. package/lib/module/components/view/ThemedScreenWrap.web.js +32 -111
  76. package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
  77. package/lib/module/components/view/ThemedScrollView.js +38 -126
  78. package/lib/module/components/view/ThemedScrollView.js.map +1 -1
  79. package/lib/module/components/view/ThemedView.js +10 -33
  80. package/lib/module/components/view/ThemedView.js.map +1 -1
  81. package/lib/module/hooks/button.js +54 -158
  82. package/lib/module/hooks/button.js.map +1 -1
  83. package/lib/module/hooks/list.js +10 -50
  84. package/lib/module/hooks/list.js.map +1 -1
  85. package/lib/module/hooks/overlay.js +170 -528
  86. package/lib/module/hooks/overlay.js.map +1 -1
  87. package/lib/module/hooks/reanimated.js.map +1 -1
  88. package/lib/module/hooks/style.js +18 -43
  89. package/lib/module/hooks/style.js.map +1 -1
  90. package/lib/module/hooks/switch.js +44 -182
  91. package/lib/module/hooks/switch.js.map +1 -1
  92. package/lib/module/hooks/theme.js +8 -17
  93. package/lib/module/hooks/theme.js.map +1 -1
  94. package/lib/module/hooks/view.js.map +1 -1
  95. package/lib/module/utils/reanimated/func.js +10 -60
  96. package/lib/module/utils/reanimated/func.js.map +1 -1
  97. package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -0
  98. package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -0
  99. package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -0
  100. package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -0
  101. package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -0
  102. package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -0
  103. package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -0
  104. package/lib/typescript/src/components/list/List.d.ts.map +1 -0
  105. package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -0
  106. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
  107. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
  108. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
  109. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
  110. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
  111. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
  112. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
  113. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
  114. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
  115. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
  116. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
  117. package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -0
  118. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -0
  119. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -0
  120. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
  121. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
  122. package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
  123. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
  124. package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
  125. package/lib/typescript/src/components/provider/GestureProvider.d.ts.map +1 -0
  126. package/lib/typescript/src/components/provider/InsetsProvider.d.ts.map +1 -0
  127. package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
  128. package/lib/typescript/src/components/provider/ThemeProvider.d.ts.map +1 -0
  129. package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -0
  130. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -0
  131. package/lib/typescript/{commonjs/src → src}/components/text/Text.d.ts.map +1 -1
  132. package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -0
  133. package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -0
  134. package/lib/typescript/{module/src → src}/components/view/AnimatedBox.d.ts.map +1 -1
  135. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -0
  136. package/lib/typescript/{commonjs/src → src}/components/view/Box.d.ts.map +1 -1
  137. package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
  138. package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
  139. package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -0
  140. package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -0
  141. package/lib/typescript/{commonjs/src → src}/hooks/button.d.ts.map +1 -1
  142. package/lib/typescript/src/hooks/list.d.ts.map +1 -0
  143. package/lib/typescript/src/hooks/overlay.d.ts.map +1 -0
  144. package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -0
  145. package/lib/typescript/src/hooks/separator.d.ts.map +1 -0
  146. package/lib/typescript/src/hooks/style.d.ts.map +1 -0
  147. package/lib/typescript/{commonjs/src → src}/hooks/switch.d.ts.map +1 -1
  148. package/lib/typescript/src/hooks/theme.d.ts.map +1 -0
  149. package/lib/typescript/src/hooks/view.d.ts.map +1 -0
  150. package/lib/typescript/src/index.d.ts.map +1 -0
  151. package/lib/typescript/src/test/utils/const.d.ts.map +1 -0
  152. package/lib/typescript/src/test/utils/func.d.ts.map +1 -0
  153. package/lib/typescript/src/test/utils/testingLib.d.ts.map +1 -0
  154. package/lib/typescript/src/types/button.d.ts.map +1 -0
  155. package/lib/typescript/src/types/icon.d.ts.map +1 -0
  156. package/lib/typescript/src/types/list.d.ts.map +1 -0
  157. package/lib/typescript/src/types/loading.d.ts.map +1 -0
  158. package/lib/typescript/src/types/overlay.d.ts.map +1 -0
  159. package/lib/typescript/src/types/provider.d.ts.map +1 -0
  160. package/lib/typescript/src/types/react.d.ts.map +1 -0
  161. package/lib/typescript/src/types/reanimated.d.ts.map +1 -0
  162. package/lib/typescript/src/types/separator.d.ts.map +1 -0
  163. package/lib/typescript/src/types/style.d.ts.map +1 -0
  164. package/lib/typescript/src/types/switch.d.ts.map +1 -0
  165. package/lib/typescript/src/types/text.d.ts.map +1 -0
  166. package/lib/typescript/src/types/theme.d.ts.map +1 -0
  167. package/lib/typescript/src/types/view.d.ts.map +1 -0
  168. package/lib/typescript/src/utils/button/const.d.ts.map +1 -0
  169. package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -0
  170. package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -0
  171. package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -0
  172. package/lib/typescript/src/utils/style/const.d.ts.map +1 -0
  173. package/lib/typescript/src/utils/style/func.d.ts.map +1 -0
  174. package/lib/typescript/src/utils/switch/const.d.ts.map +1 -0
  175. package/lib/typescript/src/utils/theme/const.d.ts.map +1 -0
  176. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -0
  177. package/package.json +57 -78
  178. package/lib/commonjs/components/button/AnimatedPressable.js +0 -14
  179. package/lib/commonjs/components/button/AnimatedPressable.js.map +0 -1
  180. package/lib/commonjs/components/button/AnimatedThemedPressable.js +0 -36
  181. package/lib/commonjs/components/button/AnimatedThemedPressable.js.map +0 -1
  182. package/lib/commonjs/components/button/ThemedButton.js +0 -97
  183. package/lib/commonjs/components/button/ThemedButton.js.map +0 -1
  184. package/lib/commonjs/components/button/ThemedIconButton.js +0 -81
  185. package/lib/commonjs/components/button/ThemedIconButton.js.map +0 -1
  186. package/lib/commonjs/components/button/ThemedIconTextButton.js +0 -146
  187. package/lib/commonjs/components/button/ThemedIconTextButton.js.map +0 -1
  188. package/lib/commonjs/components/button/ThemedPressable.js +0 -35
  189. package/lib/commonjs/components/button/ThemedPressable.js.map +0 -1
  190. package/lib/commonjs/components/icon/ThemedIcon.js +0 -71
  191. package/lib/commonjs/components/icon/ThemedIcon.js.map +0 -1
  192. package/lib/commonjs/components/list/List.js +0 -144
  193. package/lib/commonjs/components/list/List.js.map +0 -1
  194. package/lib/commonjs/components/loading/ThemedLoading.js +0 -64
  195. package/lib/commonjs/components/loading/ThemedLoading.js.map +0 -1
  196. package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js +0 -80
  197. package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js.map +0 -1
  198. package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js +0 -34
  199. package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js.map +0 -1
  200. package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js +0 -119
  201. package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js.map +0 -1
  202. package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js +0 -84
  203. package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js.map +0 -1
  204. package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js +0 -57
  205. package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js.map +0 -1
  206. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js +0 -82
  207. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js.map +0 -1
  208. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js +0 -67
  209. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js.map +0 -1
  210. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js +0 -92
  211. package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js.map +0 -1
  212. package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js +0 -89
  213. package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js.map +0 -1
  214. package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js +0 -64
  215. package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +0 -1
  216. package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js +0 -167
  217. package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js.map +0 -1
  218. package/lib/commonjs/components/overlay/alert/Alert.js +0 -160
  219. package/lib/commonjs/components/overlay/alert/Alert.js.map +0 -1
  220. package/lib/commonjs/components/overlay/alert/AlertButton.js +0 -82
  221. package/lib/commonjs/components/overlay/alert/AlertButton.js.map +0 -1
  222. package/lib/commonjs/components/overlay/alert/AlertButtons.js +0 -71
  223. package/lib/commonjs/components/overlay/alert/AlertButtons.js.map +0 -1
  224. package/lib/commonjs/components/overlay/alert/AlertContent.js +0 -61
  225. package/lib/commonjs/components/overlay/alert/AlertContent.js.map +0 -1
  226. package/lib/commonjs/components/overlay/alert/AlertWrap.js +0 -157
  227. package/lib/commonjs/components/overlay/alert/AlertWrap.js.map +0 -1
  228. package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js +0 -122
  229. package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js.map +0 -1
  230. package/lib/commonjs/components/overlay/modal/ThemedModal.js +0 -94
  231. package/lib/commonjs/components/overlay/modal/ThemedModal.js.map +0 -1
  232. package/lib/commonjs/components/overlay/toast/ThemedToast.js +0 -357
  233. package/lib/commonjs/components/overlay/toast/ThemedToast.js.map +0 -1
  234. package/lib/commonjs/components/provider/GestureProvider.js +0 -25
  235. package/lib/commonjs/components/provider/GestureProvider.js.map +0 -1
  236. package/lib/commonjs/components/provider/InsetsProvider.js +0 -25
  237. package/lib/commonjs/components/provider/InsetsProvider.js.map +0 -1
  238. package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js +0 -38
  239. package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js.map +0 -1
  240. package/lib/commonjs/components/provider/ThemeProvider.js +0 -25
  241. package/lib/commonjs/components/provider/ThemeProvider.js.map +0 -1
  242. package/lib/commonjs/components/separator/ThemedSeparator.js +0 -66
  243. package/lib/commonjs/components/separator/ThemedSeparator.js.map +0 -1
  244. package/lib/commonjs/components/switch/ThemedSwitch.js +0 -114
  245. package/lib/commonjs/components/switch/ThemedSwitch.js.map +0 -1
  246. package/lib/commonjs/components/text/Text.js +0 -12
  247. package/lib/commonjs/components/text/Text.js.map +0 -1
  248. package/lib/commonjs/components/text/ThemedIconText.js +0 -143
  249. package/lib/commonjs/components/text/ThemedIconText.js.map +0 -1
  250. package/lib/commonjs/components/text/ThemedText.js +0 -26
  251. package/lib/commonjs/components/text/ThemedText.js.map +0 -1
  252. package/lib/commonjs/components/view/AnimatedBox.js +0 -14
  253. package/lib/commonjs/components/view/AnimatedBox.js.map +0 -1
  254. package/lib/commonjs/components/view/AnimatedThemedView.js +0 -45
  255. package/lib/commonjs/components/view/AnimatedThemedView.js.map +0 -1
  256. package/lib/commonjs/components/view/Box.js +0 -12
  257. package/lib/commonjs/components/view/Box.js.map +0 -1
  258. package/lib/commonjs/components/view/ThemedScreenWrap.js +0 -124
  259. package/lib/commonjs/components/view/ThemedScreenWrap.js.map +0 -1
  260. package/lib/commonjs/components/view/ThemedScreenWrap.web.js +0 -126
  261. package/lib/commonjs/components/view/ThemedScreenWrap.web.js.map +0 -1
  262. package/lib/commonjs/components/view/ThemedScrollView.js +0 -141
  263. package/lib/commonjs/components/view/ThemedScrollView.js.map +0 -1
  264. package/lib/commonjs/components/view/ThemedView.js +0 -45
  265. package/lib/commonjs/components/view/ThemedView.js.map +0 -1
  266. package/lib/commonjs/hooks/button.js +0 -203
  267. package/lib/commonjs/hooks/button.js.map +0 -1
  268. package/lib/commonjs/hooks/list.js +0 -66
  269. package/lib/commonjs/hooks/list.js.map +0 -1
  270. package/lib/commonjs/hooks/overlay.js +0 -703
  271. package/lib/commonjs/hooks/overlay.js.map +0 -1
  272. package/lib/commonjs/hooks/reanimated.js +0 -11
  273. package/lib/commonjs/hooks/reanimated.js.map +0 -1
  274. package/lib/commonjs/hooks/separator.js +0 -22
  275. package/lib/commonjs/hooks/separator.js.map +0 -1
  276. package/lib/commonjs/hooks/style.js +0 -92
  277. package/lib/commonjs/hooks/style.js.map +0 -1
  278. package/lib/commonjs/hooks/switch.js +0 -209
  279. package/lib/commonjs/hooks/switch.js.map +0 -1
  280. package/lib/commonjs/hooks/theme.js +0 -70
  281. package/lib/commonjs/hooks/theme.js.map +0 -1
  282. package/lib/commonjs/hooks/view.js +0 -11
  283. package/lib/commonjs/hooks/view.js.map +0 -1
  284. package/lib/commonjs/index.js +0 -533
  285. package/lib/commonjs/index.js.map +0 -1
  286. package/lib/commonjs/package.json +0 -1
  287. package/lib/commonjs/test/utils/const.js +0 -19
  288. package/lib/commonjs/test/utils/const.js.map +0 -1
  289. package/lib/commonjs/test/utils/func.js +0 -60
  290. package/lib/commonjs/test/utils/func.js.map +0 -1
  291. package/lib/commonjs/test/utils/testingLib.js +0 -38
  292. package/lib/commonjs/test/utils/testingLib.js.map +0 -1
  293. package/lib/commonjs/types/button.js +0 -6
  294. package/lib/commonjs/types/button.js.map +0 -1
  295. package/lib/commonjs/types/global.d.js +0 -6
  296. package/lib/commonjs/types/global.d.js.map +0 -1
  297. package/lib/commonjs/types/icon.js +0 -6
  298. package/lib/commonjs/types/icon.js.map +0 -1
  299. package/lib/commonjs/types/list.js +0 -6
  300. package/lib/commonjs/types/list.js.map +0 -1
  301. package/lib/commonjs/types/loading.js +0 -6
  302. package/lib/commonjs/types/loading.js.map +0 -1
  303. package/lib/commonjs/types/overlay.js +0 -6
  304. package/lib/commonjs/types/overlay.js.map +0 -1
  305. package/lib/commonjs/types/provider.js +0 -6
  306. package/lib/commonjs/types/provider.js.map +0 -1
  307. package/lib/commonjs/types/react.js +0 -6
  308. package/lib/commonjs/types/react.js.map +0 -1
  309. package/lib/commonjs/types/reanimated.js +0 -6
  310. package/lib/commonjs/types/reanimated.js.map +0 -1
  311. package/lib/commonjs/types/separator.js +0 -6
  312. package/lib/commonjs/types/separator.js.map +0 -1
  313. package/lib/commonjs/types/style.js +0 -6
  314. package/lib/commonjs/types/style.js.map +0 -1
  315. package/lib/commonjs/types/switch.js +0 -6
  316. package/lib/commonjs/types/switch.js.map +0 -1
  317. package/lib/commonjs/types/text.js +0 -6
  318. package/lib/commonjs/types/text.js.map +0 -1
  319. package/lib/commonjs/types/theme.js +0 -6
  320. package/lib/commonjs/types/theme.js.map +0 -1
  321. package/lib/commonjs/types/view.js +0 -6
  322. package/lib/commonjs/types/view.js.map +0 -1
  323. package/lib/commonjs/utils/button/const.js +0 -17
  324. package/lib/commonjs/utils/button/const.js.map +0 -1
  325. package/lib/commonjs/utils/overlay/const.js +0 -73
  326. package/lib/commonjs/utils/overlay/const.js.map +0 -1
  327. package/lib/commonjs/utils/overlay/func.js +0 -63
  328. package/lib/commonjs/utils/overlay/func.js.map +0 -1
  329. package/lib/commonjs/utils/reanimated/func.js +0 -77
  330. package/lib/commonjs/utils/reanimated/func.js.map +0 -1
  331. package/lib/commonjs/utils/style/const.js +0 -12
  332. package/lib/commonjs/utils/style/const.js.map +0 -1
  333. package/lib/commonjs/utils/style/func.js +0 -39
  334. package/lib/commonjs/utils/style/func.js.map +0 -1
  335. package/lib/commonjs/utils/switch/const.js +0 -9
  336. package/lib/commonjs/utils/switch/const.js.map +0 -1
  337. package/lib/commonjs/utils/theme/const.js +0 -188
  338. package/lib/commonjs/utils/theme/const.js.map +0 -1
  339. package/lib/commonjs/utils/theme/restyle.js +0 -22
  340. package/lib/commonjs/utils/theme/restyle.js.map +0 -1
  341. package/lib/typescript/commonjs/package.json +0 -1
  342. package/lib/typescript/commonjs/src/components/button/AnimatedPressable.d.ts.map +0 -1
  343. package/lib/typescript/commonjs/src/components/button/AnimatedThemedPressable.d.ts.map +0 -1
  344. package/lib/typescript/commonjs/src/components/button/ThemedButton.d.ts.map +0 -1
  345. package/lib/typescript/commonjs/src/components/button/ThemedIconButton.d.ts.map +0 -1
  346. package/lib/typescript/commonjs/src/components/button/ThemedIconTextButton.d.ts.map +0 -1
  347. package/lib/typescript/commonjs/src/components/button/ThemedPressable.d.ts.map +0 -1
  348. package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts.map +0 -1
  349. package/lib/typescript/commonjs/src/components/list/List.d.ts.map +0 -1
  350. package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts.map +0 -1
  351. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts.map +0 -1
  352. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +0 -1
  353. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +0 -1
  354. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +0 -1
  355. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +0 -1
  356. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +0 -1
  357. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +0 -1
  358. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +0 -1
  359. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +0 -1
  360. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +0 -1
  361. package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +0 -1
  362. package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts.map +0 -1
  363. package/lib/typescript/commonjs/src/components/overlay/alert/AlertButton.d.ts.map +0 -1
  364. package/lib/typescript/commonjs/src/components/overlay/alert/AlertButtons.d.ts.map +0 -1
  365. package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts.map +0 -1
  366. package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts.map +0 -1
  367. package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +0 -1
  368. package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts.map +0 -1
  369. package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts.map +0 -1
  370. package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts.map +0 -1
  371. package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts.map +0 -1
  372. package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts.map +0 -1
  373. package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts.map +0 -1
  374. package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts.map +0 -1
  375. package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts.map +0 -1
  376. package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts.map +0 -1
  377. package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts.map +0 -1
  378. package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +0 -1
  379. package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts.map +0 -1
  380. package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts.map +0 -1
  381. package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts.map +0 -1
  382. package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts.map +0 -1
  383. package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts.map +0 -1
  384. package/lib/typescript/commonjs/src/hooks/list.d.ts.map +0 -1
  385. package/lib/typescript/commonjs/src/hooks/overlay.d.ts.map +0 -1
  386. package/lib/typescript/commonjs/src/hooks/reanimated.d.ts.map +0 -1
  387. package/lib/typescript/commonjs/src/hooks/separator.d.ts.map +0 -1
  388. package/lib/typescript/commonjs/src/hooks/style.d.ts.map +0 -1
  389. package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +0 -1
  390. package/lib/typescript/commonjs/src/hooks/view.d.ts.map +0 -1
  391. package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
  392. package/lib/typescript/commonjs/src/test/utils/const.d.ts.map +0 -1
  393. package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +0 -1
  394. package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts.map +0 -1
  395. package/lib/typescript/commonjs/src/types/button.d.ts.map +0 -1
  396. package/lib/typescript/commonjs/src/types/icon.d.ts.map +0 -1
  397. package/lib/typescript/commonjs/src/types/list.d.ts.map +0 -1
  398. package/lib/typescript/commonjs/src/types/loading.d.ts.map +0 -1
  399. package/lib/typescript/commonjs/src/types/overlay.d.ts.map +0 -1
  400. package/lib/typescript/commonjs/src/types/provider.d.ts.map +0 -1
  401. package/lib/typescript/commonjs/src/types/react.d.ts.map +0 -1
  402. package/lib/typescript/commonjs/src/types/reanimated.d.ts.map +0 -1
  403. package/lib/typescript/commonjs/src/types/separator.d.ts.map +0 -1
  404. package/lib/typescript/commonjs/src/types/style.d.ts.map +0 -1
  405. package/lib/typescript/commonjs/src/types/switch.d.ts.map +0 -1
  406. package/lib/typescript/commonjs/src/types/text.d.ts.map +0 -1
  407. package/lib/typescript/commonjs/src/types/theme.d.ts.map +0 -1
  408. package/lib/typescript/commonjs/src/types/view.d.ts.map +0 -1
  409. package/lib/typescript/commonjs/src/utils/button/const.d.ts.map +0 -1
  410. package/lib/typescript/commonjs/src/utils/overlay/const.d.ts.map +0 -1
  411. package/lib/typescript/commonjs/src/utils/overlay/func.d.ts.map +0 -1
  412. package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts.map +0 -1
  413. package/lib/typescript/commonjs/src/utils/style/const.d.ts.map +0 -1
  414. package/lib/typescript/commonjs/src/utils/style/func.d.ts.map +0 -1
  415. package/lib/typescript/commonjs/src/utils/switch/const.d.ts.map +0 -1
  416. package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +0 -1
  417. package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +0 -1
  418. package/lib/typescript/module/src/components/button/AnimatedPressable.d.ts +0 -3
  419. package/lib/typescript/module/src/components/button/AnimatedPressable.d.ts.map +0 -1
  420. package/lib/typescript/module/src/components/button/AnimatedThemedPressable.d.ts +0 -5
  421. package/lib/typescript/module/src/components/button/AnimatedThemedPressable.d.ts.map +0 -1
  422. package/lib/typescript/module/src/components/button/ThemedButton.d.ts +0 -5
  423. package/lib/typescript/module/src/components/button/ThemedButton.d.ts.map +0 -1
  424. package/lib/typescript/module/src/components/button/ThemedIconButton.d.ts +0 -5
  425. package/lib/typescript/module/src/components/button/ThemedIconButton.d.ts.map +0 -1
  426. package/lib/typescript/module/src/components/button/ThemedIconTextButton.d.ts +0 -5
  427. package/lib/typescript/module/src/components/button/ThemedIconTextButton.d.ts.map +0 -1
  428. package/lib/typescript/module/src/components/button/ThemedPressable.d.ts +0 -5
  429. package/lib/typescript/module/src/components/button/ThemedPressable.d.ts.map +0 -1
  430. package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts +0 -5
  431. package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts.map +0 -1
  432. package/lib/typescript/module/src/components/list/List.d.ts +0 -4
  433. package/lib/typescript/module/src/components/list/List.d.ts.map +0 -1
  434. package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts +0 -5
  435. package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts.map +0 -1
  436. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts +0 -5
  437. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts.map +0 -1
  438. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -4
  439. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +0 -1
  440. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -4
  441. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +0 -1
  442. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -5
  443. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +0 -1
  444. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -5
  445. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +0 -1
  446. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +0 -4
  447. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +0 -1
  448. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +0 -5
  449. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +0 -1
  450. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +0 -4
  451. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +0 -1
  452. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -4
  453. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +0 -1
  454. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -5
  455. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +0 -1
  456. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -4
  457. package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +0 -1
  458. package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts +0 -5
  459. package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts.map +0 -1
  460. package/lib/typescript/module/src/components/overlay/alert/AlertButton.d.ts +0 -5
  461. package/lib/typescript/module/src/components/overlay/alert/AlertButton.d.ts.map +0 -1
  462. package/lib/typescript/module/src/components/overlay/alert/AlertButtons.d.ts +0 -5
  463. package/lib/typescript/module/src/components/overlay/alert/AlertButtons.d.ts.map +0 -1
  464. package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts +0 -5
  465. package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts.map +0 -1
  466. package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts +0 -12
  467. package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts.map +0 -1
  468. package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts +0 -5
  469. package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +0 -1
  470. package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts +0 -5
  471. package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts.map +0 -1
  472. package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts +0 -5
  473. package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts.map +0 -1
  474. package/lib/typescript/module/src/components/provider/GestureProvider.d.ts +0 -5
  475. package/lib/typescript/module/src/components/provider/GestureProvider.d.ts.map +0 -1
  476. package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts +0 -5
  477. package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts.map +0 -1
  478. package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts +0 -5
  479. package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts.map +0 -1
  480. package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts +0 -5
  481. package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts.map +0 -1
  482. package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts +0 -5
  483. package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts.map +0 -1
  484. package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts +0 -5
  485. package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts.map +0 -1
  486. package/lib/typescript/module/src/components/text/Text.d.ts +0 -1987
  487. package/lib/typescript/module/src/components/text/Text.d.ts.map +0 -1
  488. package/lib/typescript/module/src/components/text/ThemedIconText.d.ts +0 -5
  489. package/lib/typescript/module/src/components/text/ThemedIconText.d.ts.map +0 -1
  490. package/lib/typescript/module/src/components/text/ThemedText.d.ts +0 -5
  491. package/lib/typescript/module/src/components/text/ThemedText.d.ts.map +0 -1
  492. package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +0 -1023
  493. package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts +0 -5
  494. package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts.map +0 -1
  495. package/lib/typescript/module/src/components/view/Box.d.ts +0 -2045
  496. package/lib/typescript/module/src/components/view/Box.d.ts.map +0 -1
  497. package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts +0 -5
  498. package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts.map +0 -1
  499. package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts +0 -5
  500. package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts.map +0 -1
  501. package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts +0 -5
  502. package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts.map +0 -1
  503. package/lib/typescript/module/src/components/view/ThemedView.d.ts +0 -5
  504. package/lib/typescript/module/src/components/view/ThemedView.d.ts.map +0 -1
  505. package/lib/typescript/module/src/hooks/button.d.ts +0 -1647
  506. package/lib/typescript/module/src/hooks/button.d.ts.map +0 -1
  507. package/lib/typescript/module/src/hooks/list.d.ts +0 -4
  508. package/lib/typescript/module/src/hooks/list.d.ts.map +0 -1
  509. package/lib/typescript/module/src/hooks/overlay.d.ts +0 -16
  510. package/lib/typescript/module/src/hooks/overlay.d.ts.map +0 -1
  511. package/lib/typescript/module/src/hooks/reanimated.d.ts +0 -3
  512. package/lib/typescript/module/src/hooks/reanimated.d.ts.map +0 -1
  513. package/lib/typescript/module/src/hooks/separator.d.ts +0 -5
  514. package/lib/typescript/module/src/hooks/separator.d.ts.map +0 -1
  515. package/lib/typescript/module/src/hooks/style.d.ts +0 -11
  516. package/lib/typescript/module/src/hooks/style.d.ts.map +0 -1
  517. package/lib/typescript/module/src/hooks/switch.d.ts +0 -2
  518. package/lib/typescript/module/src/hooks/switch.d.ts.map +0 -1
  519. package/lib/typescript/module/src/hooks/theme.d.ts +0 -329
  520. package/lib/typescript/module/src/hooks/theme.d.ts.map +0 -1
  521. package/lib/typescript/module/src/hooks/view.d.ts +0 -3
  522. package/lib/typescript/module/src/hooks/view.d.ts.map +0 -1
  523. package/lib/typescript/module/src/index.d.ts +0 -53
  524. package/lib/typescript/module/src/index.d.ts.map +0 -1
  525. package/lib/typescript/module/src/test/utils/const.d.ts +0 -4
  526. package/lib/typescript/module/src/test/utils/const.d.ts.map +0 -1
  527. package/lib/typescript/module/src/test/utils/func.d.ts +0 -108
  528. package/lib/typescript/module/src/test/utils/func.d.ts.map +0 -1
  529. package/lib/typescript/module/src/test/utils/testingLib.d.ts +0 -6
  530. package/lib/typescript/module/src/test/utils/testingLib.d.ts.map +0 -1
  531. package/lib/typescript/module/src/types/button.d.ts +0 -32
  532. package/lib/typescript/module/src/types/button.d.ts.map +0 -1
  533. package/lib/typescript/module/src/types/icon.d.ts +0 -19
  534. package/lib/typescript/module/src/types/icon.d.ts.map +0 -1
  535. package/lib/typescript/module/src/types/list.d.ts +0 -29
  536. package/lib/typescript/module/src/types/list.d.ts.map +0 -1
  537. package/lib/typescript/module/src/types/loading.d.ts +0 -12
  538. package/lib/typescript/module/src/types/loading.d.ts.map +0 -1
  539. package/lib/typescript/module/src/types/overlay.d.ts +0 -106
  540. package/lib/typescript/module/src/types/overlay.d.ts.map +0 -1
  541. package/lib/typescript/module/src/types/provider.d.ts +0 -6
  542. package/lib/typescript/module/src/types/provider.d.ts.map +0 -1
  543. package/lib/typescript/module/src/types/react.d.ts +0 -6
  544. package/lib/typescript/module/src/types/react.d.ts.map +0 -1
  545. package/lib/typescript/module/src/types/reanimated.d.ts +0 -5
  546. package/lib/typescript/module/src/types/reanimated.d.ts.map +0 -1
  547. package/lib/typescript/module/src/types/separator.d.ts +0 -7
  548. package/lib/typescript/module/src/types/separator.d.ts.map +0 -1
  549. package/lib/typescript/module/src/types/style.d.ts +0 -18
  550. package/lib/typescript/module/src/types/style.d.ts.map +0 -1
  551. package/lib/typescript/module/src/types/switch.d.ts +0 -27
  552. package/lib/typescript/module/src/types/switch.d.ts.map +0 -1
  553. package/lib/typescript/module/src/types/text.d.ts +0 -19
  554. package/lib/typescript/module/src/types/text.d.ts.map +0 -1
  555. package/lib/typescript/module/src/types/theme.d.ts +0 -15
  556. package/lib/typescript/module/src/types/theme.d.ts.map +0 -1
  557. package/lib/typescript/module/src/types/view.d.ts +0 -22
  558. package/lib/typescript/module/src/types/view.d.ts.map +0 -1
  559. package/lib/typescript/module/src/utils/button/const.d.ts +0 -9
  560. package/lib/typescript/module/src/utils/button/const.d.ts.map +0 -1
  561. package/lib/typescript/module/src/utils/overlay/const.d.ts +0 -24
  562. package/lib/typescript/module/src/utils/overlay/const.d.ts.map +0 -1
  563. package/lib/typescript/module/src/utils/overlay/func.d.ts +0 -11
  564. package/lib/typescript/module/src/utils/overlay/func.d.ts.map +0 -1
  565. package/lib/typescript/module/src/utils/reanimated/func.d.ts +0 -2
  566. package/lib/typescript/module/src/utils/reanimated/func.d.ts.map +0 -1
  567. package/lib/typescript/module/src/utils/style/const.d.ts +0 -5
  568. package/lib/typescript/module/src/utils/style/const.d.ts.map +0 -1
  569. package/lib/typescript/module/src/utils/style/func.d.ts +0 -10
  570. package/lib/typescript/module/src/utils/style/func.d.ts.map +0 -1
  571. package/lib/typescript/module/src/utils/switch/const.d.ts +0 -2
  572. package/lib/typescript/module/src/utils/switch/const.d.ts.map +0 -1
  573. package/lib/typescript/module/src/utils/theme/const.d.ts +0 -173
  574. package/lib/typescript/module/src/utils/theme/const.d.ts.map +0 -1
  575. package/lib/typescript/module/src/utils/theme/restyle.d.ts +0 -1196
  576. package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +0 -1
  577. /package/lib/typescript/{module/package.json → package.json} +0 -0
  578. /package/lib/typescript/{commonjs/src → src}/components/button/AnimatedPressable.d.ts +0 -0
  579. /package/lib/typescript/{commonjs/src → src}/components/button/AnimatedThemedPressable.d.ts +0 -0
  580. /package/lib/typescript/{commonjs/src → src}/components/button/ThemedButton.d.ts +0 -0
  581. /package/lib/typescript/{commonjs/src → src}/components/button/ThemedIconButton.d.ts +0 -0
  582. /package/lib/typescript/{commonjs/src → src}/components/button/ThemedIconTextButton.d.ts +0 -0
  583. /package/lib/typescript/{commonjs/src → src}/components/button/ThemedPressable.d.ts +0 -0
  584. /package/lib/typescript/{commonjs/src → src}/components/icon/ThemedIcon.d.ts +0 -0
  585. /package/lib/typescript/{commonjs/src → src}/components/list/List.d.ts +0 -0
  586. /package/lib/typescript/{commonjs/src → src}/components/loading/ThemedLoading.d.ts +0 -0
  587. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheet.d.ts +0 -0
  588. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -0
  589. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -0
  590. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -0
  591. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -0
  592. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOptList.d.ts +0 -0
  593. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +0 -0
  594. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOpts.d.ts +0 -0
  595. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -0
  596. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -0
  597. /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -0
  598. /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/Alert.d.ts +0 -0
  599. /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertButton.d.ts +0 -0
  600. /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertButtons.d.ts +0 -0
  601. /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertContent.d.ts +0 -0
  602. /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertWrap.d.ts +0 -0
  603. /package/lib/typescript/{commonjs/src → src}/components/overlay/modal/ThemedLoadingModal.d.ts +0 -0
  604. /package/lib/typescript/{commonjs/src → src}/components/overlay/modal/ThemedModal.d.ts +0 -0
  605. /package/lib/typescript/{commonjs/src → src}/components/overlay/toast/ThemedToast.d.ts +0 -0
  606. /package/lib/typescript/{commonjs/src → src}/components/provider/GestureProvider.d.ts +0 -0
  607. /package/lib/typescript/{commonjs/src → src}/components/provider/InsetsProvider.d.ts +0 -0
  608. /package/lib/typescript/{commonjs/src → src}/components/provider/ReactNativeTemplateProviders.d.ts +0 -0
  609. /package/lib/typescript/{commonjs/src → src}/components/provider/ThemeProvider.d.ts +0 -0
  610. /package/lib/typescript/{commonjs/src → src}/components/separator/ThemedSeparator.d.ts +0 -0
  611. /package/lib/typescript/{commonjs/src → src}/components/switch/ThemedSwitch.d.ts +0 -0
  612. /package/lib/typescript/{commonjs/src → src}/components/text/Text.d.ts +0 -0
  613. /package/lib/typescript/{commonjs/src → src}/components/text/ThemedIconText.d.ts +0 -0
  614. /package/lib/typescript/{commonjs/src → src}/components/text/ThemedText.d.ts +0 -0
  615. /package/lib/typescript/{commonjs/src → src}/components/view/AnimatedBox.d.ts +0 -0
  616. /package/lib/typescript/{commonjs/src → src}/components/view/AnimatedThemedView.d.ts +0 -0
  617. /package/lib/typescript/{commonjs/src → src}/components/view/Box.d.ts +0 -0
  618. /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScreenWrap.d.ts +0 -0
  619. /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScreenWrap.web.d.ts +0 -0
  620. /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScrollView.d.ts +0 -0
  621. /package/lib/typescript/{commonjs/src → src}/components/view/ThemedView.d.ts +0 -0
  622. /package/lib/typescript/{commonjs/src → src}/hooks/button.d.ts +0 -0
  623. /package/lib/typescript/{commonjs/src → src}/hooks/list.d.ts +0 -0
  624. /package/lib/typescript/{commonjs/src → src}/hooks/overlay.d.ts +0 -0
  625. /package/lib/typescript/{commonjs/src → src}/hooks/reanimated.d.ts +0 -0
  626. /package/lib/typescript/{commonjs/src → src}/hooks/separator.d.ts +0 -0
  627. /package/lib/typescript/{commonjs/src → src}/hooks/style.d.ts +0 -0
  628. /package/lib/typescript/{commonjs/src → src}/hooks/switch.d.ts +0 -0
  629. /package/lib/typescript/{commonjs/src → src}/hooks/theme.d.ts +0 -0
  630. /package/lib/typescript/{commonjs/src → src}/hooks/view.d.ts +0 -0
  631. /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
  632. /package/lib/typescript/{commonjs/src → src}/test/utils/const.d.ts +0 -0
  633. /package/lib/typescript/{commonjs/src → src}/test/utils/func.d.ts +0 -0
  634. /package/lib/typescript/{commonjs/src → src}/test/utils/testingLib.d.ts +0 -0
  635. /package/lib/typescript/{commonjs/src → src}/types/button.d.ts +0 -0
  636. /package/lib/typescript/{commonjs/src → src}/types/icon.d.ts +0 -0
  637. /package/lib/typescript/{commonjs/src → src}/types/list.d.ts +0 -0
  638. /package/lib/typescript/{commonjs/src → src}/types/loading.d.ts +0 -0
  639. /package/lib/typescript/{commonjs/src → src}/types/overlay.d.ts +0 -0
  640. /package/lib/typescript/{commonjs/src → src}/types/provider.d.ts +0 -0
  641. /package/lib/typescript/{commonjs/src → src}/types/react.d.ts +0 -0
  642. /package/lib/typescript/{commonjs/src → src}/types/reanimated.d.ts +0 -0
  643. /package/lib/typescript/{commonjs/src → src}/types/separator.d.ts +0 -0
  644. /package/lib/typescript/{commonjs/src → src}/types/style.d.ts +0 -0
  645. /package/lib/typescript/{commonjs/src → src}/types/switch.d.ts +0 -0
  646. /package/lib/typescript/{commonjs/src → src}/types/text.d.ts +0 -0
  647. /package/lib/typescript/{commonjs/src → src}/types/theme.d.ts +0 -0
  648. /package/lib/typescript/{commonjs/src → src}/types/view.d.ts +0 -0
  649. /package/lib/typescript/{commonjs/src → src}/utils/button/const.d.ts +0 -0
  650. /package/lib/typescript/{commonjs/src → src}/utils/overlay/const.d.ts +0 -0
  651. /package/lib/typescript/{commonjs/src → src}/utils/overlay/func.d.ts +0 -0
  652. /package/lib/typescript/{commonjs/src → src}/utils/reanimated/func.d.ts +0 -0
  653. /package/lib/typescript/{commonjs/src → src}/utils/style/const.d.ts +0 -0
  654. /package/lib/typescript/{commonjs/src → src}/utils/style/func.d.ts +0 -0
  655. /package/lib/typescript/{commonjs/src → src}/utils/switch/const.d.ts +0 -0
  656. /package/lib/typescript/{commonjs/src → src}/utils/theme/const.d.ts +0 -0
  657. /package/lib/typescript/{commonjs/src → src}/utils/theme/restyle.d.ts +0 -0
@@ -1,83 +1,42 @@
1
1
  "use strict";
2
2
 
3
- import { c as _c } from "react/compiler-runtime";
4
3
  /** @internal */
4
+
5
5
  import { useActionSheetScrollView } from "../../../hooks/overlay.js";
6
6
  import { ActionSheetContext } from "../../../utils/overlay/const.js";
7
7
  import ActionSheetHeader from "./ActionSheetHeader.js";
8
8
  import ActionSheetScrollViewContent from "./ActionSheetScrollViewContent.js";
9
9
  import ActionSheetWrap from "./ActionSheetWrap.js";
10
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const ActionSheetScrollView = t0 => {
12
- const $ = _c(15);
13
- const {
14
- title,
15
- expandable,
16
- scrollViewProps,
17
- children,
18
- onDismiss,
19
- dismissable,
20
- wrapViewProps,
21
- headerShowIcon,
22
- headerWrapProps,
23
- headerTextProps,
24
- headerIconButtonProps
25
- } = t0;
11
+ const ActionSheetScrollView = ({
12
+ title,
13
+ expandable,
14
+ scrollViewProps,
15
+ children,
16
+ onDismiss,
17
+ dismissable,
18
+ wrapViewProps,
19
+ headerShowIcon,
20
+ headerWrapProps,
21
+ headerTextProps,
22
+ headerIconButtonProps
23
+ }) => {
26
24
  const actionSheetContextVal = useActionSheetScrollView(title, expandable, scrollViewProps, onDismiss, dismissable);
27
- let t1;
28
- if ($[0] !== headerIconButtonProps || $[1] !== headerShowIcon || $[2] !== headerTextProps || $[3] !== headerWrapProps) {
29
- t1 = /*#__PURE__*/_jsx(ActionSheetHeader, {
30
- headerShowIcon: headerShowIcon,
31
- headerWrapProps: headerWrapProps,
32
- headerTextProps: headerTextProps,
33
- headerIconButtonProps: headerIconButtonProps
34
- });
35
- $[0] = headerIconButtonProps;
36
- $[1] = headerShowIcon;
37
- $[2] = headerTextProps;
38
- $[3] = headerWrapProps;
39
- $[4] = t1;
40
- } else {
41
- t1 = $[4];
42
- }
43
- let t2;
44
- if ($[5] !== children || $[6] !== scrollViewProps) {
45
- t2 = /*#__PURE__*/_jsx(ActionSheetScrollViewContent, {
46
- scrollViewProps: scrollViewProps,
47
- children: children
48
- });
49
- $[5] = children;
50
- $[6] = scrollViewProps;
51
- $[7] = t2;
52
- } else {
53
- t2 = $[7];
54
- }
55
- let t3;
56
- if ($[8] !== t1 || $[9] !== t2 || $[10] !== wrapViewProps) {
57
- t3 = /*#__PURE__*/_jsxs(ActionSheetWrap, {
25
+ return /*#__PURE__*/_jsx(ActionSheetContext.Provider, {
26
+ value: actionSheetContextVal,
27
+ children: /*#__PURE__*/_jsxs(ActionSheetWrap, {
58
28
  wrapViewProps: wrapViewProps,
59
- children: [t1, t2]
60
- });
61
- $[8] = t1;
62
- $[9] = t2;
63
- $[10] = wrapViewProps;
64
- $[11] = t3;
65
- } else {
66
- t3 = $[11];
67
- }
68
- let t4;
69
- if ($[12] !== actionSheetContextVal || $[13] !== t3) {
70
- t4 = /*#__PURE__*/_jsx(ActionSheetContext.Provider, {
71
- value: actionSheetContextVal,
72
- children: t3
73
- });
74
- $[12] = actionSheetContextVal;
75
- $[13] = t3;
76
- $[14] = t4;
77
- } else {
78
- t4 = $[14];
79
- }
80
- return t4;
29
+ children: [/*#__PURE__*/_jsx(ActionSheetHeader, {
30
+ headerShowIcon: headerShowIcon,
31
+ headerWrapProps: headerWrapProps,
32
+ headerTextProps: headerTextProps,
33
+ headerIconButtonProps: headerIconButtonProps
34
+ }), /*#__PURE__*/_jsx(ActionSheetScrollViewContent, {
35
+ scrollViewProps: scrollViewProps,
36
+ children: children
37
+ })]
38
+ })
39
+ });
81
40
  };
82
41
  export default ActionSheetScrollView;
83
42
  //# sourceMappingURL=ActionSheetScrollView.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useActionSheetScrollView","ActionSheetContext","ActionSheetHeader","ActionSheetScrollViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetScrollView","t0","$","_c","title","expandable","scrollViewProps","children","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconButtonProps","actionSheetContextVal","t1","t2","t3","t4","Provider"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollView.tsx"],"mappings":";;;AAAA;AAEA,SAASA,wBAAwB,QAAQ,2BAAwB;AAEjE,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,4BAA4B,MAAM,mCAAgC;AACzE,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,qBAAqD,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,KAAA;IAAAC,UAAA;IAAAC,eAAA;IAAAC,QAAA;IAAAC,SAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,cAAA;IAAAC,eAAA;IAAAC,eAAA;IAAAC;EAAA,IAAAb,EAY9D;EACC,MAAAc,qBAAA,GAA8BxB,wBAAwB,CACpDa,KAAK,EACLC,UAAU,EACVC,eAAe,EACfE,SAAS,EACTC,WACF,CAAC;EAAC,IAAAO,EAAA;EAAA,IAAAd,CAAA,QAAAY,qBAAA,IAAAZ,CAAA,QAAAS,cAAA,IAAAT,CAAA,QAAAW,eAAA,IAAAX,CAAA,QAAAU,eAAA;IAKII,EAAA,gBAAAnB,IAAA,CAACJ,iBAAiB;MACAkB,cAAc,EAAdA,cAAc;MACbC,eAAe,EAAfA,eAAe;MACfC,eAAe,EAAfA,eAAe;MACTC,qBAAqB,EAArBA;IAAqB,CAC7C,CAAC;IAAAZ,CAAA,MAAAY,qBAAA;IAAAZ,CAAA,MAAAS,cAAA;IAAAT,CAAA,MAAAW,eAAA;IAAAX,CAAA,MAAAU,eAAA;IAAAV,CAAA,MAAAc,EAAA;EAAA;IAAAA,EAAA,GAAAd,CAAA;EAAA;EAAA,IAAAe,EAAA;EAAA,IAAAf,CAAA,QAAAK,QAAA,IAAAL,CAAA,QAAAI,eAAA;IACFW,EAAA,gBAAApB,IAAA,CAACH,4BAA4B;MAAkBY,eAAe,EAAfA,eAAe;MAAAC,QAAA,EAC3DA;IAAQ,CACmB,CAAC;IAAAL,CAAA,MAAAK,QAAA;IAAAL,CAAA,MAAAI,eAAA;IAAAJ,CAAA,MAAAe,EAAA;EAAA;IAAAA,EAAA,GAAAf,CAAA;EAAA;EAAA,IAAAgB,EAAA;EAAA,IAAAhB,CAAA,QAAAc,EAAA,IAAAd,CAAA,QAAAe,EAAA,IAAAf,CAAA,SAAAQ,aAAA;IATjCQ,EAAA,gBAAAnB,KAAA,CAACJ,eAAe;MAAgBe,aAAa,EAAbA,aAAa;MAAAH,QAAA,GAC3CS,EAKE,EACFC,EAE+B;IAAA,CAChB,CAAC;IAAAf,CAAA,MAAAc,EAAA;IAAAd,CAAA,MAAAe,EAAA;IAAAf,CAAA,OAAAQ,aAAA;IAAAR,CAAA,OAAAgB,EAAA;EAAA;IAAAA,EAAA,GAAAhB,CAAA;EAAA;EAAA,IAAAiB,EAAA;EAAA,IAAAjB,CAAA,SAAAa,qBAAA,IAAAb,CAAA,SAAAgB,EAAA;IAXpBC,EAAA,gBAAAtB,IAAA,CAAAL,kBAAA,CAAA4B,QAAA;MAAoCL,KAAqB,EAArBA,qBAAqB;MAAAR,QAAA,EACvDW;IAUkB,CACS,CAAC;IAAAhB,CAAA,OAAAa,qBAAA;IAAAb,CAAA,OAAAgB,EAAA;IAAAhB,CAAA,OAAAiB,EAAA;EAAA;IAAAA,EAAA,GAAAjB,CAAA;EAAA;EAAA,OAZ9BiB,EAY8B;AAAA,CAEjC;AAED,eAAenB,qBAAqB","ignoreList":[]}
1
+ {"version":3,"names":["useActionSheetScrollView","ActionSheetContext","ActionSheetHeader","ActionSheetScrollViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetScrollView","title","expandable","scrollViewProps","children","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconButtonProps","actionSheetContextVal","Provider","value"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollView.tsx"],"mappings":";;AAAA;;AAEA,SAASA,wBAAwB,QAAQ,2BAAwB;AAEjE,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,4BAA4B,MAAM,mCAAgC;AACzE,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,qBAAqD,GAAGA,CAAC;EAC7DC,KAAK;EACLC,UAAU;EACVC,eAAe;EACfC,QAAQ;EACRC,SAAS;EACTC,WAAW;EACXC,aAAa;EACbC,cAAc;EACdC,eAAe;EACfC,eAAe;EACfC;AACF,CAAC,KAAK;EACJ,MAAMC,qBAAqB,GAAGrB,wBAAwB,CACpDU,KAAK,EACLC,UAAU,EACVC,eAAe,EACfE,SAAS,EACTC,WACF,CAAC;EAED,oBACET,IAAA,CAACL,kBAAkB,CAACqB,QAAQ;IAACC,KAAK,EAAEF,qBAAsB;IAAAR,QAAA,eACxDL,KAAA,CAACJ,eAAe;MAACY,aAAa,EAAEA,aAAc;MAAAH,QAAA,gBAC5CP,IAAA,CAACJ,iBAAiB;QAChBe,cAAc,EAAEA,cAAe;QAC/BC,eAAe,EAAEA,eAAgB;QACjCC,eAAe,EAAEA,eAAgB;QACjCC,qBAAqB,EAAEA;MAAsB,CAC9C,CAAC,eACFd,IAAA,CAACH,4BAA4B;QAACS,eAAe,EAAEA,eAAgB;QAAAC,QAAA,EAC5DA;MAAQ,CACmB,CAAC;IAAA,CAChB;EAAC,CACS,CAAC;AAElC,CAAC;AAED,eAAeJ,qBAAqB","ignoreList":[]}
@@ -1,58 +1,31 @@
1
1
  "use strict";
2
2
 
3
- import { c as _c } from "react/compiler-runtime";
4
3
  /** @internal */
4
+
5
5
  import { getActionSheetContext } from "../../../utils/overlay/func.js";
6
6
  import ThemedScrollView from "../../view/ThemedScrollView.js";
7
7
  import ActionSheetContentGesture from "./ActionSheetContentGesture.js";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
- const ActionSheetScrollViewContent = t0 => {
10
- const $ = _c(7);
11
- const {
12
- scrollViewProps,
13
- children
14
- } = t0;
15
- let t1;
16
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
17
- t1 = getActionSheetContext();
18
- $[0] = t1;
19
- } else {
20
- t1 = $[0];
21
- }
9
+ const ActionSheetScrollViewContent = ({
10
+ scrollViewProps,
11
+ children
12
+ }) => {
22
13
  const {
23
14
  contentAnimatedRefObj,
24
15
  setContentHeight
25
- } = t1;
26
- let t2;
27
- if ($[1] !== scrollViewProps) {
28
- t2 = (width, height) => {
29
- setContentHeight?.(height);
30
- scrollViewProps?.onContentSizeChange?.(width, height);
31
- };
32
- $[1] = scrollViewProps;
33
- $[2] = t2;
34
- } else {
35
- t2 = $[2];
36
- }
37
- const onContentSizeChange = t2;
38
- let t3;
39
- if ($[3] !== children || $[4] !== onContentSizeChange || $[5] !== scrollViewProps) {
40
- t3 = /*#__PURE__*/_jsx(ActionSheetContentGesture, {
41
- children: /*#__PURE__*/_jsx(ThemedScrollView, {
42
- ref: contentAnimatedRefObj,
43
- ...scrollViewProps,
44
- onContentSizeChange: onContentSizeChange,
45
- children: children
46
- })
47
- });
48
- $[3] = children;
49
- $[4] = onContentSizeChange;
50
- $[5] = scrollViewProps;
51
- $[6] = t3;
52
- } else {
53
- t3 = $[6];
54
- }
55
- return t3;
16
+ } = getActionSheetContext();
17
+ const onContentSizeChange = (width, height) => {
18
+ setContentHeight?.(height);
19
+ scrollViewProps?.onContentSizeChange?.(width, height);
20
+ };
21
+ return /*#__PURE__*/_jsx(ActionSheetContentGesture, {
22
+ children: /*#__PURE__*/_jsx(ThemedScrollView, {
23
+ ref: contentAnimatedRefObj,
24
+ ...scrollViewProps,
25
+ onContentSizeChange: onContentSizeChange,
26
+ children: children
27
+ })
28
+ });
56
29
  };
57
30
  export default ActionSheetScrollViewContent;
58
31
  //# sourceMappingURL=ActionSheetScrollViewContent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["getActionSheetContext","ThemedScrollView","ActionSheetContentGesture","jsx","_jsx","ActionSheetScrollViewContent","t0","$","_c","scrollViewProps","children","t1","Symbol","for","contentAnimatedRefObj","setContentHeight","t2","width","height","onContentSizeChange","t3","ref"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"mappings":";;;AAAA;AAQA,SAASA,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,gBAAgB,MAAM,gCAA6B;AAC1D,OAAOC,yBAAyB,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpE,MAAMC,4BAEL,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,eAAA;IAAAC;EAAA,IAAAJ,EAA6B;EAAA,IAAAK,EAAA;EAAA,IAAAJ,CAAA,QAAAK,MAAA,CAAAC,GAAA;IACoBF,EAAA,GAAAX,qBAAqB,CAAC,CAAC;IAAAO,CAAA,MAAAI,EAAA;EAAA;IAAAA,EAAA,GAAAJ,CAAA;EAAA;EAA3E;IAAAO,qBAAA;IAAAC;EAAA,IAAoDJ,EAAuB;EAAC,IAAAK,EAAA;EAAA,IAAAT,CAAA,QAAAE,eAAA;IAC3BO,EAAA,GAAAA,CAAAC,KAAA,EAAAC,MAAA;MAI/CH,gBAAgB,GAAGG,MAAM,CAAC;MAC1BT,eAAe,EAAAU,mBAAsC,GAAdF,KAAK,EAAEC,MAAM,CAAC;IAAA,CACtD;IAAAX,CAAA,MAAAE,eAAA;IAAAF,CAAA,MAAAS,EAAA;EAAA;IAAAA,EAAA,GAAAT,CAAA;EAAA;EAND,MAAAY,mBAAA,GAAiDH,EAMhD;EAAC,IAAAI,EAAA;EAAA,IAAAb,CAAA,QAAAG,QAAA,IAAAH,CAAA,QAAAY,mBAAA,IAAAZ,CAAA,QAAAE,eAAA;IAGAW,EAAA,gBAAAhB,IAAA,CAACF,yBAAyB;MAAAQ,QAAA,eACxBN,IAAA,CAACH,gBAAgB;QACVoB,GAAyC,EAAzCP,qBAAyC;QAAA,GAC1CL,eAAe;QACEU,mBAAmB,EAAnBA,mBAAmB;QAAAT,QAAA,EAEvCA;MAAQ,CACO;IAAC,CACM,CAAC;IAAAH,CAAA,MAAAG,QAAA;IAAAH,CAAA,MAAAY,mBAAA;IAAAZ,CAAA,MAAAE,eAAA;IAAAF,CAAA,MAAAa,EAAA;EAAA;IAAAA,EAAA,GAAAb,CAAA;EAAA;EAAA,OAR5Ba,EAQ4B;AAAA,CAE/B;AAED,eAAef,4BAA4B","ignoreList":[]}
1
+ {"version":3,"names":["getActionSheetContext","ThemedScrollView","ActionSheetContentGesture","jsx","_jsx","ActionSheetScrollViewContent","scrollViewProps","children","contentAnimatedRefObj","setContentHeight","onContentSizeChange","width","height","ref"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"mappings":";;AAAA;;AAQA,SAASA,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,gBAAgB,MAAM,gCAA6B;AAC1D,OAAOC,yBAAyB,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpE,MAAMC,4BAEL,GAAGA,CAAC;EAAEC,eAAe;EAAEC;AAAS,CAAC,KAAK;EACrC,MAAM;IAAEC,qBAAqB;IAAEC;EAAiB,CAAC,GAAGT,qBAAqB,CAAC,CAAC;EAC3E,MAAMU,mBAAwC,GAAGA,CAC/CC,KAAa,EACbC,MAAc,KACX;IACHH,gBAAgB,GAAGG,MAAM,CAAC;IAC1BN,eAAe,EAAEI,mBAAmB,GAAGC,KAAK,EAAEC,MAAM,CAAC;EACvD,CAAC;EAED,oBACER,IAAA,CAACF,yBAAyB;IAAAK,QAAA,eACxBH,IAAA,CAACH,gBAAgB;MACfY,GAAG,EAAEL,qBAA0C;MAAA,GAC3CF,eAAe;MACnBI,mBAAmB,EAAEA,mBAAoB;MAAAH,QAAA,EAExCA;IAAQ,CACO;EAAC,CACM,CAAC;AAEhC,CAAC;AAED,eAAeF,4BAA4B","ignoreList":[]}
@@ -1,162 +1,54 @@
1
1
  "use strict";
2
2
 
3
- import { c as _c } from "react/compiler-runtime";
4
3
  /** @internal */
4
+
5
5
  import { useAnimatedStyle } from 'react-native-reanimated';
6
6
  import { useActionSheetOnDismiss } from "../../../hooks/overlay.js";
7
7
  import { getActionSheetContext, getActionSheetMaxHeight } from "../../../utils/overlay/func.js";
8
8
  import AnimatedThemedView from "../../view/AnimatedThemedView.js";
9
9
  import ThemedModal from "../modal/ThemedModal.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
- const _worklet_4065181187102_init_data = {
12
- code: "function ActionSheetWrapTsx1(){const{wrapViewProps,heightSharedVal,translateYSharedVal}=this.__closure;var _wrapViewProps,_heightSharedVal$get,_heightSharedVal,_translateYSharedVal$,_translateYSharedVal;return{...((_wrapViewProps=wrapViewProps)===null||_wrapViewProps===void 0?void 0:_wrapViewProps.style),height:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0,transform:[{translateY:(_translateYSharedVal$=(_translateYSharedVal=translateYSharedVal)===null||_translateYSharedVal===void 0?void 0:_translateYSharedVal.get())!==null&&_translateYSharedVal$!==void 0?_translateYSharedVal$:0}]};}",
13
- location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
14
- sourceMap: "{\"version\":3,\"names\":[\"ActionSheetWrapTsx1\",\"wrapViewProps\",\"heightSharedVal\",\"translateYSharedVal\",\"__closure\",\"_wrapViewProps\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"_translateYSharedVal$\",\"_translateYSharedVal\",\"style\",\"height\",\"get\",\"transform\",\"translateY\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"AA4BI,SAAAA,oBAAA,QAAAC,aAAA,CAAAC,eAAA,CAAAC,mBAAA,OAAAC,SAAA,KAAAC,cAAA,CAAAC,oBAAA,CAAAC,gBAAA,CAAAC,qBAAA,CAAAC,oBAAA,OAAO,MAAAJ,cAAA,CACFJ,aAAa,UAAAI,cAAA,iBAAbA,cAAA,CAAaK,KAAO,EAAAC,MAAA,EAAAL,oBAAA,EAAAC,gBAAA,CACfL,eAAe,UAAAK,gBAAA,iBAAfA,gBAAA,CAAeK,GAAO,CAAI,CAAC,UAAAN,oBAAA,UAAAA,oBAAA,CAA3B,CAA2B,CAAAO,SAAA,CACxB,CAAC,CAAAC,UAAA,EAAAN,qBAAA,EAAAC,oBAAA,CAAcN,mBAAmB,UAAAM,oBAAA,iBAAnBA,oBAAA,CAAmBG,GAAO,CAAI,CAAC,UAAAJ,qBAAA,UAAAA,qBAAA,CAA/B,CAAgC,CAAC,CAC7D,CAAC\",\"ignoreList\":[]}"
15
- };
16
- const _worklet_1284727352979_init_data = {
17
- code: "function ActionSheetWrapTsx2(){const{expandable,expandableHeightSharedVal,heightSharedVal}=this.__closure;var _expandableHeightShar,_expandableHeightShar2,_heightSharedVal$get,_heightSharedVal;return{height:expandable?(_expandableHeightShar=(_expandableHeightShar2=expandableHeightSharedVal)===null||_expandableHeightShar2===void 0?void 0:_expandableHeightShar2.get())!==null&&_expandableHeightShar!==void 0?_expandableHeightShar:0:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0};}",
18
- location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
19
- sourceMap: "{\"version\":3,\"names\":[\"ActionSheetWrapTsx2\",\"expandable\",\"expandableHeightSharedVal\",\"heightSharedVal\",\"__closure\",\"_expandableHeightShar\",\"_expandableHeightShar2\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"height\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"AAoCI,SAAAA,oBAAA,QAAAC,UAAA,CAAAC,yBAAA,CAAAC,eAAA,OAAAC,SAAA,KAAAC,qBAAA,CAAAC,sBAAA,CAAAC,oBAAA,CAAAC,gBAAA,OAAO,CAAAC,MAAA,CACGR,UAAU,EAAAI,qBAAA,EAAAC,sBAAA,CACbJ,yBAAyB,UAAAI,sBAAA,iBAAzBA,sBAAA,CAAyBI,GAAO,CAAI,CAAC,UAAAL,qBAAA,UAAAA,qBAAA,CAArC,CAC4B,EAAAE,oBAAA,EAAAC,gBAAA,CAA5BL,eAAe,UAAAK,gBAAA,iBAAfA,gBAAA,CAAeE,GAAO,CAAI,CAAC,UAAAH,oBAAA,UAAAA,oBAAA,CAA3B,CACP,CAAC\",\"ignoreList\":[]}"
20
- };
21
- const ActionSheetWrap = t0 => {
22
- const $ = _c(14);
23
- const {
24
- wrapViewProps,
25
- children
26
- } = t0;
27
- let t1;
28
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
29
- t1 = getActionSheetContext();
30
- $[0] = t1;
31
- } else {
32
- t1 = $[0];
33
- }
11
+ const ActionSheetWrap = ({
12
+ wrapViewProps,
13
+ children
14
+ }) => {
34
15
  const {
35
16
  expandable,
36
17
  dismissable,
37
18
  translateYSharedVal,
38
19
  heightSharedVal,
39
20
  expandableHeightSharedVal
40
- } = t1;
21
+ } = getActionSheetContext();
41
22
  const onDismiss = useActionSheetOnDismiss();
42
- const outerWrapAnimatedStyle = useAnimatedStyle(function ActionSheetWrapTsx1Factory({
43
- _worklet_4065181187102_init_data,
44
- wrapViewProps,
45
- heightSharedVal,
46
- translateYSharedVal
47
- }) {
48
- const _e = [new global.Error(), -4, -27];
49
- const ActionSheetWrapTsx1 = () => ({
50
- ...wrapViewProps?.style,
51
- height: heightSharedVal?.get() ?? 0,
52
- transform: [{
53
- translateY: translateYSharedVal?.get() ?? 0
54
- }]
55
- });
56
- ActionSheetWrapTsx1.__closure = {
57
- wrapViewProps,
58
- heightSharedVal,
59
- translateYSharedVal
60
- };
61
- ActionSheetWrapTsx1.__workletHash = 4065181187102;
62
- ActionSheetWrapTsx1.__pluginVersion = "0.6.1";
63
- ActionSheetWrapTsx1.__initData = _worklet_4065181187102_init_data;
64
- ActionSheetWrapTsx1.__stackDetails = _e;
65
- return ActionSheetWrapTsx1;
66
- }({
67
- _worklet_4065181187102_init_data,
68
- wrapViewProps,
69
- heightSharedVal,
70
- translateYSharedVal
23
+ const outerWrapAnimatedStyle = useAnimatedStyle(() => ({
24
+ ...wrapViewProps?.style,
25
+ height: heightSharedVal?.get() ?? 0,
26
+ transform: [{
27
+ translateY: translateYSharedVal?.get() ?? 0
28
+ }]
71
29
  }), [wrapViewProps, translateYSharedVal, heightSharedVal]);
72
- const innerWrapAnimatedStyle = useAnimatedStyle(function ActionSheetWrapTsx2Factory({
73
- _worklet_1284727352979_init_data,
74
- expandable,
75
- expandableHeightSharedVal,
76
- heightSharedVal
77
- }) {
78
- const _e = [new global.Error(), -4, -27];
79
- const ActionSheetWrapTsx2 = () => ({
80
- height: expandable ? expandableHeightSharedVal?.get() ?? 0 : heightSharedVal?.get() ?? 0
81
- });
82
- ActionSheetWrapTsx2.__closure = {
83
- expandable,
84
- expandableHeightSharedVal,
85
- heightSharedVal
86
- };
87
- ActionSheetWrapTsx2.__workletHash = 1284727352979;
88
- ActionSheetWrapTsx2.__pluginVersion = "0.6.1";
89
- ActionSheetWrapTsx2.__initData = _worklet_1284727352979_init_data;
90
- ActionSheetWrapTsx2.__stackDetails = _e;
91
- return ActionSheetWrapTsx2;
92
- }({
93
- _worklet_1284727352979_init_data,
94
- expandable,
95
- expandableHeightSharedVal,
96
- heightSharedVal
30
+ const innerWrapAnimatedStyle = useAnimatedStyle(() => ({
31
+ height: expandable ? expandableHeightSharedVal?.get() ?? 0 : heightSharedVal?.get() ?? 0
97
32
  }), [expandable, heightSharedVal, expandableHeightSharedVal]);
98
- let t2;
99
- if ($[1] !== onDismiss) {
100
- t2 = () => {
101
- onDismiss();
102
- };
103
- $[1] = onDismiss;
104
- $[2] = t2;
105
- } else {
106
- t2 = $[2];
107
- }
108
- const onModalDismiss = t2;
109
- let t3;
110
- if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
111
- t3 = getActionSheetMaxHeight(expandable);
112
- $[3] = t3;
113
- } else {
114
- t3 = $[3];
115
- }
116
- let t4;
117
- if ($[4] !== children || $[5] !== innerWrapAnimatedStyle) {
118
- t4 = /*#__PURE__*/_jsx(AnimatedThemedView, {
119
- style: innerWrapAnimatedStyle,
120
- children: children
121
- });
122
- $[4] = children;
123
- $[5] = innerWrapAnimatedStyle;
124
- $[6] = t4;
125
- } else {
126
- t4 = $[6];
127
- }
128
- let t5;
129
- if ($[7] !== outerWrapAnimatedStyle || $[8] !== t4 || $[9] !== wrapViewProps) {
130
- t5 = /*#__PURE__*/_jsx(AnimatedThemedView, {
131
- alignSelf: "stretch",
132
- maxHeight: t3,
133
- overflow: "hidden",
33
+ const onModalDismiss = () => {
34
+ onDismiss();
35
+ };
36
+ return /*#__PURE__*/_jsx(ThemedModal, {
37
+ onDismiss: onModalDismiss,
38
+ dismissable: dismissable,
39
+ justifyContent: 'flex-end',
40
+ children: /*#__PURE__*/_jsx(AnimatedThemedView, {
41
+ alignSelf: 'stretch',
42
+ maxHeight: getActionSheetMaxHeight(expandable),
43
+ overflow: 'hidden',
134
44
  ...wrapViewProps,
135
45
  style: outerWrapAnimatedStyle,
136
- children: t4
137
- });
138
- $[7] = outerWrapAnimatedStyle;
139
- $[8] = t4;
140
- $[9] = wrapViewProps;
141
- $[10] = t5;
142
- } else {
143
- t5 = $[10];
144
- }
145
- let t6;
146
- if ($[11] !== onModalDismiss || $[12] !== t5) {
147
- t6 = /*#__PURE__*/_jsx(ThemedModal, {
148
- onDismiss: onModalDismiss,
149
- dismissable: dismissable,
150
- justifyContent: "flex-end",
151
- children: t5
152
- });
153
- $[11] = onModalDismiss;
154
- $[12] = t5;
155
- $[13] = t6;
156
- } else {
157
- t6 = $[13];
158
- }
159
- return t6;
46
+ children: /*#__PURE__*/_jsx(AnimatedThemedView, {
47
+ style: innerWrapAnimatedStyle,
48
+ children: children
49
+ })
50
+ })
51
+ });
160
52
  };
161
53
  export default ActionSheetWrap;
162
54
  //# sourceMappingURL=ActionSheetWrap.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useAnimatedStyle","useActionSheetOnDismiss","getActionSheetContext","getActionSheetMaxHeight","AnimatedThemedView","ThemedModal","jsx","_jsx","_worklet_4065181187102_init_data","code","location","sourceMap","_worklet_1284727352979_init_data","ActionSheetWrap","t0","$","_c","wrapViewProps","children","t1","Symbol","for","expandable","dismissable","translateYSharedVal","heightSharedVal","expandableHeightSharedVal","onDismiss","outerWrapAnimatedStyle","ActionSheetWrapTsx1Factory","_e","global","Error","ActionSheetWrapTsx1","style","height","get","transform","translateY","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","innerWrapAnimatedStyle","ActionSheetWrapTsx2Factory","ActionSheetWrapTsx2","t2","onModalDismiss","t3","t4","t5","alignSelf","maxHeight","overflow","t6","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetWrap.tsx"],"mappings":";;;AAAA;AAEA,SAASA,gBAAgB,QAAQ,yBAAyB;AAC1D,SAASC,uBAAuB,QAAQ,2BAAwB;AAKhE,SACEC,qBAAqB,EACrBC,uBAAuB,QAClB,gCAA6B;AACpC,OAAOC,kBAAkB,MAAM,kCAA+B;AAC9D,OAAOC,WAAW,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAAA,MAAAC,gCAAA;EAAAC,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAAA,MAAAC,gCAAA;EAAAH,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAE/C,MAAME,eAAyC,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,aAAA;IAAAC;EAAA,IAAAJ,EAGlD;EAAA,IAAAK,EAAA;EAAA,IAAAJ,CAAA,QAAAK,MAAA,CAAAC,GAAA;IAOKF,EAAA,GAAAjB,qBAAqB,CAAC,CAAC;IAAAa,CAAA,MAAAI,EAAA;EAAA;IAAAA,EAAA,GAAAJ,CAAA;EAAA;EAN3B;IAAAO,UAAA;IAAAC,WAAA;IAAAC,mBAAA;IAAAC,eAAA;IAAAC;EAAA,IAMIP,EAAuB;EAC3B,MAAAQ,SAAA,GAAkB1B,uBAAuB,CAAC,CAAC;EAC3C,MAAA2B,sBAAA,GAA+B5B,gBAAgB,CAC7C,SAAA6B,2BAAA;IAAArB,gCAAA;IACKS,aAAa;IACRQ,eAAe;IACGD;EAAmB;IAAA,MAAAM,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAC,mBAAA,GAH/CA,CAAA,MAAO;MAAA,GACFhB,aAAa,EAAAiB,KAAO;MAAAC,MAAA,EACfV,eAAe,EAAAW,GAAO,CAAI,CAAC,IAA3B,CAA2B;MAAAC,SAAA,EACxB,CAAC;QAAAC,UAAA,EAAcd,mBAAmB,EAAAY,GAAO,CAAI,CAAC,IAA/B;MAAgC,CAAC;IAC7D,CAAC,CAAC;IAAAH,mBAAA,CAAAM,SAAA;MAHGtB,aAAa;MACRQ,eAAe;MACGD;IAAmB;IAAAS,mBAAA,CAAAO,aAAA;IAAAP,mBAAA,CAAAQ,eAAA;IAAAR,mBAAA,CAAAS,UAAA,GAAAlC,gCAAA;IAAAyB,mBAAA,CAAAU,cAAA,GAAAb,EAAA;IAAA,OAAAG,mBAAA;EAAA,CAH/C;IAAAzB,gCAAA;IACKS,aAAa;IACRQ,eAAe;IACGD;EAAmB,IAE/C,CAACP,aAAa,EAAEO,mBAAmB,EAAEC,eAAe,CACtD,CAAC;EACD,MAAAmB,sBAAA,GAA+B5C,gBAAgB,CAC7C,SAAA6C,2BAAA;IAAAjC,gCAAA;IACUU,UAAU;IACbI,yBAAyB;IACzBD;EAAe;IAAA,MAAAK,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAc,mBAAA,GAHtBA,CAAA,MAAO;MAAAX,MAAA,EACGb,UAAU,GACbI,yBAAyB,EAAAU,GAAO,CAAI,CAAC,IAArC,CAC4B,GAA5BX,eAAe,EAAAW,GAAO,CAAI,CAAC,IAA3B;IACP,CAAC,CAAC;IAAAU,mBAAA,CAAAP,SAAA;MAHQjB,UAAU;MACbI,yBAAyB;MACzBD;IAAe;IAAAqB,mBAAA,CAAAN,aAAA;IAAAM,mBAAA,CAAAL,eAAA;IAAAK,mBAAA,CAAAJ,UAAA,GAAA9B,gCAAA;IAAAkC,mBAAA,CAAAH,cAAA,GAAAb,EAAA;IAAA,OAAAgB,mBAAA;EAAA,CAHtB;IAAAlC,gCAAA;IACUU,UAAU;IACbI,yBAAyB;IACzBD;EAAe,IAEtB,CAACH,UAAU,EAAEG,eAAe,EAAEC,yBAAyB,CACzD,CAAC;EAAC,IAAAqB,EAAA;EAAA,IAAAhC,CAAA,QAAAY,SAAA;IAEoDoB,EAAA,GAAAA,CAAA;MACpDpB,SAAS,CAAC,CAAC;IAAA,CACZ;IAAAZ,CAAA,MAAAY,SAAA;IAAAZ,CAAA,MAAAgC,EAAA;EAAA;IAAAA,EAAA,GAAAhC,CAAA;EAAA;EAFD,MAAAiC,cAAA,GAAsDD,EAErD;EAAC,IAAAE,EAAA;EAAA,IAAAlC,CAAA,QAAAK,MAAA,CAAAC,GAAA;IAUe4B,EAAA,GAAA9C,uBAAuB,CAACmB,UAAU,CAAC;IAAAP,CAAA,MAAAkC,EAAA;EAAA;IAAAA,EAAA,GAAAlC,CAAA;EAAA;EAAA,IAAAmC,EAAA;EAAA,IAAAnC,CAAA,QAAAG,QAAA,IAAAH,CAAA,QAAA6B,sBAAA;IAK9CM,EAAA,gBAAA3C,IAAA,CAACH,kBAAkB;MAAQwC,KAAsB,EAAtBA,sBAAsB;MAAA1B,QAAA,EAC9CA;IAAQ,CACS,CAAC;IAAAH,CAAA,MAAAG,QAAA;IAAAH,CAAA,MAAA6B,sBAAA;IAAA7B,CAAA,MAAAmC,EAAA;EAAA;IAAAA,EAAA,GAAAnC,CAAA;EAAA;EAAA,IAAAoC,EAAA;EAAA,IAAApC,CAAA,QAAAa,sBAAA,IAAAb,CAAA,QAAAmC,EAAA,IAAAnC,CAAA,QAAAE,aAAA;IATvBkC,EAAA,gBAAA5C,IAAA,CAACH,kBAAkB;MACNgD,SAAS,EAAT,SAAS;MACTC,SAAmC,EAAnCJ,EAAmC;MACpCK,QAAQ,EAAR,QAAQ;MAAA,GACdrC,aAAa;MACVW,KAAsB,EAAtBA,sBAAsB;MAAAV,QAAA,EAE7BgC;IAEqB,CACH,CAAC;IAAAnC,CAAA,MAAAa,sBAAA;IAAAb,CAAA,MAAAmC,EAAA;IAAAnC,CAAA,MAAAE,aAAA;IAAAF,CAAA,OAAAoC,EAAA;EAAA;IAAAA,EAAA,GAAApC,CAAA;EAAA;EAAA,IAAAwC,EAAA;EAAA,IAAAxC,CAAA,SAAAiC,cAAA,IAAAjC,CAAA,SAAAoC,EAAA;IAfvBI,EAAA,gBAAAhD,IAAA,CAACF,WAAW;MACC2C,SAAc,EAAdA,cAAc;MACZzB,WAAW,EAAXA,WAAW;MACRiC,cAAU,EAAV,UAAU;MAAAtC,QAAA,EAE1BiC;IAUqB,CACV,CAAC;IAAApC,CAAA,OAAAiC,cAAA;IAAAjC,CAAA,OAAAoC,EAAA;IAAApC,CAAA,OAAAwC,EAAA;EAAA;IAAAA,EAAA,GAAAxC,CAAA;EAAA;EAAA,OAhBdwC,EAgBc;AAAA,CAEjB;AAED,eAAe1C,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["useAnimatedStyle","useActionSheetOnDismiss","getActionSheetContext","getActionSheetMaxHeight","AnimatedThemedView","ThemedModal","jsx","_jsx","ActionSheetWrap","wrapViewProps","children","expandable","dismissable","translateYSharedVal","heightSharedVal","expandableHeightSharedVal","onDismiss","outerWrapAnimatedStyle","style","height","get","transform","translateY","innerWrapAnimatedStyle","onModalDismiss","justifyContent","alignSelf","maxHeight","overflow"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetWrap.tsx"],"mappings":";;AAAA;;AAEA,SAASA,gBAAgB,QAAQ,yBAAyB;AAC1D,SAASC,uBAAuB,QAAQ,2BAAwB;AAKhE,SACEC,qBAAqB,EACrBC,uBAAuB,QAClB,gCAA6B;AACpC,OAAOC,kBAAkB,MAAM,kCAA+B;AAC9D,OAAOC,WAAW,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,MAAMC,eAAyC,GAAGA,CAAC;EACjDC,aAAa;EACbC;AACF,CAAC,KAAK;EACJ,MAAM;IACJC,UAAU;IACVC,WAAW;IACXC,mBAAmB;IACnBC,eAAe;IACfC;EACF,CAAC,GAAGb,qBAAqB,CAAC,CAAC;EAC3B,MAAMc,SAAS,GAAGf,uBAAuB,CAAC,CAAC;EAC3C,MAAMgB,sBAAsB,GAAGjB,gBAAgB,CAC7C,OAAO;IACL,GAAGS,aAAa,EAAES,KAAK;IACvBC,MAAM,EAAEL,eAAe,EAAEM,GAAG,CAAC,CAAC,IAAI,CAAC;IACnCC,SAAS,EAAE,CAAC;MAAEC,UAAU,EAAET,mBAAmB,EAAEO,GAAG,CAAC,CAAC,IAAI;IAAE,CAAC;EAC7D,CAAC,CAAC,EACF,CAACX,aAAa,EAAEI,mBAAmB,EAAEC,eAAe,CACtD,CAAC;EACD,MAAMS,sBAAsB,GAAGvB,gBAAgB,CAC7C,OAAO;IACLmB,MAAM,EAAER,UAAU,GACbI,yBAAyB,EAAEK,GAAG,CAAC,CAAC,IAAI,CAAC,GACrCN,eAAe,EAAEM,GAAG,CAAC,CAAC,IAAI;EACjC,CAAC,CAAC,EACF,CAACT,UAAU,EAAEG,eAAe,EAAEC,yBAAyB,CACzD,CAAC;EAED,MAAMS,cAA6C,GAAGA,CAAA,KAAM;IAC1DR,SAAS,CAAC,CAAC;EACb,CAAC;EAED,oBACET,IAAA,CAACF,WAAW;IACVW,SAAS,EAAEQ,cAAe;IAC1BZ,WAAW,EAAEA,WAAY;IACzBa,cAAc,EAAE,UAAW;IAAAf,QAAA,eAE3BH,IAAA,CAACH,kBAAkB;MACjBsB,SAAS,EAAE,SAAU;MACrBC,SAAS,EAAExB,uBAAuB,CAACQ,UAAU,CAAE;MAC/CiB,QAAQ,EAAE,QAAS;MAAA,GACfnB,aAAa;MACjBS,KAAK,EAAED,sBAAuB;MAAAP,QAAA,eAE9BH,IAAA,CAACH,kBAAkB;QAACc,KAAK,EAAEK,sBAAuB;QAAAb,QAAA,EAC/CA;MAAQ,CACS;IAAC,CACH;EAAC,CACV,CAAC;AAElB,CAAC;AAED,eAAeF,eAAe","ignoreList":[]}
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- import { c as _c } from "react/compiler-runtime";
4
3
  import { useState } from 'react';
5
4
  import { useAnimationSharedVal } from "../../../hooks/reanimated.js";
6
5
  import { AlertContext, overlayDismissResultDefaultText, OverlayDismissResultType } from "../../../utils/overlay/const.js";
@@ -8,110 +7,51 @@ import AlertButtons from "./AlertButtons.js";
8
7
  import AlertContent from "./AlertContent.js";
9
8
  import AlertWrap from "./AlertWrap.js";
10
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const Alert = t0 => {
12
- const $ = _c(33);
13
- const {
14
- customShowAnimation,
15
- customHideAnimation,
16
- wrapProps,
17
- title,
18
- titleTextProps,
19
- desc,
20
- descTextProps,
21
- buttons,
22
- buttonsWrapProps,
23
- buttonProps,
24
- onDismiss,
25
- dismissable
26
- } = t0;
10
+ const Alert = ({
11
+ customShowAnimation,
12
+ customHideAnimation,
13
+ wrapProps,
14
+ title,
15
+ titleTextProps,
16
+ desc,
17
+ descTextProps,
18
+ buttons,
19
+ buttonsWrapProps,
20
+ buttonProps,
21
+ onDismiss,
22
+ dismissable
23
+ }) => {
27
24
  const [visible, setVisible] = useState(true);
28
25
  const showSharedVal = useAnimationSharedVal();
29
- let t1;
30
- if ($[0] !== desc || $[1] !== onDismiss || $[2] !== title) {
31
- t1 = result => {
32
- const tempResult = {
33
- resultType: OverlayDismissResultType.Alert,
34
- title,
35
- desc,
36
- text: overlayDismissResultDefaultText
37
- };
38
- onDismiss?.(result ? {
39
- ...tempResult,
40
- ...result
41
- } : tempResult);
42
- setVisible(false);
26
+ const handleDismiss = result => {
27
+ const tempResult = {
28
+ resultType: OverlayDismissResultType.Alert,
29
+ title,
30
+ desc,
31
+ text: overlayDismissResultDefaultText
43
32
  };
44
- $[0] = desc;
45
- $[1] = onDismiss;
46
- $[2] = title;
47
- $[3] = t1;
48
- } else {
49
- t1 = $[3];
50
- }
51
- const handleDismiss = t1;
52
- let t2;
53
- if ($[4] !== customHideAnimation || $[5] !== handleDismiss || $[6] !== showSharedVal) {
54
- t2 = result_0 => {
33
+ onDismiss?.(result ? {
34
+ ...tempResult,
35
+ ...result
36
+ } : tempResult);
37
+ setVisible(false);
38
+ };
39
+ const alertContextVal = {
40
+ buttonProps,
41
+ onDismiss: result => {
55
42
  if (customHideAnimation) {
56
43
  customHideAnimation(showSharedVal, 0, () => {
57
- handleDismiss(result_0);
44
+ handleDismiss(result);
58
45
  });
59
46
  } else {
60
47
  showSharedVal.set(0);
61
- handleDismiss(result_0);
48
+ handleDismiss(result);
62
49
  }
63
- };
64
- $[4] = customHideAnimation;
65
- $[5] = handleDismiss;
66
- $[6] = showSharedVal;
67
- $[7] = t2;
68
- } else {
69
- t2 = $[7];
70
- }
71
- let t3;
72
- if ($[8] !== buttonProps || $[9] !== t2) {
73
- t3 = {
74
- buttonProps,
75
- onDismiss: t2
76
- };
77
- $[8] = buttonProps;
78
- $[9] = t2;
79
- $[10] = t3;
80
- } else {
81
- t3 = $[10];
82
- }
83
- const alertContextVal = t3;
84
- let t4;
85
- if ($[11] !== desc || $[12] !== descTextProps || $[13] !== title || $[14] !== titleTextProps) {
86
- t4 = /*#__PURE__*/_jsx(AlertContent, {
87
- title: title,
88
- titleTextProps: titleTextProps,
89
- desc: desc,
90
- descTextProps: descTextProps
91
- });
92
- $[11] = desc;
93
- $[12] = descTextProps;
94
- $[13] = title;
95
- $[14] = titleTextProps;
96
- $[15] = t4;
97
- } else {
98
- t4 = $[15];
99
- }
100
- let t5;
101
- if ($[16] !== buttons || $[17] !== buttonsWrapProps) {
102
- t5 = /*#__PURE__*/_jsx(AlertButtons, {
103
- buttons: buttons,
104
- buttonsWrapProps: buttonsWrapProps
105
- });
106
- $[16] = buttons;
107
- $[17] = buttonsWrapProps;
108
- $[18] = t5;
109
- } else {
110
- t5 = $[18];
111
- }
112
- let t6;
113
- if ($[19] !== buttons || $[20] !== customShowAnimation || $[21] !== desc || $[22] !== dismissable || $[23] !== showSharedVal || $[24] !== t4 || $[25] !== t5 || $[26] !== title || $[27] !== visible || $[28] !== wrapProps) {
114
- t6 = /*#__PURE__*/_jsxs(AlertWrap, {
50
+ }
51
+ };
52
+ return /*#__PURE__*/_jsx(AlertContext.Provider, {
53
+ value: alertContextVal,
54
+ children: /*#__PURE__*/_jsxs(AlertWrap, {
115
55
  customShowAnimation: customShowAnimation,
116
56
  wrapProps: wrapProps,
117
57
  title: title,
@@ -121,35 +61,17 @@ const Alert = t0 => {
121
61
  visible: visible,
122
62
  setVisible: setVisible,
123
63
  showSharedVal: showSharedVal,
124
- children: [t4, t5]
125
- });
126
- $[19] = buttons;
127
- $[20] = customShowAnimation;
128
- $[21] = desc;
129
- $[22] = dismissable;
130
- $[23] = showSharedVal;
131
- $[24] = t4;
132
- $[25] = t5;
133
- $[26] = title;
134
- $[27] = visible;
135
- $[28] = wrapProps;
136
- $[29] = t6;
137
- } else {
138
- t6 = $[29];
139
- }
140
- let t7;
141
- if ($[30] !== alertContextVal || $[31] !== t6) {
142
- t7 = /*#__PURE__*/_jsx(AlertContext.Provider, {
143
- value: alertContextVal,
144
- children: t6
145
- });
146
- $[30] = alertContextVal;
147
- $[31] = t6;
148
- $[32] = t7;
149
- } else {
150
- t7 = $[32];
151
- }
152
- return t7;
64
+ children: [/*#__PURE__*/_jsx(AlertContent, {
65
+ title: title,
66
+ titleTextProps: titleTextProps,
67
+ desc: desc,
68
+ descTextProps: descTextProps
69
+ }), /*#__PURE__*/_jsx(AlertButtons, {
70
+ buttons: buttons,
71
+ buttonsWrapProps: buttonsWrapProps
72
+ })]
73
+ })
74
+ });
153
75
  };
154
76
  export default Alert;
155
77
  //# sourceMappingURL=Alert.js.map