@procivis/one-react-native-components 0.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +66 -0
- package/lib/commonjs/accessibility/accessibility.js +193 -0
- package/lib/commonjs/accessibility/accessibility.js.map +1 -0
- package/lib/commonjs/accessibility/accessibilityHistory.js +81 -0
- package/lib/commonjs/accessibility/accessibilityHistory.js.map +1 -0
- package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js +49 -0
- package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js.map +1 -0
- package/lib/commonjs/accessibility/accessibilityLanguage.js +63 -0
- package/lib/commonjs/accessibility/accessibilityLanguage.js.map +1 -0
- package/lib/commonjs/accessibility/index.js +129 -0
- package/lib/commonjs/accessibility/index.js.map +1 -0
- package/lib/commonjs/accessibility/locale/de.json +21 -0
- package/lib/commonjs/accessibility/locale/en.json +21 -0
- package/lib/commonjs/accessibility/locale/fr.json +21 -0
- package/lib/commonjs/accessibility/locale/index.js +21 -0
- package/lib/commonjs/accessibility/locale/index.js.map +1 -0
- package/lib/commonjs/accessibility/locale/it.json +21 -0
- package/lib/commonjs/accessibility/locale.test.js +15 -0
- package/lib/commonjs/accessibility/locale.test.js.map +1 -0
- package/lib/commonjs/action-modal/ActionModal.js +52 -0
- package/lib/commonjs/action-modal/ActionModal.js.map +1 -0
- package/lib/commonjs/action-modal/index.js +14 -0
- package/lib/commonjs/action-modal/index.js.map +1 -0
- package/lib/commonjs/activity-indicator/activity-indicator.js +34 -0
- package/lib/commonjs/activity-indicator/activity-indicator.js.map +1 -0
- package/lib/commonjs/activity-indicator/index.js +14 -0
- package/lib/commonjs/activity-indicator/index.js.map +1 -0
- package/lib/commonjs/blur/blur-view.js +76 -0
- package/lib/commonjs/blur/blur-view.js.map +1 -0
- package/lib/commonjs/blur/index.js +21 -0
- package/lib/commonjs/blur/index.js.map +1 -0
- package/lib/commonjs/buttons/back-button.js +37 -0
- package/lib/commonjs/buttons/back-button.js.map +1 -0
- package/lib/commonjs/buttons/button.js +153 -0
- package/lib/commonjs/buttons/button.js.map +1 -0
- package/lib/commonjs/buttons/connectivity-button.js +82 -0
- package/lib/commonjs/buttons/connectivity-button.js.map +1 -0
- package/lib/commonjs/buttons/filter-button.js +51 -0
- package/lib/commonjs/buttons/filter-button.js.map +1 -0
- package/lib/commonjs/buttons/ghost-button.js +62 -0
- package/lib/commonjs/buttons/ghost-button.js.map +1 -0
- package/lib/commonjs/buttons/index.js +104 -0
- package/lib/commonjs/buttons/index.js.map +1 -0
- package/lib/commonjs/buttons/scan-button.js +83 -0
- package/lib/commonjs/buttons/scan-button.js.map +1 -0
- package/lib/commonjs/camera/camera-overlay.js +61 -0
- package/lib/commonjs/camera/camera-overlay.js.map +1 -0
- package/lib/commonjs/camera/index.js +21 -0
- package/lib/commonjs/camera/index.js.map +1 -0
- package/lib/commonjs/camera/qr-code-scanner.js +50 -0
- package/lib/commonjs/camera/qr-code-scanner.js.map +1 -0
- package/lib/commonjs/control/checkbox.js +79 -0
- package/lib/commonjs/control/checkbox.js.map +1 -0
- package/lib/commonjs/control/index.js +32 -0
- package/lib/commonjs/control/index.js.map +1 -0
- package/lib/commonjs/control/switch.js +65 -0
- package/lib/commonjs/control/switch.js.map +1 -0
- package/lib/commonjs/credential/card/credential-card.js +189 -0
- package/lib/commonjs/credential/card/credential-card.js.map +1 -0
- package/lib/commonjs/credential/card/credential-details-card.js +201 -0
- package/lib/commonjs/credential/card/credential-details-card.js.map +1 -0
- package/lib/commonjs/credential/card/credential-details-list-item.js +84 -0
- package/lib/commonjs/credential/card/credential-details-list-item.js.map +1 -0
- package/lib/commonjs/credential/card/credential-header.js +172 -0
- package/lib/commonjs/credential/card/credential-header.js.map +1 -0
- package/lib/commonjs/credential/card/credential-image-carousel.js +124 -0
- package/lib/commonjs/credential/card/credential-image-carousel.js.map +1 -0
- package/lib/commonjs/credential/card/index.js +85 -0
- package/lib/commonjs/credential/card/index.js.map +1 -0
- package/lib/commonjs/credential/credential-attribute-item.js +289 -0
- package/lib/commonjs/credential/credential-attribute-item.js.map +1 -0
- package/lib/commonjs/credential/credential-carousel-images.js +98 -0
- package/lib/commonjs/credential/credential-carousel-images.js.map +1 -0
- package/lib/commonjs/credential/index.js +90 -0
- package/lib/commonjs/credential/index.js.map +1 -0
- package/lib/commonjs/credential/selector-status.js +17 -0
- package/lib/commonjs/credential/selector-status.js.map +1 -0
- package/lib/commonjs/credential/selector.js +79 -0
- package/lib/commonjs/credential/selector.js.map +1 -0
- package/lib/commonjs/detail/detail.js +84 -0
- package/lib/commonjs/detail/detail.js.map +1 -0
- package/lib/commonjs/detail/index.js +14 -0
- package/lib/commonjs/detail/index.js.map +1 -0
- package/lib/commonjs/entity/avatar.js +96 -0
- package/lib/commonjs/entity/avatar.js.map +1 -0
- package/lib/commonjs/entity/entity-cluster.js +66 -0
- package/lib/commonjs/entity/entity-cluster.js.map +1 -0
- package/lib/commonjs/entity/index.js +34 -0
- package/lib/commonjs/entity/index.js.map +1 -0
- package/lib/commonjs/header/focus-aware-status-bar.js +20 -0
- package/lib/commonjs/header/focus-aware-status-bar.js.map +1 -0
- package/lib/commonjs/header/foldable-header.js +89 -0
- package/lib/commonjs/header/foldable-header.js.map +1 -0
- package/lib/commonjs/header/header.js +105 -0
- package/lib/commonjs/header/header.js.map +1 -0
- package/lib/commonjs/header/index.js +55 -0
- package/lib/commonjs/header/index.js.map +1 -0
- package/lib/commonjs/header/navigation-header.js +148 -0
- package/lib/commonjs/header/navigation-header.js.map +1 -0
- package/lib/commonjs/history/data-item.js +70 -0
- package/lib/commonjs/history/data-item.js.map +1 -0
- package/lib/commonjs/history/history-list-item.js +90 -0
- package/lib/commonjs/history/history-list-item.js.map +1 -0
- package/lib/commonjs/history/history-section-header.js +49 -0
- package/lib/commonjs/history/history-section-header.js.map +1 -0
- package/lib/commonjs/history/history-section-list-item.js +47 -0
- package/lib/commonjs/history/history-section-list-item.js.map +1 -0
- package/lib/commonjs/history/index.js +55 -0
- package/lib/commonjs/history/index.js.map +1 -0
- package/lib/commonjs/icons/connectivity.js +139 -0
- package/lib/commonjs/icons/connectivity.js.map +1 -0
- package/lib/commonjs/icons/credential.js +162 -0
- package/lib/commonjs/icons/credential.js.map +1 -0
- package/lib/commonjs/icons/entity.js +34 -0
- package/lib/commonjs/icons/entity.js.map +1 -0
- package/lib/commonjs/icons/history.js +408 -0
- package/lib/commonjs/icons/history.js.map +1 -0
- package/lib/commonjs/icons/icons.js +250 -0
- package/lib/commonjs/icons/icons.js.map +1 -0
- package/lib/commonjs/icons/index.js +127 -0
- package/lib/commonjs/icons/index.js.map +1 -0
- package/lib/commonjs/icons/input.js +44 -0
- package/lib/commonjs/icons/input.js.map +1 -0
- package/lib/commonjs/icons/keypad.js +94 -0
- package/lib/commonjs/icons/keypad.js.map +1 -0
- package/lib/commonjs/icons/loader.js +180 -0
- package/lib/commonjs/icons/loader.js.map +1 -0
- package/lib/commonjs/icons/nerd-view.js +123 -0
- package/lib/commonjs/icons/nerd-view.js.map +1 -0
- package/lib/commonjs/icons/selector.js +56 -0
- package/lib/commonjs/icons/selector.js.map +1 -0
- package/lib/commonjs/icons/wallet.js +121 -0
- package/lib/commonjs/icons/wallet.js.map +1 -0
- package/lib/commonjs/image/image-or-component.js +80 -0
- package/lib/commonjs/image/image-or-component.js.map +1 -0
- package/lib/commonjs/image/index.js +21 -0
- package/lib/commonjs/image/index.js.map +1 -0
- package/lib/commonjs/index.js +292 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/input/index.js +65 -0
- package/lib/commonjs/input/index.js.map +1 -0
- package/lib/commonjs/input/radio-group.js +95 -0
- package/lib/commonjs/input/radio-group.js.map +1 -0
- package/lib/commonjs/input/selection-input.js +102 -0
- package/lib/commonjs/input/selection-input.js.map +1 -0
- package/lib/commonjs/input/text-input.js +195 -0
- package/lib/commonjs/input/text-input.js.map +1 -0
- package/lib/commonjs/list/index.js +34 -0
- package/lib/commonjs/list/index.js.map +1 -0
- package/lib/commonjs/list/list-section-header.js +36 -0
- package/lib/commonjs/list/list-section-header.js.map +1 -0
- package/lib/commonjs/list/list-title-header.js +35 -0
- package/lib/commonjs/list/list-title-header.js.map +1 -0
- package/lib/commonjs/loader/index.js +40 -0
- package/lib/commonjs/loader/index.js.map +1 -0
- package/lib/commonjs/loader/loader.js +140 -0
- package/lib/commonjs/loader/loader.js.map +1 -0
- package/lib/commonjs/loader/loading-result.js +92 -0
- package/lib/commonjs/loader/loading-result.js.map +1 -0
- package/lib/commonjs/nerd-view/index.js +27 -0
- package/lib/commonjs/nerd-view/index.js.map +1 -0
- package/lib/commonjs/nerd-view/nerd-mode-item.js +235 -0
- package/lib/commonjs/nerd-view/nerd-mode-item.js.map +1 -0
- package/lib/commonjs/normalize-color.d.js +2 -0
- package/lib/commonjs/normalize-color.d.js.map +1 -0
- package/lib/commonjs/pin/index.js +32 -0
- package/lib/commonjs/pin/index.js.map +1 -0
- package/lib/commonjs/pin/keypad.js +201 -0
- package/lib/commonjs/pin/keypad.js.map +1 -0
- package/lib/commonjs/pin/pin-code-screen.js +162 -0
- package/lib/commonjs/pin/pin-code-screen.js.map +1 -0
- package/lib/commonjs/pin/pins.js +54 -0
- package/lib/commonjs/pin/pins.js.map +1 -0
- package/lib/commonjs/screens/backup-screen.js +87 -0
- package/lib/commonjs/screens/backup-screen.js.map +1 -0
- package/lib/commonjs/screens/image-preview-screen.js +92 -0
- package/lib/commonjs/screens/image-preview-screen.js.map +1 -0
- package/lib/commonjs/screens/index.js +98 -0
- package/lib/commonjs/screens/index.js.map +1 -0
- package/lib/commonjs/screens/nerd-mode-screen.js +142 -0
- package/lib/commonjs/screens/nerd-mode-screen.js.map +1 -0
- package/lib/commonjs/screens/qr-code-scanner-screen.js +120 -0
- package/lib/commonjs/screens/qr-code-scanner-screen.js.map +1 -0
- package/lib/commonjs/screens/scroll-view-screen.js +94 -0
- package/lib/commonjs/screens/scroll-view-screen.js.map +1 -0
- package/lib/commonjs/screens/section-list-screen.js +67 -0
- package/lib/commonjs/screens/section-list-screen.js.map +1 -0
- package/lib/commonjs/searchbar/animated-search-bar.js +88 -0
- package/lib/commonjs/searchbar/animated-search-bar.js.map +1 -0
- package/lib/commonjs/searchbar/index.js +34 -0
- package/lib/commonjs/searchbar/index.js.map +1 -0
- package/lib/commonjs/searchbar/search-bar.js +99 -0
- package/lib/commonjs/searchbar/search-bar.js.map +1 -0
- package/lib/commonjs/settings/button-setting.js +67 -0
- package/lib/commonjs/settings/button-setting.js.map +1 -0
- package/lib/commonjs/settings/index.js +73 -0
- package/lib/commonjs/settings/index.js.map +1 -0
- package/lib/commonjs/settings/setting-item-separator.js +40 -0
- package/lib/commonjs/settings/setting-item-separator.js.map +1 -0
- package/lib/commonjs/settings/setting-item.js +79 -0
- package/lib/commonjs/settings/setting-item.js.map +1 -0
- package/lib/commonjs/settings/settings-button.js +35 -0
- package/lib/commonjs/settings/settings-button.js.map +1 -0
- package/lib/commonjs/settings/switch-setting.js +35 -0
- package/lib/commonjs/settings/switch-setting.js.map +1 -0
- package/lib/commonjs/state/error-screen.js +71 -0
- package/lib/commonjs/state/error-screen.js.map +1 -0
- package/lib/commonjs/state/index.js +27 -0
- package/lib/commonjs/state/index.js.map +1 -0
- package/lib/commonjs/text/base.js +40 -0
- package/lib/commonjs/text/base.js.map +1 -0
- package/lib/commonjs/text/font.js +64 -0
- package/lib/commonjs/text/font.js.map +1 -0
- package/lib/commonjs/text/index.js +21 -0
- package/lib/commonjs/text/index.js.map +1 -0
- package/lib/commonjs/text/typography.js +119 -0
- package/lib/commonjs/text/typography.js.map +1 -0
- package/lib/commonjs/theme/color-scheme-context.js +52 -0
- package/lib/commonjs/theme/color-scheme-context.js.map +1 -0
- package/lib/commonjs/theme/color-scheme.js +2 -0
- package/lib/commonjs/theme/color-scheme.js.map +1 -0
- package/lib/commonjs/theme/index.js +19 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/commonjs/utils/color.js +34 -0
- package/lib/commonjs/utils/color.js.map +1 -0
- package/lib/commonjs/utils/contrasting-status-bar.js +30 -0
- package/lib/commonjs/utils/contrasting-status-bar.js.map +1 -0
- package/lib/commonjs/utils/date.js +57 -0
- package/lib/commonjs/utils/date.js.map +1 -0
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js +21 -0
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js.map +1 -0
- package/lib/commonjs/utils/hooks/index.js +20 -0
- package/lib/commonjs/utils/hooks/index.js.map +1 -0
- package/lib/commonjs/utils/hooks/list/list-content-inset.js +31 -0
- package/lib/commonjs/utils/hooks/list/list-content-inset.js.map +1 -0
- package/lib/commonjs/utils/index.js +83 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/navigation.js +51 -0
- package/lib/commonjs/utils/navigation.js.map +1 -0
- package/lib/commonjs/utils/ref.js +42 -0
- package/lib/commonjs/utils/ref.js.map +1 -0
- package/lib/commonjs/utils/testID.js +18 -0
- package/lib/commonjs/utils/testID.js.map +1 -0
- package/lib/commonjs/utils/testID.test.js +21 -0
- package/lib/commonjs/utils/testID.test.js.map +1 -0
- package/lib/commonjs/utils/useMemoAsync.js +26 -0
- package/lib/commonjs/utils/useMemoAsync.js.map +1 -0
- package/lib/module/accessibility/accessibility.js +185 -0
- package/lib/module/accessibility/accessibility.js.map +1 -0
- package/lib/module/accessibility/accessibilityHistory.js +71 -0
- package/lib/module/accessibility/accessibilityHistory.js.map +1 -0
- package/lib/module/accessibility/accessibilityHistoryWrappers.js +38 -0
- package/lib/module/accessibility/accessibilityHistoryWrappers.js.map +1 -0
- package/lib/module/accessibility/accessibilityLanguage.js +53 -0
- package/lib/module/accessibility/accessibilityLanguage.js.map +1 -0
- package/lib/module/accessibility/index.js +8 -0
- package/lib/module/accessibility/index.js.map +1 -0
- package/lib/module/accessibility/locale/de.json +21 -0
- package/lib/module/accessibility/locale/en.json +21 -0
- package/lib/module/accessibility/locale/fr.json +21 -0
- package/lib/module/accessibility/locale/index.js +12 -0
- package/lib/module/accessibility/locale/index.js.map +1 -0
- package/lib/module/accessibility/locale/it.json +21 -0
- package/lib/module/accessibility/locale.test.js +13 -0
- package/lib/module/accessibility/locale.test.js.map +1 -0
- package/lib/module/action-modal/ActionModal.js +44 -0
- package/lib/module/action-modal/ActionModal.js.map +1 -0
- package/lib/module/action-modal/index.js +3 -0
- package/lib/module/action-modal/index.js.map +1 -0
- package/lib/module/activity-indicator/activity-indicator.js +24 -0
- package/lib/module/activity-indicator/activity-indicator.js.map +1 -0
- package/lib/module/activity-indicator/index.js +3 -0
- package/lib/module/activity-indicator/index.js.map +1 -0
- package/lib/module/blur/blur-view.js +67 -0
- package/lib/module/blur/blur-view.js.map +1 -0
- package/lib/module/blur/index.js +3 -0
- package/lib/module/blur/index.js.map +1 -0
- package/lib/module/buttons/back-button.js +28 -0
- package/lib/module/buttons/back-button.js.map +1 -0
- package/lib/module/buttons/button.js +143 -0
- package/lib/module/buttons/button.js.map +1 -0
- package/lib/module/buttons/connectivity-button.js +73 -0
- package/lib/module/buttons/connectivity-button.js.map +1 -0
- package/lib/module/buttons/filter-button.js +43 -0
- package/lib/module/buttons/filter-button.js.map +1 -0
- package/lib/module/buttons/ghost-button.js +53 -0
- package/lib/module/buttons/ghost-button.js.map +1 -0
- package/lib/module/buttons/index.js +8 -0
- package/lib/module/buttons/index.js.map +1 -0
- package/lib/module/buttons/scan-button.js +75 -0
- package/lib/module/buttons/scan-button.js.map +1 -0
- package/lib/module/camera/camera-overlay.js +51 -0
- package/lib/module/camera/camera-overlay.js.map +1 -0
- package/lib/module/camera/index.js +3 -0
- package/lib/module/camera/index.js.map +1 -0
- package/lib/module/camera/qr-code-scanner.js +40 -0
- package/lib/module/camera/qr-code-scanner.js.map +1 -0
- package/lib/module/control/checkbox.js +70 -0
- package/lib/module/control/checkbox.js.map +1 -0
- package/lib/module/control/index.js +4 -0
- package/lib/module/control/index.js.map +1 -0
- package/lib/module/control/switch.js +56 -0
- package/lib/module/control/switch.js.map +1 -0
- package/lib/module/credential/card/credential-card.js +177 -0
- package/lib/module/credential/card/credential-card.js.map +1 -0
- package/lib/module/credential/card/credential-details-card.js +191 -0
- package/lib/module/credential/card/credential-details-card.js.map +1 -0
- package/lib/module/credential/card/credential-details-list-item.js +74 -0
- package/lib/module/credential/card/credential-details-list-item.js.map +1 -0
- package/lib/module/credential/card/credential-header.js +162 -0
- package/lib/module/credential/card/credential-header.js.map +1 -0
- package/lib/module/credential/card/credential-image-carousel.js +113 -0
- package/lib/module/credential/card/credential-image-carousel.js.map +1 -0
- package/lib/module/credential/card/index.js +11 -0
- package/lib/module/credential/card/index.js.map +1 -0
- package/lib/module/credential/credential-attribute-item.js +279 -0
- package/lib/module/credential/credential-attribute-item.js.map +1 -0
- package/lib/module/credential/credential-carousel-images.js +86 -0
- package/lib/module/credential/credential-carousel-images.js.map +1 -0
- package/lib/module/credential/index.js +9 -0
- package/lib/module/credential/index.js.map +1 -0
- package/lib/module/credential/selector-status.js +10 -0
- package/lib/module/credential/selector-status.js.map +1 -0
- package/lib/module/credential/selector.js +70 -0
- package/lib/module/credential/selector.js.map +1 -0
- package/lib/module/detail/detail.js +75 -0
- package/lib/module/detail/detail.js.map +1 -0
- package/lib/module/detail/index.js +3 -0
- package/lib/module/detail/index.js.map +1 -0
- package/lib/module/entity/avatar.js +86 -0
- package/lib/module/entity/avatar.js.map +1 -0
- package/lib/module/entity/entity-cluster.js +56 -0
- package/lib/module/entity/entity-cluster.js.map +1 -0
- package/lib/module/entity/index.js +5 -0
- package/lib/module/entity/index.js.map +1 -0
- package/lib/module/header/focus-aware-status-bar.js +12 -0
- package/lib/module/header/focus-aware-status-bar.js.map +1 -0
- package/lib/module/header/foldable-header.js +79 -0
- package/lib/module/header/foldable-header.js.map +1 -0
- package/lib/module/header/header.js +97 -0
- package/lib/module/header/header.js.map +1 -0
- package/lib/module/header/index.js +9 -0
- package/lib/module/header/index.js.map +1 -0
- package/lib/module/header/navigation-header.js +138 -0
- package/lib/module/header/navigation-header.js.map +1 -0
- package/lib/module/history/data-item.js +60 -0
- package/lib/module/history/data-item.js.map +1 -0
- package/lib/module/history/history-list-item.js +80 -0
- package/lib/module/history/history-list-item.js.map +1 -0
- package/lib/module/history/history-section-header.js +42 -0
- package/lib/module/history/history-section-header.js.map +1 -0
- package/lib/module/history/history-section-list-item.js +43 -0
- package/lib/module/history/history-section-list-item.js.map +1 -0
- package/lib/module/history/index.js +9 -0
- package/lib/module/history/index.js.map +1 -0
- package/lib/module/icons/connectivity.js +125 -0
- package/lib/module/icons/connectivity.js.map +1 -0
- package/lib/module/icons/credential.js +147 -0
- package/lib/module/icons/credential.js.map +1 -0
- package/lib/module/icons/entity.js +25 -0
- package/lib/module/icons/entity.js.map +1 -0
- package/lib/module/icons/history.js +391 -0
- package/lib/module/icons/history.js.map +1 -0
- package/lib/module/icons/icons.js +231 -0
- package/lib/module/icons/icons.js.map +1 -0
- package/lib/module/icons/index.js +12 -0
- package/lib/module/icons/index.js.map +1 -0
- package/lib/module/icons/input.js +33 -0
- package/lib/module/icons/input.js.map +1 -0
- package/lib/module/icons/keypad.js +81 -0
- package/lib/module/icons/keypad.js.map +1 -0
- package/lib/module/icons/loader.js +168 -0
- package/lib/module/icons/loader.js.map +1 -0
- package/lib/module/icons/nerd-view.js +110 -0
- package/lib/module/icons/nerd-view.js.map +1 -0
- package/lib/module/icons/selector.js +45 -0
- package/lib/module/icons/selector.js.map +1 -0
- package/lib/module/icons/wallet.js +111 -0
- package/lib/module/icons/wallet.js.map +1 -0
- package/lib/module/image/image-or-component.js +71 -0
- package/lib/module/image/image-or-component.js.map +1 -0
- package/lib/module/image/index.js +3 -0
- package/lib/module/image/index.js.map +1 -0
- package/lib/module/index.js +27 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/input/index.js +7 -0
- package/lib/module/input/index.js.map +1 -0
- package/lib/module/input/radio-group.js +87 -0
- package/lib/module/input/radio-group.js.map +1 -0
- package/lib/module/input/selection-input.js +92 -0
- package/lib/module/input/selection-input.js.map +1 -0
- package/lib/module/input/text-input.js +185 -0
- package/lib/module/input/text-input.js.map +1 -0
- package/lib/module/list/index.js +5 -0
- package/lib/module/list/index.js.map +1 -0
- package/lib/module/list/list-section-header.js +28 -0
- package/lib/module/list/list-section-header.js.map +1 -0
- package/lib/module/list/list-title-header.js +27 -0
- package/lib/module/list/list-title-header.js.map +1 -0
- package/lib/module/loader/index.js +5 -0
- package/lib/module/loader/index.js.map +1 -0
- package/lib/module/loader/loader.js +130 -0
- package/lib/module/loader/loader.js.map +1 -0
- package/lib/module/loader/loading-result.js +84 -0
- package/lib/module/loader/loading-result.js.map +1 -0
- package/lib/module/nerd-view/index.js +3 -0
- package/lib/module/nerd-view/index.js.map +1 -0
- package/lib/module/nerd-view/nerd-mode-item.js +224 -0
- package/lib/module/nerd-view/nerd-mode-item.js.map +1 -0
- package/lib/module/normalize-color.d.js +2 -0
- package/lib/module/normalize-color.d.js.map +1 -0
- package/lib/module/pin/index.js +4 -0
- package/lib/module/pin/index.js.map +1 -0
- package/lib/module/pin/keypad.js +191 -0
- package/lib/module/pin/keypad.js.map +1 -0
- package/lib/module/pin/pin-code-screen.js +152 -0
- package/lib/module/pin/pin-code-screen.js.map +1 -0
- package/lib/module/pin/pins.js +46 -0
- package/lib/module/pin/pins.js.map +1 -0
- package/lib/module/screens/backup-screen.js +78 -0
- package/lib/module/screens/backup-screen.js.map +1 -0
- package/lib/module/screens/image-preview-screen.js +83 -0
- package/lib/module/screens/image-preview-screen.js.map +1 -0
- package/lib/module/screens/index.js +13 -0
- package/lib/module/screens/index.js.map +1 -0
- package/lib/module/screens/nerd-mode-screen.js +132 -0
- package/lib/module/screens/nerd-mode-screen.js.map +1 -0
- package/lib/module/screens/qr-code-scanner-screen.js +110 -0
- package/lib/module/screens/qr-code-scanner-screen.js.map +1 -0
- package/lib/module/screens/scroll-view-screen.js +86 -0
- package/lib/module/screens/scroll-view-screen.js.map +1 -0
- package/lib/module/screens/section-list-screen.js +59 -0
- package/lib/module/screens/section-list-screen.js.map +1 -0
- package/lib/module/searchbar/animated-search-bar.js +78 -0
- package/lib/module/searchbar/animated-search-bar.js.map +1 -0
- package/lib/module/searchbar/index.js +5 -0
- package/lib/module/searchbar/index.js.map +1 -0
- package/lib/module/searchbar/search-bar.js +89 -0
- package/lib/module/searchbar/search-bar.js.map +1 -0
- package/lib/module/settings/button-setting.js +57 -0
- package/lib/module/settings/button-setting.js.map +1 -0
- package/lib/module/settings/index.js +11 -0
- package/lib/module/settings/index.js.map +1 -0
- package/lib/module/settings/setting-item-separator.js +32 -0
- package/lib/module/settings/setting-item-separator.js.map +1 -0
- package/lib/module/settings/setting-item.js +69 -0
- package/lib/module/settings/setting-item.js.map +1 -0
- package/lib/module/settings/settings-button.js +27 -0
- package/lib/module/settings/settings-button.js.map +1 -0
- package/lib/module/settings/switch-setting.js +27 -0
- package/lib/module/settings/switch-setting.js.map +1 -0
- package/lib/module/state/error-screen.js +63 -0
- package/lib/module/state/error-screen.js.map +1 -0
- package/lib/module/state/index.js +3 -0
- package/lib/module/state/index.js.map +1 -0
- package/lib/module/text/base.js +31 -0
- package/lib/module/text/base.js.map +1 -0
- package/lib/module/text/font.js +56 -0
- package/lib/module/text/font.js.map +1 -0
- package/lib/module/text/index.js +3 -0
- package/lib/module/text/index.js.map +1 -0
- package/lib/module/text/typography.js +111 -0
- package/lib/module/text/typography.js.map +1 -0
- package/lib/module/theme/color-scheme-context.js +44 -0
- package/lib/module/theme/color-scheme-context.js.map +1 -0
- package/lib/module/theme/color-scheme.js +2 -0
- package/lib/module/theme/color-scheme.js.map +1 -0
- package/lib/module/theme/index.js +3 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/utils/color.js +23 -0
- package/lib/module/utils/color.js.map +1 -0
- package/lib/module/utils/contrasting-status-bar.js +21 -0
- package/lib/module/utils/contrasting-status-bar.js.map +1 -0
- package/lib/module/utils/date.js +51 -0
- package/lib/module/utils/date.js.map +1 -0
- package/lib/module/utils/hooks/header/on-scroll-header-state.js +14 -0
- package/lib/module/utils/hooks/header/on-scroll-header-state.js.map +1 -0
- package/lib/module/utils/hooks/index.js +5 -0
- package/lib/module/utils/hooks/index.js.map +1 -0
- package/lib/module/utils/hooks/list/list-content-inset.js +24 -0
- package/lib/module/utils/hooks/list/list-content-inset.js.map +1 -0
- package/lib/module/utils/index.js +9 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/navigation.js +45 -0
- package/lib/module/utils/navigation.js.map +1 -0
- package/lib/module/utils/ref.js +35 -0
- package/lib/module/utils/ref.js.map +1 -0
- package/lib/module/utils/testID.js +12 -0
- package/lib/module/utils/testID.js.map +1 -0
- package/lib/module/utils/testID.test.js +19 -0
- package/lib/module/utils/testID.test.js.map +1 -0
- package/lib/module/utils/useMemoAsync.js +20 -0
- package/lib/module/utils/useMemoAsync.js.map +1 -0
- package/lib/typescript/accessibility/accessibility.d.ts +55 -0
- package/lib/typescript/accessibility/accessibilityHistory.d.ts +13 -0
- package/lib/typescript/accessibility/accessibilityHistoryWrappers.d.ts +18 -0
- package/lib/typescript/accessibility/accessibilityLanguage.d.ts +20 -0
- package/lib/typescript/accessibility/index.d.ts +6 -0
- package/lib/typescript/accessibility/locale/index.d.ts +90 -0
- package/lib/typescript/accessibility/locale.test.d.ts +1 -0
- package/lib/typescript/action-modal/ActionModal.d.ts +10 -0
- package/lib/typescript/action-modal/index.d.ts +2 -0
- package/lib/typescript/activity-indicator/activity-indicator.d.ts +7 -0
- package/lib/typescript/activity-indicator/index.d.ts +2 -0
- package/lib/typescript/blur/blur-view.d.ts +10 -0
- package/lib/typescript/blur/index.d.ts +2 -0
- package/lib/typescript/buttons/back-button.d.ts +9 -0
- package/lib/typescript/buttons/button.d.ts +22 -0
- package/lib/typescript/buttons/connectivity-button.d.ts +17 -0
- package/lib/typescript/buttons/filter-button.d.ts +7 -0
- package/lib/typescript/buttons/ghost-button.d.ts +11 -0
- package/lib/typescript/buttons/index.d.ts +7 -0
- package/lib/typescript/buttons/scan-button.d.ts +5 -0
- package/lib/typescript/camera/camera-overlay.d.ts +7 -0
- package/lib/typescript/camera/index.d.ts +2 -0
- package/lib/typescript/camera/qr-code-scanner.d.ts +11 -0
- package/lib/typescript/control/checkbox.d.ts +9 -0
- package/lib/typescript/control/index.d.ts +3 -0
- package/lib/typescript/control/switch.d.ts +7 -0
- package/lib/typescript/credential/card/credential-card.d.ts +22 -0
- package/lib/typescript/credential/card/credential-details-card.d.ts +16 -0
- package/lib/typescript/credential/card/credential-details-list-item.d.ts +9 -0
- package/lib/typescript/credential/card/credential-header.d.ts +20 -0
- package/lib/typescript/credential/card/credential-image-carousel.d.ts +23 -0
- package/lib/typescript/credential/card/index.d.ts +10 -0
- package/lib/typescript/credential/credential-attribute-item.d.ts +48 -0
- package/lib/typescript/credential/credential-carousel-images.d.ts +19 -0
- package/lib/typescript/credential/index.d.ts +8 -0
- package/lib/typescript/credential/selector-status.d.ts +8 -0
- package/lib/typescript/credential/selector.d.ts +15 -0
- package/lib/typescript/detail/detail.d.ts +18 -0
- package/lib/typescript/detail/index.d.ts +2 -0
- package/lib/typescript/entity/avatar.d.ts +10 -0
- package/lib/typescript/entity/entity-cluster.d.ts +12 -0
- package/lib/typescript/entity/index.d.ts +4 -0
- package/lib/typescript/header/focus-aware-status-bar.d.ts +4 -0
- package/lib/typescript/header/foldable-header.d.ts +11 -0
- package/lib/typescript/header/header.d.ts +17 -0
- package/lib/typescript/header/index.d.ts +8 -0
- package/lib/typescript/header/navigation-header.d.ts +15 -0
- package/lib/typescript/history/data-item.d.ts +12 -0
- package/lib/typescript/history/history-list-item.d.ts +14 -0
- package/lib/typescript/history/history-section-header.d.ts +7 -0
- package/lib/typescript/history/history-section-list-item.d.ts +7 -0
- package/lib/typescript/history/index.d.ts +8 -0
- package/lib/typescript/icons/connectivity.d.ts +12 -0
- package/lib/typescript/icons/credential.d.ts +9 -0
- package/lib/typescript/icons/entity.d.ts +3 -0
- package/lib/typescript/icons/history.d.ts +42 -0
- package/lib/typescript/icons/icons.d.ts +13 -0
- package/lib/typescript/icons/index.d.ts +11 -0
- package/lib/typescript/icons/input.d.ts +3 -0
- package/lib/typescript/icons/keypad.d.ts +6 -0
- package/lib/typescript/icons/loader.d.ts +6 -0
- package/lib/typescript/icons/nerd-view.d.ts +7 -0
- package/lib/typescript/icons/selector.d.ts +10 -0
- package/lib/typescript/icons/wallet.d.ts +4 -0
- package/lib/typescript/image/image-or-component.d.ts +16 -0
- package/lib/typescript/image/index.d.ts +2 -0
- package/lib/typescript/index.d.ts +26 -0
- package/lib/typescript/input/index.d.ts +6 -0
- package/lib/typescript/input/radio-group.d.ts +23 -0
- package/lib/typescript/input/selection-input.d.ts +32 -0
- package/lib/typescript/input/text-input.d.ts +31 -0
- package/lib/typescript/list/index.d.ts +4 -0
- package/lib/typescript/list/list-section-header.d.ts +7 -0
- package/lib/typescript/list/list-title-header.d.ts +7 -0
- package/lib/typescript/loader/index.d.ts +4 -0
- package/lib/typescript/loader/loader.d.ts +14 -0
- package/lib/typescript/loader/loading-result.d.ts +16 -0
- package/lib/typescript/nerd-view/index.d.ts +2 -0
- package/lib/typescript/nerd-view/nerd-mode-item.d.ts +31 -0
- package/lib/typescript/pin/index.d.ts +3 -0
- package/lib/typescript/pin/keypad.d.ts +16 -0
- package/lib/typescript/pin/pin-code-screen.d.ts +32 -0
- package/lib/typescript/pin/pins.d.ts +7 -0
- package/lib/typescript/screens/backup-screen.d.ts +16 -0
- package/lib/typescript/screens/image-preview-screen.d.ts +9 -0
- package/lib/typescript/screens/index.d.ts +12 -0
- package/lib/typescript/screens/nerd-mode-screen.d.ts +22 -0
- package/lib/typescript/screens/qr-code-scanner-screen.d.ts +14 -0
- package/lib/typescript/screens/scroll-view-screen.d.ts +13 -0
- package/lib/typescript/screens/section-list-screen.d.ts +12 -0
- package/lib/typescript/searchbar/animated-search-bar.d.ts +10 -0
- package/lib/typescript/searchbar/index.d.ts +4 -0
- package/lib/typescript/searchbar/search-bar.d.ts +10 -0
- package/lib/typescript/settings/button-setting.d.ts +13 -0
- package/lib/typescript/settings/index.d.ts +10 -0
- package/lib/typescript/settings/setting-item-separator.d.ts +8 -0
- package/lib/typescript/settings/setting-item.d.ts +9 -0
- package/lib/typescript/settings/settings-button.d.ts +5 -0
- package/lib/typescript/settings/switch-setting.d.ts +13 -0
- package/lib/typescript/state/error-screen.d.ts +15 -0
- package/lib/typescript/state/index.d.ts +2 -0
- package/lib/typescript/text/base.d.ts +20 -0
- package/lib/typescript/text/font.d.ts +26 -0
- package/lib/typescript/text/index.d.ts +2 -0
- package/lib/typescript/text/typography.d.ts +112 -0
- package/lib/typescript/theme/color-scheme-context.d.ts +10 -0
- package/lib/typescript/theme/color-scheme.d.ts +31 -0
- package/lib/typescript/theme/index.d.ts +3 -0
- package/lib/typescript/utils/color.d.ts +4 -0
- package/lib/typescript/utils/contrasting-status-bar.d.ts +10 -0
- package/lib/typescript/utils/date.d.ts +12 -0
- package/lib/typescript/utils/hooks/header/on-scroll-header-state.d.ts +5 -0
- package/lib/typescript/utils/hooks/index.d.ts +4 -0
- package/lib/typescript/utils/hooks/list/list-content-inset.d.ts +8 -0
- package/lib/typescript/utils/index.d.ts +8 -0
- package/lib/typescript/utils/navigation.d.ts +9 -0
- package/lib/typescript/utils/ref.d.ts +11 -0
- package/lib/typescript/utils/testID.d.ts +6 -0
- package/lib/typescript/utils/testID.test.d.ts +1 -0
- package/lib/typescript/utils/useMemoAsync.d.ts +21 -0
- package/package.json +240 -0
- package/src/accessibility/accessibility.ts +215 -0
- package/src/accessibility/accessibilityHistory.tsx +77 -0
- package/src/accessibility/accessibilityHistoryWrappers.tsx +80 -0
- package/src/accessibility/accessibilityLanguage.tsx +66 -0
- package/src/accessibility/index.ts +35 -0
- package/src/accessibility/locale/de.json +21 -0
- package/src/accessibility/locale/en.json +21 -0
- package/src/accessibility/locale/fr.json +21 -0
- package/src/accessibility/locale/index.ts +19 -0
- package/src/accessibility/locale/it.json +21 -0
- package/src/accessibility/locale.test.ts +16 -0
- package/src/action-modal/ActionModal.stories.tsx +35 -0
- package/src/action-modal/ActionModal.tsx +45 -0
- package/src/action-modal/index.ts +3 -0
- package/src/activity-indicator/activity-indicator.stories.tsx +21 -0
- package/src/activity-indicator/activity-indicator.tsx +25 -0
- package/src/activity-indicator/index.ts +3 -0
- package/src/blur/blur-view.tsx +82 -0
- package/src/blur/index.ts +3 -0
- package/src/buttons/back-button.stories.tsx +31 -0
- package/src/buttons/back-button.tsx +31 -0
- package/src/buttons/button.stories.tsx +29 -0
- package/src/buttons/button.tsx +169 -0
- package/src/buttons/connectivity-button.stories.tsx +34 -0
- package/src/buttons/connectivity-button.tsx +95 -0
- package/src/buttons/filter-button.tsx +38 -0
- package/src/buttons/ghost-button.stories.tsx +28 -0
- package/src/buttons/ghost-button.tsx +56 -0
- package/src/buttons/index.ts +24 -0
- package/src/buttons/scan-button.stories.tsx +26 -0
- package/src/buttons/scan-button.tsx +66 -0
- package/src/camera/camera-overlay.tsx +48 -0
- package/src/camera/index.tsx +3 -0
- package/src/camera/qr-code-scanner.tsx +52 -0
- package/src/control/checkbox.stories.tsx +27 -0
- package/src/control/checkbox.tsx +81 -0
- package/src/control/index.ts +4 -0
- package/src/control/switch.stories.tsx +29 -0
- package/src/control/switch.tsx +47 -0
- package/src/credential/card/credential-card.stories.tsx +52 -0
- package/src/credential/card/credential-card.tsx +195 -0
- package/src/credential/card/credential-details-card.stories.tsx +268 -0
- package/src/credential/card/credential-details-card.tsx +242 -0
- package/src/credential/card/credential-details-list-item.tsx +87 -0
- package/src/credential/card/credential-header.stories.tsx +50 -0
- package/src/credential/card/credential-header.tsx +195 -0
- package/src/credential/card/credential-image-carousel.tsx +113 -0
- package/src/credential/card/index.ts +11 -0
- package/src/credential/credential-attribute-item.tsx +372 -0
- package/src/credential/credential-carousel-images.tsx +90 -0
- package/src/credential/index.ts +13 -0
- package/src/credential/selector-status.ts +8 -0
- package/src/credential/selector.stories.tsx +37 -0
- package/src/credential/selector.tsx +64 -0
- package/src/detail/detail.stories.tsx +65 -0
- package/src/detail/detail.tsx +98 -0
- package/src/detail/index.tsx +3 -0
- package/src/entity/avatar.stories.tsx +39 -0
- package/src/entity/avatar.tsx +87 -0
- package/src/entity/entity-cluster.stories.tsx +42 -0
- package/src/entity/entity-cluster.tsx +72 -0
- package/src/entity/index.ts +5 -0
- package/src/header/focus-aware-status-bar.tsx +10 -0
- package/src/header/foldable-header.tsx +107 -0
- package/src/header/header.stories.tsx +59 -0
- package/src/header/header.tsx +105 -0
- package/src/header/index.ts +9 -0
- package/src/header/navigation-header.stories.tsx +56 -0
- package/src/header/navigation-header.tsx +147 -0
- package/src/history/data-item.tsx +79 -0
- package/src/history/history-list-item.tsx +102 -0
- package/src/history/history-section-header.tsx +44 -0
- package/src/history/history-section-list-item.tsx +41 -0
- package/src/history/index.ts +9 -0
- package/src/icons/connectivity.tsx +114 -0
- package/src/icons/credential.tsx +118 -0
- package/src/icons/entity.tsx +21 -0
- package/src/icons/history.tsx +378 -0
- package/src/icons/icons.tsx +134 -0
- package/src/icons/index.ts +11 -0
- package/src/icons/input.tsx +29 -0
- package/src/icons/keypad.tsx +40 -0
- package/src/icons/loader.tsx +117 -0
- package/src/icons/nerd-view.tsx +105 -0
- package/src/icons/selector.tsx +43 -0
- package/src/icons/wallet.tsx +73 -0
- package/src/image/image-or-component.tsx +92 -0
- package/src/image/index.tsx +3 -0
- package/src/index.ts +26 -0
- package/src/input/index.ts +7 -0
- package/src/input/radio-group.tsx +110 -0
- package/src/input/selection-input.stories.tsx +46 -0
- package/src/input/selection-input.tsx +112 -0
- package/src/input/text-input.tsx +253 -0
- package/src/list/index.ts +5 -0
- package/src/list/list-section-header.tsx +37 -0
- package/src/list/list-title-header.tsx +30 -0
- package/src/loader/index.ts +5 -0
- package/src/loader/loader.stories.tsx +31 -0
- package/src/loader/loader.tsx +169 -0
- package/src/loader/loading-result.stories.tsx +67 -0
- package/src/loader/loading-result.tsx +93 -0
- package/src/nerd-view/index.ts +3 -0
- package/src/nerd-view/nerd-mode-item.tsx +296 -0
- package/src/normalize-color.d.ts +1 -0
- package/src/pin/index.ts +4 -0
- package/src/pin/keypad.tsx +166 -0
- package/src/pin/pin-code-screen.stories.tsx +80 -0
- package/src/pin/pin-code-screen.tsx +195 -0
- package/src/pin/pins.tsx +48 -0
- package/src/screens/backup-screen.tsx +92 -0
- package/src/screens/image-preview-screen.stories.tsx +28 -0
- package/src/screens/image-preview-screen.tsx +82 -0
- package/src/screens/index.ts +13 -0
- package/src/screens/nerd-mode-screen.tsx +150 -0
- package/src/screens/qr-code-scanner-screen.stories.tsx +37 -0
- package/src/screens/qr-code-scanner-screen.tsx +124 -0
- package/src/screens/scroll-view-screen.tsx +91 -0
- package/src/screens/section-list-screen.tsx +61 -0
- package/src/searchbar/animated-search-bar.tsx +96 -0
- package/src/searchbar/index.ts +5 -0
- package/src/searchbar/search-bar.stories.tsx +31 -0
- package/src/searchbar/search-bar.tsx +94 -0
- package/src/settings/button-setting.tsx +72 -0
- package/src/settings/index.ts +11 -0
- package/src/settings/setting-item-separator.tsx +32 -0
- package/src/settings/setting-item.tsx +68 -0
- package/src/settings/settings-button.tsx +23 -0
- package/src/settings/switch-setting.tsx +33 -0
- package/src/state/error-screen.stories.tsx +22 -0
- package/src/state/error-screen.tsx +71 -0
- package/src/state/index.ts +3 -0
- package/src/text/base.tsx +53 -0
- package/src/text/font.ts +52 -0
- package/src/text/index.ts +3 -0
- package/src/text/typography.stories.tsx +70 -0
- package/src/text/typography.tsx +117 -0
- package/src/theme/color-scheme-context.tsx +48 -0
- package/src/theme/color-scheme.ts +31 -0
- package/src/theme/index.ts +4 -0
- package/src/utils/color.ts +34 -0
- package/src/utils/contrasting-status-bar.tsx +21 -0
- package/src/utils/date.ts +49 -0
- package/src/utils/hooks/header/on-scroll-header-state.tsx +16 -0
- package/src/utils/hooks/index.ts +5 -0
- package/src/utils/hooks/list/list-content-inset.ts +24 -0
- package/src/utils/index.ts +19 -0
- package/src/utils/navigation.ts +37 -0
- package/src/utils/ref.ts +39 -0
- package/src/utils/testID.test.ts +20 -0
- package/src/utils/testID.ts +9 -0
- package/src/utils/useMemoAsync.ts +50 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactElement } from 'react';
|
|
2
|
+
import { ImageProps, ImageSourcePropType, ImageStyle, StyleProp } from 'react-native';
|
|
3
|
+
export type ImageOrComponentSource = {
|
|
4
|
+
imageSource: ImageSourcePropType;
|
|
5
|
+
resizeMode?: ImageProps['resizeMode'];
|
|
6
|
+
resizeMethod?: ImageProps['resizeMethod'];
|
|
7
|
+
} | {
|
|
8
|
+
component: ReactElement;
|
|
9
|
+
};
|
|
10
|
+
interface ImageOrComponentProps {
|
|
11
|
+
source: ImageOrComponentSource;
|
|
12
|
+
style: StyleProp<ImageStyle>;
|
|
13
|
+
testID?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const ImageOrComponent: FC<ImageOrComponentProps>;
|
|
16
|
+
export default ImageOrComponent;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './accessibility';
|
|
2
|
+
export * from './action-modal';
|
|
3
|
+
export * from './activity-indicator';
|
|
4
|
+
export * from './blur';
|
|
5
|
+
export * from './buttons';
|
|
6
|
+
export * from './camera';
|
|
7
|
+
export * from './control';
|
|
8
|
+
export * from './credential';
|
|
9
|
+
export * from './detail';
|
|
10
|
+
export * from './entity';
|
|
11
|
+
export * from './header';
|
|
12
|
+
export * from './history';
|
|
13
|
+
export * from './icons';
|
|
14
|
+
export * from './image';
|
|
15
|
+
export * from './input';
|
|
16
|
+
export * from './list';
|
|
17
|
+
export * from './loader';
|
|
18
|
+
export * from './nerd-view';
|
|
19
|
+
export * from './pin';
|
|
20
|
+
export * from './screens';
|
|
21
|
+
export * from './searchbar';
|
|
22
|
+
export * from './settings';
|
|
23
|
+
export * from './state';
|
|
24
|
+
export * from './text';
|
|
25
|
+
export * from './theme';
|
|
26
|
+
export * from './utils';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import RadioGroup, { RadioGroupItem, RadioGroupProps } from './radio-group';
|
|
2
|
+
import SelectionInput, { SelectionInputChoice, SelectionInputProps } from './selection-input';
|
|
3
|
+
import TextInput, { TextInputAccessory, TextInputProps } from './text-input';
|
|
4
|
+
export { RadioGroup, RadioGroupItem, RadioGroupProps };
|
|
5
|
+
export { SelectionInput, SelectionInputChoice, SelectionInputProps };
|
|
6
|
+
export { TextInput, TextInputAccessory, TextInputProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import { FlatListProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export type RadioGroupItem = {
|
|
4
|
+
key: React.Key;
|
|
5
|
+
label: string;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
testID?: string;
|
|
8
|
+
};
|
|
9
|
+
export type RadioGroupProps = {
|
|
10
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
11
|
+
items: RadioGroupItem[];
|
|
12
|
+
listFooter?: FlatListProps<RadioGroupItem>['ListFooterComponent'];
|
|
13
|
+
listFooterStyle?: FlatListProps<RadioGroupItem>['ListFooterComponentStyle'];
|
|
14
|
+
onEndReached?: FlatListProps<RadioGroupItem>['onEndReached'];
|
|
15
|
+
onGetItemAccessibilityLabel?: (current: number, length: number) => string;
|
|
16
|
+
onSelected: (item: RadioGroupItem, index: number) => void;
|
|
17
|
+
selectedItem?: React.Key;
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
testID?: string;
|
|
20
|
+
scrollEnabled?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const RadioGroup: FunctionComponent<RadioGroupProps>;
|
|
23
|
+
export default RadioGroup;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TouchableOpacityProps } from 'react-native';
|
|
3
|
+
export interface SelectionInputChoice {
|
|
4
|
+
label: string;
|
|
5
|
+
/**
|
|
6
|
+
* If specified used in the input display, otherwise {@link label} used.
|
|
7
|
+
* The {@link label} is always used for the picker values.
|
|
8
|
+
*/
|
|
9
|
+
shortLabel?: string;
|
|
10
|
+
value: string | number;
|
|
11
|
+
}
|
|
12
|
+
export interface SelectionInputProps extends TouchableOpacityProps {
|
|
13
|
+
error?: string;
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Called when selection changes
|
|
17
|
+
* @return `true` to avoid accessibility auto-focusing, `false` otherwise
|
|
18
|
+
*/
|
|
19
|
+
onChange?: (value: SelectionInputChoice) => boolean;
|
|
20
|
+
pickerCancelLabel: string;
|
|
21
|
+
pickerConfirmLabel: string;
|
|
22
|
+
pickerTitle?: string;
|
|
23
|
+
/** {@link SelectionInputChoice.label} of the selected choice */
|
|
24
|
+
selectedValue?: string | number;
|
|
25
|
+
values: SelectionInputChoice[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Generic selection input component
|
|
29
|
+
* @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=4%3A127&t=B2Y3PtJHH22XDPkx-0
|
|
30
|
+
*/
|
|
31
|
+
declare const SelectionInput: React.ForwardRefExoticComponent<SelectionInputProps & React.RefAttributes<import("react-native").TouchableOpacity>>;
|
|
32
|
+
export default SelectionInput;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, TextInput as RNTextInput, TextInputProps as RNTextInputProps, ViewStyle } from 'react-native';
|
|
3
|
+
export declare enum TextInputAccessory {
|
|
4
|
+
Dropdown = "dropdown",
|
|
5
|
+
Clear = "clear"
|
|
6
|
+
}
|
|
7
|
+
export type TextInputProps = Omit<RNTextInputProps, 'editable' | 'onSubmitEditing' | 'style'> & {
|
|
8
|
+
accessory?: TextInputAccessory;
|
|
9
|
+
accessoryAccessibilityLabel?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
error?: string;
|
|
12
|
+
label: string;
|
|
13
|
+
onAccessoryPress?: () => void;
|
|
14
|
+
onSubmit?: (value: string) => void;
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Generic text input component
|
|
19
|
+
* @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=3%3A824&t=r7HhHF1rsNLmOBL2-4
|
|
20
|
+
*/
|
|
21
|
+
declare const TextInput: React.ForwardRefExoticComponent<Omit<RNTextInputProps, "style" | "editable" | "onSubmitEditing"> & {
|
|
22
|
+
accessory?: TextInputAccessory | undefined;
|
|
23
|
+
accessoryAccessibilityLabel?: string | undefined;
|
|
24
|
+
disabled?: boolean | undefined;
|
|
25
|
+
error?: string | undefined;
|
|
26
|
+
label: string;
|
|
27
|
+
onAccessoryPress?: (() => void) | undefined;
|
|
28
|
+
onSubmit?: ((value: string) => void) | undefined;
|
|
29
|
+
style?: StyleProp<ViewStyle>;
|
|
30
|
+
} & React.RefAttributes<RNTextInput>>;
|
|
31
|
+
export default TextInput;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { TypographyProps } from '../text/typography';
|
|
3
|
+
export type ListSectionHeaderProps = Partial<TypographyProps> & {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
declare const ListSectionHeader: FC<ListSectionHeaderProps>;
|
|
7
|
+
export default ListSectionHeader;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import LoaderView, { LoaderViewProps, LoaderViewState } from './loader';
|
|
2
|
+
import LoadingResultScreen, { LoadingResultScreenProps } from './loading-result';
|
|
3
|
+
export { LoaderView, LoaderViewProps, LoaderViewState };
|
|
4
|
+
export { LoadingResultScreen, LoadingResultScreenProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export declare enum LoaderViewState {
|
|
3
|
+
Error = "error",
|
|
4
|
+
InProgress = "inProgress",
|
|
5
|
+
Success = "success",
|
|
6
|
+
Warning = "warning"
|
|
7
|
+
}
|
|
8
|
+
export type LoaderViewProps = {
|
|
9
|
+
animate: boolean;
|
|
10
|
+
state?: LoaderViewState;
|
|
11
|
+
testID?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const LoaderView: FC<LoaderViewProps>;
|
|
14
|
+
export default LoaderView;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
import { ButtonProps } from '../buttons/button';
|
|
4
|
+
import { NavigationHeaderProps } from '../header/navigation-header';
|
|
5
|
+
import { LoaderViewProps } from './loader';
|
|
6
|
+
export type LoadingResultScreenProps = ViewProps & {
|
|
7
|
+
button?: ButtonProps;
|
|
8
|
+
header?: NavigationHeaderProps;
|
|
9
|
+
loader: LoaderViewProps & {
|
|
10
|
+
label?: string;
|
|
11
|
+
};
|
|
12
|
+
secondaryButton?: ButtonProps;
|
|
13
|
+
tertiaryButton?: ButtonProps;
|
|
14
|
+
};
|
|
15
|
+
declare const LoadingResultScreen: FC<LoadingResultScreenProps>;
|
|
16
|
+
export default LoadingResultScreen;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
import { SharedValue } from 'react-native-reanimated';
|
|
4
|
+
export type NerdModeItemProps = {
|
|
5
|
+
attributeKey: string;
|
|
6
|
+
attributeText?: string;
|
|
7
|
+
canBeCopied?: boolean;
|
|
8
|
+
element?: React.ReactElement;
|
|
9
|
+
expandedAttributes?: number;
|
|
10
|
+
highlightedText?: string;
|
|
11
|
+
labels: {
|
|
12
|
+
expand: string;
|
|
13
|
+
collapse: string;
|
|
14
|
+
};
|
|
15
|
+
last?: boolean;
|
|
16
|
+
link?: string;
|
|
17
|
+
onCopyToClipboard: (value: string) => void;
|
|
18
|
+
onExpand?: (expanded: boolean) => void;
|
|
19
|
+
scrollOffset?: SharedValue<number>;
|
|
20
|
+
testID?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const ActionIcon: FunctionComponent<{
|
|
23
|
+
copy?: boolean;
|
|
24
|
+
link?: string;
|
|
25
|
+
onCopyToClipboard: (value: string) => void;
|
|
26
|
+
style?: ViewStyle;
|
|
27
|
+
testID?: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}>;
|
|
30
|
+
declare const NerdModeItem: FunctionComponent<NerdModeItemProps>;
|
|
31
|
+
export default NerdModeItem;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export declare enum Biometry {
|
|
4
|
+
FaceID = "faceID",
|
|
5
|
+
Other = "other"
|
|
6
|
+
}
|
|
7
|
+
export interface KeypadProps {
|
|
8
|
+
testID?: string;
|
|
9
|
+
biometry?: Biometry | null;
|
|
10
|
+
onBiometricPress?: () => void;
|
|
11
|
+
onPressDigit?: (digit: number) => void;
|
|
12
|
+
onPressDelete?: () => void;
|
|
13
|
+
style?: StyleProp<ViewStyle>;
|
|
14
|
+
onDeleteAll?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const Keypad: React.ForwardRefExoticComponent<KeypadProps & React.RefAttributes<import("react-native").TouchableOpacity>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { Ref } from 'react';
|
|
2
|
+
import type { TouchableOpacityRef } from '../accessibility';
|
|
3
|
+
import { Biometry } from './keypad';
|
|
4
|
+
export type PinCodeScreenProps = {
|
|
5
|
+
title: string;
|
|
6
|
+
testID?: string;
|
|
7
|
+
length: number;
|
|
8
|
+
enteredLength: number;
|
|
9
|
+
onBack?: () => void;
|
|
10
|
+
error?: string;
|
|
11
|
+
keypadRef?: Ref<TouchableOpacityRef>;
|
|
12
|
+
onPressDigit: (digit: number) => void;
|
|
13
|
+
onPressDelete: () => void;
|
|
14
|
+
onDeleteAll: () => void;
|
|
15
|
+
biometry?: Biometry | null;
|
|
16
|
+
onBiometricPress?: () => void;
|
|
17
|
+
} & ({
|
|
18
|
+
instruction: string;
|
|
19
|
+
onAccessibilityAnnounced?: (finished: boolean) => void;
|
|
20
|
+
} | {
|
|
21
|
+
instruction?: undefined;
|
|
22
|
+
onAccessibilityAnnounced?: undefined;
|
|
23
|
+
});
|
|
24
|
+
export interface PinCodeScreenActions {
|
|
25
|
+
shakeKeypad: (params?: {
|
|
26
|
+
amount?: number;
|
|
27
|
+
duration?: number;
|
|
28
|
+
}) => Promise<{
|
|
29
|
+
finished: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
export declare const PinCodeScreen: React.ForwardRefExoticComponent<PinCodeScreenProps & React.RefAttributes<PinCodeScreenActions>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
export declare enum BackupScreenMode {
|
|
3
|
+
Create = "create",
|
|
4
|
+
Restore = "restore"
|
|
5
|
+
}
|
|
6
|
+
export type BackupScreenProps = PropsWithChildren<{
|
|
7
|
+
cta: string;
|
|
8
|
+
description: string;
|
|
9
|
+
isCtaDisabled?: boolean;
|
|
10
|
+
onBack: () => void;
|
|
11
|
+
onCta: () => void;
|
|
12
|
+
testID: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}>;
|
|
15
|
+
declare const BackupScreen: FC<BackupScreenProps>;
|
|
16
|
+
export default BackupScreen;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ImageSourcePropType, ViewProps } from 'react-native';
|
|
3
|
+
export type ImagePreviewScreenProps = ViewProps & {
|
|
4
|
+
image: ImageSourcePropType;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
declare const ImagePreviewScreen: FC<ImagePreviewScreenProps>;
|
|
9
|
+
export default ImagePreviewScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import BackupScreen, { BackupScreenMode, BackupScreenProps } from './backup-screen';
|
|
2
|
+
import ImagePreviewScreen, { ImagePreviewScreenProps } from './image-preview-screen';
|
|
3
|
+
import NerdModeScreen, { NerdModeScreenProps, NerdModeSection } from './nerd-mode-screen';
|
|
4
|
+
import QRCodeScannerScreen, { QRCodeScannerScreenProps } from './qr-code-scanner-screen';
|
|
5
|
+
import ScrollViewScreen, { ScrollViewScreenProps } from './scroll-view-screen';
|
|
6
|
+
import SectionListScreen, { SectionListScreenProps } from './section-list-screen';
|
|
7
|
+
export { BackupScreen, BackupScreenMode, BackupScreenProps };
|
|
8
|
+
export { ImagePreviewScreen, ImagePreviewScreenProps };
|
|
9
|
+
export { NerdModeScreen, NerdModeScreenProps, NerdModeSection };
|
|
10
|
+
export { QRCodeScannerScreen, QRCodeScannerScreenProps };
|
|
11
|
+
export { ScrollViewScreen, ScrollViewScreenProps };
|
|
12
|
+
export { SectionListScreen, SectionListScreenProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { NerdModeItemProps } from '..//nerd-view/nerd-mode-item';
|
|
3
|
+
export type NerdModeSection = {
|
|
4
|
+
data: Array<Omit<NerdModeItemProps, 'labels' | 'onCopyToClipboard'>>;
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
export type NerdModeScreenProps = {
|
|
8
|
+
entityCluster?: {
|
|
9
|
+
entityName: string;
|
|
10
|
+
};
|
|
11
|
+
labels: {
|
|
12
|
+
expand: string;
|
|
13
|
+
collapse: string;
|
|
14
|
+
};
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
onCopyToClipboard: (value: string) => void;
|
|
17
|
+
sections: NerdModeSection[];
|
|
18
|
+
testID: string;
|
|
19
|
+
title: string;
|
|
20
|
+
};
|
|
21
|
+
declare const NerdModeScreen: FunctionComponent<NerdModeScreenProps>;
|
|
22
|
+
export default NerdModeScreen;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { QRCodeScannerProps } from '../camera/qr-code-scanner';
|
|
4
|
+
export interface QRCodeScannerScreenProps {
|
|
5
|
+
codeTypes?: QRCodeScannerProps['codeTypes'];
|
|
6
|
+
footer?: React.ComponentType<any> | React.ReactElement;
|
|
7
|
+
onQRCodeRead: QRCodeScannerProps['onQRCodeRead'];
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
10
|
+
noCameraView?: JSX.Element;
|
|
11
|
+
title: ReactElement | string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: React.NamedExoticComponent<QRCodeScannerScreenProps>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { ScrollViewProps, ViewProps } from 'react-native';
|
|
3
|
+
import { NavigationHeaderProps } from '../header/navigation-header';
|
|
4
|
+
export type ScrollViewScreenProps = ViewProps & {
|
|
5
|
+
header: Omit<NavigationHeaderProps, 'animate' | 'blurred' | 'style' | 'title' | 'titleVisible'> & {
|
|
6
|
+
static?: boolean;
|
|
7
|
+
title: string;
|
|
8
|
+
};
|
|
9
|
+
modalPresentation?: boolean;
|
|
10
|
+
scrollView?: Omit<ScrollViewProps, 'onScroll'>;
|
|
11
|
+
};
|
|
12
|
+
declare const ScrollViewScreen: FC<PropsWithChildren<ScrollViewScreenProps>>;
|
|
13
|
+
export default ScrollViewScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SectionListProps, ViewProps } from 'react-native';
|
|
3
|
+
import { NavigationHeaderProps } from '../header/navigation-header';
|
|
4
|
+
export type SectionListScreenProps<ItemT, SectionT> = ViewProps & {
|
|
5
|
+
header: Omit<NavigationHeaderProps, 'animate' | 'blurred' | 'style' | 'title' | 'titleVisible'> & {
|
|
6
|
+
static?: boolean;
|
|
7
|
+
title: string;
|
|
8
|
+
};
|
|
9
|
+
list: Omit<SectionListProps<ItemT, SectionT>, 'ListHeaderComponent' | 'onScroll'>;
|
|
10
|
+
};
|
|
11
|
+
declare const SectionListScreen: <ItemT, SectionT>({ header, list: { contentContainerStyle, stickySectionHeadersEnabled, ...listProps }, style, ...viewProps }: SectionListScreenProps<ItemT, SectionT>) => React.JSX.Element;
|
|
12
|
+
export default SectionListScreen;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { SearchBarProps } from './search-bar';
|
|
3
|
+
export type AnimatedSearchBarProps = {
|
|
4
|
+
collapsed: boolean;
|
|
5
|
+
rightButton?: ReactNode;
|
|
6
|
+
rightButtonAlwaysVisible?: boolean;
|
|
7
|
+
searchBarProps: SearchBarProps;
|
|
8
|
+
};
|
|
9
|
+
declare const AnimatedSearchBar: ({ collapsed, rightButtonAlwaysVisible, searchBarProps, rightButton, }: AnimatedSearchBarProps) => React.JSX.Element;
|
|
10
|
+
export default AnimatedSearchBar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, TextInput, TextInputProps, ViewStyle } from 'react-native';
|
|
3
|
+
export interface SearchBarProps extends TextInputProps {
|
|
4
|
+
style?: StyleProp<ViewStyle>;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
searchPhrase: string;
|
|
7
|
+
onSearchPhraseChange: (searchPhrase: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<TextInput>>;
|
|
10
|
+
export default SearchBar;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentType, FunctionComponent, ReactElement } from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export type ButtonSettingProps = {
|
|
4
|
+
accessory?: ComponentType<any> | ReactElement;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
icon?: ComponentType<any> | ReactElement;
|
|
7
|
+
onPress: () => void;
|
|
8
|
+
style?: StyleProp<ViewStyle>;
|
|
9
|
+
testID?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
declare const ButtonSetting: FunctionComponent<ButtonSettingProps>;
|
|
13
|
+
export default ButtonSetting;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import ButtonSetting, { ButtonSettingProps } from './button-setting';
|
|
2
|
+
import SettingItem, { SettingItemProps } from './setting-item';
|
|
3
|
+
import SettingItemSeparator, { SettingItemSeparatorProps } from './setting-item-separator';
|
|
4
|
+
import SettingsButton, { SettingsButtonProps } from './settings-button';
|
|
5
|
+
import SwitchSetting, { SwitchSettingProps } from './switch-setting';
|
|
6
|
+
export { ButtonSetting, ButtonSettingProps };
|
|
7
|
+
export { SettingItem, SettingItemProps };
|
|
8
|
+
export { SettingItemSeparator, SettingItemSeparatorProps };
|
|
9
|
+
export { SettingsButton, SettingsButtonProps };
|
|
10
|
+
export { SwitchSetting, SwitchSettingProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ColorValue, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export type SettingItemSeparatorProps = {
|
|
4
|
+
color?: ColorValue;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
};
|
|
7
|
+
declare const SettingItemSeparator: FC<SettingItemSeparatorProps>;
|
|
8
|
+
export default SettingItemSeparator;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentType, FunctionComponent, PropsWithChildren, ReactElement } from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export type SettingItemProps = {
|
|
4
|
+
icon?: ComponentType<any> | ReactElement;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
declare const SettingItem: FunctionComponent<PropsWithChildren<SettingItemProps>>;
|
|
9
|
+
export default SettingItem;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentType, FunctionComponent, ReactElement } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export type SwitchSettingProps = {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: ComponentType<any> | ReactElement;
|
|
6
|
+
onChange: (newValue: boolean) => void;
|
|
7
|
+
style?: StyleProp<ViewStyle>;
|
|
8
|
+
testID?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
value: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const SwitchSetting: FunctionComponent<SwitchSettingProps>;
|
|
13
|
+
export default SwitchSetting;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
export interface ErrorScreenButton {
|
|
3
|
+
testID?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onPress?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface ErrorScreenProps {
|
|
9
|
+
testID?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
subtitle: string;
|
|
12
|
+
button: ErrorScreenButton;
|
|
13
|
+
}
|
|
14
|
+
declare const ErrorScreen: FunctionComponent<ErrorScreenProps>;
|
|
15
|
+
export default ErrorScreen;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColorValue, StyleProp, Text, TextProps, TextStyle } from 'react-native';
|
|
3
|
+
export type BaseTextProps = TextProps & {
|
|
4
|
+
align?: 'center' | 'left' | 'right';
|
|
5
|
+
color: ColorValue;
|
|
6
|
+
style?: StyleProp<TextStyle>;
|
|
7
|
+
announcementActive?: boolean;
|
|
8
|
+
announcementCumulative?: boolean;
|
|
9
|
+
onAnnouncementFinished?: (finished: boolean) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const BaseText: React.ForwardRefExoticComponent<TextProps & {
|
|
12
|
+
align?: "center" | "left" | "right" | undefined;
|
|
13
|
+
color: ColorValue;
|
|
14
|
+
style?: StyleProp<TextStyle>;
|
|
15
|
+
announcementActive?: boolean | undefined;
|
|
16
|
+
announcementCumulative?: boolean | undefined;
|
|
17
|
+
onAnnouncementFinished?: ((finished: boolean) => void) | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
} & React.RefAttributes<Text>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TextStyle } from 'react-native';
|
|
2
|
+
export interface FontStyle {
|
|
3
|
+
fontFamily?: string;
|
|
4
|
+
fontWeight?: TextStyle['fontWeight'];
|
|
5
|
+
}
|
|
6
|
+
declare enum FontFace {
|
|
7
|
+
OpenSans = "Open Sans",
|
|
8
|
+
IBMPlexMono = "IBM Plex Mono",
|
|
9
|
+
ProcivisBook = "Procivis-Book"
|
|
10
|
+
}
|
|
11
|
+
declare enum FontWeight {
|
|
12
|
+
Medium = "500",
|
|
13
|
+
Regular = "400"
|
|
14
|
+
}
|
|
15
|
+
export interface FontFactoryProps {
|
|
16
|
+
face: FontFace;
|
|
17
|
+
weight?: FontWeight;
|
|
18
|
+
}
|
|
19
|
+
export declare const fontFactory: ({ face, weight }: FontFactoryProps) => FontStyle;
|
|
20
|
+
declare const font: {
|
|
21
|
+
regular: FontStyle;
|
|
22
|
+
medium: FontStyle;
|
|
23
|
+
code: FontStyle;
|
|
24
|
+
heading: FontStyle;
|
|
25
|
+
};
|
|
26
|
+
export default font;
|