@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 +0,0 @@
1
- {"version":3,"names":["Picker","React","forwardRef","useCallback","useMemo","useState","focusAccessibility","TouchableOpacity","useAccessibilityTranslation","useAppColorScheme","useForwardedRef","TextInput","TextInputAccessory","SelectionInput","_ref","ref","_selectedChoice$short","selectedValue","values","label","pickerTitle","pickerConfirmLabel","pickerCancelLabel","onChange","error","props","t","colorScheme","selectedChoice","undefined","find","_ref2","value","forwardedRef","refObject","pickerOpen","setPickerOpen","onOpen","onConfirm","valueLabel","choice","_ref3","choiceLabel","setTimeout","current","onCancel","requestAnimationFrame","accessibilityLabel","createElement","_extends","accessibilityHint","accessibilityRole","accessibilityValue","text","onPress","accessory","Dropdown","disabled","pointerEvents","shortLabel","cancelText","confirmText","items","map","_ref4","itemLabel","modal","mode","open","textColor","title","displayName"],"sources":["selection-input.tsx"],"sourcesContent":["import Picker from '@procivis/react-native-picker';\nimport React, { forwardRef, useCallback, useMemo, useState } from 'react';\nimport type { TouchableOpacityProps } from 'react-native';\n\nimport { focusAccessibility } from '../accessibility/accessibility';\nimport { TouchableOpacity, TouchableOpacityRef } from '../accessibility/accessibilityHistoryWrappers';\nimport { useAccessibilityTranslation } from '../accessibility/accessibilityLanguage';\nimport { useAppColorScheme } from '../theme';\nimport { useForwardedRef } from '../utils/ref';\nimport TextInput, { TextInputAccessory } from './text-input';\n\nexport interface SelectionInputChoice {\n label: string;\n /**\n * If specified used in the input display, otherwise {@link label} used.\n * The {@link label} is always used for the picker values.\n */\n shortLabel?: string;\n value: string | number;\n}\n\nexport interface SelectionInputProps extends TouchableOpacityProps {\n error?: string;\n label: string;\n /**\n * Called when selection changes\n * @return `true` to avoid accessibility auto-focusing, `false` otherwise\n */\n onChange?: (value: SelectionInputChoice) => boolean;\n pickerCancelLabel: string;\n\n pickerConfirmLabel: string;\n pickerTitle?: string;\n /** {@link SelectionInputChoice.label} of the selected choice */\n selectedValue?: string | number;\n\n values: SelectionInputChoice[];\n}\n\n/**\n * Generic selection input component\n * @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=4%3A127&t=B2Y3PtJHH22XDPkx-0\n */\nconst SelectionInput = forwardRef<TouchableOpacityRef, SelectionInputProps>(\n (\n { selectedValue, values, label, pickerTitle, pickerConfirmLabel, pickerCancelLabel, onChange, error, ...props },\n ref,\n ) => {\n const t = useAccessibilityTranslation();\n const colorScheme = useAppColorScheme();\n const selectedChoice = useMemo(\n () => (selectedValue !== undefined ? values.find(({ value }) => value === selectedValue) : undefined),\n [selectedValue, values],\n );\n\n const [forwardedRef, refObject] = useForwardedRef(ref);\n const [pickerOpen, setPickerOpen] = useState(false);\n\n const onOpen = useCallback(() => setPickerOpen(true), []);\n const onConfirm = useCallback(\n (valueLabel: any) => {\n setPickerOpen(false);\n const choice = values.find(({ label: choiceLabel }) => choiceLabel === valueLabel);\n if (!choice || !onChange?.(choice)) {\n setTimeout(() => focusAccessibility(refObject.current), 200);\n }\n },\n [onChange, refObject, values],\n );\n const onCancel = useCallback(() => {\n setPickerOpen(false);\n requestAnimationFrame(() => focusAccessibility(refObject.current));\n }, [refObject]);\n\n const accessibilityLabel = error ? `${label}, ${error}` : label;\n return (\n <TouchableOpacity\n accessibilityHint={t('accessibility.control.combobox.tapToSelect')}\n accessibilityLabel={accessibilityLabel}\n accessibilityRole=\"combobox\"\n accessibilityValue={{ text: selectedChoice?.label }}\n onPress={onOpen}\n ref={forwardedRef}\n {...props}>\n <TextInput\n accessory={TextInputAccessory.Dropdown}\n disabled={true}\n error={error}\n label={label}\n pointerEvents=\"none\"\n value={selectedChoice?.shortLabel ?? selectedChoice?.label}\n />\n <Picker\n cancelText={pickerCancelLabel}\n confirmText={pickerConfirmLabel}\n items={values.map(({ label: itemLabel }) => itemLabel)}\n modal\n mode=\"list\"\n onCancel={onCancel}\n onConfirm={onConfirm}\n open={pickerOpen}\n selectedValue={selectedChoice?.label}\n textColor={colorScheme.text}\n title={pickerTitle ?? label}\n />\n </TouchableOpacity>\n );\n },\n);\n\nSelectionInput.displayName = 'SelectionInput';\nexport default SelectionInput;\n"],"mappings":";AAAA,OAAOA,MAAM,MAAM,+BAA+B;AAClD,OAAOC,KAAK,IAAIC,UAAU,EAAEC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAGzE,SAASC,kBAAkB,QAAQ,gCAAgC;AACnE,SAASC,gBAAgB,QAA6B,+CAA+C;AACrG,SAASC,2BAA2B,QAAQ,wCAAwC;AACpF,SAASC,iBAAiB,QAAQ,UAAU;AAC5C,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,CAAChD,MAAM;IACL4D,UAAU,EAAEtC,iBAAkB;IAC9BuC,WAAW,EAAExC,kBAAmB;IAChCyC,KAAK,EAAE5C,MAAM,CAAC6C,GAAG,CAACC,KAAA;MAAA,IAAC;QAAE7C,KAAK,EAAE8C;MAAU,CAAC,GAAAD,KAAA;MAAA,OAAKC,SAAS;IAAA,EAAE;IACvDC,KAAK;IACLC,IAAI,EAAC,MAAM;IACXtB,QAAQ,EAAEA,QAAS;IACnBP,SAAS,EAAEA,SAAU;IACrB8B,IAAI,EAAEjC,UAAW;IACjBlB,aAAa,EAAEW,cAAc,aAAdA,cAAc,uBAAdA,cAAc,CAAET,KAAM;IACrCkD,SAAS,EAAE1C,WAAW,CAAC0B,IAAK;IAC5BiB,KAAK,EAAElD,WAAW,aAAXA,WAAW,cAAXA,WAAW,GAAID;EAAM,EAC5B,CACe;AAEvB,CAAC,CACF;AAEDN,cAAc,CAAC0D,WAAW,GAAG,gBAAgB;AAC7C,eAAe1D,cAAc"}
@@ -1,185 +0,0 @@
1
- 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); }
2
- import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';
3
- import { Animated, Platform, StyleSheet, TextInput as RNTextInput, useWindowDimensions, View } from 'react-native';
4
- import { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';
5
- import { ClearInputIcon, DropdownInputIcon } from '../icons/input';
6
- import font from '../text/font';
7
- import Typography from '../text/typography';
8
- import { useAppColorScheme } from '../theme/color-scheme-context';
9
- import { concatTestID } from '../utils/testID';
10
-
11
- // difference between font sizes
12
- const LABEL_SCALE_RATIO = 14 / 12;
13
- export let TextInputAccessory;
14
- (function (TextInputAccessory) {
15
- TextInputAccessory["Dropdown"] = "dropdown";
16
- TextInputAccessory["Clear"] = "clear";
17
- })(TextInputAccessory || (TextInputAccessory = {}));
18
- const hitSlop = {
19
- bottom: 10,
20
- left: 10,
21
- right: 10,
22
- top: 10
23
- };
24
- /**
25
- * Generic text input component
26
- * @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=3%3A824&t=r7HhHF1rsNLmOBL2-4
27
- */
28
- const TextInput = /*#__PURE__*/forwardRef((_ref, ref) => {
29
- let {
30
- value,
31
- label,
32
- accessory = TextInputAccessory.Clear,
33
- accessoryAccessibilityLabel,
34
- onAccessoryPress,
35
- onSubmit,
36
- onFocus,
37
- onBlur,
38
- disabled,
39
- error,
40
- style,
41
- placeholder,
42
- ...props
43
- } = _ref;
44
- const colorScheme = useAppColorScheme();
45
- const {
46
- fontScale
47
- } = useWindowDimensions();
48
- const [focused, setFocused] = useState(false);
49
- const onFocusAction = useCallback(e => {
50
- setFocused(true);
51
- onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
52
- }, [onFocus]);
53
- const onBlurAction = useCallback(e => {
54
- setFocused(false);
55
- onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
56
- }, [onBlur]);
57
- const onSubmitEditing = useCallback(e => onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(e.nativeEvent.text), [onSubmit]);
58
- const accessoryIcon = useMemo(() => {
59
- switch (accessory) {
60
- case TextInputAccessory.Dropdown:
61
- return /*#__PURE__*/React.createElement(DropdownInputIcon, null);
62
- case TextInputAccessory.Clear:
63
- return value && !disabled ? /*#__PURE__*/React.createElement(ClearInputIcon, null) : undefined;
64
- }
65
- }, [accessory, disabled, value]);
66
- const accessoryComponent = accessoryIcon ? /*#__PURE__*/React.createElement(TouchableOpacity, {
67
- accessibilityLabel: accessoryAccessibilityLabel,
68
- accessibilityRole: "button",
69
- accessible: !disabled,
70
- disabled: disabled,
71
- hitSlop: hitSlop,
72
- onPress: onAccessoryPress,
73
- testID: concatTestID(props.testID, 'accessoryButton')
74
- }, accessoryIcon) : null;
75
- const labelPosition = focused || value ? 0 : 1;
76
- const [labelAnimation] = useState(() => new Animated.Value(labelPosition));
77
- useEffect(() => {
78
- Animated.timing(labelAnimation, {
79
- duration: 200,
80
- toValue: labelPosition,
81
- useNativeDriver: true
82
- }).start();
83
- }, [labelAnimation, labelPosition]);
84
- const [labelLayout, setLabelLayout] = useState();
85
- const onLabelLayout = useCallback(event => setLabelLayout(event.nativeEvent.layout), []);
86
- const accessibilityLabel = disabled ? undefined : label;
87
- const inputStyle = {
88
- height: Math.min(2, fontScale) * 24
89
- };
90
- const input = /*#__PURE__*/React.createElement(RNTextInput, _extends({
91
- accessibilityLabel: accessibilityLabel,
92
- defaultValue: value || '',
93
- editable: !disabled,
94
- hitSlop: hitSlop,
95
- maxFontSizeMultiplier: 2,
96
- numberOfLines: 1,
97
- onBlur: onBlurAction,
98
- onFocus: onFocusAction,
99
- onSubmitEditing: onSubmitEditing,
100
- placeholder: focused ? placeholder : undefined,
101
- ref: ref,
102
- returnKeyType: "next",
103
- style: [font.regular, styles.inputText, Platform.OS === 'android' ? styles.inputAndroid : styles.inputIOS, {
104
- color: colorScheme.text
105
- }],
106
- textAlignVertical: "center"
107
- // https://github.com/facebook/react-native/issues/17530
108
- ,
109
- underlineColorAndroid: "#00000000",
110
- value: value
111
- }, props));
112
- return /*#__PURE__*/React.createElement(View, {
113
- style: style
114
- }, /*#__PURE__*/React.createElement(Animated.View, {
115
- onLayout: onLabelLayout,
116
- style: labelLayout ? {
117
- transform: [{
118
- // move label into the position of placeholder
119
- translateY: labelAnimation.interpolate({
120
- inputRange: [0, 1],
121
- outputRange: [0, labelLayout.height + 4]
122
- })
123
- }, {
124
- // compensate scale position in X direction
125
- translateX: labelAnimation.interpolate({
126
- inputRange: [0, 1],
127
- outputRange: [0, labelLayout.width * (LABEL_SCALE_RATIO - 1) / 2]
128
- })
129
- }, {
130
- // scale label into the size of placeholder
131
- scale: labelAnimation.interpolate({
132
- inputRange: [0, 1],
133
- outputRange: [1, LABEL_SCALE_RATIO]
134
- })
135
- }]
136
- } : undefined
137
- }, /*#__PURE__*/React.createElement(Typography, {
138
- accessible: false,
139
- color: 'rgba(0, 0, 0, 0.50)',
140
- preset: "s"
141
- }, label)), /*#__PURE__*/React.createElement(View, {
142
- style: [styles.inputRow, {
143
- borderColor: focused ? colorScheme.accent : colorScheme.grayDark
144
- }]
145
- }, Platform.OS === 'android' ? /*#__PURE__*/React.createElement(View, {
146
- style: [styles.inputWrapperAndroid, inputStyle]
147
- }, input) : input, accessoryComponent), error ? /*#__PURE__*/React.createElement(Typography, {
148
- color: colorScheme.error,
149
- preset: "s"
150
- }, error) : null);
151
- });
152
- const styles = StyleSheet.create({
153
- inputAndroid: {
154
- fontSize: 14,
155
- left: 0,
156
- letterSpacing: 0.2,
157
- lineHeight: 22,
158
- position: 'absolute',
159
- right: 0
160
- },
161
- inputIOS: {
162
- flex: 1
163
- },
164
- inputRow: {
165
- alignItems: 'center',
166
- borderBottomWidth: 1,
167
- flexDirection: 'row',
168
- marginBottom: 4,
169
- paddingVertical: 4
170
- },
171
- inputText: {
172
- fontSize: 14,
173
- letterSpacing: 0.2,
174
- lineHeight: Platform.OS === 'android' ? 22 : 20,
175
- minHeight: 24
176
- },
177
- inputWrapperAndroid: {
178
- flex: 1,
179
- justifyContent: 'center',
180
- overflow: 'visible'
181
- }
182
- });
183
- TextInput.displayName = 'Input';
184
- export default TextInput;
185
- //# sourceMappingURL=text-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","forwardRef","useCallback","useEffect","useMemo","useState","Animated","Platform","StyleSheet","TextInput","RNTextInput","useWindowDimensions","View","TouchableOpacity","ClearInputIcon","DropdownInputIcon","font","Typography","useAppColorScheme","concatTestID","LABEL_SCALE_RATIO","TextInputAccessory","hitSlop","bottom","left","right","top","_ref","ref","value","label","accessory","Clear","accessoryAccessibilityLabel","onAccessoryPress","onSubmit","onFocus","onBlur","disabled","error","style","placeholder","props","colorScheme","fontScale","focused","setFocused","onFocusAction","e","onBlurAction","onSubmitEditing","nativeEvent","text","accessoryIcon","Dropdown","createElement","undefined","accessoryComponent","accessibilityLabel","accessibilityRole","accessible","onPress","testID","labelPosition","labelAnimation","Value","timing","duration","toValue","useNativeDriver","start","labelLayout","setLabelLayout","onLabelLayout","event","layout","inputStyle","height","Math","min","input","_extends","defaultValue","editable","maxFontSizeMultiplier","numberOfLines","returnKeyType","regular","styles","inputText","OS","inputAndroid","inputIOS","color","textAlignVertical","underlineColorAndroid","onLayout","transform","translateY","interpolate","inputRange","outputRange","translateX","width","scale","preset","inputRow","borderColor","accent","grayDark","inputWrapperAndroid","create","fontSize","letterSpacing","lineHeight","position","flex","alignItems","borderBottomWidth","flexDirection","marginBottom","paddingVertical","minHeight","justifyContent","overflow","displayName"],"sources":["text-input.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';\nimport {\n Animated,\n Insets,\n LayoutChangeEvent,\n LayoutRectangle,\n NativeSyntheticEvent,\n Platform,\n StyleProp,\n StyleSheet,\n TextInput as RNTextInput,\n TextInputFocusEventData as RNTextInputFocusEventData,\n TextInputProps as RNTextInputProps,\n TextInputSubmitEditingEventData as RNTextInputSubmitEditingEventData,\n useWindowDimensions,\n View,\n ViewStyle,\n} from 'react-native';\n\nimport { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';\nimport { ClearInputIcon, DropdownInputIcon } from '../icons/input';\nimport font from '../text/font';\nimport Typography from '../text/typography';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\nimport { concatTestID } from '../utils/testID';\n\n// difference between font sizes\nconst LABEL_SCALE_RATIO = 14 / 12;\n\nexport enum TextInputAccessory {\n Dropdown = 'dropdown',\n Clear = 'clear',\n}\n\nconst hitSlop: Insets = { bottom: 10, left: 10, right: 10, top: 10 };\n\nexport type TextInputProps = Omit<RNTextInputProps, 'editable' | 'onSubmitEditing' | 'style'> & {\n accessory?: TextInputAccessory;\n accessoryAccessibilityLabel?: string;\n disabled?: boolean;\n error?: string;\n label: string;\n onAccessoryPress?: () => void;\n onSubmit?: (value: string) => void;\n style?: StyleProp<ViewStyle>;\n};\n\n/**\n * Generic text input component\n * @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=3%3A824&t=r7HhHF1rsNLmOBL2-4\n */\nconst TextInput = forwardRef<RNTextInput, TextInputProps>(\n (\n {\n value,\n label,\n accessory = TextInputAccessory.Clear,\n accessoryAccessibilityLabel,\n onAccessoryPress,\n onSubmit,\n onFocus,\n onBlur,\n disabled,\n error,\n style,\n placeholder,\n ...props\n },\n ref,\n ) => {\n const colorScheme = useAppColorScheme();\n const { fontScale } = useWindowDimensions();\n\n const [focused, setFocused] = useState(false);\n const onFocusAction = useCallback(\n (e: NativeSyntheticEvent<RNTextInputFocusEventData>) => {\n setFocused(true);\n onFocus?.(e);\n },\n [onFocus],\n );\n const onBlurAction = useCallback(\n (e: NativeSyntheticEvent<RNTextInputFocusEventData>) => {\n setFocused(false);\n onBlur?.(e);\n },\n [onBlur],\n );\n\n const onSubmitEditing = useCallback(\n (e: NativeSyntheticEvent<RNTextInputSubmitEditingEventData>) => onSubmit?.(e.nativeEvent.text),\n [onSubmit],\n );\n\n const accessoryIcon = useMemo(() => {\n switch (accessory) {\n case TextInputAccessory.Dropdown:\n return <DropdownInputIcon />;\n case TextInputAccessory.Clear:\n return value && !disabled ? <ClearInputIcon /> : undefined;\n }\n }, [accessory, disabled, value]);\n\n const accessoryComponent = accessoryIcon ? (\n <TouchableOpacity\n accessibilityLabel={accessoryAccessibilityLabel}\n accessibilityRole=\"button\"\n accessible={!disabled}\n disabled={disabled}\n hitSlop={hitSlop}\n onPress={onAccessoryPress}\n testID={concatTestID(props.testID, 'accessoryButton')}>\n {accessoryIcon}\n </TouchableOpacity>\n ) : null;\n\n const labelPosition = focused || value ? 0 : 1;\n const [labelAnimation] = useState<Animated.Value>(() => new Animated.Value(labelPosition));\n useEffect(() => {\n Animated.timing(labelAnimation, {\n duration: 200,\n toValue: labelPosition,\n useNativeDriver: true,\n }).start();\n }, [labelAnimation, labelPosition]);\n\n const [labelLayout, setLabelLayout] = useState<LayoutRectangle>();\n const onLabelLayout = useCallback((event: LayoutChangeEvent) => setLabelLayout(event.nativeEvent.layout), []);\n\n const accessibilityLabel = disabled ? undefined : label;\n const inputStyle = { height: Math.min(2, fontScale) * 24 };\n\n const input = (\n <RNTextInput\n accessibilityLabel={accessibilityLabel}\n defaultValue={value || ''}\n editable={!disabled}\n hitSlop={hitSlop}\n maxFontSizeMultiplier={2}\n numberOfLines={1}\n onBlur={onBlurAction}\n onFocus={onFocusAction}\n onSubmitEditing={onSubmitEditing}\n placeholder={focused ? placeholder : undefined}\n ref={ref}\n returnKeyType=\"next\"\n style={[\n font.regular,\n styles.inputText,\n Platform.OS === 'android' ? styles.inputAndroid : styles.inputIOS,\n {\n color: colorScheme.text,\n },\n ]}\n textAlignVertical=\"center\"\n // https://github.com/facebook/react-native/issues/17530\n underlineColorAndroid=\"#00000000\"\n value={value}\n {...props}\n />\n );\n return (\n <View style={style}>\n <Animated.View\n onLayout={onLabelLayout}\n style={\n labelLayout\n ? {\n transform: [\n {\n // move label into the position of placeholder\n translateY: labelAnimation.interpolate({\n inputRange: [0, 1],\n outputRange: [0, labelLayout.height + 4],\n }),\n },\n {\n // compensate scale position in X direction\n translateX: labelAnimation.interpolate({\n inputRange: [0, 1],\n outputRange: [0, (labelLayout.width * (LABEL_SCALE_RATIO - 1)) / 2],\n }),\n },\n {\n // scale label into the size of placeholder\n scale: labelAnimation.interpolate({\n inputRange: [0, 1],\n outputRange: [1, LABEL_SCALE_RATIO],\n }),\n },\n ],\n }\n : undefined\n }>\n <Typography accessible={false} color={'rgba(0, 0, 0, 0.50)'} preset=\"s\">\n {label}\n </Typography>\n </Animated.View>\n <View\n style={[\n styles.inputRow,\n {\n borderColor: focused ? colorScheme.accent : colorScheme.grayDark,\n },\n ]}>\n {Platform.OS === 'android' ? <View style={[styles.inputWrapperAndroid, inputStyle]}>{input}</View> : input}\n {accessoryComponent}\n </View>\n {error ? (\n <Typography color={colorScheme.error} preset=\"s\">\n {error}\n </Typography>\n ) : null}\n </View>\n );\n },\n);\n\nconst styles = StyleSheet.create({\n inputAndroid: {\n fontSize: 14,\n left: 0,\n letterSpacing: 0.2,\n lineHeight: 22,\n position: 'absolute',\n right: 0,\n },\n inputIOS: {\n flex: 1,\n },\n inputRow: {\n alignItems: 'center',\n borderBottomWidth: 1,\n flexDirection: 'row',\n marginBottom: 4,\n paddingVertical: 4,\n },\n inputText: {\n fontSize: 14,\n letterSpacing: 0.2,\n lineHeight: Platform.OS === 'android' ? 22 : 20,\n minHeight: 24,\n },\n inputWrapperAndroid: {\n flex: 1,\n justifyContent: 'center',\n overflow: 'visible',\n },\n});\n\nTextInput.displayName = 'Input';\n\nexport default TextInput;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACpF,SACEC,QAAQ,EAKRC,QAAQ,EAERC,UAAU,EACVC,SAAS,IAAIC,WAAW,EAIxBC,mBAAmB,EACnBC,IAAI,QAEC,cAAc;AAErB,SAASC,gBAAgB,QAAQ,+CAA+C;AAChF,SAASC,cAAc,EAAEC,iBAAiB,QAAQ,gBAAgB;AAClE,OAAOC,IAAI,MAAM,cAAc;AAC/B,OAAOC,UAAU,MAAM,oBAAoB;AAC3C,SAASC,iBAAiB,QAAQ,+BAA+B;AACjE,SAASC,YAAY,QAAQ,iBAAiB;;AAE9C;AACA,MAAMC,iBAAiB,GAAG,EAAE,GAAG,EAAE;AAEjC,WAAYC,kBAAkB;AAG7B,WAHWA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAlBA,kBAAkB;AAK9B,MAAMC,OAAe,GAAG;EAAEC,MAAM,EAAE,EAAE;EAAEC,IAAI,EAAE,EAAE;EAAEC,KAAK,EAA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C7ClE,KAAK,CACK,GACX,IAAI,CACH;AAEX,CAAC,CACF;AAED,MAAMiD,MAAM,GAAGhF,UAAU,CAACuG,MAAM,CAAC;EAC/BpB,YAAY,EAAE;IACZqB,QAAQ,EAAE,EAAE;IACZxF,IAAI,EAAE,CAAC;IACPyF,aAAa,EAAE,GAAG;IAClBC,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE,UAAU;IACpB1F,KAAK,EAAE;EACT,CAAC;EACDmE,QAAQ,EAAE;IACRwB,IAAI,EAAE;EACR,CAAC;EACDV,QAAQ,EAAE;IACRW,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE,CAAC;IACpBC,aAAa,EAAE,KAAK;IACpBC,YAAY,EAAE,CAAC;IACfC,eAAe,EAAE;EACnB,CAAC;EACDhC,SAAS,EAAE;IACTuB,QAAQ,EAAE,EAAE;IACZC,aAAa,EAAE,GAAG;IAClBC,UAAU,EAAE3G,QAAQ,CAACmF,EAAE,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE;IAC/CgC,SAAS,EAAE;EACb,CAAC;EACDZ,mBAAmB,EAAE;IACnBM,IAAI,EAAE,CAAC;IACPO,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEFnH,SAAS,CAACoH,WAAW,GAAG,OAAO;AAE/B,eAAepH,SAAS"}
@@ -1,130 +0,0 @@
1
- import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
- import { InteractionManager, StyleSheet, View } from 'react-native';
3
- import Animated, { cancelAnimation, Easing, runOnJS, useAnimatedStyle, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
4
- import { LoaderError, LoaderProgressSpinner, LoaderSuccess, LoaderWarning } from '../icons/loader';
5
- import { concatTestID } from '../utils';
6
- export let LoaderViewState;
7
- (function (LoaderViewState) {
8
- LoaderViewState["Error"] = "error";
9
- LoaderViewState["InProgress"] = "inProgress";
10
- LoaderViewState["Success"] = "success";
11
- LoaderViewState["Warning"] = "warning";
12
- })(LoaderViewState || (LoaderViewState = {}));
13
- const LoaderView = _ref => {
14
- let {
15
- animate,
16
- state,
17
- testID
18
- } = _ref;
19
- const [initialDelayPassed, setInitialDelayPassed] = useState(false);
20
- const rotationIsAnimating = useRef(false);
21
- const rotation = useSharedValue(0);
22
- const opacity = useSharedValue(state === LoaderViewState.InProgress ? 0 : 1);
23
- const finished = state !== LoaderViewState.InProgress;
24
- useEffect(() => {
25
- const timeout = setTimeout(() => {
26
- setInitialDelayPassed(true);
27
- }, 1000);
28
- return () => {
29
- clearTimeout(timeout);
30
- };
31
- }, []);
32
- useEffect(() => {
33
- return () => {
34
- cancelAnimation(rotation);
35
- };
36
- }, [rotation]);
37
- const startRotationAnimation = useCallback(() => {
38
- if (rotationIsAnimating.current) {
39
- return;
40
- }
41
- rotationIsAnimating.current = true;
42
- rotation.value = withRepeat(withTiming(360, {
43
- duration: 1000,
44
- easing: Easing.linear
45
- }), -1);
46
- }, [rotationIsAnimating, rotation]);
47
- const stopRotationAnimation = useCallback(() => {
48
- InteractionManager.runAfterInteractions(() => {
49
- rotationIsAnimating.current = false;
50
- cancelAnimation(rotation);
51
- rotation.value = 0;
52
- });
53
- }, [rotationIsAnimating, rotation]);
54
- useEffect(() => {
55
- if (animate) {
56
- startRotationAnimation();
57
- } else {
58
- stopRotationAnimation();
59
- }
60
- }, [animate, startRotationAnimation, stopRotationAnimation]);
61
- useEffect(() => {
62
- if (!initialDelayPassed) {
63
- return;
64
- }
65
- const toValue = finished ? 1 : 0;
66
- if (opacity.value === toValue) {
67
- return;
68
- }
69
- if (animate) {
70
- if (!finished) {
71
- startRotationAnimation();
72
- }
73
- opacity.value = withTiming(toValue, {
74
- duration: 300,
75
- easing: Easing.ease
76
- }, () => {
77
- if (finished) {
78
- runOnJS(stopRotationAnimation)();
79
- }
80
- });
81
- } else {
82
- opacity.value = toValue;
83
- stopRotationAnimation();
84
- }
85
- }, [opacity, finished, initialDelayPassed, animate, stopRotationAnimation, startRotationAnimation]);
86
- const spinnerAnimatedStyle = useAnimatedStyle(() => ({
87
- opacity: 1 - opacity.value,
88
- transform: [{
89
- rotateZ: `${rotation.value}deg`
90
- }]
91
- }), [opacity, rotation]);
92
- const resultAnimatedStyle = useAnimatedStyle(() => ({
93
- opacity: opacity.value
94
- }), [opacity]);
95
- const finishedIcon = useMemo(() => {
96
- switch (state) {
97
- case LoaderViewState.Success:
98
- return /*#__PURE__*/React.createElement(LoaderSuccess, null);
99
- case LoaderViewState.Warning:
100
- return /*#__PURE__*/React.createElement(LoaderWarning, null);
101
- case LoaderViewState.Error:
102
- return /*#__PURE__*/React.createElement(LoaderError, null);
103
- default:
104
- return null;
105
- }
106
- }, [state]);
107
- return /*#__PURE__*/React.createElement(View, {
108
- style: styles.loader,
109
- testID: concatTestID(testID, state)
110
- }, /*#__PURE__*/React.createElement(Animated.View, {
111
- style: [styles.loaderElement, spinnerAnimatedStyle]
112
- }, /*#__PURE__*/React.createElement(LoaderProgressSpinner, null)), /*#__PURE__*/React.createElement(Animated.View, {
113
- style: [styles.loaderElement, resultAnimatedStyle]
114
- }, finishedIcon));
115
- };
116
- const styles = StyleSheet.create({
117
- loader: {
118
- height: 64,
119
- width: 64
120
- },
121
- loaderElement: {
122
- height: 64,
123
- left: 0,
124
- position: 'absolute',
125
- top: 0,
126
- width: 64
127
- }
128
- });
129
- export default LoaderView;
130
- //# sourceMappingURL=loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","useEffect","useMemo","useRef","useState","InteractionManager","StyleSheet","View","Animated","cancelAnimation","Easing","runOnJS","useAnimatedStyle","useSharedValue","withRepeat","withTiming","LoaderError","LoaderProgressSpinner","LoaderSuccess","LoaderWarning","concatTestID","LoaderViewState","LoaderView","_ref","animate","state","testID","initialDelayPassed","setInitialDelayPassed","rotationIsAnimating","rotation","opacity","InProgress","finished","timeout","setTimeout","clearTimeout","startRotationAnimation","current","value","duration","easing","linear","stopRotationAnimation","runAfterInteractions","toValue","ease","spinnerAnimatedStyle","transform","rotateZ","resultAnimatedStyle","finishedIcon","Success","createElement","Warning","Error","style","styles","loader","loaderElement","create","height","width","left","position","top"],"sources":["loader.tsx"],"sourcesContent":["import React, { FC, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { InteractionManager, StyleSheet, View } from 'react-native';\nimport Animated, {\n cancelAnimation,\n Easing,\n runOnJS,\n useAnimatedStyle,\n useSharedValue,\n withRepeat,\n withTiming,\n} from 'react-native-reanimated';\n\nimport { LoaderError, LoaderProgressSpinner, LoaderSuccess, LoaderWarning } from '../icons/loader';\nimport { concatTestID } from '../utils';\n\nexport enum LoaderViewState {\n Error = 'error',\n InProgress = 'inProgress',\n Success = 'success',\n Warning = 'warning',\n}\n\nexport type LoaderViewProps = {\n animate: boolean;\n state?: LoaderViewState;\n testID?: string;\n};\n\nconst LoaderView: FC<LoaderViewProps> = ({ animate, state, testID }) => {\n const [initialDelayPassed, setInitialDelayPassed] = useState(false);\n const rotationIsAnimating = useRef(false);\n const rotation = useSharedValue(0);\n const opacity = useSharedValue(state === LoaderViewState.InProgress ? 0 : 1);\n\n const finished = state !== LoaderViewState.InProgress;\n\n useEffect(() => {\n const timeout = setTimeout(() => {\n setInitialDelayPassed(true);\n }, 1000);\n\n return () => {\n clearTimeout(timeout);\n };\n }, []);\n\n useEffect(() => {\n return () => {\n cancelAnimation(rotation);\n };\n }, [rotation]);\n\n const startRotationAnimation = useCallback(() => {\n if (rotationIsAnimating.current) {\n return;\n }\n rotationIsAnimating.current = true;\n rotation.value = withRepeat(\n withTiming(360, {\n duration: 1000,\n easing: Easing.linear,\n }),\n -1,\n );\n }, [rotationIsAnimating, rotation]);\n\n const stopRotationAnimation = useCallback(() => {\n InteractionManager.runAfterInteractions(() => {\n rotationIsAnimating.current = false;\n cancelAnimation(rotation);\n rotation.value = 0;\n });\n }, [rotationIsAnimating, rotation]);\n\n useEffect(() => {\n if (animate) {\n startRotationAnimation();\n } else {\n stopRotationAnimation();\n }\n }, [animate, startRotationAnimation, stopRotationAnimation]);\n\n useEffect(() => {\n if (!initialDelayPassed) {\n return;\n }\n const toValue = finished ? 1 : 0;\n if (opacity.value === toValue) {\n return;\n }\n if (animate) {\n if (!finished) {\n startRotationAnimation();\n }\n opacity.value = withTiming(\n toValue,\n {\n duration: 300,\n easing: Easing.ease,\n },\n () => {\n if (finished) {\n runOnJS(stopRotationAnimation)();\n }\n },\n );\n } else {\n opacity.value = toValue;\n stopRotationAnimation();\n }\n }, [opacity, finished, initialDelayPassed, animate, stopRotationAnimation, startRotationAnimation]);\n\n const spinnerAnimatedStyle = useAnimatedStyle(\n () => ({\n opacity: 1 - opacity.value,\n transform: [\n {\n rotateZ: `${rotation.value}deg`,\n },\n ],\n }),\n [opacity, rotation],\n );\n\n const resultAnimatedStyle = useAnimatedStyle(\n () => ({\n opacity: opacity.value,\n }),\n [opacity],\n );\n\n const finishedIcon = useMemo(() => {\n switch (state) {\n case LoaderViewState.Success:\n return <LoaderSuccess />;\n case LoaderViewState.Warning:\n return <LoaderWarning />;\n case LoaderViewState.Error:\n return <LoaderError />;\n default:\n return null;\n }\n }, [state]);\n\n return (\n <View style={styles.loader} testID={concatTestID(testID, state)}>\n <Animated.View style={[styles.loaderElement, spinnerAnimatedStyle]}>\n <LoaderProgressSpinner />\n </Animated.View>\n <Animated.View style={[styles.loaderElement, resultAnimatedStyle]}>{finishedIcon}</Animated.View>\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n loader: {\n height: 64,\n width: 64,\n },\n loaderElement: {\n height: 64,\n left: 0,\n position: 'absolute',\n top: 0,\n width: 64,\n },\n});\n\nexport default LoaderView;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAQC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACpF,SAASC,kBAAkB,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACnE,OAAOC,QAAQ,IACbC,eAAe,EACfC,MAAM,EAC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K,EAAE,CAACC,MAAM,CAACE,aAAa,EAAEZ,oBAAoB;EAAE,gBACjEhD,KAAA,CAAAsD,aAAA,CAACpC,qBAAqB,OAAG,CACX,eAChBlB,KAAA,CAAAsD,aAAA,CAAC7C,QAAQ,CAACD,IAAI;IAACiD,KAAK,EAAE,CAACC,MAAM,CAACE,aAAa,EAAET,mBAAmB;EAAE,GAAEC,YAAY,CAAiB,CAC5F;AAEX,CAAC;AAED,MAAMM,MAAM,GAAGnD,UAAU,CAACsD,MAAM,CAAC;EAC/BF,MAAM,EAAE;IACNG,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE;EACT,CAAC;EACDH,aAAa,EAAE;IACbE,MAAM,EAAE,EAAE;IACVE,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNH,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AAEF,eAAexC,UAAU"}
@@ -1,224 +0,0 @@
1
- import React, { useCallback, useEffect, useMemo, useState } from 'react';
2
- import { Dimensions, Linking, StyleSheet, View } from 'react-native';
3
- import { TouchableOpacity } from 'react-native-gesture-handler';
4
- import Animated, { clamp, useAnimatedStyle, useDerivedValue, useSharedValue } from 'react-native-reanimated';
5
- import { Button, ButtonType } from '../buttons/button';
6
- import { CopyContentIcon, OpenLinkIcon } from '../icons/nerd-view';
7
- import Typography from '../text/typography';
8
- import { useAppColorScheme } from '../theme/color-scheme-context';
9
- import { concatTestID } from '../utils/testID';
10
- const VALUE_PREVIEW_LENGTH = 80;
11
- const ICON_HEIGHT = 48;
12
- const CONTAINER_PADDING = 8;
13
-
14
- // The onExpand and expandedAttributes props are used to notify other expanded fields
15
- // that the layout (and thus the scrollOffset / icon position) has changed. This
16
- // will trigger a view measurement and repositioning of the icon on all expanded fields.
17
-
18
- const styles = StyleSheet.create({
19
- actionIcon: {
20
- alignItems: 'center',
21
- flex: 0.15,
22
- height: ICON_HEIGHT,
23
- justifyContent: 'center'
24
- },
25
- actionIconSingleLine: {
26
- height: 24
27
- },
28
- attributeLabel: {
29
- marginBottom: 4,
30
- paddingHorizontal: 6
31
- },
32
- attributeValue: {
33
- flex: 0.85,
34
- flexGrow: 1
35
- },
36
- attributeValueContainer: {
37
- borderRadius: 2,
38
- borderWidth: 0.2,
39
- flexDirection: 'row',
40
- padding: CONTAINER_PADDING
41
- },
42
- container: {
43
- paddingHorizontal: 20,
44
- paddingTop: 16
45
- },
46
- expandValueButton: {
47
- borderRadius: 4,
48
- borderWidth: 0,
49
- marginTop: 4
50
- },
51
- lastAttribute: {
52
- paddingBottom: 30
53
- }
54
- });
55
- export const ActionIcon = _ref => {
56
- let {
57
- value,
58
- link,
59
- onCopyToClipboard,
60
- testID,
61
- copy
62
- } = _ref;
63
- const handleCopy = useCallback(() => {
64
- onCopyToClipboard(value);
65
- }, [onCopyToClipboard, value]);
66
- const openLink = useCallback(() => {
67
- if (link) {
68
- Linking.openURL(link);
69
- }
70
- }, [link]);
71
- if (copy) {
72
- return /*#__PURE__*/React.createElement(TouchableOpacity, {
73
- onPress: handleCopy,
74
- testID: testID
75
- }, /*#__PURE__*/React.createElement(CopyContentIcon, null));
76
- }
77
- if (link) {
78
- return /*#__PURE__*/React.createElement(TouchableOpacity, {
79
- onPress: openLink,
80
- testID: testID
81
- }, /*#__PURE__*/React.createElement(OpenLinkIcon, null));
82
- }
83
- return null;
84
- };
85
- const TextWithHighlight = _ref2 => {
86
- let {
87
- highlightedText,
88
- onLayout,
89
- testID,
90
- text
91
- } = _ref2;
92
- const colorScheme = useAppColorScheme();
93
- return /*#__PURE__*/React.createElement(Typography, {
94
- color: colorScheme.white,
95
- onLayout: onLayout,
96
- preset: "s/code",
97
- style: styles.attributeValue,
98
- testID: testID
99
- }, /*#__PURE__*/React.createElement(Typography, {
100
- color: colorScheme.nerdView.codeHighlightText,
101
- preset: "s/code"
102
- }, highlightedText), text);
103
- };
104
- const NerdModeItem = _ref3 => {
105
- let {
106
- highlightedText = '',
107
- attributeText = '',
108
- attributeKey,
109
- labels,
110
- link,
111
- canBeCopied,
112
- onCopyToClipboard,
113
- onExpand,
114
- expandedAttributes,
115
- last = false,
116
- scrollOffset,
117
- element,
118
- testID
119
- } = _ref3;
120
- const colorScheme = useAppColorScheme();
121
- const valueViewRef = React.useRef(null);
122
- const [isSingleLine, setIsSingleLine] = useState();
123
- const expandedView = useSharedValue({
124
- expandedAtOffset: 0,
125
- viewHeight: 0,
126
- viewStart: 0
127
- });
128
- const expandable = attributeText.length > VALUE_PREVIEW_LENGTH;
129
- const [expanded, setExpanded] = useState(!expandable);
130
- const screenMiddle = useMemo(() => Dimensions.get('screen').height / 2, []);
131
- const iconTopPosition = useDerivedValue(() => {
132
- if (isSingleLine === undefined) {
133
- return 0;
134
- }
135
- if (!expanded || !expandable || !scrollOffset || isSingleLine) {
136
- const iconHeight = isSingleLine ? 0 : ICON_HEIGHT;
137
- return expandedView.value.viewHeight / 2 - iconHeight / 2;
138
- }
139
- const viewEnd = expandedView.value.viewStart + expandedView.value.viewHeight;
140
- let zeroedOffset = scrollOffset.value - expandedView.value.expandedAtOffset;
141
- if (expandedView.value.viewStart > screenMiddle) {
142
- zeroedOffset = zeroedOffset - (expandedView.value.viewStart - screenMiddle + ICON_HEIGHT / 2);
143
- } else {
144
- if (viewEnd < screenMiddle + ICON_HEIGHT) {
145
- zeroedOffset = zeroedOffset + (screenMiddle - expandedView.value.viewStart - ICON_HEIGHT / 2);
146
- } else if (expandedView.value.viewStart < screenMiddle && viewEnd > screenMiddle) {
147
- zeroedOffset = zeroedOffset + (screenMiddle - expandedView.value.viewStart - ICON_HEIGHT / 2);
148
- }
149
- }
150
- return clamp(zeroedOffset, 0, expandedView.value.viewHeight - ICON_HEIGHT - 8);
151
- });
152
- const iconStyle = useAnimatedStyle(() => {
153
- return {
154
- transform: [{
155
- translateY: iconTopPosition.value
156
- }]
157
- };
158
- });
159
- const previewText = expanded ? attributeText : attributeText.slice(0, VALUE_PREVIEW_LENGTH) + '...';
160
- useEffect(() => {
161
- if (!scrollOffset || isSingleLine === undefined) {
162
- return;
163
- }
164
- setTimeout(() => {
165
- var _valueViewRef$current;
166
- (_valueViewRef$current = valueViewRef.current) === null || _valueViewRef$current === void 0 ? void 0 : _valueViewRef$current.measure((x, y, w, h, px, py) => {
167
- expandedView.value = {
168
- expandedAtOffset: isSingleLine ? 0 : scrollOffset.value,
169
- viewHeight: isSingleLine ? 0 : h - 2 * CONTAINER_PADDING,
170
- viewStart: py
171
- };
172
- });
173
- }, 0);
174
- // We only recompute when any attribute is expanded
175
- // eslint-disable-next-line react-hooks/exhaustive-deps
176
- }, [expandedAttributes, isSingleLine]);
177
- const onTextLayout = useCallback(event => {
178
- const {
179
- height
180
- } = event.nativeEvent.layout;
181
- setIsSingleLine(height <= 24);
182
- }, []);
183
- return /*#__PURE__*/React.createElement(View, {
184
- style: [styles.container, {
185
- backgroundColor: colorScheme.nerdView.attributeSectionBackground
186
- }, last ? styles.lastAttribute : {}],
187
- testID: testID
188
- }, /*#__PURE__*/React.createElement(Typography, {
189
- color: colorScheme.nerdView.attributeLabel,
190
- preset: "s/code",
191
- style: styles.attributeLabel,
192
- testID: concatTestID(testID, 'attributeLabel')
193
- }, attributeKey), /*#__PURE__*/React.createElement(View, {
194
- ref: valueViewRef,
195
- style: [styles.attributeValueContainer, {
196
- backgroundColor: colorScheme.nerdView.attributeValueBackground,
197
- borderColor: colorScheme.nerdView.attributeValueBorder
198
- }]
199
- }, element ? element : /*#__PURE__*/React.createElement(TextWithHighlight, {
200
- highlightedText: highlightedText,
201
- onLayout: onTextLayout,
202
- testID: concatTestID(testID, 'attributeValue'),
203
- text: previewText
204
- }), (canBeCopied || link) && isSingleLine !== undefined ? /*#__PURE__*/React.createElement(Animated.View, {
205
- style: [styles.actionIcon, isSingleLine ? styles.actionIconSingleLine : undefined, iconStyle]
206
- }, /*#__PURE__*/React.createElement(ActionIcon, {
207
- copy: canBeCopied,
208
- link: link,
209
- onCopyToClipboard: onCopyToClipboard,
210
- testID: concatTestID(testID, 'actionIcon'),
211
- value: `${highlightedText}${attributeText}`
212
- })) : null), expandable ? /*#__PURE__*/React.createElement(Button, {
213
- onPress: () => {
214
- onExpand && onExpand(!expanded);
215
- setExpanded(!expanded);
216
- },
217
- style: styles.expandValueButton,
218
- testID: concatTestID(testID, 'expandValueButton'),
219
- title: expanded ? labels.collapse : labels.expand,
220
- type: ButtonType.SmallTech
221
- }) : null);
222
- };
223
- export default NerdModeItem;
224
- //# sourceMappingURL=nerd-mode-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","useEffect","useMemo","useState","Dimensions","Linking","StyleSheet","View","TouchableOpacity","Animated","clamp","useAnimatedStyle","useDerivedValue","useSharedValue","Button","ButtonType","CopyContentIcon","OpenLinkIcon","Typography","useAppColorScheme","concatTestID","VALUE_PREVIEW_LENGTH","ICON_HEIGHT","CONTAINER_PADDING","styles","create","actionIcon","alignItems","flex","height","justifyContent","actionIconSingleLine","attributeLabel","marginBottom","paddingHorizontal","attributeValue","flexGrow","attributeValueContainer","borderRadius","borderWidth","flexDirection","padding","container","paddingTop","expandValueButton","marginTop","lastAttribute","paddingBottom","ActionIcon","_ref","value","link","onCopyToClipboard","testID","copy","handleCopy","openLink","openURL","createElement","onPress","TextWithHighlight","_ref2","highlightedText","onLayout","text","colorScheme","color","white","preset","style","nerdView","codeHighlightText","NerdModeItem","_ref3","attributeText","attributeKey","labels","canBeCopied","onExpand","expandedAttributes","last","scrollOffset","element","valueViewRef","useRef","isSingleLine","setIsSingleLine","expandedView","expandedAtOffset","viewHeight","viewStart","expandable","length","expanded","setExpanded","screenMiddle","get","iconTopPosition","undefined","iconHeight","viewEnd","zeroedOffset","iconStyle","transform","translateY","previewText","slice","setTimeout","_valueViewRef$current","current","measure","x","y","w","h","px","py","onTextLayout","event","nativeEvent","layout","backgroundColor","attributeSectionBackground","ref","attributeValueBackground","borderColor","attributeValueBorder","title","collapse","expand","type","SmallTech"],"sources":["nerd-mode-item.tsx"],"sourcesContent":["import React, { FunctionComponent, useCallback, useEffect, useMemo, useState } from 'react';\nimport { Dimensions, LayoutChangeEvent, Linking, StyleSheet, View, ViewStyle } from 'react-native';\nimport { TouchableOpacity } from 'react-native-gesture-handler';\nimport Animated, {\n clamp,\n SharedValue,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n} from 'react-native-reanimated';\n\nimport { Button, ButtonType } from '../buttons/button';\nimport { CopyContentIcon, OpenLinkIcon } from '../icons/nerd-view';\nimport Typography from '../text/typography';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\nimport { concatTestID } from '../utils/testID';\n\nconst VALUE_PREVIEW_LENGTH = 80;\nconst ICON_HEIGHT = 48;\nconst CONTAINER_PADDING = 8;\n\n// The onExpand and expandedAttributes props are used to notify other expanded fields\n// that the layout (and thus the scrollOffset / icon position) has changed. This\n// will trigger a view measurement and repositioning of the icon on all expanded fields.\n\nexport type NerdModeItemProps = {\n attributeKey: string;\n attributeText?: string;\n canBeCopied?: boolean;\n element?: React.ReactElement;\n expandedAttributes?: number;\n highlightedText?: string;\n labels: {\n expand: string;\n collapse: string;\n };\n last?: boolean;\n link?: string;\n onCopyToClipboard: (value: string) => void;\n onExpand?: (expanded: boolean) => void;\n scrollOffset?: SharedValue<number>;\n testID?: string;\n};\n\nconst styles = StyleSheet.create({\n actionIcon: {\n alignItems: 'center',\n flex: 0.15,\n height: ICON_HEIGHT,\n justifyContent: 'center',\n },\n actionIconSingleLine: {\n height: 24,\n },\n attributeLabel: {\n marginBottom: 4,\n paddingHorizontal: 6,\n },\n attributeValue: {\n flex: 0.85,\n flexGrow: 1,\n },\n attributeValueContainer: {\n borderRadius: 2,\n borderWidth: 0.2,\n flexDirection: 'row',\n padding: CONTAINER_PADDING,\n },\n container: {\n paddingHorizontal: 20,\n paddingTop: 16,\n },\n expandValueButton: {\n borderRadius: 4,\n borderWidth: 0,\n marginTop: 4,\n },\n lastAttribute: {\n paddingBottom: 30,\n },\n});\n\nexport const ActionIcon: FunctionComponent<{\n copy?: boolean;\n link?: string;\n onCopyToClipboard: (value: string) => void;\n style?: ViewStyle;\n testID?: string;\n value: string;\n}> = ({ value, link, onCopyToClipboard, testID, copy }) => {\n const handleCopy = useCallback(() => {\n onCopyToClipboard(value);\n }, [onCopyToClipboard, value]);\n\n const openLink = useCallback(() => {\n if (link) {\n Linking.openURL(link);\n }\n }, [link]);\n\n if (copy) {\n return (\n <TouchableOpacity onPress={handleCopy} testID={testID}>\n <CopyContentIcon />\n </TouchableOpacity>\n );\n }\n\n if (link) {\n return (\n <TouchableOpacity onPress={openLink} testID={testID}>\n <OpenLinkIcon />\n </TouchableOpacity>\n );\n }\n\n return null;\n};\n\nconst TextWithHighlight: FunctionComponent<{\n highlightedText: string;\n onLayout?: (event: LayoutChangeEvent) => void;\n testID: string;\n text: string;\n}> = ({ highlightedText, onLayout, testID, text }) => {\n const colorScheme = useAppColorScheme();\n return (\n <Typography\n color={colorScheme.white}\n onLayout={onLayout}\n preset=\"s/code\"\n style={styles.attributeValue}\n testID={testID}>\n <Typography color={colorScheme.nerdView.codeHighlightText} preset=\"s/code\">\n {highlightedText}\n </Typography>\n {text}\n </Typography>\n );\n};\n\nconst NerdModeItem: FunctionComponent<NerdModeItemProps> = ({\n highlightedText = '',\n attributeText = '',\n attributeKey,\n labels,\n link,\n canBeCopied,\n onCopyToClipboard,\n onExpand,\n expandedAttributes,\n last = false,\n scrollOffset,\n element,\n testID,\n}) => {\n const colorScheme = useAppColorScheme();\n const valueViewRef = React.useRef<View>(null);\n const [isSingleLine, setIsSingleLine] = useState<boolean>();\n\n const expandedView = useSharedValue({\n expandedAtOffset: 0,\n viewHeight: 0,\n viewStart: 0,\n });\n\n const expandable = attributeText.length > VALUE_PREVIEW_LENGTH;\n const [expanded, setExpanded] = useState(!expandable);\n\n const screenMiddle = useMemo(() => Dimensions.get('screen').height / 2, []);\n\n const iconTopPosition = useDerivedValue(() => {\n if (isSingleLine === undefined) {\n return 0;\n }\n if (!expanded || !expandable || !scrollOffset || isSingleLine) {\n const iconHeight = isSingleLine ? 0 : ICON_HEIGHT;\n return expandedView.value.viewHeight / 2 - iconHeight / 2;\n }\n\n const viewEnd = expandedView.value.viewStart + expandedView.value.viewHeight;\n let zeroedOffset = scrollOffset.value - expandedView.value.expandedAtOffset;\n\n if (expandedView.value.viewStart > screenMiddle) {\n zeroedOffset = zeroedOffset - (expandedView.value.viewStart - screenMiddle + ICON_HEIGHT / 2);\n } else {\n if (viewEnd < screenMiddle + ICON_HEIGHT) {\n zeroedOffset = zeroedOffset + (screenMiddle - expandedView.value.viewStart - ICON_HEIGHT / 2);\n } else if (expandedView.value.viewStart < screenMiddle && viewEnd > screenMiddle) {\n zeroedOffset = zeroedOffset + (screenMiddle - expandedView.value.viewStart - ICON_HEIGHT / 2);\n }\n }\n\n return clamp(zeroedOffset, 0, expandedView.value.viewHeight - ICON_HEIGHT - 8);\n });\n\n const iconStyle = useAnimatedStyle(() => {\n return {\n transform: [\n {\n translateY: iconTopPosition.value,\n },\n ],\n };\n });\n\n const previewText = expanded ? attributeText : attributeText.slice(0, VALUE_PREVIEW_LENGTH) + '...';\n\n useEffect(() => {\n if (!scrollOffset || isSingleLine === undefined) {\n return;\n }\n\n setTimeout(() => {\n valueViewRef.current?.measure((x, y, w, h, px, py) => {\n expandedView.value = {\n expandedAtOffset: isSingleLine ? 0 : scrollOffset.value,\n viewHeight: isSingleLine ? 0 : h - 2 * CONTAINER_PADDING,\n viewStart: py,\n };\n });\n }, 0);\n // We only recompute when any attribute is expanded\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [expandedAttributes, isSingleLine]);\n\n const onTextLayout = useCallback((event: LayoutChangeEvent) => {\n const { height } = event.nativeEvent.layout;\n setIsSingleLine(height <= 24);\n }, []);\n\n return (\n <View\n style={[\n styles.container,\n { backgroundColor: colorScheme.nerdView.attributeSectionBackground },\n last ? styles.lastAttribute : {},\n ]}\n testID={testID}>\n <Typography\n color={colorScheme.nerdView.attributeLabel}\n preset=\"s/code\"\n style={styles.attributeLabel}\n testID={concatTestID(testID, 'attributeLabel')}>\n {attributeKey}\n </Typography>\n <View\n ref={valueViewRef}\n style={[\n styles.attributeValueContainer,\n {\n backgroundColor: colorScheme.nerdView.attributeValueBackground,\n borderColor: colorScheme.nerdView.attributeValueBorder,\n },\n ]}>\n {element ? (\n element\n ) : (\n <TextWithHighlight\n highlightedText={highlightedText}\n onLayout={onTextLayout}\n testID={concatTestID(testID, 'attributeValue')!}\n text={previewText}\n />\n )}\n {(canBeCopied || link) && isSingleLine !== undefined ? (\n <Animated.View style={[styles.actionIcon, isSingleLine ? styles.actionIconSingleLine : undefined, iconStyle]}>\n {\n <ActionIcon\n copy={canBeCopied}\n link={link}\n onCopyToClipboard={onCopyToClipboard}\n testID={concatTestID(testID, 'actionIcon')}\n value={`${highlightedText}${attributeText}`}\n />\n }\n </Animated.View>\n ) : null}\n </View>\n {expandable ? (\n <Button\n onPress={() => {\n onExpand && onExpand(!expanded);\n setExpanded(!expanded);\n }}\n style={styles.expandValueButton}\n testID={concatTestID(testID, 'expandValueButton')}\n title={expanded ? labels.collapse : labels.expand}\n type={ButtonType.SmallTech}\n />\n ) : null}\n </View>\n );\n};\n\nexport default NerdModeItem;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAuBC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3F,SAASC,UAAU,EAAqBC,OAAO,EAAEC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAClG,SAASC,gBAAgB,QAAQ,8BAA8B;AAC/D,OAAOC,QAAQ,IACbC,KAAK,EAELC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,QACT,yBAAyB;AAEhC,SAASC,MAAM,EAAEC,UAAU,QAAQ,mBAAmB;AACtD,SAASC,eAAe,EAAEC,YAAY,QAAQ,oBAAoB;AAClE,OAAOC,UAAU,MAAM,oBAAoB;AAC3C,SAASC,iBAAiB,QAAQ,+BAA+B;AACjE,SAASC,YA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