@procivis/one-react-native-components 0.1.63

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 (767) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +66 -0
  3. package/lib/commonjs/accessibility/accessibility.js +193 -0
  4. package/lib/commonjs/accessibility/accessibility.js.map +1 -0
  5. package/lib/commonjs/accessibility/accessibilityHistory.js +81 -0
  6. package/lib/commonjs/accessibility/accessibilityHistory.js.map +1 -0
  7. package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js +49 -0
  8. package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js.map +1 -0
  9. package/lib/commonjs/accessibility/accessibilityLanguage.js +63 -0
  10. package/lib/commonjs/accessibility/accessibilityLanguage.js.map +1 -0
  11. package/lib/commonjs/accessibility/index.js +129 -0
  12. package/lib/commonjs/accessibility/index.js.map +1 -0
  13. package/lib/commonjs/accessibility/locale/de.json +21 -0
  14. package/lib/commonjs/accessibility/locale/en.json +21 -0
  15. package/lib/commonjs/accessibility/locale/fr.json +21 -0
  16. package/lib/commonjs/accessibility/locale/index.js +21 -0
  17. package/lib/commonjs/accessibility/locale/index.js.map +1 -0
  18. package/lib/commonjs/accessibility/locale/it.json +21 -0
  19. package/lib/commonjs/accessibility/locale.test.js +15 -0
  20. package/lib/commonjs/accessibility/locale.test.js.map +1 -0
  21. package/lib/commonjs/action-modal/ActionModal.js +52 -0
  22. package/lib/commonjs/action-modal/ActionModal.js.map +1 -0
  23. package/lib/commonjs/action-modal/index.js +14 -0
  24. package/lib/commonjs/action-modal/index.js.map +1 -0
  25. package/lib/commonjs/activity-indicator/activity-indicator.js +34 -0
  26. package/lib/commonjs/activity-indicator/activity-indicator.js.map +1 -0
  27. package/lib/commonjs/activity-indicator/index.js +14 -0
  28. package/lib/commonjs/activity-indicator/index.js.map +1 -0
  29. package/lib/commonjs/blur/blur-view.js +76 -0
  30. package/lib/commonjs/blur/blur-view.js.map +1 -0
  31. package/lib/commonjs/blur/index.js +21 -0
  32. package/lib/commonjs/blur/index.js.map +1 -0
  33. package/lib/commonjs/buttons/back-button.js +37 -0
  34. package/lib/commonjs/buttons/back-button.js.map +1 -0
  35. package/lib/commonjs/buttons/button.js +153 -0
  36. package/lib/commonjs/buttons/button.js.map +1 -0
  37. package/lib/commonjs/buttons/connectivity-button.js +82 -0
  38. package/lib/commonjs/buttons/connectivity-button.js.map +1 -0
  39. package/lib/commonjs/buttons/filter-button.js +51 -0
  40. package/lib/commonjs/buttons/filter-button.js.map +1 -0
  41. package/lib/commonjs/buttons/ghost-button.js +62 -0
  42. package/lib/commonjs/buttons/ghost-button.js.map +1 -0
  43. package/lib/commonjs/buttons/index.js +104 -0
  44. package/lib/commonjs/buttons/index.js.map +1 -0
  45. package/lib/commonjs/buttons/scan-button.js +83 -0
  46. package/lib/commonjs/buttons/scan-button.js.map +1 -0
  47. package/lib/commonjs/camera/camera-overlay.js +61 -0
  48. package/lib/commonjs/camera/camera-overlay.js.map +1 -0
  49. package/lib/commonjs/camera/index.js +21 -0
  50. package/lib/commonjs/camera/index.js.map +1 -0
  51. package/lib/commonjs/camera/qr-code-scanner.js +50 -0
  52. package/lib/commonjs/camera/qr-code-scanner.js.map +1 -0
  53. package/lib/commonjs/control/checkbox.js +79 -0
  54. package/lib/commonjs/control/checkbox.js.map +1 -0
  55. package/lib/commonjs/control/index.js +32 -0
  56. package/lib/commonjs/control/index.js.map +1 -0
  57. package/lib/commonjs/control/switch.js +65 -0
  58. package/lib/commonjs/control/switch.js.map +1 -0
  59. package/lib/commonjs/credential/card/credential-card.js +189 -0
  60. package/lib/commonjs/credential/card/credential-card.js.map +1 -0
  61. package/lib/commonjs/credential/card/credential-details-card.js +201 -0
  62. package/lib/commonjs/credential/card/credential-details-card.js.map +1 -0
  63. package/lib/commonjs/credential/card/credential-details-list-item.js +84 -0
  64. package/lib/commonjs/credential/card/credential-details-list-item.js.map +1 -0
  65. package/lib/commonjs/credential/card/credential-header.js +172 -0
  66. package/lib/commonjs/credential/card/credential-header.js.map +1 -0
  67. package/lib/commonjs/credential/card/credential-image-carousel.js +124 -0
  68. package/lib/commonjs/credential/card/credential-image-carousel.js.map +1 -0
  69. package/lib/commonjs/credential/card/index.js +85 -0
  70. package/lib/commonjs/credential/card/index.js.map +1 -0
  71. package/lib/commonjs/credential/credential-attribute-item.js +289 -0
  72. package/lib/commonjs/credential/credential-attribute-item.js.map +1 -0
  73. package/lib/commonjs/credential/credential-carousel-images.js +98 -0
  74. package/lib/commonjs/credential/credential-carousel-images.js.map +1 -0
  75. package/lib/commonjs/credential/index.js +90 -0
  76. package/lib/commonjs/credential/index.js.map +1 -0
  77. package/lib/commonjs/credential/selector-status.js +17 -0
  78. package/lib/commonjs/credential/selector-status.js.map +1 -0
  79. package/lib/commonjs/credential/selector.js +79 -0
  80. package/lib/commonjs/credential/selector.js.map +1 -0
  81. package/lib/commonjs/detail/detail.js +84 -0
  82. package/lib/commonjs/detail/detail.js.map +1 -0
  83. package/lib/commonjs/detail/index.js +14 -0
  84. package/lib/commonjs/detail/index.js.map +1 -0
  85. package/lib/commonjs/entity/avatar.js +96 -0
  86. package/lib/commonjs/entity/avatar.js.map +1 -0
  87. package/lib/commonjs/entity/entity-cluster.js +66 -0
  88. package/lib/commonjs/entity/entity-cluster.js.map +1 -0
  89. package/lib/commonjs/entity/index.js +34 -0
  90. package/lib/commonjs/entity/index.js.map +1 -0
  91. package/lib/commonjs/header/focus-aware-status-bar.js +20 -0
  92. package/lib/commonjs/header/focus-aware-status-bar.js.map +1 -0
  93. package/lib/commonjs/header/foldable-header.js +89 -0
  94. package/lib/commonjs/header/foldable-header.js.map +1 -0
  95. package/lib/commonjs/header/header.js +105 -0
  96. package/lib/commonjs/header/header.js.map +1 -0
  97. package/lib/commonjs/header/index.js +55 -0
  98. package/lib/commonjs/header/index.js.map +1 -0
  99. package/lib/commonjs/header/navigation-header.js +148 -0
  100. package/lib/commonjs/header/navigation-header.js.map +1 -0
  101. package/lib/commonjs/history/data-item.js +70 -0
  102. package/lib/commonjs/history/data-item.js.map +1 -0
  103. package/lib/commonjs/history/history-list-item.js +90 -0
  104. package/lib/commonjs/history/history-list-item.js.map +1 -0
  105. package/lib/commonjs/history/history-section-header.js +49 -0
  106. package/lib/commonjs/history/history-section-header.js.map +1 -0
  107. package/lib/commonjs/history/history-section-list-item.js +47 -0
  108. package/lib/commonjs/history/history-section-list-item.js.map +1 -0
  109. package/lib/commonjs/history/index.js +55 -0
  110. package/lib/commonjs/history/index.js.map +1 -0
  111. package/lib/commonjs/icons/connectivity.js +139 -0
  112. package/lib/commonjs/icons/connectivity.js.map +1 -0
  113. package/lib/commonjs/icons/credential.js +162 -0
  114. package/lib/commonjs/icons/credential.js.map +1 -0
  115. package/lib/commonjs/icons/entity.js +34 -0
  116. package/lib/commonjs/icons/entity.js.map +1 -0
  117. package/lib/commonjs/icons/history.js +408 -0
  118. package/lib/commonjs/icons/history.js.map +1 -0
  119. package/lib/commonjs/icons/icons.js +250 -0
  120. package/lib/commonjs/icons/icons.js.map +1 -0
  121. package/lib/commonjs/icons/index.js +127 -0
  122. package/lib/commonjs/icons/index.js.map +1 -0
  123. package/lib/commonjs/icons/input.js +44 -0
  124. package/lib/commonjs/icons/input.js.map +1 -0
  125. package/lib/commonjs/icons/keypad.js +94 -0
  126. package/lib/commonjs/icons/keypad.js.map +1 -0
  127. package/lib/commonjs/icons/loader.js +180 -0
  128. package/lib/commonjs/icons/loader.js.map +1 -0
  129. package/lib/commonjs/icons/nerd-view.js +123 -0
  130. package/lib/commonjs/icons/nerd-view.js.map +1 -0
  131. package/lib/commonjs/icons/selector.js +56 -0
  132. package/lib/commonjs/icons/selector.js.map +1 -0
  133. package/lib/commonjs/icons/wallet.js +121 -0
  134. package/lib/commonjs/icons/wallet.js.map +1 -0
  135. package/lib/commonjs/image/image-or-component.js +80 -0
  136. package/lib/commonjs/image/image-or-component.js.map +1 -0
  137. package/lib/commonjs/image/index.js +21 -0
  138. package/lib/commonjs/image/index.js.map +1 -0
  139. package/lib/commonjs/index.js +292 -0
  140. package/lib/commonjs/index.js.map +1 -0
  141. package/lib/commonjs/input/index.js +65 -0
  142. package/lib/commonjs/input/index.js.map +1 -0
  143. package/lib/commonjs/input/radio-group.js +95 -0
  144. package/lib/commonjs/input/radio-group.js.map +1 -0
  145. package/lib/commonjs/input/selection-input.js +102 -0
  146. package/lib/commonjs/input/selection-input.js.map +1 -0
  147. package/lib/commonjs/input/text-input.js +195 -0
  148. package/lib/commonjs/input/text-input.js.map +1 -0
  149. package/lib/commonjs/list/index.js +34 -0
  150. package/lib/commonjs/list/index.js.map +1 -0
  151. package/lib/commonjs/list/list-section-header.js +36 -0
  152. package/lib/commonjs/list/list-section-header.js.map +1 -0
  153. package/lib/commonjs/list/list-title-header.js +35 -0
  154. package/lib/commonjs/list/list-title-header.js.map +1 -0
  155. package/lib/commonjs/loader/index.js +40 -0
  156. package/lib/commonjs/loader/index.js.map +1 -0
  157. package/lib/commonjs/loader/loader.js +140 -0
  158. package/lib/commonjs/loader/loader.js.map +1 -0
  159. package/lib/commonjs/loader/loading-result.js +92 -0
  160. package/lib/commonjs/loader/loading-result.js.map +1 -0
  161. package/lib/commonjs/nerd-view/index.js +27 -0
  162. package/lib/commonjs/nerd-view/index.js.map +1 -0
  163. package/lib/commonjs/nerd-view/nerd-mode-item.js +235 -0
  164. package/lib/commonjs/nerd-view/nerd-mode-item.js.map +1 -0
  165. package/lib/commonjs/normalize-color.d.js +2 -0
  166. package/lib/commonjs/normalize-color.d.js.map +1 -0
  167. package/lib/commonjs/pin/index.js +32 -0
  168. package/lib/commonjs/pin/index.js.map +1 -0
  169. package/lib/commonjs/pin/keypad.js +201 -0
  170. package/lib/commonjs/pin/keypad.js.map +1 -0
  171. package/lib/commonjs/pin/pin-code-screen.js +162 -0
  172. package/lib/commonjs/pin/pin-code-screen.js.map +1 -0
  173. package/lib/commonjs/pin/pins.js +54 -0
  174. package/lib/commonjs/pin/pins.js.map +1 -0
  175. package/lib/commonjs/screens/backup-screen.js +87 -0
  176. package/lib/commonjs/screens/backup-screen.js.map +1 -0
  177. package/lib/commonjs/screens/image-preview-screen.js +92 -0
  178. package/lib/commonjs/screens/image-preview-screen.js.map +1 -0
  179. package/lib/commonjs/screens/index.js +98 -0
  180. package/lib/commonjs/screens/index.js.map +1 -0
  181. package/lib/commonjs/screens/nerd-mode-screen.js +142 -0
  182. package/lib/commonjs/screens/nerd-mode-screen.js.map +1 -0
  183. package/lib/commonjs/screens/qr-code-scanner-screen.js +120 -0
  184. package/lib/commonjs/screens/qr-code-scanner-screen.js.map +1 -0
  185. package/lib/commonjs/screens/scroll-view-screen.js +94 -0
  186. package/lib/commonjs/screens/scroll-view-screen.js.map +1 -0
  187. package/lib/commonjs/screens/section-list-screen.js +67 -0
  188. package/lib/commonjs/screens/section-list-screen.js.map +1 -0
  189. package/lib/commonjs/searchbar/animated-search-bar.js +88 -0
  190. package/lib/commonjs/searchbar/animated-search-bar.js.map +1 -0
  191. package/lib/commonjs/searchbar/index.js +34 -0
  192. package/lib/commonjs/searchbar/index.js.map +1 -0
  193. package/lib/commonjs/searchbar/search-bar.js +99 -0
  194. package/lib/commonjs/searchbar/search-bar.js.map +1 -0
  195. package/lib/commonjs/settings/button-setting.js +67 -0
  196. package/lib/commonjs/settings/button-setting.js.map +1 -0
  197. package/lib/commonjs/settings/index.js +73 -0
  198. package/lib/commonjs/settings/index.js.map +1 -0
  199. package/lib/commonjs/settings/setting-item-separator.js +40 -0
  200. package/lib/commonjs/settings/setting-item-separator.js.map +1 -0
  201. package/lib/commonjs/settings/setting-item.js +79 -0
  202. package/lib/commonjs/settings/setting-item.js.map +1 -0
  203. package/lib/commonjs/settings/settings-button.js +35 -0
  204. package/lib/commonjs/settings/settings-button.js.map +1 -0
  205. package/lib/commonjs/settings/switch-setting.js +35 -0
  206. package/lib/commonjs/settings/switch-setting.js.map +1 -0
  207. package/lib/commonjs/state/error-screen.js +71 -0
  208. package/lib/commonjs/state/error-screen.js.map +1 -0
  209. package/lib/commonjs/state/index.js +27 -0
  210. package/lib/commonjs/state/index.js.map +1 -0
  211. package/lib/commonjs/text/base.js +40 -0
  212. package/lib/commonjs/text/base.js.map +1 -0
  213. package/lib/commonjs/text/font.js +64 -0
  214. package/lib/commonjs/text/font.js.map +1 -0
  215. package/lib/commonjs/text/index.js +21 -0
  216. package/lib/commonjs/text/index.js.map +1 -0
  217. package/lib/commonjs/text/typography.js +119 -0
  218. package/lib/commonjs/text/typography.js.map +1 -0
  219. package/lib/commonjs/theme/color-scheme-context.js +52 -0
  220. package/lib/commonjs/theme/color-scheme-context.js.map +1 -0
  221. package/lib/commonjs/theme/color-scheme.js +2 -0
  222. package/lib/commonjs/theme/color-scheme.js.map +1 -0
  223. package/lib/commonjs/theme/index.js +19 -0
  224. package/lib/commonjs/theme/index.js.map +1 -0
  225. package/lib/commonjs/utils/color.js +34 -0
  226. package/lib/commonjs/utils/color.js.map +1 -0
  227. package/lib/commonjs/utils/contrasting-status-bar.js +30 -0
  228. package/lib/commonjs/utils/contrasting-status-bar.js.map +1 -0
  229. package/lib/commonjs/utils/date.js +57 -0
  230. package/lib/commonjs/utils/date.js.map +1 -0
  231. package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js +21 -0
  232. package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js.map +1 -0
  233. package/lib/commonjs/utils/hooks/index.js +20 -0
  234. package/lib/commonjs/utils/hooks/index.js.map +1 -0
  235. package/lib/commonjs/utils/hooks/list/list-content-inset.js +31 -0
  236. package/lib/commonjs/utils/hooks/list/list-content-inset.js.map +1 -0
  237. package/lib/commonjs/utils/index.js +83 -0
  238. package/lib/commonjs/utils/index.js.map +1 -0
  239. package/lib/commonjs/utils/navigation.js +51 -0
  240. package/lib/commonjs/utils/navigation.js.map +1 -0
  241. package/lib/commonjs/utils/ref.js +42 -0
  242. package/lib/commonjs/utils/ref.js.map +1 -0
  243. package/lib/commonjs/utils/testID.js +18 -0
  244. package/lib/commonjs/utils/testID.js.map +1 -0
  245. package/lib/commonjs/utils/testID.test.js +21 -0
  246. package/lib/commonjs/utils/testID.test.js.map +1 -0
  247. package/lib/commonjs/utils/useMemoAsync.js +26 -0
  248. package/lib/commonjs/utils/useMemoAsync.js.map +1 -0
  249. package/lib/module/accessibility/accessibility.js +185 -0
  250. package/lib/module/accessibility/accessibility.js.map +1 -0
  251. package/lib/module/accessibility/accessibilityHistory.js +71 -0
  252. package/lib/module/accessibility/accessibilityHistory.js.map +1 -0
  253. package/lib/module/accessibility/accessibilityHistoryWrappers.js +38 -0
  254. package/lib/module/accessibility/accessibilityHistoryWrappers.js.map +1 -0
  255. package/lib/module/accessibility/accessibilityLanguage.js +53 -0
  256. package/lib/module/accessibility/accessibilityLanguage.js.map +1 -0
  257. package/lib/module/accessibility/index.js +8 -0
  258. package/lib/module/accessibility/index.js.map +1 -0
  259. package/lib/module/accessibility/locale/de.json +21 -0
  260. package/lib/module/accessibility/locale/en.json +21 -0
  261. package/lib/module/accessibility/locale/fr.json +21 -0
  262. package/lib/module/accessibility/locale/index.js +12 -0
  263. package/lib/module/accessibility/locale/index.js.map +1 -0
  264. package/lib/module/accessibility/locale/it.json +21 -0
  265. package/lib/module/accessibility/locale.test.js +13 -0
  266. package/lib/module/accessibility/locale.test.js.map +1 -0
  267. package/lib/module/action-modal/ActionModal.js +44 -0
  268. package/lib/module/action-modal/ActionModal.js.map +1 -0
  269. package/lib/module/action-modal/index.js +3 -0
  270. package/lib/module/action-modal/index.js.map +1 -0
  271. package/lib/module/activity-indicator/activity-indicator.js +24 -0
  272. package/lib/module/activity-indicator/activity-indicator.js.map +1 -0
  273. package/lib/module/activity-indicator/index.js +3 -0
  274. package/lib/module/activity-indicator/index.js.map +1 -0
  275. package/lib/module/blur/blur-view.js +67 -0
  276. package/lib/module/blur/blur-view.js.map +1 -0
  277. package/lib/module/blur/index.js +3 -0
  278. package/lib/module/blur/index.js.map +1 -0
  279. package/lib/module/buttons/back-button.js +28 -0
  280. package/lib/module/buttons/back-button.js.map +1 -0
  281. package/lib/module/buttons/button.js +143 -0
  282. package/lib/module/buttons/button.js.map +1 -0
  283. package/lib/module/buttons/connectivity-button.js +73 -0
  284. package/lib/module/buttons/connectivity-button.js.map +1 -0
  285. package/lib/module/buttons/filter-button.js +43 -0
  286. package/lib/module/buttons/filter-button.js.map +1 -0
  287. package/lib/module/buttons/ghost-button.js +53 -0
  288. package/lib/module/buttons/ghost-button.js.map +1 -0
  289. package/lib/module/buttons/index.js +8 -0
  290. package/lib/module/buttons/index.js.map +1 -0
  291. package/lib/module/buttons/scan-button.js +75 -0
  292. package/lib/module/buttons/scan-button.js.map +1 -0
  293. package/lib/module/camera/camera-overlay.js +51 -0
  294. package/lib/module/camera/camera-overlay.js.map +1 -0
  295. package/lib/module/camera/index.js +3 -0
  296. package/lib/module/camera/index.js.map +1 -0
  297. package/lib/module/camera/qr-code-scanner.js +40 -0
  298. package/lib/module/camera/qr-code-scanner.js.map +1 -0
  299. package/lib/module/control/checkbox.js +70 -0
  300. package/lib/module/control/checkbox.js.map +1 -0
  301. package/lib/module/control/index.js +4 -0
  302. package/lib/module/control/index.js.map +1 -0
  303. package/lib/module/control/switch.js +56 -0
  304. package/lib/module/control/switch.js.map +1 -0
  305. package/lib/module/credential/card/credential-card.js +177 -0
  306. package/lib/module/credential/card/credential-card.js.map +1 -0
  307. package/lib/module/credential/card/credential-details-card.js +191 -0
  308. package/lib/module/credential/card/credential-details-card.js.map +1 -0
  309. package/lib/module/credential/card/credential-details-list-item.js +74 -0
  310. package/lib/module/credential/card/credential-details-list-item.js.map +1 -0
  311. package/lib/module/credential/card/credential-header.js +162 -0
  312. package/lib/module/credential/card/credential-header.js.map +1 -0
  313. package/lib/module/credential/card/credential-image-carousel.js +113 -0
  314. package/lib/module/credential/card/credential-image-carousel.js.map +1 -0
  315. package/lib/module/credential/card/index.js +11 -0
  316. package/lib/module/credential/card/index.js.map +1 -0
  317. package/lib/module/credential/credential-attribute-item.js +279 -0
  318. package/lib/module/credential/credential-attribute-item.js.map +1 -0
  319. package/lib/module/credential/credential-carousel-images.js +86 -0
  320. package/lib/module/credential/credential-carousel-images.js.map +1 -0
  321. package/lib/module/credential/index.js +9 -0
  322. package/lib/module/credential/index.js.map +1 -0
  323. package/lib/module/credential/selector-status.js +10 -0
  324. package/lib/module/credential/selector-status.js.map +1 -0
  325. package/lib/module/credential/selector.js +70 -0
  326. package/lib/module/credential/selector.js.map +1 -0
  327. package/lib/module/detail/detail.js +75 -0
  328. package/lib/module/detail/detail.js.map +1 -0
  329. package/lib/module/detail/index.js +3 -0
  330. package/lib/module/detail/index.js.map +1 -0
  331. package/lib/module/entity/avatar.js +86 -0
  332. package/lib/module/entity/avatar.js.map +1 -0
  333. package/lib/module/entity/entity-cluster.js +56 -0
  334. package/lib/module/entity/entity-cluster.js.map +1 -0
  335. package/lib/module/entity/index.js +5 -0
  336. package/lib/module/entity/index.js.map +1 -0
  337. package/lib/module/header/focus-aware-status-bar.js +12 -0
  338. package/lib/module/header/focus-aware-status-bar.js.map +1 -0
  339. package/lib/module/header/foldable-header.js +79 -0
  340. package/lib/module/header/foldable-header.js.map +1 -0
  341. package/lib/module/header/header.js +97 -0
  342. package/lib/module/header/header.js.map +1 -0
  343. package/lib/module/header/index.js +9 -0
  344. package/lib/module/header/index.js.map +1 -0
  345. package/lib/module/header/navigation-header.js +138 -0
  346. package/lib/module/header/navigation-header.js.map +1 -0
  347. package/lib/module/history/data-item.js +60 -0
  348. package/lib/module/history/data-item.js.map +1 -0
  349. package/lib/module/history/history-list-item.js +80 -0
  350. package/lib/module/history/history-list-item.js.map +1 -0
  351. package/lib/module/history/history-section-header.js +42 -0
  352. package/lib/module/history/history-section-header.js.map +1 -0
  353. package/lib/module/history/history-section-list-item.js +43 -0
  354. package/lib/module/history/history-section-list-item.js.map +1 -0
  355. package/lib/module/history/index.js +9 -0
  356. package/lib/module/history/index.js.map +1 -0
  357. package/lib/module/icons/connectivity.js +125 -0
  358. package/lib/module/icons/connectivity.js.map +1 -0
  359. package/lib/module/icons/credential.js +147 -0
  360. package/lib/module/icons/credential.js.map +1 -0
  361. package/lib/module/icons/entity.js +25 -0
  362. package/lib/module/icons/entity.js.map +1 -0
  363. package/lib/module/icons/history.js +391 -0
  364. package/lib/module/icons/history.js.map +1 -0
  365. package/lib/module/icons/icons.js +231 -0
  366. package/lib/module/icons/icons.js.map +1 -0
  367. package/lib/module/icons/index.js +12 -0
  368. package/lib/module/icons/index.js.map +1 -0
  369. package/lib/module/icons/input.js +33 -0
  370. package/lib/module/icons/input.js.map +1 -0
  371. package/lib/module/icons/keypad.js +81 -0
  372. package/lib/module/icons/keypad.js.map +1 -0
  373. package/lib/module/icons/loader.js +168 -0
  374. package/lib/module/icons/loader.js.map +1 -0
  375. package/lib/module/icons/nerd-view.js +110 -0
  376. package/lib/module/icons/nerd-view.js.map +1 -0
  377. package/lib/module/icons/selector.js +45 -0
  378. package/lib/module/icons/selector.js.map +1 -0
  379. package/lib/module/icons/wallet.js +111 -0
  380. package/lib/module/icons/wallet.js.map +1 -0
  381. package/lib/module/image/image-or-component.js +71 -0
  382. package/lib/module/image/image-or-component.js.map +1 -0
  383. package/lib/module/image/index.js +3 -0
  384. package/lib/module/image/index.js.map +1 -0
  385. package/lib/module/index.js +27 -0
  386. package/lib/module/index.js.map +1 -0
  387. package/lib/module/input/index.js +7 -0
  388. package/lib/module/input/index.js.map +1 -0
  389. package/lib/module/input/radio-group.js +87 -0
  390. package/lib/module/input/radio-group.js.map +1 -0
  391. package/lib/module/input/selection-input.js +92 -0
  392. package/lib/module/input/selection-input.js.map +1 -0
  393. package/lib/module/input/text-input.js +185 -0
  394. package/lib/module/input/text-input.js.map +1 -0
  395. package/lib/module/list/index.js +5 -0
  396. package/lib/module/list/index.js.map +1 -0
  397. package/lib/module/list/list-section-header.js +28 -0
  398. package/lib/module/list/list-section-header.js.map +1 -0
  399. package/lib/module/list/list-title-header.js +27 -0
  400. package/lib/module/list/list-title-header.js.map +1 -0
  401. package/lib/module/loader/index.js +5 -0
  402. package/lib/module/loader/index.js.map +1 -0
  403. package/lib/module/loader/loader.js +130 -0
  404. package/lib/module/loader/loader.js.map +1 -0
  405. package/lib/module/loader/loading-result.js +84 -0
  406. package/lib/module/loader/loading-result.js.map +1 -0
  407. package/lib/module/nerd-view/index.js +3 -0
  408. package/lib/module/nerd-view/index.js.map +1 -0
  409. package/lib/module/nerd-view/nerd-mode-item.js +224 -0
  410. package/lib/module/nerd-view/nerd-mode-item.js.map +1 -0
  411. package/lib/module/normalize-color.d.js +2 -0
  412. package/lib/module/normalize-color.d.js.map +1 -0
  413. package/lib/module/pin/index.js +4 -0
  414. package/lib/module/pin/index.js.map +1 -0
  415. package/lib/module/pin/keypad.js +191 -0
  416. package/lib/module/pin/keypad.js.map +1 -0
  417. package/lib/module/pin/pin-code-screen.js +152 -0
  418. package/lib/module/pin/pin-code-screen.js.map +1 -0
  419. package/lib/module/pin/pins.js +46 -0
  420. package/lib/module/pin/pins.js.map +1 -0
  421. package/lib/module/screens/backup-screen.js +78 -0
  422. package/lib/module/screens/backup-screen.js.map +1 -0
  423. package/lib/module/screens/image-preview-screen.js +83 -0
  424. package/lib/module/screens/image-preview-screen.js.map +1 -0
  425. package/lib/module/screens/index.js +13 -0
  426. package/lib/module/screens/index.js.map +1 -0
  427. package/lib/module/screens/nerd-mode-screen.js +132 -0
  428. package/lib/module/screens/nerd-mode-screen.js.map +1 -0
  429. package/lib/module/screens/qr-code-scanner-screen.js +110 -0
  430. package/lib/module/screens/qr-code-scanner-screen.js.map +1 -0
  431. package/lib/module/screens/scroll-view-screen.js +86 -0
  432. package/lib/module/screens/scroll-view-screen.js.map +1 -0
  433. package/lib/module/screens/section-list-screen.js +59 -0
  434. package/lib/module/screens/section-list-screen.js.map +1 -0
  435. package/lib/module/searchbar/animated-search-bar.js +78 -0
  436. package/lib/module/searchbar/animated-search-bar.js.map +1 -0
  437. package/lib/module/searchbar/index.js +5 -0
  438. package/lib/module/searchbar/index.js.map +1 -0
  439. package/lib/module/searchbar/search-bar.js +89 -0
  440. package/lib/module/searchbar/search-bar.js.map +1 -0
  441. package/lib/module/settings/button-setting.js +57 -0
  442. package/lib/module/settings/button-setting.js.map +1 -0
  443. package/lib/module/settings/index.js +11 -0
  444. package/lib/module/settings/index.js.map +1 -0
  445. package/lib/module/settings/setting-item-separator.js +32 -0
  446. package/lib/module/settings/setting-item-separator.js.map +1 -0
  447. package/lib/module/settings/setting-item.js +69 -0
  448. package/lib/module/settings/setting-item.js.map +1 -0
  449. package/lib/module/settings/settings-button.js +27 -0
  450. package/lib/module/settings/settings-button.js.map +1 -0
  451. package/lib/module/settings/switch-setting.js +27 -0
  452. package/lib/module/settings/switch-setting.js.map +1 -0
  453. package/lib/module/state/error-screen.js +63 -0
  454. package/lib/module/state/error-screen.js.map +1 -0
  455. package/lib/module/state/index.js +3 -0
  456. package/lib/module/state/index.js.map +1 -0
  457. package/lib/module/text/base.js +31 -0
  458. package/lib/module/text/base.js.map +1 -0
  459. package/lib/module/text/font.js +56 -0
  460. package/lib/module/text/font.js.map +1 -0
  461. package/lib/module/text/index.js +3 -0
  462. package/lib/module/text/index.js.map +1 -0
  463. package/lib/module/text/typography.js +111 -0
  464. package/lib/module/text/typography.js.map +1 -0
  465. package/lib/module/theme/color-scheme-context.js +44 -0
  466. package/lib/module/theme/color-scheme-context.js.map +1 -0
  467. package/lib/module/theme/color-scheme.js +2 -0
  468. package/lib/module/theme/color-scheme.js.map +1 -0
  469. package/lib/module/theme/index.js +3 -0
  470. package/lib/module/theme/index.js.map +1 -0
  471. package/lib/module/utils/color.js +23 -0
  472. package/lib/module/utils/color.js.map +1 -0
  473. package/lib/module/utils/contrasting-status-bar.js +21 -0
  474. package/lib/module/utils/contrasting-status-bar.js.map +1 -0
  475. package/lib/module/utils/date.js +51 -0
  476. package/lib/module/utils/date.js.map +1 -0
  477. package/lib/module/utils/hooks/header/on-scroll-header-state.js +14 -0
  478. package/lib/module/utils/hooks/header/on-scroll-header-state.js.map +1 -0
  479. package/lib/module/utils/hooks/index.js +5 -0
  480. package/lib/module/utils/hooks/index.js.map +1 -0
  481. package/lib/module/utils/hooks/list/list-content-inset.js +24 -0
  482. package/lib/module/utils/hooks/list/list-content-inset.js.map +1 -0
  483. package/lib/module/utils/index.js +9 -0
  484. package/lib/module/utils/index.js.map +1 -0
  485. package/lib/module/utils/navigation.js +45 -0
  486. package/lib/module/utils/navigation.js.map +1 -0
  487. package/lib/module/utils/ref.js +35 -0
  488. package/lib/module/utils/ref.js.map +1 -0
  489. package/lib/module/utils/testID.js +12 -0
  490. package/lib/module/utils/testID.js.map +1 -0
  491. package/lib/module/utils/testID.test.js +19 -0
  492. package/lib/module/utils/testID.test.js.map +1 -0
  493. package/lib/module/utils/useMemoAsync.js +20 -0
  494. package/lib/module/utils/useMemoAsync.js.map +1 -0
  495. package/lib/typescript/accessibility/accessibility.d.ts +55 -0
  496. package/lib/typescript/accessibility/accessibilityHistory.d.ts +13 -0
  497. package/lib/typescript/accessibility/accessibilityHistoryWrappers.d.ts +18 -0
  498. package/lib/typescript/accessibility/accessibilityLanguage.d.ts +20 -0
  499. package/lib/typescript/accessibility/index.d.ts +6 -0
  500. package/lib/typescript/accessibility/locale/index.d.ts +90 -0
  501. package/lib/typescript/accessibility/locale.test.d.ts +1 -0
  502. package/lib/typescript/action-modal/ActionModal.d.ts +10 -0
  503. package/lib/typescript/action-modal/index.d.ts +2 -0
  504. package/lib/typescript/activity-indicator/activity-indicator.d.ts +7 -0
  505. package/lib/typescript/activity-indicator/index.d.ts +2 -0
  506. package/lib/typescript/blur/blur-view.d.ts +10 -0
  507. package/lib/typescript/blur/index.d.ts +2 -0
  508. package/lib/typescript/buttons/back-button.d.ts +9 -0
  509. package/lib/typescript/buttons/button.d.ts +22 -0
  510. package/lib/typescript/buttons/connectivity-button.d.ts +17 -0
  511. package/lib/typescript/buttons/filter-button.d.ts +7 -0
  512. package/lib/typescript/buttons/ghost-button.d.ts +11 -0
  513. package/lib/typescript/buttons/index.d.ts +7 -0
  514. package/lib/typescript/buttons/scan-button.d.ts +5 -0
  515. package/lib/typescript/camera/camera-overlay.d.ts +7 -0
  516. package/lib/typescript/camera/index.d.ts +2 -0
  517. package/lib/typescript/camera/qr-code-scanner.d.ts +11 -0
  518. package/lib/typescript/control/checkbox.d.ts +9 -0
  519. package/lib/typescript/control/index.d.ts +3 -0
  520. package/lib/typescript/control/switch.d.ts +7 -0
  521. package/lib/typescript/credential/card/credential-card.d.ts +22 -0
  522. package/lib/typescript/credential/card/credential-details-card.d.ts +16 -0
  523. package/lib/typescript/credential/card/credential-details-list-item.d.ts +9 -0
  524. package/lib/typescript/credential/card/credential-header.d.ts +20 -0
  525. package/lib/typescript/credential/card/credential-image-carousel.d.ts +23 -0
  526. package/lib/typescript/credential/card/index.d.ts +10 -0
  527. package/lib/typescript/credential/credential-attribute-item.d.ts +48 -0
  528. package/lib/typescript/credential/credential-carousel-images.d.ts +19 -0
  529. package/lib/typescript/credential/index.d.ts +8 -0
  530. package/lib/typescript/credential/selector-status.d.ts +8 -0
  531. package/lib/typescript/credential/selector.d.ts +15 -0
  532. package/lib/typescript/detail/detail.d.ts +18 -0
  533. package/lib/typescript/detail/index.d.ts +2 -0
  534. package/lib/typescript/entity/avatar.d.ts +10 -0
  535. package/lib/typescript/entity/entity-cluster.d.ts +12 -0
  536. package/lib/typescript/entity/index.d.ts +4 -0
  537. package/lib/typescript/header/focus-aware-status-bar.d.ts +4 -0
  538. package/lib/typescript/header/foldable-header.d.ts +11 -0
  539. package/lib/typescript/header/header.d.ts +17 -0
  540. package/lib/typescript/header/index.d.ts +8 -0
  541. package/lib/typescript/header/navigation-header.d.ts +15 -0
  542. package/lib/typescript/history/data-item.d.ts +12 -0
  543. package/lib/typescript/history/history-list-item.d.ts +14 -0
  544. package/lib/typescript/history/history-section-header.d.ts +7 -0
  545. package/lib/typescript/history/history-section-list-item.d.ts +7 -0
  546. package/lib/typescript/history/index.d.ts +8 -0
  547. package/lib/typescript/icons/connectivity.d.ts +12 -0
  548. package/lib/typescript/icons/credential.d.ts +9 -0
  549. package/lib/typescript/icons/entity.d.ts +3 -0
  550. package/lib/typescript/icons/history.d.ts +42 -0
  551. package/lib/typescript/icons/icons.d.ts +13 -0
  552. package/lib/typescript/icons/index.d.ts +11 -0
  553. package/lib/typescript/icons/input.d.ts +3 -0
  554. package/lib/typescript/icons/keypad.d.ts +6 -0
  555. package/lib/typescript/icons/loader.d.ts +6 -0
  556. package/lib/typescript/icons/nerd-view.d.ts +7 -0
  557. package/lib/typescript/icons/selector.d.ts +10 -0
  558. package/lib/typescript/icons/wallet.d.ts +4 -0
  559. package/lib/typescript/image/image-or-component.d.ts +16 -0
  560. package/lib/typescript/image/index.d.ts +2 -0
  561. package/lib/typescript/index.d.ts +26 -0
  562. package/lib/typescript/input/index.d.ts +6 -0
  563. package/lib/typescript/input/radio-group.d.ts +23 -0
  564. package/lib/typescript/input/selection-input.d.ts +32 -0
  565. package/lib/typescript/input/text-input.d.ts +31 -0
  566. package/lib/typescript/list/index.d.ts +4 -0
  567. package/lib/typescript/list/list-section-header.d.ts +7 -0
  568. package/lib/typescript/list/list-title-header.d.ts +7 -0
  569. package/lib/typescript/loader/index.d.ts +4 -0
  570. package/lib/typescript/loader/loader.d.ts +14 -0
  571. package/lib/typescript/loader/loading-result.d.ts +16 -0
  572. package/lib/typescript/nerd-view/index.d.ts +2 -0
  573. package/lib/typescript/nerd-view/nerd-mode-item.d.ts +31 -0
  574. package/lib/typescript/pin/index.d.ts +3 -0
  575. package/lib/typescript/pin/keypad.d.ts +16 -0
  576. package/lib/typescript/pin/pin-code-screen.d.ts +32 -0
  577. package/lib/typescript/pin/pins.d.ts +7 -0
  578. package/lib/typescript/screens/backup-screen.d.ts +16 -0
  579. package/lib/typescript/screens/image-preview-screen.d.ts +9 -0
  580. package/lib/typescript/screens/index.d.ts +12 -0
  581. package/lib/typescript/screens/nerd-mode-screen.d.ts +22 -0
  582. package/lib/typescript/screens/qr-code-scanner-screen.d.ts +14 -0
  583. package/lib/typescript/screens/scroll-view-screen.d.ts +13 -0
  584. package/lib/typescript/screens/section-list-screen.d.ts +12 -0
  585. package/lib/typescript/searchbar/animated-search-bar.d.ts +10 -0
  586. package/lib/typescript/searchbar/index.d.ts +4 -0
  587. package/lib/typescript/searchbar/search-bar.d.ts +10 -0
  588. package/lib/typescript/settings/button-setting.d.ts +13 -0
  589. package/lib/typescript/settings/index.d.ts +10 -0
  590. package/lib/typescript/settings/setting-item-separator.d.ts +8 -0
  591. package/lib/typescript/settings/setting-item.d.ts +9 -0
  592. package/lib/typescript/settings/settings-button.d.ts +5 -0
  593. package/lib/typescript/settings/switch-setting.d.ts +13 -0
  594. package/lib/typescript/state/error-screen.d.ts +15 -0
  595. package/lib/typescript/state/index.d.ts +2 -0
  596. package/lib/typescript/text/base.d.ts +20 -0
  597. package/lib/typescript/text/font.d.ts +26 -0
  598. package/lib/typescript/text/index.d.ts +2 -0
  599. package/lib/typescript/text/typography.d.ts +112 -0
  600. package/lib/typescript/theme/color-scheme-context.d.ts +10 -0
  601. package/lib/typescript/theme/color-scheme.d.ts +31 -0
  602. package/lib/typescript/theme/index.d.ts +3 -0
  603. package/lib/typescript/utils/color.d.ts +4 -0
  604. package/lib/typescript/utils/contrasting-status-bar.d.ts +10 -0
  605. package/lib/typescript/utils/date.d.ts +12 -0
  606. package/lib/typescript/utils/hooks/header/on-scroll-header-state.d.ts +5 -0
  607. package/lib/typescript/utils/hooks/index.d.ts +4 -0
  608. package/lib/typescript/utils/hooks/list/list-content-inset.d.ts +8 -0
  609. package/lib/typescript/utils/index.d.ts +8 -0
  610. package/lib/typescript/utils/navigation.d.ts +9 -0
  611. package/lib/typescript/utils/ref.d.ts +11 -0
  612. package/lib/typescript/utils/testID.d.ts +6 -0
  613. package/lib/typescript/utils/testID.test.d.ts +1 -0
  614. package/lib/typescript/utils/useMemoAsync.d.ts +21 -0
  615. package/package.json +240 -0
  616. package/src/accessibility/accessibility.ts +215 -0
  617. package/src/accessibility/accessibilityHistory.tsx +77 -0
  618. package/src/accessibility/accessibilityHistoryWrappers.tsx +80 -0
  619. package/src/accessibility/accessibilityLanguage.tsx +66 -0
  620. package/src/accessibility/index.ts +35 -0
  621. package/src/accessibility/locale/de.json +21 -0
  622. package/src/accessibility/locale/en.json +21 -0
  623. package/src/accessibility/locale/fr.json +21 -0
  624. package/src/accessibility/locale/index.ts +19 -0
  625. package/src/accessibility/locale/it.json +21 -0
  626. package/src/accessibility/locale.test.ts +16 -0
  627. package/src/action-modal/ActionModal.stories.tsx +35 -0
  628. package/src/action-modal/ActionModal.tsx +45 -0
  629. package/src/action-modal/index.ts +3 -0
  630. package/src/activity-indicator/activity-indicator.stories.tsx +21 -0
  631. package/src/activity-indicator/activity-indicator.tsx +25 -0
  632. package/src/activity-indicator/index.ts +3 -0
  633. package/src/blur/blur-view.tsx +82 -0
  634. package/src/blur/index.ts +3 -0
  635. package/src/buttons/back-button.stories.tsx +31 -0
  636. package/src/buttons/back-button.tsx +31 -0
  637. package/src/buttons/button.stories.tsx +29 -0
  638. package/src/buttons/button.tsx +169 -0
  639. package/src/buttons/connectivity-button.stories.tsx +34 -0
  640. package/src/buttons/connectivity-button.tsx +95 -0
  641. package/src/buttons/filter-button.tsx +38 -0
  642. package/src/buttons/ghost-button.stories.tsx +28 -0
  643. package/src/buttons/ghost-button.tsx +56 -0
  644. package/src/buttons/index.ts +24 -0
  645. package/src/buttons/scan-button.stories.tsx +26 -0
  646. package/src/buttons/scan-button.tsx +66 -0
  647. package/src/camera/camera-overlay.tsx +48 -0
  648. package/src/camera/index.tsx +3 -0
  649. package/src/camera/qr-code-scanner.tsx +52 -0
  650. package/src/control/checkbox.stories.tsx +27 -0
  651. package/src/control/checkbox.tsx +81 -0
  652. package/src/control/index.ts +4 -0
  653. package/src/control/switch.stories.tsx +29 -0
  654. package/src/control/switch.tsx +47 -0
  655. package/src/credential/card/credential-card.stories.tsx +52 -0
  656. package/src/credential/card/credential-card.tsx +195 -0
  657. package/src/credential/card/credential-details-card.stories.tsx +268 -0
  658. package/src/credential/card/credential-details-card.tsx +242 -0
  659. package/src/credential/card/credential-details-list-item.tsx +87 -0
  660. package/src/credential/card/credential-header.stories.tsx +50 -0
  661. package/src/credential/card/credential-header.tsx +195 -0
  662. package/src/credential/card/credential-image-carousel.tsx +113 -0
  663. package/src/credential/card/index.ts +11 -0
  664. package/src/credential/credential-attribute-item.tsx +372 -0
  665. package/src/credential/credential-carousel-images.tsx +90 -0
  666. package/src/credential/index.ts +13 -0
  667. package/src/credential/selector-status.ts +8 -0
  668. package/src/credential/selector.stories.tsx +37 -0
  669. package/src/credential/selector.tsx +64 -0
  670. package/src/detail/detail.stories.tsx +65 -0
  671. package/src/detail/detail.tsx +98 -0
  672. package/src/detail/index.tsx +3 -0
  673. package/src/entity/avatar.stories.tsx +39 -0
  674. package/src/entity/avatar.tsx +87 -0
  675. package/src/entity/entity-cluster.stories.tsx +42 -0
  676. package/src/entity/entity-cluster.tsx +72 -0
  677. package/src/entity/index.ts +5 -0
  678. package/src/header/focus-aware-status-bar.tsx +10 -0
  679. package/src/header/foldable-header.tsx +107 -0
  680. package/src/header/header.stories.tsx +59 -0
  681. package/src/header/header.tsx +105 -0
  682. package/src/header/index.ts +9 -0
  683. package/src/header/navigation-header.stories.tsx +56 -0
  684. package/src/header/navigation-header.tsx +147 -0
  685. package/src/history/data-item.tsx +79 -0
  686. package/src/history/history-list-item.tsx +102 -0
  687. package/src/history/history-section-header.tsx +44 -0
  688. package/src/history/history-section-list-item.tsx +41 -0
  689. package/src/history/index.ts +9 -0
  690. package/src/icons/connectivity.tsx +114 -0
  691. package/src/icons/credential.tsx +118 -0
  692. package/src/icons/entity.tsx +21 -0
  693. package/src/icons/history.tsx +378 -0
  694. package/src/icons/icons.tsx +134 -0
  695. package/src/icons/index.ts +11 -0
  696. package/src/icons/input.tsx +29 -0
  697. package/src/icons/keypad.tsx +40 -0
  698. package/src/icons/loader.tsx +117 -0
  699. package/src/icons/nerd-view.tsx +105 -0
  700. package/src/icons/selector.tsx +43 -0
  701. package/src/icons/wallet.tsx +73 -0
  702. package/src/image/image-or-component.tsx +92 -0
  703. package/src/image/index.tsx +3 -0
  704. package/src/index.ts +26 -0
  705. package/src/input/index.ts +7 -0
  706. package/src/input/radio-group.tsx +110 -0
  707. package/src/input/selection-input.stories.tsx +46 -0
  708. package/src/input/selection-input.tsx +112 -0
  709. package/src/input/text-input.tsx +253 -0
  710. package/src/list/index.ts +5 -0
  711. package/src/list/list-section-header.tsx +37 -0
  712. package/src/list/list-title-header.tsx +30 -0
  713. package/src/loader/index.ts +5 -0
  714. package/src/loader/loader.stories.tsx +31 -0
  715. package/src/loader/loader.tsx +169 -0
  716. package/src/loader/loading-result.stories.tsx +67 -0
  717. package/src/loader/loading-result.tsx +93 -0
  718. package/src/nerd-view/index.ts +3 -0
  719. package/src/nerd-view/nerd-mode-item.tsx +296 -0
  720. package/src/normalize-color.d.ts +1 -0
  721. package/src/pin/index.ts +4 -0
  722. package/src/pin/keypad.tsx +166 -0
  723. package/src/pin/pin-code-screen.stories.tsx +80 -0
  724. package/src/pin/pin-code-screen.tsx +195 -0
  725. package/src/pin/pins.tsx +48 -0
  726. package/src/screens/backup-screen.tsx +92 -0
  727. package/src/screens/image-preview-screen.stories.tsx +28 -0
  728. package/src/screens/image-preview-screen.tsx +82 -0
  729. package/src/screens/index.ts +13 -0
  730. package/src/screens/nerd-mode-screen.tsx +150 -0
  731. package/src/screens/qr-code-scanner-screen.stories.tsx +37 -0
  732. package/src/screens/qr-code-scanner-screen.tsx +124 -0
  733. package/src/screens/scroll-view-screen.tsx +91 -0
  734. package/src/screens/section-list-screen.tsx +61 -0
  735. package/src/searchbar/animated-search-bar.tsx +96 -0
  736. package/src/searchbar/index.ts +5 -0
  737. package/src/searchbar/search-bar.stories.tsx +31 -0
  738. package/src/searchbar/search-bar.tsx +94 -0
  739. package/src/settings/button-setting.tsx +72 -0
  740. package/src/settings/index.ts +11 -0
  741. package/src/settings/setting-item-separator.tsx +32 -0
  742. package/src/settings/setting-item.tsx +68 -0
  743. package/src/settings/settings-button.tsx +23 -0
  744. package/src/settings/switch-setting.tsx +33 -0
  745. package/src/state/error-screen.stories.tsx +22 -0
  746. package/src/state/error-screen.tsx +71 -0
  747. package/src/state/index.ts +3 -0
  748. package/src/text/base.tsx +53 -0
  749. package/src/text/font.ts +52 -0
  750. package/src/text/index.ts +3 -0
  751. package/src/text/typography.stories.tsx +70 -0
  752. package/src/text/typography.tsx +117 -0
  753. package/src/theme/color-scheme-context.tsx +48 -0
  754. package/src/theme/color-scheme.ts +31 -0
  755. package/src/theme/index.ts +4 -0
  756. package/src/utils/color.ts +34 -0
  757. package/src/utils/contrasting-status-bar.tsx +21 -0
  758. package/src/utils/date.ts +49 -0
  759. package/src/utils/hooks/header/on-scroll-header-state.tsx +16 -0
  760. package/src/utils/hooks/index.ts +5 -0
  761. package/src/utils/hooks/list/list-content-inset.ts +24 -0
  762. package/src/utils/index.ts +19 -0
  763. package/src/utils/navigation.ts +37 -0
  764. package/src/utils/ref.ts +39 -0
  765. package/src/utils/testID.test.ts +20 -0
  766. package/src/utils/testID.ts +9 -0
  767. package/src/utils/useMemoAsync.ts +50 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","NextIcon","_ref","color","props","createElement","fill","height","viewBox","width","Path","d","exports","NoCredentialsIcon","Circle","cx","cy","opacity","r","Rect","rx","x","y","transform","Defs","LinearGradient","gradientUnits","id","x1","x2","y1","y2","Stop","stopColor","offset","stopOpacity"],"sources":["wallet.tsx"],"sourcesContent":["import React from 'react';\nimport Svg, { Circle, Defs, LinearGradient, Path, Rect, Stop, SvgProps } from 'react-native-svg';\n\n// Icons for the wallet dashboard: https://www.figma.com/file/Mj9Nm9CUtauth6jt49UL7t/OTS-Developments-2023?type=design&node-id=135-32814&t=GXsNdBzYheEWxZvG-4\n\n// https://www.figma.com/file/S3WwgTMHuqxAsfu5zElCzq/App-Icon-Library-(Design)?type=design&node-id=89-86&t=4mzTEO913aBKgW7w-4\nexport const NextIcon: React.FunctionComponent<SvgProps> = ({ color, ...props }) => (\n <Svg fill=\"none\" height={24} viewBox=\"0 0 24 24\" width={24} {...props}>\n <Path\n d=\"M8.62948 6.10988C8.69502 6.03977 8.78652 6 8.88228 6C8.97805 6 9.06954 6.03977 9.13508 6.10988L15 11.9841L9.13508 17.9018C8.99178 18.0327 8.77278 18.0327 8.62948 17.9018L8.10944 17.3796C8.03961 17.3138 8 17.222 8 17.1258C8 17.0297 8.03961 16.9378 8.10944 16.872L12.9487 12.0131L8.10944 7.12517C8.03961 7.05937 8 6.9675 8 6.87135C8 6.7752 8.03961 6.68333 8.10944 6.61753L8.62948 6.10988Z\"\n fill={color}\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=426-19996&t=m7aYCyqnFetWyDBt-4\nexport const NoCredentialsIcon: React.FunctionComponent<SvgProps> = (props) => (\n <Svg fill=\"none\" height=\"381\" viewBox=\"0 0 257 381\" width=\"257\" {...props}>\n <Circle cx=\"128.5\" cy=\"191.5\" fill=\"url(#paint0_linear_2399_11695)\" opacity=\"0.1\" r=\"128\" />\n <Rect fill=\"white\" height=\"118.725\" rx=\"10.4757\" width=\"178.087\" x=\"39.4565\" y=\"132.138\" />\n <Rect\n fill=\"url(#paint1_linear_2399_11695)\"\n height=\"118.725\"\n rx=\"10.4757\"\n transform=\"rotate(-180 217.543 119.152)\"\n width=\"178.087\"\n x=\"217.543\"\n y=\"119.152\"\n />\n <Rect fill=\"url(#paint2_linear_2399_11695)\" height=\"118.725\" rx=\"10.4757\" width=\"178.087\" x=\"39.4565\" y=\"261.993\" />\n <Rect fill=\"#0F151A\" height=\"1.85507\" width=\"44.5217\" x=\"108.094\" y=\"189.645\" />\n <Rect\n fill=\"#0F151A\"\n height=\"1.85507\"\n transform=\"rotate(90 131.283 168.312)\"\n width=\"44.5217\"\n x=\"131.283\"\n y=\"168.312\"\n />\n <Defs>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint0_linear_2399_11695\"\n x1=\"128.5\"\n x2=\"128.5\"\n y1=\"63.5\"\n y2=\"319.5\">\n <Stop stopColor=\"#21353A\" />\n <Stop offset=\"1\" stopColor=\"#21353A\" stopOpacity=\"0\" />\n </LinearGradient>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint1_linear_2399_11695\"\n x1=\"306.587\"\n x2=\"306.587\"\n y1=\"119.152\"\n y2=\"237.877\">\n <Stop stopColor=\"white\" />\n <Stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </LinearGradient>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint2_linear_2399_11695\"\n x1=\"128.5\"\n x2=\"128.5\"\n y1=\"261.993\"\n y2=\"380.717\">\n <Stop stopColor=\"white\" />\n <Stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </LinearGradient>\n </Defs>\n </Svg>\n);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAAiG,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAF,wBAAAM,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC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AA,CAAAC,iBAAA,GAAAA,iBAAA"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
11
+ const styles = _reactNative.StyleSheet.create({
12
+ imageWrapper: {
13
+ overflow: 'hidden'
14
+ }
15
+ });
16
+ const ImageSourceComponent = _ref => {
17
+ let {
18
+ source,
19
+ style,
20
+ resizeMode = 'cover',
21
+ resizeMethod = 'resize',
22
+ testID
23
+ } = _ref;
24
+ const imageStyle = (0, _react.useMemo)(() => {
25
+ const {
26
+ width,
27
+ height,
28
+ borderWidth = 0,
29
+ borderBottomWidth,
30
+ borderTopWidth,
31
+ borderLeftWidth,
32
+ borderRightWidth
33
+ } = _reactNative.StyleSheet.flatten(style);
34
+ const borderWidths = {
35
+ left: borderLeftWidth !== null && borderLeftWidth !== void 0 ? borderLeftWidth : borderWidth,
36
+ right: borderRightWidth !== null && borderRightWidth !== void 0 ? borderRightWidth : borderWidth,
37
+ top: borderTopWidth !== null && borderTopWidth !== void 0 ? borderTopWidth : borderWidth,
38
+ bottom: borderBottomWidth !== null && borderBottomWidth !== void 0 ? borderBottomWidth : borderWidth
39
+ };
40
+ return {
41
+ width: typeof width === 'number' ? width - borderWidths.left - borderWidths.right : width,
42
+ height: typeof height === 'number' ? height - borderWidths.top - borderWidths.bottom : height
43
+ };
44
+ }, [style]);
45
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
46
+ style: [styles.imageWrapper, style]
47
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
48
+ testID: testID,
49
+ style: imageStyle,
50
+ source: source,
51
+ resizeMode: resizeMode,
52
+ resizeMethod: resizeMethod
53
+ }));
54
+ };
55
+ const ImageOrComponent = _ref2 => {
56
+ let {
57
+ source,
58
+ style,
59
+ testID
60
+ } = _ref2;
61
+ if ('imageSource' in source) {
62
+ return /*#__PURE__*/_react.default.createElement(ImageSourceComponent, {
63
+ style: style,
64
+ source: source.imageSource,
65
+ resizeMode: source.resizeMode,
66
+ resizeMethod: source.resizeMethod,
67
+ testID: testID
68
+ });
69
+ }
70
+ if ('component' in source) {
71
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
72
+ testID: testID,
73
+ style: style
74
+ }, source.component);
75
+ }
76
+ return null;
77
+ };
78
+ var _default = ImageOrComponent;
79
+ exports.default = _default;
80
+ //# sourceMappingURL=image-or-component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","styles","StyleSheet","create","imageWrapper","overflow","ImageSourceComponent","_ref","source","style","resizeMode","resizeMethod","testID","imageStyle","useMemo","width","height","borderWidth","borderBottomWidth","borderTopWidth","borderLeftWidth","borderRightWidth","flatten","borderWidths","left","right","top","bottom","createElement","View","Image","ImageOrComponent","_ref2","imageSource","component","_default","exports"],"sources":["image-or-component.tsx"],"sourcesContent":["import React, { FC, ReactElement, useMemo } from 'react';\nimport { Image, ImageProps, ImageSourcePropType, ImageStyle, StyleProp, StyleSheet, View } from 'react-native';\n\nconst styles = StyleSheet.create({\n imageWrapper: {\n overflow: 'hidden',\n },\n});\n\ninterface ImageSourceComponentProps {\n source: ImageSourcePropType;\n style: StyleProp<ImageStyle>;\n resizeMode?: ImageProps['resizeMode'];\n resizeMethod?: ImageProps['resizeMethod'];\n testID?: string;\n}\n\nconst ImageSourceComponent: FC<ImageSourceComponentProps> = ({\n source,\n style,\n resizeMode = 'cover',\n resizeMethod = 'resize',\n testID,\n}) => {\n const imageStyle = useMemo<ImageStyle>(() => {\n const {\n width,\n height,\n borderWidth = 0,\n borderBottomWidth,\n borderTopWidth,\n borderLeftWidth,\n borderRightWidth,\n } = StyleSheet.flatten(style);\n\n const borderWidths = {\n left: borderLeftWidth ?? borderWidth,\n right: borderRightWidth ?? borderWidth,\n top: borderTopWidth ?? borderWidth,\n bottom: borderBottomWidth ?? borderWidth,\n };\n\n return {\n width: typeof width === 'number' ? width - borderWidths.left - borderWidths.right : width,\n height: typeof height === 'number' ? height - borderWidths.top - borderWidths.bottom : height,\n };\n }, [style]);\n\n return (\n <View style={[styles.imageWrapper, style]}>\n <Image testID={testID} style={imageStyle} source={source} resizeMode={resizeMode} resizeMethod={resizeMethod} />\n </View>\n );\n};\n\nexport type ImageOrComponentSource =\n | {\n imageSource: ImageSourcePropType;\n resizeMode?: ImageProps['resizeMode'];\n resizeMethod?: ImageProps['resizeMethod'];\n }\n | { component: ReactElement };\n\ninterface ImageOrComponentProps {\n source: ImageOrComponentSource;\n style: StyleProp<ImageStyle>;\n testID?: string;\n}\n\nconst ImageOrComponent: FC<ImageOrComponentProps> = ({ source, style, testID }) => {\n if ('imageSource' in source) {\n return (\n <ImageSourceComponent\n style={style}\n source={source.imageSource}\n resizeMode={source.resizeMode}\n resizeMethod={source.resizeMethod}\n testID={testID}\n />\n );\n }\n if ('component' in source) {\n return (\n <View testID={testID} style={style}>\n {source.component}\n </View>\n );\n }\n return null;\n};\n\nexport default ImageOrComponent;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAA+G,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,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,CAAC,EAAE,CAACP,KAAK,CAAC,CAAC;EAEX,oBACElC,MAAA,CAAAW,OAAA,CAAA0C,aAAA,CAAClD,YAAA,CAAAmD,IAAI;IAACpB,KAAK,EAAE,CAACR,MAAM,CAACG,YAAY,EAAEK,KAAK;EAAE,gBACxClC,MAAA,CAAAW,OAAA,CAAA0C,aAAA,CAAClD,YAAA,CAAAoD,KAAK;IAAClB,MAAM,EAAEA,MAAO;IAACH,KAAK,EAAEI,UAAW;IAACL,MAAM,EAAEA,MAAO;IAACE,UAAU,EAAEA,UAAW;IAACC,YAAY,EAAEA;EAAa,EAAG,CAC3G;AAEX,CAAC;AAgBD,MAAMoB,gBAA2C,GAAGC,KAAA,IAA+B;EAAA,IAA9B;IAAExB,MAAM;IAAEC,KAAK;IAAEG;EAAO,CAAC,GAAAoB,KAAA;EAC5E,IAAI,aAAa,IAAIxB,MAAM,EAAE;IAC3B,oBACEjC,MAAA,CAAAW,OAAA,CAAA0C,aAAA,CAACtB,oBAAoB;MACnBG,KAAK,EAAEA,KAAM;MACbD,MAAM,EAAEA,MAAM,CAACyB,WAAY;MAC3BvB,UAAU,EAAEF,MAAM,CAACE,UAAW;MAC9BC,YAAY,EAAEH,MAAM,CAACG,YAAa;MAClCC,MAAM,EAAEA;IAAO,EACf;EAEN;EACA,IAAI,WAAW,IAAIJ,MAAM,EAAE;IACzB,oBACEjC,MAAA,CAAAW,OAAA,CAAA0C,aAAA,CAAClD,YAAA,CAAAmD,IAAI;MAACjB,MAAM,EAAEA,MAAO;MAACH,KAAK,EAAEA;IAAM,GAChCD,MAAM,CAAC0B,SAAS,CACZ;EAEX;EACA,OAAO,IAAI;AACb,CAAC;AAAC,IAAAC,QAAA,GAEaJ,gBAAgB;AAAAK,OAAA,CAAAlD,OAAA,GAAAiD,QAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ImageOrComponent", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _imageOrComponent.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "ImageOrComponentSource", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _imageOrComponent.ImageOrComponentSource;
16
+ }
17
+ });
18
+ var _imageOrComponent = _interopRequireWildcard(require("./image-or-component"));
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_imageOrComponent","_interopRequireWildcard","require","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["index.tsx"],"sourcesContent":["import ImageOrComponent, { ImageOrComponentSource } from './image-or-component';\n\nexport { ImageOrComponent, ImageOrComponentSource };\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgF,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAH,wBAAAO,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
@@ -0,0 +1,292 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _accessibility = require("./accessibility");
7
+ Object.keys(_accessibility).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _accessibility[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _accessibility[key];
14
+ }
15
+ });
16
+ });
17
+ var _actionModal = require("./action-modal");
18
+ Object.keys(_actionModal).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _actionModal[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _actionModal[key];
25
+ }
26
+ });
27
+ });
28
+ var _activityIndicator = require("./activity-indicator");
29
+ Object.keys(_activityIndicator).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _activityIndicator[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _activityIndicator[key];
36
+ }
37
+ });
38
+ });
39
+ var _blur = require("./blur");
40
+ Object.keys(_blur).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _blur[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _blur[key];
47
+ }
48
+ });
49
+ });
50
+ var _buttons = require("./buttons");
51
+ Object.keys(_buttons).forEach(function (key) {
52
+ if (key === "default" || key === "__esModule") return;
53
+ if (key in exports && exports[key] === _buttons[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _buttons[key];
58
+ }
59
+ });
60
+ });
61
+ var _camera = require("./camera");
62
+ Object.keys(_camera).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (key in exports && exports[key] === _camera[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function () {
68
+ return _camera[key];
69
+ }
70
+ });
71
+ });
72
+ var _control = require("./control");
73
+ Object.keys(_control).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (key in exports && exports[key] === _control[key]) return;
76
+ Object.defineProperty(exports, key, {
77
+ enumerable: true,
78
+ get: function () {
79
+ return _control[key];
80
+ }
81
+ });
82
+ });
83
+ var _credential = require("./credential");
84
+ Object.keys(_credential).forEach(function (key) {
85
+ if (key === "default" || key === "__esModule") return;
86
+ if (key in exports && exports[key] === _credential[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function () {
90
+ return _credential[key];
91
+ }
92
+ });
93
+ });
94
+ var _detail = require("./detail");
95
+ Object.keys(_detail).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (key in exports && exports[key] === _detail[key]) return;
98
+ Object.defineProperty(exports, key, {
99
+ enumerable: true,
100
+ get: function () {
101
+ return _detail[key];
102
+ }
103
+ });
104
+ });
105
+ var _entity = require("./entity");
106
+ Object.keys(_entity).forEach(function (key) {
107
+ if (key === "default" || key === "__esModule") return;
108
+ if (key in exports && exports[key] === _entity[key]) return;
109
+ Object.defineProperty(exports, key, {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _entity[key];
113
+ }
114
+ });
115
+ });
116
+ var _header = require("./header");
117
+ Object.keys(_header).forEach(function (key) {
118
+ if (key === "default" || key === "__esModule") return;
119
+ if (key in exports && exports[key] === _header[key]) return;
120
+ Object.defineProperty(exports, key, {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _header[key];
124
+ }
125
+ });
126
+ });
127
+ var _history = require("./history");
128
+ Object.keys(_history).forEach(function (key) {
129
+ if (key === "default" || key === "__esModule") return;
130
+ if (key in exports && exports[key] === _history[key]) return;
131
+ Object.defineProperty(exports, key, {
132
+ enumerable: true,
133
+ get: function () {
134
+ return _history[key];
135
+ }
136
+ });
137
+ });
138
+ var _icons = require("./icons");
139
+ Object.keys(_icons).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _icons[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _icons[key];
146
+ }
147
+ });
148
+ });
149
+ var _image = require("./image");
150
+ Object.keys(_image).forEach(function (key) {
151
+ if (key === "default" || key === "__esModule") return;
152
+ if (key in exports && exports[key] === _image[key]) return;
153
+ Object.defineProperty(exports, key, {
154
+ enumerable: true,
155
+ get: function () {
156
+ return _image[key];
157
+ }
158
+ });
159
+ });
160
+ var _input = require("./input");
161
+ Object.keys(_input).forEach(function (key) {
162
+ if (key === "default" || key === "__esModule") return;
163
+ if (key in exports && exports[key] === _input[key]) return;
164
+ Object.defineProperty(exports, key, {
165
+ enumerable: true,
166
+ get: function () {
167
+ return _input[key];
168
+ }
169
+ });
170
+ });
171
+ var _list = require("./list");
172
+ Object.keys(_list).forEach(function (key) {
173
+ if (key === "default" || key === "__esModule") return;
174
+ if (key in exports && exports[key] === _list[key]) return;
175
+ Object.defineProperty(exports, key, {
176
+ enumerable: true,
177
+ get: function () {
178
+ return _list[key];
179
+ }
180
+ });
181
+ });
182
+ var _loader = require("./loader");
183
+ Object.keys(_loader).forEach(function (key) {
184
+ if (key === "default" || key === "__esModule") return;
185
+ if (key in exports && exports[key] === _loader[key]) return;
186
+ Object.defineProperty(exports, key, {
187
+ enumerable: true,
188
+ get: function () {
189
+ return _loader[key];
190
+ }
191
+ });
192
+ });
193
+ var _nerdView = require("./nerd-view");
194
+ Object.keys(_nerdView).forEach(function (key) {
195
+ if (key === "default" || key === "__esModule") return;
196
+ if (key in exports && exports[key] === _nerdView[key]) return;
197
+ Object.defineProperty(exports, key, {
198
+ enumerable: true,
199
+ get: function () {
200
+ return _nerdView[key];
201
+ }
202
+ });
203
+ });
204
+ var _pin = require("./pin");
205
+ Object.keys(_pin).forEach(function (key) {
206
+ if (key === "default" || key === "__esModule") return;
207
+ if (key in exports && exports[key] === _pin[key]) return;
208
+ Object.defineProperty(exports, key, {
209
+ enumerable: true,
210
+ get: function () {
211
+ return _pin[key];
212
+ }
213
+ });
214
+ });
215
+ var _screens = require("./screens");
216
+ Object.keys(_screens).forEach(function (key) {
217
+ if (key === "default" || key === "__esModule") return;
218
+ if (key in exports && exports[key] === _screens[key]) return;
219
+ Object.defineProperty(exports, key, {
220
+ enumerable: true,
221
+ get: function () {
222
+ return _screens[key];
223
+ }
224
+ });
225
+ });
226
+ var _searchbar = require("./searchbar");
227
+ Object.keys(_searchbar).forEach(function (key) {
228
+ if (key === "default" || key === "__esModule") return;
229
+ if (key in exports && exports[key] === _searchbar[key]) return;
230
+ Object.defineProperty(exports, key, {
231
+ enumerable: true,
232
+ get: function () {
233
+ return _searchbar[key];
234
+ }
235
+ });
236
+ });
237
+ var _settings = require("./settings");
238
+ Object.keys(_settings).forEach(function (key) {
239
+ if (key === "default" || key === "__esModule") return;
240
+ if (key in exports && exports[key] === _settings[key]) return;
241
+ Object.defineProperty(exports, key, {
242
+ enumerable: true,
243
+ get: function () {
244
+ return _settings[key];
245
+ }
246
+ });
247
+ });
248
+ var _state = require("./state");
249
+ Object.keys(_state).forEach(function (key) {
250
+ if (key === "default" || key === "__esModule") return;
251
+ if (key in exports && exports[key] === _state[key]) return;
252
+ Object.defineProperty(exports, key, {
253
+ enumerable: true,
254
+ get: function () {
255
+ return _state[key];
256
+ }
257
+ });
258
+ });
259
+ var _text = require("./text");
260
+ Object.keys(_text).forEach(function (key) {
261
+ if (key === "default" || key === "__esModule") return;
262
+ if (key in exports && exports[key] === _text[key]) return;
263
+ Object.defineProperty(exports, key, {
264
+ enumerable: true,
265
+ get: function () {
266
+ return _text[key];
267
+ }
268
+ });
269
+ });
270
+ var _theme = require("./theme");
271
+ Object.keys(_theme).forEach(function (key) {
272
+ if (key === "default" || key === "__esModule") return;
273
+ if (key in exports && exports[key] === _theme[key]) return;
274
+ Object.defineProperty(exports, key, {
275
+ enumerable: true,
276
+ get: function () {
277
+ return _theme[key];
278
+ }
279
+ });
280
+ });
281
+ var _utils = require("./utils");
282
+ Object.keys(_utils).forEach(function (key) {
283
+ if (key === "default" || key === "__esModule") return;
284
+ if (key in exports && exports[key] === _utils[key]) return;
285
+ Object.defineProperty(exports, key, {
286
+ enumerable: true,
287
+ get: function () {
288
+ return _utils[key];
289
+ }
290
+ });
291
+ });
292
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_accessibility","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_actionModal","_activityIndicator","_blur","_buttons","_camera","_control","_credential","_detail","_entity","_header","_history","_icons","_image","_input","_list","_loader","_nerdView","_pin","_screens","_searchbar","_settings","_state","_text","_theme","_utils"],"sources":["index.ts"],"sourcesContent":["export * from './accessibility';\nexport * from './action-modal';\nexport * from './activity-indicator';\nexport * from './blur';\nexport * from './buttons';\nexport * from './camera';\nexport * from './control';\nexport * from './credential';\nexport * from './detail';\nexport * from './entity';\nexport * from './header';\nexport * from './history';\nexport * from './icons';\nexport * from './image';\nexport * from './input';\nexport * from './list';\nexport * from './loader';\nexport * from './nerd-view';\nexport * from './pin';\nexport * from './screens';\nexport * from './searchbar';\nexport * from './settings';\nexport * from './state';\nexport * from './text';\nexport * from './theme';\nexport * from './utils';\n"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,YAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,YAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OA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AA;AAAAC,MAAA,CAAAC,IAAA,CAAA+B,MAAA,EAAA9B,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAA6B,MAAA,CAAA7B,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAyB,MAAA,CAAA7B,GAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "RadioGroup", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _radioGroup.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "RadioGroupItem", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _radioGroup.RadioGroupItem;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "RadioGroupProps", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _radioGroup.RadioGroupProps;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "SelectionInput", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _selectionInput.default;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "SelectionInputChoice", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _selectionInput.SelectionInputChoice;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "SelectionInputProps", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _selectionInput.SelectionInputProps;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "TextInput", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _textInput.default;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "TextInputAccessory", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _textInput.TextInputAccessory;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "TextInputProps", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _textInput.TextInputProps;
58
+ }
59
+ });
60
+ var _radioGroup = _interopRequireWildcard(require("./radio-group"));
61
+ var _selectionInput = _interopRequireWildcard(require("./selection-input"));
62
+ var _textInput = _interopRequireWildcard(require("./text-input"));
63
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
64
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
65
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_radioGroup","_interopRequireWildcard","require","_selectionInput","_textInput","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["index.ts"],"sourcesContent":["import RadioGroup, { RadioGroupItem, RadioGroupProps } from './radio-group';\nimport SelectionInput, { SelectionInputChoice, SelectionInputProps } from './selection-input';\nimport TextInput, { TextInputAccessory, TextInputProps } from './text-input';\n\nexport { RadioGroup, RadioGroupItem, RadioGroupProps };\nexport { SelectionInput, S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AAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _accessibilityHistoryWrappers = require("../accessibility/accessibilityHistoryWrappers");
10
+ var _selector = _interopRequireDefault(require("../credential/selector"));
11
+ var _selectorStatus = require("../credential/selector-status");
12
+ var _typography = _interopRequireDefault(require("../text/typography"));
13
+ var _colorSchemeContext = require("../theme/color-scheme-context");
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+ const RadioGroup = _ref => {
16
+ let {
17
+ containerStyle,
18
+ items,
19
+ selectedItem,
20
+ onSelected,
21
+ style,
22
+ listFooter,
23
+ listFooterStyle,
24
+ onEndReached,
25
+ onGetItemAccessibilityLabel,
26
+ testID,
27
+ scrollEnabled = true
28
+ } = _ref;
29
+ const colorScheme = (0, _colorSchemeContext.useAppColorScheme)();
30
+ return /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
31
+ scrollEnabled: scrollEnabled,
32
+ ListFooterComponent: listFooter,
33
+ ListFooterComponentStyle: listFooterStyle,
34
+ contentContainerStyle: containerStyle,
35
+ data: items,
36
+ onEndReached: onEndReached,
37
+ renderItem: _ref2 => {
38
+ let {
39
+ item,
40
+ index
41
+ } = _ref2;
42
+ const selected = selectedItem === item.key;
43
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
44
+ key: item.key
45
+ }, /*#__PURE__*/_react.default.createElement(_accessibilityHistoryWrappers.TouchableOpacity, {
46
+ accessibilityLabel: item.label,
47
+ accessibilityRole: "button",
48
+ accessibilityState: {
49
+ selected
50
+ },
51
+ accessibilityValue: items.length > 1 && onGetItemAccessibilityLabel ? {
52
+ text: onGetItemAccessibilityLabel(index + 1, items.length)
53
+ } : undefined,
54
+ activeOpacity: selected ? 1 : undefined,
55
+ onPress: () => {
56
+ onSelected(item, index);
57
+ },
58
+ style: [styles.item, item.style],
59
+ testID: item.testID
60
+ }, /*#__PURE__*/_react.default.createElement(_typography.default, {
61
+ color: colorScheme.text
62
+ }, item.label), /*#__PURE__*/_react.default.createElement(_selector.default, {
63
+ status: selected ? _selectorStatus.SelectorStatus.SelectedRadio : _selectorStatus.SelectorStatus.Empty,
64
+ style: styles.selector
65
+ })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
66
+ style: [styles.divider, {
67
+ backgroundColor: colorScheme.background
68
+ }]
69
+ }));
70
+ },
71
+ showsVerticalScrollIndicator: false,
72
+ style: style,
73
+ testID: testID
74
+ });
75
+ };
76
+ const styles = _reactNative.StyleSheet.create({
77
+ divider: {
78
+ height: 1,
79
+ width: '100%'
80
+ },
81
+ item: {
82
+ alignItems: 'center',
83
+ flexDirection: 'row',
84
+ justifyContent: 'space-between',
85
+ paddingVertical: 24,
86
+ width: '100%'
87
+ },
88
+ selector: {
89
+ marginLeft: 4,
90
+ paddingTop: 0
91
+ }
92
+ });
93
+ var _default = RadioGroup;
94
+ exports.default = _default;
95
+ //# sourceMappingURL=radio-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_accessibilityHistoryWrappers","_selector","_selectorStatus","_typography","_colorSchemeContext","obj","__esModule","default","RadioGroup","_ref","containerStyle","items","selectedItem","onSelected","style","listFooter","listFooterStyle","onEndReached","onGetItemAccessibilityLabel","testID","scrollEnabled","colorScheme","useAppColorScheme","createElement","FlatList","ListFooterComponent","ListFooterComponentStyle","contentContainerStyle","data","renderItem","_ref2","item","index","selected","key","Fragment","TouchableOpacity","accessibilityLabel","label","accessibilityRole","accessibilityState","accessibilityValue","length","text","undefined","activeOpacity","onPress","styles","color","status","SelectorStatus","SelectedRadio","Empty","selector","View","divider","backgroundColor","background","showsVerticalScrollIndicator","StyleSheet","create","height","width","alignItems","flexDirection","justifyContent","paddingVertical","marginLeft","paddingTop","_default","exports"],"sources":["radio-group.tsx"],"sourcesContent":["import React, { FunctionComponent } from 'react';\nimport { FlatList, FlatListProps, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\n\nimport { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';\nimport Selector from '../credential/selector';\nimport { SelectorStatus } from '../credential/selector-status';\nimport Typography from '../text/typography';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\nexport type RadioGroupItem = {\n key: React.Key;\n label: string;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n};\n\nexport type RadioGroupProps = {\n containerStyle?: StyleProp<ViewStyle>;\n items: RadioGroupItem[];\n listFooter?: FlatListProps<RadioGroupItem>['ListFooterComponent'];\n listFooterStyle?: FlatListProps<RadioGroupItem>['ListFooterComponentStyle'];\n onEndReached?: FlatListProps<RadioGroupItem>['onEndReached'];\n onGetItemAccessibilityLabel?: (current: number, length: number) => string;\n onSelected: (item: RadioGroupItem, index: number) => void;\n selectedItem?: React.Key;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n scrollEnabled?: boolean;\n};\n\nconst RadioGroup: FunctionComponent<RadioGroupProps> = ({\n containerStyle,\n items,\n selectedItem,\n onSelected,\n style,\n listFooter,\n listFooterStyle,\n onEndReached,\n onGetItemAccessibilityLabel,\n testID,\n scrollEnabled = true,\n}) => {\n const colorScheme = useAppColorScheme();\n\n return (\n <FlatList<RadioGroupItem>\n scrollEnabled={scrollEnabled}\n ListFooterComponent={listFooter}\n ListFooterComponentStyle={listFooterStyle}\n contentContainerStyle={containerStyle}\n data={items}\n onEndReached={onEndReached}\n renderItem={({ item, index }) => {\n const selected = selectedItem === item.key;\n return (\n <React.Fragment key={item.key}>\n <TouchableOpacity\n accessibilityLabel={item.label}\n accessibilityRole=\"button\"\n accessibilityState={{ selected }}\n accessibilityValue={\n items.length > 1 && onGetItemAccessibilityLabel\n ? {\n text: onGetItemAccessibilityLabel(index + 1, items.length),\n }\n : undefined\n }\n activeOpacity={selected ? 1 : undefined}\n onPress={() => {\n onSelected(item, index);\n }}\n style={[styles.item, item.style]}\n testID={item.testID}>\n <Typography color={colorScheme.text}>{item.label}</Typography>\n <Selector\n status={selected ? SelectorStatus.SelectedRadio : SelectorStatus.Empty}\n style={styles.selector}\n />\n </TouchableOpacity>\n <View style={[styles.divider, { backgroundColor: colorScheme.background }]} />\n </React.Fragment>\n );\n }}\n showsVerticalScrollIndicator={false}\n style={style}\n testID={testID}\n />\n );\n};\n\nconst styles = StyleSheet.create({\n divider: {\n height: 1,\n width: '100%',\n },\n item: {\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'space-between',\n paddingVertical: 24,\n width: '100%',\n },\n selector: {\n marginLeft: 4,\n paddingTop: 0,\n },\n});\n\nexport default RadioGroup;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,6BAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;AAAkE,SAAAD,uBAAAQ,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAuBlE,MAAMG,UAA8C,GAAGC,IAAA,IAYjD;EAAA,IAZkD;IACtDC,cAAc;IACdC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,UAAU;IACVC,eAAe;IACfC,YAAY;IACZC,2BAA2B;IAC3BC,MAAM;IACNC,aAAa,GAAG;EAClB,CAAC,GAAAX,IAAA;EACC,MAAMY,WAAW,GAAG,IAAAC,qCA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