@procivis/one-react-native-components 0.1.63 → 0.2.54

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 (1229) hide show
  1. package/README.md +17 -6
  2. package/lib/commonjs/components/backup/index.js +17 -0
  3. package/lib/commonjs/components/backup/index.js.map +1 -0
  4. package/lib/commonjs/components/backup/preview-credentials.js +42 -0
  5. package/lib/commonjs/components/backup/preview-credentials.js.map +1 -0
  6. package/lib/commonjs/components/credential/credential.js +63 -0
  7. package/lib/commonjs/components/credential/credential.js.map +1 -0
  8. package/lib/commonjs/components/credential/index.js +17 -0
  9. package/lib/commonjs/components/credential/index.js.map +1 -0
  10. package/lib/commonjs/components/entity/EntityButtons.js +69 -0
  11. package/lib/commonjs/components/entity/EntityButtons.js.map +1 -0
  12. package/lib/commonjs/components/entity/entity-attributes.js +52 -0
  13. package/lib/commonjs/components/entity/entity-attributes.js.map +1 -0
  14. package/lib/commonjs/components/entity/entity-details-with-buttons.js +91 -0
  15. package/lib/commonjs/components/entity/entity-details-with-buttons.js.map +1 -0
  16. package/lib/commonjs/components/entity/entity-details.js +74 -0
  17. package/lib/commonjs/components/entity/entity-details.js.map +1 -0
  18. package/lib/commonjs/components/entity/index.js +27 -0
  19. package/lib/commonjs/components/entity/index.js.map +1 -0
  20. package/lib/commonjs/components/index.js +61 -0
  21. package/lib/commonjs/components/index.js.map +1 -0
  22. package/lib/commonjs/components/navigation/header-buttons.js +82 -0
  23. package/lib/commonjs/components/navigation/header-buttons.js.map +1 -0
  24. package/lib/commonjs/components/navigation/index.js +17 -0
  25. package/lib/commonjs/components/navigation/index.js.map +1 -0
  26. package/lib/commonjs/components/proof-request/group.js +36 -0
  27. package/lib/commonjs/components/proof-request/group.js.map +1 -0
  28. package/lib/commonjs/components/proof-request/index.js +39 -0
  29. package/lib/commonjs/components/proof-request/index.js.map +1 -0
  30. package/lib/commonjs/components/proof-request/select-credential.js +49 -0
  31. package/lib/commonjs/components/proof-request/select-credential.js.map +1 -0
  32. package/lib/commonjs/components/proof-request/share-credential.js +163 -0
  33. package/lib/commonjs/components/proof-request/share-credential.js.map +1 -0
  34. package/lib/commonjs/index.js +8 -261
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js +81 -0
  37. package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js.map +1 -0
  38. package/lib/commonjs/ui-components/blur/blur-view.js +76 -0
  39. package/lib/commonjs/ui-components/blur/blur-view.js.map +1 -0
  40. package/lib/commonjs/ui-components/buttons/back-button.js.map +1 -0
  41. package/lib/commonjs/ui-components/buttons/button.js +153 -0
  42. package/lib/commonjs/ui-components/buttons/button.js.map +1 -0
  43. package/lib/commonjs/ui-components/buttons/connectivity-button.js +82 -0
  44. package/lib/commonjs/ui-components/buttons/connectivity-button.js.map +1 -0
  45. package/lib/commonjs/ui-components/credential/card/credential-card.js +183 -0
  46. package/lib/commonjs/ui-components/credential/card/credential-card.js.map +1 -0
  47. package/lib/commonjs/ui-components/credential/card/credential-details-card.js +199 -0
  48. package/lib/commonjs/ui-components/credential/card/credential-details-card.js.map +1 -0
  49. package/lib/commonjs/ui-components/credential/card/credential-header.js +173 -0
  50. package/lib/commonjs/ui-components/credential/card/credential-header.js.map +1 -0
  51. package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js +124 -0
  52. package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js.map +1 -0
  53. package/lib/commonjs/ui-components/credential/card/index.js +91 -0
  54. package/lib/commonjs/ui-components/credential/card/index.js.map +1 -0
  55. package/lib/commonjs/ui-components/credential/credential-attribute-item.js +289 -0
  56. package/lib/commonjs/ui-components/credential/credential-attribute-item.js.map +1 -0
  57. package/lib/commonjs/ui-components/credential/selector.js +79 -0
  58. package/lib/commonjs/ui-components/credential/selector.js.map +1 -0
  59. package/lib/commonjs/ui-components/detail/detail.js +84 -0
  60. package/lib/commonjs/ui-components/detail/detail.js.map +1 -0
  61. package/lib/commonjs/ui-components/entity/avatar.js +106 -0
  62. package/lib/commonjs/ui-components/entity/avatar.js.map +1 -0
  63. package/lib/commonjs/ui-components/entity/entity-cluster.js +75 -0
  64. package/lib/commonjs/ui-components/entity/entity-cluster.js.map +1 -0
  65. package/lib/commonjs/ui-components/header/header.js +105 -0
  66. package/lib/commonjs/ui-components/header/header.js.map +1 -0
  67. package/lib/commonjs/ui-components/header/navigation-header.js +148 -0
  68. package/lib/commonjs/ui-components/header/navigation-header.js.map +1 -0
  69. package/lib/commonjs/ui-components/history/data-item.js +70 -0
  70. package/lib/commonjs/ui-components/history/data-item.js.map +1 -0
  71. package/lib/commonjs/ui-components/history/history-list-item.js +90 -0
  72. package/lib/commonjs/ui-components/history/history-list-item.js.map +1 -0
  73. package/lib/commonjs/ui-components/history/history-section-header.js +49 -0
  74. package/lib/commonjs/ui-components/history/history-section-header.js.map +1 -0
  75. package/lib/commonjs/ui-components/icons/entity.js +52 -0
  76. package/lib/commonjs/ui-components/icons/entity.js.map +1 -0
  77. package/lib/commonjs/ui-components/index.js +281 -0
  78. package/lib/commonjs/ui-components/index.js.map +1 -0
  79. package/lib/commonjs/ui-components/input/selection-input.js +102 -0
  80. package/lib/commonjs/ui-components/input/selection-input.js.map +1 -0
  81. package/lib/commonjs/ui-components/input/text-input.js +195 -0
  82. package/lib/commonjs/ui-components/input/text-input.js.map +1 -0
  83. package/lib/commonjs/ui-components/loader/loader.js +140 -0
  84. package/lib/commonjs/ui-components/loader/loader.js.map +1 -0
  85. package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js +238 -0
  86. package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js.map +1 -0
  87. package/lib/commonjs/ui-components/pin/index.js +47 -0
  88. package/lib/commonjs/ui-components/pin/index.js.map +1 -0
  89. package/lib/commonjs/ui-components/pin/keypad.js +201 -0
  90. package/lib/commonjs/ui-components/pin/keypad.js.map +1 -0
  91. package/lib/commonjs/ui-components/pin/pin-code-screen.js +162 -0
  92. package/lib/commonjs/ui-components/pin/pin-code-screen.js.map +1 -0
  93. package/lib/commonjs/ui-components/pin/pin-lock-animation.js +824 -0
  94. package/lib/commonjs/ui-components/pin/pin-lock-animation.js.map +1 -0
  95. package/lib/commonjs/ui-components/pin/pin-lock.js +83 -0
  96. package/lib/commonjs/ui-components/pin/pin-lock.js.map +1 -0
  97. package/lib/commonjs/ui-components/screens/backup-screen.js +87 -0
  98. package/lib/commonjs/ui-components/screens/backup-screen.js.map +1 -0
  99. package/lib/commonjs/ui-components/screens/image-preview-screen.js +92 -0
  100. package/lib/commonjs/ui-components/screens/image-preview-screen.js.map +1 -0
  101. package/lib/commonjs/ui-components/screens/nerd-mode-screen.js +172 -0
  102. package/lib/commonjs/ui-components/screens/nerd-mode-screen.js.map +1 -0
  103. package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js +120 -0
  104. package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js.map +1 -0
  105. package/lib/commonjs/ui-components/screens/scroll-view-screen.js +94 -0
  106. package/lib/commonjs/ui-components/screens/scroll-view-screen.js.map +1 -0
  107. package/lib/commonjs/ui-components/screens/section-list-screen.js +67 -0
  108. package/lib/commonjs/ui-components/screens/section-list-screen.js.map +1 -0
  109. package/lib/commonjs/ui-components/searchbar/search-bar.js +99 -0
  110. package/lib/commonjs/ui-components/searchbar/search-bar.js.map +1 -0
  111. package/lib/commonjs/utils/array.js +10 -0
  112. package/lib/commonjs/utils/array.js.map +1 -0
  113. package/lib/commonjs/utils/backup.js +12 -0
  114. package/lib/commonjs/utils/backup.js.map +1 -0
  115. package/lib/commonjs/utils/date.js +98 -1
  116. package/lib/commonjs/utils/date.js.map +1 -1
  117. package/lib/commonjs/utils/hooks/connectivity/connectivity.js +148 -0
  118. package/lib/commonjs/utils/hooks/connectivity/connectivity.js.map +1 -0
  119. package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js +56 -0
  120. package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js.map +1 -0
  121. package/lib/commonjs/utils/hooks/core/backup.js +155 -0
  122. package/lib/commonjs/utils/hooks/core/backup.js.map +1 -0
  123. package/lib/commonjs/utils/hooks/core/core-config.js +19 -0
  124. package/lib/commonjs/utils/hooks/core/core-config.js.map +1 -0
  125. package/lib/commonjs/utils/hooks/core/core-context.js +72 -0
  126. package/lib/commonjs/utils/hooks/core/core-context.js.map +1 -0
  127. package/lib/commonjs/utils/hooks/core/core-init.js +91 -0
  128. package/lib/commonjs/utils/hooks/core/core-init.js.map +1 -0
  129. package/lib/commonjs/utils/hooks/core/credential-schemas.js +111 -0
  130. package/lib/commonjs/utils/hooks/core/credential-schemas.js.map +1 -0
  131. package/lib/commonjs/utils/hooks/core/credentials.js +170 -0
  132. package/lib/commonjs/utils/hooks/core/credentials.js.map +1 -0
  133. package/lib/commonjs/utils/hooks/core/dids.js +35 -0
  134. package/lib/commonjs/utils/hooks/core/dids.js.map +1 -0
  135. package/lib/commonjs/utils/hooks/core/error-code.js +15 -0
  136. package/lib/commonjs/utils/hooks/core/error-code.js.map +1 -0
  137. package/lib/commonjs/utils/hooks/core/history.js +65 -0
  138. package/lib/commonjs/utils/hooks/core/history.js.map +1 -0
  139. package/lib/commonjs/utils/hooks/core/index.js +138 -0
  140. package/lib/commonjs/utils/hooks/core/index.js.map +1 -0
  141. package/lib/commonjs/utils/hooks/core/proof-schemas.js +132 -0
  142. package/lib/commonjs/utils/hooks/core/proof-schemas.js.map +1 -0
  143. package/lib/commonjs/utils/hooks/core/proofs.js +336 -0
  144. package/lib/commonjs/utils/hooks/core/proofs.js.map +1 -0
  145. package/lib/commonjs/utils/hooks/core/query.js +25 -0
  146. package/lib/commonjs/utils/hooks/core/query.js.map +1 -0
  147. package/lib/commonjs/utils/hooks/core/trust-entity.js +95 -0
  148. package/lib/commonjs/utils/hooks/core/trust-entity.js.map +1 -0
  149. package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js +51 -0
  150. package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js.map +1 -0
  151. package/lib/commonjs/utils/hooks/http/client.js +20 -0
  152. package/lib/commonjs/utils/hooks/http/client.js.map +1 -0
  153. package/lib/commonjs/utils/hooks/index.js +85 -11
  154. package/lib/commonjs/utils/hooks/index.js.map +1 -1
  155. package/lib/commonjs/utils/hooks/navigation/before-remove.js +28 -0
  156. package/lib/commonjs/utils/hooks/navigation/before-remove.js.map +1 -0
  157. package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js +34 -0
  158. package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js.map +1 -0
  159. package/lib/commonjs/utils/hooks/navigation/deep-link.js +46 -0
  160. package/lib/commonjs/utils/hooks/navigation/deep-link.js.map +1 -0
  161. package/lib/commonjs/utils/hooks/navigation/index.js +50 -0
  162. package/lib/commonjs/utils/hooks/navigation/index.js.map +1 -0
  163. package/lib/commonjs/utils/hooks/navigation/open-settings.js +43 -0
  164. package/lib/commonjs/utils/hooks/navigation/open-settings.js.map +1 -0
  165. package/lib/commonjs/utils/hooks/pin-security/pin-security.js +87 -0
  166. package/lib/commonjs/utils/hooks/pin-security/pin-security.js.map +1 -0
  167. package/lib/commonjs/utils/hooks/revocation/credential-status.js +67 -0
  168. package/lib/commonjs/utils/hooks/revocation/credential-status.js.map +1 -0
  169. package/lib/commonjs/utils/index.js +119 -45
  170. package/lib/commonjs/utils/index.js.map +1 -1
  171. package/lib/commonjs/utils/parsers/credential-images.js +86 -0
  172. package/lib/commonjs/utils/parsers/credential-images.js.map +1 -0
  173. package/lib/commonjs/utils/parsers/credential-sharing.js +255 -0
  174. package/lib/commonjs/utils/parsers/credential-sharing.js.map +1 -0
  175. package/lib/commonjs/utils/parsers/credential.js +323 -0
  176. package/lib/commonjs/utils/parsers/credential.js.map +1 -0
  177. package/lib/commonjs/utils/parsers/index.js +50 -0
  178. package/lib/commonjs/utils/parsers/index.js.map +1 -0
  179. package/lib/commonjs/utils/parsers/query.js +103 -0
  180. package/lib/commonjs/utils/parsers/query.js.map +1 -0
  181. package/lib/commonjs/utils/reporting.js +86 -0
  182. package/lib/commonjs/utils/reporting.js.map +1 -0
  183. package/lib/commonjs/utils/string.js +20 -0
  184. package/lib/commonjs/utils/string.js.map +1 -0
  185. package/lib/commonjs/utils/useMemoAsync.js +1 -1
  186. package/lib/commonjs/utils/useMemoAsync.js.map +1 -1
  187. package/lib/commonjs/utils/uuid.js +16 -0
  188. package/lib/commonjs/utils/uuid.js.map +1 -0
  189. package/lib/module/components/backup/index.js +2 -0
  190. package/lib/module/components/backup/index.js.map +1 -0
  191. package/lib/module/components/backup/preview-credentials.js +34 -0
  192. package/lib/module/components/backup/preview-credentials.js.map +1 -0
  193. package/lib/module/components/credential/credential.js +55 -0
  194. package/lib/module/components/credential/credential.js.map +1 -0
  195. package/lib/module/components/credential/index.js +2 -0
  196. package/lib/module/components/credential/index.js.map +1 -0
  197. package/lib/module/components/entity/EntityButtons.js +60 -0
  198. package/lib/module/components/entity/EntityButtons.js.map +1 -0
  199. package/lib/module/components/entity/entity-attributes.js +43 -0
  200. package/lib/module/components/entity/entity-attributes.js.map +1 -0
  201. package/lib/module/components/entity/entity-details-with-buttons.js +81 -0
  202. package/lib/module/components/entity/entity-details-with-buttons.js.map +1 -0
  203. package/lib/module/components/entity/entity-details.js +64 -0
  204. package/lib/module/components/entity/entity-details.js.map +1 -0
  205. package/lib/module/components/entity/index.js +3 -0
  206. package/lib/module/components/entity/index.js.map +1 -0
  207. package/lib/module/components/index.js +6 -0
  208. package/lib/module/components/index.js.map +1 -0
  209. package/lib/module/components/navigation/header-buttons.js +70 -0
  210. package/lib/module/components/navigation/header-buttons.js.map +1 -0
  211. package/lib/module/components/navigation/index.js +2 -0
  212. package/lib/module/components/navigation/index.js.map +1 -0
  213. package/lib/module/components/proof-request/group.js +28 -0
  214. package/lib/module/components/proof-request/group.js.map +1 -0
  215. package/lib/module/components/proof-request/index.js +4 -0
  216. package/lib/module/components/proof-request/index.js.map +1 -0
  217. package/lib/module/components/proof-request/select-credential.js +41 -0
  218. package/lib/module/components/proof-request/select-credential.js.map +1 -0
  219. package/lib/module/components/proof-request/share-credential.js +154 -0
  220. package/lib/module/components/proof-request/share-credential.js.map +1 -0
  221. package/lib/module/index.js +2 -25
  222. package/lib/module/index.js.map +1 -1
  223. package/lib/module/ui-components/accessibility/accessibilityHistory.js +71 -0
  224. package/lib/module/ui-components/accessibility/accessibilityHistory.js.map +1 -0
  225. package/lib/module/ui-components/blur/blur-view.js +67 -0
  226. package/lib/module/ui-components/blur/blur-view.js.map +1 -0
  227. package/lib/module/ui-components/buttons/back-button.js.map +1 -0
  228. package/lib/module/ui-components/buttons/button.js +143 -0
  229. package/lib/module/ui-components/buttons/button.js.map +1 -0
  230. package/lib/module/ui-components/buttons/connectivity-button.js +73 -0
  231. package/lib/module/ui-components/buttons/connectivity-button.js.map +1 -0
  232. package/lib/module/ui-components/credential/card/credential-card.js +171 -0
  233. package/lib/module/ui-components/credential/card/credential-card.js.map +1 -0
  234. package/lib/module/ui-components/credential/card/credential-details-card.js +189 -0
  235. package/lib/module/ui-components/credential/card/credential-details-card.js.map +1 -0
  236. package/lib/module/ui-components/credential/card/credential-header.js +163 -0
  237. package/lib/module/ui-components/credential/card/credential-header.js.map +1 -0
  238. package/lib/module/ui-components/credential/card/credential-image-carousel.js +113 -0
  239. package/lib/module/ui-components/credential/card/credential-image-carousel.js.map +1 -0
  240. package/lib/module/ui-components/credential/card/index.js +11 -0
  241. package/lib/module/ui-components/credential/card/index.js.map +1 -0
  242. package/lib/module/ui-components/credential/credential-attribute-item.js +279 -0
  243. package/lib/module/ui-components/credential/credential-attribute-item.js.map +1 -0
  244. package/lib/module/ui-components/credential/selector.js +70 -0
  245. package/lib/module/ui-components/credential/selector.js.map +1 -0
  246. package/lib/module/ui-components/detail/detail.js +75 -0
  247. package/lib/module/ui-components/detail/detail.js.map +1 -0
  248. package/lib/module/ui-components/entity/avatar.js +96 -0
  249. package/lib/module/ui-components/entity/avatar.js.map +1 -0
  250. package/lib/module/ui-components/entity/entity-cluster.js +65 -0
  251. package/lib/module/ui-components/entity/entity-cluster.js.map +1 -0
  252. package/lib/module/ui-components/header/header.js +97 -0
  253. package/lib/module/ui-components/header/header.js.map +1 -0
  254. package/lib/module/ui-components/header/navigation-header.js +138 -0
  255. package/lib/module/ui-components/header/navigation-header.js.map +1 -0
  256. package/lib/module/ui-components/history/data-item.js +60 -0
  257. package/lib/module/ui-components/history/data-item.js.map +1 -0
  258. package/lib/module/ui-components/history/history-list-item.js +80 -0
  259. package/lib/module/ui-components/history/history-list-item.js.map +1 -0
  260. package/lib/module/ui-components/history/history-section-header.js +42 -0
  261. package/lib/module/ui-components/history/history-section-header.js.map +1 -0
  262. package/lib/module/ui-components/icons/entity.js +43 -0
  263. package/lib/module/ui-components/icons/entity.js.map +1 -0
  264. package/lib/module/ui-components/index.js +26 -0
  265. package/lib/module/ui-components/index.js.map +1 -0
  266. package/lib/module/ui-components/input/selection-input.js +92 -0
  267. package/lib/module/ui-components/input/selection-input.js.map +1 -0
  268. package/lib/module/ui-components/input/text-input.js +185 -0
  269. package/lib/module/ui-components/input/text-input.js.map +1 -0
  270. package/lib/module/ui-components/loader/loader.js +130 -0
  271. package/lib/module/ui-components/loader/loader.js.map +1 -0
  272. package/lib/module/ui-components/nerd-view/nerd-mode-item.js +227 -0
  273. package/lib/module/ui-components/nerd-view/nerd-mode-item.js.map +1 -0
  274. package/lib/module/ui-components/pin/index.js +5 -0
  275. package/lib/module/ui-components/pin/index.js.map +1 -0
  276. package/lib/module/ui-components/pin/keypad.js +191 -0
  277. package/lib/module/ui-components/pin/keypad.js.map +1 -0
  278. package/lib/module/ui-components/pin/pin-code-screen.js +152 -0
  279. package/lib/module/ui-components/pin/pin-code-screen.js.map +1 -0
  280. package/lib/module/ui-components/pin/pin-lock-animation.js +817 -0
  281. package/lib/module/ui-components/pin/pin-lock-animation.js.map +1 -0
  282. package/lib/module/ui-components/pin/pin-lock.js +73 -0
  283. package/lib/module/ui-components/pin/pin-lock.js.map +1 -0
  284. package/lib/module/ui-components/screens/backup-screen.js +78 -0
  285. package/lib/module/ui-components/screens/backup-screen.js.map +1 -0
  286. package/lib/module/ui-components/screens/image-preview-screen.js +83 -0
  287. package/lib/module/ui-components/screens/image-preview-screen.js.map +1 -0
  288. package/lib/module/ui-components/screens/nerd-mode-screen.js +161 -0
  289. package/lib/module/ui-components/screens/nerd-mode-screen.js.map +1 -0
  290. package/lib/module/ui-components/screens/qr-code-scanner-screen.js +110 -0
  291. package/lib/module/ui-components/screens/qr-code-scanner-screen.js.map +1 -0
  292. package/lib/module/ui-components/screens/scroll-view-screen.js +86 -0
  293. package/lib/module/ui-components/screens/scroll-view-screen.js.map +1 -0
  294. package/lib/module/ui-components/screens/section-list-screen.js +59 -0
  295. package/lib/module/ui-components/screens/section-list-screen.js.map +1 -0
  296. package/lib/module/ui-components/searchbar/search-bar.js +89 -0
  297. package/lib/module/ui-components/searchbar/search-bar.js.map +1 -0
  298. package/lib/module/utils/array.js +4 -0
  299. package/lib/module/utils/array.js.map +1 -0
  300. package/lib/module/utils/backup.js +5 -0
  301. package/lib/module/utils/backup.js.map +1 -0
  302. package/lib/module/utils/date.js +89 -1
  303. package/lib/module/utils/date.js.map +1 -1
  304. package/lib/module/utils/hooks/connectivity/connectivity.js +136 -0
  305. package/lib/module/utils/hooks/connectivity/connectivity.js.map +1 -0
  306. package/lib/module/utils/hooks/connectivity/connectivity.test.js +54 -0
  307. package/lib/module/utils/hooks/connectivity/connectivity.test.js.map +1 -0
  308. package/lib/module/utils/hooks/core/backup.js +143 -0
  309. package/lib/module/utils/hooks/core/backup.js.map +1 -0
  310. package/lib/module/utils/hooks/core/core-config.js +12 -0
  311. package/lib/module/utils/hooks/core/core-config.js.map +1 -0
  312. package/lib/module/utils/hooks/core/core-context.js +62 -0
  313. package/lib/module/utils/hooks/core/core-context.js.map +1 -0
  314. package/lib/module/utils/hooks/core/core-init.js +82 -0
  315. package/lib/module/utils/hooks/core/core-init.js.map +1 -0
  316. package/lib/module/utils/hooks/core/credential-schemas.js +95 -0
  317. package/lib/module/utils/hooks/core/credential-schemas.js.map +1 -0
  318. package/lib/module/utils/hooks/core/credentials.js +155 -0
  319. package/lib/module/utils/hooks/core/credentials.js.map +1 -0
  320. package/lib/module/utils/hooks/core/dids.js +27 -0
  321. package/lib/module/utils/hooks/core/dids.js.map +1 -0
  322. package/lib/module/utils/hooks/core/error-code.js +8 -0
  323. package/lib/module/utils/hooks/core/error-code.js.map +1 -0
  324. package/lib/module/utils/hooks/core/history.js +57 -0
  325. package/lib/module/utils/hooks/core/history.js.map +1 -0
  326. package/lib/module/utils/hooks/core/index.js +13 -0
  327. package/lib/module/utils/hooks/core/index.js.map +1 -0
  328. package/lib/module/utils/hooks/core/proof-schemas.js +115 -0
  329. package/lib/module/utils/hooks/core/proof-schemas.js.map +1 -0
  330. package/lib/module/utils/hooks/core/proofs.js +312 -0
  331. package/lib/module/utils/hooks/core/proofs.js.map +1 -0
  332. package/lib/module/utils/hooks/core/query.js +18 -0
  333. package/lib/module/utils/hooks/core/query.js.map +1 -0
  334. package/lib/module/utils/hooks/core/trust-entity.js +84 -0
  335. package/lib/module/utils/hooks/core/trust-entity.js.map +1 -0
  336. package/lib/module/utils/hooks/credential-card/credential-card-expanding.js +43 -0
  337. package/lib/module/utils/hooks/credential-card/credential-card-expanding.js.map +1 -0
  338. package/lib/module/utils/hooks/http/client.js +13 -0
  339. package/lib/module/utils/hooks/http/client.js.map +1 -0
  340. package/lib/module/utils/hooks/index.js +8 -4
  341. package/lib/module/utils/hooks/index.js.map +1 -1
  342. package/lib/module/utils/hooks/navigation/before-remove.js +21 -0
  343. package/lib/module/utils/hooks/navigation/before-remove.js.map +1 -0
  344. package/lib/module/utils/hooks/navigation/close-button-timeout.js +27 -0
  345. package/lib/module/utils/hooks/navigation/close-button-timeout.js.map +1 -0
  346. package/lib/module/utils/hooks/navigation/deep-link.js +38 -0
  347. package/lib/module/utils/hooks/navigation/deep-link.js.map +1 -0
  348. package/lib/module/utils/hooks/navigation/index.js +5 -0
  349. package/lib/module/utils/hooks/navigation/index.js.map +1 -0
  350. package/lib/module/utils/hooks/navigation/open-settings.js +36 -0
  351. package/lib/module/utils/hooks/navigation/open-settings.js.map +1 -0
  352. package/lib/module/utils/hooks/pin-security/pin-security.js +80 -0
  353. package/lib/module/utils/hooks/pin-security/pin-security.js.map +1 -0
  354. package/lib/module/utils/hooks/revocation/credential-status.js +61 -0
  355. package/lib/module/utils/hooks/revocation/credential-status.js.map +1 -0
  356. package/lib/module/utils/index.js +11 -5
  357. package/lib/module/utils/index.js.map +1 -1
  358. package/lib/module/utils/parsers/credential-images.js +78 -0
  359. package/lib/module/utils/parsers/credential-images.js.map +1 -0
  360. package/lib/module/utils/parsers/credential-sharing.js +242 -0
  361. package/lib/module/utils/parsers/credential-sharing.js.map +1 -0
  362. package/lib/module/utils/parsers/credential.js +304 -0
  363. package/lib/module/utils/parsers/credential.js.map +1 -0
  364. package/lib/module/utils/parsers/index.js +5 -0
  365. package/lib/module/utils/parsers/index.js.map +1 -0
  366. package/lib/module/utils/parsers/query.js +91 -0
  367. package/lib/module/utils/parsers/query.js.map +1 -0
  368. package/lib/module/utils/reporting.js +76 -0
  369. package/lib/module/utils/reporting.js.map +1 -0
  370. package/lib/module/utils/string.js +10 -0
  371. package/lib/module/utils/string.js.map +1 -0
  372. package/lib/module/utils/useMemoAsync.js +1 -1
  373. package/lib/module/utils/useMemoAsync.js.map +1 -1
  374. package/lib/module/utils/uuid.js +9 -0
  375. package/lib/module/utils/uuid.js.map +1 -0
  376. package/lib/typescript/components/backup/index.d.ts +1 -0
  377. package/lib/typescript/components/backup/preview-credentials.d.ts +11 -0
  378. package/lib/typescript/components/credential/credential.d.ts +16 -0
  379. package/lib/typescript/components/credential/index.d.ts +1 -0
  380. package/lib/typescript/components/entity/EntityButtons.d.ts +14 -0
  381. package/lib/typescript/components/entity/entity-attributes.d.ts +12 -0
  382. package/lib/typescript/components/entity/entity-details-with-buttons.d.ts +18 -0
  383. package/lib/typescript/components/entity/entity-details.d.ts +19 -0
  384. package/lib/typescript/components/entity/index.d.ts +2 -0
  385. package/lib/typescript/components/index.d.ts +5 -0
  386. package/lib/typescript/components/navigation/header-buttons.d.ts +21 -0
  387. package/lib/typescript/components/navigation/index.d.ts +1 -0
  388. package/lib/typescript/components/proof-request/group.d.ts +2 -0
  389. package/lib/typescript/components/proof-request/index.d.ts +3 -0
  390. package/lib/typescript/components/proof-request/select-credential.d.ts +14 -0
  391. package/lib/typescript/components/proof-request/share-credential.d.ts +27 -0
  392. package/lib/typescript/index.d.ts +2 -25
  393. package/lib/typescript/ui-components/accessibility/accessibilityHistory.d.ts +13 -0
  394. package/lib/typescript/ui-components/buttons/back-button.d.ts +9 -0
  395. package/lib/typescript/ui-components/credential/card/credential-card.d.ts +25 -0
  396. package/lib/typescript/ui-components/credential/card/index.d.ts +10 -0
  397. package/lib/typescript/ui-components/credential/credential-attribute-item.d.ts +49 -0
  398. package/lib/typescript/ui-components/entity/avatar.d.ts +11 -0
  399. package/lib/typescript/ui-components/entity/entity-cluster.d.ts +13 -0
  400. package/lib/typescript/ui-components/index.d.ts +25 -0
  401. package/lib/typescript/ui-components/pin/index.d.ts +4 -0
  402. package/lib/typescript/ui-components/pin/pin-lock-animation.d.ts +731 -0
  403. package/lib/typescript/ui-components/pin/pin-lock.d.ts +13 -0
  404. package/lib/typescript/ui-components/screens/nerd-mode-screen.d.ts +49 -0
  405. package/lib/typescript/ui-components/text/typography.d.ts +112 -0
  406. package/lib/typescript/utils/array.d.ts +1 -0
  407. package/lib/typescript/utils/backup.d.ts +1 -0
  408. package/lib/typescript/utils/date.d.ts +32 -0
  409. package/lib/typescript/utils/hooks/connectivity/connectivity.d.ts +27 -0
  410. package/lib/typescript/utils/hooks/connectivity/connectivity.test.d.ts +1 -0
  411. package/lib/typescript/utils/hooks/core/backup.d.ts +12 -0
  412. package/lib/typescript/utils/hooks/core/core-config.d.ts +1 -0
  413. package/lib/typescript/utils/hooks/core/core-context.d.ts +15 -0
  414. package/lib/typescript/utils/hooks/core/core-init.d.ts +3 -0
  415. package/lib/typescript/utils/hooks/core/credential-schemas.d.ts +11 -0
  416. package/lib/typescript/utils/hooks/core/credentials.d.ts +18 -0
  417. package/lib/typescript/utils/hooks/core/dids.d.ts +3 -0
  418. package/lib/typescript/utils/hooks/core/error-code.d.ts +6 -0
  419. package/lib/typescript/utils/hooks/core/history.d.ts +6 -0
  420. package/lib/typescript/utils/hooks/core/index.d.ts +12 -0
  421. package/lib/typescript/utils/hooks/core/proof-schemas.d.ts +14 -0
  422. package/lib/typescript/utils/hooks/core/proofs.d.ts +37 -0
  423. package/lib/typescript/utils/hooks/core/query.d.ts +2 -0
  424. package/lib/typescript/utils/hooks/core/trust-entity.d.ts +6 -0
  425. package/lib/typescript/utils/hooks/credential-card/credential-card-expanding.d.ts +10 -0
  426. package/lib/typescript/utils/hooks/http/client.d.ts +2 -0
  427. package/lib/typescript/utils/hooks/index.d.ts +8 -4
  428. package/lib/typescript/utils/hooks/navigation/before-remove.d.ts +1 -0
  429. package/lib/typescript/utils/hooks/navigation/close-button-timeout.d.ts +3 -0
  430. package/lib/typescript/utils/hooks/navigation/deep-link.d.ts +2 -0
  431. package/lib/typescript/utils/hooks/navigation/index.d.ts +4 -0
  432. package/lib/typescript/utils/hooks/navigation/open-settings.d.ts +6 -0
  433. package/lib/typescript/utils/hooks/pin-security/pin-security.d.ts +6 -0
  434. package/lib/typescript/utils/hooks/revocation/credential-status.d.ts +7 -0
  435. package/lib/typescript/utils/index.d.ts +11 -5
  436. package/lib/typescript/utils/parsers/credential-images.d.ts +3 -0
  437. package/lib/typescript/utils/parsers/credential-sharing.d.ts +16 -0
  438. package/lib/typescript/utils/parsers/credential.d.ts +76 -0
  439. package/lib/typescript/utils/parsers/index.d.ts +4 -0
  440. package/lib/typescript/utils/parsers/query.d.ts +7 -0
  441. package/lib/typescript/utils/ref.d.ts +1 -1
  442. package/lib/typescript/utils/reporting.d.ts +4 -0
  443. package/lib/typescript/utils/string.d.ts +4 -0
  444. package/lib/typescript/utils/uuid.d.ts +6 -0
  445. package/package.json +29 -2
  446. package/src/components/backup/index.ts +1 -0
  447. package/src/components/backup/preview-credentials.tsx +38 -0
  448. package/src/components/credential/credential.tsx +72 -0
  449. package/src/components/credential/index.ts +1 -0
  450. package/src/components/entity/EntityButtons.tsx +79 -0
  451. package/src/components/entity/entity-attributes.tsx +62 -0
  452. package/src/components/entity/entity-details-with-buttons.tsx +98 -0
  453. package/src/components/entity/entity-details.tsx +85 -0
  454. package/src/components/entity/index.ts +3 -0
  455. package/src/components/index.ts +5 -0
  456. package/src/components/navigation/header-buttons.tsx +64 -0
  457. package/src/components/navigation/index.ts +1 -0
  458. package/src/components/proof-request/group.tsx +26 -0
  459. package/src/components/proof-request/index.ts +3 -0
  460. package/src/components/proof-request/select-credential.tsx +48 -0
  461. package/src/components/proof-request/share-credential.tsx +194 -0
  462. package/src/index.ts +2 -25
  463. package/src/ui-components/accessibility/accessibilityHistory.tsx +77 -0
  464. package/src/ui-components/blur/blur-view.tsx +82 -0
  465. package/src/ui-components/buttons/back-button.tsx +30 -0
  466. package/src/ui-components/buttons/button.tsx +169 -0
  467. package/src/ui-components/buttons/connectivity-button.tsx +95 -0
  468. package/src/ui-components/credential/card/credential-card.stories.tsx +54 -0
  469. package/src/ui-components/credential/card/credential-card.tsx +189 -0
  470. package/src/ui-components/credential/card/credential-details-card.stories.tsx +299 -0
  471. package/src/ui-components/credential/card/credential-details-card.tsx +242 -0
  472. package/src/ui-components/credential/card/credential-header.stories.tsx +50 -0
  473. package/src/ui-components/credential/card/credential-header.tsx +196 -0
  474. package/src/ui-components/credential/card/credential-image-carousel.tsx +113 -0
  475. package/src/ui-components/credential/card/index.ts +16 -0
  476. package/src/ui-components/credential/credential-attribute-item.tsx +373 -0
  477. package/src/ui-components/credential/selector.tsx +64 -0
  478. package/src/ui-components/detail/detail.stories.tsx +65 -0
  479. package/src/ui-components/detail/detail.tsx +98 -0
  480. package/src/ui-components/entity/avatar.tsx +100 -0
  481. package/src/ui-components/entity/entity-cluster.tsx +82 -0
  482. package/src/ui-components/header/header.stories.tsx +59 -0
  483. package/src/ui-components/header/header.tsx +105 -0
  484. package/src/ui-components/header/navigation-header.stories.tsx +56 -0
  485. package/src/ui-components/header/navigation-header.tsx +147 -0
  486. package/src/ui-components/history/data-item.tsx +79 -0
  487. package/src/ui-components/history/history-list-item.tsx +102 -0
  488. package/src/ui-components/history/history-section-header.tsx +44 -0
  489. package/src/ui-components/icons/entity.tsx +31 -0
  490. package/src/ui-components/index.ts +25 -0
  491. package/src/ui-components/input/selection-input.tsx +112 -0
  492. package/src/ui-components/input/text-input.tsx +253 -0
  493. package/src/ui-components/loader/loader.tsx +171 -0
  494. package/src/ui-components/nerd-view/nerd-mode-item.tsx +299 -0
  495. package/src/ui-components/pin/index.ts +5 -0
  496. package/src/ui-components/pin/keypad.tsx +166 -0
  497. package/src/ui-components/pin/pin-code-screen.tsx +195 -0
  498. package/src/ui-components/pin/pin-lock-animation.tsx +500 -0
  499. package/src/ui-components/pin/pin-lock.tsx +82 -0
  500. package/src/ui-components/screens/backup-screen.tsx +92 -0
  501. package/src/ui-components/screens/image-preview-screen.stories.tsx +28 -0
  502. package/src/ui-components/screens/image-preview-screen.tsx +82 -0
  503. package/src/ui-components/screens/nerd-mode-screen.tsx +214 -0
  504. package/src/ui-components/screens/qr-code-scanner-screen.stories.tsx +37 -0
  505. package/src/ui-components/screens/qr-code-scanner-screen.tsx +124 -0
  506. package/src/ui-components/screens/scroll-view-screen.tsx +91 -0
  507. package/src/ui-components/screens/section-list-screen.tsx +61 -0
  508. package/src/ui-components/searchbar/search-bar.tsx +94 -0
  509. package/src/ui-components/text/typography.stories.tsx +70 -0
  510. package/src/utils/array.ts +3 -0
  511. package/src/utils/backup.ts +5 -0
  512. package/src/utils/date.ts +105 -1
  513. package/src/utils/hooks/connectivity/connectivity.test.ts +87 -0
  514. package/src/utils/hooks/connectivity/connectivity.ts +162 -0
  515. package/src/utils/hooks/core/backup.ts +140 -0
  516. package/src/utils/hooks/core/core-config.ts +13 -0
  517. package/src/utils/hooks/core/core-context.tsx +101 -0
  518. package/src/utils/hooks/core/core-init.ts +92 -0
  519. package/src/utils/hooks/core/credential-schemas.ts +110 -0
  520. package/src/utils/hooks/core/credentials.ts +171 -0
  521. package/src/utils/hooks/core/dids.ts +28 -0
  522. package/src/utils/hooks/core/error-code.ts +6 -0
  523. package/src/utils/hooks/core/history.ts +85 -0
  524. package/src/utils/hooks/core/index.ts +12 -0
  525. package/src/utils/hooks/core/proof-schemas.ts +130 -0
  526. package/src/utils/hooks/core/proofs.ts +351 -0
  527. package/src/utils/hooks/core/query.ts +19 -0
  528. package/src/utils/hooks/core/trust-entity.ts +109 -0
  529. package/src/utils/hooks/credential-card/credential-card-expanding.tsx +45 -0
  530. package/src/utils/hooks/http/client.ts +13 -0
  531. package/src/utils/hooks/index.ts +8 -5
  532. package/src/utils/hooks/navigation/before-remove.tsx +22 -0
  533. package/src/utils/hooks/navigation/close-button-timeout.tsx +29 -0
  534. package/src/utils/hooks/navigation/deep-link.ts +40 -0
  535. package/src/utils/hooks/navigation/index.ts +4 -0
  536. package/src/utils/hooks/navigation/open-settings.ts +40 -0
  537. package/src/utils/hooks/pin-security/pin-security.ts +99 -0
  538. package/src/utils/hooks/revocation/credential-status.ts +44 -0
  539. package/src/utils/index.ts +11 -14
  540. package/src/utils/parsers/credential-images.tsx +78 -0
  541. package/src/utils/parsers/credential-sharing.tsx +366 -0
  542. package/src/utils/parsers/credential.ts +365 -0
  543. package/src/utils/parsers/index.ts +4 -0
  544. package/src/utils/parsers/query.tsx +80 -0
  545. package/src/utils/reporting.ts +84 -0
  546. package/src/utils/string.ts +17 -0
  547. package/src/utils/useMemoAsync.ts +1 -1
  548. package/src/utils/uuid.ts +8 -0
  549. package/lib/commonjs/accessibility/accessibilityHistory.js +0 -81
  550. package/lib/commonjs/accessibility/accessibilityHistory.js.map +0 -1
  551. package/lib/commonjs/blur/blur-view.js +0 -76
  552. package/lib/commonjs/blur/blur-view.js.map +0 -1
  553. package/lib/commonjs/buttons/back-button.js.map +0 -1
  554. package/lib/commonjs/buttons/button.js +0 -153
  555. package/lib/commonjs/buttons/button.js.map +0 -1
  556. package/lib/commonjs/buttons/connectivity-button.js +0 -82
  557. package/lib/commonjs/buttons/connectivity-button.js.map +0 -1
  558. package/lib/commonjs/credential/card/credential-card.js +0 -189
  559. package/lib/commonjs/credential/card/credential-card.js.map +0 -1
  560. package/lib/commonjs/credential/card/credential-details-card.js +0 -201
  561. package/lib/commonjs/credential/card/credential-details-card.js.map +0 -1
  562. package/lib/commonjs/credential/card/credential-header.js +0 -172
  563. package/lib/commonjs/credential/card/credential-header.js.map +0 -1
  564. package/lib/commonjs/credential/card/credential-image-carousel.js +0 -124
  565. package/lib/commonjs/credential/card/credential-image-carousel.js.map +0 -1
  566. package/lib/commonjs/credential/card/index.js +0 -85
  567. package/lib/commonjs/credential/card/index.js.map +0 -1
  568. package/lib/commonjs/credential/credential-attribute-item.js +0 -289
  569. package/lib/commonjs/credential/credential-attribute-item.js.map +0 -1
  570. package/lib/commonjs/credential/selector.js +0 -79
  571. package/lib/commonjs/credential/selector.js.map +0 -1
  572. package/lib/commonjs/detail/detail.js +0 -84
  573. package/lib/commonjs/detail/detail.js.map +0 -1
  574. package/lib/commonjs/entity/avatar.js +0 -96
  575. package/lib/commonjs/entity/avatar.js.map +0 -1
  576. package/lib/commonjs/entity/entity-cluster.js +0 -66
  577. package/lib/commonjs/entity/entity-cluster.js.map +0 -1
  578. package/lib/commonjs/header/header.js +0 -105
  579. package/lib/commonjs/header/header.js.map +0 -1
  580. package/lib/commonjs/header/navigation-header.js +0 -148
  581. package/lib/commonjs/header/navigation-header.js.map +0 -1
  582. package/lib/commonjs/history/data-item.js +0 -70
  583. package/lib/commonjs/history/data-item.js.map +0 -1
  584. package/lib/commonjs/history/history-list-item.js +0 -90
  585. package/lib/commonjs/history/history-list-item.js.map +0 -1
  586. package/lib/commonjs/history/history-section-header.js +0 -49
  587. package/lib/commonjs/history/history-section-header.js.map +0 -1
  588. package/lib/commonjs/icons/entity.js +0 -34
  589. package/lib/commonjs/icons/entity.js.map +0 -1
  590. package/lib/commonjs/input/selection-input.js +0 -102
  591. package/lib/commonjs/input/selection-input.js.map +0 -1
  592. package/lib/commonjs/input/text-input.js +0 -195
  593. package/lib/commonjs/input/text-input.js.map +0 -1
  594. package/lib/commonjs/loader/loader.js +0 -140
  595. package/lib/commonjs/loader/loader.js.map +0 -1
  596. package/lib/commonjs/nerd-view/nerd-mode-item.js +0 -235
  597. package/lib/commonjs/nerd-view/nerd-mode-item.js.map +0 -1
  598. package/lib/commonjs/pin/index.js +0 -32
  599. package/lib/commonjs/pin/index.js.map +0 -1
  600. package/lib/commonjs/pin/keypad.js +0 -201
  601. package/lib/commonjs/pin/keypad.js.map +0 -1
  602. package/lib/commonjs/pin/pin-code-screen.js +0 -162
  603. package/lib/commonjs/pin/pin-code-screen.js.map +0 -1
  604. package/lib/commonjs/screens/backup-screen.js +0 -87
  605. package/lib/commonjs/screens/backup-screen.js.map +0 -1
  606. package/lib/commonjs/screens/image-preview-screen.js +0 -92
  607. package/lib/commonjs/screens/image-preview-screen.js.map +0 -1
  608. package/lib/commonjs/screens/nerd-mode-screen.js +0 -142
  609. package/lib/commonjs/screens/nerd-mode-screen.js.map +0 -1
  610. package/lib/commonjs/screens/qr-code-scanner-screen.js +0 -120
  611. package/lib/commonjs/screens/qr-code-scanner-screen.js.map +0 -1
  612. package/lib/commonjs/screens/scroll-view-screen.js +0 -94
  613. package/lib/commonjs/screens/scroll-view-screen.js.map +0 -1
  614. package/lib/commonjs/screens/section-list-screen.js +0 -67
  615. package/lib/commonjs/screens/section-list-screen.js.map +0 -1
  616. package/lib/commonjs/searchbar/search-bar.js +0 -99
  617. package/lib/commonjs/searchbar/search-bar.js.map +0 -1
  618. package/lib/module/accessibility/accessibilityHistory.js +0 -71
  619. package/lib/module/accessibility/accessibilityHistory.js.map +0 -1
  620. package/lib/module/blur/blur-view.js +0 -67
  621. package/lib/module/blur/blur-view.js.map +0 -1
  622. package/lib/module/buttons/back-button.js.map +0 -1
  623. package/lib/module/buttons/button.js +0 -143
  624. package/lib/module/buttons/button.js.map +0 -1
  625. package/lib/module/buttons/connectivity-button.js +0 -73
  626. package/lib/module/buttons/connectivity-button.js.map +0 -1
  627. package/lib/module/credential/card/credential-card.js +0 -177
  628. package/lib/module/credential/card/credential-card.js.map +0 -1
  629. package/lib/module/credential/card/credential-details-card.js +0 -191
  630. package/lib/module/credential/card/credential-details-card.js.map +0 -1
  631. package/lib/module/credential/card/credential-header.js +0 -162
  632. package/lib/module/credential/card/credential-header.js.map +0 -1
  633. package/lib/module/credential/card/credential-image-carousel.js +0 -113
  634. package/lib/module/credential/card/credential-image-carousel.js.map +0 -1
  635. package/lib/module/credential/card/index.js +0 -11
  636. package/lib/module/credential/card/index.js.map +0 -1
  637. package/lib/module/credential/credential-attribute-item.js +0 -279
  638. package/lib/module/credential/credential-attribute-item.js.map +0 -1
  639. package/lib/module/credential/selector.js +0 -70
  640. package/lib/module/credential/selector.js.map +0 -1
  641. package/lib/module/detail/detail.js +0 -75
  642. package/lib/module/detail/detail.js.map +0 -1
  643. package/lib/module/entity/avatar.js +0 -86
  644. package/lib/module/entity/avatar.js.map +0 -1
  645. package/lib/module/entity/entity-cluster.js +0 -56
  646. package/lib/module/entity/entity-cluster.js.map +0 -1
  647. package/lib/module/header/header.js +0 -97
  648. package/lib/module/header/header.js.map +0 -1
  649. package/lib/module/header/navigation-header.js +0 -138
  650. package/lib/module/header/navigation-header.js.map +0 -1
  651. package/lib/module/history/data-item.js +0 -60
  652. package/lib/module/history/data-item.js.map +0 -1
  653. package/lib/module/history/history-list-item.js +0 -80
  654. package/lib/module/history/history-list-item.js.map +0 -1
  655. package/lib/module/history/history-section-header.js +0 -42
  656. package/lib/module/history/history-section-header.js.map +0 -1
  657. package/lib/module/icons/entity.js +0 -25
  658. package/lib/module/icons/entity.js.map +0 -1
  659. package/lib/module/input/selection-input.js +0 -92
  660. package/lib/module/input/selection-input.js.map +0 -1
  661. package/lib/module/input/text-input.js +0 -185
  662. package/lib/module/input/text-input.js.map +0 -1
  663. package/lib/module/loader/loader.js +0 -130
  664. package/lib/module/loader/loader.js.map +0 -1
  665. package/lib/module/nerd-view/nerd-mode-item.js +0 -224
  666. package/lib/module/nerd-view/nerd-mode-item.js.map +0 -1
  667. package/lib/module/pin/index.js +0 -4
  668. package/lib/module/pin/index.js.map +0 -1
  669. package/lib/module/pin/keypad.js +0 -191
  670. package/lib/module/pin/keypad.js.map +0 -1
  671. package/lib/module/pin/pin-code-screen.js +0 -152
  672. package/lib/module/pin/pin-code-screen.js.map +0 -1
  673. package/lib/module/screens/backup-screen.js +0 -78
  674. package/lib/module/screens/backup-screen.js.map +0 -1
  675. package/lib/module/screens/image-preview-screen.js +0 -83
  676. package/lib/module/screens/image-preview-screen.js.map +0 -1
  677. package/lib/module/screens/nerd-mode-screen.js +0 -132
  678. package/lib/module/screens/nerd-mode-screen.js.map +0 -1
  679. package/lib/module/screens/qr-code-scanner-screen.js +0 -110
  680. package/lib/module/screens/qr-code-scanner-screen.js.map +0 -1
  681. package/lib/module/screens/scroll-view-screen.js +0 -86
  682. package/lib/module/screens/scroll-view-screen.js.map +0 -1
  683. package/lib/module/screens/section-list-screen.js +0 -59
  684. package/lib/module/screens/section-list-screen.js.map +0 -1
  685. package/lib/module/searchbar/search-bar.js +0 -89
  686. package/lib/module/searchbar/search-bar.js.map +0 -1
  687. package/lib/typescript/accessibility/accessibilityHistory.d.ts +0 -13
  688. package/lib/typescript/buttons/back-button.d.ts +0 -9
  689. package/lib/typescript/credential/card/credential-card.d.ts +0 -22
  690. package/lib/typescript/credential/card/index.d.ts +0 -10
  691. package/lib/typescript/credential/credential-attribute-item.d.ts +0 -48
  692. package/lib/typescript/entity/avatar.d.ts +0 -10
  693. package/lib/typescript/entity/entity-cluster.d.ts +0 -12
  694. package/lib/typescript/pin/index.d.ts +0 -3
  695. package/lib/typescript/screens/nerd-mode-screen.d.ts +0 -22
  696. package/lib/typescript/text/typography.d.ts +0 -112
  697. package/src/accessibility/accessibilityHistory.tsx +0 -77
  698. package/src/blur/blur-view.tsx +0 -82
  699. package/src/buttons/back-button.tsx +0 -31
  700. package/src/buttons/button.tsx +0 -169
  701. package/src/buttons/connectivity-button.tsx +0 -95
  702. package/src/credential/card/credential-card.stories.tsx +0 -52
  703. package/src/credential/card/credential-card.tsx +0 -195
  704. package/src/credential/card/credential-details-card.stories.tsx +0 -268
  705. package/src/credential/card/credential-details-card.tsx +0 -242
  706. package/src/credential/card/credential-header.stories.tsx +0 -50
  707. package/src/credential/card/credential-header.tsx +0 -195
  708. package/src/credential/card/credential-image-carousel.tsx +0 -113
  709. package/src/credential/card/index.ts +0 -11
  710. package/src/credential/credential-attribute-item.tsx +0 -372
  711. package/src/credential/selector.tsx +0 -64
  712. package/src/detail/detail.stories.tsx +0 -65
  713. package/src/detail/detail.tsx +0 -98
  714. package/src/entity/avatar.tsx +0 -87
  715. package/src/entity/entity-cluster.tsx +0 -72
  716. package/src/header/header.stories.tsx +0 -59
  717. package/src/header/header.tsx +0 -105
  718. package/src/header/navigation-header.stories.tsx +0 -56
  719. package/src/header/navigation-header.tsx +0 -147
  720. package/src/history/data-item.tsx +0 -79
  721. package/src/history/history-list-item.tsx +0 -102
  722. package/src/history/history-section-header.tsx +0 -44
  723. package/src/icons/entity.tsx +0 -21
  724. package/src/input/selection-input.tsx +0 -112
  725. package/src/input/text-input.tsx +0 -253
  726. package/src/loader/loader.tsx +0 -169
  727. package/src/nerd-view/nerd-mode-item.tsx +0 -296
  728. package/src/pin/index.ts +0 -4
  729. package/src/pin/keypad.tsx +0 -166
  730. package/src/pin/pin-code-screen.tsx +0 -195
  731. package/src/screens/backup-screen.tsx +0 -92
  732. package/src/screens/image-preview-screen.stories.tsx +0 -28
  733. package/src/screens/image-preview-screen.tsx +0 -82
  734. package/src/screens/nerd-mode-screen.tsx +0 -150
  735. package/src/screens/qr-code-scanner-screen.stories.tsx +0 -37
  736. package/src/screens/qr-code-scanner-screen.tsx +0 -124
  737. package/src/screens/scroll-view-screen.tsx +0 -91
  738. package/src/screens/section-list-screen.tsx +0 -61
  739. package/src/searchbar/search-bar.tsx +0 -94
  740. package/src/text/typography.stories.tsx +0 -70
  741. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibility.js +0 -0
  742. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibility.js.map +0 -0
  743. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.js +0 -0
  744. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.js.map +0 -0
  745. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibilityLanguage.js +0 -0
  746. /package/lib/commonjs/{accessibility → ui-components/accessibility}/accessibilityLanguage.js.map +0 -0
  747. /package/lib/commonjs/{accessibility → ui-components/accessibility}/index.js +0 -0
  748. /package/lib/commonjs/{accessibility → ui-components/accessibility}/index.js.map +0 -0
  749. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
  750. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
  751. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
  752. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/index.js +0 -0
  753. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/index.js.map +0 -0
  754. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
  755. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale.test.js +0 -0
  756. /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale.test.js.map +0 -0
  757. /package/lib/commonjs/{action-modal → ui-components/action-modal}/ActionModal.js +0 -0
  758. /package/lib/commonjs/{action-modal → ui-components/action-modal}/ActionModal.js.map +0 -0
  759. /package/lib/commonjs/{action-modal → ui-components/action-modal}/index.js +0 -0
  760. /package/lib/commonjs/{action-modal → ui-components/action-modal}/index.js.map +0 -0
  761. /package/lib/commonjs/{activity-indicator → ui-components/activity-indicator}/activity-indicator.js +0 -0
  762. /package/lib/commonjs/{activity-indicator → ui-components/activity-indicator}/activity-indicator.js.map +0 -0
  763. /package/lib/commonjs/{activity-indicator → ui-components/activity-indicator}/index.js +0 -0
  764. /package/lib/commonjs/{activity-indicator → ui-components/activity-indicator}/index.js.map +0 -0
  765. /package/lib/commonjs/{blur → ui-components/blur}/index.js +0 -0
  766. /package/lib/commonjs/{blur → ui-components/blur}/index.js.map +0 -0
  767. /package/lib/commonjs/{buttons → ui-components/buttons}/back-button.js +0 -0
  768. /package/lib/commonjs/{buttons → ui-components/buttons}/filter-button.js +0 -0
  769. /package/lib/commonjs/{buttons → ui-components/buttons}/filter-button.js.map +0 -0
  770. /package/lib/commonjs/{buttons → ui-components/buttons}/ghost-button.js +0 -0
  771. /package/lib/commonjs/{buttons → ui-components/buttons}/ghost-button.js.map +0 -0
  772. /package/lib/commonjs/{buttons → ui-components/buttons}/index.js +0 -0
  773. /package/lib/commonjs/{buttons → ui-components/buttons}/index.js.map +0 -0
  774. /package/lib/commonjs/{buttons → ui-components/buttons}/scan-button.js +0 -0
  775. /package/lib/commonjs/{buttons → ui-components/buttons}/scan-button.js.map +0 -0
  776. /package/lib/commonjs/{camera → ui-components/camera}/camera-overlay.js +0 -0
  777. /package/lib/commonjs/{camera → ui-components/camera}/camera-overlay.js.map +0 -0
  778. /package/lib/commonjs/{camera → ui-components/camera}/index.js +0 -0
  779. /package/lib/commonjs/{camera → ui-components/camera}/index.js.map +0 -0
  780. /package/lib/commonjs/{camera → ui-components/camera}/qr-code-scanner.js +0 -0
  781. /package/lib/commonjs/{camera → ui-components/camera}/qr-code-scanner.js.map +0 -0
  782. /package/lib/commonjs/{control → ui-components/control}/checkbox.js +0 -0
  783. /package/lib/commonjs/{control → ui-components/control}/checkbox.js.map +0 -0
  784. /package/lib/commonjs/{control → ui-components/control}/index.js +0 -0
  785. /package/lib/commonjs/{control → ui-components/control}/index.js.map +0 -0
  786. /package/lib/commonjs/{control → ui-components/control}/switch.js +0 -0
  787. /package/lib/commonjs/{control → ui-components/control}/switch.js.map +0 -0
  788. /package/lib/commonjs/{credential → ui-components/credential}/card/credential-details-list-item.js +0 -0
  789. /package/lib/commonjs/{credential → ui-components/credential}/card/credential-details-list-item.js.map +0 -0
  790. /package/lib/commonjs/{credential → ui-components/credential}/credential-carousel-images.js +0 -0
  791. /package/lib/commonjs/{credential → ui-components/credential}/credential-carousel-images.js.map +0 -0
  792. /package/lib/commonjs/{credential → ui-components/credential}/index.js +0 -0
  793. /package/lib/commonjs/{credential → ui-components/credential}/index.js.map +0 -0
  794. /package/lib/commonjs/{credential → ui-components/credential}/selector-status.js +0 -0
  795. /package/lib/commonjs/{credential → ui-components/credential}/selector-status.js.map +0 -0
  796. /package/lib/commonjs/{detail → ui-components/detail}/index.js +0 -0
  797. /package/lib/commonjs/{detail → ui-components/detail}/index.js.map +0 -0
  798. /package/lib/commonjs/{entity → ui-components/entity}/index.js +0 -0
  799. /package/lib/commonjs/{entity → ui-components/entity}/index.js.map +0 -0
  800. /package/lib/commonjs/{header → ui-components/header}/focus-aware-status-bar.js +0 -0
  801. /package/lib/commonjs/{header → ui-components/header}/focus-aware-status-bar.js.map +0 -0
  802. /package/lib/commonjs/{header → ui-components/header}/foldable-header.js +0 -0
  803. /package/lib/commonjs/{header → ui-components/header}/foldable-header.js.map +0 -0
  804. /package/lib/commonjs/{header → ui-components/header}/index.js +0 -0
  805. /package/lib/commonjs/{header → ui-components/header}/index.js.map +0 -0
  806. /package/lib/commonjs/{history → ui-components/history}/history-section-list-item.js +0 -0
  807. /package/lib/commonjs/{history → ui-components/history}/history-section-list-item.js.map +0 -0
  808. /package/lib/commonjs/{history → ui-components/history}/index.js +0 -0
  809. /package/lib/commonjs/{history → ui-components/history}/index.js.map +0 -0
  810. /package/lib/commonjs/{icons → ui-components/icons}/connectivity.js +0 -0
  811. /package/lib/commonjs/{icons → ui-components/icons}/connectivity.js.map +0 -0
  812. /package/lib/commonjs/{icons → ui-components/icons}/credential.js +0 -0
  813. /package/lib/commonjs/{icons → ui-components/icons}/credential.js.map +0 -0
  814. /package/lib/commonjs/{icons → ui-components/icons}/history.js +0 -0
  815. /package/lib/commonjs/{icons → ui-components/icons}/history.js.map +0 -0
  816. /package/lib/commonjs/{icons → ui-components/icons}/icons.js +0 -0
  817. /package/lib/commonjs/{icons → ui-components/icons}/icons.js.map +0 -0
  818. /package/lib/commonjs/{icons → ui-components/icons}/index.js +0 -0
  819. /package/lib/commonjs/{icons → ui-components/icons}/index.js.map +0 -0
  820. /package/lib/commonjs/{icons → ui-components/icons}/input.js +0 -0
  821. /package/lib/commonjs/{icons → ui-components/icons}/input.js.map +0 -0
  822. /package/lib/commonjs/{icons → ui-components/icons}/keypad.js +0 -0
  823. /package/lib/commonjs/{icons → ui-components/icons}/keypad.js.map +0 -0
  824. /package/lib/commonjs/{icons → ui-components/icons}/loader.js +0 -0
  825. /package/lib/commonjs/{icons → ui-components/icons}/loader.js.map +0 -0
  826. /package/lib/commonjs/{icons → ui-components/icons}/nerd-view.js +0 -0
  827. /package/lib/commonjs/{icons → ui-components/icons}/nerd-view.js.map +0 -0
  828. /package/lib/commonjs/{icons → ui-components/icons}/selector.js +0 -0
  829. /package/lib/commonjs/{icons → ui-components/icons}/selector.js.map +0 -0
  830. /package/lib/commonjs/{icons → ui-components/icons}/wallet.js +0 -0
  831. /package/lib/commonjs/{icons → ui-components/icons}/wallet.js.map +0 -0
  832. /package/lib/commonjs/{image → ui-components/image}/image-or-component.js +0 -0
  833. /package/lib/commonjs/{image → ui-components/image}/image-or-component.js.map +0 -0
  834. /package/lib/commonjs/{image → ui-components/image}/index.js +0 -0
  835. /package/lib/commonjs/{image → ui-components/image}/index.js.map +0 -0
  836. /package/lib/commonjs/{input → ui-components/input}/index.js +0 -0
  837. /package/lib/commonjs/{input → ui-components/input}/index.js.map +0 -0
  838. /package/lib/commonjs/{input → ui-components/input}/radio-group.js +0 -0
  839. /package/lib/commonjs/{input → ui-components/input}/radio-group.js.map +0 -0
  840. /package/lib/commonjs/{list → ui-components/list}/index.js +0 -0
  841. /package/lib/commonjs/{list → ui-components/list}/index.js.map +0 -0
  842. /package/lib/commonjs/{list → ui-components/list}/list-section-header.js +0 -0
  843. /package/lib/commonjs/{list → ui-components/list}/list-section-header.js.map +0 -0
  844. /package/lib/commonjs/{list → ui-components/list}/list-title-header.js +0 -0
  845. /package/lib/commonjs/{list → ui-components/list}/list-title-header.js.map +0 -0
  846. /package/lib/commonjs/{loader → ui-components/loader}/index.js +0 -0
  847. /package/lib/commonjs/{loader → ui-components/loader}/index.js.map +0 -0
  848. /package/lib/commonjs/{loader → ui-components/loader}/loading-result.js +0 -0
  849. /package/lib/commonjs/{loader → ui-components/loader}/loading-result.js.map +0 -0
  850. /package/lib/commonjs/{nerd-view → ui-components/nerd-view}/index.js +0 -0
  851. /package/lib/commonjs/{nerd-view → ui-components/nerd-view}/index.js.map +0 -0
  852. /package/lib/commonjs/{pin → ui-components/pin}/pins.js +0 -0
  853. /package/lib/commonjs/{pin → ui-components/pin}/pins.js.map +0 -0
  854. /package/lib/commonjs/{screens → ui-components/screens}/index.js +0 -0
  855. /package/lib/commonjs/{screens → ui-components/screens}/index.js.map +0 -0
  856. /package/lib/commonjs/{searchbar → ui-components/searchbar}/animated-search-bar.js +0 -0
  857. /package/lib/commonjs/{searchbar → ui-components/searchbar}/animated-search-bar.js.map +0 -0
  858. /package/lib/commonjs/{searchbar → ui-components/searchbar}/index.js +0 -0
  859. /package/lib/commonjs/{searchbar → ui-components/searchbar}/index.js.map +0 -0
  860. /package/lib/commonjs/{settings → ui-components/settings}/button-setting.js +0 -0
  861. /package/lib/commonjs/{settings → ui-components/settings}/button-setting.js.map +0 -0
  862. /package/lib/commonjs/{settings → ui-components/settings}/index.js +0 -0
  863. /package/lib/commonjs/{settings → ui-components/settings}/index.js.map +0 -0
  864. /package/lib/commonjs/{settings → ui-components/settings}/setting-item-separator.js +0 -0
  865. /package/lib/commonjs/{settings → ui-components/settings}/setting-item-separator.js.map +0 -0
  866. /package/lib/commonjs/{settings → ui-components/settings}/setting-item.js +0 -0
  867. /package/lib/commonjs/{settings → ui-components/settings}/setting-item.js.map +0 -0
  868. /package/lib/commonjs/{settings → ui-components/settings}/settings-button.js +0 -0
  869. /package/lib/commonjs/{settings → ui-components/settings}/settings-button.js.map +0 -0
  870. /package/lib/commonjs/{settings → ui-components/settings}/switch-setting.js +0 -0
  871. /package/lib/commonjs/{settings → ui-components/settings}/switch-setting.js.map +0 -0
  872. /package/lib/commonjs/{state → ui-components/state}/error-screen.js +0 -0
  873. /package/lib/commonjs/{state → ui-components/state}/error-screen.js.map +0 -0
  874. /package/lib/commonjs/{state → ui-components/state}/index.js +0 -0
  875. /package/lib/commonjs/{state → ui-components/state}/index.js.map +0 -0
  876. /package/lib/commonjs/{text → ui-components/text}/base.js +0 -0
  877. /package/lib/commonjs/{text → ui-components/text}/base.js.map +0 -0
  878. /package/lib/commonjs/{text → ui-components/text}/font.js +0 -0
  879. /package/lib/commonjs/{text → ui-components/text}/font.js.map +0 -0
  880. /package/lib/commonjs/{text → ui-components/text}/index.js +0 -0
  881. /package/lib/commonjs/{text → ui-components/text}/index.js.map +0 -0
  882. /package/lib/commonjs/{text → ui-components/text}/typography.js +0 -0
  883. /package/lib/commonjs/{text → ui-components/text}/typography.js.map +0 -0
  884. /package/lib/commonjs/{theme → ui-components/theme}/color-scheme-context.js +0 -0
  885. /package/lib/commonjs/{theme → ui-components/theme}/color-scheme-context.js.map +0 -0
  886. /package/lib/commonjs/{theme → ui-components/theme}/color-scheme.js +0 -0
  887. /package/lib/commonjs/{theme → ui-components/theme}/color-scheme.js.map +0 -0
  888. /package/lib/commonjs/{theme → ui-components/theme}/index.js +0 -0
  889. /package/lib/commonjs/{theme → ui-components/theme}/index.js.map +0 -0
  890. /package/lib/module/{accessibility → ui-components/accessibility}/accessibility.js +0 -0
  891. /package/lib/module/{accessibility → ui-components/accessibility}/accessibility.js.map +0 -0
  892. /package/lib/module/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.js +0 -0
  893. /package/lib/module/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.js.map +0 -0
  894. /package/lib/module/{accessibility → ui-components/accessibility}/accessibilityLanguage.js +0 -0
  895. /package/lib/module/{accessibility → ui-components/accessibility}/accessibilityLanguage.js.map +0 -0
  896. /package/lib/module/{accessibility → ui-components/accessibility}/index.js +0 -0
  897. /package/lib/module/{accessibility → ui-components/accessibility}/index.js.map +0 -0
  898. /package/lib/module/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
  899. /package/lib/module/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
  900. /package/lib/module/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
  901. /package/lib/module/{accessibility → ui-components/accessibility}/locale/index.js +0 -0
  902. /package/lib/module/{accessibility → ui-components/accessibility}/locale/index.js.map +0 -0
  903. /package/lib/module/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
  904. /package/lib/module/{accessibility → ui-components/accessibility}/locale.test.js +0 -0
  905. /package/lib/module/{accessibility → ui-components/accessibility}/locale.test.js.map +0 -0
  906. /package/lib/module/{action-modal → ui-components/action-modal}/ActionModal.js +0 -0
  907. /package/lib/module/{action-modal → ui-components/action-modal}/ActionModal.js.map +0 -0
  908. /package/lib/module/{action-modal → ui-components/action-modal}/index.js +0 -0
  909. /package/lib/module/{action-modal → ui-components/action-modal}/index.js.map +0 -0
  910. /package/lib/module/{activity-indicator → ui-components/activity-indicator}/activity-indicator.js +0 -0
  911. /package/lib/module/{activity-indicator → ui-components/activity-indicator}/activity-indicator.js.map +0 -0
  912. /package/lib/module/{activity-indicator → ui-components/activity-indicator}/index.js +0 -0
  913. /package/lib/module/{activity-indicator → ui-components/activity-indicator}/index.js.map +0 -0
  914. /package/lib/module/{blur → ui-components/blur}/index.js +0 -0
  915. /package/lib/module/{blur → ui-components/blur}/index.js.map +0 -0
  916. /package/lib/module/{buttons → ui-components/buttons}/back-button.js +0 -0
  917. /package/lib/module/{buttons → ui-components/buttons}/filter-button.js +0 -0
  918. /package/lib/module/{buttons → ui-components/buttons}/filter-button.js.map +0 -0
  919. /package/lib/module/{buttons → ui-components/buttons}/ghost-button.js +0 -0
  920. /package/lib/module/{buttons → ui-components/buttons}/ghost-button.js.map +0 -0
  921. /package/lib/module/{buttons → ui-components/buttons}/index.js +0 -0
  922. /package/lib/module/{buttons → ui-components/buttons}/index.js.map +0 -0
  923. /package/lib/module/{buttons → ui-components/buttons}/scan-button.js +0 -0
  924. /package/lib/module/{buttons → ui-components/buttons}/scan-button.js.map +0 -0
  925. /package/lib/module/{camera → ui-components/camera}/camera-overlay.js +0 -0
  926. /package/lib/module/{camera → ui-components/camera}/camera-overlay.js.map +0 -0
  927. /package/lib/module/{camera → ui-components/camera}/index.js +0 -0
  928. /package/lib/module/{camera → ui-components/camera}/index.js.map +0 -0
  929. /package/lib/module/{camera → ui-components/camera}/qr-code-scanner.js +0 -0
  930. /package/lib/module/{camera → ui-components/camera}/qr-code-scanner.js.map +0 -0
  931. /package/lib/module/{control → ui-components/control}/checkbox.js +0 -0
  932. /package/lib/module/{control → ui-components/control}/checkbox.js.map +0 -0
  933. /package/lib/module/{control → ui-components/control}/index.js +0 -0
  934. /package/lib/module/{control → ui-components/control}/index.js.map +0 -0
  935. /package/lib/module/{control → ui-components/control}/switch.js +0 -0
  936. /package/lib/module/{control → ui-components/control}/switch.js.map +0 -0
  937. /package/lib/module/{credential → ui-components/credential}/card/credential-details-list-item.js +0 -0
  938. /package/lib/module/{credential → ui-components/credential}/card/credential-details-list-item.js.map +0 -0
  939. /package/lib/module/{credential → ui-components/credential}/credential-carousel-images.js +0 -0
  940. /package/lib/module/{credential → ui-components/credential}/credential-carousel-images.js.map +0 -0
  941. /package/lib/module/{credential → ui-components/credential}/index.js +0 -0
  942. /package/lib/module/{credential → ui-components/credential}/index.js.map +0 -0
  943. /package/lib/module/{credential → ui-components/credential}/selector-status.js +0 -0
  944. /package/lib/module/{credential → ui-components/credential}/selector-status.js.map +0 -0
  945. /package/lib/module/{detail → ui-components/detail}/index.js +0 -0
  946. /package/lib/module/{detail → ui-components/detail}/index.js.map +0 -0
  947. /package/lib/module/{entity → ui-components/entity}/index.js +0 -0
  948. /package/lib/module/{entity → ui-components/entity}/index.js.map +0 -0
  949. /package/lib/module/{header → ui-components/header}/focus-aware-status-bar.js +0 -0
  950. /package/lib/module/{header → ui-components/header}/focus-aware-status-bar.js.map +0 -0
  951. /package/lib/module/{header → ui-components/header}/foldable-header.js +0 -0
  952. /package/lib/module/{header → ui-components/header}/foldable-header.js.map +0 -0
  953. /package/lib/module/{header → ui-components/header}/index.js +0 -0
  954. /package/lib/module/{header → ui-components/header}/index.js.map +0 -0
  955. /package/lib/module/{history → ui-components/history}/history-section-list-item.js +0 -0
  956. /package/lib/module/{history → ui-components/history}/history-section-list-item.js.map +0 -0
  957. /package/lib/module/{history → ui-components/history}/index.js +0 -0
  958. /package/lib/module/{history → ui-components/history}/index.js.map +0 -0
  959. /package/lib/module/{icons → ui-components/icons}/connectivity.js +0 -0
  960. /package/lib/module/{icons → ui-components/icons}/connectivity.js.map +0 -0
  961. /package/lib/module/{icons → ui-components/icons}/credential.js +0 -0
  962. /package/lib/module/{icons → ui-components/icons}/credential.js.map +0 -0
  963. /package/lib/module/{icons → ui-components/icons}/history.js +0 -0
  964. /package/lib/module/{icons → ui-components/icons}/history.js.map +0 -0
  965. /package/lib/module/{icons → ui-components/icons}/icons.js +0 -0
  966. /package/lib/module/{icons → ui-components/icons}/icons.js.map +0 -0
  967. /package/lib/module/{icons → ui-components/icons}/index.js +0 -0
  968. /package/lib/module/{icons → ui-components/icons}/index.js.map +0 -0
  969. /package/lib/module/{icons → ui-components/icons}/input.js +0 -0
  970. /package/lib/module/{icons → ui-components/icons}/input.js.map +0 -0
  971. /package/lib/module/{icons → ui-components/icons}/keypad.js +0 -0
  972. /package/lib/module/{icons → ui-components/icons}/keypad.js.map +0 -0
  973. /package/lib/module/{icons → ui-components/icons}/loader.js +0 -0
  974. /package/lib/module/{icons → ui-components/icons}/loader.js.map +0 -0
  975. /package/lib/module/{icons → ui-components/icons}/nerd-view.js +0 -0
  976. /package/lib/module/{icons → ui-components/icons}/nerd-view.js.map +0 -0
  977. /package/lib/module/{icons → ui-components/icons}/selector.js +0 -0
  978. /package/lib/module/{icons → ui-components/icons}/selector.js.map +0 -0
  979. /package/lib/module/{icons → ui-components/icons}/wallet.js +0 -0
  980. /package/lib/module/{icons → ui-components/icons}/wallet.js.map +0 -0
  981. /package/lib/module/{image → ui-components/image}/image-or-component.js +0 -0
  982. /package/lib/module/{image → ui-components/image}/image-or-component.js.map +0 -0
  983. /package/lib/module/{image → ui-components/image}/index.js +0 -0
  984. /package/lib/module/{image → ui-components/image}/index.js.map +0 -0
  985. /package/lib/module/{input → ui-components/input}/index.js +0 -0
  986. /package/lib/module/{input → ui-components/input}/index.js.map +0 -0
  987. /package/lib/module/{input → ui-components/input}/radio-group.js +0 -0
  988. /package/lib/module/{input → ui-components/input}/radio-group.js.map +0 -0
  989. /package/lib/module/{list → ui-components/list}/index.js +0 -0
  990. /package/lib/module/{list → ui-components/list}/index.js.map +0 -0
  991. /package/lib/module/{list → ui-components/list}/list-section-header.js +0 -0
  992. /package/lib/module/{list → ui-components/list}/list-section-header.js.map +0 -0
  993. /package/lib/module/{list → ui-components/list}/list-title-header.js +0 -0
  994. /package/lib/module/{list → ui-components/list}/list-title-header.js.map +0 -0
  995. /package/lib/module/{loader → ui-components/loader}/index.js +0 -0
  996. /package/lib/module/{loader → ui-components/loader}/index.js.map +0 -0
  997. /package/lib/module/{loader → ui-components/loader}/loading-result.js +0 -0
  998. /package/lib/module/{loader → ui-components/loader}/loading-result.js.map +0 -0
  999. /package/lib/module/{nerd-view → ui-components/nerd-view}/index.js +0 -0
  1000. /package/lib/module/{nerd-view → ui-components/nerd-view}/index.js.map +0 -0
  1001. /package/lib/module/{pin → ui-components/pin}/pins.js +0 -0
  1002. /package/lib/module/{pin → ui-components/pin}/pins.js.map +0 -0
  1003. /package/lib/module/{screens → ui-components/screens}/index.js +0 -0
  1004. /package/lib/module/{screens → ui-components/screens}/index.js.map +0 -0
  1005. /package/lib/module/{searchbar → ui-components/searchbar}/animated-search-bar.js +0 -0
  1006. /package/lib/module/{searchbar → ui-components/searchbar}/animated-search-bar.js.map +0 -0
  1007. /package/lib/module/{searchbar → ui-components/searchbar}/index.js +0 -0
  1008. /package/lib/module/{searchbar → ui-components/searchbar}/index.js.map +0 -0
  1009. /package/lib/module/{settings → ui-components/settings}/button-setting.js +0 -0
  1010. /package/lib/module/{settings → ui-components/settings}/button-setting.js.map +0 -0
  1011. /package/lib/module/{settings → ui-components/settings}/index.js +0 -0
  1012. /package/lib/module/{settings → ui-components/settings}/index.js.map +0 -0
  1013. /package/lib/module/{settings → ui-components/settings}/setting-item-separator.js +0 -0
  1014. /package/lib/module/{settings → ui-components/settings}/setting-item-separator.js.map +0 -0
  1015. /package/lib/module/{settings → ui-components/settings}/setting-item.js +0 -0
  1016. /package/lib/module/{settings → ui-components/settings}/setting-item.js.map +0 -0
  1017. /package/lib/module/{settings → ui-components/settings}/settings-button.js +0 -0
  1018. /package/lib/module/{settings → ui-components/settings}/settings-button.js.map +0 -0
  1019. /package/lib/module/{settings → ui-components/settings}/switch-setting.js +0 -0
  1020. /package/lib/module/{settings → ui-components/settings}/switch-setting.js.map +0 -0
  1021. /package/lib/module/{state → ui-components/state}/error-screen.js +0 -0
  1022. /package/lib/module/{state → ui-components/state}/error-screen.js.map +0 -0
  1023. /package/lib/module/{state → ui-components/state}/index.js +0 -0
  1024. /package/lib/module/{state → ui-components/state}/index.js.map +0 -0
  1025. /package/lib/module/{text → ui-components/text}/base.js +0 -0
  1026. /package/lib/module/{text → ui-components/text}/base.js.map +0 -0
  1027. /package/lib/module/{text → ui-components/text}/font.js +0 -0
  1028. /package/lib/module/{text → ui-components/text}/font.js.map +0 -0
  1029. /package/lib/module/{text → ui-components/text}/index.js +0 -0
  1030. /package/lib/module/{text → ui-components/text}/index.js.map +0 -0
  1031. /package/lib/module/{text → ui-components/text}/typography.js +0 -0
  1032. /package/lib/module/{text → ui-components/text}/typography.js.map +0 -0
  1033. /package/lib/module/{theme → ui-components/theme}/color-scheme-context.js +0 -0
  1034. /package/lib/module/{theme → ui-components/theme}/color-scheme-context.js.map +0 -0
  1035. /package/lib/module/{theme → ui-components/theme}/color-scheme.js +0 -0
  1036. /package/lib/module/{theme → ui-components/theme}/color-scheme.js.map +0 -0
  1037. /package/lib/module/{theme → ui-components/theme}/index.js +0 -0
  1038. /package/lib/module/{theme → ui-components/theme}/index.js.map +0 -0
  1039. /package/lib/typescript/{accessibility → ui-components/accessibility}/accessibility.d.ts +0 -0
  1040. /package/lib/typescript/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.d.ts +0 -0
  1041. /package/lib/typescript/{accessibility → ui-components/accessibility}/accessibilityLanguage.d.ts +0 -0
  1042. /package/lib/typescript/{accessibility → ui-components/accessibility}/index.d.ts +0 -0
  1043. /package/lib/typescript/{accessibility → ui-components/accessibility}/locale/index.d.ts +0 -0
  1044. /package/lib/typescript/{accessibility → ui-components/accessibility}/locale.test.d.ts +0 -0
  1045. /package/lib/typescript/{action-modal → ui-components/action-modal}/ActionModal.d.ts +0 -0
  1046. /package/lib/typescript/{action-modal → ui-components/action-modal}/index.d.ts +0 -0
  1047. /package/lib/typescript/{activity-indicator → ui-components/activity-indicator}/activity-indicator.d.ts +0 -0
  1048. /package/lib/typescript/{activity-indicator → ui-components/activity-indicator}/index.d.ts +0 -0
  1049. /package/lib/typescript/{blur → ui-components/blur}/blur-view.d.ts +0 -0
  1050. /package/lib/typescript/{blur → ui-components/blur}/index.d.ts +0 -0
  1051. /package/lib/typescript/{buttons → ui-components/buttons}/button.d.ts +0 -0
  1052. /package/lib/typescript/{buttons → ui-components/buttons}/connectivity-button.d.ts +0 -0
  1053. /package/lib/typescript/{buttons → ui-components/buttons}/filter-button.d.ts +0 -0
  1054. /package/lib/typescript/{buttons → ui-components/buttons}/ghost-button.d.ts +0 -0
  1055. /package/lib/typescript/{buttons → ui-components/buttons}/index.d.ts +0 -0
  1056. /package/lib/typescript/{buttons → ui-components/buttons}/scan-button.d.ts +0 -0
  1057. /package/lib/typescript/{camera → ui-components/camera}/camera-overlay.d.ts +0 -0
  1058. /package/lib/typescript/{camera → ui-components/camera}/index.d.ts +0 -0
  1059. /package/lib/typescript/{camera → ui-components/camera}/qr-code-scanner.d.ts +0 -0
  1060. /package/lib/typescript/{control → ui-components/control}/checkbox.d.ts +0 -0
  1061. /package/lib/typescript/{control → ui-components/control}/index.d.ts +0 -0
  1062. /package/lib/typescript/{control → ui-components/control}/switch.d.ts +0 -0
  1063. /package/lib/typescript/{credential → ui-components/credential}/card/credential-details-card.d.ts +0 -0
  1064. /package/lib/typescript/{credential → ui-components/credential}/card/credential-details-list-item.d.ts +0 -0
  1065. /package/lib/typescript/{credential → ui-components/credential}/card/credential-header.d.ts +0 -0
  1066. /package/lib/typescript/{credential → ui-components/credential}/card/credential-image-carousel.d.ts +0 -0
  1067. /package/lib/typescript/{credential → ui-components/credential}/credential-carousel-images.d.ts +0 -0
  1068. /package/lib/typescript/{credential → ui-components/credential}/index.d.ts +0 -0
  1069. /package/lib/typescript/{credential → ui-components/credential}/selector-status.d.ts +0 -0
  1070. /package/lib/typescript/{credential → ui-components/credential}/selector.d.ts +0 -0
  1071. /package/lib/typescript/{detail → ui-components/detail}/detail.d.ts +0 -0
  1072. /package/lib/typescript/{detail → ui-components/detail}/index.d.ts +0 -0
  1073. /package/lib/typescript/{entity → ui-components/entity}/index.d.ts +0 -0
  1074. /package/lib/typescript/{header → ui-components/header}/focus-aware-status-bar.d.ts +0 -0
  1075. /package/lib/typescript/{header → ui-components/header}/foldable-header.d.ts +0 -0
  1076. /package/lib/typescript/{header → ui-components/header}/header.d.ts +0 -0
  1077. /package/lib/typescript/{header → ui-components/header}/index.d.ts +0 -0
  1078. /package/lib/typescript/{header → ui-components/header}/navigation-header.d.ts +0 -0
  1079. /package/lib/typescript/{history → ui-components/history}/data-item.d.ts +0 -0
  1080. /package/lib/typescript/{history → ui-components/history}/history-list-item.d.ts +0 -0
  1081. /package/lib/typescript/{history → ui-components/history}/history-section-header.d.ts +0 -0
  1082. /package/lib/typescript/{history → ui-components/history}/history-section-list-item.d.ts +0 -0
  1083. /package/lib/typescript/{history → ui-components/history}/index.d.ts +0 -0
  1084. /package/lib/typescript/{icons → ui-components/icons}/connectivity.d.ts +0 -0
  1085. /package/lib/typescript/{icons → ui-components/icons}/credential.d.ts +0 -0
  1086. /package/lib/typescript/{icons → ui-components/icons}/entity.d.ts +0 -0
  1087. /package/lib/typescript/{icons → ui-components/icons}/history.d.ts +0 -0
  1088. /package/lib/typescript/{icons → ui-components/icons}/icons.d.ts +0 -0
  1089. /package/lib/typescript/{icons → ui-components/icons}/index.d.ts +0 -0
  1090. /package/lib/typescript/{icons → ui-components/icons}/input.d.ts +0 -0
  1091. /package/lib/typescript/{icons → ui-components/icons}/keypad.d.ts +0 -0
  1092. /package/lib/typescript/{icons → ui-components/icons}/loader.d.ts +0 -0
  1093. /package/lib/typescript/{icons → ui-components/icons}/nerd-view.d.ts +0 -0
  1094. /package/lib/typescript/{icons → ui-components/icons}/selector.d.ts +0 -0
  1095. /package/lib/typescript/{icons → ui-components/icons}/wallet.d.ts +0 -0
  1096. /package/lib/typescript/{image → ui-components/image}/image-or-component.d.ts +0 -0
  1097. /package/lib/typescript/{image → ui-components/image}/index.d.ts +0 -0
  1098. /package/lib/typescript/{input → ui-components/input}/index.d.ts +0 -0
  1099. /package/lib/typescript/{input → ui-components/input}/radio-group.d.ts +0 -0
  1100. /package/lib/typescript/{input → ui-components/input}/selection-input.d.ts +0 -0
  1101. /package/lib/typescript/{input → ui-components/input}/text-input.d.ts +0 -0
  1102. /package/lib/typescript/{list → ui-components/list}/index.d.ts +0 -0
  1103. /package/lib/typescript/{list → ui-components/list}/list-section-header.d.ts +0 -0
  1104. /package/lib/typescript/{list → ui-components/list}/list-title-header.d.ts +0 -0
  1105. /package/lib/typescript/{loader → ui-components/loader}/index.d.ts +0 -0
  1106. /package/lib/typescript/{loader → ui-components/loader}/loader.d.ts +0 -0
  1107. /package/lib/typescript/{loader → ui-components/loader}/loading-result.d.ts +0 -0
  1108. /package/lib/typescript/{nerd-view → ui-components/nerd-view}/index.d.ts +0 -0
  1109. /package/lib/typescript/{nerd-view → ui-components/nerd-view}/nerd-mode-item.d.ts +0 -0
  1110. /package/lib/typescript/{pin → ui-components/pin}/keypad.d.ts +0 -0
  1111. /package/lib/typescript/{pin → ui-components/pin}/pin-code-screen.d.ts +0 -0
  1112. /package/lib/typescript/{pin → ui-components/pin}/pins.d.ts +0 -0
  1113. /package/lib/typescript/{screens → ui-components/screens}/backup-screen.d.ts +0 -0
  1114. /package/lib/typescript/{screens → ui-components/screens}/image-preview-screen.d.ts +0 -0
  1115. /package/lib/typescript/{screens → ui-components/screens}/index.d.ts +0 -0
  1116. /package/lib/typescript/{screens → ui-components/screens}/qr-code-scanner-screen.d.ts +0 -0
  1117. /package/lib/typescript/{screens → ui-components/screens}/scroll-view-screen.d.ts +0 -0
  1118. /package/lib/typescript/{screens → ui-components/screens}/section-list-screen.d.ts +0 -0
  1119. /package/lib/typescript/{searchbar → ui-components/searchbar}/animated-search-bar.d.ts +0 -0
  1120. /package/lib/typescript/{searchbar → ui-components/searchbar}/index.d.ts +0 -0
  1121. /package/lib/typescript/{searchbar → ui-components/searchbar}/search-bar.d.ts +0 -0
  1122. /package/lib/typescript/{settings → ui-components/settings}/button-setting.d.ts +0 -0
  1123. /package/lib/typescript/{settings → ui-components/settings}/index.d.ts +0 -0
  1124. /package/lib/typescript/{settings → ui-components/settings}/setting-item-separator.d.ts +0 -0
  1125. /package/lib/typescript/{settings → ui-components/settings}/setting-item.d.ts +0 -0
  1126. /package/lib/typescript/{settings → ui-components/settings}/settings-button.d.ts +0 -0
  1127. /package/lib/typescript/{settings → ui-components/settings}/switch-setting.d.ts +0 -0
  1128. /package/lib/typescript/{state → ui-components/state}/error-screen.d.ts +0 -0
  1129. /package/lib/typescript/{state → ui-components/state}/index.d.ts +0 -0
  1130. /package/lib/typescript/{text → ui-components/text}/base.d.ts +0 -0
  1131. /package/lib/typescript/{text → ui-components/text}/font.d.ts +0 -0
  1132. /package/lib/typescript/{text → ui-components/text}/index.d.ts +0 -0
  1133. /package/lib/typescript/{theme → ui-components/theme}/color-scheme-context.d.ts +0 -0
  1134. /package/lib/typescript/{theme → ui-components/theme}/color-scheme.d.ts +0 -0
  1135. /package/lib/typescript/{theme → ui-components/theme}/index.d.ts +0 -0
  1136. /package/src/{accessibility → ui-components/accessibility}/accessibility.ts +0 -0
  1137. /package/src/{accessibility → ui-components/accessibility}/accessibilityHistoryWrappers.tsx +0 -0
  1138. /package/src/{accessibility → ui-components/accessibility}/accessibilityLanguage.tsx +0 -0
  1139. /package/src/{accessibility → ui-components/accessibility}/index.ts +0 -0
  1140. /package/src/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
  1141. /package/src/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
  1142. /package/src/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
  1143. /package/src/{accessibility → ui-components/accessibility}/locale/index.ts +0 -0
  1144. /package/src/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
  1145. /package/src/{accessibility → ui-components/accessibility}/locale.test.ts +0 -0
  1146. /package/src/{action-modal → ui-components/action-modal}/ActionModal.stories.tsx +0 -0
  1147. /package/src/{action-modal → ui-components/action-modal}/ActionModal.tsx +0 -0
  1148. /package/src/{action-modal → ui-components/action-modal}/index.ts +0 -0
  1149. /package/src/{activity-indicator → ui-components/activity-indicator}/activity-indicator.stories.tsx +0 -0
  1150. /package/src/{activity-indicator → ui-components/activity-indicator}/activity-indicator.tsx +0 -0
  1151. /package/src/{activity-indicator → ui-components/activity-indicator}/index.ts +0 -0
  1152. /package/src/{blur → ui-components/blur}/index.ts +0 -0
  1153. /package/src/{buttons → ui-components/buttons}/back-button.stories.tsx +0 -0
  1154. /package/src/{buttons → ui-components/buttons}/button.stories.tsx +0 -0
  1155. /package/src/{buttons → ui-components/buttons}/connectivity-button.stories.tsx +0 -0
  1156. /package/src/{buttons → ui-components/buttons}/filter-button.tsx +0 -0
  1157. /package/src/{buttons → ui-components/buttons}/ghost-button.stories.tsx +0 -0
  1158. /package/src/{buttons → ui-components/buttons}/ghost-button.tsx +0 -0
  1159. /package/src/{buttons → ui-components/buttons}/index.ts +0 -0
  1160. /package/src/{buttons → ui-components/buttons}/scan-button.stories.tsx +0 -0
  1161. /package/src/{buttons → ui-components/buttons}/scan-button.tsx +0 -0
  1162. /package/src/{camera → ui-components/camera}/camera-overlay.tsx +0 -0
  1163. /package/src/{camera → ui-components/camera}/index.tsx +0 -0
  1164. /package/src/{camera → ui-components/camera}/qr-code-scanner.tsx +0 -0
  1165. /package/src/{control → ui-components/control}/checkbox.stories.tsx +0 -0
  1166. /package/src/{control → ui-components/control}/checkbox.tsx +0 -0
  1167. /package/src/{control → ui-components/control}/index.ts +0 -0
  1168. /package/src/{control → ui-components/control}/switch.stories.tsx +0 -0
  1169. /package/src/{control → ui-components/control}/switch.tsx +0 -0
  1170. /package/src/{credential → ui-components/credential}/card/credential-details-list-item.tsx +0 -0
  1171. /package/src/{credential → ui-components/credential}/credential-carousel-images.tsx +0 -0
  1172. /package/src/{credential → ui-components/credential}/index.ts +0 -0
  1173. /package/src/{credential → ui-components/credential}/selector-status.ts +0 -0
  1174. /package/src/{credential → ui-components/credential}/selector.stories.tsx +0 -0
  1175. /package/src/{detail → ui-components/detail}/index.tsx +0 -0
  1176. /package/src/{entity → ui-components/entity}/avatar.stories.tsx +0 -0
  1177. /package/src/{entity → ui-components/entity}/entity-cluster.stories.tsx +0 -0
  1178. /package/src/{entity → ui-components/entity}/index.ts +0 -0
  1179. /package/src/{header → ui-components/header}/focus-aware-status-bar.tsx +0 -0
  1180. /package/src/{header → ui-components/header}/foldable-header.tsx +0 -0
  1181. /package/src/{header → ui-components/header}/index.ts +0 -0
  1182. /package/src/{history → ui-components/history}/history-section-list-item.tsx +0 -0
  1183. /package/src/{history → ui-components/history}/index.ts +0 -0
  1184. /package/src/{icons → ui-components/icons}/connectivity.tsx +0 -0
  1185. /package/src/{icons → ui-components/icons}/credential.tsx +0 -0
  1186. /package/src/{icons → ui-components/icons}/history.tsx +0 -0
  1187. /package/src/{icons → ui-components/icons}/icons.tsx +0 -0
  1188. /package/src/{icons → ui-components/icons}/index.ts +0 -0
  1189. /package/src/{icons → ui-components/icons}/input.tsx +0 -0
  1190. /package/src/{icons → ui-components/icons}/keypad.tsx +0 -0
  1191. /package/src/{icons → ui-components/icons}/loader.tsx +0 -0
  1192. /package/src/{icons → ui-components/icons}/nerd-view.tsx +0 -0
  1193. /package/src/{icons → ui-components/icons}/selector.tsx +0 -0
  1194. /package/src/{icons → ui-components/icons}/wallet.tsx +0 -0
  1195. /package/src/{image → ui-components/image}/image-or-component.tsx +0 -0
  1196. /package/src/{image → ui-components/image}/index.tsx +0 -0
  1197. /package/src/{input → ui-components/input}/index.ts +0 -0
  1198. /package/src/{input → ui-components/input}/radio-group.tsx +0 -0
  1199. /package/src/{input → ui-components/input}/selection-input.stories.tsx +0 -0
  1200. /package/src/{list → ui-components/list}/index.ts +0 -0
  1201. /package/src/{list → ui-components/list}/list-section-header.tsx +0 -0
  1202. /package/src/{list → ui-components/list}/list-title-header.tsx +0 -0
  1203. /package/src/{loader → ui-components/loader}/index.ts +0 -0
  1204. /package/src/{loader → ui-components/loader}/loader.stories.tsx +0 -0
  1205. /package/src/{loader → ui-components/loader}/loading-result.stories.tsx +0 -0
  1206. /package/src/{loader → ui-components/loader}/loading-result.tsx +0 -0
  1207. /package/src/{nerd-view → ui-components/nerd-view}/index.ts +0 -0
  1208. /package/src/{pin → ui-components/pin}/pin-code-screen.stories.tsx +0 -0
  1209. /package/src/{pin → ui-components/pin}/pins.tsx +0 -0
  1210. /package/src/{screens → ui-components/screens}/index.ts +0 -0
  1211. /package/src/{searchbar → ui-components/searchbar}/animated-search-bar.tsx +0 -0
  1212. /package/src/{searchbar → ui-components/searchbar}/index.ts +0 -0
  1213. /package/src/{searchbar → ui-components/searchbar}/search-bar.stories.tsx +0 -0
  1214. /package/src/{settings → ui-components/settings}/button-setting.tsx +0 -0
  1215. /package/src/{settings → ui-components/settings}/index.ts +0 -0
  1216. /package/src/{settings → ui-components/settings}/setting-item-separator.tsx +0 -0
  1217. /package/src/{settings → ui-components/settings}/setting-item.tsx +0 -0
  1218. /package/src/{settings → ui-components/settings}/settings-button.tsx +0 -0
  1219. /package/src/{settings → ui-components/settings}/switch-setting.tsx +0 -0
  1220. /package/src/{state → ui-components/state}/error-screen.stories.tsx +0 -0
  1221. /package/src/{state → ui-components/state}/error-screen.tsx +0 -0
  1222. /package/src/{state → ui-components/state}/index.ts +0 -0
  1223. /package/src/{text → ui-components/text}/base.tsx +0 -0
  1224. /package/src/{text → ui-components/text}/font.ts +0 -0
  1225. /package/src/{text → ui-components/text}/index.ts +0 -0
  1226. /package/src/{text → ui-components/text}/typography.tsx +0 -0
  1227. /package/src/{theme → ui-components/theme}/color-scheme-context.tsx +0 -0
  1228. /package/src/{theme → ui-components/theme}/color-scheme.ts +0 -0
  1229. /package/src/{theme → ui-components/theme}/index.ts +0 -0
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "CarouselImage", {
7
- enumerable: true,
8
- get: function () {
9
- return _credentialImageCarousel.CarouselImage;
10
- }
11
- });
12
- Object.defineProperty(exports, "CarouselImageType", {
13
- enumerable: true,
14
- get: function () {
15
- return _credentialImageCarousel.CarouselImageType;
16
- }
17
- });
18
- Object.defineProperty(exports, "CredentialCard", {
19
- enumerable: true,
20
- get: function () {
21
- return _credentialCard.default;
22
- }
23
- });
24
- Object.defineProperty(exports, "CredentialCardProps", {
25
- enumerable: true,
26
- get: function () {
27
- return _credentialCard.CredentialCardProps;
28
- }
29
- });
30
- Object.defineProperty(exports, "CredentialCardRatio", {
31
- enumerable: true,
32
- get: function () {
33
- return _credentialCard.CredentialCardRatio;
34
- }
35
- });
36
- Object.defineProperty(exports, "CredentialCardShadow", {
37
- enumerable: true,
38
- get: function () {
39
- return _credentialCard.CredentialCardShadow;
40
- }
41
- });
42
- Object.defineProperty(exports, "CredentialDetailsCard", {
43
- enumerable: true,
44
- get: function () {
45
- return _credentialDetailsCard.default;
46
- }
47
- });
48
- Object.defineProperty(exports, "CredentialDetailsCardListItem", {
49
- enumerable: true,
50
- get: function () {
51
- return _credentialDetailsListItem.default;
52
- }
53
- });
54
- Object.defineProperty(exports, "CredentialDetailsCardListItemProps", {
55
- enumerable: true,
56
- get: function () {
57
- return _credentialDetailsListItem.CredentialDetailsCardListItemProps;
58
- }
59
- });
60
- Object.defineProperty(exports, "CredentialDetailsCardProps", {
61
- enumerable: true,
62
- get: function () {
63
- return _credentialDetailsCard.CredentialDetailsCardProps;
64
- }
65
- });
66
- Object.defineProperty(exports, "CredentialHeader", {
67
- enumerable: true,
68
- get: function () {
69
- return _credentialHeader.default;
70
- }
71
- });
72
- Object.defineProperty(exports, "CredentialHeaderProps", {
73
- enumerable: true,
74
- get: function () {
75
- return _credentialHeader.CredentialHeaderProps;
76
- }
77
- });
78
- var _credentialCard = _interopRequireWildcard(require("./credential-card"));
79
- var _credentialDetailsCard = _interopRequireWildcard(require("./credential-details-card"));
80
- var _credentialDetailsListItem = _interopRequireWildcard(require("./credential-details-list-item"));
81
- var _credentialHeader = _interopRequireWildcard(require("./credential-header"));
82
- var _credentialImageCarousel = require("./credential-image-carousel");
83
- 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); }
84
- 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; }
85
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_credentialCard","_interopRequireWildcard","require","_credentialDetailsCard","_credentialDetailsListItem","_credentialHeader","_credentialImageCarousel","_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 CredentialCard, { CredentialCardProps, CredentialCardRatio, CredentialCardShadow } from './credential-card';\nimport CredentialDetailsCard, { CredentialDetailsCardProps } from './credential-details-card';\nimport CredentialDetailsCardListItem, { CredentialDetailsCardListItemProps } from './credential-details-list-item';\nimport CredentialHeader, { CredentialHeaderProps } from './credential-header';\nimport { CarouselImage, CarouselImageType } from './credential-image-carousel';\n\nexport { CarouselImage, CarouselImageType };\nexport { CredentialCard, CredentialCardProps, CredentialCardRatio, CredentialCardShadow };\nexport { CredentialDetailsCard, CredentialDetailsCardProps };\nexport { CredentialDetailsCardListItem, CredentialDetailsCardListItemProps };\nexport { CredentialHeader, CredentialHeaderProps };\n"],"mappings":";;;;;;;;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AAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
@@ -1,289 +0,0 @@
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
- var _accessibilityHistoryWrappers = require("../accessibility/accessibilityHistoryWrappers");
10
- var _typography = _interopRequireDefault(require("../text/typography"));
11
- var _colorSchemeContext = require("../theme/color-scheme-context");
12
- var _color = require("../utils/color");
13
- var _testID = require("../utils/testID");
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- 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); }
16
- 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; }
17
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
18
- const CredentialAttributeItemButton = _ref => {
19
- let {
20
- children,
21
- disabled,
22
- id,
23
- onPress,
24
- selected
25
- } = _ref;
26
- const colorScheme = (0, _colorSchemeContext.useAppColorScheme)();
27
- const pressHandler = (0, _react.useCallback)(() => {
28
- if (!onPress) {
29
- return;
30
- }
31
- onPress(id, !selected);
32
- }, [onPress, id, selected]);
33
- if (!onPress) {
34
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
35
- style: styles.touchableAttribute
36
- }, children);
37
- }
38
- if (selected) {
39
- return /*#__PURE__*/_react.default.createElement(_accessibilityHistoryWrappers.TouchableOpacity, {
40
- activeOpacity: 0.8,
41
- disabled: disabled,
42
- onPress: pressHandler,
43
- style: [styles.touchableAttribute, {
44
- backgroundColor: colorScheme.background
45
- }]
46
- }, children);
47
- }
48
- return /*#__PURE__*/_react.default.createElement(_accessibilityHistoryWrappers.TouchableHighlight, {
49
- disabled: disabled,
50
- onPress: pressHandler,
51
- underlayColor: (0, _color.colorWithAlphaComponent)(colorScheme.background, 0.5),
52
- style: styles.touchableAttribute
53
- }, children);
54
- };
55
- const IMAGE_SIZE = 64;
56
- const CredentialAttributeItem = _ref2 => {
57
- let {
58
- attributes,
59
- disabled,
60
- id,
61
- image,
62
- last,
63
- name,
64
- onImagePreview,
65
- onPress,
66
- rightAccessory,
67
- nested = false,
68
- listValue = false,
69
- selected,
70
- style,
71
- testID,
72
- value,
73
- values,
74
- valueErrorColor
75
- } = _ref2;
76
- const colorScheme = (0, _colorSchemeContext.useAppColorScheme)();
77
- const imagePreviewHandler = (0, _react.useCallback)(() => {
78
- if (!onImagePreview || !image) {
79
- return;
80
- }
81
- onImagePreview(name !== null && name !== void 0 ? name : '', image);
82
- }, [image, name, onImagePreview]);
83
- const rightAccessoryView = (0, _react.useMemo)(() => {
84
- if (!rightAccessory) {
85
- return undefined;
86
- }
87
- if ( /*#__PURE__*/_react.default.isValidElement(rightAccessory)) {
88
- return rightAccessory;
89
- } else {
90
- const RightAccessoryComponent = rightAccessory;
91
- return /*#__PURE__*/_react.default.createElement(RightAccessoryComponent, null);
92
- }
93
- }, [rightAccessory]);
94
- const isObject = attributes && attributes.length > 0;
95
- const isArray = values && values.length > 0;
96
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
97
- style: [!nested && styles.attributeItemContainer, style],
98
- testID: testID
99
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
100
- style: styles.attributeItemRow
101
- }, /*#__PURE__*/_react.default.createElement(CredentialAttributeItemButton, {
102
- disabled: disabled,
103
- id: id,
104
- onPress: onPress,
105
- selected: selected
106
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
107
- style: [styles.dataItemButtonChildren]
108
- }, (isObject || isArray || listValue) && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
109
- style: styles.decorator
110
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
111
- style: [styles.decoratorCircle, listValue ? styles.listDecoratorCircle : undefined, listValue && image ? styles.listImageDecoratorCircle : undefined, {
112
- backgroundColor: colorScheme.text
113
- }]
114
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
115
- style: [styles.decoratorCircleInner, {
116
- backgroundColor: colorScheme.text,
117
- borderColor: colorScheme.background
118
- }]
119
- })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
120
- style: [styles.decoratorLine, listValue ? styles.listDecoratorLine : undefined, listValue && value ? styles.listStringValueDecoratorLine : undefined, listValue && image ? styles.listImageDecoratorLine : undefined, {
121
- backgroundColor: colorScheme.text
122
- }]
123
- })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
124
- style: [isObject || isArray || listValue ? styles.objectAttributeItem : styles.attributeItem, nested && styles.nestedAttributeItem]
125
- }, name && /*#__PURE__*/_react.default.createElement(_typography.default, {
126
- color: colorScheme.text,
127
- preset: image ? 'xs' : 'xs/line-height-small',
128
- style: isObject || isArray ? styles.nestedObjectLabel : styles.dataItemLabel,
129
- testID: (0, _testID.concatTestID)(testID, 'title')
130
- }, name), image && /*#__PURE__*/_react.default.createElement(_accessibilityHistoryWrappers.TouchableOpacity, {
131
- disabled: !onImagePreview,
132
- onPress: imagePreviewHandler,
133
- style: [styles.dataItemImageWrapper, listValue ? styles.listValue : undefined]
134
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
135
- resizeMode: "cover",
136
- testID: (0, _testID.concatTestID)(testID, 'image'),
137
- source: image,
138
- style: styles.dataItemImage
139
- })), value && /*#__PURE__*/_react.default.createElement(_typography.default, {
140
- color: valueErrorColor ? colorScheme.error : colorScheme.text,
141
- numberOfLines: 10,
142
- preset: "s",
143
- style: listValue ? styles.listValue : undefined,
144
- testID: (0, _testID.concatTestID)(testID, 'value')
145
- }, value), isObject && attributes.map((attribute, index, _ref3) => {
146
- let {
147
- length
148
- } = _ref3;
149
- return /*#__PURE__*/_react.default.createElement(CredentialAttributeItem, _extends({
150
- nested: true,
151
- key: attribute.id,
152
- onPress: onPress,
153
- last: index === length - 1,
154
- onImagePreview: onImagePreview
155
- }, attribute));
156
- }), isArray && values.map((arrayValue, index, _ref4) => {
157
- let {
158
- length
159
- } = _ref4;
160
- return /*#__PURE__*/_react.default.createElement(CredentialAttributeItem, _extends({
161
- key: arrayValue.id,
162
- onPress: onPress,
163
- last: index === length - 1,
164
- onImagePreview: onImagePreview,
165
- listValue: true
166
- }, arrayValue, {
167
- name: undefined
168
- }));
169
- }), /*#__PURE__*/_react.default.createElement(_reactNative.View, null)), rightAccessoryView && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
170
- style: [styles.rightAccessory, isObject && styles.objectAccessory]
171
- }, rightAccessoryView)))), !last && !nested && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
172
- style: [styles.separator, {
173
- backgroundColor: colorScheme.background
174
- }]
175
- }));
176
- };
177
- const styles = _reactNative.StyleSheet.create({
178
- attributeItem: {
179
- flex: 1,
180
- paddingLeft: 8
181
- },
182
- attributeItemContainer: {
183
- marginTop: 2
184
- },
185
- attributeItemRow: {
186
- flexDirection: 'row'
187
- },
188
- dataItemButtonChildren: {
189
- alignItems: 'center',
190
- flexDirection: 'row'
191
- },
192
- dataItemImage: {
193
- height: IMAGE_SIZE,
194
- width: IMAGE_SIZE
195
- },
196
- dataItemImageWrapper: {
197
- borderColor: '#0004',
198
- borderRadius: 4,
199
- borderWidth: 0.5,
200
- height: IMAGE_SIZE,
201
- marginTop: 4,
202
- overflow: 'hidden',
203
- width: IMAGE_SIZE
204
- },
205
- dataItemLabel: {
206
- marginBottom: 4,
207
- opacity: 0.7
208
- },
209
- decorator: {
210
- height: '100%',
211
- justifyContent: 'center',
212
- left: 8,
213
- position: 'absolute'
214
- },
215
- decoratorCircle: {
216
- alignItems: 'center',
217
- borderRadius: 3.5,
218
- borderWidth: 1,
219
- height: 7,
220
- justifyContent: 'center',
221
- position: 'absolute',
222
- top: 6,
223
- width: 7
224
- },
225
- decoratorCircleInner: {
226
- borderRadius: 2,
227
- borderWidth: 1,
228
- height: 4,
229
- width: 4
230
- },
231
- decoratorLine: {
232
- bottom: 12,
233
- left: 3,
234
- position: 'absolute',
235
- top: 13,
236
- width: 1
237
- },
238
- listDecoratorCircle: {
239
- top: 18
240
- },
241
- listDecoratorLine: {
242
- top: 25
243
- },
244
- listImageDecoratorCircle: {
245
- top: 32
246
- },
247
- listImageDecoratorLine: {
248
- bottom: 40,
249
- top: 39
250
- },
251
- listStringValueDecoratorLine: {
252
- bottom: 24
253
- },
254
- listValue: {
255
- marginLeft: 13,
256
- paddingVertical: 10
257
- },
258
- nestedAttributeItem: {
259
- paddingLeft: 12
260
- },
261
- nestedObjectLabel: {
262
- opacity: 0.7,
263
- paddingLeft: 13
264
- },
265
- objectAccessory: {
266
- alignSelf: 'flex-start'
267
- },
268
- objectAttributeItem: {
269
- alignItems: 'stretch',
270
- flex: 1,
271
- paddingLeft: 12
272
- },
273
- rightAccessory: {
274
- paddingHorizontal: 8
275
- },
276
- separator: {
277
- height: 1,
278
- marginHorizontal: 8,
279
- marginTop: -1
280
- },
281
- touchableAttribute: {
282
- borderRadius: 8,
283
- flex: 1,
284
- paddingVertical: 11
285
- }
286
- });
287
- var _default = CredentialAttributeItem;
288
- exports.default = _default;
289
- //# sourceMappingURL=credential-attribute-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_accessibilityHistoryWrappers","_typography","_interopRequireDefault","_colorSchemeContext","_color","_testID","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","CredentialAttributeItemButton","_ref","children","disabled","id","onPress","selected","colorScheme","useAppColorScheme","pressHandler","useCallback","createElement","View","style","styles","touchableAttribute","TouchableOpacity","activeOpacity","backgroundColor","background","TouchableHighlight","underlayColor","colorWithAlphaComponent","IMAGE_SIZE","CredentialAttributeItem","_ref2","attributes","image","last","name","onImagePreview","rightAccessory","nested","listValue","testID","value","values","valueErrorColor","imagePreviewHandler","rightAccessoryView","useMemo","undefined","React","isValidElement","RightAccessoryComponent","isObject","isArray","attributeItemContainer","attributeItemRow","dataItemButtonChildren","decorator","decoratorCircle","listDecoratorCircle","listImageDecoratorCircle","text","decoratorCircleInner","borderColor","decoratorLine","listDecoratorLine","listStringValueDecoratorLine","listImageDecoratorLine","objectAttributeItem","attributeItem","nestedAttributeItem","color","preset","nestedObjectLabel","dataItemLabel","concatTestID","dataItemImageWrapper","Image","resizeMode","dataItemImage","error","numberOfLines","map","attribute","index","_ref3","arrayValue","_ref4","objectAccessory","separator","StyleSheet","create","flex","paddingLeft","marginTop","flexDirection","alignItems","height","width","borderRadius","borderWidth","overflow","marginBottom","opacity","justifyContent","left","position","top","bottom","marginLeft","paddingVertical","alignSelf","paddingHorizontal","marginHorizontal","_default","exports"],"sources":["credential-attribute-item.tsx"],"sourcesContent":["import React, { ComponentType, FC, PropsWithChildren, ReactElement, useCallback, useMemo } from 'react';\nimport { Image, ImageSourcePropType, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\n\nimport { TouchableHighlight, TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';\nimport Typography from '../text/typography';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\nimport { colorWithAlphaComponent } from '../utils/color';\nimport { concatTestID } from '../utils/testID';\n\ntype CredentialAttributeItemButtonProps = {\n disabled?: boolean;\n id: string;\n onPress?: (id: string, selected: boolean) => void;\n selected?: boolean;\n};\n\nconst CredentialAttributeItemButton: FC<PropsWithChildren<CredentialAttributeItemButtonProps>> = ({\n children,\n disabled,\n id,\n onPress,\n selected,\n}) => {\n const colorScheme = useAppColorScheme();\n\n const pressHandler = useCallback(() => {\n if (!onPress) {\n return;\n }\n onPress(id, !selected);\n }, [onPress, id, selected]);\n\n if (!onPress) {\n return <View style={styles.touchableAttribute}>{children}</View>;\n }\n\n if (selected) {\n return (\n <TouchableOpacity\n activeOpacity={0.8}\n disabled={disabled}\n onPress={pressHandler}\n style={[styles.touchableAttribute, { backgroundColor: colorScheme.background }]}>\n {children}\n </TouchableOpacity>\n );\n }\n\n return (\n <TouchableHighlight\n disabled={disabled}\n onPress={pressHandler}\n underlayColor={colorWithAlphaComponent(colorScheme.background, 0.5)}\n style={styles.touchableAttribute}>\n {children}\n </TouchableHighlight>\n );\n};\n\nconst IMAGE_SIZE = 64;\n\nexport type CredentialAttributeValue =\n | {\n attributes: CredentialAttribute[];\n image?: never;\n value?: never;\n values?: never;\n valueErrorColor?: never;\n testID?: string;\n }\n | {\n attributes?: never;\n image: ImageSourcePropType;\n value?: never;\n values?: never;\n valueErrorColor?: never;\n testID?: string;\n }\n | {\n attributes?: never;\n image?: never;\n value: string;\n values?: never;\n valueErrorColor?: boolean;\n testID?: string;\n }\n | {\n attributes?: never;\n image?: never;\n value?: never;\n values: CredentialAttribute[];\n valueErrorColor?: boolean;\n testID?: string;\n };\n\nexport type CredentialAttribute = CredentialAttributeValue & {\n disabled?: boolean;\n selected?: boolean;\n nested?: boolean;\n listValue?: boolean;\n id: string;\n name?: string;\n rightAccessory?: ComponentType<any> | ReactElement;\n};\n\nexport type CredentialAttributeItemProps = CredentialAttribute & {\n last: boolean | undefined;\n onImagePreview?: (name: string, image: ImageSourcePropType) => void;\n onPress?: (id: string, selected: boolean) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nconst CredentialAttributeItem: FC<CredentialAttributeItemProps> = ({\n attributes,\n disabled,\n id,\n image,\n last,\n name,\n onImagePreview,\n onPress,\n rightAccessory,\n nested = false,\n listValue = false,\n selected,\n style,\n testID,\n value,\n values,\n valueErrorColor,\n}) => {\n const colorScheme = useAppColorScheme();\n\n const imagePreviewHandler = useCallback(() => {\n if (!onImagePreview || !image) {\n return;\n }\n onImagePreview(name ?? '', image);\n }, [image, name, onImagePreview]);\n\n const rightAccessoryView: React.ReactElement | undefined = useMemo(() => {\n if (!rightAccessory) {\n return undefined;\n }\n if (React.isValidElement(rightAccessory)) {\n return rightAccessory;\n } else {\n const RightAccessoryComponent = rightAccessory as React.ComponentType<any>;\n return <RightAccessoryComponent />;\n }\n }, [rightAccessory]);\n\n const isObject = attributes && attributes.length > 0;\n const isArray = values && values.length > 0;\n\n return (\n <View style={[!nested && styles.attributeItemContainer, style]} testID={testID}>\n <View style={styles.attributeItemRow}>\n <CredentialAttributeItemButton disabled={disabled} id={id} onPress={onPress} selected={selected}>\n <View style={[styles.dataItemButtonChildren]}>\n {(isObject || isArray || listValue) && (\n <View style={styles.decorator}>\n <View\n style={[\n styles.decoratorCircle,\n listValue ? styles.listDecoratorCircle : undefined,\n listValue && image ? styles.listImageDecoratorCircle : undefined,\n { backgroundColor: colorScheme.text },\n ]}>\n <View\n style={[\n styles.decoratorCircleInner,\n { backgroundColor: colorScheme.text, borderColor: colorScheme.background },\n ]}\n />\n </View>\n <View\n style={[\n styles.decoratorLine,\n listValue ? styles.listDecoratorLine : undefined,\n listValue && value ? styles.listStringValueDecoratorLine : undefined,\n listValue && image ? styles.listImageDecoratorLine : undefined,\n { backgroundColor: colorScheme.text },\n ]}\n />\n </View>\n )}\n <View\n style={[\n isObject || isArray || listValue ? styles.objectAttributeItem : styles.attributeItem,\n nested && styles.nestedAttributeItem,\n ]}>\n {name && (\n <Typography\n color={colorScheme.text}\n preset={image ? 'xs' : 'xs/line-height-small'}\n style={isObject || isArray ? styles.nestedObjectLabel : styles.dataItemLabel}\n testID={concatTestID(testID, 'title')}>\n {name}\n </Typography>\n )}\n {image && (\n <TouchableOpacity\n disabled={!onImagePreview}\n onPress={imagePreviewHandler}\n style={[styles.dataItemImageWrapper, listValue ? styles.listValue : undefined]}>\n <Image\n resizeMode=\"cover\"\n testID={concatTestID(testID, 'image')}\n source={image}\n style={styles.dataItemImage}\n />\n </TouchableOpacity>\n )}\n {value && (\n <Typography\n color={valueErrorColor ? colorScheme.error : colorScheme.text}\n numberOfLines={10}\n preset=\"s\"\n style={listValue ? styles.listValue : undefined}\n testID={concatTestID(testID, 'value')}>\n {value}\n </Typography>\n )}\n {isObject &&\n attributes.map((attribute, index, { length }) => (\n <CredentialAttributeItem\n nested={true}\n key={attribute.id}\n onPress={onPress}\n last={index === length - 1}\n onImagePreview={onImagePreview}\n {...attribute}\n />\n ))}\n {isArray &&\n values.map((arrayValue, index, { length }) => (\n <CredentialAttributeItem\n key={arrayValue.id}\n onPress={onPress}\n last={index === length - 1}\n onImagePreview={onImagePreview}\n listValue={true}\n {...arrayValue}\n name={undefined}\n />\n ))}\n <View />\n </View>\n {rightAccessoryView && (\n <View style={[styles.rightAccessory, isObject && styles.objectAccessory]}>{rightAccessoryView}</View>\n )}\n </View>\n </CredentialAttributeItemButton>\n </View>\n {!last && !nested && <View style={[styles.separator, { backgroundColor: colorScheme.background }]} />}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n attributeItem: {\n flex: 1,\n paddingLeft: 8,\n },\n attributeItemContainer: {\n marginTop: 2,\n },\n attributeItemRow: {\n flexDirection: 'row',\n },\n dataItemButtonChildren: {\n alignItems: 'center',\n flexDirection: 'row',\n },\n dataItemImage: {\n height: IMAGE_SIZE,\n width: IMAGE_SIZE,\n },\n dataItemImageWrapper: {\n borderColor: '#0004',\n borderRadius: 4,\n borderWidth: 0.5,\n height: IMAGE_SIZE,\n marginTop: 4,\n overflow: 'hidden',\n width: IMAGE_SIZE,\n },\n dataItemLabel: {\n marginBottom: 4,\n opacity: 0.7,\n },\n decorator: {\n height: '100%',\n justifyContent: 'center',\n left: 8,\n position: 'absolute',\n },\n decoratorCircle: {\n alignItems: 'center',\n borderRadius: 3.5,\n borderWidth: 1,\n height: 7,\n justifyContent: 'center',\n position: 'absolute',\n top: 6,\n width: 7,\n },\n decoratorCircleInner: {\n borderRadius: 2,\n borderWidth: 1,\n height: 4,\n width: 4,\n },\n decoratorLine: {\n bottom: 12,\n left: 3,\n position: 'absolute',\n top: 13,\n width: 1,\n },\n listDecoratorCircle: {\n top: 18,\n },\n listDecoratorLine: {\n top: 25,\n },\n listImageDecoratorCircle: {\n top: 32,\n },\n listImageDecoratorLine: {\n bottom: 40,\n top: 39,\n },\n listStringValueDecoratorLine: {\n bottom: 24,\n },\n listValue: {\n marginLeft: 13,\n paddingVertical: 10,\n },\n nestedAttributeItem: {\n paddingLeft: 12,\n },\n nestedObjectLabel: {\n opacity: 0.7,\n paddingLeft: 13,\n },\n objectAccessory: {\n alignSelf: 'flex-start',\n },\n objectAttributeItem: {\n alignItems: 'stretch',\n flex: 1,\n paddingLeft: 12,\n },\n rightAccessory: {\n paddingHorizontal: 8,\n },\n separator: {\n height: 1,\n marginHorizontal: 8,\n marginTop: -1,\n },\n touchableAttribute: {\n borderRadius: 8,\n flex: 1,\n paddingVertical: 11,\n },\n});\n\nexport default CredentialAttributeItem;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAA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
- "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
- var _selector = require("../icons/selector");
10
- var _theme = require("../theme");
11
- var _testID = require("../utils/testID");
12
- var _selectorStatus = require("./selector-status");
13
- 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); }
14
- 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; }
15
- /**
16
- * Generic selector display
17
- *
18
- * Following the design: https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=433-28352&mode=design&t=91K8am4RSNRB8qgZ-0
19
- */
20
- const Selector = _ref => {
21
- let {
22
- status,
23
- style,
24
- testID
25
- } = _ref;
26
- const colorScheme = (0, _theme.useAppColorScheme)();
27
- const statusStyle = (0, _react.useMemo)(() => {
28
- switch (status) {
29
- case _selectorStatus.SelectorStatus.Empty:
30
- return [styles.bordered, {
31
- backgroundColor: colorScheme.white,
32
- borderColor: colorScheme.grayDark
33
- }];
34
- case _selectorStatus.SelectorStatus.SelectedRadio:
35
- return [styles.selectedRadio, {
36
- backgroundColor: colorScheme.white,
37
- borderColor: colorScheme.accent
38
- }];
39
- case _selectorStatus.SelectorStatus.SelectedCheckmark:
40
- return {
41
- backgroundColor: colorScheme.accent
42
- };
43
- case _selectorStatus.SelectorStatus.Disabled:
44
- return [styles.bordered, {
45
- backgroundColor: colorScheme.background,
46
- borderColor: colorScheme.grayDark
47
- }];
48
- default:
49
- return undefined;
50
- }
51
- }, [colorScheme, status]);
52
- const checked = status === _selectorStatus.SelectorStatus.SelectedCheckmark || status === _selectorStatus.SelectorStatus.Required;
53
- const rejected = status === _selectorStatus.SelectorStatus.Rejected;
54
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
55
- testID: testID,
56
- style: [styles.wrapper, statusStyle, style]
57
- }, (checked || rejected) && /*#__PURE__*/_react.default.createElement(_selector.SelectorIcon, {
58
- testID: (0, _testID.concatTestID)(testID, 'status', status),
59
- status: status
60
- }));
61
- };
62
- const styles = _reactNative.StyleSheet.create({
63
- bordered: {
64
- borderWidth: 1
65
- },
66
- selectedRadio: {
67
- borderWidth: 8
68
- },
69
- wrapper: {
70
- alignItems: 'center',
71
- borderRadius: 12,
72
- height: 24,
73
- justifyContent: 'center',
74
- width: 24
75
- }
76
- });
77
- var _default = Selector;
78
- exports.default = _default;
79
- //# sourceMappingURL=selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_selector","_theme","_testID","_selectorStatus","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","Selector","_ref","status","style","testID","colorScheme","useAppColorScheme","statusStyle","useMemo","SelectorStatus","Empty","styles","bordered","backgroundColor","white","borderColor","grayDark","SelectedRadio","selectedRadio","accent","SelectedCheckmark","Disabled","background","undefined","checked","Required","rejected","Rejected","createElement","View","wrapper","SelectorIcon","concatTestID","StyleSheet","create","borderWidth","alignItems","borderRadius","height","justifyContent","width","_default","exports"],"sources":["selector.tsx"],"sourcesContent":["import React, { FC, useMemo } from 'react';\nimport { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\n\nimport { SelectorIcon } from '../icons/selector';\nimport { useAppColorScheme } from '../theme';\nimport { concatTestID } from '../utils/testID';\nimport { SelectorStatus } from './selector-status';\n\ninterface SelectorProps {\n status: SelectorStatus;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * Generic selector display\n *\n * Following the design: https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=433-28352&mode=design&t=91K8am4RSNRB8qgZ-0\n */\nconst Selector: FC<SelectorProps> = ({ status, style, testID }) => {\n const colorScheme = useAppColorScheme();\n\n const statusStyle = useMemo<StyleProp<ViewStyle>>(() => {\n switch (status) {\n case SelectorStatus.Empty:\n return [styles.bordered, { backgroundColor: colorScheme.white, borderColor: colorScheme.grayDark }];\n case SelectorStatus.SelectedRadio:\n return [styles.selectedRadio, { backgroundColor: colorScheme.white, borderColor: colorScheme.accent }];\n case SelectorStatus.SelectedCheckmark:\n return { backgroundColor: colorScheme.accent };\n case SelectorStatus.Disabled:\n return [styles.bordered, { backgroundColor: colorScheme.background, borderColor: colorScheme.grayDark }];\n default:\n return undefined;\n }\n }, [colorScheme, status]);\n\n const checked = status === SelectorStatus.SelectedCheckmark || status === SelectorStatus.Required;\n const rejected = status === SelectorStatus.Rejected;\n\n return (\n <View testID={testID} style={[styles.wrapper, statusStyle, style]}>\n {(checked || rejected) && <SelectorIcon testID={concatTestID(testID, 'status', status)} status={status} />}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n bordered: {\n borderWidth: 1,\n },\n selectedRadio: {\n borderWidth: 8,\n },\n wrapper: {\n alignItems: 'center',\n borderRadius: 12,\n height: 24,\n justifyContent: 'center',\n width: 24,\n },\n});\n\nexport default Selector;\n"],"mappings":";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D,YAAA,CAAAwD,IAAI;IAACzB,MAAM,EAAEA,MAAO;IAACD,KAAK,EAAE,CAACQ,MAAM,CAACmB,OAAO,EAAEvB,WAAW,EAAEJ,KAAK;EAAE,GAC/D,CAACqB,OAAO,IAAIE,QAAQ,kBAAKxD,MAAA,CAAAe,OAAA,CAAA2C,aAAA,CAACtD,SAAA,CAAAyD,YAAY;IAAC3B,MAAM,EAAE,IAAA4B,oBAAY,EAAC5B,MAAM,EAAE,QAAQ,EAAEF,MAAM,CAAE;IAACA,MAAM,EAAEA;EAAO,EAAG,CACrG;AAEX,CAAC;AAED,MAAMS,MAAM,GAAGsB,uBAAU,CAACC,MAAM,CAAC;EAC/BtB,QAAQ,EAAE;IACRuB,WAAW,EAAE;EACf,CAAC;EACDjB,aAAa,EAAE;IACbiB,WAAW,EAAE;EACf,CAAC;EACDL,OAAO,EAAE;IACPM,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE,EAAE;IAChBC,MAAM,EAAE,EAAE;IACVC,cAAc,EAAE,QAAQ;IACxBC,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAEYzC,QAAQ;AAAA0C,OAAA,CAAAzD,OAAA,GAAAwD,QAAA"}
@@ -1,84 +0,0 @@
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
- var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
10
- var _header = require("../header");
11
- var _theme = require("../theme");
12
- var _testID = require("../utils/testID");
13
- 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); }
14
- 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; }
15
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
- const DetailScreen = _ref => {
17
- let {
18
- children,
19
- staticContent,
20
- contentStyle,
21
- testID,
22
- style,
23
- headerProps
24
- } = _ref;
25
- const colorScheme = (0, _theme.useAppColorScheme)();
26
- const insets = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
27
- const bottomPadding = Math.max(insets.bottom, 24);
28
- const [layoutHeight, setLayoutHeight] = (0, _react.useState)(0);
29
- const layoutHandler = (0, _react.useCallback)(event => {
30
- setLayoutHeight(event.nativeEvent.layout.height);
31
- }, []);
32
- const [headerHeight, setHeaderHeight] = (0, _react.useState)(0);
33
- const headerLayoutHandler = (0, _react.useCallback)(event => {
34
- setHeaderHeight(event.nativeEvent.layout.height);
35
- }, []);
36
- const contentHeight = layoutHeight && headerHeight ? layoutHeight - headerHeight - insets.top : undefined;
37
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
38
- testID: testID,
39
- onLayout: layoutHandler,
40
- onAccessibilityEscape: () => {},
41
- style: [styles.container, {
42
- paddingTop: insets.top,
43
- backgroundColor: colorScheme.background
44
- }]
45
- }, /*#__PURE__*/_react.default.createElement(_header.Header, _extends({
46
- onLayout: headerLayoutHandler
47
- }, headerProps)), contentHeight ? staticContent ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
48
- testID: (0, _testID.concatTestID)(testID, 'content'),
49
- style: [styles.contentWrapper, styles.staticContent, {
50
- height: contentHeight
51
- }, style]
52
- }, children) : /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
53
- testID: (0, _testID.concatTestID)(testID, 'content'),
54
- showsVerticalScrollIndicator: false,
55
- alwaysBounceVertical: false,
56
- contentContainerStyle: {
57
- minHeight: contentHeight
58
- },
59
- style: style
60
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
61
- style: [styles.contentWrapper, styles.scrollableContent, {
62
- paddingBottom: bottomPadding
63
- }, contentStyle]
64
- }, children)) : null);
65
- };
66
- const styles = _reactNative.StyleSheet.create({
67
- container: {
68
- height: '100%',
69
- width: '100%'
70
- },
71
- contentWrapper: {
72
- paddingHorizontal: 24,
73
- paddingTop: 20
74
- },
75
- scrollableContent: {
76
- flex: 1
77
- },
78
- staticContent: {
79
- width: '100%'
80
- }
81
- });
82
- var _default = DetailScreen;
83
- exports.default = _default;
84
- //# sourceMappingURL=detail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeSafeAreaContext","_header","_theme","_testID","_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","DetailScreen","_ref","children","staticContent","contentStyle","testID","style","headerProps","colorScheme","useAppColorScheme","insets","useSafeAreaInsets","bottomPadding","Math","max","bottom","layoutHeight","setLayoutHeight","useState","layoutHandler","useCallback","event","nativeEvent","layout","height","headerHeight","setHeaderHeight","headerLayoutHandler","contentHeight","top","undefined","createElement","View","onLayout","onAccessibilityEscape","styles","container","paddingTop","backgroundColor","background","Header","concatTestID","contentWrapper","ScrollView","showsVerticalScrollIndicator","alwaysBounceVertical","contentContainerStyle","minHeight","scrollableContent","paddingBottom","StyleSheet","create","width","paddingHorizontal","flex","_default","exports"],"sources":["detail.tsx"],"sourcesContent":["import React, { FunctionComponent, PropsWithChildren, useCallback, useState } from 'react';\nimport { LayoutChangeEvent, ScrollView, ScrollViewProps, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\nimport { Header, HeaderProps } from '../header';\nimport { useAppColorScheme } from '../theme';\nimport { concatTestID } from '../utils/testID';\n\ntype StaticContentProps = {\n staticContent: true;\n};\n\ntype DynamicContentProps = {\n staticContent?: false;\n scrollViewProps?: ScrollViewProps;\n};\n\nexport type DetailScreenProps = {\n testID?: string;\n headerProps: HeaderProps;\n style?: StyleProp<ViewStyle>;\n contentStyle?: StyleProp<ViewStyle>;\n} & (StaticContentProps | DynamicContentProps);\n\nconst DetailScreen: FunctionComponent<PropsWithChildren<DetailScreenProps>> = ({\n children,\n staticContent,\n contentStyle,\n testID,\n style,\n headerProps,\n}) => {\n const colorScheme = useAppColorScheme();\n const insets = useSafeAreaInsets();\n const bottomPadding = Math.max(insets.bottom, 24);\n\n const [layoutHeight, setLayoutHeight] = useState<number>(0);\n const layoutHandler = useCallback((event: LayoutChangeEvent) => {\n setLayoutHeight(event.nativeEvent.layout.height);\n }, []);\n\n const [headerHeight, setHeaderHeight] = useState<number>(0);\n const headerLayoutHandler = useCallback((event: LayoutChangeEvent) => {\n setHeaderHeight(event.nativeEvent.layout.height);\n }, []);\n\n const contentHeight = layoutHeight && headerHeight ? layoutHeight - headerHeight - insets.top : undefined;\n\n return (\n <View\n testID={testID}\n onLayout={layoutHandler}\n onAccessibilityEscape={() => {}}\n style={[styles.container, { paddingTop: insets.top, backgroundColor: colorScheme.background }]}>\n <Header onLayout={headerLayoutHandler} {...headerProps} />\n {contentHeight ? (\n staticContent ? (\n <View\n testID={concatTestID(testID, 'content')}\n style={[styles.contentWrapper, styles.staticContent, { height: contentHeight }, style]}>\n {children}\n </View>\n ) : (\n <ScrollView\n testID={concatTestID(testID, 'content')}\n showsVerticalScrollIndicator={false}\n alwaysBounceVertical={false}\n contentContainerStyle={{ minHeight: contentHeight }}\n style={style}>\n <View\n style={[styles.contentWrapper, styles.scrollableContent, { paddingBottom: bottomPadding }, contentStyle]}>\n {children}\n </View>\n </ScrollView>\n )\n ) : null}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n height: '100%',\n width: '100%',\n },\n contentWrapper: {\n paddingHorizontal: 24,\n paddingTop: 20,\n },\n scrollableContent: {\n flex: 1,\n },\n staticContent: {\n width: '100%',\n },\n});\n\nexport default DetailScreen;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,2BAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAA+C,SAAAM,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,SAAAR,wBAAAY,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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