@jamadd/react-native-template-ui 0.9.1 → 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 (311) hide show
  1. package/lib/module/components/accordion/ThemedAccordion.js +85 -60
  2. package/lib/module/components/accordion/ThemedAccordion.js.map +1 -1
  3. package/lib/module/components/button/AnimatedPressable.js +6 -0
  4. package/lib/module/components/button/AnimatedPressable.js.map +1 -1
  5. package/lib/module/components/button/AnimatedThemedPressable.js +15 -0
  6. package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
  7. package/lib/module/components/button/ThemedButton.js +15 -0
  8. package/lib/module/components/button/ThemedButton.js.map +1 -1
  9. package/lib/module/components/button/ThemedIconButton.js +15 -0
  10. package/lib/module/components/button/ThemedIconButton.js.map +1 -1
  11. package/lib/module/components/button/ThemedIconTextButton.js +16 -0
  12. package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
  13. package/lib/module/components/button/ThemedPressable.js +15 -0
  14. package/lib/module/components/button/ThemedPressable.js.map +1 -1
  15. package/lib/module/components/icon/ThemedIcon.js +14 -0
  16. package/lib/module/components/icon/ThemedIcon.js.map +1 -1
  17. package/lib/module/components/list/List.js +15 -0
  18. package/lib/module/components/list/List.js.map +1 -1
  19. package/lib/module/components/loading/ThemedLoading.js +13 -0
  20. package/lib/module/components/loading/ThemedLoading.js.map +1 -1
  21. package/lib/module/components/overlay/actionSheet/ActionSheet.js +32 -3
  22. package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
  23. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +4 -0
  24. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
  25. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +17 -2
  26. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
  27. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +7 -1
  28. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
  29. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +6 -0
  30. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
  31. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js +6 -0
  32. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js.map +1 -1
  33. package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js +6 -0
  34. package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js.map +1 -1
  35. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +7 -1
  36. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
  37. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +7 -1
  38. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
  39. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +6 -0
  40. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
  41. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +8 -2
  42. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
  43. package/lib/module/components/overlay/alert/Alert.js +19 -0
  44. package/lib/module/components/overlay/alert/Alert.js.map +1 -1
  45. package/lib/module/components/overlay/alert/AlertButton.js +6 -0
  46. package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
  47. package/lib/module/components/overlay/alert/AlertButtons.js +6 -0
  48. package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
  49. package/lib/module/components/overlay/alert/AlertContent.js +6 -0
  50. package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
  51. package/lib/module/components/overlay/alert/AlertWrap.js +7 -1
  52. package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
  53. package/lib/module/components/overlay/modal/ThemedLoadingModal.js +15 -0
  54. package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
  55. package/lib/module/components/overlay/modal/ThemedModal.js +18 -0
  56. package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
  57. package/lib/module/components/overlay/toast/ThemedToast.js +17 -2
  58. package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
  59. package/lib/module/components/provider/GestureProvider.js +11 -0
  60. package/lib/module/components/provider/GestureProvider.js.map +1 -1
  61. package/lib/module/components/provider/InsetsProvider.js +12 -0
  62. package/lib/module/components/provider/InsetsProvider.js.map +1 -1
  63. package/lib/module/components/provider/ReactNativeTemplateProviders.js +12 -0
  64. package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
  65. package/lib/module/components/provider/ThemeProvider.js +11 -0
  66. package/lib/module/components/provider/ThemeProvider.js.map +1 -1
  67. package/lib/module/components/separator/ThemedSeparator.js +19 -0
  68. package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
  69. package/lib/module/components/slider/Slider.js +89 -61
  70. package/lib/module/components/slider/Slider.js.map +1 -1
  71. package/lib/module/components/slider/ThemedSlider.js +25 -3
  72. package/lib/module/components/slider/ThemedSlider.js.map +1 -1
  73. package/lib/module/components/slider/ThemedSliderStepIndicator.js +6 -0
  74. package/lib/module/components/slider/ThemedSliderStepIndicator.js.map +1 -1
  75. package/lib/module/components/switch/ThemedSwitch.js +14 -0
  76. package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
  77. package/lib/module/components/text/Text.js +5 -0
  78. package/lib/module/components/text/Text.js.map +1 -1
  79. package/lib/module/components/text/ThemedIconText.js +22 -0
  80. package/lib/module/components/text/ThemedIconText.js.map +1 -1
  81. package/lib/module/components/text/ThemedText.js +15 -0
  82. package/lib/module/components/text/ThemedText.js.map +1 -1
  83. package/lib/module/components/view/AnimatedThemedView.js +16 -0
  84. package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
  85. package/lib/module/components/view/AnimatedView.js +6 -0
  86. package/lib/module/components/view/AnimatedView.js.map +1 -1
  87. package/lib/module/components/view/Box.js +5 -0
  88. package/lib/module/components/view/Box.js.map +1 -1
  89. package/lib/module/components/view/ThemedScreenWrap.js +79 -88
  90. package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
  91. package/lib/module/components/view/ThemedScreenWrap.web.js +84 -59
  92. package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
  93. package/lib/module/components/view/ThemedScrollView.js +17 -0
  94. package/lib/module/components/view/ThemedScrollView.js.map +1 -1
  95. package/lib/module/components/view/ThemedView.js +16 -0
  96. package/lib/module/components/view/ThemedView.js.map +1 -1
  97. package/lib/module/hooks/button.js +46 -0
  98. package/lib/module/hooks/button.js.map +1 -1
  99. package/lib/module/hooks/list.js +29 -0
  100. package/lib/module/hooks/list.js.map +1 -1
  101. package/lib/module/hooks/react.js +41 -0
  102. package/lib/module/hooks/react.js.map +1 -1
  103. package/lib/module/hooks/reanimated.js +10 -0
  104. package/lib/module/hooks/reanimated.js.map +1 -1
  105. package/lib/module/hooks/separator.js +18 -1
  106. package/lib/module/hooks/separator.js.map +1 -1
  107. package/lib/module/hooks/style.js +72 -0
  108. package/lib/module/hooks/style.js.map +1 -1
  109. package/lib/module/hooks/theme.js +93 -0
  110. package/lib/module/hooks/theme.js.map +1 -1
  111. package/lib/module/hooks/view.js +122 -1
  112. package/lib/module/hooks/view.js.map +1 -1
  113. package/lib/module/index.js +3 -3
  114. package/lib/module/index.js.map +1 -1
  115. package/lib/module/utils/button/const.js +28 -0
  116. package/lib/module/utils/button/const.js.map +1 -1
  117. package/lib/module/utils/overlay/const.js +72 -0
  118. package/lib/module/utils/overlay/const.js.map +1 -1
  119. package/lib/module/utils/overlay/func.js +101 -0
  120. package/lib/module/utils/overlay/func.js.map +1 -1
  121. package/lib/module/utils/slider/const.js +52 -0
  122. package/lib/module/utils/slider/const.js.map +1 -1
  123. package/lib/module/utils/style/const.js +14 -0
  124. package/lib/module/utils/style/const.js.map +1 -1
  125. package/lib/module/utils/style/func.js +102 -0
  126. package/lib/module/utils/style/func.js.map +1 -1
  127. package/lib/module/utils/theme/const.js +180 -0
  128. package/lib/module/utils/theme/const.js.map +1 -1
  129. package/lib/module/utils/theme/restyle.js +124 -0
  130. package/lib/module/utils/theme/restyle.js.map +1 -1
  131. package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts +15 -0
  132. package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts.map +1 -1
  133. package/lib/typescript/src/components/button/AnimatedPressable.d.ts +0 -1
  134. package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
  135. package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts +14 -0
  136. package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -1
  137. package/lib/typescript/src/components/button/ThemedButton.d.ts +14 -0
  138. package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -1
  139. package/lib/typescript/src/components/button/ThemedIconButton.d.ts +14 -0
  140. package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -1
  141. package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts +15 -0
  142. package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -1
  143. package/lib/typescript/src/components/button/ThemedPressable.d.ts +15 -0
  144. package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -1
  145. package/lib/typescript/src/components/icon/ThemedIcon.d.ts +13 -0
  146. package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -1
  147. package/lib/typescript/src/components/list/List.d.ts +14 -0
  148. package/lib/typescript/src/components/list/List.d.ts.map +1 -1
  149. package/lib/typescript/src/components/loading/ThemedLoading.d.ts +12 -0
  150. package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -1
  151. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts +18 -1
  152. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -1
  153. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -2
  154. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
  155. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -2
  156. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
  157. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -2
  158. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
  159. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -2
  160. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
  161. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +0 -2
  162. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
  163. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +0 -3
  164. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
  165. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +0 -2
  166. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
  167. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -2
  168. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
  169. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -3
  170. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
  171. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -2
  172. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
  173. package/lib/typescript/src/components/overlay/alert/Alert.d.ts +18 -0
  174. package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -1
  175. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts +0 -3
  176. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
  177. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +0 -3
  178. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
  179. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +0 -3
  180. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
  181. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +0 -8
  182. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -1
  183. package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts +14 -0
  184. package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -1
  185. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts +17 -0
  186. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
  187. package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts +14 -0
  188. package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -1
  189. package/lib/typescript/src/components/provider/GestureProvider.d.ts +11 -0
  190. package/lib/typescript/src/components/provider/GestureProvider.d.ts.map +1 -1
  191. package/lib/typescript/src/components/provider/InsetsProvider.d.ts +11 -0
  192. package/lib/typescript/src/components/provider/InsetsProvider.d.ts.map +1 -1
  193. package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts +11 -0
  194. package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -1
  195. package/lib/typescript/src/components/provider/ThemeProvider.d.ts +11 -0
  196. package/lib/typescript/src/components/provider/ThemeProvider.d.ts.map +1 -1
  197. package/lib/typescript/src/components/separator/ThemedSeparator.d.ts +18 -0
  198. package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -1
  199. package/lib/typescript/src/components/slider/Slider.d.ts +20 -0
  200. package/lib/typescript/src/components/slider/Slider.d.ts.map +1 -1
  201. package/lib/typescript/src/components/slider/ThemedSlider.d.ts +15 -0
  202. package/lib/typescript/src/components/slider/ThemedSlider.d.ts.map +1 -1
  203. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +0 -2
  204. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
  205. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts +13 -0
  206. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -1
  207. package/lib/typescript/src/components/text/Text.d.ts +0 -2021
  208. package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
  209. package/lib/typescript/src/components/text/ThemedIconText.d.ts +21 -0
  210. package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -1
  211. package/lib/typescript/src/components/text/ThemedText.d.ts +14 -0
  212. package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -1
  213. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts +15 -0
  214. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -1
  215. package/lib/typescript/src/components/view/AnimatedView.d.ts +0 -1
  216. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
  217. package/lib/typescript/src/components/view/Box.d.ts +0 -2071
  218. package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
  219. package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts +16 -0
  220. package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -1
  221. package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts +14 -0
  222. package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -1
  223. package/lib/typescript/src/components/view/ThemedScrollView.d.ts +16 -0
  224. package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
  225. package/lib/typescript/src/components/view/ThemedView.d.ts +15 -0
  226. package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -1
  227. package/lib/typescript/src/hooks/button.d.ts +41 -0
  228. package/lib/typescript/src/hooks/button.d.ts.map +1 -1
  229. package/lib/typescript/src/hooks/list.d.ts +27 -0
  230. package/lib/typescript/src/hooks/list.d.ts.map +1 -1
  231. package/lib/typescript/src/hooks/react.d.ts +38 -0
  232. package/lib/typescript/src/hooks/react.d.ts.map +1 -1
  233. package/lib/typescript/src/hooks/reanimated.d.ts +10 -0
  234. package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -1
  235. package/lib/typescript/src/hooks/separator.d.ts +16 -0
  236. package/lib/typescript/src/hooks/separator.d.ts.map +1 -1
  237. package/lib/typescript/src/hooks/style.d.ts +65 -0
  238. package/lib/typescript/src/hooks/style.d.ts.map +1 -1
  239. package/lib/typescript/src/hooks/theme.d.ts +82 -0
  240. package/lib/typescript/src/hooks/theme.d.ts.map +1 -1
  241. package/lib/typescript/src/hooks/view.d.ts +40 -2
  242. package/lib/typescript/src/hooks/view.d.ts.map +1 -1
  243. package/lib/typescript/src/types/accordion.d.ts +26 -0
  244. package/lib/typescript/src/types/accordion.d.ts.map +1 -1
  245. package/lib/typescript/src/types/button.d.ts +92 -0
  246. package/lib/typescript/src/types/button.d.ts.map +1 -1
  247. package/lib/typescript/src/types/icon.d.ts +43 -0
  248. package/lib/typescript/src/types/icon.d.ts.map +1 -1
  249. package/lib/typescript/src/types/list.d.ts +84 -0
  250. package/lib/typescript/src/types/list.d.ts.map +1 -1
  251. package/lib/typescript/src/types/loading.d.ts +38 -0
  252. package/lib/typescript/src/types/loading.d.ts.map +1 -1
  253. package/lib/typescript/src/types/overlay.d.ts +222 -0
  254. package/lib/typescript/src/types/overlay.d.ts.map +1 -1
  255. package/lib/typescript/src/types/provider.d.ts +21 -0
  256. package/lib/typescript/src/types/provider.d.ts.map +1 -1
  257. package/lib/typescript/src/types/react.d.ts +32 -0
  258. package/lib/typescript/src/types/react.d.ts.map +1 -1
  259. package/lib/typescript/src/types/reanimated.d.ts +32 -1
  260. package/lib/typescript/src/types/reanimated.d.ts.map +1 -1
  261. package/lib/typescript/src/types/separator.d.ts +26 -0
  262. package/lib/typescript/src/types/separator.d.ts.map +1 -1
  263. package/lib/typescript/src/types/slider.d.ts +88 -0
  264. package/lib/typescript/src/types/slider.d.ts.map +1 -1
  265. package/lib/typescript/src/types/style.d.ts +43 -0
  266. package/lib/typescript/src/types/style.d.ts.map +1 -1
  267. package/lib/typescript/src/types/switch.d.ts +50 -0
  268. package/lib/typescript/src/types/switch.d.ts.map +1 -1
  269. package/lib/typescript/src/types/text.d.ts +72 -0
  270. package/lib/typescript/src/types/text.d.ts.map +1 -1
  271. package/lib/typescript/src/types/theme.d.ts +111 -0
  272. package/lib/typescript/src/types/theme.d.ts.map +1 -1
  273. package/lib/typescript/src/types/view.d.ts +137 -0
  274. package/lib/typescript/src/types/view.d.ts.map +1 -1
  275. package/lib/typescript/src/utils/button/const.d.ts +27 -0
  276. package/lib/typescript/src/utils/button/const.d.ts.map +1 -1
  277. package/lib/typescript/src/utils/overlay/const.d.ts +67 -0
  278. package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
  279. package/lib/typescript/src/utils/overlay/func.d.ts +93 -0
  280. package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
  281. package/lib/typescript/src/utils/slider/const.d.ts +47 -0
  282. package/lib/typescript/src/utils/slider/const.d.ts.map +1 -1
  283. package/lib/typescript/src/utils/style/const.d.ts +14 -0
  284. package/lib/typescript/src/utils/style/const.d.ts.map +1 -1
  285. package/lib/typescript/src/utils/style/func.d.ts +95 -0
  286. package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
  287. package/lib/typescript/src/utils/theme/const.d.ts +170 -0
  288. package/lib/typescript/src/utils/theme/const.d.ts.map +1 -1
  289. package/lib/typescript/src/utils/theme/restyle.d.ts +1 -1977
  290. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
  291. package/package.json +4 -4
  292. package/lib/module/components/accordion/ThemedAccordion.web.js +0 -245
  293. package/lib/module/components/accordion/ThemedAccordion.web.js.map +0 -1
  294. package/lib/module/components/overlay/actionSheet/ActionSheet.web.js +0 -76
  295. package/lib/module/components/overlay/actionSheet/ActionSheet.web.js.map +0 -1
  296. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js +0 -113
  297. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js.map +0 -1
  298. package/lib/module/components/slider/Slider.web.js +0 -595
  299. package/lib/module/components/slider/Slider.web.js.map +0 -1
  300. package/lib/module/components/slider/ThemedSlider.web.js +0 -206
  301. package/lib/module/components/slider/ThemedSlider.web.js.map +0 -1
  302. package/lib/typescript/src/components/accordion/ThemedAccordion.web.d.ts +0 -5
  303. package/lib/typescript/src/components/accordion/ThemedAccordion.web.d.ts.map +0 -1
  304. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts +0 -5
  305. package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts.map +0 -1
  306. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts +0 -4
  307. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts.map +0 -1
  308. package/lib/typescript/src/components/slider/Slider.web.d.ts +0 -5
  309. package/lib/typescript/src/components/slider/Slider.web.d.ts.map +0 -1
  310. package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts +0 -5
  311. package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts.map +0 -1
@@ -1,27 +1,129 @@
1
1
  "use strict";
2
2
 
3
3
  import { Dimensions, StyleSheet } from 'react-native';
4
+ /**
5
+ * Creates a stylesheet from a style object with type safety.
6
+ * Wrapper around React Native's StyleSheet.create for better type inference.
7
+ *
8
+ * @param styles - Object containing named styles
9
+ * @returns A stylesheet object with optimized and frozen styles
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * const styles = createStyleSheet({
14
+ * container: {
15
+ * flex: 1,
16
+ * padding: 16
17
+ * }
18
+ * });
19
+ * ```
20
+ */
4
21
  export function createStyleSheet(styles) {
5
22
  return StyleSheet.create(styles);
6
23
  }
24
+
25
+ /**
26
+ * Composes two style objects or style props into a single style.
27
+ * Handles arrays, objects, and null/undefined values automatically.
28
+ *
29
+ * @param style1 - First style to compose
30
+ * @param style2 - Second style to compose (overrides style1 properties)
31
+ * @returns Composed style object
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * const combinedStyle = composeStyles(baseStyle, overrideStyle);
36
+ * ```
37
+ */
7
38
  export function composeStyles(style1, style2) {
8
39
  return StyleSheet.compose(style1, style2);
9
40
  }
41
+
42
+ /**
43
+ * Flattens an array of styles into a single style object.
44
+ * Useful for resolving style arrays into their final computed values.
45
+ *
46
+ * @param style - Style or array of styles to flatten
47
+ * @returns Flattened style object with all properties resolved
48
+ *
49
+ * @example
50
+ * ```tsx
51
+ * const flatStyle = flattenStyle([styles.base, styles.active]);
52
+ * console.log(flatStyle.backgroundColor); // Access resolved value
53
+ * ```
54
+ */
10
55
  export function flattenStyle(style) {
11
56
  return StyleSheet.flatten(style);
12
57
  }
58
+
59
+ /**
60
+ * Gets the current window dimensions.
61
+ *
62
+ * @returns Object containing width, height, scale, and fontScale
63
+ *
64
+ * @example
65
+ * ```tsx
66
+ * const { width, height } = getWindowDimensions();
67
+ * ```
68
+ */
13
69
  export function getWindowDimensions() {
14
70
  return Dimensions.get('window');
15
71
  }
72
+
73
+ /**
74
+ * Gets the current window width in pixels.
75
+ *
76
+ * @returns Window width in pixels
77
+ *
78
+ * @example
79
+ * ```tsx
80
+ * const width = getWindowDimensionsWidth();
81
+ * ```
82
+ */
16
83
  export function getWindowDimensionsWidth() {
17
84
  return getWindowDimensions().width;
18
85
  }
86
+
87
+ /**
88
+ * Gets the current window height in pixels.
89
+ *
90
+ * @returns Window height in pixels
91
+ *
92
+ * @example
93
+ * ```tsx
94
+ * const height = getWindowDimensionsHeight();
95
+ * ```
96
+ */
19
97
  export function getWindowDimensionsHeight() {
20
98
  return getWindowDimensions().height;
21
99
  }
100
+
101
+ /**
102
+ * Gets the device pixel density scale factor.
103
+ *
104
+ * @returns Device scale factor (e.g., 2 for @2x, 3 for @3x displays)
105
+ *
106
+ * @example
107
+ * ```tsx
108
+ * const scale = getWindowDimensionsScale();
109
+ * const physicalPixels = logicalPixels * scale;
110
+ * ```
111
+ */
22
112
  export function getWindowDimensionsScale() {
23
113
  return getWindowDimensions().scale;
24
114
  }
115
+
116
+ /**
117
+ * Gets the font scaling factor set by the user in device accessibility settings.
118
+ *
119
+ * @returns Font scale factor (typically 1.0, but can be higher for accessibility)
120
+ *
121
+ * @example
122
+ * ```tsx
123
+ * const fontScale = getWindowDimensionsFontScale();
124
+ * const actualFontSize = baseFontSize * fontScale;
125
+ * ```
126
+ */
25
127
  export function getWindowDimensionsFontScale() {
26
128
  return getWindowDimensions().fontScale;
27
129
  }
@@ -1 +1 @@
1
- {"version":3,"names":["Dimensions","StyleSheet","createStyleSheet","styles","create","composeStyles","style1","style2","compose","flattenStyle","style","flatten","getWindowDimensions","get","getWindowDimensionsWidth","width","getWindowDimensionsHeight","height","getWindowDimensionsScale","scale","getWindowDimensionsFontScale","fontScale"],"sourceRoot":"../../../../src","sources":["utils/style/func.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAGrD,OAAO,SAASC,gBAAgBA,CAAkCC,MAAS,EAAE;EAC3E,OAAOF,UAAU,CAACG,MAAM,CAAID,MAAM,CAAC;AACrC;AAEA,OAAO,SAASE,aAAaA,CAC3BC,MAA4B,EAC5BC,MAA4B,EAC5B;EACA,OAAON,UAAU,CAACO,OAAO,CAAUF,MAAM,EAAEC,MAAM,CAAC;AACpD;AAEA,OAAO,SAASE,YAAYA,CAAkBC,KAA0B,EAAE;EACxE,OAAOT,UAAU,CAACU,OAAO,CAAID,KAAK,CAAC;AACrC;AAEA,OAAO,SAASE,mBAAmBA,CAAA,EAAG;EACpC,OAAOZ,UAAU,CAACa,GAAG,CAAC,QAAQ,CAAC;AACjC;AAEA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAOF,mBAAmB,CAAC,CAAC,CAACG,KAAK;AACpC;AAEA,OAAO,SAASC,yBAAyBA,CAAA,EAAG;EAC1C,OAAOJ,mBAAmB,CAAC,CAAC,CAACK,MAAM;AACrC;AAEA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAON,mBAAmB,CAAC,CAAC,CAACO,KAAK;AACpC;AAEA,OAAO,SAASC,4BAA4BA,CAAA,EAAG;EAC7C,OAAOR,mBAAmB,CAAC,CAAC,CAACS,SAAS;AACxC","ignoreList":[]}
1
+ {"version":3,"names":["Dimensions","StyleSheet","createStyleSheet","styles","create","composeStyles","style1","style2","compose","flattenStyle","style","flatten","getWindowDimensions","get","getWindowDimensionsWidth","width","getWindowDimensionsHeight","height","getWindowDimensionsScale","scale","getWindowDimensionsFontScale","fontScale"],"sourceRoot":"../../../../src","sources":["utils/style/func.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAGrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAAkCC,MAAS,EAAE;EAC3E,OAAOF,UAAU,CAACG,MAAM,CAAID,MAAM,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,aAAaA,CAC3BC,MAA4B,EAC5BC,MAA4B,EAC5B;EACA,OAAON,UAAU,CAACO,OAAO,CAAUF,MAAM,EAAEC,MAAM,CAAC;AACpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,YAAYA,CAAkBC,KAA0B,EAAE;EACxE,OAAOT,UAAU,CAACU,OAAO,CAAID,KAAK,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,mBAAmBA,CAAA,EAAG;EACpC,OAAOZ,UAAU,CAACa,GAAG,CAAC,QAAQ,CAAC;AACjC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAOF,mBAAmB,CAAC,CAAC,CAACG,KAAK;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAAA,EAAG;EAC1C,OAAOJ,mBAAmB,CAAC,CAAC,CAACK,MAAM;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAON,mBAAmB,CAAC,CAAC,CAACO,KAAK;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,4BAA4BA,CAAA,EAAG;EAC7C,OAAOR,mBAAmB,CAAC,CAAC,CAACS,SAAS;AACxC","ignoreList":[]}
@@ -2,79 +2,228 @@
2
2
 
3
3
  import { createTheme } from '@shopify/restyle';
4
4
  import { StyleSheet } from 'react-native';
5
+
6
+ /**
7
+ * Color palette used throughout the application.
8
+ * Contains primary theme colors and semantic colors with transparency variants.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * const styles = StyleSheet.create({
13
+ * container: {
14
+ * backgroundColor: Palette.ThemePri,
15
+ * borderColor: Palette.Silver
16
+ * }
17
+ * });
18
+ * ```
19
+ */
5
20
  export let Palette = /*#__PURE__*/function (Palette) {
21
+ /** Fully transparent color */
6
22
  Palette["Transparent"] = "transparent";
23
+ /** Primary theme color - bright green */
7
24
  Palette["ThemePri"] = "#7ccf6b";
25
+ /** Secondary theme color - darker green */
8
26
  Palette["ThemeSec"] = "#5aa85a";
27
+ /** Primary theme color with 50% transparency */
9
28
  Palette["ThemePriT"] = "#7ccf6b80";
29
+ /** Near black - used for text in light mode */
10
30
  Palette["Black"] = "#000501";
31
+ /** Black with 50% transparency */
11
32
  Palette["BlackT"] = "#00050180";
33
+ /** Off-white - used for backgrounds in light mode */
12
34
  Palette["White"] = "#fafafa";
35
+ /** White with 50% transparency */
13
36
  Palette["WhiteT"] = "#fafafa80";
37
+ /** Light gray - used for disabled states */
14
38
  Palette["Silver"] = "#c4c4c4";
39
+ /** Medium gray - used for borders */
15
40
  Palette["Grey"] = "#7a7a7a";
41
+ /** Red - used for errors and destructive actions */
16
42
  Palette["Red"] = "#ff3b30";
17
43
  return Palette;
18
44
  }({});
45
+
46
+ /**
47
+ * Spacing scale used for margins, padding, and gaps.
48
+ * Based on a geometric progression for consistent spacing ratios.
49
+ *
50
+ * @example
51
+ * ```tsx
52
+ * <View style={{ padding: Spacing.M, gap: Spacing.S }}>
53
+ * <Text>Content</Text>
54
+ * </View>
55
+ * ```
56
+ */
19
57
  export let Spacing = /*#__PURE__*/function (Spacing) {
58
+ /** No spacing - 0px */
20
59
  Spacing[Spacing["None"] = 0] = "None";
60
+ /** Extra extra extra small - 2px */
21
61
  Spacing[Spacing["XXXS"] = 2] = "XXXS";
62
+ /** Extra extra small - 4px */
22
63
  Spacing[Spacing["XXS"] = 4] = "XXS";
64
+ /** Extra small - 6px */
23
65
  Spacing[Spacing["XS"] = 6] = "XS";
66
+ /** Small - 10px */
24
67
  Spacing[Spacing["S"] = 10] = "S";
68
+ /** Medium - 16px */
25
69
  Spacing[Spacing["M"] = 16] = "M";
70
+ /** Large - 26px */
26
71
  Spacing[Spacing["L"] = 26] = "L";
72
+ /** Extra large - 42px */
27
73
  Spacing[Spacing["XL"] = 42] = "XL";
74
+ /** Extra extra large - 68px */
28
75
  Spacing[Spacing["XXL"] = 68] = "XXL";
76
+ /** Extra extra extra large - 110px */
29
77
  Spacing[Spacing["XXXL"] = 110] = "XXXL";
30
78
  return Spacing;
31
79
  }({});
80
+
81
+ /**
82
+ * Font size scale for text elements.
83
+ * Provides consistent typography sizing across the application.
84
+ *
85
+ * @example
86
+ * ```tsx
87
+ * <Text style={{ fontSize: FontSize.M }}>
88
+ * Medium text
89
+ * </Text>
90
+ * ```
91
+ */
32
92
  export let FontSize = /*#__PURE__*/function (FontSize) {
93
+ /** Extra small - 12px */
33
94
  FontSize[FontSize["XS"] = 12] = "XS";
95
+ /** Small - 16px */
34
96
  FontSize[FontSize["S"] = 16] = "S";
97
+ /** Medium - 20px */
35
98
  FontSize[FontSize["M"] = 20] = "M";
99
+ /** Large - 24px */
36
100
  FontSize[FontSize["L"] = 24] = "L";
101
+ /** Extra large - 28px */
37
102
  FontSize[FontSize["XL"] = 28] = "XL";
38
103
  return FontSize;
39
104
  }({});
40
105
 
41
106
  /** @internal */
42
107
  const FontLineHeightRatio = 1.4;
108
+
109
+ /**
110
+ * Line heights calculated from font sizes with a 1.4 ratio.
111
+ * Ensures proper vertical spacing and readability for text.
112
+ *
113
+ * @example
114
+ * ```tsx
115
+ * <Text style={{
116
+ * fontSize: FontSize.M,
117
+ * lineHeight: FontLineHeight.M
118
+ * }}>
119
+ * Readable text
120
+ * </Text>
121
+ * ```
122
+ */
43
123
  export let FontLineHeight = /*#__PURE__*/function (FontLineHeight) {
124
+ /** Extra small line height - 16.8px (12px * 1.4) */
44
125
  FontLineHeight[FontLineHeight["XS"] = 16.799999999999997] = "XS";
126
+ /** Small line height - 22.4px (16px * 1.4) */
45
127
  FontLineHeight[FontLineHeight["S"] = 22.4] = "S";
128
+ /** Medium line height - 28px (20px * 1.4) */
46
129
  FontLineHeight[FontLineHeight["M"] = 28] = "M";
130
+ /** Large line height - 33.6px (24px * 1.4) */
47
131
  FontLineHeight[FontLineHeight["L"] = 33.599999999999994] = "L";
132
+ /** Extra large line height - 39.2px (28px * 1.4) */
48
133
  FontLineHeight[FontLineHeight["XL"] = 39.199999999999996] = "XL";
49
134
  return FontLineHeight;
50
135
  }({});
136
+
137
+ /**
138
+ * Size options for switch components.
139
+ * Values represent the width/height of the switch track in pixels.
140
+ *
141
+ * @example
142
+ * ```tsx
143
+ * <Switch size={SwitchSize.M} />
144
+ * ```
145
+ */
51
146
  export let SwitchSize = /*#__PURE__*/function (SwitchSize) {
147
+ /** Small switch - 16px */
52
148
  SwitchSize[SwitchSize["S"] = 16] = "S";
149
+ /** Medium switch - 22px */
53
150
  SwitchSize[SwitchSize["M"] = 22] = "M";
151
+ /** Large switch - 28px */
54
152
  SwitchSize[SwitchSize["L"] = 28] = "L";
55
153
  return SwitchSize;
56
154
  }({});
155
+
156
+ /**
157
+ * Border width/thickness options.
158
+ * Includes hairline width for platform-specific thin borders.
159
+ *
160
+ * @example
161
+ * ```tsx
162
+ * <View style={{ borderWidth: BorderSize.M }}>
163
+ * Content
164
+ * </View>
165
+ * ```
166
+ */
57
167
  export let BorderSize = function (BorderSize) {
168
+ /** No border - 0px */
58
169
  BorderSize[BorderSize["None"] = 0] = "None";
170
+ /** Hairline border - thinnest possible border for the platform (typically 0.5-1px) */
59
171
  BorderSize[BorderSize["XS"] = StyleSheet.hairlineWidth] = "XS";
172
+ /** Small border - 1px */
60
173
  BorderSize[BorderSize["S"] = 1] = "S";
174
+ /** Medium border - 2px */
61
175
  BorderSize[BorderSize["M"] = 2] = "M";
176
+ /** Large border - 4px */
62
177
  BorderSize[BorderSize["L"] = 4] = "L";
178
+ /** Extra large border - 8px */
63
179
  BorderSize[BorderSize["XL"] = 8] = "XL";
64
180
  return BorderSize;
65
181
  }({});
182
+
183
+ /**
184
+ * Border radius options for rounded corners.
185
+ * Round value creates fully circular shapes when applied to square elements.
186
+ *
187
+ * @example
188
+ * ```tsx
189
+ * <View style={{ borderRadius: BorderRadius.M }}>
190
+ * Rounded corners
191
+ * </View>
192
+ * ```
193
+ */
66
194
  export let BorderRadius = /*#__PURE__*/function (BorderRadius) {
195
+ /** No rounding - sharp corners */
67
196
  BorderRadius[BorderRadius["None"] = 0] = "None";
197
+ /** Small radius - 12px */
68
198
  BorderRadius[BorderRadius["S"] = 12] = "S";
199
+ /** Medium radius - 24px */
69
200
  BorderRadius[BorderRadius["M"] = 24] = "M";
201
+ /** Large radius - 36px */
70
202
  BorderRadius[BorderRadius["L"] = 36] = "L";
203
+ /** Fully rounded - creates circles/pills (9999px) */
71
204
  BorderRadius[BorderRadius["Round"] = 9999] = "Round";
72
205
  return BorderRadius;
73
206
  }({});
207
+
208
+ /**
209
+ * Z-index layering values for stacking order.
210
+ * Controls which elements appear above others in the visual hierarchy.
211
+ *
212
+ * @example
213
+ * ```tsx
214
+ * <View style={{ zIndex: ZIndex.Top }}>
215
+ * Top layer content
216
+ * </View>
217
+ * ```
218
+ */
74
219
  export let ZIndex = /*#__PURE__*/function (ZIndex) {
220
+ /** Base layer - 0 */
75
221
  ZIndex[ZIndex["Base"] = 0] = "Base";
222
+ /** Bottom layer - 1 */
76
223
  ZIndex[ZIndex["Bottom"] = 1] = "Bottom";
224
+ /** Middle layer - 2 */
77
225
  ZIndex[ZIndex["Middle"] = 2] = "Middle";
226
+ /** Top layer - 3 */
78
227
  ZIndex[ZIndex["Top"] = 3] = "Top";
79
228
  return ZIndex;
80
229
  }({});
@@ -107,6 +256,22 @@ const textVariants = {
107
256
  color: 'text'
108
257
  }
109
258
  };
259
+
260
+ /**
261
+ * Light theme configuration for the application.
262
+ * Contains all theme values including colors, spacing, breakpoints, and text variants.
263
+ * Built using Shopify Restyle for type-safe styling.
264
+ *
265
+ * @example
266
+ * ```tsx
267
+ * import { ThemeProvider } from '@shopify/restyle';
268
+ * import { lightTheme } from './utils/theme/const';
269
+ *
270
+ * <ThemeProvider theme={lightTheme}>
271
+ * <App />
272
+ * </ThemeProvider>
273
+ * ```
274
+ */
110
275
  export const lightTheme = createTheme({
111
276
  colors: {
112
277
  transparent: Palette.Transparent,
@@ -179,6 +344,21 @@ export const lightTheme = createTheme({
179
344
  defaults: textVariants.textM
180
345
  }
181
346
  });
347
+
348
+ /**
349
+ * Dark theme configuration for the application.
350
+ * Extends the light theme with inverted background and text colors.
351
+ *
352
+ * @example
353
+ * ```tsx
354
+ * import { ThemeProvider } from '@shopify/restyle';
355
+ * import { darkTheme } from './utils/theme/const';
356
+ *
357
+ * <ThemeProvider theme={darkTheme}>
358
+ * <App />
359
+ * </ThemeProvider>
360
+ * ```
361
+ */
182
362
  export const darkTheme = {
183
363
  ...lightTheme,
184
364
  colors: {
@@ -1 +1 @@
1
- {"version":3,"names":["createTheme","StyleSheet","Palette","Spacing","FontSize","FontLineHeightRatio","FontLineHeight","SwitchSize","BorderSize","hairlineWidth","BorderRadius","ZIndex","textVariants","textXS","fontSize","XS","lineHeight","color","textS","S","textM","M","textL","L","textXL","XL","lightTheme","colors","transparent","Transparent","themePri","ThemePri","themeSec","ThemeSec","themePriT","ThemePriT","background","White","backgroundOverlay","BlackT","text","Black","textOverlay","textButton","border","Grey","separator","Silver","err","Red","spacing","none","None","xxxs","XXXS","xxs","XXS","xs","s","m","l","xl","xxl","XXL","xxxl","XXXL","breakpoints","smallPhone","phone","smallTablet","tablet","desktop","zIndices","base","Base","bottom","Bottom","middle","Middle","top","Top","borderRadii","round","Round","textXSBold","fontWeight","textSBold","textMBold","textLBold","textXLBold","defaults","darkTheme"],"sourceRoot":"../../../../src","sources":["utils/theme/const.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,UAAU,QAAQ,cAAc;AAEzC,WAAYC,OAAO,0BAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAA,OAAPA,OAAO;AAAA;AAcnB,WAAYC,OAAO,0BAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAA,OAAPA,OAAO;AAAA;AAanB,WAAYC,QAAQ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AAG5E,YAAY,CAACU,KAAK;MACrB+D,UAAU,EAAE;IACd,CAAC;IACDI,UAAU,EAAE;MACV,GAAG7E,YAAY,CAACY,MAAM;MACtB6D,UAAU,EAAE;IACd,CAAC;IACDK,QAAQ,EAAE9E,YAAY,CAACQ;EACzB;AACF,CAAC,CAAC;AAEF,OAAO,MAAMuE,SAA4B,GAAG;EAC1C,GAAGjE,UAAU;EACbC,MAAM,EAAE;IACN,GAAGD,UAAU,CAACC,MAAM;IACpBS,UAAU,EAAElC,OAAO,CAACuC,KAAK;IACzBD,IAAI,EAAEtC,OAAO,CAACmC;EAChB;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["createTheme","StyleSheet","Palette","Spacing","FontSize","FontLineHeightRatio","FontLineHeight","SwitchSize","BorderSize","hairlineWidth","BorderRadius","ZIndex","textVariants","textXS","fontSize","XS","lineHeight","color","textS","S","textM","M","textL","L","textXL","XL","lightTheme","colors","transparent","Transparent","themePri","ThemePri","themeSec","ThemeSec","themePriT","ThemePriT","background","White","backgroundOverlay","BlackT","text","Black","textOverlay","textButton","border","Grey","separator","Silver","err","Red","spacing","none","None","xxxs","XXXS","xxs","XXS","xs","s","m","l","xl","xxl","XXL","xxxl","XXXL","breakpoints","smallPhone","phone","smallTablet","tablet","desktop","zIndices","base","Base","bottom","Bottom","middle","Middle","top","Top","borderRadii","round","Round","textXSBold","fontWeight","textSBold","textMBold","textLBold","textXLBold","defaults","darkTheme"],"sourceRoot":"../../../../src","sources":["utils/theme/const.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,UAAU,QAAQ,cAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYC,OAAO,0BAAPA,OAAO;EACjB;EADUA,OAAO;EAGjB;EAHUA,OAAO;EAKjB;EALUA,OAAO;EAOjB;EAPUA,OAAO;EASjB;EATUA,OAAO;EAWjB;EAXUA,OAAO;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AAC;IACDI,UAAU,EAAE;MACV,GAAG7E,YAAY,CAACY,MAAM;MACtB6D,UAAU,EAAE;IACd,CAAC;IACDK,QAAQ,EAAE9E,YAAY,CAACQ;EACzB;AACF,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMuE,SAA4B,GAAG;EAC1C,GAAGjE,UAAU;EACbC,MAAM,EAAE;IACN,GAAGD,UAAU,CAACC,MAAM;IACpBS,UAAU,EAAElC,OAAO,CAACuC,KAAK;IACzBD,IAAI,EAAEtC,OAAO,CAACmC;EAChB;AACF,CAAC","ignoreList":[]}
@@ -5,16 +5,140 @@ import { backgroundColor, backgroundColorShorthand, border, color, composeRestyl
5
5
  const restyleBaseFuncs = [spacing, spacingShorthand, layout, position];
6
6
  const restyleBackgroundFuncs = [backgroundColor, backgroundColorShorthand];
7
7
  const restyleViewFuncs = [...restyleBaseFuncs, ...restyleBackgroundFuncs, opacity, border, shadow];
8
+
9
+ /**
10
+ * Composed Restyle functions for ThemedPressable components.
11
+ * Provides type-safe theme-aware styling props for pressable elements.
12
+ * Supports spacing, layout, background, opacity, border, and shadow properties.
13
+ *
14
+ * @internal
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * const StyledPressable = createRestyleComponent(
19
+ * themedPressableRestyleFuncs,
20
+ * Pressable
21
+ * );
22
+ * ```
23
+ */
8
24
  export const themedPressableRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
25
+
26
+ /**
27
+ * Composed Restyle functions for AnimatedThemedPressable components.
28
+ * Similar to themedPressableRestyleFuncs but for animated pressable components.
29
+ * Excludes animatedStyle prop to prevent conflicts with Reanimated.
30
+ *
31
+ * @internal
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * const AnimatedStyledPressable = createRestyleComponent(
36
+ * animatedThemedPressableRestyleFuncs,
37
+ * Animated.Pressable
38
+ * );
39
+ * ```
40
+ */
9
41
  export const animatedThemedPressableRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
42
+
43
+ /**
44
+ * Composed Restyle functions for ThemedLoading components.
45
+ * Provides theme-aware styling props for loading indicators.
46
+ * Supports spacing, layout, and position properties (no background or color).
47
+ *
48
+ * @internal
49
+ *
50
+ * @example
51
+ * ```tsx
52
+ * const StyledLoading = createRestyleComponent(
53
+ * themedLoadingRestyleFuncs,
54
+ * ActivityIndicator
55
+ * );
56
+ * ```
57
+ */
10
58
  export const themedLoadingRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
59
+
60
+ /**
61
+ * Composed Restyle functions for ThemedLoading color prop.
62
+ * Handles only the color property for loading indicators.
63
+ * Separated to allow independent color theming.
64
+ *
65
+ * @internal
66
+ *
67
+ * @example
68
+ * ```tsx
69
+ * const { color } = useRestyle(themedLoadingColorRestyleFuncs, props);
70
+ * ```
71
+ */
11
72
  export const themedLoadingColorRestyleFuncs = composeRestyleFunctions([
12
73
  // @ts-expect-error
13
74
  color]);
75
+
76
+ /**
77
+ * Composed Restyle functions for ThemedIcon components.
78
+ * Provides theme-aware styling props for icon elements.
79
+ * Supports spacing, layout, and position properties (no color here).
80
+ *
81
+ * @internal
82
+ *
83
+ * @example
84
+ * ```tsx
85
+ * const StyledIcon = createRestyleComponent(
86
+ * themedIconRestyleFuncs,
87
+ * Icon
88
+ * );
89
+ * ```
90
+ */
14
91
  export const themedIconRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
92
+
93
+ /**
94
+ * Composed Restyle functions for ThemedIcon color prop.
95
+ * Handles only the color property for icons.
96
+ * Separated to allow independent color theming.
97
+ *
98
+ * @internal
99
+ *
100
+ * @example
101
+ * ```tsx
102
+ * const { color } = useRestyle(themedIconColorRestyleFuncs, props);
103
+ * ```
104
+ */
15
105
  export const themedIconColorRestyleFuncs = composeRestyleFunctions([
16
106
  // @ts-expect-error
17
107
  color]);
108
+
109
+ /**
110
+ * Composed Restyle functions for AnimatedThemedView components.
111
+ * Provides theme-aware styling props for animated view elements.
112
+ * Supports full view styling including spacing, layout, background, opacity, border, and shadow.
113
+ * Excludes animatedStyle prop to prevent conflicts with Reanimated.
114
+ *
115
+ * @internal
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * const AnimatedStyledView = createRestyleComponent(
120
+ * animatedThemedViewRestyleFuncs,
121
+ * Animated.View
122
+ * );
123
+ * ```
124
+ */
18
125
  export const animatedThemedViewRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
126
+
127
+ /**
128
+ * Composed Restyle functions for ThemedScrollView components.
129
+ * Provides theme-aware styling props for scroll view containers.
130
+ * Supports spacing, layout, and position properties (base functions only).
131
+ * Excludes insets and ref props which are handled separately.
132
+ *
133
+ * @internal
134
+ *
135
+ * @example
136
+ * ```tsx
137
+ * const StyledScrollView = createRestyleComponent(
138
+ * themedScrollViewRestyleFuncs,
139
+ * ScrollView
140
+ * );
141
+ * ```
142
+ */
19
143
  export const themedScrollViewRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
20
144
  //# sourceMappingURL=restyle.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["backgroundColor","backgroundColorShorthand","border","color","composeRestyleFunctions","layout","opacity","position","shadow","spacing","spacingShorthand","restyleBaseFuncs","restyleBackgroundFuncs","restyleViewFuncs","themedPressableRestyleFuncs","animatedThemedPressableRestyleFuncs","themedLoadingRestyleFuncs","themedLoadingColorRestyleFuncs","themedIconRestyleFuncs","themedIconColorRestyleFuncs","animatedThemedViewRestyleFuncs","themedScrollViewRestyleFuncs"],"sourceRoot":"../../../../src","sources":["utils/theme/restyle.ts"],"mappings":";;AAAA;AACA,SACEA,eAAe,EACfC,wBAAwB,EACxBC,MAAM,EACNC,KAAK,EACLC,uBAAuB,EACvBC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,kBAAkB;AAczB,MAAMC,gBAAgB,GAAG,CAACF,OAAO,EAAEC,gBAAgB,EAAEL,MAAM,EAAEE,QAAQ,CAAC;AAEtE,MAAMK,sBAAsB,GAAG,CAACZ,eAAe,EAAEC,wBAAwB,CAAC;AAE1E,MAAMY,gBAAgB,GAAG,CACvB,GAAGF,gBAAgB,EACnB,GAAGC,sBAAsB,EACzBN,OAAO,EACPJ,MAAM,EACNM,MAAM,CACP;AAED,OAAO,MAAMM,2BAA2B,GAAGV,uBAAuB,CAGhES,gBAAgB,CAAC;AAEnB,OAAO,MAAME,mCAAmC,GAAGX,uBAAuB,CAMxES,gBAAgB,CAAC;AAEnB,OAAO,MAAMG,yBAAyB,GAAGZ,uBAAuB,CAG9DO,gBAAgB,CAAC;AAEnB,OAAO,MAAMM,8BAA8B,GAAGb,uBAAuB,CAGnE;AACA;AACAD,KAAK,CACN,CAAC;AAEF,OAAO,MAAMe,sBAAsB,GAAGd,uBAAuB,CAG3DO,gBAAgB,CAAC;AAEnB,OAAO,MAAMQ,2BAA2B,GAAGf,uBAAuB,CAGhE;AACA;AACAD,KAAK,CACN,CAAC;AAEF,OAAO,MAAMiB,8BAA8B,GAAGhB,uBAAuB,CAGnES,gBAAgB,CAAC;AAEnB,OAAO,MAAMQ,4BAA4B,GAAGjB,uBAAuB,CAGjEO,gBAAgB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["backgroundColor","backgroundColorShorthand","border","color","composeRestyleFunctions","layout","opacity","position","shadow","spacing","spacingShorthand","restyleBaseFuncs","restyleBackgroundFuncs","restyleViewFuncs","themedPressableRestyleFuncs","animatedThemedPressableRestyleFuncs","themedLoadingRestyleFuncs","themedLoadingColorRestyleFuncs","themedIconRestyleFuncs","themedIconColorRestyleFuncs","animatedThemedViewRestyleFuncs","themedScrollViewRestyleFuncs"],"sourceRoot":"../../../../src","sources":["utils/theme/restyle.ts"],"mappings":";;AAAA;AACA,SACEA,eAAe,EACfC,wBAAwB,EACxBC,MAAM,EACNC,KAAK,EACLC,uBAAuB,EACvBC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,kBAAkB;AAczB,MAAMC,gBAAgB,GAAG,CAACF,OAAO,EAAEC,gBAAgB,EAAEL,MAAM,EAAEE,QAAQ,CAAC;AAEtE,MAAMK,sBAAsB,GAAG,CAACZ,eAAe,EAAEC,wBAAwB,CAAC;AAE1E,MAAMY,gBAAgB,GAAG,CACvB,GAAGF,gBAAgB,EACnB,GAAGC,sBAAsB,EACzBN,OAAO,EACPJ,MAAM,EACNM,MAAM,CACP;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,2BAA2B,GAAGV,uBAAuB,CAGhES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,mCAAmC,GAAGX,uBAAuB,CAMxES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,yBAAyB,GAAGZ,uBAAuB,CAG9DO,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,8BAA8B,GAAGb,uBAAuB,CAGnE;AACA;AACAD,KAAK,CACN,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMe,sBAAsB,GAAGd,uBAAuB,CAG3DO,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,2BAA2B,GAAGf,uBAAuB,CAGhE;AACA;AACAD,KAAK,CACN,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMiB,8BAA8B,GAAGhB,uBAAuB,CAGnES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,4BAA4B,GAAGjB,uBAAuB,CAGjEO,gBAAgB,CAAC","ignoreList":[]}
@@ -1,5 +1,20 @@
1
1
  import { type FC } from 'react';
2
2
  import type { ThemedAccordionProps } from '../../types/accordion';
3
+ /**
4
+ * A themed accordion component that expands and collapses content with smooth animations.
5
+ * Features a clickable header with text and icon, and animates the height of the content area.
6
+ * Supports customization of borders, colors, icons, and internal layout through comprehensive props.
7
+ * @param props - Component props of type ThemedAccordionProps
8
+ * @returns JSX element rendering an expandable/collapsible accordion
9
+ * @example
10
+ * <ThemedAccordion
11
+ * text="FAQ Section"
12
+ * iconNameOpened="up"
13
+ * iconNameClosed="down"
14
+ * >
15
+ * <ThemedText>This is the accordion content</ThemedText>
16
+ * </ThemedAccordion>
17
+ */
3
18
  declare const ThemedAccordion: FC<ThemedAccordionProps>;
4
19
  export default ThemedAccordion;
5
20
  //# sourceMappingURL=ThemedAccordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemedAccordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/accordion/ThemedAccordion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAYlE,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA2H7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ThemedAccordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/accordion/ThemedAccordion.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAiBlE;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAoI7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const AnimatedPressable: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>;
2
1
  export default AnimatedPressable;
3
2
  //# sourceMappingURL=AnimatedPressable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,6VAA8C,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"AAWA,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,19 @@
1
1
  import type { FC } from 'react';
2
2
  import type { AnimatedThemedPressableProps } from '../../types/button';
3
+ /**
4
+ * A themed animated pressable component that applies theme-aware styling and animations.
5
+ * Combines theme system integration with animated press interactions for smooth visual feedback.
6
+ * @param props - Component props of type AnimatedThemedPressableProps
7
+ * @returns JSX element rendering an animated themed pressable
8
+ * @example
9
+ * <AnimatedThemedPressable
10
+ * onPress={() => console.log('pressed')}
11
+ * backgroundColor="themePri"
12
+ * animatedStyle={{ opacity: 0.8 }}
13
+ * >
14
+ * <ThemedText>Press Me</ThemedText>
15
+ * </AnimatedThemedPressable>
16
+ */
3
17
  declare const AnimatedThemedPressable: FC<AnimatedThemedPressableProps>;
4
18
  export default AnimatedThemedPressable;
5
19
  //# sourceMappingURL=AnimatedThemedPressable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGvE,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAI7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"AnimatedThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGvE;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAI7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}