@jamadd/react-native-template-ui 0.8.7 → 0.9.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 (308) hide show
  1. package/README.md +8 -0
  2. package/lib/module/components/accordion/ThemedAccordion.js +270 -0
  3. package/lib/module/components/accordion/ThemedAccordion.js.map +1 -0
  4. package/lib/module/components/button/AnimatedPressable.js +6 -0
  5. package/lib/module/components/button/AnimatedPressable.js.map +1 -1
  6. package/lib/module/components/button/AnimatedThemedPressable.js +15 -0
  7. package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
  8. package/lib/module/components/button/ThemedButton.js +15 -0
  9. package/lib/module/components/button/ThemedButton.js.map +1 -1
  10. package/lib/module/components/button/ThemedIconButton.js +15 -0
  11. package/lib/module/components/button/ThemedIconButton.js.map +1 -1
  12. package/lib/module/components/button/ThemedIconTextButton.js +16 -0
  13. package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
  14. package/lib/module/components/button/ThemedPressable.js +15 -0
  15. package/lib/module/components/button/ThemedPressable.js.map +1 -1
  16. package/lib/module/components/icon/ThemedIcon.js +14 -0
  17. package/lib/module/components/icon/ThemedIcon.js.map +1 -1
  18. package/lib/module/components/list/List.js +15 -0
  19. package/lib/module/components/list/List.js.map +1 -1
  20. package/lib/module/components/loading/ThemedLoading.js +13 -0
  21. package/lib/module/components/loading/ThemedLoading.js.map +1 -1
  22. package/lib/module/components/overlay/actionSheet/ActionSheet.js +32 -3
  23. package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
  24. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +4 -0
  25. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
  26. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +17 -2
  27. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
  28. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +7 -1
  29. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
  30. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +6 -0
  31. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
  32. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js +6 -0
  33. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js.map +1 -1
  34. package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js +6 -0
  35. package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js.map +1 -1
  36. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +7 -1
  37. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
  38. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +7 -1
  39. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
  40. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +6 -0
  41. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
  42. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +8 -2
  43. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
  44. package/lib/module/components/overlay/alert/Alert.js +19 -0
  45. package/lib/module/components/overlay/alert/Alert.js.map +1 -1
  46. package/lib/module/components/overlay/alert/AlertButton.js +6 -0
  47. package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
  48. package/lib/module/components/overlay/alert/AlertButtons.js +6 -0
  49. package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
  50. package/lib/module/components/overlay/alert/AlertContent.js +6 -0
  51. package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
  52. package/lib/module/components/overlay/alert/AlertWrap.js +7 -1
  53. package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
  54. package/lib/module/components/overlay/modal/ThemedLoadingModal.js +15 -0
  55. package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
  56. package/lib/module/components/overlay/modal/ThemedModal.js +18 -0
  57. package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
  58. package/lib/module/components/overlay/toast/ThemedToast.js +17 -2
  59. package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
  60. package/lib/module/components/provider/GestureProvider.js +11 -0
  61. package/lib/module/components/provider/GestureProvider.js.map +1 -1
  62. package/lib/module/components/provider/InsetsProvider.js +12 -0
  63. package/lib/module/components/provider/InsetsProvider.js.map +1 -1
  64. package/lib/module/components/provider/ReactNativeTemplateProviders.js +12 -0
  65. package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
  66. package/lib/module/components/provider/ThemeProvider.js +11 -0
  67. package/lib/module/components/provider/ThemeProvider.js.map +1 -1
  68. package/lib/module/components/separator/ThemedSeparator.js +19 -0
  69. package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
  70. package/lib/module/components/slider/Slider.js +162 -213
  71. package/lib/module/components/slider/Slider.js.map +1 -1
  72. package/lib/module/components/slider/ThemedSlider.js +24 -2
  73. package/lib/module/components/slider/ThemedSlider.js.map +1 -1
  74. package/lib/module/components/slider/ThemedSliderStepIndicator.js +6 -0
  75. package/lib/module/components/slider/ThemedSliderStepIndicator.js.map +1 -1
  76. package/lib/module/components/switch/ThemedSwitch.js +14 -0
  77. package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
  78. package/lib/module/components/text/Text.js +5 -0
  79. package/lib/module/components/text/Text.js.map +1 -1
  80. package/lib/module/components/text/ThemedIconText.js +22 -0
  81. package/lib/module/components/text/ThemedIconText.js.map +1 -1
  82. package/lib/module/components/text/ThemedText.js +15 -0
  83. package/lib/module/components/text/ThemedText.js.map +1 -1
  84. package/lib/module/components/view/AnimatedThemedView.js +16 -0
  85. package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
  86. package/lib/module/components/view/AnimatedView.js +6 -0
  87. package/lib/module/components/view/AnimatedView.js.map +1 -1
  88. package/lib/module/components/view/Box.js +5 -0
  89. package/lib/module/components/view/Box.js.map +1 -1
  90. package/lib/module/components/view/ThemedScreenWrap.js +79 -88
  91. package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
  92. package/lib/module/components/view/ThemedScreenWrap.web.js +84 -59
  93. package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
  94. package/lib/module/components/view/ThemedScrollView.js +17 -0
  95. package/lib/module/components/view/ThemedScrollView.js.map +1 -1
  96. package/lib/module/components/view/ThemedView.js +16 -0
  97. package/lib/module/components/view/ThemedView.js.map +1 -1
  98. package/lib/module/hooks/button.js +46 -0
  99. package/lib/module/hooks/button.js.map +1 -1
  100. package/lib/module/hooks/list.js +29 -0
  101. package/lib/module/hooks/list.js.map +1 -1
  102. package/lib/module/hooks/react.js +41 -0
  103. package/lib/module/hooks/react.js.map +1 -1
  104. package/lib/module/hooks/reanimated.js +10 -0
  105. package/lib/module/hooks/reanimated.js.map +1 -1
  106. package/lib/module/hooks/separator.js +18 -1
  107. package/lib/module/hooks/separator.js.map +1 -1
  108. package/lib/module/hooks/style.js +72 -0
  109. package/lib/module/hooks/style.js.map +1 -1
  110. package/lib/module/hooks/theme.js +93 -0
  111. package/lib/module/hooks/theme.js.map +1 -1
  112. package/lib/module/hooks/view.js +122 -1
  113. package/lib/module/hooks/view.js.map +1 -1
  114. package/lib/module/index.js +4 -2
  115. package/lib/module/index.js.map +1 -1
  116. package/lib/module/types/accordion.js +4 -0
  117. package/lib/module/types/accordion.js.map +1 -0
  118. package/lib/module/utils/button/const.js +28 -0
  119. package/lib/module/utils/button/const.js.map +1 -1
  120. package/lib/module/utils/overlay/const.js +72 -0
  121. package/lib/module/utils/overlay/const.js.map +1 -1
  122. package/lib/module/utils/overlay/func.js +101 -0
  123. package/lib/module/utils/overlay/func.js.map +1 -1
  124. package/lib/module/utils/slider/const.js +52 -0
  125. package/lib/module/utils/slider/const.js.map +1 -1
  126. package/lib/module/utils/style/const.js +14 -0
  127. package/lib/module/utils/style/const.js.map +1 -1
  128. package/lib/module/utils/style/func.js +102 -0
  129. package/lib/module/utils/style/func.js.map +1 -1
  130. package/lib/module/utils/theme/const.js +180 -0
  131. package/lib/module/utils/theme/const.js.map +1 -1
  132. package/lib/module/utils/theme/restyle.js +124 -0
  133. package/lib/module/utils/theme/restyle.js.map +1 -1
  134. package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts +20 -0
  135. package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts.map +1 -0
  136. package/lib/typescript/src/components/button/AnimatedPressable.d.ts +0 -1
  137. package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
  138. package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts +14 -0
  139. package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -1
  140. package/lib/typescript/src/components/button/ThemedButton.d.ts +14 -0
  141. package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -1
  142. package/lib/typescript/src/components/button/ThemedIconButton.d.ts +14 -0
  143. package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -1
  144. package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts +15 -0
  145. package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -1
  146. package/lib/typescript/src/components/button/ThemedPressable.d.ts +15 -0
  147. package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -1
  148. package/lib/typescript/src/components/icon/ThemedIcon.d.ts +13 -0
  149. package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -1
  150. package/lib/typescript/src/components/list/List.d.ts +14 -0
  151. package/lib/typescript/src/components/list/List.d.ts.map +1 -1
  152. package/lib/typescript/src/components/loading/ThemedLoading.d.ts +12 -0
  153. package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -1
  154. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts +18 -1
  155. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -1
  156. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -2
  157. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
  158. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -2
  159. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
  160. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -2
  161. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
  162. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -2
  163. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
  164. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +0 -2
  165. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
  166. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +0 -3
  167. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
  168. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +0 -2
  169. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
  170. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -2
  171. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
  172. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -3
  173. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
  174. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -2
  175. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
  176. package/lib/typescript/src/components/overlay/alert/Alert.d.ts +18 -0
  177. package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -1
  178. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts +0 -3
  179. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
  180. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +0 -3
  181. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
  182. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +0 -3
  183. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
  184. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +0 -8
  185. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -1
  186. package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts +14 -0
  187. package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -1
  188. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts +17 -0
  189. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
  190. package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts +14 -0
  191. package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -1
  192. package/lib/typescript/src/components/provider/GestureProvider.d.ts +11 -0
  193. package/lib/typescript/src/components/provider/GestureProvider.d.ts.map +1 -1
  194. package/lib/typescript/src/components/provider/InsetsProvider.d.ts +11 -0
  195. package/lib/typescript/src/components/provider/InsetsProvider.d.ts.map +1 -1
  196. package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts +11 -0
  197. package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -1
  198. package/lib/typescript/src/components/provider/ThemeProvider.d.ts +11 -0
  199. package/lib/typescript/src/components/provider/ThemeProvider.d.ts.map +1 -1
  200. package/lib/typescript/src/components/separator/ThemedSeparator.d.ts +18 -0
  201. package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -1
  202. package/lib/typescript/src/components/slider/Slider.d.ts +20 -0
  203. package/lib/typescript/src/components/slider/Slider.d.ts.map +1 -1
  204. package/lib/typescript/src/components/slider/ThemedSlider.d.ts +15 -0
  205. package/lib/typescript/src/components/slider/ThemedSlider.d.ts.map +1 -1
  206. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +0 -2
  207. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
  208. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts +13 -0
  209. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -1
  210. package/lib/typescript/src/components/text/Text.d.ts +0 -2021
  211. package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
  212. package/lib/typescript/src/components/text/ThemedIconText.d.ts +21 -0
  213. package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -1
  214. package/lib/typescript/src/components/text/ThemedText.d.ts +14 -0
  215. package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -1
  216. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts +15 -0
  217. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -1
  218. package/lib/typescript/src/components/view/AnimatedView.d.ts +0 -1
  219. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
  220. package/lib/typescript/src/components/view/Box.d.ts +0 -2071
  221. package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
  222. package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts +16 -0
  223. package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -1
  224. package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts +14 -0
  225. package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -1
  226. package/lib/typescript/src/components/view/ThemedScrollView.d.ts +16 -0
  227. package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
  228. package/lib/typescript/src/components/view/ThemedView.d.ts +15 -0
  229. package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -1
  230. package/lib/typescript/src/hooks/button.d.ts +41 -0
  231. package/lib/typescript/src/hooks/button.d.ts.map +1 -1
  232. package/lib/typescript/src/hooks/list.d.ts +27 -0
  233. package/lib/typescript/src/hooks/list.d.ts.map +1 -1
  234. package/lib/typescript/src/hooks/react.d.ts +38 -0
  235. package/lib/typescript/src/hooks/react.d.ts.map +1 -1
  236. package/lib/typescript/src/hooks/reanimated.d.ts +10 -0
  237. package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -1
  238. package/lib/typescript/src/hooks/separator.d.ts +16 -0
  239. package/lib/typescript/src/hooks/separator.d.ts.map +1 -1
  240. package/lib/typescript/src/hooks/style.d.ts +65 -0
  241. package/lib/typescript/src/hooks/style.d.ts.map +1 -1
  242. package/lib/typescript/src/hooks/theme.d.ts +82 -0
  243. package/lib/typescript/src/hooks/theme.d.ts.map +1 -1
  244. package/lib/typescript/src/hooks/view.d.ts +40 -2
  245. package/lib/typescript/src/hooks/view.d.ts.map +1 -1
  246. package/lib/typescript/src/index.d.ts +2 -0
  247. package/lib/typescript/src/index.d.ts.map +1 -1
  248. package/lib/typescript/src/types/accordion.d.ts +42 -0
  249. package/lib/typescript/src/types/accordion.d.ts.map +1 -0
  250. package/lib/typescript/src/types/button.d.ts +92 -0
  251. package/lib/typescript/src/types/button.d.ts.map +1 -1
  252. package/lib/typescript/src/types/icon.d.ts +43 -0
  253. package/lib/typescript/src/types/icon.d.ts.map +1 -1
  254. package/lib/typescript/src/types/list.d.ts +84 -0
  255. package/lib/typescript/src/types/list.d.ts.map +1 -1
  256. package/lib/typescript/src/types/loading.d.ts +38 -0
  257. package/lib/typescript/src/types/loading.d.ts.map +1 -1
  258. package/lib/typescript/src/types/overlay.d.ts +222 -0
  259. package/lib/typescript/src/types/overlay.d.ts.map +1 -1
  260. package/lib/typescript/src/types/provider.d.ts +21 -0
  261. package/lib/typescript/src/types/provider.d.ts.map +1 -1
  262. package/lib/typescript/src/types/react.d.ts +32 -0
  263. package/lib/typescript/src/types/react.d.ts.map +1 -1
  264. package/lib/typescript/src/types/reanimated.d.ts +32 -1
  265. package/lib/typescript/src/types/reanimated.d.ts.map +1 -1
  266. package/lib/typescript/src/types/separator.d.ts +26 -0
  267. package/lib/typescript/src/types/separator.d.ts.map +1 -1
  268. package/lib/typescript/src/types/slider.d.ts +88 -0
  269. package/lib/typescript/src/types/slider.d.ts.map +1 -1
  270. package/lib/typescript/src/types/style.d.ts +43 -0
  271. package/lib/typescript/src/types/style.d.ts.map +1 -1
  272. package/lib/typescript/src/types/switch.d.ts +50 -0
  273. package/lib/typescript/src/types/switch.d.ts.map +1 -1
  274. package/lib/typescript/src/types/text.d.ts +72 -0
  275. package/lib/typescript/src/types/text.d.ts.map +1 -1
  276. package/lib/typescript/src/types/theme.d.ts +111 -0
  277. package/lib/typescript/src/types/theme.d.ts.map +1 -1
  278. package/lib/typescript/src/types/view.d.ts +137 -0
  279. package/lib/typescript/src/types/view.d.ts.map +1 -1
  280. package/lib/typescript/src/utils/button/const.d.ts +27 -0
  281. package/lib/typescript/src/utils/button/const.d.ts.map +1 -1
  282. package/lib/typescript/src/utils/overlay/const.d.ts +67 -0
  283. package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
  284. package/lib/typescript/src/utils/overlay/func.d.ts +93 -0
  285. package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
  286. package/lib/typescript/src/utils/slider/const.d.ts +47 -0
  287. package/lib/typescript/src/utils/slider/const.d.ts.map +1 -1
  288. package/lib/typescript/src/utils/style/const.d.ts +14 -0
  289. package/lib/typescript/src/utils/style/const.d.ts.map +1 -1
  290. package/lib/typescript/src/utils/style/func.d.ts +95 -0
  291. package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
  292. package/lib/typescript/src/utils/theme/const.d.ts +170 -0
  293. package/lib/typescript/src/utils/theme/const.d.ts.map +1 -1
  294. package/lib/typescript/src/utils/theme/restyle.d.ts +1 -1977
  295. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
  296. package/package.json +4 -4
  297. package/lib/module/components/overlay/actionSheet/ActionSheet.web.js +0 -76
  298. package/lib/module/components/overlay/actionSheet/ActionSheet.web.js.map +0 -1
  299. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js +0 -113
  300. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js.map +0 -1
  301. package/lib/module/components/slider/ThemedSlider.web.js +0 -206
  302. package/lib/module/components/slider/ThemedSlider.web.js.map +0 -1
  303. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts +0 -5
  304. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts.map +0 -1
  305. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts +0 -4
  306. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts.map +0 -1
  307. package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts +0 -5
  308. package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts.map +0 -1
@@ -2,7 +2,8 @@
2
2
 
3
3
  import { c as _c } from "react/compiler-runtime";
4
4
  import { useMappingHelper } from '@shopify/flash-list';
5
- import { useLayoutEffect, useMemo, useState } from 'react';
5
+ import { lazy, useLayoutEffect, useMemo, useState } from 'react';
6
+ import { Platform } from 'react-native';
6
7
  import { Gesture, GestureDetector } from 'react-native-gesture-handler';
7
8
  import { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
8
9
  import { scheduleOnRN } from 'react-native-worklets';
@@ -11,55 +12,71 @@ import { useViewRef } from "../../hooks/view.js";
11
12
  import { sliderStepIndicatorDefaultWidth, sliderThumbDefaultSize, SliderTrackSize } from "../../utils/slider/const.js";
12
13
  import AnimatedThemedView from "../view/AnimatedThemedView.js";
13
14
  import ThemedView from "../view/ThemedView.js";
14
- import ThemedSliderStepIndicator from "./ThemedSliderStepIndicator.js";
15
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
+ let ThemedSliderStepIndicator;
17
+ if (Platform.OS === 'web') {
18
+ ThemedSliderStepIndicator = /*#__PURE__*/lazy(() => import('./ThemedSliderStepIndicator'));
19
+ } else {
20
+ ThemedSliderStepIndicator = require('./ThemedSliderStepIndicator').default;
21
+ }
22
+
23
+ /**
24
+ * A slider component for selecting values from a range using touch or drag gestures.
25
+ * Supports both numeric ranges (with steps) and string array selections.
26
+ * Features smooth animations, step indicators, and customizable track/thumb appearance.
27
+ * @param props - Component props of type SliderProps
28
+ * @returns JSX element rendering an interactive slider
29
+ * @example
30
+ * <Slider
31
+ * range={[0, 100]}
32
+ * steps={5}
33
+ * onValueChange={(value) => console.log(value)}
34
+ * trackActiveColor="themePri"
35
+ * />
36
+ * @example
37
+ * <Slider
38
+ * range={['Small', 'Medium', 'Large']}
39
+ * stepIndicator={true}
40
+ * onValueChange={(value) => console.log(value)}
41
+ * />
42
+ */
16
43
  const _worklet_1107268610089_init_data = {
17
44
  code: "function SliderTsx1(){const{xSharedVal}=this.__closure;return{transform:[{translateX:xSharedVal.get()}]};}",
18
45
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
19
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx1\",\"xSharedVal\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA0EI,SAAAA,WAAA,QAAAC,UAAA,OAAAC,SAAA,OAAO,CAAAC,SAAA,CAAa,CAAC,CAAAC,UAAA,CAAcH,UAAU,CAAAI,GAAI,CAAC,CAAE,CAAC,CAAE,CAAC\",\"ignoreList\":[]}"
46
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx1\",\"xSharedVal\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAsGI,SAAAA,WAAA,QAAAC,UAAA,OAAAC,SAAA,OAAO,CAAAC,SAAA,CAAa,CAAC,CAAAC,UAAA,CAAcH,UAAU,CAAAI,GAAI,CAAC,CAAE,CAAC,CAAE,CAAC\",\"ignoreList\":[]}"
20
47
  };
21
48
  const _worklet_9813808913419_init_data = {
22
49
  code: "function SliderTsx2(){const{xSharedVal,thumbSizeHalf}=this.__closure;return{transform:[{translateX:xSharedVal.get()-thumbSizeHalf}]};}",
23
50
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
24
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx2\",\"xSharedVal\",\"thumbSizeHalf\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA8EI,SAAAA,WAAA,QAAAC,UAAA,CAAAC,aAAA,OAAAC,SAAA,OAAO,CAAAC,SAAA,CAAa,CAAC,CAAAC,UAAA,CAAcJ,UAAU,CAAAK,GAAI,CAAC,CAAC,CAAGJ,aAAc,CAAC,CAAE,CAAC\",\"ignoreList\":[]}"
51
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx2\",\"xSharedVal\",\"thumbSizeHalf\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA0GI,SAAAA,WAAA,QAAAC,UAAA,CAAAC,aAAA,OAAAC,SAAA,OAAO,CAAAC,SAAA,CAAa,CAAC,CAAAC,UAAA,CAAcJ,UAAU,CAAAK,GAAI,CAAC,CAAC,CAAGJ,aAAc,CAAC,CAAE,CAAC\",\"ignoreList\":[]}"
25
52
  };
26
53
  const _worklet_5842193172883_init_data = {
27
54
  code: "function SliderTsx3(x_0,t13){const{trackWidth,xSharedVal,withTiming,scheduleOnRN,updateSelectedVal}=this.__closure;var _trackWidth;const animated=t13===undefined?false:t13;const tempX=Math.min(0,Math.max(x_0,-((_trackWidth=trackWidth)!==null&&_trackWidth!==void 0?_trackWidth:0)));xSharedVal.set(animated?withTiming(tempX):tempX);scheduleOnRN(updateSelectedVal,Math.abs(tempX));}",
28
55
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
29
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx3\",\"x_0\",\"t13\",\"trackWidth\",\"xSharedVal\",\"withTiming\",\"scheduleOnRN\",\"updateSelectedVal\",\"__closure\",\"_trackWidth\",\"animated\",\"undefined\",\"tempX\",\"Math\",\"min\",\"max\",\"set\",\"abs\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAwG6B,SAAAA,WAAAC,GAAA,CAAAC,GAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,UAAA,CAAAC,YAAA,CAAAC,iBAAA,OAAAC,SAAA,KAAAC,WAAA,CAAY,MAAAC,QAAA,CAAAR,GAAgB,GAAhBS,SAAgB,CAAhB,KAAgB,CAAhBT,GAAgB,CAEnD,MAAAU,KAAA,CAAcC,IAAI,CAAAC,GAAI,CAAC,CAAC,CAAED,IAAI,CAAAE,GAAI,CAACd,GAAC,CAAE,GAAAQ,WAAA,CAAEN,UAAe,UAAAM,WAAA,UAAAA,WAAA,CAAf,CAAe,CAAC,CAAC,CAAC,CAC1DL,UAAU,CAAAY,GAAI,CAACN,QAAQ,CAAGL,UAAU,CAACO,KAAa,CAAC,CAApCA,KAAoC,CAAC,CACpDN,YAAY,CAACC,iBAAiB,CAAEM,IAAI,CAAAI,GAAI,CAACL,KAAK,CAAC,CAAC\",\"ignoreList\":[]}"
56
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx3\",\"x_0\",\"t13\",\"trackWidth\",\"xSharedVal\",\"withTiming\",\"scheduleOnRN\",\"updateSelectedVal\",\"__closure\",\"_trackWidth\",\"animated\",\"undefined\",\"tempX\",\"Math\",\"min\",\"max\",\"set\",\"abs\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAmI6B,SAAAA,WAAAC,GAAA,CAAAC,GAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,UAAA,CAAAC,YAAA,CAAAC,iBAAA,OAAAC,SAAA,KAAAC,WAAA,CAAY,MAAAC,QAAA,CAAAR,GAAgB,GAAhBS,SAAgB,CAAhB,KAAgB,CAAhBT,GAAgB,CAEnD,MAAAU,KAAA,CAAcC,IAAI,CAAAC,GAAI,CAAC,CAAC,CAAED,IAAI,CAAAE,GAAI,CAACd,GAAC,CAAE,GAAAQ,WAAA,CAAEN,UAAe,UAAAM,WAAA,UAAAA,WAAA,CAAf,CAAe,CAAC,CAAC,CAAC,CAC1DL,UAAU,CAAAY,GAAI,CAACN,QAAQ,CAAGL,UAAU,CAACO,KAAa,CAAC,CAApCA,KAAoC,CAAC,CACpDN,YAAY,CAACC,iBAAiB,CAAEM,IAAI,CAAAI,GAAI,CAACL,KAAK,CAAC,CAAC\",\"ignoreList\":[]}"
30
57
  };
31
58
  const _worklet_15465333809693_init_data = {
32
59
  code: "function SliderTsx4(t16){const{sliderWidth,stepWidth,thumbSize,thumbSizeHalf,updateXSharedVal,snapToStepAnimated}=this.__closure;const{x:x_2}=t16;if(sliderWidth&&stepWidth){const nearestStep=Math.round(-(sliderWidth-(x_2+thumbSize+thumbSizeHalf))/stepWidth);updateXSharedVal(nearestStep*stepWidth,snapToStepAnimated);}}",
33
60
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
34
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx4\",\"t16\",\"sliderWidth\",\"stepWidth\",\"thumbSize\",\"thumbSizeHalf\",\"updateXSharedVal\",\"snapToStepAnimated\",\"__closure\",\"x\",\"x_2\",\"nearestStep\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAyHe,SAAAA,WAAAC,GAAA,QAAAC,WAAA,CAAAC,SAAA,CAAAC,SAAA,CAAAC,aAAA,CAAAC,gBAAA,CAAAC,kBAAA,OAAAC,SAAA,CAAC,MAAAC,CAAA,CAAAC,GAAA,EAAAT,GAAK,CACX,GAAIC,WAAwB,EAAxBC,SAAwB,EAC1B,MAAAQ,WAAA,CAAoBC,IAAI,CAAAC,KAAM,CAC5B,EAAEX,WAAW,EAAIQ,GAAC,CAAGN,SAAS,CAAGC,aAAa,CAAC,CAAC,CAAGF,SACrD,CAAC,CACDG,gBAAgB,CAACK,WAAW,CAAGR,SAAS,CAAEI,kBAAkB,CAAC,EAC9D\",\"ignoreList\":[]}"
61
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx4\",\"t16\",\"sliderWidth\",\"stepWidth\",\"thumbSize\",\"thumbSizeHalf\",\"updateXSharedVal\",\"snapToStepAnimated\",\"__closure\",\"x\",\"x_2\",\"nearestStep\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAoJe,SAAAA,WAAAC,GAAA,QAAAC,WAAA,CAAAC,SAAA,CAAAC,SAAA,CAAAC,aAAA,CAAAC,gBAAA,CAAAC,kBAAA,OAAAC,SAAA,CAAC,MAAAC,CAAA,CAAAC,GAAA,EAAAT,GAAK,CACX,GAAIC,WAAwB,EAAxBC,SAAwB,EAC1B,MAAAQ,WAAA,CAAoBC,IAAI,CAAAC,KAAM,CAC5B,EAAEX,WAAW,EAAIQ,GAAC,CAAGN,SAAS,CAAGC,aAAa,CAAC,CAAC,CAAGF,SACrD,CAAC,CACDG,gBAAgB,CAACK,WAAW,CAAGR,SAAS,CAAEI,kBAAkB,CAAC,EAC9D\",\"ignoreList\":[]}"
35
62
  };
36
- const _worklet_8878459337931_init_data = {
37
- code: "function SliderTsx5(t15){const{sliderWidth,updateXSharedVal,thumbSize,thumbSizeHalf}=this.__closure;const{x:x_1}=t15;if(sliderWidth){updateXSharedVal(-(sliderWidth-(x_1+thumbSize+thumbSizeHalf)));}}",
63
+ const _worklet_9051416247764_init_data = {
64
+ code: "function SliderTsx5(t15){const{sliderWidth,updateXSharedVal,thumbSize}=this.__closure;const{x:x_1}=t15;if(sliderWidth){updateXSharedVal(-(sliderWidth-(x_1+thumbSize*2)));}}",
38
65
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
39
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx5\",\"t15\",\"sliderWidth\",\"updateXSharedVal\",\"thumbSize\",\"thumbSizeHalf\",\"__closure\",\"x\",\"x_1\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAoHiB,SAAAA,WAAAC,GAAA,QAAAC,WAAA,CAAAC,gBAAA,CAAAC,SAAA,CAAAC,aAAA,OAAAC,SAAA,CAAC,MAAAC,CAAA,CAAAC,GAAA,EAAAP,GAAK,CACb,GAAIC,WAAW,EACbC,gBAAgB,CAAC,EAAED,WAAW,EAAIM,GAAC,CAAGJ,SAAS,CAAGC,aAAa,CAAC,CAAC,CAAC,EACnE\",\"ignoreList\":[]}"
66
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx5\",\"t15\",\"sliderWidth\",\"updateXSharedVal\",\"thumbSize\",\"__closure\",\"x\",\"x_1\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA+IiB,SAAAA,WAAAC,GAAA,QAAAC,WAAA,CAAAC,gBAAA,CAAAC,SAAA,OAAAC,SAAA,CAAC,MAAAC,CAAA,CAAAC,GAAA,EAAAN,GAAK,CACb,GAAIC,WAAW,EACbC,gBAAgB,CAAC,EAAED,WAAW,EAAIK,GAAC,CAAGH,SAAS,CAAG,CAAC,CAAC,CAAC,CAAC,EACvD\",\"ignoreList\":[]}"
40
67
  };
41
68
  const _worklet_3836629690946_init_data = {
42
69
  code: "function SliderTsx6(){const{stepWidth,xSharedVal,updateXSharedVal,snapToStepAnimated}=this.__closure;if(stepWidth){const nearestStep_0=Math.round(xSharedVal.get()/stepWidth);updateXSharedVal(nearestStep_0*stepWidth,snapToStepAnimated);}}",
43
70
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
44
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx6\",\"stepWidth\",\"xSharedVal\",\"updateXSharedVal\",\"snapToStepAnimated\",\"__closure\",\"nearestStep_0\",\"Math\",\"round\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAkJe,SAAAA,WAAA,QAAAC,SAAA,CAAAC,UAAA,CAAAC,gBAAA,CAAAC,kBAAA,OAAAC,SAAA,CACL,GAAIJ,SAAS,EACX,MAAAK,aAAA,CAAoBC,IAAI,CAAAC,KAAM,CAACN,UAAU,CAAAO,GAAI,CAAC,CAAC,CAAGR,SAAS,CAAC,CAC5DE,gBAAgB,CAACG,aAAW,CAAGL,SAAS,CAAEG,kBAAkB,CAAC,EAC9D\",\"ignoreList\":[]}"
45
- };
46
- const _worklet_9150691278550_init_data = {
47
- code: "function SliderTsx7(t19){const{updateXSharedVal,xSharedVal}=this.__closure;const{changeX:changeX}=t19;updateXSharedVal(xSharedVal.get()+changeX);}",
48
- location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
49
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx7\",\"t19\",\"updateXSharedVal\",\"xSharedVal\",\"__closure\",\"changeX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA+IkB,SAAAA,WAAAC,GAAA,QAAAC,gBAAA,CAAAC,UAAA,OAAAC,SAAA,CAAC,MAAAC,OAAA,CAAAA,OAAA,EAAAJ,GAAW,CACpBC,gBAAgB,CAACC,UAAU,CAAAG,GAAI,CAAC,CAAC,CAAGD,OAAO,CAAC\",\"ignoreList\":[]}"
50
- };
51
- const _worklet_3439681045957_init_data = {
52
- code: "function SliderTsx8(t18,state){const{touchStart,gestureActivateDuration}=this.__closure;const timeToCheck=Date.now()-touchStart.get();if(timeToCheck>=gestureActivateDuration){state.activate();}else{state.fail();}}",
53
- location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
54
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx8\",\"t18\",\"state\",\"touchStart\",\"gestureActivateDuration\",\"__closure\",\"timeToCheck\",\"Date\",\"now\",\"get\",\"activate\",\"fail\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAuIuB,SAAAA,WAAAC,GAAA,CAAAC,KAAA,QAAAC,UAAA,CAAAC,uBAAA,OAAAC,SAAA,CACb,MAAAC,WAAA,CAAoBC,IAAI,CAAAC,GAAI,CAAC,CAAC,CAAGL,UAAU,CAAAM,GAAI,CAAC,CAAC,CACjD,GAAIH,WAAW,EAAIF,uBAAuB,EACxCF,KAAK,CAAAQ,QAAS,CAAC,CAAC,OAEhBR,KAAK,CAAAS,IAAK,CAAC,CAAC,EACb\",\"ignoreList\":[]}"
71
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx6\",\"stepWidth\",\"xSharedVal\",\"updateXSharedVal\",\"snapToStepAnimated\",\"__closure\",\"nearestStep_0\",\"Math\",\"round\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAiKe,SAAAA,WAAA,QAAAC,SAAA,CAAAC,UAAA,CAAAC,gBAAA,CAAAC,kBAAA,OAAAC,SAAA,CACL,GAAIJ,SAAS,EACX,MAAAK,aAAA,CAAoBC,IAAI,CAAAC,KAAM,CAACN,UAAU,CAAAO,GAAI,CAAC,CAAC,CAAGR,SAAS,CAAC,CAC5DE,gBAAgB,CAACG,aAAW,CAAGL,SAAS,CAAEG,kBAAkB,CAAC,EAC9D\",\"ignoreList\":[]}"
55
72
  };
56
- const _worklet_7305647671238_init_data = {
57
- code: "function SliderTsx9(){const{touchStart}=this.__closure;touchStart.set(Date.now());}",
73
+ const _worklet_9171995940566_init_data = {
74
+ code: "function SliderTsx7(t17){const{updateXSharedVal,xSharedVal}=this.__closure;const{changeX:changeX}=t17;updateXSharedVal(xSharedVal.get()+changeX);}",
58
75
  location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx",
59
- sourceMap: "{\"version\":3,\"names\":[\"SliderTsx9\",\"touchStart\",\"__closure\",\"set\",\"Date\",\"now\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AAoIiB,SAAAA,WAAA,QAAAC,UAAA,OAAAC,SAAA,CACPD,UAAU,CAAAE,GAAI,CAACC,IAAI,CAAAC,GAAI,CAAC,CAAC,CAAC\",\"ignoreList\":[]}"
76
+ sourceMap: "{\"version\":3,\"names\":[\"SliderTsx7\",\"t17\",\"updateXSharedVal\",\"xSharedVal\",\"__closure\",\"changeX\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/slider/Slider.tsx\"],\"mappings\":\"AA8JkB,SAAAA,WAAAC,GAAA,QAAAC,gBAAA,CAAAC,UAAA,OAAAC,SAAA,CAAC,MAAAC,OAAA,CAAAA,OAAA,EAAAJ,GAAW,CACpBC,gBAAgB,CAACC,UAAU,CAAAG,GAAI,CAAC,CAAC,CAAGD,OAAO,CAAC\",\"ignoreList\":[]}"
60
77
  };
61
78
  const Slider = t0 => {
62
- const $ = _c(104);
79
+ const $ = _c(98);
63
80
  const {
64
81
  range,
65
82
  steps: t1,
@@ -87,7 +104,7 @@ const Slider = t0 => {
87
104
  const trackInactiveColor = t5 === undefined ? "separator" : t5;
88
105
  const thumbSize = t6 === undefined ? sliderThumbDefaultSize : t6;
89
106
  const thumbColor = t7 === undefined ? "themePri" : t7;
90
- const gestureActivateDuration = t8 === undefined ? 40 : t8;
107
+ const gestureActivateDuration = t8 === undefined ? 50 : t8;
91
108
  const windowWidth = useWindowDimensionsWidth();
92
109
  const isNumRange = typeof range[0] === "number";
93
110
  let t9;
@@ -179,7 +196,6 @@ const Slider = t0 => {
179
196
  xSharedVal,
180
197
  thumbSizeHalf
181
198
  }), [thumbSizeHalf]);
182
- const touchStart = useSharedValue(0);
183
199
  let t11;
184
200
  if ($[5] !== isNumRange || $[6] !== onValueChange || $[7] !== processedRange || $[8] !== setSelectedVal || $[9] !== stepWidth || $[10] !== steps || $[11] !== stepsFractionDigits || $[12] !== totalSteps) {
185
201
  t11 = x => {
@@ -259,53 +275,49 @@ const Slider = t0 => {
259
275
  }
260
276
  const updateXSharedVal = t12;
261
277
  let t13;
262
- if ($[18] !== gestureActivateDuration || $[19] !== sliderWidth || $[20] !== snapToStepAnimated || $[21] !== stepWidth || $[22] !== thumbSize || $[23] !== thumbSizeHalf || $[24] !== touchStart || $[25] !== updateXSharedVal || $[26] !== windowWidth || $[27] !== xSharedVal) {
278
+ if ($[18] !== gestureActivateDuration || $[19] !== sliderWidth || $[20] !== snapToStepAnimated || $[21] !== stepWidth || $[22] !== thumbSize || $[23] !== thumbSizeHalf || $[24] !== updateXSharedVal || $[25] !== windowWidth || $[26] !== xSharedVal) {
263
279
  let t14;
264
- if ($[29] !== sliderWidth || $[30] !== thumbSize || $[31] !== thumbSizeHalf || $[32] !== updateXSharedVal) {
280
+ if ($[28] !== sliderWidth || $[29] !== thumbSize || $[30] !== updateXSharedVal) {
265
281
  t14 = function SliderTsx5Factory({
266
- _worklet_8878459337931_init_data,
282
+ _worklet_9051416247764_init_data,
267
283
  sliderWidth,
268
284
  updateXSharedVal,
269
- thumbSize,
270
- thumbSizeHalf
285
+ thumbSize
271
286
  }) {
272
- const _e = [new global.Error(), -5, -27];
287
+ const _e = [new global.Error(), -4, -27];
273
288
  const SliderTsx5 = function (t15) {
274
289
  const {
275
290
  x: x_1
276
291
  } = t15;
277
292
  if (sliderWidth) {
278
- updateXSharedVal(-(sliderWidth - (x_1 + thumbSize + thumbSizeHalf)));
293
+ updateXSharedVal(-(sliderWidth - (x_1 + thumbSize * 2)));
279
294
  }
280
295
  };
281
296
  SliderTsx5.__closure = {
282
297
  sliderWidth,
283
298
  updateXSharedVal,
284
- thumbSize,
285
- thumbSizeHalf
299
+ thumbSize
286
300
  };
287
- SliderTsx5.__workletHash = 8878459337931;
301
+ SliderTsx5.__workletHash = 9051416247764;
288
302
  SliderTsx5.__pluginVersion = "0.8.3";
289
- SliderTsx5.__initData = _worklet_8878459337931_init_data;
303
+ SliderTsx5.__initData = _worklet_9051416247764_init_data;
290
304
  SliderTsx5.__stackDetails = _e;
291
305
  return SliderTsx5;
292
306
  }({
293
- _worklet_8878459337931_init_data,
307
+ _worklet_9051416247764_init_data,
294
308
  sliderWidth,
295
309
  updateXSharedVal,
296
- thumbSize,
297
- thumbSizeHalf
310
+ thumbSize
298
311
  });
299
- $[29] = sliderWidth;
300
- $[30] = thumbSize;
301
- $[31] = thumbSizeHalf;
302
- $[32] = updateXSharedVal;
303
- $[33] = t14;
312
+ $[28] = sliderWidth;
313
+ $[29] = thumbSize;
314
+ $[30] = updateXSharedVal;
315
+ $[31] = t14;
304
316
  } else {
305
- t14 = $[33];
317
+ t14 = $[31];
306
318
  }
307
319
  let t15;
308
- if ($[34] !== sliderWidth || $[35] !== snapToStepAnimated || $[36] !== stepWidth || $[37] !== thumbSize || $[38] !== thumbSizeHalf || $[39] !== updateXSharedVal) {
320
+ if ($[32] !== sliderWidth || $[33] !== snapToStepAnimated || $[34] !== stepWidth || $[35] !== thumbSize || $[36] !== thumbSizeHalf || $[37] !== updateXSharedVal) {
309
321
  t15 = function SliderTsx4Factory({
310
322
  _worklet_15465333809693_init_data,
311
323
  sliderWidth,
@@ -347,116 +359,53 @@ const Slider = t0 => {
347
359
  updateXSharedVal,
348
360
  snapToStepAnimated
349
361
  });
350
- $[34] = sliderWidth;
351
- $[35] = snapToStepAnimated;
352
- $[36] = stepWidth;
353
- $[37] = thumbSize;
354
- $[38] = thumbSizeHalf;
355
- $[39] = updateXSharedVal;
356
- $[40] = t15;
362
+ $[32] = sliderWidth;
363
+ $[33] = snapToStepAnimated;
364
+ $[34] = stepWidth;
365
+ $[35] = thumbSize;
366
+ $[36] = thumbSizeHalf;
367
+ $[37] = updateXSharedVal;
368
+ $[38] = t15;
357
369
  } else {
358
- t15 = $[40];
370
+ t15 = $[38];
359
371
  }
360
372
  let t16;
361
- if ($[41] !== touchStart) {
362
- t16 = function SliderTsx9Factory({
363
- _worklet_7305647671238_init_data,
364
- touchStart
365
- }) {
366
- const _e = [new global.Error(), -2, -27];
367
- const SliderTsx9 = function () {
368
- touchStart.set(Date.now());
369
- };
370
- SliderTsx9.__closure = {
371
- touchStart
372
- };
373
- SliderTsx9.__workletHash = 7305647671238;
374
- SliderTsx9.__pluginVersion = "0.8.3";
375
- SliderTsx9.__initData = _worklet_7305647671238_init_data;
376
- SliderTsx9.__stackDetails = _e;
377
- return SliderTsx9;
378
- }({
379
- _worklet_7305647671238_init_data,
380
- touchStart
381
- });
382
- $[41] = touchStart;
383
- $[42] = t16;
384
- } else {
385
- t16 = $[42];
386
- }
387
- let t17;
388
- if ($[43] !== gestureActivateDuration || $[44] !== touchStart) {
389
- t17 = function SliderTsx8Factory({
390
- _worklet_3439681045957_init_data,
391
- touchStart,
392
- gestureActivateDuration
393
- }) {
394
- const _e = [new global.Error(), -3, -27];
395
- const SliderTsx8 = function (t18, state) {
396
- const timeToCheck = Date.now() - touchStart.get();
397
- if (timeToCheck >= gestureActivateDuration) {
398
- state.activate();
399
- } else {
400
- state.fail();
401
- }
402
- };
403
- SliderTsx8.__closure = {
404
- touchStart,
405
- gestureActivateDuration
406
- };
407
- SliderTsx8.__workletHash = 3439681045957;
408
- SliderTsx8.__pluginVersion = "0.8.3";
409
- SliderTsx8.__initData = _worklet_3439681045957_init_data;
410
- SliderTsx8.__stackDetails = _e;
411
- return SliderTsx8;
412
- }({
413
- _worklet_3439681045957_init_data,
414
- touchStart,
415
- gestureActivateDuration
416
- });
417
- $[43] = gestureActivateDuration;
418
- $[44] = touchStart;
419
- $[45] = t17;
420
- } else {
421
- t17 = $[45];
422
- }
423
- let t18;
424
- if ($[46] !== updateXSharedVal || $[47] !== xSharedVal) {
425
- t18 = function SliderTsx7Factory({
426
- _worklet_9150691278550_init_data,
373
+ if ($[39] !== updateXSharedVal || $[40] !== xSharedVal) {
374
+ t16 = function SliderTsx7Factory({
375
+ _worklet_9171995940566_init_data,
427
376
  updateXSharedVal,
428
377
  xSharedVal
429
378
  }) {
430
379
  const _e = [new global.Error(), -3, -27];
431
- const SliderTsx7 = function (t19) {
380
+ const SliderTsx7 = function (t17) {
432
381
  const {
433
382
  changeX
434
- } = t19;
383
+ } = t17;
435
384
  updateXSharedVal(xSharedVal.get() + changeX);
436
385
  };
437
386
  SliderTsx7.__closure = {
438
387
  updateXSharedVal,
439
388
  xSharedVal
440
389
  };
441
- SliderTsx7.__workletHash = 9150691278550;
390
+ SliderTsx7.__workletHash = 9171995940566;
442
391
  SliderTsx7.__pluginVersion = "0.8.3";
443
- SliderTsx7.__initData = _worklet_9150691278550_init_data;
392
+ SliderTsx7.__initData = _worklet_9171995940566_init_data;
444
393
  SliderTsx7.__stackDetails = _e;
445
394
  return SliderTsx7;
446
395
  }({
447
- _worklet_9150691278550_init_data,
396
+ _worklet_9171995940566_init_data,
448
397
  updateXSharedVal,
449
398
  xSharedVal
450
399
  });
451
- $[46] = updateXSharedVal;
452
- $[47] = xSharedVal;
453
- $[48] = t18;
400
+ $[39] = updateXSharedVal;
401
+ $[40] = xSharedVal;
402
+ $[41] = t16;
454
403
  } else {
455
- t18 = $[48];
404
+ t16 = $[41];
456
405
  }
457
- let t19;
458
- if ($[49] !== snapToStepAnimated || $[50] !== stepWidth || $[51] !== updateXSharedVal || $[52] !== xSharedVal) {
459
- t19 = function SliderTsx6Factory({
406
+ let t17;
407
+ if ($[42] !== snapToStepAnimated || $[43] !== stepWidth || $[44] !== updateXSharedVal || $[45] !== xSharedVal) {
408
+ t17 = function SliderTsx6Factory({
460
409
  _worklet_3836629690946_init_data,
461
410
  stepWidth,
462
411
  xSharedVal,
@@ -488,32 +437,31 @@ const Slider = t0 => {
488
437
  updateXSharedVal,
489
438
  snapToStepAnimated
490
439
  });
491
- $[49] = snapToStepAnimated;
492
- $[50] = stepWidth;
493
- $[51] = updateXSharedVal;
494
- $[52] = xSharedVal;
495
- $[53] = t19;
440
+ $[42] = snapToStepAnimated;
441
+ $[43] = stepWidth;
442
+ $[44] = updateXSharedVal;
443
+ $[45] = xSharedVal;
444
+ $[46] = t17;
496
445
  } else {
497
- t19 = $[53];
446
+ t17 = $[46];
498
447
  }
499
- t13 = Gesture.Simultaneous(Gesture.LongPress().minDuration(gestureActivateDuration).maxDistance(windowWidth * 10).shouldCancelWhenOutside(false).onStart(t14).onEnd(t15), Gesture.Pan().manualActivation(true).shouldCancelWhenOutside(false).onBegin(t16).onTouchesMove(t17).onChange(t18).onEnd(t19));
448
+ t13 = Gesture.Simultaneous(Gesture.LongPress().minDuration(gestureActivateDuration).maxDistance(windowWidth * 10).shouldCancelWhenOutside(false).onStart(t14).onEnd(t15), Gesture.Pan().activateAfterLongPress(gestureActivateDuration).onChange(t16).onEnd(t17));
500
449
  $[18] = gestureActivateDuration;
501
450
  $[19] = sliderWidth;
502
451
  $[20] = snapToStepAnimated;
503
452
  $[21] = stepWidth;
504
453
  $[22] = thumbSize;
505
454
  $[23] = thumbSizeHalf;
506
- $[24] = touchStart;
507
- $[25] = updateXSharedVal;
508
- $[26] = windowWidth;
509
- $[27] = xSharedVal;
510
- $[28] = t13;
455
+ $[24] = updateXSharedVal;
456
+ $[25] = windowWidth;
457
+ $[26] = xSharedVal;
458
+ $[27] = t13;
511
459
  } else {
512
- t13 = $[28];
460
+ t13 = $[27];
513
461
  }
514
462
  const gesture = t13;
515
463
  let t14;
516
- if ($[54] !== isNumRange || $[55] !== processedRange || $[56] !== selectedValSharedVal || $[57] !== steps || $[58] !== thumbSize || $[59] !== thumbSizeHalf || $[60] !== totalSteps || $[61] !== trackViewRef || $[62] !== xSharedVal) {
464
+ if ($[47] !== isNumRange || $[48] !== processedRange || $[49] !== selectedValSharedVal || $[50] !== steps || $[51] !== thumbSize || $[52] !== thumbSizeHalf || $[53] !== totalSteps || $[54] !== trackViewRef || $[55] !== xSharedVal) {
517
465
  t14 = () => {
518
466
  trackViewRef.current?.measure((_x, _y, w) => {
519
467
  const tempWidth = w - thumbSize;
@@ -534,49 +482,50 @@ const Slider = t0 => {
534
482
  xSharedVal.set(-(totalSteps - index) * tempStepWidth);
535
483
  });
536
484
  };
537
- $[54] = isNumRange;
538
- $[55] = processedRange;
539
- $[56] = selectedValSharedVal;
540
- $[57] = steps;
541
- $[58] = thumbSize;
542
- $[59] = thumbSizeHalf;
543
- $[60] = totalSteps;
544
- $[61] = trackViewRef;
545
- $[62] = xSharedVal;
546
- $[63] = t14;
485
+ $[47] = isNumRange;
486
+ $[48] = processedRange;
487
+ $[49] = selectedValSharedVal;
488
+ $[50] = steps;
489
+ $[51] = thumbSize;
490
+ $[52] = thumbSizeHalf;
491
+ $[53] = totalSteps;
492
+ $[54] = trackViewRef;
493
+ $[55] = xSharedVal;
494
+ $[56] = t14;
547
495
  } else {
548
- t14 = $[63];
496
+ t14 = $[56];
549
497
  }
550
498
  let t15;
551
- if ($[64] !== isNumRange || $[65] !== processedRange || $[66] !== thumbSize || $[67] !== totalSteps) {
552
- t15 = [thumbSize, isNumRange, processedRange, totalSteps];
553
- $[64] = isNumRange;
554
- $[65] = processedRange;
555
- $[66] = thumbSize;
556
- $[67] = totalSteps;
557
- $[68] = t15;
499
+ if ($[57] !== isNumRange || $[58] !== processedRange || $[59] !== thumbSize || $[60] !== totalSteps || $[61] !== windowWidth) {
500
+ t15 = [thumbSize, windowWidth, isNumRange, processedRange, totalSteps];
501
+ $[57] = isNumRange;
502
+ $[58] = processedRange;
503
+ $[59] = thumbSize;
504
+ $[60] = totalSteps;
505
+ $[61] = windowWidth;
506
+ $[62] = t15;
558
507
  } else {
559
- t15 = $[68];
508
+ t15 = $[62];
560
509
  }
561
510
  useLayoutEffect(t14, t15);
562
511
  let t16;
563
- if ($[69] !== trackActiveColor || $[70] !== trackAnimatedStyle || $[71] !== trackInactiveProps || $[72] !== trackSize) {
512
+ if ($[63] !== trackActiveColor || $[64] !== trackAnimatedStyle || $[65] !== trackInactiveProps || $[66] !== trackSize) {
564
513
  t16 = /*#__PURE__*/_jsx(AnimatedThemedView, {
565
514
  height: trackSize,
566
515
  backgroundColor: trackActiveColor,
567
516
  animatedStyle: trackAnimatedStyle,
568
517
  ...trackInactiveProps
569
518
  });
570
- $[69] = trackActiveColor;
571
- $[70] = trackAnimatedStyle;
572
- $[71] = trackInactiveProps;
573
- $[72] = trackSize;
574
- $[73] = t16;
519
+ $[63] = trackActiveColor;
520
+ $[64] = trackAnimatedStyle;
521
+ $[65] = trackInactiveProps;
522
+ $[66] = trackSize;
523
+ $[67] = t16;
575
524
  } else {
576
- t16 = $[73];
525
+ t16 = $[67];
577
526
  }
578
527
  let t17;
579
- if ($[74] !== t16 || $[75] !== trackActiveProps || $[76] !== trackInactiveColor || $[77] !== trackSize || $[78] !== trackWidth) {
528
+ if ($[68] !== t16 || $[69] !== trackActiveProps || $[70] !== trackInactiveColor || $[71] !== trackSize || $[72] !== trackWidth) {
580
529
  t17 = /*#__PURE__*/_jsx(ThemedView, {
581
530
  position: "absolute",
582
531
  width: trackWidth,
@@ -586,36 +535,36 @@ const Slider = t0 => {
586
535
  ...trackActiveProps,
587
536
  children: t16
588
537
  });
589
- $[74] = t16;
590
- $[75] = trackActiveProps;
591
- $[76] = trackInactiveColor;
592
- $[77] = trackSize;
593
- $[78] = trackWidth;
594
- $[79] = t17;
538
+ $[68] = t16;
539
+ $[69] = trackActiveProps;
540
+ $[70] = trackInactiveColor;
541
+ $[71] = trackSize;
542
+ $[72] = trackWidth;
543
+ $[73] = t17;
595
544
  } else {
596
- t17 = $[79];
545
+ t17 = $[73];
597
546
  }
598
547
  let t18;
599
- if ($[80] !== getMappingKey || $[81] !== processedRange || $[82] !== stepIndicator || $[83] !== stepIndicatorProps || $[84] !== stepWidth || $[85] !== thumbSize || $[86] !== thumbSizeHalf) {
548
+ if ($[74] !== getMappingKey || $[75] !== processedRange || $[76] !== stepIndicator || $[77] !== stepIndicatorProps || $[78] !== stepWidth || $[79] !== thumbSize || $[80] !== thumbSizeHalf) {
600
549
  t18 = !!stepIndicator && processedRange.map((value, index_0) => /*#__PURE__*/_jsx(ThemedSliderStepIndicator, {
601
550
  left: index_0 * (stepWidth ?? 0) + thumbSizeHalf - sliderStepIndicatorDefaultWidth / 2,
602
551
  height: thumbSize,
603
552
  ...stepIndicatorProps
604
553
  }, getMappingKey(value, index_0)));
605
- $[80] = getMappingKey;
606
- $[81] = processedRange;
607
- $[82] = stepIndicator;
608
- $[83] = stepIndicatorProps;
609
- $[84] = stepWidth;
610
- $[85] = thumbSize;
611
- $[86] = thumbSizeHalf;
612
- $[87] = t18;
554
+ $[74] = getMappingKey;
555
+ $[75] = processedRange;
556
+ $[76] = stepIndicator;
557
+ $[77] = stepIndicatorProps;
558
+ $[78] = stepWidth;
559
+ $[79] = thumbSize;
560
+ $[80] = thumbSizeHalf;
561
+ $[81] = t18;
613
562
  } else {
614
- t18 = $[87];
563
+ t18 = $[81];
615
564
  }
616
565
  const t19 = -thumbSizeHalf;
617
566
  let t20;
618
- if ($[88] !== t19 || $[89] !== thumbAnimatedStyle || $[90] !== thumbColor || $[91] !== thumbProps || $[92] !== thumbSize) {
567
+ if ($[82] !== t19 || $[83] !== thumbAnimatedStyle || $[84] !== thumbColor || $[85] !== thumbProps || $[86] !== thumbSize) {
619
568
  t20 = /*#__PURE__*/_jsx(AnimatedThemedView, {
620
569
  position: "absolute",
621
570
  right: t19,
@@ -626,17 +575,17 @@ const Slider = t0 => {
626
575
  animatedStyle: thumbAnimatedStyle,
627
576
  ...thumbProps
628
577
  });
629
- $[88] = t19;
630
- $[89] = thumbAnimatedStyle;
631
- $[90] = thumbColor;
632
- $[91] = thumbProps;
633
- $[92] = thumbSize;
634
- $[93] = t20;
578
+ $[82] = t19;
579
+ $[83] = thumbAnimatedStyle;
580
+ $[84] = thumbColor;
581
+ $[85] = thumbProps;
582
+ $[86] = thumbSize;
583
+ $[87] = t20;
635
584
  } else {
636
- t20 = $[93];
585
+ t20 = $[87];
637
586
  }
638
587
  let t21;
639
- if ($[94] !== sliderWrapProps || $[95] !== t17 || $[96] !== t18 || $[97] !== t20 || $[98] !== thumbSize || $[99] !== trackViewRef) {
588
+ if ($[88] !== sliderWrapProps || $[89] !== t17 || $[90] !== t18 || $[91] !== t20 || $[92] !== thumbSize || $[93] !== trackViewRef) {
640
589
  t21 = /*#__PURE__*/_jsxs(ThemedView, {
641
590
  ref: trackViewRef,
642
591
  alignItems: "center",
@@ -646,27 +595,27 @@ const Slider = t0 => {
646
595
  ...sliderWrapProps,
647
596
  children: [t17, t18, t20]
648
597
  });
649
- $[94] = sliderWrapProps;
650
- $[95] = t17;
651
- $[96] = t18;
652
- $[97] = t20;
653
- $[98] = thumbSize;
654
- $[99] = trackViewRef;
655
- $[100] = t21;
598
+ $[88] = sliderWrapProps;
599
+ $[89] = t17;
600
+ $[90] = t18;
601
+ $[91] = t20;
602
+ $[92] = thumbSize;
603
+ $[93] = trackViewRef;
604
+ $[94] = t21;
656
605
  } else {
657
- t21 = $[100];
606
+ t21 = $[94];
658
607
  }
659
608
  let t22;
660
- if ($[101] !== gesture || $[102] !== t21) {
609
+ if ($[95] !== gesture || $[96] !== t21) {
661
610
  t22 = /*#__PURE__*/_jsx(GestureDetector, {
662
611
  gesture: gesture,
663
612
  children: t21
664
613
  });
665
- $[101] = gesture;
666
- $[102] = t21;
667
- $[103] = t22;
614
+ $[95] = gesture;
615
+ $[96] = t21;
616
+ $[97] = t22;
668
617
  } else {
669
- t22 = $[103];
618
+ t22 = $[97];
670
619
  }
671
620
  return t22;
672
621
  };