@procivis/one-react-native-components 0.2.54 → 0.3.22
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.
- package/README.md +3 -8
- package/lib/commonjs/components/backup/index.js.map +1 -1
- package/lib/commonjs/components/backup/preview-credentials.js +18 -22
- package/lib/commonjs/components/backup/preview-credentials.js.map +1 -1
- package/lib/commonjs/components/credential/credential.js +11 -12
- package/lib/commonjs/components/credential/credential.js.map +1 -1
- package/lib/commonjs/components/credential/index.js.map +1 -1
- package/lib/commonjs/components/entity/EntityButtons.js +20 -25
- package/lib/commonjs/components/entity/EntityButtons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-attributes.js +15 -17
- package/lib/commonjs/components/entity/entity-attributes.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details-with-buttons.js +18 -19
- package/lib/commonjs/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details.js +12 -14
- package/lib/commonjs/components/entity/entity-details.js.map +1 -1
- package/lib/commonjs/components/entity/index.js +2 -2
- package/lib/commonjs/components/entity/index.js.map +1 -1
- package/lib/commonjs/components/history/history-details-screen.js +67 -0
- package/lib/commonjs/components/history/history-details-screen.js.map +1 -0
- package/lib/commonjs/components/history/history-list-item-icon.js +94 -0
- package/lib/commonjs/components/history/history-list-item-icon.js.map +1 -0
- package/lib/commonjs/components/history/history-list-item.js +45 -0
- package/lib/commonjs/components/history/history-list-item.js.map +1 -0
- package/lib/commonjs/components/history/history-list-screen.js +121 -0
- package/lib/commonjs/components/history/history-list-screen.js.map +1 -0
- package/lib/commonjs/components/history/history-list-section-header.js +39 -0
- package/lib/commonjs/components/history/history-list-section-header.js.map +1 -0
- package/lib/commonjs/components/history/history-list.js +100 -0
- package/lib/commonjs/components/history/history-list.js.map +1 -0
- package/lib/commonjs/components/history/index.js +72 -0
- package/lib/commonjs/components/history/index.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/navigation/header-buttons.js +21 -25
- package/lib/commonjs/components/navigation/header-buttons.js.map +1 -1
- package/lib/commonjs/components/navigation/index.js.map +1 -1
- package/lib/commonjs/components/proof-request/group.js +4 -5
- package/lib/commonjs/components/proof-request/group.js.map +1 -1
- package/lib/commonjs/components/proof-request/index.js.map +1 -1
- package/lib/commonjs/components/proof-request/select-credential.js +11 -12
- package/lib/commonjs/components/proof-request/select-credential.js.map +1 -1
- package/lib/commonjs/components/proof-request/share-credential.js +23 -27
- package/lib/commonjs/components/proof-request/share-credential.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/normalize-color.d.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibility.js +11 -7
- package/lib/commonjs/ui-components/accessibility/accessibility.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js +8 -12
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js +15 -17
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js +8 -10
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/index.js +1 -30
- package/lib/commonjs/ui-components/accessibility/index.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/locale/index.js +2 -3
- package/lib/commonjs/ui-components/accessibility/locale/index.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/locale.test.js.map +1 -1
- package/lib/commonjs/ui-components/action-modal/ActionModal.js +9 -11
- package/lib/commonjs/ui-components/action-modal/ActionModal.js.map +1 -1
- package/lib/commonjs/ui-components/action-modal/index.js +1 -1
- package/lib/commonjs/ui-components/action-modal/index.js.map +1 -1
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js +10 -12
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js.map +1 -1
- package/lib/commonjs/ui-components/activity-indicator/index.js +1 -1
- package/lib/commonjs/ui-components/activity-indicator/index.js.map +1 -1
- package/lib/commonjs/ui-components/blur/blur-view.js +13 -15
- package/lib/commonjs/ui-components/blur/blur-view.js.map +1 -1
- package/lib/commonjs/ui-components/blur/index.js +2 -2
- package/lib/commonjs/ui-components/blur/index.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/back-button.js +12 -15
- package/lib/commonjs/ui-components/buttons/back-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/button.js +19 -22
- package/lib/commonjs/ui-components/buttons/button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/connectivity-button.js +16 -18
- package/lib/commonjs/ui-components/buttons/connectivity-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/filter-button.js +8 -10
- package/lib/commonjs/ui-components/buttons/filter-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/ghost-button.js +12 -14
- package/lib/commonjs/ui-components/buttons/ghost-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/hold-button.js +244 -0
- package/lib/commonjs/ui-components/buttons/hold-button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/index.js +9 -37
- package/lib/commonjs/ui-components/buttons/index.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/scan-button.js +7 -9
- package/lib/commonjs/ui-components/buttons/scan-button.js.map +1 -1
- package/lib/commonjs/ui-components/camera/camera-overlay.js +11 -14
- package/lib/commonjs/ui-components/camera/camera-overlay.js.map +1 -1
- package/lib/commonjs/ui-components/camera/index.js +2 -2
- package/lib/commonjs/ui-components/camera/index.js.map +1 -1
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js +12 -14
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js.map +1 -1
- package/lib/commonjs/ui-components/control/checkbox.js +11 -12
- package/lib/commonjs/ui-components/control/checkbox.js.map +1 -1
- package/lib/commonjs/ui-components/control/index.js.map +1 -1
- package/lib/commonjs/ui-components/control/switch.js +10 -12
- package/lib/commonjs/ui-components/control/switch.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-card.js +22 -26
- package/lib/commonjs/ui-components/credential/card/credential-card.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js +30 -35
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js +27 -20
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-header.js +25 -24
- package/lib/commonjs/ui-components/credential/card/credential-header.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js +27 -29
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/index.js +6 -41
- package/lib/commonjs/ui-components/credential/card/index.js.map +1 -1
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js +51 -60
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js.map +1 -1
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js +18 -21
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js.map +1 -1
- package/lib/commonjs/ui-components/credential/index.js +2 -25
- package/lib/commonjs/ui-components/credential/index.js.map +1 -1
- package/lib/commonjs/ui-components/credential/selector-status.js +3 -4
- package/lib/commonjs/ui-components/credential/selector-status.js.map +1 -1
- package/lib/commonjs/ui-components/credential/selector.js +8 -10
- package/lib/commonjs/ui-components/credential/selector.js.map +1 -1
- package/lib/commonjs/ui-components/detail/detail.js +12 -14
- package/lib/commonjs/ui-components/detail/detail.js.map +1 -1
- package/lib/commonjs/ui-components/detail/index.js +1 -1
- package/lib/commonjs/ui-components/detail/index.js.map +1 -1
- package/lib/commonjs/ui-components/entity/avatar.js +14 -16
- package/lib/commonjs/ui-components/entity/avatar.js.map +1 -1
- package/lib/commonjs/ui-components/entity/entity-cluster.js +15 -18
- package/lib/commonjs/ui-components/entity/entity-cluster.js.map +1 -1
- package/lib/commonjs/ui-components/entity/index.js +2 -2
- package/lib/commonjs/ui-components/entity/index.js.map +1 -1
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js +3 -4
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js.map +1 -1
- package/lib/commonjs/ui-components/header/foldable-header.js +14 -17
- package/lib/commonjs/ui-components/header/foldable-header.js.map +1 -1
- package/lib/commonjs/ui-components/header/header.js +12 -14
- package/lib/commonjs/ui-components/header/header.js.map +1 -1
- package/lib/commonjs/ui-components/header/index.js +4 -24
- package/lib/commonjs/ui-components/header/index.js.map +1 -1
- package/lib/commonjs/ui-components/header/navigation-header.js +27 -33
- package/lib/commonjs/ui-components/header/navigation-header.js.map +1 -1
- package/lib/commonjs/ui-components/history/data-item.js +30 -23
- package/lib/commonjs/ui-components/history/data-item.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-details.js +181 -0
- package/lib/commonjs/ui-components/history/history-details.js.map +1 -0
- package/lib/commonjs/ui-components/history/{history-list-item.js → history-item.js} +47 -26
- package/lib/commonjs/ui-components/history/history-item.js.map +1 -0
- package/lib/commonjs/ui-components/history/history-section-header.js +7 -9
- package/lib/commonjs/ui-components/history/history-section-header.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-section-list-item.js +13 -12
- package/lib/commonjs/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/commonjs/ui-components/history/index.js +30 -9
- package/lib/commonjs/ui-components/history/index.js.map +1 -1
- package/lib/commonjs/ui-components/icons/connectivity.js +19 -24
- package/lib/commonjs/ui-components/icons/connectivity.js.map +1 -1
- package/lib/commonjs/ui-components/icons/credential.js +60 -71
- package/lib/commonjs/ui-components/icons/credential.js.map +1 -1
- package/lib/commonjs/ui-components/icons/entity.js +7 -8
- package/lib/commonjs/ui-components/icons/entity.js.map +1 -1
- package/lib/commonjs/ui-components/icons/history.js +113 -133
- package/lib/commonjs/ui-components/icons/history.js.map +1 -1
- package/lib/commonjs/ui-components/icons/icons.js +73 -90
- package/lib/commonjs/ui-components/icons/icons.js.map +1 -1
- package/lib/commonjs/ui-components/icons/index.js.map +1 -1
- package/lib/commonjs/ui-components/icons/input.js +3 -3
- package/lib/commonjs/ui-components/icons/input.js.map +1 -1
- package/lib/commonjs/ui-components/icons/keypad.js +69 -81
- package/lib/commonjs/ui-components/icons/keypad.js.map +1 -1
- package/lib/commonjs/ui-components/icons/loader.js +4 -4
- package/lib/commonjs/ui-components/icons/loader.js.map +1 -1
- package/lib/commonjs/ui-components/icons/nerd-view.js +6 -9
- package/lib/commonjs/ui-components/icons/nerd-view.js.map +1 -1
- package/lib/commonjs/ui-components/icons/selector.js +8 -9
- package/lib/commonjs/ui-components/icons/selector.js.map +1 -1
- package/lib/commonjs/ui-components/icons/wallet.js +16 -19
- package/lib/commonjs/ui-components/icons/wallet.js.map +1 -1
- package/lib/commonjs/ui-components/image/image-or-component.js +15 -18
- package/lib/commonjs/ui-components/image/image-or-component.js.map +1 -1
- package/lib/commonjs/ui-components/image/index.js +2 -9
- package/lib/commonjs/ui-components/image/index.js.map +1 -1
- package/lib/commonjs/ui-components/index.js.map +1 -1
- package/lib/commonjs/ui-components/input/index.js +2 -2
- package/lib/commonjs/ui-components/input/index.js.map +1 -1
- package/lib/commonjs/ui-components/input/radio-group.js +28 -25
- package/lib/commonjs/ui-components/input/radio-group.js.map +1 -1
- package/lib/commonjs/ui-components/input/selection-input.js +27 -38
- package/lib/commonjs/ui-components/input/selection-input.js.map +1 -1
- package/lib/commonjs/ui-components/input/text-input.js +25 -28
- package/lib/commonjs/ui-components/input/text-input.js.map +1 -1
- package/lib/commonjs/ui-components/list/index.js +20 -2
- package/lib/commonjs/ui-components/list/index.js.map +1 -1
- package/lib/commonjs/ui-components/list/list-page-loading-indicator.js +14 -0
- package/lib/commonjs/ui-components/list/list-page-loading-indicator.js.map +1 -0
- package/lib/commonjs/ui-components/list/list-section-header.js +10 -12
- package/lib/commonjs/ui-components/list/list-section-header.js.map +1 -1
- package/lib/commonjs/ui-components/list/list-title-header.js +6 -8
- package/lib/commonjs/ui-components/list/list-title-header.js.map +1 -1
- package/lib/commonjs/ui-components/list/wallet/empty-list.js +73 -0
- package/lib/commonjs/ui-components/list/wallet/empty-list.js.map +1 -0
- package/lib/commonjs/ui-components/list/wallet/empty-search-result.js +41 -0
- package/lib/commonjs/ui-components/list/wallet/empty-search-result.js.map +1 -0
- package/lib/commonjs/ui-components/list/wallet/index.js +21 -0
- package/lib/commonjs/ui-components/list/wallet/index.js.map +1 -0
- package/lib/commonjs/ui-components/loader/index.js +2 -2
- package/lib/commonjs/ui-components/loader/index.js.map +1 -1
- package/lib/commonjs/ui-components/loader/loader.js +17 -17
- package/lib/commonjs/ui-components/loader/loader.js.map +1 -1
- package/lib/commonjs/ui-components/loader/loading-result.js +22 -21
- package/lib/commonjs/ui-components/loader/loading-result.js.map +1 -1
- package/lib/commonjs/ui-components/nerd-view/index.js +2 -8
- package/lib/commonjs/ui-components/nerd-view/index.js.map +1 -1
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js +37 -41
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js.map +1 -1
- package/lib/commonjs/ui-components/pin/index.js +2 -2
- package/lib/commonjs/ui-components/pin/index.js.map +1 -1
- package/lib/commonjs/ui-components/pin/keypad.js +19 -23
- package/lib/commonjs/ui-components/pin/keypad.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-code-screen.js +19 -21
- package/lib/commonjs/ui-components/pin/pin-code-screen.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js +1 -2
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-lock.js +10 -12
- package/lib/commonjs/ui-components/pin/pin-lock.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pins.js +8 -9
- package/lib/commonjs/ui-components/pin/pins.js.map +1 -1
- package/lib/commonjs/ui-components/screens/backup-screen.js +15 -18
- package/lib/commonjs/ui-components/screens/backup-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/image-preview-screen.js +12 -14
- package/lib/commonjs/ui-components/screens/image-preview-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/index.js +8 -49
- package/lib/commonjs/ui-components/screens/index.js.map +1 -1
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js +34 -41
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js +14 -16
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js +12 -14
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/section-list-screen.js +13 -15
- package/lib/commonjs/ui-components/screens/section-list-screen.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js +10 -12
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/index.js +2 -2
- package/lib/commonjs/ui-components/searchbar/index.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/search-bar.js +15 -17
- package/lib/commonjs/ui-components/searchbar/search-bar.js.map +1 -1
- package/lib/commonjs/ui-components/settings/button-setting.js +14 -16
- package/lib/commonjs/ui-components/settings/button-setting.js.map +1 -1
- package/lib/commonjs/ui-components/settings/index.js +2 -2
- package/lib/commonjs/ui-components/settings/index.js.map +1 -1
- package/lib/commonjs/ui-components/settings/setting-item-separator.js +6 -8
- package/lib/commonjs/ui-components/settings/setting-item-separator.js.map +1 -1
- package/lib/commonjs/ui-components/settings/setting-item.js +11 -13
- package/lib/commonjs/ui-components/settings/setting-item.js.map +1 -1
- package/lib/commonjs/ui-components/settings/settings-button.js +7 -9
- package/lib/commonjs/ui-components/settings/settings-button.js.map +1 -1
- package/lib/commonjs/ui-components/settings/switch-setting.js +11 -13
- package/lib/commonjs/ui-components/settings/switch-setting.js.map +1 -1
- package/lib/commonjs/ui-components/state/error-screen.js +10 -12
- package/lib/commonjs/ui-components/state/error-screen.js.map +1 -1
- package/lib/commonjs/ui-components/state/index.js +2 -2
- package/lib/commonjs/ui-components/state/index.js.map +1 -1
- package/lib/commonjs/ui-components/text/base.js +14 -16
- package/lib/commonjs/ui-components/text/base.js.map +1 -1
- package/lib/commonjs/ui-components/text/font.js +11 -13
- package/lib/commonjs/ui-components/text/font.js.map +1 -1
- package/lib/commonjs/ui-components/text/index.js +2 -9
- package/lib/commonjs/ui-components/text/index.js.map +1 -1
- package/lib/commonjs/ui-components/text/typography.js +10 -13
- package/lib/commonjs/ui-components/text/typography.js.map +1 -1
- package/lib/commonjs/ui-components/theme/color-scheme-context.js +2 -1
- package/lib/commonjs/ui-components/theme/color-scheme-context.js.map +1 -1
- package/lib/commonjs/ui-components/theme/color-scheme.js.map +1 -1
- package/lib/commonjs/ui-components/theme/index.js.map +1 -1
- package/lib/commonjs/utils/array.js.map +1 -1
- package/lib/commonjs/utils/backup.js.map +1 -1
- package/lib/commonjs/utils/color.js +1 -1
- package/lib/commonjs/utils/color.js.map +1 -1
- package/lib/commonjs/utils/contrasting-status-bar.js +8 -10
- package/lib/commonjs/utils/contrasting-status-bar.js.map +1 -1
- package/lib/commonjs/utils/date.js +3 -3
- package/lib/commonjs/utils/date.js.map +1 -1
- package/lib/commonjs/utils/filtering.js +11 -0
- package/lib/commonjs/utils/filtering.js.map +1 -0
- package/lib/commonjs/utils/history.js +76 -0
- package/lib/commonjs/utils/history.js.map +1 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.js +37 -23
- package/lib/commonjs/utils/hooks/connectivity/connectivity.js.map +1 -1
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js +6 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/backup.js +31 -31
- package/lib/commonjs/utils/hooks/core/backup.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/cache.js +44 -0
- package/lib/commonjs/utils/hooks/core/cache.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/core-config.js +15 -1
- package/lib/commonjs/utils/hooks/core/core-config.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-context.js +15 -10
- package/lib/commonjs/utils/hooks/core/core-context.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-init.js +18 -12
- package/lib/commonjs/utils/hooks/core/core-init.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credential-schemas.js +16 -27
- package/lib/commonjs/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credentials.js +27 -37
- package/lib/commonjs/utils/hooks/core/credentials.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/dids.js +4 -6
- package/lib/commonjs/utils/hooks/core/dids.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/error-code.js +3 -4
- package/lib/commonjs/utils/hooks/core/error-code.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/history.js +5 -37
- package/lib/commonjs/utils/hooks/core/history.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/index.js +11 -0
- package/lib/commonjs/utils/hooks/core/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proof-schemas.js +23 -38
- package/lib/commonjs/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proofs.js +107 -76
- package/lib/commonjs/utils/hooks/core/proofs.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/query.js +1 -2
- package/lib/commonjs/utils/hooks/core/query.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/trust-entity.js +8 -4
- package/lib/commonjs/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js.map +1 -1
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js +1 -2
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js.map +1 -1
- package/lib/commonjs/utils/hooks/http/client.js.map +1 -1
- package/lib/commonjs/utils/hooks/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/list/list-content-inset.js +9 -10
- package/lib/commonjs/utils/hooks/list/list-content-inset.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/before-remove.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/deep-link.js +3 -4
- package/lib/commonjs/utils/hooks/navigation/deep-link.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/open-settings.js +1 -2
- package/lib/commonjs/utils/hooks/navigation/open-settings.js.map +1 -1
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js +1 -2
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js.map +1 -1
- package/lib/commonjs/utils/hooks/revocation/credential-status.js +17 -26
- package/lib/commonjs/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/commonjs/utils/index.js +37 -1
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/navigation.js +5 -5
- package/lib/commonjs/utils/navigation.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-images.js +1 -1
- package/lib/commonjs/utils/parsers/credential-images.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-sharing.js +16 -20
- package/lib/commonjs/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential.js +16 -26
- package/lib/commonjs/utils/parsers/credential.js.map +1 -1
- package/lib/commonjs/utils/parsers/index.js +11 -0
- package/lib/commonjs/utils/parsers/index.js.map +1 -1
- package/lib/commonjs/utils/parsers/query.js +3 -2
- package/lib/commonjs/utils/parsers/query.js.map +1 -1
- package/lib/commonjs/utils/parsers/universal-links.js +33 -0
- package/lib/commonjs/utils/parsers/universal-links.js.map +1 -0
- package/lib/commonjs/utils/parsers/universal-links.test.js +40 -0
- package/lib/commonjs/utils/parsers/universal-links.test.js.map +1 -0
- package/lib/commonjs/utils/ref.js.map +1 -1
- package/lib/commonjs/utils/reporting.js +4 -2
- package/lib/commonjs/utils/reporting.js.map +1 -1
- package/lib/commonjs/utils/string.js.map +1 -1
- package/lib/commonjs/utils/testID.js +1 -4
- package/lib/commonjs/utils/testID.js.map +1 -1
- package/lib/commonjs/utils/testID.test.js.map +1 -1
- package/lib/commonjs/utils/useMemoAsync.js +9 -0
- package/lib/commonjs/utils/useMemoAsync.js.map +1 -1
- package/lib/commonjs/utils/uuid.js +1 -1
- package/lib/commonjs/utils/uuid.js.map +1 -1
- package/lib/module/components/backup/index.js.map +1 -1
- package/lib/module/components/backup/preview-credentials.js +17 -21
- package/lib/module/components/backup/preview-credentials.js.map +1 -1
- package/lib/module/components/credential/credential.js +10 -11
- package/lib/module/components/credential/credential.js.map +1 -1
- package/lib/module/components/credential/index.js.map +1 -1
- package/lib/module/components/entity/EntityButtons.js +17 -21
- package/lib/module/components/entity/EntityButtons.js.map +1 -1
- package/lib/module/components/entity/entity-attributes.js +12 -13
- package/lib/module/components/entity/entity-attributes.js.map +1 -1
- package/lib/module/components/entity/entity-details-with-buttons.js +15 -15
- package/lib/module/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/module/components/entity/entity-details.js +8 -9
- package/lib/module/components/entity/entity-details.js.map +1 -1
- package/lib/module/components/entity/index.js.map +1 -1
- package/lib/module/components/history/history-details-screen.js +59 -0
- package/lib/module/components/history/history-details-screen.js.map +1 -0
- package/lib/module/components/history/history-list-item-icon.js +84 -0
- package/lib/module/components/history/history-list-item-icon.js.map +1 -0
- package/lib/module/components/history/history-list-item.js +36 -0
- package/lib/module/components/history/history-list-item.js.map +1 -0
- package/lib/module/components/history/history-list-screen.js +112 -0
- package/lib/module/components/history/history-list-screen.js.map +1 -0
- package/lib/module/components/history/history-list-section-header.js +29 -0
- package/lib/module/components/history/history-list-section-header.js.map +1 -0
- package/lib/module/components/history/history-list.js +90 -0
- package/lib/module/components/history/history-list.js.map +1 -0
- package/lib/module/components/history/index.js +7 -0
- package/lib/module/components/history/index.js.map +1 -0
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/navigation/header-buttons.js +19 -23
- package/lib/module/components/navigation/header-buttons.js.map +1 -1
- package/lib/module/components/navigation/index.js.map +1 -1
- package/lib/module/components/proof-request/group.js +3 -4
- package/lib/module/components/proof-request/group.js.map +1 -1
- package/lib/module/components/proof-request/index.js.map +1 -1
- package/lib/module/components/proof-request/select-credential.js +10 -11
- package/lib/module/components/proof-request/select-credential.js.map +1 -1
- package/lib/module/components/proof-request/share-credential.js +21 -25
- package/lib/module/components/proof-request/share-credential.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/normalize-color.d.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibility.js +5 -7
- package/lib/module/ui-components/accessibility/accessibility.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityHistory.js +4 -8
- package/lib/module/ui-components/accessibility/accessibilityHistory.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js +10 -8
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js +6 -8
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js.map +1 -1
- package/lib/module/ui-components/accessibility/index.js +4 -4
- package/lib/module/ui-components/accessibility/index.js.map +1 -1
- package/lib/module/ui-components/accessibility/locale/index.js.map +1 -1
- package/lib/module/ui-components/accessibility/locale.test.js.map +1 -1
- package/lib/module/ui-components/action-modal/ActionModal.js +7 -8
- package/lib/module/ui-components/action-modal/ActionModal.js.map +1 -1
- package/lib/module/ui-components/action-modal/index.js.map +1 -1
- package/lib/module/ui-components/activity-indicator/activity-indicator.js +6 -7
- package/lib/module/ui-components/activity-indicator/activity-indicator.js.map +1 -1
- package/lib/module/ui-components/activity-indicator/index.js.map +1 -1
- package/lib/module/ui-components/blur/blur-view.js +10 -11
- package/lib/module/ui-components/blur/blur-view.js.map +1 -1
- package/lib/module/ui-components/blur/index.js.map +1 -1
- package/lib/module/ui-components/buttons/back-button.js +10 -11
- package/lib/module/ui-components/buttons/back-button.js.map +1 -1
- package/lib/module/ui-components/buttons/button.js +17 -18
- package/lib/module/ui-components/buttons/button.js.map +1 -1
- package/lib/module/ui-components/buttons/connectivity-button.js +14 -14
- package/lib/module/ui-components/buttons/connectivity-button.js.map +1 -1
- package/lib/module/ui-components/buttons/filter-button.js +6 -7
- package/lib/module/ui-components/buttons/filter-button.js.map +1 -1
- package/lib/module/ui-components/buttons/ghost-button.js +9 -10
- package/lib/module/ui-components/buttons/ghost-button.js.map +1 -1
- package/lib/module/ui-components/buttons/hold-button.js +236 -0
- package/lib/module/ui-components/buttons/hold-button.js.map +1 -0
- package/lib/module/ui-components/buttons/index.js +8 -7
- package/lib/module/ui-components/buttons/index.js.map +1 -1
- package/lib/module/ui-components/buttons/scan-button.js +5 -6
- package/lib/module/ui-components/buttons/scan-button.js.map +1 -1
- package/lib/module/ui-components/camera/camera-overlay.js +7 -9
- package/lib/module/ui-components/camera/camera-overlay.js.map +1 -1
- package/lib/module/ui-components/camera/index.js.map +1 -1
- package/lib/module/ui-components/camera/qr-code-scanner.js +8 -9
- package/lib/module/ui-components/camera/qr-code-scanner.js.map +1 -1
- package/lib/module/ui-components/control/checkbox.js +9 -10
- package/lib/module/ui-components/control/checkbox.js.map +1 -1
- package/lib/module/ui-components/control/index.js.map +1 -1
- package/lib/module/ui-components/control/switch.js +8 -9
- package/lib/module/ui-components/control/switch.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-card.js +16 -17
- package/lib/module/ui-components/credential/card/credential-card.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-details-card.js +26 -30
- package/lib/module/ui-components/credential/card/credential-details-card.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-details-list-item.js +23 -15
- package/lib/module/ui-components/credential/card/credential-details-list-item.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-header.js +21 -19
- package/lib/module/ui-components/credential/card/credential-header.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-image-carousel.js +23 -23
- package/lib/module/ui-components/credential/card/credential-image-carousel.js.map +1 -1
- package/lib/module/ui-components/credential/card/index.js +10 -10
- package/lib/module/ui-components/credential/card/index.js.map +1 -1
- package/lib/module/ui-components/credential/credential-attribute-item.js +47 -55
- package/lib/module/ui-components/credential/credential-attribute-item.js.map +1 -1
- package/lib/module/ui-components/credential/credential-carousel-images.js +15 -18
- package/lib/module/ui-components/credential/credential-carousel-images.js.map +1 -1
- package/lib/module/ui-components/credential/index.js +2 -2
- package/lib/module/ui-components/credential/index.js.map +1 -1
- package/lib/module/ui-components/credential/selector-status.js +3 -3
- package/lib/module/ui-components/credential/selector-status.js.map +1 -1
- package/lib/module/ui-components/credential/selector.js +5 -6
- package/lib/module/ui-components/credential/selector.js.map +1 -1
- package/lib/module/ui-components/detail/detail.js +9 -10
- package/lib/module/ui-components/detail/detail.js.map +1 -1
- package/lib/module/ui-components/detail/index.js.map +1 -1
- package/lib/module/ui-components/entity/avatar.js +10 -11
- package/lib/module/ui-components/entity/avatar.js.map +1 -1
- package/lib/module/ui-components/entity/entity-cluster.js +11 -13
- package/lib/module/ui-components/entity/entity-cluster.js.map +1 -1
- package/lib/module/ui-components/entity/index.js.map +1 -1
- package/lib/module/ui-components/header/focus-aware-status-bar.js +1 -1
- package/lib/module/ui-components/header/focus-aware-status-bar.js.map +1 -1
- package/lib/module/ui-components/header/foldable-header.js +10 -12
- package/lib/module/ui-components/header/foldable-header.js.map +1 -1
- package/lib/module/ui-components/header/header.js +10 -11
- package/lib/module/ui-components/header/header.js.map +1 -1
- package/lib/module/ui-components/header/index.js +6 -6
- package/lib/module/ui-components/header/index.js.map +1 -1
- package/lib/module/ui-components/header/navigation-header.js +23 -28
- package/lib/module/ui-components/header/navigation-header.js.map +1 -1
- package/lib/module/ui-components/history/data-item.js +23 -15
- package/lib/module/ui-components/history/data-item.js.map +1 -1
- package/lib/module/ui-components/history/history-details.js +171 -0
- package/lib/module/ui-components/history/history-details.js.map +1 -0
- package/lib/module/ui-components/history/{history-list-item.js → history-item.js} +44 -22
- package/lib/module/ui-components/history/history-item.js.map +1 -0
- package/lib/module/ui-components/history/history-section-header.js +6 -7
- package/lib/module/ui-components/history/history-section-header.js.map +1 -1
- package/lib/module/ui-components/history/history-section-list-item.js +8 -9
- package/lib/module/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/module/ui-components/history/index.js +5 -4
- package/lib/module/ui-components/history/index.js.map +1 -1
- package/lib/module/ui-components/icons/connectivity.js +16 -21
- package/lib/module/ui-components/icons/connectivity.js.map +1 -1
- package/lib/module/ui-components/icons/credential.js +57 -68
- package/lib/module/ui-components/icons/credential.js.map +1 -1
- package/lib/module/ui-components/icons/entity.js +4 -5
- package/lib/module/ui-components/icons/entity.js.map +1 -1
- package/lib/module/ui-components/icons/history.js +101 -128
- package/lib/module/ui-components/icons/history.js.map +1 -1
- package/lib/module/ui-components/icons/icons.js +70 -87
- package/lib/module/ui-components/icons/icons.js.map +1 -1
- package/lib/module/ui-components/icons/index.js.map +1 -1
- package/lib/module/ui-components/icons/input.js.map +1 -1
- package/lib/module/ui-components/icons/keypad.js +66 -78
- package/lib/module/ui-components/icons/keypad.js.map +1 -1
- package/lib/module/ui-components/icons/loader.js +1 -1
- package/lib/module/ui-components/icons/loader.js.map +1 -1
- package/lib/module/ui-components/icons/nerd-view.js.map +1 -1
- package/lib/module/ui-components/icons/selector.js +5 -6
- package/lib/module/ui-components/icons/selector.js.map +1 -1
- package/lib/module/ui-components/icons/wallet.js +13 -16
- package/lib/module/ui-components/icons/wallet.js.map +1 -1
- package/lib/module/ui-components/image/image-or-component.js +12 -14
- package/lib/module/ui-components/image/image-or-component.js.map +1 -1
- package/lib/module/ui-components/image/index.js +2 -2
- package/lib/module/ui-components/image/index.js.map +1 -1
- package/lib/module/ui-components/index.js.map +1 -1
- package/lib/module/ui-components/input/index.js.map +1 -1
- package/lib/module/ui-components/input/radio-group.js +26 -22
- package/lib/module/ui-components/input/radio-group.js.map +1 -1
- package/lib/module/ui-components/input/selection-input.js +21 -31
- package/lib/module/ui-components/input/selection-input.js.map +1 -1
- package/lib/module/ui-components/input/text-input.js +21 -22
- package/lib/module/ui-components/input/text-input.js.map +1 -1
- package/lib/module/ui-components/list/index.js +1 -0
- package/lib/module/ui-components/list/index.js.map +1 -1
- package/lib/module/ui-components/list/list-page-loading-indicator.js +7 -0
- package/lib/module/ui-components/list/list-page-loading-indicator.js.map +1 -0
- package/lib/module/ui-components/list/list-section-header.js +8 -9
- package/lib/module/ui-components/list/list-section-header.js.map +1 -1
- package/lib/module/ui-components/list/list-title-header.js +4 -5
- package/lib/module/ui-components/list/list-title-header.js.map +1 -1
- package/lib/module/ui-components/list/wallet/empty-list.js +66 -0
- package/lib/module/ui-components/list/wallet/empty-list.js.map +1 -0
- package/lib/module/ui-components/list/wallet/empty-search-result.js +34 -0
- package/lib/module/ui-components/list/wallet/empty-search-result.js.map +1 -0
- package/lib/module/ui-components/list/wallet/index.js +4 -0
- package/lib/module/ui-components/list/wallet/index.js.map +1 -0
- package/lib/module/ui-components/loader/index.js.map +1 -1
- package/lib/module/ui-components/loader/loader.js +14 -12
- package/lib/module/ui-components/loader/loader.js.map +1 -1
- package/lib/module/ui-components/loader/loading-result.js +21 -19
- package/lib/module/ui-components/loader/loading-result.js.map +1 -1
- package/lib/module/ui-components/nerd-view/index.js +2 -2
- package/lib/module/ui-components/nerd-view/index.js.map +1 -1
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js +31 -34
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js.map +1 -1
- package/lib/module/ui-components/pin/index.js.map +1 -1
- package/lib/module/ui-components/pin/keypad.js +17 -19
- package/lib/module/ui-components/pin/keypad.js.map +1 -1
- package/lib/module/ui-components/pin/pin-code-screen.js +16 -17
- package/lib/module/ui-components/pin/pin-code-screen.js.map +1 -1
- package/lib/module/ui-components/pin/pin-lock-animation.js.map +1 -1
- package/lib/module/ui-components/pin/pin-lock.js +6 -7
- package/lib/module/ui-components/pin/pin-lock.js.map +1 -1
- package/lib/module/ui-components/pin/pins.js +7 -8
- package/lib/module/ui-components/pin/pins.js.map +1 -1
- package/lib/module/ui-components/screens/backup-screen.js +13 -14
- package/lib/module/ui-components/screens/backup-screen.js.map +1 -1
- package/lib/module/ui-components/screens/image-preview-screen.js +9 -10
- package/lib/module/ui-components/screens/image-preview-screen.js.map +1 -1
- package/lib/module/ui-components/screens/index.js +12 -12
- package/lib/module/ui-components/screens/index.js.map +1 -1
- package/lib/module/ui-components/screens/nerd-mode-screen.js +29 -34
- package/lib/module/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js +10 -11
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js.map +1 -1
- package/lib/module/ui-components/screens/scroll-view-screen.js +10 -11
- package/lib/module/ui-components/screens/scroll-view-screen.js.map +1 -1
- package/lib/module/ui-components/screens/section-list-screen.js +11 -12
- package/lib/module/ui-components/screens/section-list-screen.js.map +1 -1
- package/lib/module/ui-components/searchbar/animated-search-bar.js +6 -7
- package/lib/module/ui-components/searchbar/animated-search-bar.js.map +1 -1
- package/lib/module/ui-components/searchbar/index.js.map +1 -1
- package/lib/module/ui-components/searchbar/search-bar.js +11 -12
- package/lib/module/ui-components/searchbar/search-bar.js.map +1 -1
- package/lib/module/ui-components/settings/button-setting.js +10 -11
- package/lib/module/ui-components/settings/button-setting.js.map +1 -1
- package/lib/module/ui-components/settings/index.js.map +1 -1
- package/lib/module/ui-components/settings/setting-item-separator.js +4 -5
- package/lib/module/ui-components/settings/setting-item-separator.js.map +1 -1
- package/lib/module/ui-components/settings/setting-item.js +7 -8
- package/lib/module/ui-components/settings/setting-item.js.map +1 -1
- package/lib/module/ui-components/settings/settings-button.js +5 -6
- package/lib/module/ui-components/settings/settings-button.js.map +1 -1
- package/lib/module/ui-components/settings/switch-setting.js +9 -10
- package/lib/module/ui-components/settings/switch-setting.js.map +1 -1
- package/lib/module/ui-components/state/error-screen.js +7 -8
- package/lib/module/ui-components/state/error-screen.js.map +1 -1
- package/lib/module/ui-components/state/index.js.map +1 -1
- package/lib/module/ui-components/text/base.js +12 -13
- package/lib/module/ui-components/text/base.js.map +1 -1
- package/lib/module/ui-components/text/font.js +10 -11
- package/lib/module/ui-components/text/font.js.map +1 -1
- package/lib/module/ui-components/text/index.js +2 -2
- package/lib/module/ui-components/text/index.js.map +1 -1
- package/lib/module/ui-components/text/typography.js +8 -10
- package/lib/module/ui-components/text/typography.js.map +1 -1
- package/lib/module/ui-components/theme/color-scheme-context.js +1 -0
- package/lib/module/ui-components/theme/color-scheme-context.js.map +1 -1
- package/lib/module/ui-components/theme/color-scheme.js.map +1 -1
- package/lib/module/ui-components/theme/index.js.map +1 -1
- package/lib/module/utils/array.js.map +1 -1
- package/lib/module/utils/backup.js.map +1 -1
- package/lib/module/utils/color.js.map +1 -1
- package/lib/module/utils/contrasting-status-bar.js +5 -6
- package/lib/module/utils/contrasting-status-bar.js.map +1 -1
- package/lib/module/utils/date.js +4 -4
- package/lib/module/utils/date.js.map +1 -1
- package/lib/module/utils/filtering.js +4 -0
- package/lib/module/utils/filtering.js.map +1 -0
- package/lib/module/utils/history.js +66 -0
- package/lib/module/utils/history.js.map +1 -0
- package/lib/module/utils/hooks/connectivity/connectivity.js +36 -19
- package/lib/module/utils/hooks/connectivity/connectivity.js.map +1 -1
- package/lib/module/utils/hooks/connectivity/connectivity.test.js +6 -0
- package/lib/module/utils/hooks/connectivity/connectivity.test.js.map +1 -1
- package/lib/module/utils/hooks/core/backup.js +31 -31
- package/lib/module/utils/hooks/core/backup.js.map +1 -1
- package/lib/module/utils/hooks/core/cache.js +37 -0
- package/lib/module/utils/hooks/core/cache.js.map +1 -0
- package/lib/module/utils/hooks/core/core-config.js +11 -0
- package/lib/module/utils/hooks/core/core-config.js.map +1 -1
- package/lib/module/utils/hooks/core/core-context.js +14 -9
- package/lib/module/utils/hooks/core/core-context.js.map +1 -1
- package/lib/module/utils/hooks/core/core-init.js +16 -8
- package/lib/module/utils/hooks/core/core-init.js.map +1 -1
- package/lib/module/utils/hooks/core/credential-schemas.js +12 -19
- package/lib/module/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/credentials.js +26 -36
- package/lib/module/utils/hooks/core/credentials.js.map +1 -1
- package/lib/module/utils/hooks/core/dids.js +3 -4
- package/lib/module/utils/hooks/core/dids.js.map +1 -1
- package/lib/module/utils/hooks/core/error-code.js +3 -3
- package/lib/module/utils/hooks/core/error-code.js.map +1 -1
- package/lib/module/utils/hooks/core/history.js +4 -35
- package/lib/module/utils/hooks/core/history.js.map +1 -1
- package/lib/module/utils/hooks/core/index.js +1 -0
- package/lib/module/utils/hooks/core/index.js.map +1 -1
- package/lib/module/utils/hooks/core/proof-schemas.js +19 -30
- package/lib/module/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/proofs.js +101 -67
- package/lib/module/utils/hooks/core/proofs.js.map +1 -1
- package/lib/module/utils/hooks/core/query.js.map +1 -1
- package/lib/module/utils/hooks/core/trust-entity.js +7 -3
- package/lib/module/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/module/utils/hooks/credential-card/credential-card-expanding.js.map +1 -1
- package/lib/module/utils/hooks/header/on-scroll-header-state.js +1 -2
- package/lib/module/utils/hooks/header/on-scroll-header-state.js.map +1 -1
- package/lib/module/utils/hooks/http/client.js.map +1 -1
- package/lib/module/utils/hooks/index.js.map +1 -1
- package/lib/module/utils/hooks/list/list-content-inset.js +9 -10
- package/lib/module/utils/hooks/list/list-content-inset.js.map +1 -1
- package/lib/module/utils/hooks/navigation/before-remove.js.map +1 -1
- package/lib/module/utils/hooks/navigation/close-button-timeout.js.map +1 -1
- package/lib/module/utils/hooks/navigation/deep-link.js +3 -4
- package/lib/module/utils/hooks/navigation/deep-link.js.map +1 -1
- package/lib/module/utils/hooks/navigation/index.js.map +1 -1
- package/lib/module/utils/hooks/navigation/open-settings.js +1 -2
- package/lib/module/utils/hooks/navigation/open-settings.js.map +1 -1
- package/lib/module/utils/hooks/pin-security/pin-security.js +1 -2
- package/lib/module/utils/hooks/pin-security/pin-security.js.map +1 -1
- package/lib/module/utils/hooks/revocation/credential-status.js +17 -26
- package/lib/module/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/module/utils/index.js +3 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/navigation.js +5 -5
- package/lib/module/utils/navigation.js.map +1 -1
- package/lib/module/utils/parsers/credential-images.js.map +1 -1
- package/lib/module/utils/parsers/credential-sharing.js +15 -19
- package/lib/module/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/module/utils/parsers/credential.js +16 -25
- package/lib/module/utils/parsers/credential.js.map +1 -1
- package/lib/module/utils/parsers/index.js +1 -0
- package/lib/module/utils/parsers/index.js.map +1 -1
- package/lib/module/utils/parsers/query.js +3 -2
- package/lib/module/utils/parsers/query.js.map +1 -1
- package/lib/module/utils/parsers/universal-links.js +25 -0
- package/lib/module/utils/parsers/universal-links.js.map +1 -0
- package/lib/module/utils/parsers/universal-links.test.js +38 -0
- package/lib/module/utils/parsers/universal-links.test.js.map +1 -0
- package/lib/module/utils/ref.js.map +1 -1
- package/lib/module/utils/reporting.js +1 -0
- package/lib/module/utils/reporting.js.map +1 -1
- package/lib/module/utils/string.js.map +1 -1
- package/lib/module/utils/testID.js +1 -4
- package/lib/module/utils/testID.js.map +1 -1
- package/lib/module/utils/testID.test.js.map +1 -1
- package/lib/module/utils/useMemoAsync.js +10 -0
- package/lib/module/utils/useMemoAsync.js.map +1 -1
- package/lib/module/utils/uuid.js.map +1 -1
- package/lib/typescript/components/entity/entity-attributes.d.ts +1 -0
- package/lib/typescript/components/history/history-details-screen.d.ts +20 -0
- package/lib/typescript/components/history/history-list-item-icon.d.ts +8 -0
- package/lib/typescript/components/history/history-list-item.d.ts +20 -0
- package/lib/typescript/components/history/history-list-screen.d.ts +22 -0
- package/lib/typescript/components/history/history-list-section-header.d.ts +13 -0
- package/lib/typescript/components/history/history-list.d.ts +19 -0
- package/lib/typescript/components/history/index.d.ts +6 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/ui-components/accessibility/accessibility.d.ts +2 -2
- package/lib/typescript/ui-components/accessibility/accessibilityHistory.d.ts +1 -1
- package/lib/typescript/ui-components/accessibility/accessibilityHistoryWrappers.d.ts +3 -3
- package/lib/typescript/ui-components/accessibility/index.d.ts +5 -3
- package/lib/typescript/ui-components/buttons/button.d.ts +2 -2
- package/lib/typescript/ui-components/buttons/hold-button.d.ts +16 -0
- package/lib/typescript/ui-components/buttons/index.d.ts +15 -7
- package/lib/typescript/ui-components/buttons/scan-button.d.ts +2 -2
- package/lib/typescript/ui-components/credential/card/credential-header.d.ts +1 -1
- package/lib/typescript/ui-components/credential/card/index.d.ts +10 -5
- package/lib/typescript/ui-components/credential/index.d.ts +2 -1
- package/lib/typescript/ui-components/header/index.d.ts +6 -3
- package/lib/typescript/ui-components/history/data-item.d.ts +2 -2
- package/lib/typescript/ui-components/history/history-details.d.ts +51 -0
- package/lib/typescript/ui-components/history/{history-list-item.d.ts → history-item.d.ts} +4 -3
- package/lib/typescript/ui-components/history/history-section-header.d.ts +2 -2
- package/lib/typescript/ui-components/history/history-section-list-item.d.ts +2 -2
- package/lib/typescript/ui-components/history/index.d.ts +5 -4
- package/lib/typescript/ui-components/icons/history.d.ts +20 -35
- package/lib/typescript/ui-components/image/index.d.ts +2 -1
- package/lib/typescript/ui-components/input/selection-input.d.ts +1 -1
- package/lib/typescript/ui-components/list/index.d.ts +1 -0
- package/lib/typescript/ui-components/list/list-page-loading-indicator.d.ts +4 -0
- package/lib/typescript/ui-components/list/wallet/empty-list.d.ts +10 -0
- package/lib/typescript/ui-components/list/wallet/empty-search-result.d.ts +7 -0
- package/lib/typescript/ui-components/list/wallet/index.d.ts +3 -0
- package/lib/typescript/ui-components/nerd-view/index.d.ts +2 -1
- package/lib/typescript/ui-components/pin/keypad.d.ts +2 -2
- package/lib/typescript/ui-components/screens/index.d.ts +12 -6
- package/lib/typescript/ui-components/text/index.d.ts +2 -1
- package/lib/typescript/ui-components/text/typography.d.ts +14 -14
- package/lib/typescript/ui-components/theme/color-scheme.d.ts +1 -0
- package/lib/typescript/utils/filtering.d.ts +1 -0
- package/lib/typescript/utils/history.d.ts +10 -0
- package/lib/typescript/utils/hooks/connectivity/connectivity.d.ts +1 -1
- package/lib/typescript/utils/hooks/core/backup.d.ts +2 -1
- package/lib/typescript/utils/hooks/core/cache.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/core-config.d.ts +5 -1
- package/lib/typescript/utils/hooks/core/core-init.d.ts +10 -1
- package/lib/typescript/utils/hooks/core/credentials.d.ts +7 -3
- package/lib/typescript/utils/hooks/core/history.d.ts +2 -5
- package/lib/typescript/utils/hooks/core/index.d.ts +1 -0
- package/lib/typescript/utils/hooks/core/proofs.d.ts +14 -8
- package/lib/typescript/utils/hooks/core/trust-entity.d.ts +5 -0
- package/lib/typescript/utils/hooks/revocation/credential-status.d.ts +2 -1
- package/lib/typescript/utils/index.d.ts +3 -0
- package/lib/typescript/utils/parsers/index.d.ts +1 -0
- package/lib/typescript/utils/parsers/universal-links.d.ts +1 -0
- package/lib/typescript/utils/parsers/universal-links.test.d.ts +1 -0
- package/lib/typescript/utils/ref.d.ts +1 -1
- package/package.json +60 -46
- package/src/components/entity/entity-attributes.tsx +4 -3
- package/src/components/entity/entity-details-with-buttons.tsx +4 -3
- package/src/components/history/history-details-screen.tsx +89 -0
- package/src/components/history/history-list-item-icon.tsx +108 -0
- package/src/components/history/history-list-item.tsx +53 -0
- package/src/components/history/history-list-screen.tsx +154 -0
- package/src/components/history/history-list-section-header.tsx +42 -0
- package/src/components/history/history-list.tsx +116 -0
- package/src/components/history/index.tsx +6 -0
- package/src/components/index.ts +1 -0
- package/src/ui-components/accessibility/accessibility.ts +2 -2
- package/src/ui-components/accessibility/accessibilityHistory.tsx +2 -2
- package/src/ui-components/accessibility/accessibilityHistoryWrappers.tsx +3 -5
- package/src/ui-components/accessibility/index.ts +4 -3
- package/src/ui-components/action-modal/ActionModal.stories.tsx +7 -3
- package/src/ui-components/activity-indicator/activity-indicator.stories.tsx +3 -6
- package/src/ui-components/buttons/back-button.stories.tsx +7 -8
- package/src/ui-components/buttons/button.stories.tsx +9 -10
- package/src/ui-components/buttons/connectivity-button.stories.tsx +10 -11
- package/src/ui-components/buttons/connectivity-button.tsx +1 -1
- package/src/ui-components/buttons/ghost-button.stories.tsx +8 -8
- package/src/ui-components/buttons/hold-button.stories.tsx +29 -0
- package/src/ui-components/buttons/hold-button.tsx +276 -0
- package/src/ui-components/buttons/index.ts +16 -6
- package/src/ui-components/buttons/scan-button.stories.tsx +8 -4
- package/src/ui-components/control/checkbox.stories.tsx +8 -8
- package/src/ui-components/control/switch.stories.tsx +11 -8
- package/src/ui-components/credential/card/credential-card.stories.tsx +22 -25
- package/src/ui-components/credential/card/credential-details-card.stories.tsx +249 -245
- package/src/ui-components/credential/card/credential-details-card.tsx +2 -2
- package/src/ui-components/credential/card/credential-details-list-item.tsx +16 -6
- package/src/ui-components/credential/card/credential-header.stories.tsx +15 -17
- package/src/ui-components/credential/card/credential-header.tsx +4 -1
- package/src/ui-components/credential/card/credential-image-carousel.tsx +4 -0
- package/src/ui-components/credential/card/index.ts +11 -5
- package/src/ui-components/credential/index.ts +2 -1
- package/src/ui-components/credential/selector.stories.tsx +7 -7
- package/src/ui-components/detail/detail.stories.tsx +11 -8
- package/src/ui-components/entity/avatar.stories.tsx +10 -7
- package/src/ui-components/entity/entity-cluster.stories.tsx +11 -8
- package/src/ui-components/header/header.stories.tsx +10 -7
- package/src/ui-components/header/index.ts +6 -3
- package/src/ui-components/header/navigation-header.stories.tsx +11 -8
- package/src/ui-components/history/data-item.tsx +13 -4
- package/src/ui-components/history/history-details.tsx +247 -0
- package/src/ui-components/history/{history-list-item.tsx → history-item.tsx} +72 -33
- package/src/ui-components/history/history-section-header.tsx +2 -2
- package/src/ui-components/history/history-section-list-item.tsx +3 -3
- package/src/ui-components/history/index.ts +5 -4
- package/src/ui-components/icons/history.tsx +82 -131
- package/src/ui-components/image/index.tsx +2 -1
- package/src/ui-components/input/radio-group.stories.tsx +34 -0
- package/src/ui-components/input/radio-group.tsx +8 -2
- package/src/ui-components/input/selection-input.stories.tsx +20 -17
- package/src/ui-components/list/index.ts +1 -0
- package/src/ui-components/list/list-page-loading-indicator.tsx +8 -0
- package/src/ui-components/list/wallet/empty-list.tsx +75 -0
- package/src/ui-components/list/wallet/empty-search-result.tsx +39 -0
- package/src/ui-components/list/wallet/index.tsx +4 -0
- package/src/ui-components/loader/loader.stories.tsx +6 -9
- package/src/ui-components/loader/loader.tsx +6 -3
- package/src/ui-components/loader/loading-result.stories.tsx +13 -10
- package/src/ui-components/loader/loading-result.tsx +8 -4
- package/src/ui-components/nerd-view/index.ts +2 -1
- package/src/ui-components/nerd-view/nerd-mode-item.tsx +2 -2
- package/src/ui-components/pin/pin-code-screen.stories.tsx +20 -13
- package/src/ui-components/screens/image-preview-screen.stories.tsx +9 -6
- package/src/ui-components/screens/index.ts +12 -6
- package/src/ui-components/screens/nerd-mode-screen.tsx +1 -1
- package/src/ui-components/screens/qr-code-scanner-screen.stories.tsx +10 -7
- package/src/ui-components/searchbar/search-bar.stories.tsx +15 -8
- package/src/ui-components/searchbar/search-bar.tsx +2 -2
- package/src/ui-components/state/error-screen.stories.tsx +8 -9
- package/src/ui-components/state/error-screen.tsx +1 -1
- package/src/ui-components/text/index.ts +2 -1
- package/src/ui-components/text/typography.stories.tsx +19 -12
- package/src/ui-components/theme/color-scheme-context.tsx +1 -0
- package/src/ui-components/theme/color-scheme.ts +1 -0
- package/src/utils/date.ts +5 -5
- package/src/utils/filtering.ts +5 -0
- package/src/utils/history.ts +71 -0
- package/src/utils/hooks/connectivity/connectivity.test.ts +8 -0
- package/src/utils/hooks/connectivity/connectivity.ts +28 -4
- package/src/utils/hooks/core/backup.ts +25 -21
- package/src/utils/hooks/core/cache.ts +43 -0
- package/src/utils/hooks/core/core-config.ts +19 -0
- package/src/utils/hooks/core/core-context.tsx +15 -2
- package/src/utils/hooks/core/core-init.ts +21 -7
- package/src/utils/hooks/core/credential-schemas.ts +1 -1
- package/src/utils/hooks/core/credentials.ts +9 -14
- package/src/utils/hooks/core/history.ts +2 -57
- package/src/utils/hooks/core/index.ts +1 -0
- package/src/utils/hooks/core/proof-schemas.ts +1 -1
- package/src/utils/hooks/core/proofs.ts +107 -49
- package/src/utils/hooks/core/trust-entity.ts +7 -3
- package/src/utils/hooks/navigation/open-settings.ts +2 -3
- package/src/utils/hooks/revocation/credential-status.ts +3 -2
- package/src/utils/index.ts +3 -0
- package/src/utils/navigation.ts +4 -2
- package/src/utils/parsers/credential.ts +1 -1
- package/src/utils/parsers/index.ts +1 -0
- package/src/utils/parsers/query.tsx +2 -0
- package/src/utils/parsers/universal-links.test.ts +57 -0
- package/src/utils/parsers/universal-links.ts +26 -0
- package/src/utils/ref.ts +1 -1
- package/src/utils/reporting.ts +1 -0
- package/lib/commonjs/ui-components/history/history-list-item.js.map +0 -1
- package/lib/module/ui-components/history/history-list-item.js.map +0 -1
|
@@ -7,87 +7,87 @@ declare const presets: {
|
|
|
7
7
|
readonly lineHeight: 36;
|
|
8
8
|
readonly letterSpacing: 0.2;
|
|
9
9
|
readonly fontFamily?: string | undefined;
|
|
10
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
10
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
11
11
|
};
|
|
12
12
|
readonly l: {
|
|
13
13
|
readonly fontSize: 24;
|
|
14
14
|
readonly lineHeight: 33;
|
|
15
15
|
readonly fontFamily?: string | undefined;
|
|
16
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
16
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
17
17
|
};
|
|
18
18
|
readonly 'l/line-height-large': {
|
|
19
19
|
readonly fontSize: 24;
|
|
20
20
|
readonly lineHeight: 28;
|
|
21
21
|
readonly fontFamily?: string | undefined;
|
|
22
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
22
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
23
23
|
};
|
|
24
24
|
readonly regular: {
|
|
25
25
|
readonly fontSize: 17;
|
|
26
26
|
readonly lineHeight: 24;
|
|
27
27
|
readonly fontFamily?: string | undefined;
|
|
28
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
28
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
29
29
|
};
|
|
30
30
|
readonly m: {
|
|
31
31
|
readonly fontSize: 17;
|
|
32
32
|
readonly lineHeight: 22;
|
|
33
33
|
readonly letterSpacing: -0.2;
|
|
34
34
|
readonly fontFamily?: string | undefined;
|
|
35
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
35
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
36
36
|
};
|
|
37
37
|
readonly 'm/heading': {
|
|
38
38
|
readonly fontSize: 17;
|
|
39
39
|
readonly lineHeight: 22;
|
|
40
40
|
readonly letterSpacing: -0.2;
|
|
41
41
|
readonly fontFamily?: string | undefined;
|
|
42
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
42
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
43
43
|
};
|
|
44
44
|
readonly s: {
|
|
45
45
|
readonly fontSize: 14;
|
|
46
46
|
readonly lineHeight: 22;
|
|
47
47
|
readonly fontFamily?: string | undefined;
|
|
48
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
48
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
49
49
|
};
|
|
50
50
|
readonly 's/line-height-capped': {
|
|
51
51
|
readonly fontSize: 14;
|
|
52
52
|
readonly lineHeight: 22;
|
|
53
53
|
readonly letterSpacing: -0.2;
|
|
54
54
|
readonly fontFamily?: string | undefined;
|
|
55
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
55
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
56
56
|
};
|
|
57
57
|
readonly 's/line-height-small': {
|
|
58
58
|
readonly fontSize: 14;
|
|
59
59
|
readonly lineHeight: 18;
|
|
60
60
|
readonly letterSpacing: 0.3;
|
|
61
61
|
readonly fontFamily?: string | undefined;
|
|
62
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
62
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
63
63
|
};
|
|
64
64
|
readonly 's/code': {
|
|
65
65
|
readonly fontSize: 14;
|
|
66
66
|
readonly lineHeight: 22;
|
|
67
67
|
readonly letterSpacing: 0.2;
|
|
68
68
|
readonly fontFamily?: string | undefined;
|
|
69
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
69
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
70
70
|
};
|
|
71
71
|
readonly xs: {
|
|
72
72
|
readonly fontSize: 12;
|
|
73
73
|
readonly lineHeight: 22;
|
|
74
74
|
readonly letterSpacing: -0.1;
|
|
75
75
|
readonly fontFamily?: string | undefined;
|
|
76
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
76
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
77
77
|
};
|
|
78
78
|
readonly 'xs/line-height-small': {
|
|
79
79
|
readonly fontSize: 12;
|
|
80
80
|
readonly lineHeight: 18;
|
|
81
81
|
readonly letterSpacing: 0.3;
|
|
82
82
|
readonly fontFamily?: string | undefined;
|
|
83
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
83
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
84
84
|
};
|
|
85
85
|
readonly 'xs/code': {
|
|
86
86
|
readonly fontSize: 12;
|
|
87
87
|
readonly lineHeight: 18;
|
|
88
88
|
readonly letterSpacing: 0.3;
|
|
89
89
|
readonly fontFamily?: string | undefined;
|
|
90
|
-
readonly fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
90
|
+
readonly fontWeight?: 500 | "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
export type TypographyProps = BaseTextProps & {
|
|
@@ -106,7 +106,7 @@ declare const Typography: React.ForwardRefExoticComponent<import("react-native")
|
|
|
106
106
|
announcementCumulative?: boolean | undefined;
|
|
107
107
|
onAnnouncementFinished?: ((finished: boolean) => void) | undefined;
|
|
108
108
|
} & {
|
|
109
|
-
preset?: "s" | "xl" | "l" | "l/line-height-large" | "
|
|
109
|
+
preset?: "s" | "regular" | "xl" | "l" | "l/line-height-large" | "m" | "m/heading" | "s/line-height-capped" | "s/line-height-small" | "s/code" | "xs" | "xs/line-height-small" | "xs/code" | undefined;
|
|
110
110
|
caps?: boolean | undefined;
|
|
111
111
|
} & React.RefAttributes<Text>>;
|
|
112
112
|
export default Typography;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const nonEmptyFilter: <TValue>(value: TValue | null | undefined) => value is TValue;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Claim, ClaimValue, HistoryListItem, ProofInputClaim } from '@procivis/react-native-one-core';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
export interface HistoryGroupByDaySection {
|
|
4
|
+
data: HistoryListItem[];
|
|
5
|
+
date: Moment;
|
|
6
|
+
firstYearEntry: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const groupEntriesByDay: (entries: HistoryListItem[]) => HistoryGroupByDaySection[];
|
|
9
|
+
export declare const claimValueFromProofInputClaim: ({ schema, value }: ProofInputClaim) => ClaimValue | undefined;
|
|
10
|
+
export declare const claimFromProofInputClaim: (input: ProofInputClaim) => Claim | undefined;
|
|
@@ -20,7 +20,7 @@ export type TransportError = {
|
|
|
20
20
|
ble?: BluetoothError;
|
|
21
21
|
internet?: InternetError;
|
|
22
22
|
};
|
|
23
|
-
export declare const useAvailableTransports: (
|
|
23
|
+
export declare const useAvailableTransports: (possibleTransports: Transport[]) => {
|
|
24
24
|
availableTransport: Transport[] | undefined;
|
|
25
25
|
transportError: TransportError;
|
|
26
26
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IdentifiersInitializationConfig } from './core-init';
|
|
1
2
|
export declare const useBackupInfo: () => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").UnexportableEntities, unknown>;
|
|
2
3
|
export declare const useCreateBackup: () => import("react-query").UseMutationResult<import("@procivis/react-native-one-core").BackupCreate, unknown, {
|
|
3
4
|
outputPath: string;
|
|
@@ -9,4 +10,4 @@ export declare const useUnpackBackup: () => import("react-query").UseMutationRes
|
|
|
9
10
|
}, unknown>;
|
|
10
11
|
export declare const useFinalizeImport: () => import("react-query").UseMutationResult<void, unknown, void, unknown>;
|
|
11
12
|
export declare const useRollbackImport: () => import("react-query").UseMutationResult<void, unknown, void, unknown>;
|
|
12
|
-
export declare const useBackupFinalizeImportProcedure: () => () => Promise<[string | null, string]>;
|
|
13
|
+
export declare const useBackupFinalizeImportProcedure: ({ generateHwKey, generateSwKey }: IdentifiersInitializationConfig) => () => Promise<[string | null, string | undefined]>;
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Config, ConfigEntities } from '@procivis/react-native-one-core';
|
|
2
|
+
export declare const useCoreConfig: () => import("react-query").UseQueryResult<Config, unknown>;
|
|
3
|
+
export declare const getEnabledTransports: (config: Config) => string[];
|
|
4
|
+
export declare const getEnabledExchangeProtocols: (exchangeProtocol: ConfigEntities<any>) => string[];
|
|
5
|
+
export declare const getEnabledTrustManagement: (config: Config) => string[];
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
export declare const SW_DID_NAME_PREFIX = "holder-did-sw-key";
|
|
2
2
|
export declare const HW_DID_NAME_PREFIX = "holder-did-hw-key";
|
|
3
|
-
export
|
|
3
|
+
export interface IdentifiersInitializationConfig {
|
|
4
|
+
generateHwKey: boolean;
|
|
5
|
+
generateSwKey: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Create base local identifiers
|
|
9
|
+
* @param {IdentifiersInitializationConfig} config Select desired keys/dids to be created
|
|
10
|
+
* @returns [hwDidId, swDidId]
|
|
11
|
+
*/
|
|
12
|
+
export declare const useInitializeONECoreIdentifiers: ({ generateHwKey, generateSwKey }: IdentifiersInitializationConfig) => () => Promise<[string | null, string | null]>;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CredentialListQuery, InvitationResult } from '@procivis/react-native-one-core';
|
|
2
|
+
import { Transport } from '../connectivity/connectivity';
|
|
3
|
+
export declare const CREDENTIAL_LIST_QUERY_KEY = "credential-list";
|
|
4
|
+
export declare const CREDENTIAL_LIST_PAGED_QUERY_KEY = "credential-list-paged";
|
|
5
|
+
export declare const CREDENTIAL_DETAIL_QUERY_KEY = "credential-detail";
|
|
2
6
|
export declare const useCredentials: (queryParams?: Partial<CredentialListQuery>) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").CredentialListItem[], unknown>;
|
|
3
7
|
export declare const usePagedCredentials: (queryParams?: Partial<CredentialListQuery>) => import("react-query").UseInfiniteQueryResult<import("@procivis/react-native-one-core").ItemList<import("@procivis/react-native-one-core").CredentialListItem>, unknown>;
|
|
4
8
|
export declare const useCredentialDetail: (credentialId: string | undefined, active?: boolean) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").CredentialDetail | undefined, unknown>;
|
|
5
9
|
export declare const useInvitationHandler: () => import("react-query").UseMutationResult<InvitationResult, unknown, {
|
|
6
10
|
invitationUrl: string;
|
|
7
|
-
transport:
|
|
11
|
+
transport: Transport;
|
|
8
12
|
}, unknown>;
|
|
9
13
|
export declare const useCredentialAccept: () => import("react-query").UseMutationResult<void, unknown, {
|
|
10
14
|
didId: string;
|
|
@@ -13,6 +17,6 @@ export declare const useCredentialAccept: () => import("react-query").UseMutatio
|
|
|
13
17
|
txCode?: string | undefined;
|
|
14
18
|
}, unknown>;
|
|
15
19
|
export declare const useCredentialReject: () => import("react-query").UseMutationResult<void, unknown, string, unknown>;
|
|
16
|
-
export declare const useCredentialRevocationCheck: (
|
|
20
|
+
export declare const useCredentialRevocationCheck: (forceRefresh: boolean) => import("react-query").UseMutationResult<import("@procivis/react-native-one-core").CredentialRevocationCheckResponse[], unknown, string[], unknown>;
|
|
17
21
|
export declare const useCredentialDelete: () => import("react-query").UseMutationResult<void, unknown, string, unknown>;
|
|
18
22
|
export declare const useInvalidateCredentialDetails: () => (credentialId: string | undefined) => Promise<void>;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type HistoryListItemWithDid = HistoryListItem & {
|
|
3
|
-
did?: string;
|
|
4
|
-
};
|
|
1
|
+
import { HistoryListQuery } from '@procivis/react-native-one-core';
|
|
5
2
|
export declare const HISTORY_LIST_QUERY_KEY = "history-list";
|
|
6
|
-
export declare const useHistory: (queryParams?: Partial<HistoryListQuery>) => import("react-query").UseInfiniteQueryResult<ItemList<
|
|
3
|
+
export declare const useHistory: (queryParams?: Partial<HistoryListQuery>) => import("react-query").UseInfiniteQueryResult<import("@procivis/react-native-one-core").ItemList<import("@procivis/react-native-one-core").HistoryListItem>, unknown>;
|
|
@@ -4,7 +4,7 @@ export declare const PROOF_DETAIL_QUERY_KEY = "proof-detail";
|
|
|
4
4
|
export declare const PROOF_STATE_QUERY_KEY = "proof-state";
|
|
5
5
|
export declare const PROOF_LIST_QUERY_KEY = "proof-list";
|
|
6
6
|
export declare const useProofDetail: (proofId: string | undefined) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").ProofDetail | undefined, unknown>;
|
|
7
|
-
export declare const useProofState: (proofId: string | undefined, isPolling: boolean) => import("react-query").UseQueryResult<ProofStateEnum, unknown>;
|
|
7
|
+
export declare const useProofState: (proofId: string | undefined, isPolling: boolean) => import("react-query").UseQueryResult<ProofStateEnum | undefined, unknown>;
|
|
8
8
|
type ProofUrlHookParams = {
|
|
9
9
|
proofId: string;
|
|
10
10
|
request?: ShareProofRequest;
|
|
@@ -17,21 +17,27 @@ export declare const useProofAccept: () => import("react-query").UseMutationResu
|
|
|
17
17
|
keyId?: string | undefined;
|
|
18
18
|
}, unknown>;
|
|
19
19
|
export declare const useProofReject: () => import("react-query").UseMutationResult<void, unknown, string, unknown>;
|
|
20
|
-
export declare enum
|
|
20
|
+
export declare enum IssuanceProtocol {
|
|
21
|
+
OPENID4VCI_DRAFT13 = "OPENID4VCI_DRAFT13"
|
|
22
|
+
}
|
|
23
|
+
export declare enum VerificationProtocol {
|
|
21
24
|
ISO_MDL = "ISO_MDL",
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
OPENID4VP_DRAFT20 = "OPENID4VP_DRAFT20",
|
|
26
|
+
OPENID4VP_DRAFT25 = "OPENID4VP_DRAFT25",
|
|
27
|
+
OPENID4VP_PROXIMITY_DRAFT00 = "OPENID4VP_PROXIMITY_DRAFT00",
|
|
28
|
+
SCAN_TO_VERIFY = "SCAN_TO_VERIFY"
|
|
24
29
|
}
|
|
25
|
-
export declare const useProposeProof: () => import("react-query").UseMutationResult<import("@procivis/react-native-one-core").ProposeProofResponse, unknown,
|
|
26
|
-
export declare const
|
|
30
|
+
export declare const useProposeProof: () => import("react-query").UseMutationResult<import("@procivis/react-native-one-core").ProposeProofResponse, unknown, VerificationProtocol, unknown>;
|
|
31
|
+
export declare const useProofDelete: () => import("react-query").UseMutationResult<void, unknown, string, unknown>;
|
|
27
32
|
export declare const useProofs: (queryParams?: Partial<ProofListQuery>) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").ItemList<import("@procivis/react-native-one-core").ProofListItem>, unknown>;
|
|
28
33
|
export declare const useProofCreate: () => import("react-query").UseMutationResult<string, unknown, CreateProofRequest, unknown>;
|
|
29
|
-
export declare const
|
|
34
|
+
export declare const useProofForSchemaIdWithTransport: (proofSchemaId: string, transport: Transport[] | undefined, enabled: boolean) => string | undefined;
|
|
35
|
+
export declare const useCleanupUnusedProofs: () => void;
|
|
30
36
|
export declare const useShareProof: (proofUrlProps: ProofUrlHookParams | undefined, enabled: boolean) => {
|
|
31
37
|
bleAdapterDisabled: boolean;
|
|
32
38
|
url?: string | undefined;
|
|
33
39
|
} | undefined;
|
|
34
|
-
export declare const useRetainProofCheck: () => import("react-query").UseMutationResult<string, unknown, void, unknown>;
|
|
40
|
+
export declare const useRetainProofCheck: (proofId?: string) => import("react-query").UseMutationResult<string, unknown, void, unknown>;
|
|
35
41
|
export declare const useDeleteProofData: (proofId: string) => import("react-query").UseMutationResult<void, unknown, void, unknown>;
|
|
36
42
|
export declare const useDeleteAllProofsData: (schemaId: string) => import("react-query").UseMutationResult<void[], unknown, void, unknown>;
|
|
37
43
|
export {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { CreateRemoteTrustEntityRequest, ONECore, UpdateRemoteTrustEntityRequest } from '@procivis/react-native-one-core';
|
|
2
|
+
export declare const TRUST_ENTITY_DETAIL_QUERY_KEY = "trust-entity-detail";
|
|
3
|
+
export declare const REMOTE_TRUST_ENTITY_DETAIL_QUERY_KEY = "remote-trust-entity-detail";
|
|
2
4
|
export declare const useCreateTrustAnchor: (publisherReference: string) => (core: ONECore) => Promise<void>;
|
|
3
5
|
export declare const useTrustEntity: (didId: string | undefined) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").TrustEntity | null | undefined, unknown>;
|
|
4
6
|
export declare const useRemoteTrustEntity: (did: string | undefined) => import("react-query").UseQueryResult<import("@procivis/react-native-one-core").TrustEntity | undefined, unknown>;
|
|
5
7
|
export declare const useCreateRemoteTrustEntity: () => import("react-query").UseMutationResult<string, unknown, CreateRemoteTrustEntityRequest, unknown>;
|
|
6
8
|
export declare const useUpdateRemoteTrustEntity: () => import("react-query").UseMutationResult<void, unknown, UpdateRemoteTrustEntityRequest, unknown>;
|
|
9
|
+
export declare enum TrustManagementEnum {
|
|
10
|
+
SimpleTrustList = "SIMPLE_TRUST_LIST"
|
|
11
|
+
}
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Navigates to the result page if some credential states were updated
|
|
5
5
|
* @param {string[]} credentialIds if specified only those credentials get checked, otherwise all potentially eligible credentials
|
|
6
|
+
* @param {boolean} forceRefresh revocation check forces cache refresh
|
|
6
7
|
*/
|
|
7
|
-
export declare const useCredentialStatusCheck: (credentialIds?: string[]) => () => Promise<string[]>;
|
|
8
|
+
export declare const useCredentialStatusCheck: (credentialIds?: string[], forceRefresh?: boolean) => () => Promise<string[]>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import ContrastingStatusBar from './contrasting-status-bar';
|
|
2
2
|
import { concatTestID } from './testID';
|
|
3
3
|
export { concatTestID, ContrastingStatusBar };
|
|
4
|
+
export * from './array';
|
|
4
5
|
export * from './backup';
|
|
5
6
|
export * from './color';
|
|
6
7
|
export * from './date';
|
|
8
|
+
export * from './filtering';
|
|
9
|
+
export * from './history';
|
|
7
10
|
export * from './hooks';
|
|
8
11
|
export * from './navigation';
|
|
9
12
|
export * from './parsers';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseUniversalLink: (universalLink: string) => string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,4 +8,4 @@ import React from 'react';
|
|
|
8
8
|
* return <RefComponent ref={forwardedRef} {...props} />;
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
|
-
export declare const useForwardedRef: <Component extends
|
|
11
|
+
export declare const useForwardedRef: <Component extends unknown>(passedRef?: React.Ref<Component> | undefined) => [React.Ref<Component>, React.RefObject<Component>];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procivis/one-react-native-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.22",
|
|
4
4
|
"author": "Procivis AG (https://procivis.ch)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Common Procivis ONE UI components for react-native",
|
|
@@ -24,19 +24,18 @@
|
|
|
24
24
|
"lint:eslint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
25
25
|
"lint:eslint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
26
26
|
"lint:ts": "tsc --noEmit",
|
|
27
|
-
"lint": "
|
|
28
|
-
"lint:fix": "
|
|
27
|
+
"lint": "pnpm lint:eslint",
|
|
28
|
+
"lint:fix": "pnpm lint:eslint:fix",
|
|
29
29
|
"prepare": "npx patch-package && bob build",
|
|
30
30
|
"release": "release-it",
|
|
31
|
-
"bootstrap": "yarn",
|
|
32
31
|
"android": "react-native run-android --appId=ch.procivis.storybook",
|
|
33
32
|
"ios": "react-native run-ios",
|
|
34
33
|
"start": "react-native start",
|
|
35
34
|
"update-stories": "sb-rn-get-stories --config-path .ondevice",
|
|
36
|
-
"prestart": "
|
|
35
|
+
"prestart": "pnpm update-stories",
|
|
37
36
|
"storybook-watcher": "sb-rn-watcher --config-path .ondevice",
|
|
38
|
-
"storybook": "
|
|
39
|
-
"build-storybook": "
|
|
37
|
+
"storybook": "storybook dev -p 6006 -c .storybook-web",
|
|
38
|
+
"build-storybook": "storybook build -c .storybook-web",
|
|
40
39
|
"pods": "npx pod-install"
|
|
41
40
|
},
|
|
42
41
|
"keywords": [
|
|
@@ -45,37 +44,49 @@
|
|
|
45
44
|
"android"
|
|
46
45
|
],
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"@babel/core": "^7.
|
|
47
|
+
"@babel/core": "^7.25.2",
|
|
49
48
|
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
50
|
-
"@babel/preset-env": "^7.
|
|
51
|
-
"@babel/
|
|
49
|
+
"@babel/preset-env": "^7.25.3",
|
|
50
|
+
"@babel/preset-react": "^7.26.3",
|
|
51
|
+
"@babel/runtime": "^7.25.0",
|
|
52
52
|
"@commitlint/config-conventional": "^11.0.0",
|
|
53
|
-
"@
|
|
53
|
+
"@gorhom/bottom-sheet": "^5.1.2",
|
|
54
|
+
"@procivis/react-native-one-core": "1.40461.0",
|
|
54
55
|
"@procivis/react-native-picker": "5.0.3",
|
|
55
56
|
"@react-native-async-storage/async-storage": "^1.17.3",
|
|
56
57
|
"@react-native-community/blur": "^4.4.0",
|
|
58
|
+
"@react-native-community/cli": "15.0.1",
|
|
59
|
+
"@react-native-community/cli-platform-android": "15.0.1",
|
|
60
|
+
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
57
61
|
"@react-native-community/datetimepicker": "^8.2.0",
|
|
58
62
|
"@react-native-community/netinfo": "^11.4.1",
|
|
59
|
-
"@react-native-community/slider": "^4.5.
|
|
60
|
-
"@react-native/babel-preset": "0.
|
|
61
|
-
"@react-native/
|
|
62
|
-
"@react-native/
|
|
63
|
+
"@react-native-community/slider": "^4.5.6",
|
|
64
|
+
"@react-native/babel-preset": "0.77.1",
|
|
65
|
+
"@react-native/codegen": "0.77.1",
|
|
66
|
+
"@react-native/eslint-config": "0.77.1",
|
|
67
|
+
"@react-native/gradle-plugin": "0.77.1",
|
|
68
|
+
"@react-native/metro-config": "0.77.1",
|
|
63
69
|
"@react-native/normalize-color": "^2.0.0",
|
|
64
|
-
"@react-native/typescript-config": "0.
|
|
70
|
+
"@react-native/typescript-config": "0.77.1",
|
|
65
71
|
"@react-navigation/native": "^6.0.6",
|
|
66
72
|
"@release-it/conventional-changelog": "^2.0.0",
|
|
67
73
|
"@sentry/react-native": "^5.24.1",
|
|
68
|
-
"@storybook/addon-actions": "6.
|
|
69
|
-
"@storybook/addon-controls": "6.
|
|
70
|
-
"@storybook/addon-
|
|
71
|
-
"@storybook/addon-
|
|
72
|
-
"@storybook/addon-
|
|
73
|
-
"@storybook/addon-ondevice-
|
|
74
|
-
"@storybook/addon-ondevice-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/
|
|
77
|
-
"@storybook/react-native": "^
|
|
78
|
-
"@
|
|
74
|
+
"@storybook/addon-actions": "^8.6.7",
|
|
75
|
+
"@storybook/addon-controls": "^8.6.7",
|
|
76
|
+
"@storybook/addon-designs": "^8.2.1",
|
|
77
|
+
"@storybook/addon-essentials": "^8.6.7",
|
|
78
|
+
"@storybook/addon-links": "^8.6.7",
|
|
79
|
+
"@storybook/addon-ondevice-actions": "8.6.1",
|
|
80
|
+
"@storybook/addon-ondevice-backgrounds": "8.6.1",
|
|
81
|
+
"@storybook/addon-ondevice-controls": "8.6.1",
|
|
82
|
+
"@storybook/addon-ondevice-notes": "8.6.1",
|
|
83
|
+
"@storybook/addon-react-native-server": "^0.0.6",
|
|
84
|
+
"@storybook/react": "^8.6.7",
|
|
85
|
+
"@storybook/react-native": "8.6.1",
|
|
86
|
+
"@storybook/react-native-web-vite": "^8.6.7",
|
|
87
|
+
"@storybook/test": "^8.6.7",
|
|
88
|
+
"@types/jest": "^29.5.13",
|
|
89
|
+
"@types/lodash": "^4",
|
|
79
90
|
"@types/qrcode-svg": "^1",
|
|
80
91
|
"@types/react": "^18.2.6",
|
|
81
92
|
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
@@ -83,7 +94,7 @@
|
|
|
83
94
|
"apisauce": "2.0.0",
|
|
84
95
|
"babel-jest": "^29.6.3",
|
|
85
96
|
"babel-loader": "^8.2.4",
|
|
86
|
-
"babel-plugin-react-native-web": "^0.
|
|
97
|
+
"babel-plugin-react-native-web": "^0.19.13",
|
|
87
98
|
"commitlint": "^11.0.0",
|
|
88
99
|
"eslint": "^8.19.0",
|
|
89
100
|
"eslint-config-prettier": "^7.0.0",
|
|
@@ -94,37 +105,40 @@
|
|
|
94
105
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
95
106
|
"husky": "^6.0.0",
|
|
96
107
|
"jest": "^29.6.3",
|
|
108
|
+
"lodash": "^4.17.21",
|
|
97
109
|
"lottie-react-native": "^7.2.2",
|
|
98
110
|
"metro-react-native-babel-preset": "0.73.10",
|
|
111
|
+
"moment": "^2.29.4",
|
|
99
112
|
"parse-url": "^9.2.0",
|
|
100
113
|
"patch-package": "^6.4.7",
|
|
101
114
|
"prettier": "2.8.8",
|
|
102
115
|
"pure-svg-code": "1.0.6",
|
|
103
116
|
"qrcode-svg": "1.1.0",
|
|
104
|
-
"react": "18.
|
|
105
|
-
"react-dom": "
|
|
106
|
-
"react-native": "0.
|
|
117
|
+
"react": "18.3.1",
|
|
118
|
+
"react-dom": "18.3.1",
|
|
119
|
+
"react-native": "0.77.1",
|
|
107
120
|
"react-native-bluetooth-state-manager": "^1.3.5",
|
|
108
121
|
"react-native-builder-bob": "^0.18.0",
|
|
109
|
-
"react-native-gesture-handler": "2.
|
|
110
|
-
"react-native-reanimated": "^3.
|
|
122
|
+
"react-native-gesture-handler": "2.24.0",
|
|
123
|
+
"react-native-reanimated": "^3.17.1",
|
|
111
124
|
"react-native-reanimated-carousel": "^3.5.1",
|
|
112
|
-
"react-native-safe-area-context": "^
|
|
113
|
-
"react-native-screens": "^
|
|
114
|
-
"react-native-svg": "^15.
|
|
125
|
+
"react-native-safe-area-context": "^5.3.0",
|
|
126
|
+
"react-native-screens": "^4.9.0",
|
|
127
|
+
"react-native-svg": "^15.11.2",
|
|
115
128
|
"react-native-system-time": "git+https://github.com/procivis/react-native-system-time.git#f184f8a45a7d6974a34dffa47544424ac9d382c3",
|
|
116
129
|
"react-native-uuid": "^2.0.1",
|
|
117
|
-
"react-native-vision-camera": "^4.
|
|
118
|
-
"react-native-web": "^0.
|
|
130
|
+
"react-native-vision-camera": "^4.6.1",
|
|
131
|
+
"react-native-web": "^0.19.13",
|
|
119
132
|
"react-query": "^3.39.3",
|
|
120
133
|
"release-it": "^14.2.2",
|
|
121
134
|
"shx": "^0.3.4",
|
|
122
|
-
"storybook
|
|
135
|
+
"storybook": "^8.6.7",
|
|
123
136
|
"timeago.js": "^4.0.2",
|
|
124
|
-
"typescript": "5.0.4"
|
|
137
|
+
"typescript": "5.0.4",
|
|
138
|
+
"vite": "^6.2.2"
|
|
125
139
|
},
|
|
126
140
|
"peerDependencies": {
|
|
127
|
-
"@procivis/react-native-one-core": "^1.
|
|
141
|
+
"@procivis/react-native-one-core": "^1.40461.0",
|
|
128
142
|
"@procivis/react-native-picker": "*",
|
|
129
143
|
"@react-native-community/blur": "*",
|
|
130
144
|
"@react-native-community/netinfo": "^11.4.1",
|
|
@@ -132,7 +146,9 @@
|
|
|
132
146
|
"@react-navigation/native": "*",
|
|
133
147
|
"@sentry/react-native": "^5.24.1",
|
|
134
148
|
"apisauce": "2.0.0",
|
|
149
|
+
"lodash": "^4.17.21",
|
|
135
150
|
"lottie-react-native": "^7.2.2",
|
|
151
|
+
"moment": "^2.29.4",
|
|
136
152
|
"parse-url": "^9.2.0",
|
|
137
153
|
"pure-svg-code": "*",
|
|
138
154
|
"qrcode-svg": "*",
|
|
@@ -238,7 +254,8 @@
|
|
|
238
254
|
"simple-import-sort/exports": "warn",
|
|
239
255
|
"import/newline-after-import": "warn",
|
|
240
256
|
"import/no-duplicates": "warn",
|
|
241
|
-
"import/no-absolute-path": "warn"
|
|
257
|
+
"import/no-absolute-path": "warn",
|
|
258
|
+
"no-console": "error"
|
|
242
259
|
}
|
|
243
260
|
},
|
|
244
261
|
"eslintIgnore": [
|
|
@@ -260,8 +277,5 @@
|
|
|
260
277
|
]
|
|
261
278
|
]
|
|
262
279
|
},
|
|
263
|
-
"
|
|
264
|
-
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0"
|
|
265
|
-
},
|
|
266
|
-
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
|
|
280
|
+
"packageManager": "pnpm@10.5.2"
|
|
267
281
|
}
|
|
@@ -7,6 +7,7 @@ import { AttributesLabels, EntityType } from '../../ui-components/screens/nerd-m
|
|
|
7
7
|
import { addElementIf } from '../../utils/array';
|
|
8
8
|
|
|
9
9
|
interface EntityAttributesProps {
|
|
10
|
+
did?: string;
|
|
10
11
|
trustEntity?: TrustEntity;
|
|
11
12
|
trusted: boolean;
|
|
12
13
|
labels: AttributesLabels;
|
|
@@ -15,14 +16,14 @@ interface EntityAttributesProps {
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
const EntityAttributes: FC<EntityAttributesProps> = ({
|
|
19
|
+
did,
|
|
18
20
|
trustEntity,
|
|
19
21
|
trusted,
|
|
20
22
|
labels,
|
|
21
23
|
entityType,
|
|
22
24
|
onCopyToClipboard,
|
|
23
25
|
}) => {
|
|
24
|
-
const
|
|
25
|
-
const didSections = didId.split(':') ?? [];
|
|
26
|
+
const didSections = did?.split(':') ?? [];
|
|
26
27
|
const identifier = didSections.pop();
|
|
27
28
|
const didMethod = didSections.length ? didSections.join(':') + ':' : '';
|
|
28
29
|
|
|
@@ -32,7 +33,7 @@ const EntityAttributes: FC<EntityAttributesProps> = ({
|
|
|
32
33
|
highlightedText: trustEntity?.trustAnchor.name,
|
|
33
34
|
testID: 'trustRegistry',
|
|
34
35
|
}),
|
|
35
|
-
...addElementIf(Boolean(
|
|
36
|
+
...addElementIf(Boolean(did), {
|
|
36
37
|
attributeKey: entityType === EntityType.CredentialEntity ? labels.issuerDid : labels.entityDid,
|
|
37
38
|
attributeText: identifier,
|
|
38
39
|
canBeCopied: true,
|
|
@@ -6,7 +6,7 @@ import EntityCluster from '../../ui-components/entity/entity-cluster';
|
|
|
6
6
|
import { EntityTrustedIcon } from '../../ui-components/icons';
|
|
7
7
|
import { AttributesLabels, EntityLabels, EntityType } from '../../ui-components/screens/nerd-mode-screen';
|
|
8
8
|
import { useAppColorScheme } from '../../ui-components/theme/color-scheme-context';
|
|
9
|
-
import { concatTestID
|
|
9
|
+
import { concatTestID } from '../../utils';
|
|
10
10
|
import { useTrustEntity } from '../../utils/hooks/core/trust-entity';
|
|
11
11
|
import EntityAttributes from './entity-attributes';
|
|
12
12
|
import EntityButtons from './EntityButtons';
|
|
@@ -55,11 +55,11 @@ const EntityDetailsWithButtons: FC<EntityDetailsWithButtonsProps> = ({
|
|
|
55
55
|
|
|
56
56
|
const trustEntitySubline = useMemo(() => {
|
|
57
57
|
if (!trusted) {
|
|
58
|
-
return
|
|
58
|
+
return undefined;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
return `${entityLabels.trusted} • ${trustEntity?.trustAnchor.name}`;
|
|
62
|
-
}, [trustEntity, trusted, entityLabels.trusted
|
|
62
|
+
}, [trustEntity, trusted, entityLabels.trusted]);
|
|
63
63
|
|
|
64
64
|
const trustEntityStatusIcon = useMemo(() => {
|
|
65
65
|
if (!trusted) {
|
|
@@ -85,6 +85,7 @@ const EntityDetailsWithButtons: FC<EntityDetailsWithButtonsProps> = ({
|
|
|
85
85
|
/>
|
|
86
86
|
{trusted && <EntityButtons entity={trustEntity} labels={entityLabels} testID={concatTestID(testID, 'links')} />}
|
|
87
87
|
<EntityAttributes
|
|
88
|
+
did={did?.did}
|
|
88
89
|
trustEntity={trustEntity}
|
|
89
90
|
trusted={trusted}
|
|
90
91
|
labels={attributesLabels}
|