@bifold/core 2.3.0 → 2.4.1

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 (603) hide show
  1. package/lib/commonjs/App.js +1 -1
  2. package/lib/commonjs/App.js.map +1 -1
  3. package/lib/commonjs/components/animated/ButtonLoading.js +2 -2
  4. package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -1
  5. package/lib/commonjs/components/animated/ConnectionLoading.js +3 -3
  6. package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -1
  7. package/lib/commonjs/components/animated/LoadingIndicator.js +2 -2
  8. package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -1
  9. package/lib/commonjs/components/animated/PresentationLoading.js +3 -3
  10. package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -1
  11. package/lib/commonjs/components/animated/RecordLoading.js +5 -5
  12. package/lib/commonjs/components/animated/RecordLoading.js.map +1 -1
  13. package/lib/commonjs/components/animated/SendingProof.js +3 -3
  14. package/lib/commonjs/components/animated/SendingProof.js.map +1 -1
  15. package/lib/commonjs/components/animated/SentProof.js +3 -3
  16. package/lib/commonjs/components/animated/SentProof.js.map +1 -1
  17. package/lib/commonjs/components/buttons/Button.js +1 -1
  18. package/lib/commonjs/components/buttons/Button.js.map +1 -1
  19. package/lib/commonjs/components/buttons/IconButton.js +3 -3
  20. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  21. package/lib/commonjs/components/buttons/ToggleButton.js +3 -3
  22. package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -1
  23. package/lib/commonjs/components/chat/ActionSlider.js +3 -3
  24. package/lib/commonjs/components/chat/ActionSlider.js.map +1 -1
  25. package/lib/commonjs/components/forms/WalletNameForm.js +2 -2
  26. package/lib/commonjs/components/forms/WalletNameForm.js.map +1 -1
  27. package/lib/commonjs/components/inputs/BiometryControl.js +2 -2
  28. package/lib/commonjs/components/inputs/BiometryControl.js.map +1 -1
  29. package/lib/commonjs/components/inputs/BulletPoint.js +2 -2
  30. package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -1
  31. package/lib/commonjs/components/listItems/ContactCredentialListItem.js +3 -3
  32. package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -1
  33. package/lib/commonjs/components/listItems/ContactListItem.js +2 -2
  34. package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -1
  35. package/lib/commonjs/components/listItems/NotificationListItem.js +22 -22
  36. package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -1
  37. package/lib/commonjs/components/misc/ConnectionAlert.js +5 -5
  38. package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -1
  39. package/lib/commonjs/components/misc/ConnectionImage.js +3 -3
  40. package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -1
  41. package/lib/commonjs/components/misc/CredentialCard.js +2 -2
  42. package/lib/commonjs/components/misc/CredentialCard.js.map +1 -1
  43. package/lib/commonjs/components/misc/CredentialCard10.js +6 -6
  44. package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -1
  45. package/lib/commonjs/components/misc/CredentialCard11.js +12 -12
  46. package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
  47. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +3 -3
  48. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  49. package/lib/commonjs/components/misc/EmptyList.js +2 -2
  50. package/lib/commonjs/components/misc/EmptyList.js.map +1 -1
  51. package/lib/commonjs/components/misc/EmptyListContacts.js +2 -2
  52. package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -1
  53. package/lib/commonjs/components/misc/FauxHeader.js +2 -2
  54. package/lib/commonjs/components/misc/FauxHeader.js.map +1 -1
  55. package/lib/commonjs/components/misc/InfoBox.js +29 -29
  56. package/lib/commonjs/components/misc/InfoBox.js.map +1 -1
  57. package/lib/commonjs/components/misc/NoNewUpdates.js +2 -2
  58. package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -1
  59. package/lib/commonjs/components/misc/PINValidationHelper.js +3 -3
  60. package/lib/commonjs/components/misc/PINValidationHelper.js.map +1 -1
  61. package/lib/commonjs/components/misc/QRRenderer.js +2 -2
  62. package/lib/commonjs/components/misc/QRRenderer.js.map +1 -1
  63. package/lib/commonjs/components/misc/QRScanner.js +3 -3
  64. package/lib/commonjs/components/misc/QRScanner.js.map +1 -1
  65. package/lib/commonjs/components/misc/QRScannerTorch.js +4 -4
  66. package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -1
  67. package/lib/commonjs/components/misc/SharedProofData.js +2 -2
  68. package/lib/commonjs/components/misc/SharedProofData.js.map +1 -1
  69. package/lib/commonjs/components/misc/UnorderedList.js +3 -3
  70. package/lib/commonjs/components/misc/UnorderedList.js.map +1 -1
  71. package/lib/commonjs/components/misc/VerifierCredentialCard.js +7 -7
  72. package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -1
  73. package/lib/commonjs/components/modals/AppGuideModal.js +7 -7
  74. package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -1
  75. package/lib/commonjs/components/modals/CameraDisclosureModal.js +4 -4
  76. package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -1
  77. package/lib/commonjs/components/modals/CommonRemoveModal.js +7 -7
  78. package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -1
  79. package/lib/commonjs/components/modals/DismissiblePopupModal.js +7 -7
  80. package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -1
  81. package/lib/commonjs/components/modals/ErrorModal.js +4 -4
  82. package/lib/commonjs/components/modals/ErrorModal.js.map +1 -1
  83. package/lib/commonjs/components/modals/ImageModal.js +4 -4
  84. package/lib/commonjs/components/modals/ImageModal.js.map +1 -1
  85. package/lib/commonjs/components/modals/PopupModal.js +2 -2
  86. package/lib/commonjs/components/modals/PopupModal.js.map +1 -1
  87. package/lib/commonjs/components/modals/ProofCancelModal.js +2 -2
  88. package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -1
  89. package/lib/commonjs/components/record/RecordFooter.js +2 -2
  90. package/lib/commonjs/components/record/RecordFooter.js.map +1 -1
  91. package/lib/commonjs/components/record/RecordHeader.js +2 -2
  92. package/lib/commonjs/components/record/RecordHeader.js.map +1 -1
  93. package/lib/commonjs/components/record/RecordRemove.js +5 -5
  94. package/lib/commonjs/components/record/RecordRemove.js.map +1 -1
  95. package/lib/commonjs/components/texts/HighlightTextBox.js +3 -3
  96. package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -1
  97. package/lib/commonjs/components/texts/InfoTextBox.js +17 -17
  98. package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -1
  99. package/lib/commonjs/components/texts/Link.js +2 -2
  100. package/lib/commonjs/components/texts/Link.js.map +1 -1
  101. package/lib/commonjs/components/toast/BaseToast.js +17 -17
  102. package/lib/commonjs/components/toast/BaseToast.js.map +1 -1
  103. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +2 -2
  104. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -1
  105. package/lib/commonjs/components/tour/CredentialsTourSteps.js +2 -2
  106. package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -1
  107. package/lib/commonjs/components/tour/HomeTourSteps.js +6 -6
  108. package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -1
  109. package/lib/commonjs/components/tour/ProofRequestTourSteps.js +2 -2
  110. package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -1
  111. package/lib/commonjs/components/tour/TourBox.js +6 -6
  112. package/lib/commonjs/components/tour/TourBox.js.map +1 -1
  113. package/lib/commonjs/components/views/Banner.js +19 -9
  114. package/lib/commonjs/components/views/Banner.js.map +1 -1
  115. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +3 -3
  116. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  117. package/lib/commonjs/components/views/KeyboardView.js +2 -2
  118. package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
  119. package/lib/commonjs/components/views/ProgressBar.js +3 -3
  120. package/lib/commonjs/components/views/ProgressBar.js.map +1 -1
  121. package/lib/commonjs/contexts/reducers/store.js +2 -1
  122. package/lib/commonjs/contexts/reducers/store.js.map +1 -1
  123. package/lib/commonjs/hooks/chat-messages.js +3 -3
  124. package/lib/commonjs/hooks/chat-messages.js.map +1 -1
  125. package/lib/commonjs/hooks/credential-card-styles.js +4 -4
  126. package/lib/commonjs/hooks/credential-card-styles.js.map +1 -1
  127. package/lib/commonjs/index.js +11 -3
  128. package/lib/commonjs/index.js.map +1 -1
  129. package/lib/commonjs/modules/history/ui/HistoryPage.js +2 -2
  130. package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -1
  131. package/lib/commonjs/modules/history/ui/HistorySettings.js +2 -2
  132. package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
  133. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +2 -2
  134. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -1
  135. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +5 -5
  136. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  137. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  138. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  139. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  140. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  141. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
  142. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  143. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  144. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  145. package/lib/commonjs/navigators/TabStack.js +2 -2
  146. package/lib/commonjs/navigators/TabStack.js.map +1 -1
  147. package/lib/commonjs/navigators/defaultStackOptions.js +3 -3
  148. package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
  149. package/lib/commonjs/screens/AttemptLockout.js +2 -2
  150. package/lib/commonjs/screens/AttemptLockout.js.map +1 -1
  151. package/lib/commonjs/screens/AutoLock.js +7 -7
  152. package/lib/commonjs/screens/AutoLock.js.map +1 -1
  153. package/lib/commonjs/screens/ConfigureMediator.js +7 -7
  154. package/lib/commonjs/screens/ConfigureMediator.js.map +1 -1
  155. package/lib/commonjs/screens/ContactDetails.js +9 -9
  156. package/lib/commonjs/screens/ContactDetails.js.map +1 -1
  157. package/lib/commonjs/screens/CredentialDetails.js +16 -16
  158. package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
  159. package/lib/commonjs/screens/CredentialOffer.js +2 -2
  160. package/lib/commonjs/screens/CredentialOffer.js.map +1 -1
  161. package/lib/commonjs/screens/DataRetention.js +11 -11
  162. package/lib/commonjs/screens/DataRetention.js.map +1 -1
  163. package/lib/commonjs/screens/Developer.js +29 -29
  164. package/lib/commonjs/screens/Developer.js.map +1 -1
  165. package/lib/commonjs/screens/Home.js +2 -2
  166. package/lib/commonjs/screens/Home.js.map +1 -1
  167. package/lib/commonjs/screens/JSONDetails.js +3 -3
  168. package/lib/commonjs/screens/JSONDetails.js.map +1 -1
  169. package/lib/commonjs/screens/Language.js +7 -7
  170. package/lib/commonjs/screens/Language.js.map +1 -1
  171. package/lib/commonjs/screens/ListContacts.js +3 -3
  172. package/lib/commonjs/screens/ListContacts.js.map +1 -1
  173. package/lib/commonjs/screens/ListCredentials.js +2 -2
  174. package/lib/commonjs/screens/ListCredentials.js.map +1 -1
  175. package/lib/commonjs/screens/ListProofRequests.js +2 -2
  176. package/lib/commonjs/screens/ListProofRequests.js.map +1 -1
  177. package/lib/commonjs/screens/MobileVerifierLoading.js +3 -3
  178. package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -1
  179. package/lib/commonjs/screens/PINChange.js +2 -2
  180. package/lib/commonjs/screens/PINChange.js.map +1 -1
  181. package/lib/commonjs/screens/PINCreate.js +5 -3
  182. package/lib/commonjs/screens/PINCreate.js.map +1 -1
  183. package/lib/commonjs/screens/PINEnter.js +3 -3
  184. package/lib/commonjs/screens/PINEnter.js.map +1 -1
  185. package/lib/commonjs/screens/PINExplainer.js +3 -3
  186. package/lib/commonjs/screens/PINExplainer.js.map +1 -1
  187. package/lib/commonjs/screens/PINVerify.js +2 -2
  188. package/lib/commonjs/screens/PINVerify.js.map +1 -1
  189. package/lib/commonjs/screens/PasteUrl.js +4 -4
  190. package/lib/commonjs/screens/PasteUrl.js.map +1 -1
  191. package/lib/commonjs/screens/ProofChangeCredential.js +2 -2
  192. package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -1
  193. package/lib/commonjs/screens/ProofDetails.js +3 -3
  194. package/lib/commonjs/screens/ProofDetails.js.map +1 -1
  195. package/lib/commonjs/screens/ProofRequest.js +7 -7
  196. package/lib/commonjs/screens/ProofRequest.js.map +1 -1
  197. package/lib/commonjs/screens/ProofRequestAccept.js +3 -3
  198. package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -1
  199. package/lib/commonjs/screens/ProofRequestDetails.js +4 -4
  200. package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -1
  201. package/lib/commonjs/screens/ProofRequestUsageHistory.js +2 -2
  202. package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -1
  203. package/lib/commonjs/screens/ProofRequesting.js +5 -5
  204. package/lib/commonjs/screens/ProofRequesting.js.map +1 -1
  205. package/lib/commonjs/screens/RenameContact.js +2 -2
  206. package/lib/commonjs/screens/RenameContact.js.map +1 -1
  207. package/lib/commonjs/screens/Settings.js +5 -5
  208. package/lib/commonjs/screens/Settings.js.map +1 -1
  209. package/lib/commonjs/screens/Splash.js +2 -2
  210. package/lib/commonjs/screens/Splash.js.map +1 -1
  211. package/lib/commonjs/screens/ToggleBiometry.js +2 -2
  212. package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
  213. package/lib/commonjs/screens/TogglePushNotifications.js +5 -5
  214. package/lib/commonjs/screens/TogglePushNotifications.js.map +1 -1
  215. package/lib/commonjs/screens/Tours.js +5 -5
  216. package/lib/commonjs/screens/Tours.js.map +1 -1
  217. package/lib/commonjs/screens/UpdateAvailable.js +2 -2
  218. package/lib/commonjs/screens/UpdateAvailable.js.map +1 -1
  219. package/lib/commonjs/screens/WhatAreContacts.js +2 -2
  220. package/lib/commonjs/screens/WhatAreContacts.js.map +1 -1
  221. package/lib/commonjs/services/logger.js +27 -35
  222. package/lib/commonjs/services/logger.js.map +1 -1
  223. package/lib/commonjs/theme-builder.js +140 -0
  224. package/lib/commonjs/theme-builder.js.map +1 -0
  225. package/lib/commonjs/theme.interface.js +6 -0
  226. package/lib/commonjs/theme.interface.js.map +1 -0
  227. package/lib/commonjs/theme.js +904 -670
  228. package/lib/commonjs/theme.js.map +1 -1
  229. package/lib/commonjs/utils/credential.js +3 -3
  230. package/lib/commonjs/utils/credential.js.map +1 -1
  231. package/lib/commonjs/utils/mediatorhelpers.js +16 -12
  232. package/lib/commonjs/utils/mediatorhelpers.js.map +1 -1
  233. package/lib/module/App.js +1 -1
  234. package/lib/module/App.js.map +1 -1
  235. package/lib/module/components/animated/ButtonLoading.js +2 -2
  236. package/lib/module/components/animated/ButtonLoading.js.map +1 -1
  237. package/lib/module/components/animated/ConnectionLoading.js +3 -3
  238. package/lib/module/components/animated/ConnectionLoading.js.map +1 -1
  239. package/lib/module/components/animated/LoadingIndicator.js +2 -2
  240. package/lib/module/components/animated/LoadingIndicator.js.map +1 -1
  241. package/lib/module/components/animated/PresentationLoading.js +3 -3
  242. package/lib/module/components/animated/PresentationLoading.js.map +1 -1
  243. package/lib/module/components/animated/RecordLoading.js +5 -5
  244. package/lib/module/components/animated/RecordLoading.js.map +1 -1
  245. package/lib/module/components/animated/SendingProof.js +3 -3
  246. package/lib/module/components/animated/SendingProof.js.map +1 -1
  247. package/lib/module/components/animated/SentProof.js +3 -3
  248. package/lib/module/components/animated/SentProof.js.map +1 -1
  249. package/lib/module/components/buttons/Button.js +1 -1
  250. package/lib/module/components/buttons/Button.js.map +1 -1
  251. package/lib/module/components/buttons/IconButton.js +3 -3
  252. package/lib/module/components/buttons/IconButton.js.map +1 -1
  253. package/lib/module/components/buttons/ToggleButton.js +3 -3
  254. package/lib/module/components/buttons/ToggleButton.js.map +1 -1
  255. package/lib/module/components/chat/ActionSlider.js +3 -3
  256. package/lib/module/components/chat/ActionSlider.js.map +1 -1
  257. package/lib/module/components/forms/WalletNameForm.js +2 -2
  258. package/lib/module/components/forms/WalletNameForm.js.map +1 -1
  259. package/lib/module/components/inputs/BiometryControl.js +2 -2
  260. package/lib/module/components/inputs/BiometryControl.js.map +1 -1
  261. package/lib/module/components/inputs/BulletPoint.js +2 -2
  262. package/lib/module/components/inputs/BulletPoint.js.map +1 -1
  263. package/lib/module/components/listItems/ContactCredentialListItem.js +3 -3
  264. package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -1
  265. package/lib/module/components/listItems/ContactListItem.js +2 -2
  266. package/lib/module/components/listItems/ContactListItem.js.map +1 -1
  267. package/lib/module/components/listItems/NotificationListItem.js +22 -22
  268. package/lib/module/components/listItems/NotificationListItem.js.map +1 -1
  269. package/lib/module/components/misc/ConnectionAlert.js +5 -5
  270. package/lib/module/components/misc/ConnectionAlert.js.map +1 -1
  271. package/lib/module/components/misc/ConnectionImage.js +3 -3
  272. package/lib/module/components/misc/ConnectionImage.js.map +1 -1
  273. package/lib/module/components/misc/CredentialCard.js +2 -2
  274. package/lib/module/components/misc/CredentialCard.js.map +1 -1
  275. package/lib/module/components/misc/CredentialCard10.js +6 -6
  276. package/lib/module/components/misc/CredentialCard10.js.map +1 -1
  277. package/lib/module/components/misc/CredentialCard11.js +12 -12
  278. package/lib/module/components/misc/CredentialCard11.js.map +1 -1
  279. package/lib/module/components/misc/CredentialCard11ActionFooter.js +3 -3
  280. package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  281. package/lib/module/components/misc/EmptyList.js +2 -2
  282. package/lib/module/components/misc/EmptyList.js.map +1 -1
  283. package/lib/module/components/misc/EmptyListContacts.js +2 -2
  284. package/lib/module/components/misc/EmptyListContacts.js.map +1 -1
  285. package/lib/module/components/misc/FauxHeader.js +2 -2
  286. package/lib/module/components/misc/FauxHeader.js.map +1 -1
  287. package/lib/module/components/misc/InfoBox.js +29 -29
  288. package/lib/module/components/misc/InfoBox.js.map +1 -1
  289. package/lib/module/components/misc/NoNewUpdates.js +2 -2
  290. package/lib/module/components/misc/NoNewUpdates.js.map +1 -1
  291. package/lib/module/components/misc/PINValidationHelper.js +3 -3
  292. package/lib/module/components/misc/PINValidationHelper.js.map +1 -1
  293. package/lib/module/components/misc/QRRenderer.js +2 -2
  294. package/lib/module/components/misc/QRRenderer.js.map +1 -1
  295. package/lib/module/components/misc/QRScanner.js +3 -3
  296. package/lib/module/components/misc/QRScanner.js.map +1 -1
  297. package/lib/module/components/misc/QRScannerTorch.js +4 -4
  298. package/lib/module/components/misc/QRScannerTorch.js.map +1 -1
  299. package/lib/module/components/misc/SharedProofData.js +2 -2
  300. package/lib/module/components/misc/SharedProofData.js.map +1 -1
  301. package/lib/module/components/misc/UnorderedList.js +3 -3
  302. package/lib/module/components/misc/UnorderedList.js.map +1 -1
  303. package/lib/module/components/misc/VerifierCredentialCard.js +7 -7
  304. package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -1
  305. package/lib/module/components/modals/AppGuideModal.js +7 -7
  306. package/lib/module/components/modals/AppGuideModal.js.map +1 -1
  307. package/lib/module/components/modals/CameraDisclosureModal.js +4 -4
  308. package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -1
  309. package/lib/module/components/modals/CommonRemoveModal.js +7 -7
  310. package/lib/module/components/modals/CommonRemoveModal.js.map +1 -1
  311. package/lib/module/components/modals/DismissiblePopupModal.js +7 -7
  312. package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -1
  313. package/lib/module/components/modals/ErrorModal.js +4 -4
  314. package/lib/module/components/modals/ErrorModal.js.map +1 -1
  315. package/lib/module/components/modals/ImageModal.js +4 -4
  316. package/lib/module/components/modals/ImageModal.js.map +1 -1
  317. package/lib/module/components/modals/PopupModal.js +2 -2
  318. package/lib/module/components/modals/PopupModal.js.map +1 -1
  319. package/lib/module/components/modals/ProofCancelModal.js +2 -2
  320. package/lib/module/components/modals/ProofCancelModal.js.map +1 -1
  321. package/lib/module/components/record/RecordFooter.js +2 -2
  322. package/lib/module/components/record/RecordFooter.js.map +1 -1
  323. package/lib/module/components/record/RecordHeader.js +2 -2
  324. package/lib/module/components/record/RecordHeader.js.map +1 -1
  325. package/lib/module/components/record/RecordRemove.js +5 -5
  326. package/lib/module/components/record/RecordRemove.js.map +1 -1
  327. package/lib/module/components/texts/HighlightTextBox.js +3 -3
  328. package/lib/module/components/texts/HighlightTextBox.js.map +1 -1
  329. package/lib/module/components/texts/InfoTextBox.js +17 -17
  330. package/lib/module/components/texts/InfoTextBox.js.map +1 -1
  331. package/lib/module/components/texts/Link.js +2 -2
  332. package/lib/module/components/texts/Link.js.map +1 -1
  333. package/lib/module/components/toast/BaseToast.js +17 -17
  334. package/lib/module/components/toast/BaseToast.js.map +1 -1
  335. package/lib/module/components/tour/CredentialOfferTourSteps.js +2 -2
  336. package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -1
  337. package/lib/module/components/tour/CredentialsTourSteps.js +2 -2
  338. package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -1
  339. package/lib/module/components/tour/HomeTourSteps.js +6 -6
  340. package/lib/module/components/tour/HomeTourSteps.js.map +1 -1
  341. package/lib/module/components/tour/ProofRequestTourSteps.js +2 -2
  342. package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -1
  343. package/lib/module/components/tour/TourBox.js +6 -6
  344. package/lib/module/components/tour/TourBox.js.map +1 -1
  345. package/lib/module/components/views/Banner.js +19 -9
  346. package/lib/module/components/views/Banner.js.map +1 -1
  347. package/lib/module/components/views/CredentialDetailPrimaryHeader.js +3 -3
  348. package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  349. package/lib/module/components/views/KeyboardView.js +2 -2
  350. package/lib/module/components/views/KeyboardView.js.map +1 -1
  351. package/lib/module/components/views/ProgressBar.js +3 -3
  352. package/lib/module/components/views/ProgressBar.js.map +1 -1
  353. package/lib/module/contexts/reducers/store.js +2 -1
  354. package/lib/module/contexts/reducers/store.js.map +1 -1
  355. package/lib/module/hooks/chat-messages.js +3 -3
  356. package/lib/module/hooks/chat-messages.js.map +1 -1
  357. package/lib/module/hooks/credential-card-styles.js +4 -4
  358. package/lib/module/hooks/credential-card-styles.js.map +1 -1
  359. package/lib/module/index.js +3 -2
  360. package/lib/module/index.js.map +1 -1
  361. package/lib/module/modules/history/ui/HistoryPage.js +2 -2
  362. package/lib/module/modules/history/ui/HistoryPage.js.map +1 -1
  363. package/lib/module/modules/history/ui/HistorySettings.js +2 -2
  364. package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
  365. package/lib/module/modules/history/ui/components/HistoryListItem.js +2 -2
  366. package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -1
  367. package/lib/module/modules/openid/components/OpenIDCredentialCard.js +5 -5
  368. package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  369. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  370. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  371. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  372. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  373. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
  374. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  375. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  376. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  377. package/lib/module/navigators/TabStack.js +2 -2
  378. package/lib/module/navigators/TabStack.js.map +1 -1
  379. package/lib/module/navigators/defaultStackOptions.js +3 -3
  380. package/lib/module/navigators/defaultStackOptions.js.map +1 -1
  381. package/lib/module/screens/AttemptLockout.js +2 -2
  382. package/lib/module/screens/AttemptLockout.js.map +1 -1
  383. package/lib/module/screens/AutoLock.js +7 -7
  384. package/lib/module/screens/AutoLock.js.map +1 -1
  385. package/lib/module/screens/ConfigureMediator.js +7 -7
  386. package/lib/module/screens/ConfigureMediator.js.map +1 -1
  387. package/lib/module/screens/ContactDetails.js +9 -9
  388. package/lib/module/screens/ContactDetails.js.map +1 -1
  389. package/lib/module/screens/CredentialDetails.js +16 -16
  390. package/lib/module/screens/CredentialDetails.js.map +1 -1
  391. package/lib/module/screens/CredentialOffer.js +2 -2
  392. package/lib/module/screens/CredentialOffer.js.map +1 -1
  393. package/lib/module/screens/DataRetention.js +11 -11
  394. package/lib/module/screens/DataRetention.js.map +1 -1
  395. package/lib/module/screens/Developer.js +29 -29
  396. package/lib/module/screens/Developer.js.map +1 -1
  397. package/lib/module/screens/Home.js +2 -2
  398. package/lib/module/screens/Home.js.map +1 -1
  399. package/lib/module/screens/JSONDetails.js +3 -3
  400. package/lib/module/screens/JSONDetails.js.map +1 -1
  401. package/lib/module/screens/Language.js +7 -7
  402. package/lib/module/screens/Language.js.map +1 -1
  403. package/lib/module/screens/ListContacts.js +3 -3
  404. package/lib/module/screens/ListContacts.js.map +1 -1
  405. package/lib/module/screens/ListCredentials.js +2 -2
  406. package/lib/module/screens/ListCredentials.js.map +1 -1
  407. package/lib/module/screens/ListProofRequests.js +2 -2
  408. package/lib/module/screens/ListProofRequests.js.map +1 -1
  409. package/lib/module/screens/MobileVerifierLoading.js +3 -3
  410. package/lib/module/screens/MobileVerifierLoading.js.map +1 -1
  411. package/lib/module/screens/PINChange.js +2 -2
  412. package/lib/module/screens/PINChange.js.map +1 -1
  413. package/lib/module/screens/PINCreate.js +5 -3
  414. package/lib/module/screens/PINCreate.js.map +1 -1
  415. package/lib/module/screens/PINEnter.js +3 -3
  416. package/lib/module/screens/PINEnter.js.map +1 -1
  417. package/lib/module/screens/PINExplainer.js +3 -3
  418. package/lib/module/screens/PINExplainer.js.map +1 -1
  419. package/lib/module/screens/PINVerify.js +2 -2
  420. package/lib/module/screens/PINVerify.js.map +1 -1
  421. package/lib/module/screens/PasteUrl.js +4 -4
  422. package/lib/module/screens/PasteUrl.js.map +1 -1
  423. package/lib/module/screens/ProofChangeCredential.js +2 -2
  424. package/lib/module/screens/ProofChangeCredential.js.map +1 -1
  425. package/lib/module/screens/ProofDetails.js +3 -3
  426. package/lib/module/screens/ProofDetails.js.map +1 -1
  427. package/lib/module/screens/ProofRequest.js +7 -7
  428. package/lib/module/screens/ProofRequest.js.map +1 -1
  429. package/lib/module/screens/ProofRequestAccept.js +3 -3
  430. package/lib/module/screens/ProofRequestAccept.js.map +1 -1
  431. package/lib/module/screens/ProofRequestDetails.js +4 -4
  432. package/lib/module/screens/ProofRequestDetails.js.map +1 -1
  433. package/lib/module/screens/ProofRequestUsageHistory.js +2 -2
  434. package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -1
  435. package/lib/module/screens/ProofRequesting.js +5 -5
  436. package/lib/module/screens/ProofRequesting.js.map +1 -1
  437. package/lib/module/screens/RenameContact.js +2 -2
  438. package/lib/module/screens/RenameContact.js.map +1 -1
  439. package/lib/module/screens/Settings.js +5 -5
  440. package/lib/module/screens/Settings.js.map +1 -1
  441. package/lib/module/screens/Splash.js +2 -2
  442. package/lib/module/screens/Splash.js.map +1 -1
  443. package/lib/module/screens/ToggleBiometry.js +2 -2
  444. package/lib/module/screens/ToggleBiometry.js.map +1 -1
  445. package/lib/module/screens/TogglePushNotifications.js +5 -5
  446. package/lib/module/screens/TogglePushNotifications.js.map +1 -1
  447. package/lib/module/screens/Tours.js +5 -5
  448. package/lib/module/screens/Tours.js.map +1 -1
  449. package/lib/module/screens/UpdateAvailable.js +2 -2
  450. package/lib/module/screens/UpdateAvailable.js.map +1 -1
  451. package/lib/module/screens/WhatAreContacts.js +2 -2
  452. package/lib/module/screens/WhatAreContacts.js.map +1 -1
  453. package/lib/module/services/logger.js +27 -35
  454. package/lib/module/services/logger.js.map +1 -1
  455. package/lib/module/theme-builder.js +133 -0
  456. package/lib/module/theme-builder.js.map +1 -0
  457. package/lib/module/theme.interface.js +2 -0
  458. package/lib/module/theme.interface.js.map +1 -0
  459. package/lib/module/theme.js +888 -669
  460. package/lib/module/theme.js.map +1 -1
  461. package/lib/module/utils/credential.js +3 -3
  462. package/lib/module/utils/credential.js.map +1 -1
  463. package/lib/module/utils/mediatorhelpers.js +16 -12
  464. package/lib/module/utils/mediatorhelpers.js.map +1 -1
  465. package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -1
  466. package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
  467. package/lib/typescript/src/components/views/Banner.d.ts.map +1 -1
  468. package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
  469. package/lib/typescript/src/hooks/credential-card-styles.d.ts +375 -13
  470. package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
  471. package/lib/typescript/src/index.d.ts +5 -4
  472. package/lib/typescript/src/index.d.ts.map +1 -1
  473. package/lib/typescript/src/navigators/defaultStackOptions.d.ts +1 -1
  474. package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
  475. package/lib/typescript/src/screens/Developer.d.ts.map +1 -1
  476. package/lib/typescript/src/services/logger.d.ts +8 -7
  477. package/lib/typescript/src/services/logger.d.ts.map +1 -1
  478. package/lib/typescript/src/theme-builder.d.ts +68 -0
  479. package/lib/typescript/src/theme-builder.d.ts.map +1 -0
  480. package/lib/typescript/src/theme.d.ts +204 -702
  481. package/lib/typescript/src/theme.d.ts.map +1 -1
  482. package/lib/typescript/src/theme.interface.d.ts +557 -0
  483. package/lib/typescript/src/theme.interface.d.ts.map +1 -0
  484. package/lib/typescript/src/utils/credential.d.ts +1 -1
  485. package/lib/typescript/src/utils/credential.d.ts.map +1 -1
  486. package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
  487. package/package.json +3 -3
  488. package/src/App.tsx +1 -1
  489. package/src/components/animated/ButtonLoading.tsx +2 -2
  490. package/src/components/animated/ConnectionLoading.tsx +3 -3
  491. package/src/components/animated/LoadingIndicator.tsx +2 -2
  492. package/src/components/animated/PresentationLoading.tsx +3 -3
  493. package/src/components/animated/RecordLoading.tsx +5 -5
  494. package/src/components/animated/SendingProof.tsx +3 -3
  495. package/src/components/animated/SentProof.tsx +3 -3
  496. package/src/components/buttons/Button.tsx +1 -1
  497. package/src/components/buttons/IconButton.tsx +5 -3
  498. package/src/components/buttons/ToggleButton.tsx +3 -3
  499. package/src/components/chat/ActionSlider.tsx +3 -3
  500. package/src/components/forms/WalletNameForm.tsx +2 -2
  501. package/src/components/inputs/BiometryControl.tsx +2 -2
  502. package/src/components/inputs/BulletPoint.tsx +2 -2
  503. package/src/components/listItems/ContactCredentialListItem.tsx +3 -3
  504. package/src/components/listItems/ContactListItem.tsx +2 -2
  505. package/src/components/listItems/NotificationListItem.tsx +22 -22
  506. package/src/components/misc/ConnectionAlert.tsx +5 -5
  507. package/src/components/misc/ConnectionImage.tsx +3 -3
  508. package/src/components/misc/CredentialCard.tsx +2 -2
  509. package/src/components/misc/CredentialCard10.tsx +6 -6
  510. package/src/components/misc/CredentialCard11.tsx +16 -12
  511. package/src/components/misc/CredentialCard11ActionFooter.tsx +3 -3
  512. package/src/components/misc/EmptyList.tsx +2 -2
  513. package/src/components/misc/EmptyListContacts.tsx +2 -2
  514. package/src/components/misc/FauxHeader.tsx +2 -2
  515. package/src/components/misc/InfoBox.tsx +29 -29
  516. package/src/components/misc/NoNewUpdates.tsx +2 -2
  517. package/src/components/misc/PINValidationHelper.tsx +3 -3
  518. package/src/components/misc/QRRenderer.tsx +2 -2
  519. package/src/components/misc/QRScanner.tsx +3 -3
  520. package/src/components/misc/QRScannerTorch.tsx +4 -4
  521. package/src/components/misc/SharedProofData.tsx +2 -2
  522. package/src/components/misc/UnorderedList.tsx +3 -3
  523. package/src/components/misc/VerifierCredentialCard.tsx +7 -7
  524. package/src/components/modals/AppGuideModal.tsx +7 -7
  525. package/src/components/modals/CameraDisclosureModal.tsx +4 -4
  526. package/src/components/modals/CommonRemoveModal.tsx +7 -7
  527. package/src/components/modals/DismissiblePopupModal.tsx +7 -7
  528. package/src/components/modals/ErrorModal.tsx +4 -4
  529. package/src/components/modals/ImageModal.tsx +4 -4
  530. package/src/components/modals/PopupModal.tsx +2 -2
  531. package/src/components/modals/ProofCancelModal.tsx +2 -2
  532. package/src/components/record/RecordFooter.tsx +2 -2
  533. package/src/components/record/RecordHeader.tsx +2 -2
  534. package/src/components/record/RecordRemove.tsx +5 -5
  535. package/src/components/texts/HighlightTextBox.tsx +3 -3
  536. package/src/components/texts/InfoTextBox.tsx +17 -17
  537. package/src/components/texts/Link.tsx +2 -2
  538. package/src/components/toast/BaseToast.tsx +17 -17
  539. package/src/components/tour/CredentialOfferTourSteps.tsx +2 -2
  540. package/src/components/tour/CredentialsTourSteps.tsx +2 -2
  541. package/src/components/tour/HomeTourSteps.tsx +6 -6
  542. package/src/components/tour/ProofRequestTourSteps.tsx +2 -2
  543. package/src/components/tour/TourBox.tsx +6 -6
  544. package/src/components/views/Banner.tsx +21 -14
  545. package/src/components/views/CredentialDetailPrimaryHeader.tsx +4 -4
  546. package/src/components/views/KeyboardView.tsx +2 -2
  547. package/src/components/views/ProgressBar.tsx +3 -3
  548. package/src/contexts/reducers/store.ts +4 -1
  549. package/src/hooks/chat-messages.tsx +3 -3
  550. package/src/hooks/credential-card-styles.ts +4 -4
  551. package/src/index.ts +5 -3
  552. package/src/modules/history/ui/HistoryPage.tsx +2 -2
  553. package/src/modules/history/ui/HistorySettings.tsx +2 -2
  554. package/src/modules/history/ui/components/HistoryListItem.tsx +2 -2
  555. package/src/modules/openid/components/OpenIDCredentialCard.tsx +5 -5
  556. package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +2 -2
  557. package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +2 -2
  558. package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +2 -2
  559. package/src/modules/openid/screens/OpenIDProofPresentation.tsx +4 -4
  560. package/src/navigators/TabStack.tsx +2 -2
  561. package/src/navigators/defaultStackOptions.tsx +3 -3
  562. package/src/screens/AttemptLockout.tsx +2 -2
  563. package/src/screens/AutoLock.tsx +7 -7
  564. package/src/screens/ConfigureMediator.tsx +7 -7
  565. package/src/screens/ContactDetails.tsx +9 -9
  566. package/src/screens/CredentialDetails.tsx +16 -16
  567. package/src/screens/CredentialOffer.tsx +2 -2
  568. package/src/screens/DataRetention.tsx +11 -11
  569. package/src/screens/Developer.tsx +24 -22
  570. package/src/screens/Home.tsx +2 -2
  571. package/src/screens/JSONDetails.tsx +3 -3
  572. package/src/screens/Language.tsx +7 -7
  573. package/src/screens/ListContacts.tsx +3 -3
  574. package/src/screens/ListCredentials.tsx +2 -2
  575. package/src/screens/ListProofRequests.tsx +2 -2
  576. package/src/screens/MobileVerifierLoading.tsx +3 -3
  577. package/src/screens/PINChange.tsx +2 -2
  578. package/src/screens/PINCreate.tsx +3 -3
  579. package/src/screens/PINEnter.tsx +3 -3
  580. package/src/screens/PINExplainer.tsx +3 -3
  581. package/src/screens/PINVerify.tsx +2 -2
  582. package/src/screens/PasteUrl.tsx +4 -4
  583. package/src/screens/ProofChangeCredential.tsx +2 -2
  584. package/src/screens/ProofDetails.tsx +3 -3
  585. package/src/screens/ProofRequest.tsx +7 -7
  586. package/src/screens/ProofRequestAccept.tsx +3 -3
  587. package/src/screens/ProofRequestDetails.tsx +4 -4
  588. package/src/screens/ProofRequestUsageHistory.tsx +2 -2
  589. package/src/screens/ProofRequesting.tsx +5 -5
  590. package/src/screens/RenameContact.tsx +2 -2
  591. package/src/screens/Settings.tsx +5 -5
  592. package/src/screens/Splash.tsx +2 -2
  593. package/src/screens/ToggleBiometry.tsx +2 -2
  594. package/src/screens/TogglePushNotifications.tsx +4 -4
  595. package/src/screens/Tours.tsx +5 -5
  596. package/src/screens/UpdateAvailable.tsx +2 -2
  597. package/src/screens/WhatAreContacts.tsx +2 -2
  598. package/src/services/logger.ts +35 -14
  599. package/src/theme-builder.ts +157 -0
  600. package/src/theme.interface.ts +580 -0
  601. package/src/theme.ts +881 -774
  602. package/src/utils/credential.ts +3 -3
  603. package/src/utils/mediatorhelpers.ts +23 -12
@@ -1,6 +1,7 @@
1
- import { TextStyle, ViewStyle } from 'react-native';
1
+ import { ViewStyle } from 'react-native';
2
2
  import { SvgProps } from 'react-native-svg';
3
3
  import React from 'react';
4
+ import { IChatTheme, IHomeTheme, IInputs, ISettingsTheme, ITabTheme, ITextTheme, IOnboardingTheme, IDialogTheme, ILoadingTheme, IPINInputTheme, IInlineInputMessage, IButtons, IListItems } from './theme.interface';
4
5
  export interface ISVGAssets {
5
6
  activityIndicator: React.FC<SvgProps>;
6
7
  appLockout: React.FC<SvgProps>;
@@ -88,76 +89,6 @@ export interface IInputAttributes {
88
89
  borderWidth?: number;
89
90
  borderColor?: string;
90
91
  }
91
- export interface IInlineInputMessage {
92
- inlineErrorText: IFontAttributes;
93
- InlineErrorIcon: React.FC<SvgProps>;
94
- inlineWarningText: IFontAttributes;
95
- InlineWarningIcon: React.FC<SvgProps>;
96
- }
97
- export interface IInputs {
98
- label: IFontAttributes;
99
- textInput: IInputAttributes;
100
- inputSelected: IInputAttributes;
101
- singleSelect: IInputAttributes;
102
- singleSelectText: IFontAttributes;
103
- singleSelectIcon: IInputAttributes;
104
- checkBoxColor: IInputAttributes;
105
- checkBoxText: IFontAttributes;
106
- }
107
- export interface ITextTheme {
108
- headingOne: IFontAttributes;
109
- headingTwo: IFontAttributes;
110
- headingThree: IFontAttributes;
111
- headingFour: IFontAttributes;
112
- normal: IFontAttributes;
113
- bold: IFontAttributes;
114
- label: IFontAttributes;
115
- labelTitle: IFontAttributes;
116
- labelSubtitle: IFontAttributes;
117
- labelText: IFontAttributes;
118
- caption: IFontAttributes;
119
- title: IFontAttributes;
120
- headerTitle: IFontAttributes;
121
- modalNormal: IFontAttributes;
122
- modalTitle: IFontAttributes;
123
- popupModalText: IFontAttributes;
124
- modalHeadingOne: IFontAttributes;
125
- modalHeadingThree: IFontAttributes;
126
- settingsText: IFontAttributes;
127
- inlineErrorText: IFontAttributes;
128
- inlineWarningText: IFontAttributes;
129
- }
130
- export interface IBrandColors {
131
- primary: string;
132
- primaryDisabled: string;
133
- secondary: string;
134
- secondaryDisabled: string;
135
- tertiary: string;
136
- tertiaryDisabled: string;
137
- primaryLight: string;
138
- highlight: string;
139
- primaryBackground: string;
140
- secondaryBackground: string;
141
- tertiaryBackground: string;
142
- modalPrimary: string;
143
- modalSecondary: string;
144
- modalTertiary: string;
145
- modalPrimaryBackground: string;
146
- modalSecondaryBackground: string;
147
- modalTertiaryBackground: string;
148
- modalIcon: string;
149
- link: string;
150
- text: string;
151
- icon: string;
152
- headerText: string;
153
- headerIcon: string;
154
- buttonText: string;
155
- tabBarInactive: string;
156
- unorderedList: string;
157
- unorderedListModal: string;
158
- inlineError: string;
159
- inlineWarning: string;
160
- }
161
92
  export interface ISemanticColors {
162
93
  error: string;
163
94
  success: string;
@@ -194,7 +125,7 @@ export interface IErrorColors {
194
125
  error: string;
195
126
  warning: string;
196
127
  }
197
- export interface IColorPallet {
128
+ export interface IColorPalette {
198
129
  brand: IBrandColors;
199
130
  semantic: ISemanticColors;
200
131
  notification: INotificationColors;
@@ -214,406 +145,103 @@ export declare const lightOpacity = 0.35;
214
145
  export declare const zeroOpacity = 0;
215
146
  export declare const borderWidth = 2;
216
147
  export declare const maxFontSizeMultiplier = 2;
217
- export declare const ColorPallet: IColorPallet;
148
+ declare const BrandColors: {
149
+ primary: string;
150
+ primaryDisabled: string;
151
+ secondary: string;
152
+ secondaryDisabled: string;
153
+ tertiary: string;
154
+ tertiaryDisabled: string;
155
+ primaryLight: string;
156
+ highlight: string;
157
+ primaryBackground: string;
158
+ secondaryBackground: string;
159
+ tertiaryBackground: string;
160
+ modalPrimary: string;
161
+ modalSecondary: string;
162
+ modalTertiary: string;
163
+ modalPrimaryBackground: string;
164
+ modalSecondaryBackground: string;
165
+ modalTertiaryBackground: string;
166
+ modalIcon: string;
167
+ unorderedList: string;
168
+ unorderedListModal: string;
169
+ link: string;
170
+ text: string;
171
+ icon: string;
172
+ headerIcon: string;
173
+ headerText: string;
174
+ buttonText: string;
175
+ tabBarInactive: string;
176
+ inlineError: string;
177
+ inlineWarning: string;
178
+ };
179
+ export type IBrandColors = typeof BrandColors;
180
+ export declare const ColorPalette: IColorPalette;
181
+ /**
182
+ * Creates a text theme based on the provided color pallet.
183
+ *
184
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
185
+ * @returns {*} {ITextTheme} - The created text theme
186
+ */
187
+ export declare function createTextTheme(theme: {
188
+ ColorPalette: IColorPalette;
189
+ }): ITextTheme;
218
190
  export declare const TextTheme: ITextTheme;
191
+ /**
192
+ * Creates a theme for inputs based on the provided color pallet and text theme.
193
+ *
194
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme; borderRadius: number }} theme - The theme object containing the color pallet, text theme, and border radius
195
+ * @returns {*} {IInputs} - The created inputs theme
196
+ */
197
+ export declare function createInputsTheme(theme: {
198
+ ColorPalette: IColorPalette;
199
+ TextTheme: ITextTheme;
200
+ borderRadius: number;
201
+ }): IInputs;
219
202
  export declare const Inputs: IInputs;
220
- export declare const Buttons: {
221
- critical: {
222
- padding: number;
223
- borderRadius: number;
224
- backgroundColor: string;
225
- };
226
- criticalText: {
227
- color: string;
228
- textAlign: "center";
229
- fontFamily?: string;
230
- fontStyle?: "normal" | "italic";
231
- fontSize: number;
232
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
233
- lineHeight?: number;
234
- };
235
- criticalTextDisabled: {
236
- color: string;
237
- textAlign: "center";
238
- fontFamily?: string;
239
- fontStyle?: "normal" | "italic";
240
- fontSize: number;
241
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
242
- lineHeight?: number;
243
- };
244
- primary: {
245
- padding: number;
246
- borderRadius: number;
247
- backgroundColor: string;
248
- };
249
- primaryDisabled: {
250
- padding: number;
251
- borderRadius: number;
252
- backgroundColor: string;
253
- };
254
- primaryText: {
255
- color: string;
256
- textAlign: "center";
257
- fontFamily?: string;
258
- fontStyle?: "normal" | "italic";
259
- fontSize: number;
260
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
261
- lineHeight?: number;
262
- };
263
- primaryTextDisabled: {
264
- textAlign: "center";
265
- fontFamily?: string;
266
- fontStyle?: "normal" | "italic";
267
- fontSize: number;
268
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
269
- color: string;
270
- lineHeight?: number;
271
- };
272
- secondary: {
273
- padding: number;
274
- borderRadius: number;
275
- borderWidth: number;
276
- borderColor: string;
277
- };
278
- secondaryDisabled: {
279
- padding: number;
280
- borderRadius: number;
281
- borderWidth: number;
282
- borderColor: string;
283
- };
284
- secondaryText: {
285
- color: string;
286
- textAlign: "center";
287
- fontFamily?: string;
288
- fontStyle?: "normal" | "italic";
289
- fontSize: number;
290
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
291
- lineHeight?: number;
292
- };
293
- secondaryTextDisabled: {
294
- color: string;
295
- textAlign: "center";
296
- fontFamily?: string;
297
- fontStyle?: "normal" | "italic";
298
- fontSize: number;
299
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
300
- lineHeight?: number;
301
- };
302
- tertiary: {
303
- padding: number;
304
- };
305
- tertiaryDisabled: {
306
- padding: number;
307
- };
308
- tertiaryText: {
309
- color: string;
310
- textAlign: "center";
311
- fontFamily?: string;
312
- fontStyle?: "normal" | "italic";
313
- fontSize: number;
314
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
315
- lineHeight?: number;
316
- };
317
- tertiaryTextDisabled: {
318
- color: string;
319
- textAlign: "center";
320
- fontFamily?: string;
321
- fontStyle?: "normal" | "italic";
322
- fontSize: number;
323
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
324
- lineHeight?: number;
325
- };
326
- modalCritical: {
327
- padding: number;
328
- borderRadius: number;
329
- backgroundColor: string;
330
- };
331
- modalCriticalDisabled: {
332
- padding: number;
333
- borderRadius: number;
334
- backgroundColor: string;
335
- };
336
- modalCriticalText: {
337
- color: string;
338
- textAlign: "center";
339
- fontFamily?: string;
340
- fontStyle?: "normal" | "italic";
341
- fontSize: number;
342
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
343
- lineHeight?: number;
344
- };
345
- modalCriticalTextDisabled: {
346
- color: string;
347
- textAlign: "center";
348
- fontFamily?: string;
349
- fontStyle?: "normal" | "italic";
350
- fontSize: number;
351
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
352
- lineHeight?: number;
353
- };
354
- modalPrimary: {
355
- padding: number;
356
- borderRadius: number;
357
- backgroundColor: string;
358
- };
359
- modalPrimaryDisabled: {
360
- padding: number;
361
- borderRadius: number;
362
- backgroundColor: string;
363
- };
364
- modalPrimaryText: {
365
- color: string;
366
- textAlign: "center";
367
- fontFamily?: string;
368
- fontStyle?: "normal" | "italic";
369
- fontSize: number;
370
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
371
- lineHeight?: number;
372
- };
373
- modalPrimaryTextDisabled: {
374
- color: string;
375
- textAlign: "center";
376
- fontFamily?: string;
377
- fontStyle?: "normal" | "italic";
378
- fontSize: number;
379
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
380
- lineHeight?: number;
381
- };
382
- modalSecondary: {
383
- padding: number;
384
- borderRadius: number;
385
- borderWidth: number;
386
- borderColor: string;
387
- };
388
- modalSecondaryDisabled: {
389
- padding: number;
390
- borderRadius: number;
391
- borderWidth: number;
392
- borderColor: string;
393
- };
394
- modalSecondaryText: {
395
- color: string;
396
- textAlign: "center";
397
- fontFamily?: string;
398
- fontStyle?: "normal" | "italic";
399
- fontSize: number;
400
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
401
- lineHeight?: number;
402
- };
403
- modalSecondaryTextDisabled: {
404
- color: string;
405
- textAlign: "center";
406
- fontFamily?: string;
407
- fontStyle?: "normal" | "italic";
408
- fontSize: number;
409
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
410
- lineHeight?: number;
411
- };
412
- modalTertiary: {
413
- padding: number;
414
- };
415
- modalTertiaryDisabled: {
416
- padding: number;
417
- };
418
- modalTertiaryText: {
419
- color: string;
420
- textAlign: "center";
421
- fontFamily?: string;
422
- fontStyle?: "normal" | "italic";
423
- fontSize: number;
424
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
425
- lineHeight?: number;
426
- };
427
- modalTertiaryTextDisabled: {
428
- color: string;
429
- textAlign: "center";
430
- fontFamily?: string;
431
- fontStyle?: "normal" | "italic";
432
- fontSize: number;
433
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
434
- lineHeight?: number;
435
- };
436
- };
437
- export declare const ListItems: {
438
- credentialBackground: {
439
- backgroundColor: string;
440
- };
441
- credentialTitle: {
442
- fontFamily?: string;
443
- fontStyle?: "normal" | "italic";
444
- fontSize: number;
445
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
446
- color: string;
447
- lineHeight?: number;
448
- };
449
- credentialDetails: {
450
- fontFamily?: string;
451
- fontStyle?: "normal" | "italic";
452
- fontSize: number;
453
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
454
- color: string;
455
- lineHeight?: number;
456
- };
457
- credentialOfferBackground: {
458
- backgroundColor: string;
459
- };
460
- credentialOfferTitle: {
461
- fontWeight: "normal";
462
- fontFamily?: string;
463
- fontStyle?: "normal" | "italic";
464
- fontSize: number;
465
- color: string;
466
- lineHeight?: number;
467
- };
468
- credentialOfferDetails: {
469
- fontFamily?: string;
470
- fontStyle?: "normal" | "italic";
471
- fontSize: number;
472
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
473
- color: string;
474
- lineHeight?: number;
475
- };
476
- revoked: {
477
- backgroundColor: string;
478
- borderColor: string;
479
- };
480
- contactBackground: {
481
- backgroundColor: string;
482
- };
483
- credentialIconColor: {
484
- color: string;
485
- };
486
- contactTitle: {
487
- color: string;
488
- };
489
- contactDate: {
490
- color: string;
491
- marginTop: number;
492
- };
493
- contactIconBackground: {
494
- backgroundColor: string;
495
- };
496
- contactIcon: {
497
- color: string;
498
- };
499
- recordAttributeLabel: {
500
- fontFamily?: string;
501
- fontStyle?: "normal" | "italic";
502
- fontSize: number;
503
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
504
- color: string;
505
- lineHeight?: number;
506
- };
507
- recordContainer: {
508
- backgroundColor: string;
509
- };
510
- recordBorder: {
511
- borderBottomColor: string;
512
- };
513
- recordLink: {
514
- color: string;
515
- };
516
- recordAttributeText: {
517
- fontFamily?: string;
518
- fontStyle?: "normal" | "italic";
519
- fontSize: number;
520
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
521
- color: string;
522
- lineHeight?: number;
523
- };
524
- proofIcon: {
525
- fontFamily?: string;
526
- fontStyle?: "normal" | "italic";
527
- fontSize: number;
528
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
529
- color: string;
530
- lineHeight?: number;
531
- };
532
- proofError: {
533
- color: string;
534
- };
535
- avatarText: {
536
- fontWeight: "normal";
537
- fontFamily?: string;
538
- fontStyle?: "normal" | "italic";
539
- fontSize: number;
540
- color: string;
541
- lineHeight?: number;
542
- };
543
- avatarCircle: {
544
- borderRadius: number;
545
- borderColor: string;
546
- width: number;
547
- height: number;
548
- };
549
- emptyList: {
550
- fontFamily?: string;
551
- fontStyle?: "normal" | "italic";
552
- fontSize: number;
553
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
554
- color: string;
555
- lineHeight?: number;
556
- };
557
- requestTemplateBackground: {
558
- backgroundColor: string;
559
- };
560
- requestTemplateIconColor: {
561
- color: string;
562
- };
563
- requestTemplateTitle: {
564
- color: string;
565
- fontWeight: "bold";
566
- fontSize: number;
567
- };
568
- requestTemplateDetails: {
569
- color: string;
570
- fontWeight: "normal";
571
- fontSize: number;
572
- };
573
- requestTemplateZkpLabel: {
574
- color: string;
575
- fontSize: number;
576
- };
577
- requestTemplateIcon: {
578
- color: string;
579
- fontSize: number;
580
- };
581
- requestTemplateDate: {
582
- color: string;
583
- fontSize: number;
584
- };
585
- };
586
- export interface ITabTheme {
587
- tabBarStyle: ViewStyle & {
588
- height: number;
589
- backgroundColor: string;
590
- shadowOffset: {
591
- width: number;
592
- height: number;
593
- };
594
- shadowRadius: number;
595
- shadowColor: string;
596
- shadowOpacity: number;
597
- borderTopWidth: number;
598
- paddingBottom: number;
599
- };
600
- tabBarContainerStyle: ViewStyle;
601
- tabBarActiveTintColor: string;
602
- tabBarInactiveTintColor: string;
603
- tabBarTextStyle: TextStyle & {
604
- fontSize: number;
605
- };
606
- tabBarButtonIconStyle: {
607
- color: string;
608
- };
609
- focusTabIconStyle: ViewStyle;
610
- focusTabActiveTintColor: {
611
- backgroundColor: string;
612
- };
613
- tabBarSecondaryBackgroundColor: string;
614
- }
203
+ /**
204
+ * Creates a theme for buttons based on the provided color pallet and text theme.
205
+ *
206
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
207
+ * @returns {*} {IButtons} - The created buttons theme
208
+ */
209
+ export declare function createButtonsTheme(theme: {
210
+ ColorPalette: IColorPalette;
211
+ TextTheme: ITextTheme;
212
+ }): IButtons;
213
+ export declare const Buttons: IButtons;
214
+ /**
215
+ * Creates a theme for list items based on the provided color pallet and text theme.
216
+ *
217
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
218
+ * @returns {*} {IListItems} - The created list items theme
219
+ */
220
+ export declare function createListItemsTheme(theme: {
221
+ ColorPalette: IColorPalette;
222
+ TextTheme: ITextTheme;
223
+ }): IListItems;
224
+ export declare const ListItems: IListItems;
225
+ /**
226
+ * Creates a theme for tabs based on the provided color pallet and text theme.
227
+ *
228
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
229
+ * @returns {*} {ITabTheme} - The created tab theme
230
+ */
231
+ export declare function createTabTheme(theme: {
232
+ ColorPalette: IColorPalette;
233
+ TextTheme: ITextTheme;
234
+ }): ITabTheme;
615
235
  export declare const TabTheme: ITabTheme;
616
- export declare const NavigationTheme: {
236
+ /**
237
+ * Creates a navigation theme based on the provided color pallet.
238
+ *
239
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
240
+ * @returns {*} {INavigationTheme} - The created navigation theme
241
+ */
242
+ export declare function createNavigationTheme(theme: {
243
+ ColorPalette: IColorPalette;
244
+ }): {
617
245
  dark: boolean;
618
246
  colors: {
619
247
  primary: string;
@@ -624,231 +252,93 @@ export declare const NavigationTheme: {
624
252
  notification: string;
625
253
  };
626
254
  };
627
- export declare const HomeTheme: {
628
- welcomeHeader: {
629
- fontFamily?: string;
630
- fontStyle?: "normal" | "italic";
631
- fontSize: number;
632
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
633
- color: string;
634
- lineHeight?: number;
635
- };
636
- credentialMsg: {
637
- fontFamily?: string;
638
- fontStyle?: "normal" | "italic";
639
- fontSize: number;
640
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
641
- color: string;
642
- lineHeight?: number;
643
- };
644
- notificationsHeader: {
645
- fontFamily?: string;
646
- fontStyle?: "normal" | "italic";
647
- fontSize: number;
648
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
649
- color: string;
650
- lineHeight?: number;
651
- };
652
- noNewUpdatesText: {
653
- color: string;
654
- fontFamily?: string;
655
- fontStyle?: "normal" | "italic";
656
- fontSize: number;
657
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
658
- lineHeight?: number;
659
- };
660
- link: {
661
- color: string;
662
- fontFamily?: string;
663
- fontStyle?: "normal" | "italic";
664
- fontSize: number;
665
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
666
- lineHeight?: number;
667
- };
668
- };
669
- export declare const SettingsTheme: {
670
- groupHeader: {
671
- marginBottom: number;
672
- fontFamily?: string;
673
- fontStyle?: "normal" | "italic";
674
- fontSize: number;
675
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
676
- color: string;
677
- lineHeight?: number;
678
- };
679
- groupBackground: string;
680
- iconColor: string;
681
- text: {
682
- color: string;
683
- fontFamily?: string;
684
- fontStyle?: "normal" | "italic";
685
- fontSize: number;
686
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
687
- lineHeight?: number;
255
+ export type INavigationTheme = ReturnType<typeof createNavigationTheme>;
256
+ export declare const NavigationTheme: {
257
+ dark: boolean;
258
+ colors: {
259
+ primary: string;
260
+ background: string;
261
+ card: string;
262
+ text: string;
263
+ border: string;
264
+ notification: string;
688
265
  };
689
266
  };
690
- export declare const ChatTheme: {
691
- containerStyle: {
692
- marginBottom: number;
693
- marginLeft: number;
694
- marginRight: number;
695
- flexDirection: string;
696
- alignItems: string;
697
- alignSelf: string;
698
- };
699
- leftBubble: {
700
- backgroundColor: string;
701
- borderRadius: number;
702
- padding: number;
703
- marginLeft: number;
704
- };
705
- rightBubble: {
706
- backgroundColor: string;
707
- borderRadius: number;
708
- padding: number;
709
- marginRight: number;
710
- };
711
- timeStyleLeft: {
712
- color: string;
713
- fontSize: number;
714
- marginTop: number;
715
- };
716
- timeStyleRight: {
717
- color: string;
718
- fontSize: number;
719
- marginTop: number;
720
- };
721
- leftText: {
722
- color: string;
723
- fontSize: number;
724
- };
725
- leftTextHighlighted: {
726
- color: string;
727
- fontFamily?: string;
728
- fontStyle?: "normal" | "italic";
729
- fontSize: number;
730
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
731
- lineHeight?: number;
732
- };
733
- rightText: {
734
- color: string;
735
- fontSize: number;
736
- };
737
- rightTextHighlighted: {
738
- color: string;
739
- fontFamily?: string;
740
- fontStyle?: "normal" | "italic";
741
- fontSize: number;
742
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
743
- lineHeight?: number;
744
- };
745
- inputToolbar: {
746
- backgroundColor: string;
747
- shadowColor: string;
748
- borderRadius: number;
749
- };
750
- inputText: {
751
- lineHeight: undefined;
752
- fontWeight: string;
753
- fontSize: number;
754
- };
755
- placeholderText: string;
756
- sendContainer: {
757
- marginBottom: number;
758
- paddingHorizontal: number;
759
- justifyContent: string;
760
- };
761
- sendEnabled: string;
762
- sendDisabled: string;
763
- options: string;
764
- optionsText: string;
765
- openButtonStyle: {
766
- borderRadius: number;
767
- backgroundColor: string;
768
- paddingTop: number;
769
- paddingBottom: number;
770
- paddingLeft: number;
771
- paddingRight: number;
772
- marginTop: number;
773
- };
774
- openButtonTextStyle: {
775
- fontSize: number;
776
- fontWeight: string;
777
- textAlign: string;
778
- };
779
- documentIconContainer: {
780
- backgroundColor: string;
267
+ /**
268
+ * Creates a home theme based on the provided color pallet and text theme.
269
+ *
270
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
271
+ * @returns {*} {IHomeTheme} - The created home theme
272
+ */
273
+ export declare function createHomeTheme(theme: {
274
+ ColorPalette: IColorPalette;
275
+ TextTheme: ITextTheme;
276
+ }): IHomeTheme;
277
+ export declare const HomeTheme: IHomeTheme;
278
+ /**
279
+ * Creates a settings theme based on the provided color pallet and text theme.
280
+ *
281
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
282
+ * @returns {*} {ISettingsTheme} - The created settings theme
283
+ */
284
+ export declare function createSettingsTheme(theme: {
285
+ ColorPalette: IColorPalette;
286
+ TextTheme: ITextTheme;
287
+ }): ISettingsTheme;
288
+ export declare const SettingsTheme: ISettingsTheme;
289
+ /**
290
+ * Creates a chat theme based on the provided color pallet and text theme.
291
+ *
292
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
293
+ * @returns {*} {IChatTheme} - The created chat theme
294
+ */
295
+ export declare function createChatTheme(theme: {
296
+ ColorPalette: IColorPalette;
297
+ TextTheme: ITextTheme;
298
+ }): IChatTheme;
299
+ export declare const ChatTheme: IChatTheme;
300
+ /**
301
+ * Creates an onboarding theme based on the provided color pallet and text theme.
302
+ *
303
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
304
+ * @returns {*} {IOnboardingTheme} - The created onboarding theme
305
+ */
306
+ export declare function createOnboardingTheme(theme: {
307
+ ColorPalette: IColorPalette;
308
+ TextTheme: ITextTheme;
309
+ }): IOnboardingTheme;
310
+ export declare const OnboardingTheme: IOnboardingTheme;
311
+ /**
312
+ * Creates a dialog theme based on the provided color pallet.
313
+ *
314
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
315
+ * @returns {*} {IDialogTheme} - The created dialog theme
316
+ */
317
+ export declare function createDialogTheme(theme: {
318
+ ColorPalette: IColorPalette;
319
+ }): IDialogTheme;
320
+ export declare const DialogTheme: IDialogTheme;
321
+ export declare function createLoadingTheme(theme: {
322
+ ColorPalette: IColorPalette;
323
+ }): ILoadingTheme;
324
+ export declare const LoadingTheme: ILoadingTheme;
325
+ declare const PINEnterTheme: {
326
+ image: {
781
327
  alignSelf: string;
782
- borderRadius: number;
783
328
  marginBottom: number;
784
- justifyContent: string;
785
- alignItems: string;
786
- width: number;
787
- height: number;
788
- };
789
- documentIcon: {
790
- color: string;
791
- };
792
- };
793
- export declare const OnboardingTheme: {
794
- container: {
795
- backgroundColor: string;
796
- };
797
- carouselContainer: {
798
- backgroundColor: string;
799
- };
800
- pagerDot: {
801
- borderColor: string;
802
- };
803
- pagerDotActive: {
804
- color: string;
805
- };
806
- pagerDotInactive: {
807
- color: string;
808
- };
809
- pagerNavigationButton: {
810
- color: string;
811
- fontWeight: string;
812
- fontSize: number;
813
- };
814
- headerTintColor: string;
815
- headerText: {
816
- fontFamily?: string;
817
- fontStyle?: "normal" | "italic";
818
- fontSize: number;
819
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
820
- color: string;
821
- lineHeight?: number;
822
- };
823
- bodyText: {
824
- fontFamily?: string;
825
- fontStyle?: "normal" | "italic";
826
- fontSize: number;
827
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
828
- color: string;
829
- lineHeight?: number;
830
- };
831
- imageDisplayOptions: {
832
- fill: string;
833
- };
834
- };
835
- export declare const DialogTheme: {
836
- modalView: {
837
- backgroundColor: string;
838
- };
839
- titleText: {
840
- color: string;
841
- };
842
- description: {
843
- color: string;
844
- };
845
- closeButtonIcon: {
846
- color: string;
847
- };
848
- carouselButtonText: {
849
- color: string;
850
329
  };
851
330
  };
331
+ export type IPINEnterTheme = typeof PINEnterTheme;
332
+ /**
333
+ * Creates a theme for PIN input based on the provided color pallet.
334
+ *
335
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
336
+ * @returns {*} {IPINInputTheme} - The created PIN input theme
337
+ */
338
+ export declare function createPINInputTheme(theme: {
339
+ ColorPalette: IColorPalette;
340
+ }): IPINInputTheme;
341
+ export declare const PINInputTheme: IPINInputTheme;
852
342
  export declare const Assets: {
853
343
  svg: {
854
344
  activityIndicator: React.FC<SvgProps>;
@@ -929,33 +419,45 @@ export declare const Assets: {
929
419
  };
930
420
  };
931
421
  };
422
+ /**
423
+ * Creates a theme for inline messages in inputs based on the provided text theme and assets.
424
+ *
425
+ * @param {{ TextTheme: ITextTheme; Assets: IAssets }} theme - The theme object containing the text theme and assets
426
+ * @return {*} {IInlineInputMessage} - The created inline input message theme
427
+ */
428
+ export declare function createInputInlineMessageTheme(theme: {
429
+ TextTheme: ITextTheme;
430
+ Assets: IAssets;
431
+ }): IInlineInputMessage;
432
+ export declare const InputInlineMessage: IInlineInputMessage;
932
433
  export interface ITheme {
933
434
  themeName: string;
934
435
  Spacing: ISpacing;
935
- ColorPallet: IColorPallet;
436
+ ColorPalette: IColorPalette;
936
437
  TextTheme: ITextTheme;
937
438
  InputInlineMessage: IInlineInputMessage;
938
439
  Inputs: IInputs;
939
- Buttons: any;
940
- ListItems: any;
440
+ Buttons: IButtons;
441
+ ListItems: IListItems;
941
442
  TabTheme: ITabTheme;
942
- NavigationTheme: any;
943
- HomeTheme: any;
944
- SettingsTheme: any;
945
- ChatTheme: any;
946
- OnboardingTheme: any;
947
- DialogTheme: any;
948
- LoadingTheme: any;
949
- PINEnterTheme: any;
950
- PINInputTheme: any;
443
+ NavigationTheme: INavigationTheme;
444
+ HomeTheme: IHomeTheme;
445
+ SettingsTheme: ISettingsTheme;
446
+ ChatTheme: IChatTheme;
447
+ OnboardingTheme: IOnboardingTheme;
448
+ DialogTheme: IDialogTheme;
449
+ LoadingTheme: ILoadingTheme;
450
+ PINEnterTheme: IPINEnterTheme;
451
+ PINInputTheme: IPINInputTheme;
951
452
  CredentialCardShadowTheme: ViewStyle;
952
453
  SelectedCredTheme: ViewStyle;
953
- heavyOpacity: any;
954
- borderRadius: any;
454
+ heavyOpacity: typeof heavyOpacity;
455
+ borderRadius: typeof borderRadius;
955
456
  borderWidth: typeof borderWidth;
956
457
  maxFontSizeMultiplier: number;
957
458
  Assets: IAssets;
958
459
  }
959
460
  export declare const bifoldTheme: ITheme;
960
461
  export declare const themes: ITheme[];
462
+ export type { ITextTheme, IInlineInputMessage, IInputs, IButtons, IListItems, ITabTheme, IHomeTheme, ISettingsTheme, IChatTheme, IOnboardingTheme, IDialogTheme, ILoadingTheme, IPINInputTheme, } from './theme.interface';
961
463
  //# sourceMappingURL=theme.d.ts.map