@codeimplants/ui-kit 1.0.0

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 (474) hide show
  1. package/README.md +144 -0
  2. package/dist/adapters/index.d.ts +1 -0
  3. package/dist/adapters/index.js +2 -0
  4. package/dist/adapters/supportAdapter.d.ts +87 -0
  5. package/dist/adapters/supportAdapter.js +99 -0
  6. package/dist/client.d.ts +55 -0
  7. package/dist/client.js +229 -0
  8. package/dist/components/IconLibrary.d.ts +23 -0
  9. package/dist/components/IconLibrary.js +19 -0
  10. package/dist/components/RetryIndicator.d.ts +5 -0
  11. package/dist/components/RetryIndicator.js +208 -0
  12. package/dist/components/SupportContactCard.d.ts +10 -0
  13. package/dist/components/SupportContactCard.js +140 -0
  14. package/dist/components/buttons/PrimaryButton.d.ts +19 -0
  15. package/dist/components/buttons/PrimaryButton.js +42 -0
  16. package/dist/components/buttons/SecondaryButton.d.ts +20 -0
  17. package/dist/components/buttons/SecondaryButton.js +37 -0
  18. package/dist/components/buttons/index.d.ts +2 -0
  19. package/dist/components/buttons/index.js +3 -0
  20. package/dist/components/cards/ContentCard.d.ts +16 -0
  21. package/dist/components/cards/ContentCard.js +24 -0
  22. package/dist/components/cards/InfoCard.d.ts +9 -0
  23. package/dist/components/cards/InfoCard.js +51 -0
  24. package/dist/components/cards/TipsCard.d.ts +11 -0
  25. package/dist/components/cards/TipsCard.js +70 -0
  26. package/dist/components/cards/WarningCard.d.ts +11 -0
  27. package/dist/components/cards/WarningCard.js +80 -0
  28. package/dist/components/cards/WhatsNewCard.d.ts +15 -0
  29. package/dist/components/cards/WhatsNewCard.js +79 -0
  30. package/dist/components/cards/index.d.ts +5 -0
  31. package/dist/components/cards/index.js +6 -0
  32. package/dist/components/feedback/ExpandableSection.d.ts +8 -0
  33. package/dist/components/feedback/ExpandableSection.js +44 -0
  34. package/dist/components/feedback/SecurityBanner.d.ts +9 -0
  35. package/dist/components/feedback/SecurityBanner.js +49 -0
  36. package/dist/components/feedback/SpeedBadge.d.ts +9 -0
  37. package/dist/components/feedback/SpeedBadge.js +41 -0
  38. package/dist/components/feedback/StatusBadge.d.ts +17 -0
  39. package/dist/components/feedback/StatusBadge.js +20 -0
  40. package/dist/components/feedback/TopBanner.d.ts +7 -0
  41. package/dist/components/feedback/TopBanner.js +74 -0
  42. package/dist/components/feedback/index.d.ts +5 -0
  43. package/dist/components/feedback/index.js +6 -0
  44. package/dist/components/icons/AnimatedAlert.d.ts +11 -0
  45. package/dist/components/icons/AnimatedAlert.js +27 -0
  46. package/dist/components/icons/AnimatedCalendar.d.ts +7 -0
  47. package/dist/components/icons/AnimatedCalendar.js +34 -0
  48. package/dist/components/icons/AnimatedCamera.d.ts +7 -0
  49. package/dist/components/icons/AnimatedCamera.js +34 -0
  50. package/dist/components/icons/AnimatedClientError.d.ts +11 -0
  51. package/dist/components/icons/AnimatedClientError.js +20 -0
  52. package/dist/components/icons/AnimatedClock.d.ts +7 -0
  53. package/dist/components/icons/AnimatedClock.js +53 -0
  54. package/dist/components/icons/AnimatedCrash.d.ts +11 -0
  55. package/dist/components/icons/AnimatedCrash.js +36 -0
  56. package/dist/components/icons/AnimatedDocument.d.ts +7 -0
  57. package/dist/components/icons/AnimatedDocument.js +34 -0
  58. package/dist/components/icons/AnimatedDownload.d.ts +7 -0
  59. package/dist/components/icons/AnimatedDownload.js +23 -0
  60. package/dist/components/icons/AnimatedEmergency.d.ts +11 -0
  61. package/dist/components/icons/AnimatedEmergency.js +26 -0
  62. package/dist/components/icons/AnimatedInvalidData.d.ts +11 -0
  63. package/dist/components/icons/AnimatedInvalidData.js +24 -0
  64. package/dist/components/icons/AnimatedLightning.d.ts +7 -0
  65. package/dist/components/icons/AnimatedLightning.js +34 -0
  66. package/dist/components/icons/AnimatedLocationPin.d.ts +7 -0
  67. package/dist/components/icons/AnimatedLocationPin.js +34 -0
  68. package/dist/components/icons/AnimatedPermission.d.ts +11 -0
  69. package/dist/components/icons/AnimatedPermission.js +21 -0
  70. package/dist/components/icons/AnimatedPermissionDenied.d.ts +11 -0
  71. package/dist/components/icons/AnimatedPermissionDenied.js +27 -0
  72. package/dist/components/icons/AnimatedServerError.d.ts +7 -0
  73. package/dist/components/icons/AnimatedServerError.js +60 -0
  74. package/dist/components/icons/AnimatedShield.d.ts +7 -0
  75. package/dist/components/icons/AnimatedShield.js +34 -0
  76. package/dist/components/icons/AnimatedSparkle.d.ts +7 -0
  77. package/dist/components/icons/AnimatedSparkle.js +53 -0
  78. package/dist/components/icons/AnimatedSpeedGauge.d.ts +7 -0
  79. package/dist/components/icons/AnimatedSpeedGauge.js +50 -0
  80. package/dist/components/icons/AnimatedTimeout.d.ts +11 -0
  81. package/dist/components/icons/AnimatedTimeout.js +27 -0
  82. package/dist/components/icons/AnimatedWarning.d.ts +7 -0
  83. package/dist/components/icons/AnimatedWarning.js +50 -0
  84. package/dist/components/icons/AnimatedWifiOff.d.ts +7 -0
  85. package/dist/components/icons/AnimatedWifiOff.js +65 -0
  86. package/dist/components/icons/AnimatedWrench.d.ts +7 -0
  87. package/dist/components/icons/AnimatedWrench.js +43 -0
  88. package/dist/components/icons/ClockBadge.d.ts +8 -0
  89. package/dist/components/icons/ClockBadge.js +28 -0
  90. package/dist/components/icons/DownloadBadge.d.ts +8 -0
  91. package/dist/components/icons/DownloadBadge.js +28 -0
  92. package/dist/components/icons/IconWithBadge.d.ts +12 -0
  93. package/dist/components/icons/IconWithBadge.js +120 -0
  94. package/dist/components/icons/SimpleIcons.d.ts +12 -0
  95. package/dist/components/icons/SimpleIcons.js +8 -0
  96. package/dist/components/icons/XBadge.d.ts +8 -0
  97. package/dist/components/icons/XBadge.js +28 -0
  98. package/dist/components/icons/animated/errors/AnimatedClientError.d.ts +11 -0
  99. package/dist/components/icons/animated/errors/AnimatedClientError.js +20 -0
  100. package/dist/components/icons/animated/errors/AnimatedCrash.d.ts +11 -0
  101. package/dist/components/icons/animated/errors/AnimatedCrash.js +36 -0
  102. package/dist/components/icons/animated/errors/AnimatedInvalidData.d.ts +11 -0
  103. package/dist/components/icons/animated/errors/AnimatedInvalidData.js +24 -0
  104. package/dist/components/icons/animated/errors/AnimatedServerError.d.ts +7 -0
  105. package/dist/components/icons/animated/errors/AnimatedServerError.js +60 -0
  106. package/dist/components/icons/animated/errors/index.d.ts +4 -0
  107. package/dist/components/icons/animated/errors/index.js +5 -0
  108. package/dist/components/icons/animated/general/AnimatedCalendar.d.ts +7 -0
  109. package/dist/components/icons/animated/general/AnimatedCalendar.js +34 -0
  110. package/dist/components/icons/animated/general/AnimatedCamera.d.ts +7 -0
  111. package/dist/components/icons/animated/general/AnimatedCamera.js +34 -0
  112. package/dist/components/icons/animated/general/AnimatedClock.d.ts +7 -0
  113. package/dist/components/icons/animated/general/AnimatedClock.js +53 -0
  114. package/dist/components/icons/animated/general/AnimatedDocument.d.ts +7 -0
  115. package/dist/components/icons/animated/general/AnimatedDocument.js +34 -0
  116. package/dist/components/icons/animated/general/AnimatedDownload.d.ts +7 -0
  117. package/dist/components/icons/animated/general/AnimatedDownload.js +23 -0
  118. package/dist/components/icons/animated/general/AnimatedLightning.d.ts +7 -0
  119. package/dist/components/icons/animated/general/AnimatedLightning.js +34 -0
  120. package/dist/components/icons/animated/general/AnimatedLocationPin.d.ts +7 -0
  121. package/dist/components/icons/animated/general/AnimatedLocationPin.js +34 -0
  122. package/dist/components/icons/animated/general/AnimatedShield.d.ts +7 -0
  123. package/dist/components/icons/animated/general/AnimatedShield.js +34 -0
  124. package/dist/components/icons/animated/general/AnimatedSparkle.d.ts +7 -0
  125. package/dist/components/icons/animated/general/AnimatedSparkle.js +53 -0
  126. package/dist/components/icons/animated/general/AnimatedWarning.d.ts +7 -0
  127. package/dist/components/icons/animated/general/AnimatedWarning.js +50 -0
  128. package/dist/components/icons/animated/general/index.d.ts +10 -0
  129. package/dist/components/icons/animated/general/index.js +11 -0
  130. package/dist/components/icons/animated/index.d.ts +5 -0
  131. package/dist/components/icons/animated/index.js +6 -0
  132. package/dist/components/icons/animated/maintenance/AnimatedAlert.d.ts +11 -0
  133. package/dist/components/icons/animated/maintenance/AnimatedAlert.js +27 -0
  134. package/dist/components/icons/animated/maintenance/AnimatedEmergency.d.ts +11 -0
  135. package/dist/components/icons/animated/maintenance/AnimatedEmergency.js +26 -0
  136. package/dist/components/icons/animated/maintenance/AnimatedWrench.d.ts +7 -0
  137. package/dist/components/icons/animated/maintenance/AnimatedWrench.js +43 -0
  138. package/dist/components/icons/animated/maintenance/index.d.ts +3 -0
  139. package/dist/components/icons/animated/maintenance/index.js +4 -0
  140. package/dist/components/icons/animated/network/AnimatedSpeedGauge.d.ts +7 -0
  141. package/dist/components/icons/animated/network/AnimatedSpeedGauge.js +50 -0
  142. package/dist/components/icons/animated/network/AnimatedTimeout.d.ts +11 -0
  143. package/dist/components/icons/animated/network/AnimatedTimeout.js +27 -0
  144. package/dist/components/icons/animated/network/AnimatedWifiOff.d.ts +7 -0
  145. package/dist/components/icons/animated/network/AnimatedWifiOff.js +65 -0
  146. package/dist/components/icons/animated/network/index.d.ts +3 -0
  147. package/dist/components/icons/animated/network/index.js +4 -0
  148. package/dist/components/icons/animated/permissions/AnimatedPermission.d.ts +11 -0
  149. package/dist/components/icons/animated/permissions/AnimatedPermission.js +21 -0
  150. package/dist/components/icons/animated/permissions/AnimatedPermissionDenied.d.ts +11 -0
  151. package/dist/components/icons/animated/permissions/AnimatedPermissionDenied.js +27 -0
  152. package/dist/components/icons/animated/permissions/index.d.ts +2 -0
  153. package/dist/components/icons/animated/permissions/index.js +3 -0
  154. package/dist/components/icons/badges/ClockBadge.d.ts +8 -0
  155. package/dist/components/icons/badges/ClockBadge.js +28 -0
  156. package/dist/components/icons/badges/DownloadBadge.d.ts +8 -0
  157. package/dist/components/icons/badges/DownloadBadge.js +28 -0
  158. package/dist/components/icons/badges/XBadge.d.ts +8 -0
  159. package/dist/components/icons/badges/XBadge.js +28 -0
  160. package/dist/components/icons/badges/index.d.ts +3 -0
  161. package/dist/components/icons/badges/index.js +4 -0
  162. package/dist/components/icons/index.d.ts +3 -0
  163. package/dist/components/icons/index.js +4 -0
  164. package/dist/components/icons/utilities/AlertTriangleIcon.d.ts +7 -0
  165. package/dist/components/icons/utilities/AlertTriangleIcon.js +4 -0
  166. package/dist/components/icons/utilities/CheckCircleIcon.d.ts +7 -0
  167. package/dist/components/icons/utilities/CheckCircleIcon.js +4 -0
  168. package/dist/components/icons/utilities/DownloadIcon.d.ts +7 -0
  169. package/dist/components/icons/utilities/DownloadIcon.js +4 -0
  170. package/dist/components/icons/utilities/IconWithBadge.d.ts +12 -0
  171. package/dist/components/icons/utilities/IconWithBadge.js +120 -0
  172. package/dist/components/icons/utilities/SettingsIcon.d.ts +7 -0
  173. package/dist/components/icons/utilities/SettingsIcon.js +4 -0
  174. package/dist/components/icons/utilities/ShieldIcon.d.ts +7 -0
  175. package/dist/components/icons/utilities/ShieldIcon.js +4 -0
  176. package/dist/components/icons/utilities/SimpleIcons.d.ts +12 -0
  177. package/dist/components/icons/utilities/SimpleIcons.js +8 -0
  178. package/dist/components/icons/utilities/XIcon.d.ts +7 -0
  179. package/dist/components/icons/utilities/XIcon.js +4 -0
  180. package/dist/components/icons/utilities/index.d.ts +7 -0
  181. package/dist/components/icons/utilities/index.js +8 -0
  182. package/dist/components/index.d.ts +9 -0
  183. package/dist/components/index.js +10 -0
  184. package/dist/components/layout/DualButtonLayout.d.ts +14 -0
  185. package/dist/components/layout/DualButtonLayout.js +73 -0
  186. package/dist/components/layout/ResponsiveLayout.d.ts +25 -0
  187. package/dist/components/layout/ResponsiveLayout.js +76 -0
  188. package/dist/components/layout/SafeAreaWrapper.d.ts +21 -0
  189. package/dist/components/layout/SafeAreaWrapper.js +45 -0
  190. package/dist/components/layout/ScreenContainer.d.ts +15 -0
  191. package/dist/components/layout/ScreenContainer.js +21 -0
  192. package/dist/components/layout/index.d.ts +4 -0
  193. package/dist/components/layout/index.js +5 -0
  194. package/dist/components/lists/CheckListItem.d.ts +14 -0
  195. package/dist/components/lists/CheckListItem.js +40 -0
  196. package/dist/components/lists/StatusCheckList.d.ts +10 -0
  197. package/dist/components/lists/StatusCheckList.js +69 -0
  198. package/dist/components/lists/index.d.ts +2 -0
  199. package/dist/components/lists/index.js +3 -0
  200. package/dist/components/shared/CheckListItem.d.ts +14 -0
  201. package/dist/components/shared/CheckListItem.js +40 -0
  202. package/dist/components/shared/ConnectionStatus.d.ts +8 -0
  203. package/dist/components/shared/ConnectionStatus.js +57 -0
  204. package/dist/components/shared/ContentCard.d.ts +16 -0
  205. package/dist/components/shared/ContentCard.js +24 -0
  206. package/dist/components/shared/CountdownTimer.d.ts +9 -0
  207. package/dist/components/shared/CountdownTimer.js +91 -0
  208. package/dist/components/shared/DualButtonLayout.d.ts +14 -0
  209. package/dist/components/shared/DualButtonLayout.js +73 -0
  210. package/dist/components/shared/ExpandableSection.d.ts +8 -0
  211. package/dist/components/shared/ExpandableSection.js +44 -0
  212. package/dist/components/shared/IconWithBadge.d.ts +17 -0
  213. package/dist/components/shared/IconWithBadge.js +38 -0
  214. package/dist/components/shared/InfoCard.d.ts +9 -0
  215. package/dist/components/shared/InfoCard.js +51 -0
  216. package/dist/components/shared/PrimaryButton.d.ts +19 -0
  217. package/dist/components/shared/PrimaryButton.js +42 -0
  218. package/dist/components/shared/ResponsiveLayout.d.ts +25 -0
  219. package/dist/components/shared/ResponsiveLayout.js +76 -0
  220. package/dist/components/shared/RetryCounter.d.ts +8 -0
  221. package/dist/components/shared/RetryCounter.js +17 -0
  222. package/dist/components/shared/SafeAreaWrapper.d.ts +21 -0
  223. package/dist/components/shared/SafeAreaWrapper.js +45 -0
  224. package/dist/components/shared/ScreenContainer.d.ts +15 -0
  225. package/dist/components/shared/ScreenContainer.js +21 -0
  226. package/dist/components/shared/SecondaryButton.d.ts +20 -0
  227. package/dist/components/shared/SecondaryButton.js +37 -0
  228. package/dist/components/shared/SecurityBanner.d.ts +9 -0
  229. package/dist/components/shared/SecurityBanner.js +49 -0
  230. package/dist/components/shared/SpeedBadge.d.ts +9 -0
  231. package/dist/components/shared/SpeedBadge.js +41 -0
  232. package/dist/components/shared/StatusBadge.d.ts +17 -0
  233. package/dist/components/shared/StatusBadge.js +20 -0
  234. package/dist/components/shared/StatusCheckList.d.ts +10 -0
  235. package/dist/components/shared/StatusCheckList.js +69 -0
  236. package/dist/components/shared/SupportButtons.d.ts +9 -0
  237. package/dist/components/shared/SupportButtons.js +138 -0
  238. package/dist/components/shared/TipsCard.d.ts +11 -0
  239. package/dist/components/shared/TipsCard.js +70 -0
  240. package/dist/components/shared/TopBanner.d.ts +7 -0
  241. package/dist/components/shared/TopBanner.js +74 -0
  242. package/dist/components/shared/VersionDisplay.d.ts +14 -0
  243. package/dist/components/shared/VersionDisplay.js +30 -0
  244. package/dist/components/shared/WarningCard.d.ts +11 -0
  245. package/dist/components/shared/WarningCard.js +80 -0
  246. package/dist/components/shared/WhatsNewCard.d.ts +15 -0
  247. package/dist/components/shared/WhatsNewCard.js +79 -0
  248. package/dist/components/status/ConnectionStatus.d.ts +8 -0
  249. package/dist/components/status/ConnectionStatus.js +57 -0
  250. package/dist/components/status/VersionDisplay.d.ts +14 -0
  251. package/dist/components/status/VersionDisplay.js +30 -0
  252. package/dist/components/status/index.d.ts +2 -0
  253. package/dist/components/status/index.js +3 -0
  254. package/dist/components/support/SupportButtons.d.ts +9 -0
  255. package/dist/components/support/SupportButtons.js +138 -0
  256. package/dist/components/support/index.d.ts +1 -0
  257. package/dist/components/support/index.js +2 -0
  258. package/dist/components/timers/CountdownTimer.d.ts +9 -0
  259. package/dist/components/timers/CountdownTimer.js +91 -0
  260. package/dist/components/timers/RetryCounter.d.ts +8 -0
  261. package/dist/components/timers/RetryCounter.js +17 -0
  262. package/dist/components/timers/index.d.ts +2 -0
  263. package/dist/components/timers/index.js +3 -0
  264. package/dist/components/ui/Button.d.ts +38 -0
  265. package/dist/components/ui/Button.js +96 -0
  266. package/dist/components/ui/OfflineBanner.d.ts +15 -0
  267. package/dist/components/ui/OfflineBanner.js +42 -0
  268. package/dist/index.d.ts +68 -0
  269. package/dist/index.js +103 -0
  270. package/dist/screens/errors/ApiErrorScreen.d.ts +7 -0
  271. package/dist/screens/errors/ApiErrorScreen.js +166 -0
  272. package/dist/screens/errors/ClientErrorScreen.d.ts +9 -0
  273. package/dist/screens/errors/ClientErrorScreen.js +75 -0
  274. package/dist/screens/errors/ErrorBoundaryScreen.d.ts +9 -0
  275. package/dist/screens/errors/ErrorBoundaryScreen.js +43 -0
  276. package/dist/screens/errors/InvalidResponseScreen.d.ts +9 -0
  277. package/dist/screens/errors/InvalidResponseScreen.js +47 -0
  278. package/dist/screens/errors/ServerErrorScreen.d.ts +9 -0
  279. package/dist/screens/errors/ServerErrorScreen.js +72 -0
  280. package/dist/screens/errors/index.d.ts +5 -0
  281. package/dist/screens/errors/index.js +6 -0
  282. package/dist/screens/index.d.ts +4 -0
  283. package/dist/screens/index.js +5 -0
  284. package/dist/screens/network/ApiTimeoutScreen.d.ts +9 -0
  285. package/dist/screens/network/ApiTimeoutScreen.js +47 -0
  286. package/dist/screens/network/NetworkOfflineScreen.d.ts +9 -0
  287. package/dist/screens/network/NetworkOfflineScreen.js +42 -0
  288. package/dist/screens/network/NetworkSlowConnectionScreen.d.ts +9 -0
  289. package/dist/screens/network/NetworkSlowConnectionScreen.js +41 -0
  290. package/dist/screens/network/index.d.ts +3 -0
  291. package/dist/screens/network/index.js +4 -0
  292. package/dist/screens/permissions/PermissionDeniedScreen.d.ts +9 -0
  293. package/dist/screens/permissions/PermissionDeniedScreen.js +92 -0
  294. package/dist/screens/permissions/PermissionRequestScreen.d.ts +16 -0
  295. package/dist/screens/permissions/PermissionRequestScreen.js +303 -0
  296. package/dist/screens/permissions/PermissionScreen.d.ts +9 -0
  297. package/dist/screens/permissions/PermissionScreen.js +45 -0
  298. package/dist/screens/permissions/index.d.ts +3 -0
  299. package/dist/screens/permissions/index.js +4 -0
  300. package/dist/screens/system/AppUpdateScreen.d.ts +9 -0
  301. package/dist/screens/system/AppUpdateScreen.js +296 -0
  302. package/dist/screens/system/EmergencyOutageScreen.d.ts +9 -0
  303. package/dist/screens/system/EmergencyOutageScreen.js +48 -0
  304. package/dist/screens/system/ForceUpdateScreen.d.ts +9 -0
  305. package/dist/screens/system/ForceUpdateScreen.js +49 -0
  306. package/dist/screens/system/OptionalUpdateScreen.d.ts +9 -0
  307. package/dist/screens/system/OptionalUpdateScreen.js +47 -0
  308. package/dist/screens/system/PlannedMaintenanceScreen.d.ts +9 -0
  309. package/dist/screens/system/PlannedMaintenanceScreen.js +41 -0
  310. package/dist/screens/system/SecurityUpdateScreen.d.ts +9 -0
  311. package/dist/screens/system/SecurityUpdateScreen.js +64 -0
  312. package/dist/screens/system/ServiceUnavailableScreen.d.ts +15 -0
  313. package/dist/screens/system/ServiceUnavailableScreen.js +53 -0
  314. package/dist/screens/system/SoftUpdateScreen.d.ts +9 -0
  315. package/dist/screens/system/SoftUpdateScreen.js +55 -0
  316. package/dist/screens/system/SystemMaintenanceScreen.d.ts +9 -0
  317. package/dist/screens/system/SystemMaintenanceScreen.js +228 -0
  318. package/dist/screens/system/UnplannedOutageScreen.d.ts +9 -0
  319. package/dist/screens/system/UnplannedOutageScreen.js +42 -0
  320. package/dist/screens/system/index.d.ts +2 -0
  321. package/dist/screens/system/index.js +3 -0
  322. package/dist/screens/system/maintenance/EmergencyOutageScreen.d.ts +9 -0
  323. package/dist/screens/system/maintenance/EmergencyOutageScreen.js +48 -0
  324. package/dist/screens/system/maintenance/PlannedMaintenanceScreen.d.ts +9 -0
  325. package/dist/screens/system/maintenance/PlannedMaintenanceScreen.js +41 -0
  326. package/dist/screens/system/maintenance/ServiceUnavailableScreen.d.ts +15 -0
  327. package/dist/screens/system/maintenance/ServiceUnavailableScreen.js +53 -0
  328. package/dist/screens/system/maintenance/SystemMaintenanceScreen.d.ts +9 -0
  329. package/dist/screens/system/maintenance/SystemMaintenanceScreen.js +228 -0
  330. package/dist/screens/system/maintenance/UnplannedOutageScreen.d.ts +9 -0
  331. package/dist/screens/system/maintenance/UnplannedOutageScreen.js +42 -0
  332. package/dist/screens/system/maintenance/index.d.ts +5 -0
  333. package/dist/screens/system/maintenance/index.js +6 -0
  334. package/dist/screens/system/updates/AppUpdateScreen.d.ts +9 -0
  335. package/dist/screens/system/updates/AppUpdateScreen.js +296 -0
  336. package/dist/screens/system/updates/ForceUpdateScreen.d.ts +9 -0
  337. package/dist/screens/system/updates/ForceUpdateScreen.js +49 -0
  338. package/dist/screens/system/updates/OptionalUpdateScreen.d.ts +9 -0
  339. package/dist/screens/system/updates/OptionalUpdateScreen.js +47 -0
  340. package/dist/screens/system/updates/SecurityUpdateScreen.d.ts +9 -0
  341. package/dist/screens/system/updates/SecurityUpdateScreen.js +64 -0
  342. package/dist/screens/system/updates/SoftUpdateScreen.d.ts +9 -0
  343. package/dist/screens/system/updates/SoftUpdateScreen.js +55 -0
  344. package/dist/screens/system/updates/index.d.ts +5 -0
  345. package/dist/screens/system/updates/index.js +6 -0
  346. package/dist/types/common.d.ts +139 -0
  347. package/dist/types/common.js +4 -0
  348. package/dist/types/components.d.ts +52 -0
  349. package/dist/types/components.js +4 -0
  350. package/dist/types/index.d.ts +4 -0
  351. package/dist/types/index.js +8 -0
  352. package/dist/types/screens.d.ts +390 -0
  353. package/dist/types/screens.js +4 -0
  354. package/dist/types/support.d.ts +16 -0
  355. package/dist/types/support.js +4 -0
  356. package/dist/types.d.ts +580 -0
  357. package/dist/types.js +4 -0
  358. package/dist/utils/client.d.ts +55 -0
  359. package/dist/utils/client.js +229 -0
  360. package/dist/utils/index.d.ts +1 -0
  361. package/dist/utils/index.js +2 -0
  362. package/package.json +72 -0
  363. package/src/adapters/index.ts +2 -0
  364. package/src/adapters/supportAdapter.ts +167 -0
  365. package/src/components/buttons/PrimaryButton.tsx +82 -0
  366. package/src/components/buttons/SecondaryButton.tsx +81 -0
  367. package/src/components/buttons/index.ts +3 -0
  368. package/src/components/cards/ContentCard.tsx +53 -0
  369. package/src/components/cards/InfoCard.tsx +74 -0
  370. package/src/components/cards/TipsCard.tsx +106 -0
  371. package/src/components/cards/WarningCard.tsx +118 -0
  372. package/src/components/cards/WhatsNewCard.tsx +121 -0
  373. package/src/components/cards/index.ts +6 -0
  374. package/src/components/feedback/ExpandableSection.tsx +71 -0
  375. package/src/components/feedback/SecurityBanner.tsx +74 -0
  376. package/src/components/feedback/SpeedBadge.tsx +64 -0
  377. package/src/components/feedback/StatusBadge.tsx +50 -0
  378. package/src/components/feedback/TopBanner.tsx +104 -0
  379. package/src/components/feedback/index.ts +6 -0
  380. package/src/components/icons/animated/errors/AnimatedClientError.tsx +94 -0
  381. package/src/components/icons/animated/errors/AnimatedCrash.tsx +133 -0
  382. package/src/components/icons/animated/errors/AnimatedInvalidData.tsx +127 -0
  383. package/src/components/icons/animated/errors/AnimatedServerError.tsx +85 -0
  384. package/src/components/icons/animated/errors/index.ts +5 -0
  385. package/src/components/icons/animated/general/AnimatedCalendar.tsx +54 -0
  386. package/src/components/icons/animated/general/AnimatedCamera.tsx +54 -0
  387. package/src/components/icons/animated/general/AnimatedClock.tsx +78 -0
  388. package/src/components/icons/animated/general/AnimatedDocument.tsx +54 -0
  389. package/src/components/icons/animated/general/AnimatedDownload.tsx +61 -0
  390. package/src/components/icons/animated/general/AnimatedLightning.tsx +54 -0
  391. package/src/components/icons/animated/general/AnimatedLocationPin.tsx +54 -0
  392. package/src/components/icons/animated/general/AnimatedShield.tsx +54 -0
  393. package/src/components/icons/animated/general/AnimatedSparkle.tsx +74 -0
  394. package/src/components/icons/animated/general/AnimatedWarning.tsx +75 -0
  395. package/src/components/icons/animated/general/index.ts +11 -0
  396. package/src/components/icons/animated/index.ts +6 -0
  397. package/src/components/icons/animated/maintenance/AnimatedAlert.tsx +110 -0
  398. package/src/components/icons/animated/maintenance/AnimatedEmergency.tsx +112 -0
  399. package/src/components/icons/animated/maintenance/AnimatedWrench.tsx +64 -0
  400. package/src/components/icons/animated/maintenance/index.ts +4 -0
  401. package/src/components/icons/animated/network/AnimatedSpeedGauge.tsx +75 -0
  402. package/src/components/icons/animated/network/AnimatedTimeout.tsx +115 -0
  403. package/src/components/icons/animated/network/AnimatedWifiOff.tsx +93 -0
  404. package/src/components/icons/animated/network/index.ts +4 -0
  405. package/src/components/icons/animated/permissions/AnimatedPermission.tsx +74 -0
  406. package/src/components/icons/animated/permissions/AnimatedPermissionDenied.tsx +92 -0
  407. package/src/components/icons/animated/permissions/index.ts +3 -0
  408. package/src/components/icons/badges/ClockBadge.tsx +49 -0
  409. package/src/components/icons/badges/DownloadBadge.tsx +49 -0
  410. package/src/components/icons/badges/XBadge.tsx +49 -0
  411. package/src/components/icons/badges/index.ts +4 -0
  412. package/src/components/icons/index.ts +4 -0
  413. package/src/components/icons/utilities/AlertTriangleIcon.tsx +17 -0
  414. package/src/components/icons/utilities/CheckCircleIcon.tsx +16 -0
  415. package/src/components/icons/utilities/DownloadIcon.tsx +17 -0
  416. package/src/components/icons/utilities/IconWithBadge.tsx +166 -0
  417. package/src/components/icons/utilities/SettingsIcon.tsx +16 -0
  418. package/src/components/icons/utilities/ShieldIcon.tsx +15 -0
  419. package/src/components/icons/utilities/XIcon.tsx +16 -0
  420. package/src/components/icons/utilities/index.ts +8 -0
  421. package/src/components/index.ts +10 -0
  422. package/src/components/layout/DualButtonLayout.tsx +118 -0
  423. package/src/components/layout/ResponsiveLayout.tsx +118 -0
  424. package/src/components/layout/SafeAreaWrapper.tsx +72 -0
  425. package/src/components/layout/ScreenContainer.tsx +53 -0
  426. package/src/components/layout/index.ts +5 -0
  427. package/src/components/lists/CheckListItem.tsx +72 -0
  428. package/src/components/lists/StatusCheckList.tsx +101 -0
  429. package/src/components/lists/index.ts +3 -0
  430. package/src/components/status/ConnectionStatus.tsx +90 -0
  431. package/src/components/status/VersionDisplay.tsx +60 -0
  432. package/src/components/status/index.ts +3 -0
  433. package/src/components/support/SupportButtons.tsx +311 -0
  434. package/src/components/support/index.ts +2 -0
  435. package/src/components/timers/CountdownTimer.tsx +136 -0
  436. package/src/components/timers/RetryCounter.tsx +33 -0
  437. package/src/components/timers/index.ts +3 -0
  438. package/src/index.ts +125 -0
  439. package/src/screens/errors/ApiErrorScreen.tsx +276 -0
  440. package/src/screens/errors/ClientErrorScreen.tsx +135 -0
  441. package/src/screens/errors/ErrorBoundaryScreen.tsx +98 -0
  442. package/src/screens/errors/InvalidResponseScreen.tsx +104 -0
  443. package/src/screens/errors/ServerErrorScreen.tsx +139 -0
  444. package/src/screens/errors/index.ts +6 -0
  445. package/src/screens/index.ts +5 -0
  446. package/src/screens/network/ApiTimeoutScreen.tsx +104 -0
  447. package/src/screens/network/NetworkOfflineScreen.tsx +92 -0
  448. package/src/screens/network/NetworkSlowConnectionScreen.tsx +92 -0
  449. package/src/screens/network/index.ts +4 -0
  450. package/src/screens/permissions/PermissionDeniedScreen.tsx +176 -0
  451. package/src/screens/permissions/PermissionRequestScreen.tsx +506 -0
  452. package/src/screens/permissions/PermissionScreen.tsx +104 -0
  453. package/src/screens/permissions/index.ts +4 -0
  454. package/src/screens/system/index.ts +3 -0
  455. package/src/screens/system/maintenance/EmergencyOutageScreen.tsx +113 -0
  456. package/src/screens/system/maintenance/PlannedMaintenanceScreen.tsx +98 -0
  457. package/src/screens/system/maintenance/ServiceUnavailableScreen.tsx +133 -0
  458. package/src/screens/system/maintenance/SystemMaintenanceScreen.tsx +334 -0
  459. package/src/screens/system/maintenance/UnplannedOutageScreen.tsx +106 -0
  460. package/src/screens/system/maintenance/index.ts +6 -0
  461. package/src/screens/system/updates/AppUpdateScreen.tsx +440 -0
  462. package/src/screens/system/updates/ForceUpdateScreen.tsx +121 -0
  463. package/src/screens/system/updates/OptionalUpdateScreen.tsx +120 -0
  464. package/src/screens/system/updates/SecurityUpdateScreen.tsx +152 -0
  465. package/src/screens/system/updates/SoftUpdateScreen.tsx +137 -0
  466. package/src/screens/system/updates/index.ts +6 -0
  467. package/src/types/common.ts +203 -0
  468. package/src/types/components.ts +65 -0
  469. package/src/types/index.ts +9 -0
  470. package/src/types/reanimated.d.ts +38 -0
  471. package/src/types/screens.ts +428 -0
  472. package/src/types/support.ts +23 -0
  473. package/src/utils/client.ts +273 -0
  474. package/src/utils/index.ts +2 -0
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ /**
4
+ * ResponsiveLayout Component
5
+ *
6
+ * Provides responsive layout utilities that adapt to different screen sizes.
7
+ * Prevents content overflow and ensures proper spacing on mobile devices.
8
+ */
9
+ interface ResponsiveLayoutProps {
10
+ children: React.ReactNode;
11
+ maxWidth?: number;
12
+ horizontalPadding?: 'small' | 'medium' | 'large';
13
+ verticalPadding?: 'small' | 'medium' | 'large';
14
+ style?: ViewStyle;
15
+ }
16
+ export declare const ResponsiveLayout: React.FC<ResponsiveLayoutProps>;
17
+ /**
18
+ * Utility function to get responsive font size
19
+ */
20
+ export declare const getResponsiveFontSize: (baseSize: number) => number;
21
+ /**
22
+ * Utility function to get responsive spacing
23
+ */
24
+ export declare const getResponsiveSpacing: (baseSpacing: number) => number;
25
+ export default ResponsiveLayout;
@@ -0,0 +1,76 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { View, StyleSheet, Dimensions, Platform } from 'react-native';
3
+ const PADDING_VALUES = {
4
+ small: 12,
5
+ medium: 24,
6
+ large: 32,
7
+ };
8
+ export const ResponsiveLayout = ({ children, maxWidth = 480, horizontalPadding = 'medium', verticalPadding = 'medium', style, }) => {
9
+ const { width, height } = Dimensions.get('window');
10
+ // Determine if we're on a small screen
11
+ const isSmallScreen = width < 375;
12
+ const isMobile = Platform.OS !== 'web' || width < 768;
13
+ // Adjust padding for small screens
14
+ const getHorizontalPadding = () => {
15
+ if (isSmallScreen)
16
+ return PADDING_VALUES.small;
17
+ return PADDING_VALUES[horizontalPadding];
18
+ };
19
+ const getVerticalPadding = () => {
20
+ if (isSmallScreen)
21
+ return PADDING_VALUES.small;
22
+ return PADDING_VALUES[verticalPadding];
23
+ };
24
+ return (_jsx(View, { style: [
25
+ styles.container,
26
+ {
27
+ paddingHorizontal: getHorizontalPadding(),
28
+ paddingVertical: getVerticalPadding(),
29
+ },
30
+ style,
31
+ ], children: _jsx(View, { style: [
32
+ styles.content,
33
+ {
34
+ maxWidth: isMobile ? width - (getHorizontalPadding() * 2) : maxWidth,
35
+ width: '100%',
36
+ },
37
+ ], children: children }) }));
38
+ };
39
+ const styles = StyleSheet.create({
40
+ container: {
41
+ flex: 1,
42
+ alignItems: 'center',
43
+ justifyContent: 'center',
44
+ },
45
+ content: {
46
+ width: '100%',
47
+ alignSelf: 'center',
48
+ },
49
+ });
50
+ /**
51
+ * Utility function to get responsive font size
52
+ */
53
+ export const getResponsiveFontSize = (baseSize) => {
54
+ const { width } = Dimensions.get('window');
55
+ if (width < 375) {
56
+ // Small phones: reduce by 10%
57
+ return baseSize * 0.9;
58
+ }
59
+ else if (width > 768) {
60
+ // Tablets/Desktop: increase by 5%
61
+ return baseSize * 1.05;
62
+ }
63
+ return baseSize;
64
+ };
65
+ /**
66
+ * Utility function to get responsive spacing
67
+ */
68
+ export const getResponsiveSpacing = (baseSpacing) => {
69
+ const { width } = Dimensions.get('window');
70
+ if (width < 375) {
71
+ // Small phones: reduce spacing
72
+ return baseSpacing * 0.75;
73
+ }
74
+ return baseSpacing;
75
+ };
76
+ export default ResponsiveLayout;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { RetryInfo, ThemeColors } from '../../types';
3
+ interface RetryCounterProps {
4
+ retryInfo: RetryInfo;
5
+ theme?: ThemeColors;
6
+ }
7
+ declare const RetryCounter: React.FC<RetryCounterProps>;
8
+ export default RetryCounter;
@@ -0,0 +1,17 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import { View, Text, StyleSheet } from 'react-native';
3
+ const RetryCounter = ({ retryInfo, theme }) => {
4
+ const textColor = theme?.textSecondary || '#6B7280';
5
+ return (_jsx(View, { style: styles.container, children: _jsxs(Text, { style: [styles.text, { color: textColor }], children: ["Retry attempt ", retryInfo.attempt, " of ", retryInfo.maxAttempts] }) }));
6
+ };
7
+ const styles = StyleSheet.create({
8
+ container: {
9
+ marginVertical: 12,
10
+ },
11
+ text: {
12
+ fontSize: 14,
13
+ textAlign: 'center',
14
+ fontWeight: '500',
15
+ },
16
+ });
17
+ export default RetryCounter;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ import type { SafeAreaEdge } from '../../types';
4
+ /**
5
+ * SafeAreaWrapper Component
6
+ *
7
+ * Cross-platform safe area wrapper that handles:
8
+ * - Mobile: Notches, status bars, navigation bars
9
+ * - Web: Fallback padding for consistent layout
10
+ *
11
+ * This ensures content doesn't overlap with system UI elements
12
+ * and provides consistent spacing across platforms.
13
+ */
14
+ interface SafeAreaWrapperProps {
15
+ children: React.ReactNode;
16
+ edges?: SafeAreaEdge[];
17
+ style?: ViewStyle;
18
+ backgroundColor?: string;
19
+ }
20
+ export declare const SafeAreaWrapper: React.FC<SafeAreaWrapperProps>;
21
+ export default SafeAreaWrapper;
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { View, StyleSheet, Platform } from 'react-native';
3
+ export const SafeAreaWrapper = ({ children, edges = ['top', 'bottom', 'left', 'right'], style, backgroundColor = '#FFFFFF', }) => {
4
+ // Calculate safe area padding based on platform
5
+ const getSafeAreaPadding = () => {
6
+ const padding = {};
7
+ if (Platform.OS === 'web') {
8
+ // Web fallback: Use standard padding
9
+ if (edges.includes('top'))
10
+ padding.paddingTop = 0;
11
+ if (edges.includes('bottom'))
12
+ padding.paddingBottom = 0;
13
+ if (edges.includes('left'))
14
+ padding.paddingLeft = 0;
15
+ if (edges.includes('right'))
16
+ padding.paddingRight = 0;
17
+ }
18
+ else {
19
+ // Mobile: Use safe area insets
20
+ // Note: In a real implementation, you would use react-native-safe-area-context
21
+ // For now, we'll use reasonable defaults
22
+ if (edges.includes('top'))
23
+ padding.paddingTop = 44; // Status bar height
24
+ if (edges.includes('bottom'))
25
+ padding.paddingBottom = 34; // Home indicator
26
+ if (edges.includes('left'))
27
+ padding.paddingLeft = 0;
28
+ if (edges.includes('right'))
29
+ padding.paddingRight = 0;
30
+ }
31
+ return padding;
32
+ };
33
+ return (_jsx(View, { style: [
34
+ styles.container,
35
+ { backgroundColor },
36
+ getSafeAreaPadding(),
37
+ style,
38
+ ], children: children }));
39
+ };
40
+ const styles = StyleSheet.create({
41
+ container: {
42
+ flex: 1,
43
+ },
44
+ });
45
+ export default SafeAreaWrapper;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ /**
4
+ * ScreenContainer Component
5
+ *
6
+ * Standardized container for all UI Kit screens.
7
+ * Provides consistent layout, spacing, and SafeArea support.
8
+ */
9
+ interface ScreenContainerProps {
10
+ children: React.ReactNode;
11
+ backgroundColor?: string;
12
+ style?: ViewStyle;
13
+ }
14
+ export declare const ScreenContainer: React.FC<ScreenContainerProps>;
15
+ export default ScreenContainer;
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { View, ScrollView, StyleSheet } from 'react-native';
3
+ import SafeAreaWrapper from './SafeAreaWrapper';
4
+ export const ScreenContainer = ({ children, backgroundColor = '#F9FAFB', style, }) => {
5
+ return (_jsx(SafeAreaWrapper, { backgroundColor: backgroundColor, children: _jsx(ScrollView, { contentContainerStyle: styles.scrollContent, showsVerticalScrollIndicator: false, style: style, children: _jsx(View, { style: styles.content, children: children }) }) }));
6
+ };
7
+ const styles = StyleSheet.create({
8
+ scrollContent: {
9
+ flexGrow: 1,
10
+ justifyContent: 'center',
11
+ paddingHorizontal: 24,
12
+ paddingVertical: 32,
13
+ },
14
+ content: {
15
+ alignItems: 'center',
16
+ maxWidth: 480,
17
+ width: '100%',
18
+ alignSelf: 'center',
19
+ },
20
+ });
21
+ export default ScreenContainer;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { ViewStyle, TextStyle } from 'react-native';
3
+ /**
4
+ * SecondaryButton Component
5
+ *
6
+ * White/outline secondary action button with icon support.
7
+ * Full width with consistent styling across all screens.
8
+ */
9
+ interface SecondaryButtonProps {
10
+ children: React.ReactNode;
11
+ onPress: () => void;
12
+ icon?: React.ReactNode;
13
+ disabled?: boolean;
14
+ borderColor?: string;
15
+ textColor?: string;
16
+ style?: ViewStyle;
17
+ textStyle?: TextStyle;
18
+ }
19
+ export declare const SecondaryButton: React.FC<SecondaryButtonProps>;
20
+ export default SecondaryButton;
@@ -0,0 +1,37 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { TouchableOpacity, Text, StyleSheet } from 'react-native';
3
+ export const SecondaryButton = ({ children, onPress, icon, disabled = false, borderColor = '#E5E7EB', textColor = '#1F2937', style, textStyle, }) => {
4
+ return (_jsxs(TouchableOpacity, { style: [
5
+ styles.button,
6
+ { borderColor: disabled ? '#E5E7EB' : borderColor },
7
+ style,
8
+ ], onPress: onPress, disabled: disabled, activeOpacity: 0.8, children: [icon && _jsx(_Fragment, { children: icon }), _jsx(Text, { style: [
9
+ styles.text,
10
+ { color: disabled ? '#9CA3AF' : textColor },
11
+ icon ? styles.textWithIcon : undefined,
12
+ textStyle,
13
+ ], children: children })] }));
14
+ };
15
+ const styles = StyleSheet.create({
16
+ button: {
17
+ width: '100%',
18
+ backgroundColor: '#FFFFFF',
19
+ paddingVertical: 16,
20
+ paddingHorizontal: 24,
21
+ borderRadius: 12,
22
+ flexDirection: 'row',
23
+ alignItems: 'center',
24
+ justifyContent: 'center',
25
+ borderWidth: 1,
26
+ marginBottom: 12,
27
+ },
28
+ text: {
29
+ fontSize: 16,
30
+ fontWeight: '600',
31
+ textAlign: 'center',
32
+ },
33
+ textWithIcon: {
34
+ marginLeft: 8,
35
+ },
36
+ });
37
+ export default SecondaryButton;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface SecurityBannerProps {
3
+ message?: string;
4
+ backgroundColor?: string;
5
+ textColor?: string;
6
+ iconColor?: string;
7
+ }
8
+ declare const SecurityBanner: React.FC<SecurityBannerProps>;
9
+ export default SecurityBanner;
@@ -0,0 +1,49 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useEffect, useRef } from 'react';
3
+ import { View, Text, StyleSheet, Animated } from 'react-native';
4
+ const SecurityBanner = ({ message = "Your data is secure. We only use this permission for the stated purpose and never share it with third parties.", backgroundColor = '#D1FAE5', textColor = '#065F46', iconColor = '#10B981', }) => {
5
+ const fadeAnim = useRef(new Animated.Value(0)).current;
6
+ useEffect(() => {
7
+ Animated.timing(fadeAnim, {
8
+ toValue: 1,
9
+ duration: 500,
10
+ delay: 400,
11
+ useNativeDriver: true,
12
+ }).start();
13
+ }, []);
14
+ return (_jsxs(Animated.View, { style: [
15
+ styles.container,
16
+ {
17
+ backgroundColor,
18
+ opacity: fadeAnim,
19
+ },
20
+ ], children: [_jsx(View, { style: [styles.iconContainer, { backgroundColor: `${iconColor}20` }], children: _jsx(Text, { style: [styles.icon, { color: iconColor }], children: "\u2713" }) }), _jsx(Text, { style: [styles.message, { color: textColor }], children: message })] }));
21
+ };
22
+ const styles = StyleSheet.create({
23
+ container: {
24
+ flexDirection: 'row',
25
+ alignItems: 'center',
26
+ borderRadius: 12,
27
+ padding: 16,
28
+ marginBottom: 24,
29
+ width: '100%',
30
+ },
31
+ iconContainer: {
32
+ width: 24,
33
+ height: 24,
34
+ borderRadius: 12,
35
+ justifyContent: 'center',
36
+ alignItems: 'center',
37
+ marginRight: 12,
38
+ },
39
+ icon: {
40
+ fontSize: 14,
41
+ fontWeight: '700',
42
+ },
43
+ message: {
44
+ flex: 1,
45
+ fontSize: 13,
46
+ lineHeight: 18,
47
+ },
48
+ });
49
+ export default SecurityBanner;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface SpeedBadgeProps {
3
+ speed?: '2G' | '3G' | '4G' | '5G';
4
+ backgroundColor?: string;
5
+ textColor?: string;
6
+ iconColor?: string;
7
+ }
8
+ declare const SpeedBadge: React.FC<SpeedBadgeProps>;
9
+ export default SpeedBadge;
@@ -0,0 +1,41 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useEffect, useRef } from 'react';
3
+ import { Text, StyleSheet, Animated } from 'react-native';
4
+ const SpeedBadge = ({ speed = '2G', backgroundColor = '#FEF3C7', textColor = '#92400E', iconColor = '#F59E0B', }) => {
5
+ const fadeAnim = useRef(new Animated.Value(0)).current;
6
+ useEffect(() => {
7
+ Animated.timing(fadeAnim, {
8
+ toValue: 1,
9
+ duration: 500,
10
+ delay: 200,
11
+ useNativeDriver: true,
12
+ }).start();
13
+ }, []);
14
+ return (_jsxs(Animated.View, { style: [
15
+ styles.container,
16
+ {
17
+ backgroundColor,
18
+ opacity: fadeAnim,
19
+ },
20
+ ], children: [_jsx(Text, { style: [styles.icon, { color: iconColor }], children: "\u26A1" }), _jsxs(Text, { style: [styles.text, { color: textColor }], children: [speed, " Speed"] })] }));
21
+ };
22
+ const styles = StyleSheet.create({
23
+ container: {
24
+ flexDirection: 'row',
25
+ alignItems: 'center',
26
+ paddingVertical: 6,
27
+ paddingHorizontal: 12,
28
+ borderRadius: 16,
29
+ marginBottom: 24,
30
+ alignSelf: 'center',
31
+ },
32
+ icon: {
33
+ fontSize: 14,
34
+ marginRight: 6,
35
+ },
36
+ text: {
37
+ fontSize: 14,
38
+ fontWeight: '600',
39
+ },
40
+ });
41
+ export default SpeedBadge;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ViewStyle, TextStyle } from 'react-native';
3
+ /**
4
+ * StatusBadge Component
5
+ *
6
+ * Small pill-shaped badge for status labels.
7
+ * Used to display status like "Security", "Required", "Service Alert", etc.
8
+ */
9
+ interface StatusBadgeProps {
10
+ text: string;
11
+ backgroundColor?: string;
12
+ textColor?: string;
13
+ style?: ViewStyle;
14
+ textStyle?: TextStyle;
15
+ }
16
+ export declare const StatusBadge: React.FC<StatusBadgeProps>;
17
+ export default StatusBadge;
@@ -0,0 +1,20 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { View, Text, StyleSheet } from 'react-native';
3
+ export const StatusBadge = ({ text, backgroundColor = '#FED7AA', textColor = '#F59E0B', style, textStyle, }) => {
4
+ return (_jsx(View, { style: [styles.badge, { backgroundColor }, style], children: _jsx(Text, { style: [styles.text, { color: textColor }, textStyle], children: text }) }));
5
+ };
6
+ const styles = StyleSheet.create({
7
+ badge: {
8
+ paddingHorizontal: 12,
9
+ paddingVertical: 6,
10
+ borderRadius: 12,
11
+ marginBottom: 16,
12
+ alignSelf: 'center',
13
+ },
14
+ text: {
15
+ fontSize: 12,
16
+ fontWeight: '600',
17
+ textTransform: 'capitalize',
18
+ },
19
+ });
20
+ export default StatusBadge;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface StatusCheckListProps {
3
+ messages: string[];
4
+ title?: string;
5
+ backgroundColor?: string;
6
+ borderColor?: string;
7
+ checkColor?: string;
8
+ }
9
+ declare const StatusCheckList: React.FC<StatusCheckListProps>;
10
+ export default StatusCheckList;
@@ -0,0 +1,69 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useEffect, useRef } from 'react';
3
+ import { View, Text, StyleSheet, Animated } from 'react-native';
4
+ const StatusCheckList = ({ messages, title = "What's happening?", backgroundColor = '#FFFFFF', borderColor = '#E5E7EB', checkColor = '#10B981', }) => {
5
+ const fadeAnim = useRef(new Animated.Value(0)).current;
6
+ useEffect(() => {
7
+ Animated.timing(fadeAnim, {
8
+ toValue: 1,
9
+ duration: 500,
10
+ delay: 300,
11
+ useNativeDriver: true,
12
+ }).start();
13
+ }, []);
14
+ return (_jsxs(Animated.View, { style: [
15
+ styles.container,
16
+ {
17
+ backgroundColor,
18
+ borderColor,
19
+ opacity: fadeAnim,
20
+ transform: [
21
+ {
22
+ translateY: fadeAnim.interpolate({
23
+ inputRange: [0, 1],
24
+ outputRange: [20, 0],
25
+ }),
26
+ },
27
+ ],
28
+ },
29
+ ], children: [_jsx(Text, { style: styles.title, children: title }), messages.map((message, index) => (_jsxs(View, { style: styles.messageItem, children: [_jsx(View, { style: [styles.checkIcon, { backgroundColor: `${checkColor}20` }], children: _jsx(Text, { style: [styles.checkmark, { color: checkColor }], children: "\u2713" }) }), _jsx(Text, { style: styles.messageText, children: message })] }, index)))] }));
30
+ };
31
+ const styles = StyleSheet.create({
32
+ container: {
33
+ borderRadius: 12,
34
+ padding: 24,
35
+ marginBottom: 24,
36
+ borderWidth: 1,
37
+ width: '100%',
38
+ },
39
+ title: {
40
+ fontSize: 18,
41
+ fontWeight: '600',
42
+ color: '#1F2937',
43
+ marginBottom: 16,
44
+ },
45
+ messageItem: {
46
+ flexDirection: 'row',
47
+ alignItems: 'center',
48
+ marginBottom: 12,
49
+ },
50
+ checkIcon: {
51
+ width: 24,
52
+ height: 24,
53
+ borderRadius: 12,
54
+ justifyContent: 'center',
55
+ alignItems: 'center',
56
+ marginRight: 12,
57
+ },
58
+ checkmark: {
59
+ fontSize: 14,
60
+ fontWeight: '700',
61
+ },
62
+ messageText: {
63
+ flex: 1,
64
+ fontSize: 15,
65
+ color: '#6B7280',
66
+ lineHeight: 22,
67
+ },
68
+ });
69
+ export default StatusCheckList;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { SupportContact, SupportVariant, ThemeColors } from '../../types';
3
+ interface SupportButtonsProps {
4
+ support: SupportContact;
5
+ variant?: SupportVariant;
6
+ theme?: ThemeColors;
7
+ }
8
+ declare const SupportButtons: React.FC<SupportButtonsProps>;
9
+ export default SupportButtons;