@umituz/react-native-design-system 1.3.1 → 1.3.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 (349) hide show
  1. package/lib/domains/icons/domain/config/IconLibraryConfig.d.ts +91 -0
  2. package/lib/domains/icons/domain/config/IconLibraryConfig.d.ts.map +1 -0
  3. package/lib/domains/icons/domain/config/IconLibraryConfig.js +85 -0
  4. package/lib/domains/icons/domain/config/IconLibraryConfig.js.map +1 -0
  5. package/lib/domains/icons/domain/entities/Icon.d.ts +111 -0
  6. package/lib/domains/icons/domain/entities/Icon.d.ts.map +1 -0
  7. package/lib/domains/icons/domain/entities/Icon.js +87 -0
  8. package/lib/domains/icons/domain/entities/Icon.js.map +1 -0
  9. package/lib/domains/icons/domain/interfaces/IIconAdapter.d.ts +114 -0
  10. package/lib/domains/icons/domain/interfaces/IIconAdapter.d.ts.map +1 -0
  11. package/lib/domains/icons/domain/interfaces/IIconAdapter.js +17 -0
  12. package/lib/domains/icons/domain/interfaces/IIconAdapter.js.map +1 -0
  13. package/lib/domains/icons/index.d.ts +84 -0
  14. package/lib/domains/icons/index.d.ts.map +1 -0
  15. package/lib/domains/icons/index.js +89 -0
  16. package/lib/domains/icons/index.js.map +1 -0
  17. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.d.ts +24 -0
  18. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.d.ts.map +1 -0
  19. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.js +85 -0
  20. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.js.map +1 -0
  21. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.d.ts +23 -0
  22. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.d.ts.map +1 -0
  23. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.js +178 -0
  24. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.js.map +1 -0
  25. package/lib/domains/icons/presentation/components/Icon.d.ts +42 -0
  26. package/lib/domains/icons/presentation/components/Icon.d.ts.map +1 -0
  27. package/lib/domains/icons/presentation/components/Icon.js +86 -0
  28. package/lib/domains/icons/presentation/components/Icon.js.map +1 -0
  29. package/lib/domains/icons/presentation/hooks/useIconLibrary.d.ts +38 -0
  30. package/lib/domains/icons/presentation/hooks/useIconLibrary.d.ts.map +1 -0
  31. package/lib/domains/icons/presentation/hooks/useIconLibrary.js +114 -0
  32. package/lib/domains/icons/presentation/hooks/useIconLibrary.js.map +1 -0
  33. package/lib/index.d.ts +66 -0
  34. package/lib/index.d.ts.map +1 -0
  35. package/lib/index.js +106 -0
  36. package/lib/index.js.map +1 -0
  37. package/lib/infrastructure/theme/globalThemeStore.d.ts +42 -0
  38. package/lib/infrastructure/theme/globalThemeStore.d.ts.map +1 -0
  39. package/lib/infrastructure/theme/globalThemeStore.js +38 -0
  40. package/lib/infrastructure/theme/globalThemeStore.js.map +1 -0
  41. package/lib/presentation/atoms/AtomicAvatar.d.ts +48 -0
  42. package/lib/presentation/atoms/AtomicAvatar.d.ts.map +1 -0
  43. package/lib/presentation/atoms/AtomicAvatar.js +85 -0
  44. package/lib/presentation/atoms/AtomicAvatar.js.map +1 -0
  45. package/lib/presentation/atoms/AtomicAvatarGroup.d.ts +56 -0
  46. package/lib/presentation/atoms/AtomicAvatarGroup.d.ts.map +1 -0
  47. package/lib/presentation/atoms/AtomicAvatarGroup.js +83 -0
  48. package/lib/presentation/atoms/AtomicAvatarGroup.js.map +1 -0
  49. package/lib/presentation/atoms/AtomicBadge.d.ts +42 -0
  50. package/lib/presentation/atoms/AtomicBadge.d.ts.map +1 -0
  51. package/lib/presentation/atoms/AtomicBadge.js +168 -0
  52. package/lib/presentation/atoms/AtomicBadge.js.map +1 -0
  53. package/lib/presentation/atoms/AtomicButton.d.ts +22 -0
  54. package/lib/presentation/atoms/AtomicButton.d.ts.map +1 -0
  55. package/lib/presentation/atoms/AtomicButton.js +193 -0
  56. package/lib/presentation/atoms/AtomicButton.js.map +1 -0
  57. package/lib/presentation/atoms/AtomicCard.d.ts +15 -0
  58. package/lib/presentation/atoms/AtomicCard.d.ts.map +1 -0
  59. package/lib/presentation/atoms/AtomicCard.js +89 -0
  60. package/lib/presentation/atoms/AtomicCard.js.map +1 -0
  61. package/lib/presentation/atoms/AtomicChip.d.ts +53 -0
  62. package/lib/presentation/atoms/AtomicChip.d.ts.map +1 -0
  63. package/lib/presentation/atoms/AtomicChip.js +131 -0
  64. package/lib/presentation/atoms/AtomicChip.js.map +1 -0
  65. package/lib/presentation/atoms/AtomicDatePicker.d.ts +75 -0
  66. package/lib/presentation/atoms/AtomicDatePicker.d.ts.map +1 -0
  67. package/lib/presentation/atoms/AtomicDatePicker.js +246 -0
  68. package/lib/presentation/atoms/AtomicDatePicker.js.map +1 -0
  69. package/lib/presentation/atoms/AtomicDivider.d.ts +45 -0
  70. package/lib/presentation/atoms/AtomicDivider.d.ts.map +1 -0
  71. package/lib/presentation/atoms/AtomicDivider.js +58 -0
  72. package/lib/presentation/atoms/AtomicDivider.js.map +1 -0
  73. package/lib/presentation/atoms/AtomicFab.d.ts +38 -0
  74. package/lib/presentation/atoms/AtomicFab.d.ts.map +1 -0
  75. package/lib/presentation/atoms/AtomicFab.js +69 -0
  76. package/lib/presentation/atoms/AtomicFab.js.map +1 -0
  77. package/lib/presentation/atoms/AtomicFilter.d.ts +37 -0
  78. package/lib/presentation/atoms/AtomicFilter.d.ts.map +1 -0
  79. package/lib/presentation/atoms/AtomicFilter.js +104 -0
  80. package/lib/presentation/atoms/AtomicFilter.js.map +1 -0
  81. package/lib/presentation/atoms/AtomicFormError.d.ts +30 -0
  82. package/lib/presentation/atoms/AtomicFormError.d.ts.map +1 -0
  83. package/lib/presentation/atoms/AtomicFormError.js +64 -0
  84. package/lib/presentation/atoms/AtomicFormError.js.map +1 -0
  85. package/lib/presentation/atoms/AtomicIcon.d.ts +36 -0
  86. package/lib/presentation/atoms/AtomicIcon.d.ts.map +1 -0
  87. package/lib/presentation/atoms/AtomicIcon.js +30 -0
  88. package/lib/presentation/atoms/AtomicIcon.js.map +1 -0
  89. package/lib/presentation/atoms/AtomicImage.d.ts +40 -0
  90. package/lib/presentation/atoms/AtomicImage.d.ts.map +1 -0
  91. package/lib/presentation/atoms/AtomicImage.js +92 -0
  92. package/lib/presentation/atoms/AtomicImage.js.map +1 -0
  93. package/lib/presentation/atoms/AtomicInput.d.ts +71 -0
  94. package/lib/presentation/atoms/AtomicInput.d.ts.map +1 -0
  95. package/lib/presentation/atoms/AtomicInput.js +196 -0
  96. package/lib/presentation/atoms/AtomicInput.js.map +1 -0
  97. package/lib/presentation/atoms/AtomicNumberInput.d.ts +69 -0
  98. package/lib/presentation/atoms/AtomicNumberInput.d.ts.map +1 -0
  99. package/lib/presentation/atoms/AtomicNumberInput.js +125 -0
  100. package/lib/presentation/atoms/AtomicNumberInput.js.map +1 -0
  101. package/lib/presentation/atoms/AtomicPicker.d.ts +52 -0
  102. package/lib/presentation/atoms/AtomicPicker.d.ts.map +1 -0
  103. package/lib/presentation/atoms/AtomicPicker.js +299 -0
  104. package/lib/presentation/atoms/AtomicPicker.js.map +1 -0
  105. package/lib/presentation/atoms/AtomicProgress.d.ts +47 -0
  106. package/lib/presentation/atoms/AtomicProgress.d.ts.map +1 -0
  107. package/lib/presentation/atoms/AtomicProgress.js +81 -0
  108. package/lib/presentation/atoms/AtomicProgress.js.map +1 -0
  109. package/lib/presentation/atoms/AtomicSearchBar.d.ts +19 -0
  110. package/lib/presentation/atoms/AtomicSearchBar.d.ts.map +1 -0
  111. package/lib/presentation/atoms/AtomicSearchBar.js +46 -0
  112. package/lib/presentation/atoms/AtomicSearchBar.js.map +1 -0
  113. package/lib/presentation/atoms/AtomicSkeleton.d.ts +43 -0
  114. package/lib/presentation/atoms/AtomicSkeleton.d.ts.map +1 -0
  115. package/lib/presentation/atoms/AtomicSkeleton.js +84 -0
  116. package/lib/presentation/atoms/AtomicSkeleton.js.map +1 -0
  117. package/lib/presentation/atoms/AtomicSort.d.ts +72 -0
  118. package/lib/presentation/atoms/AtomicSort.d.ts.map +1 -0
  119. package/lib/presentation/atoms/AtomicSort.js +77 -0
  120. package/lib/presentation/atoms/AtomicSort.js.map +1 -0
  121. package/lib/presentation/atoms/AtomicSwitch.d.ts +43 -0
  122. package/lib/presentation/atoms/AtomicSwitch.d.ts.map +1 -0
  123. package/lib/presentation/atoms/AtomicSwitch.js +104 -0
  124. package/lib/presentation/atoms/AtomicSwitch.js.map +1 -0
  125. package/lib/presentation/atoms/AtomicText.d.ts +14 -0
  126. package/lib/presentation/atoms/AtomicText.d.ts.map +1 -0
  127. package/lib/presentation/atoms/AtomicText.js +36 -0
  128. package/lib/presentation/atoms/AtomicText.js.map +1 -0
  129. package/lib/presentation/atoms/AtomicTextArea.d.ts +85 -0
  130. package/lib/presentation/atoms/AtomicTextArea.d.ts.map +1 -0
  131. package/lib/presentation/atoms/AtomicTextArea.js +196 -0
  132. package/lib/presentation/atoms/AtomicTextArea.js.map +1 -0
  133. package/lib/presentation/atoms/AtomicTouchable.d.ts +87 -0
  134. package/lib/presentation/atoms/AtomicTouchable.d.ts.map +1 -0
  135. package/lib/presentation/atoms/AtomicTouchable.js +151 -0
  136. package/lib/presentation/atoms/AtomicTouchable.js.map +1 -0
  137. package/lib/presentation/atoms/fab/styles/fabStyles.d.ts +23 -0
  138. package/lib/presentation/atoms/fab/styles/fabStyles.d.ts.map +1 -0
  139. package/lib/presentation/atoms/fab/styles/fabStyles.js +63 -0
  140. package/lib/presentation/atoms/fab/styles/fabStyles.js.map +1 -0
  141. package/lib/presentation/atoms/fab/types/index.d.ts +76 -0
  142. package/lib/presentation/atoms/fab/types/index.d.ts.map +1 -0
  143. package/lib/presentation/atoms/fab/types/index.js +2 -0
  144. package/lib/presentation/atoms/fab/types/index.js.map +1 -0
  145. package/lib/presentation/atoms/filter/styles/filterStyles.d.ts +15 -0
  146. package/lib/presentation/atoms/filter/styles/filterStyles.d.ts.map +1 -0
  147. package/lib/presentation/atoms/filter/styles/filterStyles.js +29 -0
  148. package/lib/presentation/atoms/filter/styles/filterStyles.js.map +1 -0
  149. package/lib/presentation/atoms/filter/types/index.d.ts +76 -0
  150. package/lib/presentation/atoms/filter/types/index.d.ts.map +1 -0
  151. package/lib/presentation/atoms/filter/types/index.js +2 -0
  152. package/lib/presentation/atoms/filter/types/index.js.map +1 -0
  153. package/lib/presentation/atoms/index.d.ts +276 -0
  154. package/lib/presentation/atoms/index.d.ts.map +1 -0
  155. package/lib/presentation/atoms/index.js +149 -0
  156. package/lib/presentation/atoms/index.js.map +1 -0
  157. package/lib/presentation/atoms/input/hooks/useInputState.d.ts +7 -0
  158. package/lib/presentation/atoms/input/hooks/useInputState.d.ts.map +1 -0
  159. package/lib/presentation/atoms/input/hooks/useInputState.js +13 -0
  160. package/lib/presentation/atoms/input/hooks/useInputState.js.map +1 -0
  161. package/lib/presentation/atoms/input/styles/inputStyles.d.ts +13 -0
  162. package/lib/presentation/atoms/input/styles/inputStyles.d.ts.map +1 -0
  163. package/lib/presentation/atoms/input/styles/inputStyles.js +59 -0
  164. package/lib/presentation/atoms/input/styles/inputStyles.js.map +1 -0
  165. package/lib/presentation/atoms/input/types/index.d.ts +24 -0
  166. package/lib/presentation/atoms/input/types/index.d.ts.map +1 -0
  167. package/lib/presentation/atoms/input/types/index.js +2 -0
  168. package/lib/presentation/atoms/input/types/index.js.map +1 -0
  169. package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts +96 -0
  170. package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts.map +1 -0
  171. package/lib/presentation/atoms/picker/styles/pickerStyles.js +177 -0
  172. package/lib/presentation/atoms/picker/styles/pickerStyles.js.map +1 -0
  173. package/lib/presentation/atoms/picker/types/index.d.ts +38 -0
  174. package/lib/presentation/atoms/picker/types/index.d.ts.map +1 -0
  175. package/lib/presentation/atoms/picker/types/index.js +2 -0
  176. package/lib/presentation/atoms/picker/types/index.js.map +1 -0
  177. package/lib/presentation/atoms/touchable/styles/touchableStyles.d.ts +36 -0
  178. package/lib/presentation/atoms/touchable/styles/touchableStyles.d.ts.map +1 -0
  179. package/lib/presentation/atoms/touchable/styles/touchableStyles.js +62 -0
  180. package/lib/presentation/atoms/touchable/styles/touchableStyles.js.map +1 -0
  181. package/lib/presentation/atoms/touchable/types/index.d.ts +140 -0
  182. package/lib/presentation/atoms/touchable/types/index.d.ts.map +1 -0
  183. package/lib/presentation/atoms/touchable/types/index.js +2 -0
  184. package/lib/presentation/atoms/touchable/types/index.js.map +1 -0
  185. package/lib/presentation/hooks/useAppDesignTokens.d.ts +34 -0
  186. package/lib/presentation/hooks/useAppDesignTokens.d.ts.map +1 -0
  187. package/lib/presentation/hooks/useAppDesignTokens.js +39 -0
  188. package/lib/presentation/hooks/useAppDesignTokens.js.map +1 -0
  189. package/lib/presentation/hooks/useResponsive.d.ts +80 -0
  190. package/lib/presentation/hooks/useResponsive.d.ts.map +1 -0
  191. package/lib/presentation/hooks/useResponsive.js +82 -0
  192. package/lib/presentation/hooks/useResponsive.js.map +1 -0
  193. package/lib/presentation/loading/index.d.ts +23 -0
  194. package/lib/presentation/loading/index.d.ts.map +1 -0
  195. package/lib/presentation/loading/index.js +26 -0
  196. package/lib/presentation/loading/index.js.map +1 -0
  197. package/lib/presentation/loading/presentation/components/LoadingSpinner.d.ts +28 -0
  198. package/lib/presentation/loading/presentation/components/LoadingSpinner.d.ts.map +1 -0
  199. package/lib/presentation/loading/presentation/components/LoadingSpinner.js +77 -0
  200. package/lib/presentation/loading/presentation/components/LoadingSpinner.js.map +1 -0
  201. package/lib/presentation/loading/presentation/components/LoadingState.d.ts +39 -0
  202. package/lib/presentation/loading/presentation/components/LoadingState.d.ts.map +1 -0
  203. package/lib/presentation/loading/presentation/components/LoadingState.js +123 -0
  204. package/lib/presentation/loading/presentation/components/LoadingState.js.map +1 -0
  205. package/lib/presentation/loading/presentation/hooks/useLoading.d.ts +50 -0
  206. package/lib/presentation/loading/presentation/hooks/useLoading.d.ts.map +1 -0
  207. package/lib/presentation/loading/presentation/hooks/useLoading.js +49 -0
  208. package/lib/presentation/loading/presentation/hooks/useLoading.js.map +1 -0
  209. package/lib/presentation/molecules/AtomicConfirmationModal.d.ts +73 -0
  210. package/lib/presentation/molecules/AtomicConfirmationModal.d.ts.map +1 -0
  211. package/lib/presentation/molecules/AtomicConfirmationModal.js +172 -0
  212. package/lib/presentation/molecules/AtomicConfirmationModal.js.map +1 -0
  213. package/lib/presentation/molecules/EmptyState.d.ts +41 -0
  214. package/lib/presentation/molecules/EmptyState.d.ts.map +1 -0
  215. package/lib/presentation/molecules/EmptyState.js +68 -0
  216. package/lib/presentation/molecules/EmptyState.js.map +1 -0
  217. package/lib/presentation/molecules/FormField.d.ts +22 -0
  218. package/lib/presentation/molecules/FormField.d.ts.map +1 -0
  219. package/lib/presentation/molecules/FormField.js +76 -0
  220. package/lib/presentation/molecules/FormField.js.map +1 -0
  221. package/lib/presentation/molecules/GridContainer.d.ts +40 -0
  222. package/lib/presentation/molecules/GridContainer.d.ts.map +1 -0
  223. package/lib/presentation/molecules/GridContainer.js +77 -0
  224. package/lib/presentation/molecules/GridContainer.js.map +1 -0
  225. package/lib/presentation/molecules/IconContainer.d.ts +29 -0
  226. package/lib/presentation/molecules/IconContainer.d.ts.map +1 -0
  227. package/lib/presentation/molecules/IconContainer.js +60 -0
  228. package/lib/presentation/molecules/IconContainer.js.map +1 -0
  229. package/lib/presentation/molecules/LanguageSwitcher.d.ts +10 -0
  230. package/lib/presentation/molecules/LanguageSwitcher.d.ts.map +1 -0
  231. package/lib/presentation/molecules/LanguageSwitcher.js +24 -0
  232. package/lib/presentation/molecules/LanguageSwitcher.js.map +1 -0
  233. package/lib/presentation/molecules/ListItem.d.ts +5 -0
  234. package/lib/presentation/molecules/ListItem.d.ts.map +1 -0
  235. package/lib/presentation/molecules/ListItem.js +24 -0
  236. package/lib/presentation/molecules/ListItem.js.map +1 -0
  237. package/lib/presentation/molecules/ScreenHeader.d.ts +55 -0
  238. package/lib/presentation/molecules/ScreenHeader.d.ts.map +1 -0
  239. package/lib/presentation/molecules/ScreenHeader.js +94 -0
  240. package/lib/presentation/molecules/ScreenHeader.js.map +1 -0
  241. package/lib/presentation/molecules/SearchBar.d.ts +18 -0
  242. package/lib/presentation/molecules/SearchBar.d.ts.map +1 -0
  243. package/lib/presentation/molecules/SearchBar.js +47 -0
  244. package/lib/presentation/molecules/SearchBar.js.map +1 -0
  245. package/lib/presentation/molecules/SectionCard.d.ts +25 -0
  246. package/lib/presentation/molecules/SectionCard.d.ts.map +1 -0
  247. package/lib/presentation/molecules/SectionCard.js +47 -0
  248. package/lib/presentation/molecules/SectionCard.js.map +1 -0
  249. package/lib/presentation/molecules/SectionContainer.d.ts +33 -0
  250. package/lib/presentation/molecules/SectionContainer.d.ts.map +1 -0
  251. package/lib/presentation/molecules/SectionContainer.js +64 -0
  252. package/lib/presentation/molecules/SectionContainer.js.map +1 -0
  253. package/lib/presentation/molecules/SectionHeader.d.ts +37 -0
  254. package/lib/presentation/molecules/SectionHeader.d.ts.map +1 -0
  255. package/lib/presentation/molecules/SectionHeader.js +73 -0
  256. package/lib/presentation/molecules/SectionHeader.js.map +1 -0
  257. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts +50 -0
  258. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts.map +1 -0
  259. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.js +115 -0
  260. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.js.map +1 -0
  261. package/lib/presentation/molecules/confirmation-modal/types/index.d.ts +88 -0
  262. package/lib/presentation/molecules/confirmation-modal/types/index.d.ts.map +1 -0
  263. package/lib/presentation/molecules/confirmation-modal/types/index.js +7 -0
  264. package/lib/presentation/molecules/confirmation-modal/types/index.js.map +1 -0
  265. package/lib/presentation/molecules/index.d.ts +28 -0
  266. package/lib/presentation/molecules/index.d.ts.map +1 -0
  267. package/lib/presentation/molecules/index.js +18 -0
  268. package/lib/presentation/molecules/index.js.map +1 -0
  269. package/lib/presentation/molecules/languageswitcher/config/languageSwitcherConfig.d.ts +11 -0
  270. package/lib/presentation/molecules/languageswitcher/config/languageSwitcherConfig.d.ts.map +1 -0
  271. package/lib/presentation/molecules/languageswitcher/config/languageSwitcherConfig.js +6 -0
  272. package/lib/presentation/molecules/languageswitcher/config/languageSwitcherConfig.js.map +1 -0
  273. package/lib/presentation/molecules/languageswitcher/hooks/useLanguageNavigation.d.ts +5 -0
  274. package/lib/presentation/molecules/languageswitcher/hooks/useLanguageNavigation.d.ts.map +1 -0
  275. package/lib/presentation/molecules/languageswitcher/hooks/useLanguageNavigation.js +12 -0
  276. package/lib/presentation/molecules/languageswitcher/hooks/useLanguageNavigation.js.map +1 -0
  277. package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts +12 -0
  278. package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts.map +1 -0
  279. package/lib/presentation/molecules/listitem/styles/listItemStyles.js +15 -0
  280. package/lib/presentation/molecules/listitem/styles/listItemStyles.js.map +1 -0
  281. package/lib/presentation/molecules/listitem/types/index.d.ts +17 -0
  282. package/lib/presentation/molecules/listitem/types/index.d.ts.map +1 -0
  283. package/lib/presentation/molecules/listitem/types/index.js +2 -0
  284. package/lib/presentation/molecules/listitem/types/index.js.map +1 -0
  285. package/lib/presentation/organisms/AppHeader.d.ts +30 -0
  286. package/lib/presentation/organisms/AppHeader.d.ts.map +1 -0
  287. package/lib/presentation/organisms/AppHeader.js +78 -0
  288. package/lib/presentation/organisms/AppHeader.js.map +1 -0
  289. package/lib/presentation/organisms/FormContainer.d.ts +76 -0
  290. package/lib/presentation/organisms/FormContainer.d.ts.map +1 -0
  291. package/lib/presentation/organisms/FormContainer.js +127 -0
  292. package/lib/presentation/organisms/FormContainer.js.map +1 -0
  293. package/lib/presentation/organisms/ScreenLayout.d.ts +99 -0
  294. package/lib/presentation/organisms/ScreenLayout.d.ts.map +1 -0
  295. package/lib/presentation/organisms/ScreenLayout.js +78 -0
  296. package/lib/presentation/organisms/ScreenLayout.js.map +1 -0
  297. package/lib/presentation/organisms/index.d.ts +16 -0
  298. package/lib/presentation/organisms/index.d.ts.map +1 -0
  299. package/lib/presentation/organisms/index.js +14 -0
  300. package/lib/presentation/organisms/index.js.map +1 -0
  301. package/lib/presentation/tokens/AppDesignTokens.d.ts +14 -0
  302. package/lib/presentation/tokens/AppDesignTokens.d.ts.map +1 -0
  303. package/lib/presentation/tokens/AppDesignTokens.js +23 -0
  304. package/lib/presentation/tokens/AppDesignTokens.js.map +1 -0
  305. package/lib/presentation/tokens/commonStyles.d.ts +122 -0
  306. package/lib/presentation/tokens/commonStyles.d.ts.map +1 -0
  307. package/lib/presentation/tokens/commonStyles.js +220 -0
  308. package/lib/presentation/tokens/commonStyles.js.map +1 -0
  309. package/lib/presentation/tokens/core/BaseTokens.d.ts +337 -0
  310. package/lib/presentation/tokens/core/BaseTokens.d.ts.map +1 -0
  311. package/lib/presentation/tokens/core/BaseTokens.js +322 -0
  312. package/lib/presentation/tokens/core/BaseTokens.js.map +1 -0
  313. package/lib/presentation/tokens/core/ColorPalette.d.ts +216 -0
  314. package/lib/presentation/tokens/core/ColorPalette.d.ts.map +1 -0
  315. package/lib/presentation/tokens/core/ColorPalette.js +330 -0
  316. package/lib/presentation/tokens/core/ColorPalette.js.map +1 -0
  317. package/lib/presentation/tokens/core/TokenFactory.d.ts +229 -0
  318. package/lib/presentation/tokens/core/TokenFactory.d.ts.map +1 -0
  319. package/lib/presentation/tokens/core/TokenFactory.js +87 -0
  320. package/lib/presentation/tokens/core/TokenFactory.js.map +1 -0
  321. package/lib/presentation/utils/platformConstants.d.ts +100 -0
  322. package/lib/presentation/utils/platformConstants.d.ts.map +1 -0
  323. package/lib/presentation/utils/platformConstants.js +114 -0
  324. package/lib/presentation/utils/platformConstants.js.map +1 -0
  325. package/lib/presentation/utils/responsive.d.ts +218 -0
  326. package/lib/presentation/utils/responsive.d.ts.map +1 -0
  327. package/lib/presentation/utils/responsive.js +452 -0
  328. package/lib/presentation/utils/responsive.js.map +1 -0
  329. package/lib/presentation/utils/variants/compound.d.ts +10 -0
  330. package/lib/presentation/utils/variants/compound.d.ts.map +1 -0
  331. package/lib/presentation/utils/variants/compound.js +16 -0
  332. package/lib/presentation/utils/variants/compound.js.map +1 -0
  333. package/lib/presentation/utils/variants/core.d.ts +15 -0
  334. package/lib/presentation/utils/variants/core.d.ts.map +1 -0
  335. package/lib/presentation/utils/variants/core.js +23 -0
  336. package/lib/presentation/utils/variants/core.js.map +1 -0
  337. package/lib/presentation/utils/variants/helpers.d.ts +5 -0
  338. package/lib/presentation/utils/variants/helpers.d.ts.map +1 -0
  339. package/lib/presentation/utils/variants/helpers.js +10 -0
  340. package/lib/presentation/utils/variants/helpers.js.map +1 -0
  341. package/lib/presentation/utils/variants.d.ts +4 -0
  342. package/lib/presentation/utils/variants.d.ts.map +1 -0
  343. package/lib/presentation/utils/variants.js +4 -0
  344. package/lib/presentation/utils/variants.js.map +1 -0
  345. package/package.json +38 -4
  346. package/src/domains/icons/domain/interfaces/IIconAdapter.ts +5 -3
  347. package/src/domains/icons/infrastructure/adapters/LucideAdapter.ts +1 -1
  348. package/src/presentation/molecules/AtomicConfirmationModal.tsx +1 -1
  349. package/src/presentation/molecules/languageswitcher/hooks/useLanguageNavigation.ts +1 -2
@@ -0,0 +1,84 @@
1
+ /**
2
+ * AtomicSkeleton - Universal Skeleton Loading Component
3
+ *
4
+ * Displays animated skeleton placeholders for loading states
5
+ * Theme: {{THEME_NAME}} ({{CATEGORY}} category)
6
+ *
7
+ * Atomic Design Level: ATOM
8
+ * Purpose: Loading state placeholder
9
+ *
10
+ * Usage:
11
+ * - Content loading placeholders
12
+ * - List item skeletons
13
+ * - Card skeletons
14
+ * - Text line skeletons
15
+ * - Image placeholders
16
+ */
17
+ import React, { useEffect, useRef } from 'react';
18
+ import { View, Animated } from 'react-native';
19
+ import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
20
+ // =============================================================================
21
+ // COMPONENT IMPLEMENTATION
22
+ // =============================================================================
23
+ export const AtomicSkeleton = ({ width = '100%', height = 20, shape = 'rectangle', borderRadius, duration, animated = true, color, highlightColor, style, testID, }) => {
24
+ const tokens = useAppDesignTokens();
25
+ const animatedValue = useRef(new Animated.Value(0)).current;
26
+ // Default values
27
+ const finalDuration = duration ?? tokens.animations.slowest;
28
+ const skeletonColor = color || tokens.colors.surfaceVariant;
29
+ const skeletonHighlight = highlightColor || tokens.colors.surface;
30
+ // Animation effect
31
+ useEffect(() => {
32
+ if (animated) {
33
+ const animation = Animated.loop(Animated.sequence([
34
+ Animated.timing(animatedValue, {
35
+ toValue: 1,
36
+ duration: finalDuration,
37
+ useNativeDriver: false,
38
+ }),
39
+ Animated.timing(animatedValue, {
40
+ toValue: 0,
41
+ duration: finalDuration,
42
+ useNativeDriver: false,
43
+ }),
44
+ ]));
45
+ animation.start();
46
+ return () => animation.stop();
47
+ }
48
+ }, [animated, finalDuration, animatedValue]);
49
+ // Calculate border radius based on shape
50
+ const getBorderRadius = () => {
51
+ if (borderRadius !== undefined)
52
+ return borderRadius;
53
+ switch (shape) {
54
+ case 'circle':
55
+ return typeof height === 'number' ? height / 2 : 20;
56
+ case 'rounded':
57
+ return tokens.borders.radius.md;
58
+ case 'rectangle':
59
+ default:
60
+ return tokens.borders.radius.sm;
61
+ }
62
+ };
63
+ const skeletonStyle = {
64
+ width: width,
65
+ height: height,
66
+ backgroundColor: skeletonColor,
67
+ borderRadius: getBorderRadius(),
68
+ };
69
+ if (animated) {
70
+ const animatedStyle = {
71
+ backgroundColor: animatedValue.interpolate({
72
+ inputRange: [0, 1],
73
+ outputRange: [skeletonColor, skeletonHighlight],
74
+ }),
75
+ };
76
+ return (<Animated.View style={[skeletonStyle, animatedStyle, style]} testID={testID}/>);
77
+ }
78
+ return (<View style={[skeletonStyle, style]} testID={testID}/>);
79
+ };
80
+ // =============================================================================
81
+ // EXPORTS
82
+ // =============================================================================
83
+ export default Atomic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,CAAC;QAEF,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,CACZ,KAAK,CAAC,CAAC,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAC7C,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;IACJ,CAAC;IAED,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC,CAC9B,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,72 @@
1
+ import React from 'react';
2
+ import type { StyleProp, ViewStyle } from 'react-native';
3
+ /**
4
+ * Sort option interface
5
+ */
6
+ export interface SortOption {
7
+ id: string;
8
+ label: string;
9
+ icon?: string;
10
+ }
11
+ /**
12
+ * Sort direction type
13
+ */
14
+ export type SortDirection = 'asc' | 'desc';
15
+ /**
16
+ * AtomicSort component props
17
+ */
18
+ export interface AtomicSortProps {
19
+ options: SortOption[];
20
+ selectedId: string | null;
21
+ sortDirection: SortDirection;
22
+ onSortChange: (optionId: string, direction: SortDirection) => void;
23
+ showDirectionToggle?: boolean;
24
+ variant?: 'outlined' | 'filled' | 'soft';
25
+ color?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
26
+ size?: 'sm' | 'md' | 'lg';
27
+ style?: StyleProp<ViewStyle>;
28
+ testID?: string;
29
+ }
30
+ /**
31
+ * AtomicSort - Horizontal Sort Chip Component
32
+ *
33
+ * A Material Design 3 compliant sort component using chip selection.
34
+ * Supports single selection with ascending/descending direction toggle.
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * const [sortBy, setSortBy] = useState<string | null>('name');
39
+ * const [sortDir, setSortDir] = useState<SortDirection>('asc');
40
+ *
41
+ * <AtomicSort
42
+ * options={[
43
+ * { id: 'name', label: 'Name', icon: 'sort-alpha' },
44
+ * { id: 'date', label: 'Date', icon: 'schedule' },
45
+ * { id: 'priority', label: 'Priority', icon: 'flag' },
46
+ * ]}
47
+ * selectedId={sortBy}
48
+ * sortDirection={sortDir}
49
+ * onSortChange={(id, dir) => {
50
+ * setSortBy(id);
51
+ * setSortDir(dir);
52
+ * }}
53
+ * showDirectionToggle={true}
54
+ * />
55
+ * ```
56
+ *
57
+ * Features:
58
+ * - Horizontal scrollable sort chips
59
+ * - Single selection (one active sort at a time)
60
+ * - Direction toggle (click active chip to switch asc/desc)
61
+ * - Visual arrow indicators (↑ asc, ↓ desc)
62
+ * - Theme-aware colors from design tokens
63
+ * - Icon support per sort option
64
+ * - Fully controlled component
65
+ *
66
+ * Behavior:
67
+ * - Click inactive chip → Selects it with ascending direction
68
+ * - Click active chip → Toggles direction (asc ↔ desc)
69
+ * - Visual feedback via filled variant for active sort
70
+ */
71
+ export declare const AtomicSort: React.FC<AtomicSortProps>;
72
+ //# sourceMappingURL=AtomicSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicSort.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IACnE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;IACzC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC3E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmEhD,CAAC"}
@@ -0,0 +1,77 @@
1
+ import React from 'react';
2
+ import { ScrollView, View } from 'react-native';
3
+ import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
4
+ import { AtomicChip } from './AtomicChip';
5
+ /**
6
+ * AtomicSort - Horizontal Sort Chip Component
7
+ *
8
+ * A Material Design 3 compliant sort component using chip selection.
9
+ * Supports single selection with ascending/descending direction toggle.
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * const [sortBy, setSortBy] = useState<string | null>('name');
14
+ * const [sortDir, setSortDir] = useState<SortDirection>('asc');
15
+ *
16
+ * <AtomicSort
17
+ * options={[
18
+ * { id: 'name', label: 'Name', icon: 'sort-alpha' },
19
+ * { id: 'date', label: 'Date', icon: 'schedule' },
20
+ * { id: 'priority', label: 'Priority', icon: 'flag' },
21
+ * ]}
22
+ * selectedId={sortBy}
23
+ * sortDirection={sortDir}
24
+ * onSortChange={(id, dir) => {
25
+ * setSortBy(id);
26
+ * setSortDir(dir);
27
+ * }}
28
+ * showDirectionToggle={true}
29
+ * />
30
+ * ```
31
+ *
32
+ * Features:
33
+ * - Horizontal scrollable sort chips
34
+ * - Single selection (one active sort at a time)
35
+ * - Direction toggle (click active chip to switch asc/desc)
36
+ * - Visual arrow indicators (↑ asc, ↓ desc)
37
+ * - Theme-aware colors from design tokens
38
+ * - Icon support per sort option
39
+ * - Fully controlled component
40
+ *
41
+ * Behavior:
42
+ * - Click inactive chip → Selects it with ascending direction
43
+ * - Click active chip → Toggles direction (asc ↔ desc)
44
+ * - Visual feedback via filled variant for active sort
45
+ */
46
+ export const AtomicSort = ({ options, selectedId, sortDirection, onSortChange, showDirectionToggle = true, variant = 'outlined', color = 'primary', size = 'md', style, testID, }) => {
47
+ const tokens = useAppDesignTokens();
48
+ /**
49
+ * Handle sort chip press
50
+ * - If clicking active chip: Toggle direction
51
+ * - If clicking inactive chip: Select it with 'asc' direction
52
+ */
53
+ const handleSortPress = (optionId) => {
54
+ if (selectedId === optionId) {
55
+ const newDirection = sortDirection === 'asc' ? 'desc' : 'asc';
56
+ onSortChange(optionId, newDirection);
57
+ }
58
+ else {
59
+ onSortChange(optionId, 'asc');
60
+ }
61
+ };
62
+ const directionIcon = sortDirection === 'asc' ? 'arrow-upward' : 'arrow-downward';
63
+ return (<ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{
64
+ paddingHorizontal: tokens.spacing.sm,
65
+ gap: tokens.spacing.sm,
66
+ }} style={[style]} testID={testID}>
67
+ <View style={{ flexDirection: 'row', gap: tokens.spacing.sm }}>
68
+ {options.map((option) => {
69
+ const isSelected = selectedId === option.id;
70
+ return (<AtomicChip key={option.id} variant={isSelected ? 'filled' : variant} color={color} size={size} leadingIcon={option.icon} trailingIcon={isSelected && showDirectionToggle ? directionIcon : undefined} selected={isSelected} clickable={true} onPress={() => handleSortPress(option.id)} testID={`sort-chip-${option.id}`}>
71
+ {option.label}
72
+ </AtomicChip>);
73
+ })}
74
+ </View>
75
+ </ScrollView>);
76
+ };
77
+ //# sourceMappingURL=AtomicSort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicSort.js","sourceRoot":"","sources":["../../../src/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ME_NAME}} ({{CATEGORY}} category)
6
+ *
7
+ * Atomic Design Level: ATOM
8
+ * Purpose: Basic switch/toggle input
9
+ *
10
+ * Usage:
11
+ * - Settings toggles
12
+ * - Feature enable/disable
13
+ * - Boolean preferences
14
+ * - Form inputs
15
+ */
16
+ import React from 'react';
17
+ import { SwitchProps, ViewStyle } from 'react-native';
18
+ export interface AtomicSwitchProps extends Omit<SwitchProps, 'style'> {
19
+ /** Switch value */
20
+ value: boolean;
21
+ /** Value change handler */
22
+ onValueChange: (value: boolean) => void;
23
+ /** Size variant */
24
+ size?: 'sm' | 'md' | 'lg';
25
+ /** Color variant */
26
+ variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error';
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Container style override */
30
+ style?: ViewStyle;
31
+ /** Track color override */
32
+ trackColor?: {
33
+ false: string;
34
+ true: string;
35
+ };
36
+ /** Thumb color override */
37
+ thumbColor?: string;
38
+ /** iOS specific props */
39
+ ios_backgroundColor?: string;
40
+ }
41
+ export declare const AtomicSwitch: React.FC<AtomicSwitchProps>;
42
+ export default AtomicSwitch;
43
+ //# sourceMappingURL=AtomicSwitch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicSwitch.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicSwitch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAO1E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IACnE,mBAAmB;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,2BAA2B;IAC3B,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oBAAoB;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACpE,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2BAA2B;IAC3B,UAAU,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAgBD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4CpD,CAAC;AA8DF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,104 @@
1
+ /**
2
+ * AtomicSwitch - Universal Switch Component
3
+ *
4
+ * Provides consistent switch/toggle functionality with theme integration
5
+ * Theme: {{THEME_NAME}} ({{CATEGORY}} category)
6
+ *
7
+ * Atomic Design Level: ATOM
8
+ * Purpose: Basic switch/toggle input
9
+ *
10
+ * Usage:
11
+ * - Settings toggles
12
+ * - Feature enable/disable
13
+ * - Boolean preferences
14
+ * - Form inputs
15
+ */
16
+ import React from 'react';
17
+ import { Switch, StyleSheet } from 'react-native';
18
+ import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
19
+ // =============================================================================
20
+ // SIZE CONFIGURATION
21
+ // =============================================================================
22
+ const SIZE_CONFIG = {
23
+ sm: { scaleX: 0.8, scaleY: 0.8 },
24
+ md: { scaleX: 1, scaleY: 1 },
25
+ lg: { scaleX: 1.2, scaleY: 1.2 },
26
+ };
27
+ // =============================================================================
28
+ // COMPONENT IMPLEMENTATION
29
+ // =============================================================================
30
+ export const AtomicSwitch = ({ value, onValueChange, size = 'md', variant = 'primary', disabled = false, style, trackColor, thumbColor, ios_backgroundColor, ...props }) => {
31
+ const tokens = useAppDesignTokens();
32
+ const styles = getStyles(tokens);
33
+ const sizeConfig = SIZE_CONFIG[size];
34
+ const colors = getVariantColors(tokens, variant);
35
+ const defaultTrackColor = trackColor || {
36
+ false: colors.trackFalse,
37
+ true: colors.trackTrue,
38
+ };
39
+ const defaultThumbColor = thumbColor || colors.thumb;
40
+ const defaultIosBackgroundColor = ios_backgroundColor || colors.trackFalse;
41
+ return (<Switch value={value} onValueChange={onValueChange} disabled={disabled} trackColor={defaultTrackColor} thumbColor={defaultThumbColor} ios_backgroundColor={defaultIosBackgroundColor} style={[
42
+ styles.switch,
43
+ {
44
+ transform: [{ scaleX: sizeConfig.scaleX }, { scaleY: sizeConfig.scaleY }],
45
+ },
46
+ style,
47
+ ]} {...props}/>);
48
+ };
49
+ // =============================================================================
50
+ // HELPER FUNCTIONS
51
+ // =============================================================================
52
+ const getVariantColors = (tokens, variant) => {
53
+ switch (variant) {
54
+ case 'primary':
55
+ return {
56
+ trackFalse: tokens.colors.surfaceSecondary,
57
+ trackTrue: tokens.colors.primary,
58
+ thumb: tokens.colors.surface,
59
+ };
60
+ case 'secondary':
61
+ return {
62
+ trackFalse: tokens.colors.surfaceSecondary,
63
+ trackTrue: tokens.colors.secondary,
64
+ thumb: tokens.colors.surface,
65
+ };
66
+ case 'success':
67
+ return {
68
+ trackFalse: tokens.colors.surfaceSecondary,
69
+ trackTrue: tokens.colors.success,
70
+ thumb: tokens.colors.surface,
71
+ };
72
+ case 'warning':
73
+ return {
74
+ trackFalse: tokens.colors.surfaceSecondary,
75
+ trackTrue: tokens.colors.warning,
76
+ thumb: tokens.colors.surface,
77
+ };
78
+ case 'error':
79
+ return {
80
+ trackFalse: tokens.colors.surfaceSecondary,
81
+ trackTrue: tokens.colors.error,
82
+ thumb: tokens.colors.surface,
83
+ };
84
+ default:
85
+ return {
86
+ trackFalse: tokens.colors.surfaceSecondary,
87
+ trackTrue: tokens.colors.primary,
88
+ thumb: tokens.colors.surface,
89
+ };
90
+ }
91
+ };
92
+ // =============================================================================
93
+ // STYLES
94
+ // =============================================================================
95
+ const getStyles = (tokens) => StyleSheet.create({
96
+ switch: {
97
+ // Default switch styling is handled by platform
98
+ },
99
+ });
100
+ // =============================================================================
101
+ // EXPORTS
102
+ // =============================================================================
103
+ export default AtomicSwitch;
104
+ //# sourceMappingURL=AtomicSwitch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicSwitch.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicSwitch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAe,UAAU,EAAa,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AA2BjE,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE;IAChC,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IAC5B,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE;CACxB,CAAC;AAEX,gFAAgF;AAChF,2BAA2B;AAC3B,gFAAgF;AAEhF,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,KAAK,EACL,aAAa,EACb,IAAI,GAAG,IAAI,EACX,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,EAChB,KAAK,EACL,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,kBAAkB,EAAE,CAAC;IACpC,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC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
+ export type TextStyleVariant = 'displayLarge' | 'displayMedium' | 'displaySmall' | 'headlineLarge' | 'headlineMedium' | 'headlineSmall' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall' | 'labelLarge' | 'labelMedium' | 'labelSmall';
4
+ export type ColorVariant = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'success' | 'error' | 'warning' | 'info';
5
+ export interface AtomicTextProps {
6
+ children: React.ReactNode;
7
+ type?: TextStyleVariant;
8
+ color?: ColorVariant | string;
9
+ numberOfLines?: number;
10
+ style?: StyleProp<TextStyle>;
11
+ testID?: string;
12
+ }
13
+ export declare const AtomicText: React.FC<AtomicTextProps>;
14
+ //# sourceMappingURL=AtomicText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicText.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,MAAM,MAAM,gBAAgB,GACxB,cAAc,GAAG,eAAe,GAAG,cAAc,GACjD,eAAe,GAAG,gBAAgB,GAAG,eAAe,GACpD,YAAY,GAAG,aAAa,GAAG,YAAY,GAC3C,WAAW,GAAG,YAAY,GAAG,WAAW,GACxC,YAAY,GAAG,aAAa,GAAG,YAAY,CAAC;AAEhD,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,GACV,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,CAAC;AAEX,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,KAAK,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkDhD,CAAC"}
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import { Text } from 'react-native';
3
+ import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
4
+ export const AtomicText = ({ children, type = 'bodyMedium', color, numberOfLines, style, testID, }) => {
5
+ const tokens = useAppDesignTokens();
6
+ // Get typography style from tokens
7
+ const typographyStyle = tokens.typography[type];
8
+ // Get color from tokens or use custom color
9
+ const getTextColor = () => {
10
+ if (!color) {
11
+ return tokens.colors.textPrimary;
12
+ }
13
+ // Check if it's a semantic color name
14
+ const colorMap = {
15
+ primary: tokens.colors.textPrimary,
16
+ secondary: tokens.colors.textSecondary,
17
+ tertiary: tokens.colors.textTertiary,
18
+ disabled: tokens.colors.textDisabled,
19
+ inverse: tokens.colors.textInverse,
20
+ success: tokens.colors.success,
21
+ error: tokens.colors.error,
22
+ warning: tokens.colors.warning,
23
+ info: tokens.colors.info,
24
+ };
25
+ return colorMap[color] || color;
26
+ };
27
+ const textStyle = [
28
+ typographyStyle,
29
+ { color: getTextColor() },
30
+ style,
31
+ ];
32
+ return (<Text numberOfLines={numberOfLines} style={textStyle} testID={testID}>
33
+ {children}
34
+ </Text>);
35
+ };
36
+ //# sourceMappingURL=AtomicText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicText.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAwB,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AA6BjE,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,EACpD,QAAQ,EACR,IAAI,GA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}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * AtomicTextArea Component
3
+ *
4
+ * A multiline text input component with pure React Native implementation
5
+ * for longer text entry with consistent styling.
6
+ *
7
+ * Features:
8
+ * - Pure React Native TextInput with multiline
9
+ * - Outlined/filled/flat variants
10
+ * - Error, success, disabled states
11
+ * - Character counter with max length
12
+ * - Helper text for guidance or errors
13
+ * - Configurable rows for height
14
+ * - Theme-aware styling
15
+ * - Full accessibility support
16
+ *
17
+ * Usage:
18
+ * ```tsx
19
+ * const [description, setDescription] = useState('');
20
+ *
21
+ * <AtomicTextArea
22
+ * value={description}
23
+ * onChangeText={setDescription}
24
+ * label="Description"
25
+ * placeholder="Enter description..."
26
+ * maxLength={500}
27
+ * showCharacterCount
28
+ * rows={6}
29
+ * helperText="Provide a detailed description"
30
+ * />
31
+ * ```
32
+ */
33
+ import React from 'react';
34
+ import { StyleProp, ViewStyle, TextStyle } from 'react-native';
35
+ export type AtomicTextAreaVariant = 'outlined' | 'filled' | 'flat';
36
+ export type AtomicTextAreaState = 'default' | 'error' | 'success' | 'disabled';
37
+ export type AtomicTextAreaSize = 'sm' | 'md' | 'lg';
38
+ export interface AtomicTextAreaProps {
39
+ /** Textarea label */
40
+ label?: string;
41
+ /** Current textarea value */
42
+ value?: string;
43
+ /** Value change callback */
44
+ onChangeText?: (text: string) => void;
45
+ /** Textarea variant (outlined, filled, flat) */
46
+ variant?: AtomicTextAreaVariant;
47
+ /** Textarea state (default, error, success, disabled) */
48
+ state?: AtomicTextAreaState;
49
+ /** Textarea size (sm, md, lg) */
50
+ size?: AtomicTextAreaSize;
51
+ /** Placeholder text */
52
+ placeholder?: string;
53
+ /** Helper text below textarea */
54
+ helperText?: string;
55
+ /** Maximum character length */
56
+ maxLength?: number;
57
+ /** Show character counter */
58
+ showCharacterCount?: boolean;
59
+ /** Number of visible text rows */
60
+ rows?: number;
61
+ /** Minimum height in pixels */
62
+ minHeight?: number;
63
+ /** Auto-capitalize */
64
+ autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
65
+ /** Auto-correct */
66
+ autoCorrect?: boolean;
67
+ /** Disabled state */
68
+ disabled?: boolean;
69
+ /** Container style */
70
+ style?: StyleProp<ViewStyle>;
71
+ /** Input text style */
72
+ inputStyle?: StyleProp<TextStyle>;
73
+ /** Test ID for E2E testing */
74
+ testID?: string;
75
+ /** Blur callback */
76
+ onBlur?: () => void;
77
+ /** Focus callback */
78
+ onFocus?: () => void;
79
+ }
80
+ /**
81
+ * AtomicTextArea - Pure React Native Multiline Text Input
82
+ */
83
+ export declare const AtomicTextArea: React.FC<AtomicTextAreaProps>;
84
+ export type { AtomicTextAreaProps as TextAreaProps };
85
+ //# sourceMappingURL=AtomicTextArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomicTextArea.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicTextArea.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAA+B,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI5F,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AACnE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gDAAgD;IAChD,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,yDAAyD;IACzD,K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