@dynamic-labs/sdk-react-core 0.16.0
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/CHANGELOG.md +637 -0
- package/LICENSE +21 -0
- package/README.md +51 -0
- package/_virtual/_tslib.cjs.js +43 -0
- package/_virtual/_tslib.es.js +38 -0
- package/_virtual/style-inject.cjs.js +30 -0
- package/_virtual/style-inject.es.js +28 -0
- package/package.cjs.js +20 -0
- package/package.es.js +15 -0
- package/package.json +50 -0
- package/src/index.cjs.js +210 -0
- package/src/index.d.ts +28 -0
- package/src/index.es.js +99 -0
- package/src/lib/Main.cjs.js +94 -0
- package/src/lib/Main.d.ts +4 -0
- package/src/lib/Main.es.js +89 -0
- package/src/lib/app.cjs.js +11 -0
- package/src/lib/app.d.ts +2 -0
- package/src/lib/app.es.js +7 -0
- package/src/lib/assets/dynamic-logo.cjs.js +57 -0
- package/src/lib/assets/dynamic-logo.es.js +33 -0
- package/src/lib/assets/index.d.ts +5 -0
- package/src/lib/assets/search.cjs.js +53 -0
- package/src/lib/assets/search.es.js +29 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +54 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.d.ts +2 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.es.js +50 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.types.d.ts +7 -0
- package/src/lib/components/Accordion/components/AccordionItem/index.d.ts +1 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.cjs.js +10 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.d.ts +2 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.es.js +6 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.types.d.ts +5 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/index.d.ts +1 -0
- package/src/lib/components/Accordion/components/index.d.ts +2 -0
- package/src/lib/components/Accordion/index.d.ts +1 -0
- package/src/lib/components/Alert/Alert.d.ts +2 -0
- package/src/lib/components/Alert/Alert.types.d.ts +5 -0
- package/src/lib/components/Alert/index.d.ts +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs.js +62 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.d.ts +2 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.es.js +58 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.types.d.ts +10 -0
- package/src/lib/components/AnimatePresence/animations/VerticalDrawerAnimation/VerticalDrawerAnimation.cjs.js +57 -0
- package/src/lib/components/AnimatePresence/animations/VerticalDrawerAnimation/VerticalDrawerAnimation.d.ts +4 -0
- package/src/lib/components/AnimatePresence/animations/VerticalDrawerAnimation/VerticalDrawerAnimation.es.js +51 -0
- package/src/lib/components/AnimatePresence/animations/VerticalDrawerAnimation/VerticalDrawerAnimation.types.d.ts +8 -0
- package/src/lib/components/AnimatePresence/animations/VerticalDrawerAnimation/index.d.ts +1 -0
- package/src/lib/components/AnimatePresence/animations/index.d.ts +1 -0
- package/src/lib/components/AnimatePresence/index.d.ts +3 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.cjs.js +10 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.d.ts +2 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.es.js +6 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.types.d.ts +7 -0
- package/src/lib/components/AppOriginTile/index.d.ts +1 -0
- package/src/lib/components/Badge/Badge.cjs.js +10 -0
- package/src/lib/components/Badge/Badge.d.ts +3 -0
- package/src/lib/components/Badge/Badge.es.js +6 -0
- package/src/lib/components/Badge/Badge.types.d.ts +5 -0
- package/src/lib/components/Badge/index.d.ts +1 -0
- package/src/lib/components/Button/Button.cjs.js +50 -0
- package/src/lib/components/Button/Button.d.ts +21 -0
- package/src/lib/components/Button/Button.es.js +46 -0
- package/src/lib/components/Button/index.d.ts +1 -0
- package/src/lib/components/Captcha/Captcha.cjs.js +21 -0
- package/src/lib/components/Captcha/Captcha.d.ts +6 -0
- package/src/lib/components/Captcha/Captcha.es.js +13 -0
- package/src/lib/components/Captcha/index.d.ts +1 -0
- package/src/lib/components/Checkbox/Checkbox.cjs.js +19 -0
- package/src/lib/components/Checkbox/Checkbox.d.ts +9 -0
- package/src/lib/components/Checkbox/Checkbox.es.js +15 -0
- package/src/lib/components/Checkbox/index.d.ts +1 -0
- package/src/lib/components/CopyButton/CopyButton.cjs.js +33 -0
- package/src/lib/components/CopyButton/CopyButton.d.ts +9 -0
- package/src/lib/components/CopyButton/CopyButton.es.js +29 -0
- package/src/lib/components/CopyButton/index.d.ts +1 -0
- package/src/lib/components/Divider/Divider.cjs.js +33 -0
- package/src/lib/components/Divider/Divider.d.ts +4 -0
- package/src/lib/components/Divider/Divider.es.js +29 -0
- package/src/lib/components/Divider/index.d.ts +1 -0
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs.js +39 -0
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +8 -0
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.es.js +35 -0
- package/src/lib/components/DynamicConnectButton/index.d.ts +1 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.cjs.js +16 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.d.ts +2 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.es.js +12 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.types.d.ts +7 -0
- package/src/lib/components/EnterTileAnimation/index.d.ts +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs.js +28 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +9 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.es.js +24 -0
- package/src/lib/components/ErrorContainer/index.d.ts +1 -0
- package/src/lib/components/Icon/Icon.cjs.js +25 -0
- package/src/lib/components/Icon/Icon.d.ts +2 -0
- package/src/lib/components/Icon/Icon.es.js +21 -0
- package/src/lib/components/Icon/Icon.types.d.ts +10 -0
- package/src/lib/components/Icon/index.d.ts +2 -0
- package/src/lib/components/IconButton/IconButton.cjs.js +16 -0
- package/src/lib/components/IconButton/IconButton.d.ts +3 -0
- package/src/lib/components/IconButton/IconButton.es.js +12 -0
- package/src/lib/components/IconButton/IconButton.types.d.ts +2 -0
- package/src/lib/components/IconButton/index.d.ts +2 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs.js +47 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.d.ts +14 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.es.js +42 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs.js +44 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.d.ts +7 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.es.js +40 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs.js +26 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.d.ts +8 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.es.js +22 -0
- package/src/lib/components/IconWithSpinner/Spinner/index.d.ts +1 -0
- package/src/lib/components/IconWithSpinner/index.d.ts +1 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs.js +28 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +11 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.es.js +24 -0
- package/src/lib/components/IconWithStatus/index.d.ts +1 -0
- package/src/lib/components/Image/Image.cjs.js +16 -0
- package/src/lib/components/Image/Image.d.ts +10 -0
- package/src/lib/components/Image/Image.es.js +12 -0
- package/src/lib/components/Image/index.d.ts +1 -0
- package/src/lib/components/InfoItem/InfoItem.cjs.js +13 -0
- package/src/lib/components/InfoItem/InfoItem.d.ts +12 -0
- package/src/lib/components/InfoItem/InfoItem.es.js +9 -0
- package/src/lib/components/InfoItem/index.d.ts +1 -0
- package/src/lib/components/Input/Input.cjs.js +16 -0
- package/src/lib/components/Input/Input.d.ts +2 -0
- package/src/lib/components/Input/Input.es.js +12 -0
- package/src/lib/components/Input/Input.types.d.ts +10 -0
- package/src/lib/components/Input/index.d.ts +1 -0
- package/src/lib/components/IsBrowser/IsBrowser.cjs.js +24 -0
- package/src/lib/components/IsBrowser/IsBrowser.d.ts +6 -0
- package/src/lib/components/IsBrowser/IsBrowser.es.js +20 -0
- package/src/lib/components/IsBrowser/index.d.ts +1 -0
- package/src/lib/components/ListTile/ListTile.cjs.js +11 -0
- package/src/lib/components/ListTile/ListTile.d.ts +2 -0
- package/src/lib/components/ListTile/ListTile.es.js +7 -0
- package/src/lib/components/ListTile/ListTile.types.d.ts +10 -0
- package/src/lib/components/ListTile/index.d.ts +1 -0
- package/src/lib/components/LogoutButton/LogoutButton.cjs.js +25 -0
- package/src/lib/components/LogoutButton/LogoutButton.d.ts +7 -0
- package/src/lib/components/LogoutButton/LogoutButton.es.js +21 -0
- package/src/lib/components/LogoutButton/index.d.ts +1 -0
- package/src/lib/components/MockedQrCode/MockedQrCode.cjs.js +20 -0
- package/src/lib/components/MockedQrCode/MockedQrCode.d.ts +2 -0
- package/src/lib/components/MockedQrCode/MockedQrCode.es.js +16 -0
- package/src/lib/components/MockedQrCode/index.d.ts +1 -0
- package/src/lib/components/ModalHeader/ModalHeader.cjs.js +13 -0
- package/src/lib/components/ModalHeader/ModalHeader.d.ts +2 -0
- package/src/lib/components/ModalHeader/ModalHeader.es.js +9 -0
- package/src/lib/components/ModalHeader/ModalHeader.types.d.ts +9 -0
- package/src/lib/components/ModalHeader/index.d.ts +1 -0
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs.js +18 -0
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +8 -0
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.es.js +14 -0
- package/src/lib/components/ModalHeaderBanner/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs.js +52 -0
- package/src/lib/components/NetworkPicker/NetworkPicker.d.ts +17 -0
- package/src/lib/components/NetworkPicker/NetworkPicker.es.js +48 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs.js +58 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.d.ts +12 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.es.js +52 -0
- package/src/lib/components/NetworkPicker/components/ActionList/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs.js +68 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.d.ts +16 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.es.js +64 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs.js +39 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.d.ts +11 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.es.js +35 -0
- package/src/lib/components/NetworkPicker/components/Network/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.cjs.js +10 -0
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.d.ts +12 -0
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.es.js +6 -0
- package/src/lib/components/NetworkPicker/components/NetworkAction/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs.js +28 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.d.ts +16 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.es.js +24 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs.js +10 -0
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.d.ts +5 -0
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.es.js +6 -0
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs.js +43 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.d.ts +9 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.es.js +39 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs.js +20 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.d.ts +6 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.es.js +16 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/index.d.ts +1 -0
- package/src/lib/components/NetworkPicker/index.d.ts +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs.js +47 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +16 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.es.js +43 -0
- package/src/lib/components/OTPVerificationView/index.d.ts +1 -0
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.cjs.js +34 -0
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.d.ts +17 -0
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.es.js +30 -0
- package/src/lib/components/OptionsSwitcher/index.d.ts +1 -0
- package/src/lib/components/PinField/PinField.cjs.js +23 -0
- package/src/lib/components/PinField/PinField.d.ts +12 -0
- package/src/lib/components/PinField/PinField.es.js +19 -0
- package/src/lib/components/PinField/index.d.ts +1 -0
- package/src/lib/components/PinInput/PinInput.cjs.js +79 -0
- package/src/lib/components/PinInput/PinInput.d.ts +14 -0
- package/src/lib/components/PinInput/PinInput.es.js +74 -0
- package/src/lib/components/PinInput/index.d.ts +1 -0
- package/src/lib/components/Portal/Portal.cjs.js +55 -0
- package/src/lib/components/Portal/Portal.d.ts +14 -0
- package/src/lib/components/Portal/Portal.es.js +47 -0
- package/src/lib/components/Portal/index.d.ts +1 -0
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs.js +18 -0
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.d.ts +9 -0
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.es.js +14 -0
- package/src/lib/components/PoweredByDynamic/index.d.ts +1 -0
- package/src/lib/components/Search/Search.cjs.js +12 -0
- package/src/lib/components/Search/Search.d.ts +3 -0
- package/src/lib/components/Search/Search.es.js +8 -0
- package/src/lib/components/Search/Search.types.d.ts +7 -0
- package/src/lib/components/Search/index.d.ts +1 -0
- package/src/lib/components/Select/Select.cjs.js +39 -0
- package/src/lib/components/Select/Select.d.ts +2 -0
- package/src/lib/components/Select/Select.es.js +35 -0
- package/src/lib/components/Select/Select.types.d.ts +10 -0
- package/src/lib/components/Select/index.d.ts +2 -0
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.cjs.js +17 -0
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.d.ts +1 -0
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.es.js +13 -0
- package/src/lib/components/Select/utils/getDisplayValue/index.d.ts +1 -0
- package/src/lib/components/Select/utils/index.d.ts +1 -0
- package/src/lib/components/Separator/Separator.d.ts +2 -0
- package/src/lib/components/Separator/Separator.types.d.ts +5 -0
- package/src/lib/components/Separator/index.d.ts +1 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs.js +58 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.d.ts +16 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.es.js +48 -0
- package/src/lib/components/ShadowDOM/index.d.ts +1 -0
- package/src/lib/components/ShadowDOM/utils.cjs.js +28 -0
- package/src/lib/components/ShadowDOM/utils.d.ts +1 -0
- package/src/lib/components/ShadowDOM/utils.es.js +24 -0
- package/src/lib/components/Skeleton/Skeleton.cjs.js +15 -0
- package/src/lib/components/Skeleton/Skeleton.d.ts +7 -0
- package/src/lib/components/Skeleton/Skeleton.es.js +11 -0
- package/src/lib/components/Skeleton/index.d.ts +1 -0
- package/src/lib/components/Spinner/Spinner.types.d.ts +5 -0
- package/src/lib/components/Spinner/index.d.ts +1 -0
- package/src/lib/components/Spinner/spinner.cjs.js +19 -0
- package/src/lib/components/Spinner/spinner.d.ts +2 -0
- package/src/lib/components/Spinner/spinner.es.js +15 -0
- package/src/lib/components/StatusDot/StatusDot.cjs.js +10 -0
- package/src/lib/components/StatusDot/StatusDot.d.ts +7 -0
- package/src/lib/components/StatusDot/StatusDot.es.js +6 -0
- package/src/lib/components/StatusDot/index.d.ts +1 -0
- package/src/lib/components/Switch/Switch.cjs.js +10 -0
- package/src/lib/components/Switch/Switch.d.ts +14 -0
- package/src/lib/components/Switch/Switch.es.js +6 -0
- package/src/lib/components/Switch/index.d.ts +1 -0
- package/src/lib/components/TextButton/TextButton.cjs.js +14 -0
- package/src/lib/components/TextButton/TextButton.d.ts +2 -0
- package/src/lib/components/TextButton/TextButton.es.js +10 -0
- package/src/lib/components/TextButton/index.d.ts +1 -0
- package/src/lib/components/Toolkit/Toolkit.cjs.js +38 -0
- package/src/lib/components/Toolkit/Toolkit.d.ts +2 -0
- package/src/lib/components/Toolkit/Toolkit.es.js +34 -0
- package/src/lib/components/Toolkit/components/AuthModeSwitch.cjs.js +11 -0
- package/src/lib/components/Toolkit/components/AuthModeSwitch.d.ts +8 -0
- package/src/lib/components/Toolkit/components/AuthModeSwitch.es.js +7 -0
- package/src/lib/components/Toolkit/components/BrandStyleSwitch.cjs.js +22 -0
- package/src/lib/components/Toolkit/components/BrandStyleSwitch.d.ts +2 -0
- package/src/lib/components/Toolkit/components/BrandStyleSwitch.es.js +18 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs.js +22 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.d.ts +2 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.es.js +18 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs.js +32 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.d.ts +2 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.es.js +28 -0
- package/src/lib/components/Toolkit/components/PrimaryColorInput.cjs.js +20 -0
- package/src/lib/components/Toolkit/components/PrimaryColorInput.d.ts +2 -0
- package/src/lib/components/Toolkit/components/PrimaryColorInput.es.js +16 -0
- package/src/lib/components/Toolkit/components/TemplateSelect.cjs.js +17 -0
- package/src/lib/components/Toolkit/components/TemplateSelect.d.ts +2 -0
- package/src/lib/components/Toolkit/components/TemplateSelect.es.js +13 -0
- package/src/lib/components/Toolkit/components/ThemeSwitch.cjs.js +26 -0
- package/src/lib/components/Toolkit/components/ThemeSwitch.d.ts +2 -0
- package/src/lib/components/Toolkit/components/ThemeSwitch.es.js +22 -0
- package/src/lib/components/Toolkit/components/index.d.ts +7 -0
- package/src/lib/components/Toolkit/index.d.ts +1 -0
- package/src/lib/components/Tooltip/Tooltip.cjs.js +95 -0
- package/src/lib/components/Tooltip/Tooltip.d.ts +7 -0
- package/src/lib/components/Tooltip/Tooltip.es.js +91 -0
- package/src/lib/components/TosAndPp/TosAndPp.cjs.js +15 -0
- package/src/lib/components/TosAndPp/TosAndPp.d.ts +8 -0
- package/src/lib/components/TosAndPp/TosAndPp.es.js +11 -0
- package/src/lib/components/TosAndPp/index.d.ts +1 -0
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.cjs.js +43 -0
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.d.ts +4 -0
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.es.js +34 -0
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.types.d.ts +6 -0
- package/src/lib/components/Transition/OpacityTransition/index.d.ts +1 -0
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.cjs.js +40 -0
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.d.ts +4 -0
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.es.js +31 -0
- package/src/lib/components/Transition/SlideInUpTransition/index.d.ts +1 -0
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.cjs.js +44 -0
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.d.ts +4 -0
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.es.js +35 -0
- package/src/lib/components/Transition/ZoomTransition/index.d.ts +1 -0
- package/src/lib/components/Transition/index.d.ts +3 -0
- package/src/lib/components/Transition/transition.type.d.ts +14 -0
- package/src/lib/components/Typography/Typography.cjs.js +47 -0
- package/src/lib/components/Typography/Typography.d.ts +2 -0
- package/src/lib/components/Typography/Typography.es.js +43 -0
- package/src/lib/components/Typography/Typography.types.d.ts +16 -0
- package/src/lib/components/Typography/index.d.ts +1 -0
- package/src/lib/components/UserAddress/UserAddress.cjs.js +28 -0
- package/src/lib/components/UserAddress/UserAddress.d.ts +7 -0
- package/src/lib/components/UserAddress/UserAddress.es.js +24 -0
- package/src/lib/components/UserAddress/index.d.ts +1 -0
- package/src/lib/components/UserProfile/UserProfile.cjs.js +47 -0
- package/src/lib/components/UserProfile/UserProfile.d.ts +9 -0
- package/src/lib/components/UserProfile/UserProfile.es.js +43 -0
- package/src/lib/components/UserProfile/index.d.ts +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs.js +38 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +7 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.es.js +34 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs.js +31 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.d.ts +5 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.es.js +27 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/index.d.ts +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs.js +33 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.d.ts +6 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.es.js +29 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs.js +100 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.d.ts +8 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.es.js +96 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs.js +11 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.d.ts +7 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.es.js +7 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/index.d.ts +1 -0
- package/src/lib/components/index.d.ts +34 -0
- package/src/lib/config/ApiEndpoint.cjs.js +23 -0
- package/src/lib/config/ApiEndpoint.d.ts +7 -0
- package/src/lib/config/ApiEndpoint.es.js +21 -0
- package/src/lib/context/CaptchaContext/CaptchaContext.cjs.js +27 -0
- package/src/lib/context/CaptchaContext/CaptchaContext.d.ts +11 -0
- package/src/lib/context/CaptchaContext/CaptchaContext.es.js +21 -0
- package/src/lib/context/CaptchaContext/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs.js +442 -0
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +141 -0
- package/src/lib/context/DynamicContext/DynamicContext.es.js +437 -0
- package/src/lib/context/DynamicContext/helpers.cjs.js +55 -0
- package/src/lib/context/DynamicContext/helpers.d.ts +2 -0
- package/src/lib/context/DynamicContext/helpers.es.js +50 -0
- package/src/lib/context/DynamicContext/hooks/index.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/index.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs.js +44 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.d.ts +3 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.es.js +40 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.types.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs.js +28 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +4 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.es.js +24 -0
- package/src/lib/context/DynamicContext/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +3 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +15 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs.js +44 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +5 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.es.js +40 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs.js +120 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +4 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.es.js +116 -0
- package/src/lib/context/DynamicContext/useDynamicContext.cjs.js +47 -0
- package/src/lib/context/DynamicContext/useDynamicContext.d.ts +3 -0
- package/src/lib/context/DynamicContext/useDynamicContext.es.js +43 -0
- package/src/lib/context/DynamicContext/useInternalDynamicContext.cjs.js +17 -0
- package/src/lib/context/DynamicContext/useInternalDynamicContext.d.ts +1 -0
- package/src/lib/context/DynamicContext/useInternalDynamicContext.es.js +13 -0
- package/src/lib/context/DynamicContext/validators.cjs.js +40 -0
- package/src/lib/context/DynamicContext/validators.d.ts +3 -0
- package/src/lib/context/DynamicContext/validators.es.js +35 -0
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.cjs.js +31 -0
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.d.ts +13 -0
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.es.js +25 -0
- package/src/lib/context/EmailVerificationContext/index.d.ts +1 -0
- package/src/lib/context/ErrorContext/ErrorContext.cjs.js +48 -0
- package/src/lib/context/ErrorContext/ErrorContext.d.ts +12 -0
- package/src/lib/context/ErrorContext/ErrorContext.es.js +42 -0
- package/src/lib/context/ErrorContext/index.d.ts +1 -0
- package/src/lib/context/FooterAnimationContext/index.cjs.js +26 -0
- package/src/lib/context/FooterAnimationContext/index.d.ts +11 -0
- package/src/lib/context/FooterAnimationContext/index.es.js +20 -0
- package/src/lib/context/LoadingContext/LoadingContext.cjs.js +27 -0
- package/src/lib/context/LoadingContext/LoadingContext.d.ts +11 -0
- package/src/lib/context/LoadingContext/LoadingContext.es.js +21 -0
- package/src/lib/context/LoadingContext/index.d.ts +1 -0
- package/src/lib/context/MockContext/MockContext.cjs.js +60 -0
- package/src/lib/context/MockContext/MockContext.d.ts +28 -0
- package/src/lib/context/MockContext/MockContext.es.js +53 -0
- package/src/lib/context/MockContext/index.d.ts +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs.js +52 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +13 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.es.js +46 -0
- package/src/lib/context/QrCodeContext/index.d.ts +1 -0
- package/src/lib/context/ThemeContext/ThemeContext.cjs.js +93 -0
- package/src/lib/context/ThemeContext/ThemeContext.d.ts +11 -0
- package/src/lib/context/ThemeContext/ThemeContext.es.js +87 -0
- package/src/lib/context/ThemeContext/index.d.ts +2 -0
- package/src/lib/context/ThemeContext/themesData.cjs.js +93 -0
- package/src/lib/context/ThemeContext/themesData.d.ts +71 -0
- package/src/lib/context/ThemeContext/themesData.es.js +87 -0
- package/src/lib/context/ThemeContext/types.d.ts +38 -0
- package/src/lib/context/ThemeContext/utils/findThemeMode/findThemeMode.d.ts +3 -0
- package/src/lib/context/ThemeContext/utils/findThemeMode/index.d.ts +1 -0
- package/src/lib/context/ThemeContext/utils/index.d.ts +2 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/index.d.ts +1 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.cjs.js +48 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.d.ts +4 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.es.js +42 -0
- package/src/lib/context/ViewContext/ViewContext.cjs.js +35 -0
- package/src/lib/context/ViewContext/ViewContext.d.ts +12 -0
- package/src/lib/context/ViewContext/ViewContext.es.js +29 -0
- package/src/lib/context/ViewContext/index.d.ts +1 -0
- package/src/lib/data/api.cjs.js +356 -0
- package/src/lib/data/api.d.ts +53 -0
- package/src/lib/data/api.es.js +334 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs.js +91 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.d.ts +18 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.es.js +87 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs.js +54 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.d.ts +10 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.es.js +50 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/EmptyFooterContent/empty-footer-content.cjs.js +10 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/EmptyFooterContent/empty-footer-content.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/EmptyFooterContent/empty-footer-content.es.js +6 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs.js +33 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.d.ts +11 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.es.js +29 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs.js +12 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/NewToWeb3WalletItem/NewToWeb3WalletItem.d.ts +7 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/NewToWeb3WalletItem/NewToWeb3WalletItem.es.js +8 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/NewToWeb3WalletItem/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs.js +46 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.d.ts +8 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.es.js +42 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs.js +73 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.d.ts +9 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.es.js +69 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs.js +88 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +8 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.es.js +84 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/index.d.ts +3 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs.js +60 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +3 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.es.js +56 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.types.d.ts +7 -0
- package/src/lib/layout/DynamicAuthLayout/Header/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/index.d.ts +1 -0
- package/src/lib/main.global.cjs.js +8 -0
- package/src/lib/main.global.es.js +6 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs.js +67 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.d.ts +2 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.es.js +63 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.types.d.ts +12 -0
- package/src/lib/modals/SignMessageConfirmationModal/index.d.ts +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs.js +126 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.d.ts +2 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.es.js +122 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +15 -0
- package/src/lib/modals/TransactionConfirmationModal/helpers/transactionErrorMessage.cjs.js +16 -0
- package/src/lib/modals/TransactionConfirmationModal/helpers/transactionErrorMessage.d.ts +3 -0
- package/src/lib/modals/TransactionConfirmationModal/helpers/transactionErrorMessage.es.js +12 -0
- package/src/lib/modals/TransactionConfirmationModal/index.d.ts +1 -0
- package/src/lib/modals/index.d.ts +2 -0
- package/src/lib/shared/assets/add-wallet.cjs.js +58 -0
- package/src/lib/shared/assets/add-wallet.es.js +34 -0
- package/src/lib/shared/assets/add.cjs.js +55 -0
- package/src/lib/shared/assets/add.es.js +31 -0
- package/src/lib/shared/assets/arrow-down.cjs.js +53 -0
- package/src/lib/shared/assets/arrow-down.es.js +29 -0
- package/src/lib/shared/assets/arrow-right.cjs.js +53 -0
- package/src/lib/shared/assets/arrow-right.es.js +29 -0
- package/src/lib/shared/assets/check-circle.cjs.js +53 -0
- package/src/lib/shared/assets/check-circle.es.js +29 -0
- package/src/lib/shared/assets/check.cjs.js +53 -0
- package/src/lib/shared/assets/check.es.js +29 -0
- package/src/lib/shared/assets/chevron-left.cjs.js +53 -0
- package/src/lib/shared/assets/chevron-left.es.js +29 -0
- package/src/lib/shared/assets/close.cjs.js +53 -0
- package/src/lib/shared/assets/close.es.js +29 -0
- package/src/lib/shared/assets/copy.cjs.js +58 -0
- package/src/lib/shared/assets/copy.es.js +34 -0
- package/src/lib/shared/assets/dynamic-logo.cjs.js +51 -0
- package/src/lib/shared/assets/dynamic-logo.es.js +27 -0
- package/src/lib/shared/assets/error.cjs.js +51 -0
- package/src/lib/shared/assets/error.es.js +27 -0
- package/src/lib/shared/assets/externalLink.cjs.js +53 -0
- package/src/lib/shared/assets/externalLink.es.js +29 -0
- package/src/lib/shared/assets/footer-eye-icon.cjs.js +53 -0
- package/src/lib/shared/assets/footer-eye-icon.es.js +29 -0
- package/src/lib/shared/assets/footer-gas-icon.cjs.js +53 -0
- package/src/lib/shared/assets/footer-gas-icon.es.js +29 -0
- package/src/lib/shared/assets/footer-info-icon.cjs.js +53 -0
- package/src/lib/shared/assets/footer-info-icon.es.js +29 -0
- package/src/lib/shared/assets/footer-key-icon.cjs.js +53 -0
- package/src/lib/shared/assets/footer-key-icon.es.js +29 -0
- package/src/lib/shared/assets/index.d.ts +32 -0
- package/src/lib/shared/assets/link.cjs.js +51 -0
- package/src/lib/shared/assets/link.es.js +27 -0
- package/src/lib/shared/assets/logout.cjs.js +52 -0
- package/src/lib/shared/assets/logout.es.js +28 -0
- package/src/lib/shared/assets/pencil-alt-icon.cjs.js +53 -0
- package/src/lib/shared/assets/pencil-alt-icon.es.js +29 -0
- package/src/lib/shared/assets/pencil.cjs.js +54 -0
- package/src/lib/shared/assets/pencil.es.js +30 -0
- package/src/lib/shared/assets/prompt-account-switch.cjs.js +63 -0
- package/src/lib/shared/assets/prompt-account-switch.es.js +39 -0
- package/src/lib/shared/assets/puzzle.cjs.js +53 -0
- package/src/lib/shared/assets/puzzle.es.js +29 -0
- package/src/lib/shared/assets/sign-circle.cjs.js +56 -0
- package/src/lib/shared/assets/sign-circle.es.js +32 -0
- package/src/lib/shared/assets/spinner.cjs.js +78 -0
- package/src/lib/shared/assets/spinner.es.js +54 -0
- package/src/lib/shared/assets/stroke.cjs.js +53 -0
- package/src/lib/shared/assets/stroke.es.js +29 -0
- package/src/lib/shared/assets/switch-horizontal.cjs.js +53 -0
- package/src/lib/shared/assets/switch-horizontal.es.js +29 -0
- package/src/lib/shared/assets/three-dots.cjs.js +53 -0
- package/src/lib/shared/assets/three-dots.es.js +29 -0
- package/src/lib/shared/assets/tooltip-arrow.cjs.js +51 -0
- package/src/lib/shared/assets/tooltip-arrow.es.js +27 -0
- package/src/lib/shared/assets/unlink.cjs.js +53 -0
- package/src/lib/shared/assets/unlink.es.js +29 -0
- package/src/lib/shared/assets/wallet-connect-logo.cjs.js +51 -0
- package/src/lib/shared/assets/wallet-connect-logo.es.js +27 -0
- package/src/lib/shared/assets/wallet-outline.cjs.js +51 -0
- package/src/lib/shared/assets/wallet-outline.es.js +27 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs.js +25 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.d.ts +2 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.es.js +21 -0
- package/src/lib/shared/consts/index.cjs.js +48 -0
- package/src/lib/shared/consts/index.d.ts +9 -0
- package/src/lib/shared/consts/index.es.js +37 -0
- package/src/lib/shared/index.d.ts +5 -0
- package/src/lib/shared/logger.cjs.js +9 -0
- package/src/lib/shared/logger.d.ts +2 -0
- package/src/lib/shared/logger.es.js +5 -0
- package/src/lib/shared/types/index.d.ts +139 -0
- package/src/lib/shared/utils/functions/capitalize/capitalize.cjs.js +7 -0
- package/src/lib/shared/utils/functions/capitalize/capitalize.d.ts +1 -0
- package/src/lib/shared/utils/functions/capitalize/capitalize.es.js +3 -0
- package/src/lib/shared/utils/functions/capitalize/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.cjs.js +18 -0
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.d.ts +1 -0
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.es.js +14 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs.js +26 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.d.ts +2 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.es.js +22 -0
- package/src/lib/shared/utils/functions/chain/index.d.ts +2 -0
- package/src/lib/shared/utils/functions/debounce/debounce.cjs.js +17 -0
- package/src/lib/shared/utils/functions/debounce/debounce.d.ts +1 -0
- package/src/lib/shared/utils/functions/debounce/debounce.es.js +13 -0
- package/src/lib/shared/utils/functions/debounce/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.cjs.js +29 -0
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.d.ts +2 -0
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.es.js +25 -0
- package/src/lib/shared/utils/functions/decodeJwt/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.cjs.js +25 -0
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.d.ts +2 -0
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.es.js +21 -0
- package/src/lib/shared/utils/functions/detectBrowser/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.cjs.js +17 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.d.ts +4 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.es.js +12 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/getValueByKey/index.cjs.js +7 -0
- package/src/lib/shared/utils/functions/getValueByKey/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/getValueByKey/index.es.js +3 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs.js +35 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.d.ts +8 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.es.js +31 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/index.d.ts +13 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.cjs.js +12 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.d.ts +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.es.js +8 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.cjs.js +12 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.d.ts +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.es.js +8 -0
- package/src/lib/shared/utils/functions/isSSR/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/isSSR/isSSR.cjs.js +7 -0
- package/src/lib/shared/utils/functions/isSSR/isSSR.d.ts +1 -0
- package/src/lib/shared/utils/functions/isSSR/isSSR.es.js +3 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs.js +12 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.d.ts +2 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.es.js +8 -0
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.cjs.js +7 -0
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.d.ts +3 -0
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.es.js +3 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs.js +11 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.d.ts +1 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.es.js +7 -0
- package/src/lib/shared/utils/functions/storage/getFromLS.cjs.js +24 -0
- package/src/lib/shared/utils/functions/storage/getFromLS.d.ts +1 -0
- package/src/lib/shared/utils/functions/storage/getFromLS.es.js +20 -0
- package/src/lib/shared/utils/functions/storage/index.d.ts +2 -0
- package/src/lib/shared/utils/functions/storage/setToLS.cjs.js +12 -0
- package/src/lib/shared/utils/functions/storage/setToLS.d.ts +1 -0
- package/src/lib/shared/utils/functions/storage/setToLS.es.js +8 -0
- package/src/lib/shared/utils/functions/validateType/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/validateType/validateType.cjs.js +29 -0
- package/src/lib/shared/utils/functions/validateType/validateType.d.ts +1 -0
- package/src/lib/shared/utils/functions/validateType/validateType.es.js +25 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs.js +15 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.d.ts +3 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.es.js +11 -0
- package/src/lib/shared/utils/functions/wallet/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/index.d.ts +3 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs.js +51 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.es.js +47 -0
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs.js +28 -0
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.d.ts +2 -0
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.es.js +24 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs.js +28 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.d.ts +1 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.es.js +24 -0
- package/src/lib/shared/utils/index.d.ts +2 -0
- package/src/lib/styles/index.shadow.cjs.js +5 -0
- package/src/lib/styles/index.shadow.es.js +3 -0
- package/src/lib/utils/constants/colors.cjs.js +15 -0
- package/src/lib/utils/constants/colors.d.ts +45 -0
- package/src/lib/utils/constants/colors.es.js +11 -0
- package/src/lib/utils/constants/index.d.ts +5 -0
- package/src/lib/utils/constants/localStorage.cjs.js +27 -0
- package/src/lib/utils/constants/localStorage.d.ts +12 -0
- package/src/lib/utils/constants/localStorage.es.js +13 -0
- package/src/lib/utils/constants/theme.d.ts +3 -0
- package/src/lib/utils/constants/typography.d.ts +9 -0
- package/src/lib/utils/constants/values.cjs.js +7 -0
- package/src/lib/utils/constants/values.d.ts +1 -0
- package/src/lib/utils/constants/values.es.js +3 -0
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.cjs.js +27 -0
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.d.ts +5 -0
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.es.js +22 -0
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.cjs.js +9 -0
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.d.ts +2 -0
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.es.js +5 -0
- package/src/lib/utils/functions/classNames/classNames.cjs.js +30 -0
- package/src/lib/utils/functions/classNames/classNames.d.ts +2 -0
- package/src/lib/utils/functions/classNames/classNames.es.js +26 -0
- package/src/lib/utils/functions/classNames/classNames.types.d.ts +5 -0
- package/src/lib/utils/functions/classNames/index.d.ts +1 -0
- package/src/lib/utils/functions/classNames/utils/index.d.ts +2 -0
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.cjs.js +7 -0
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.d.ts +2 -0
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.es.js +3 -0
- package/src/lib/utils/functions/classNames/utils/isString.cjs.js +7 -0
- package/src/lib/utils/functions/classNames/utils/isString.d.ts +1 -0
- package/src/lib/utils/functions/classNames/utils/isString.es.js +3 -0
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.cjs.js +12 -0
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.d.ts +1 -0
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.es.js +8 -0
- package/src/lib/utils/functions/convertHexToRGBA/index.d.ts +1 -0
- package/src/lib/utils/functions/createUserProfile/createUserProfile.cjs.js +27 -0
- package/src/lib/utils/functions/createUserProfile/createUserProfile.d.ts +3 -0
- package/src/lib/utils/functions/createUserProfile/createUserProfile.es.js +23 -0
- package/src/lib/utils/functions/createUserProfile/index.d.ts +1 -0
- package/src/lib/utils/functions/generateMessages/index.cjs.js +44 -0
- package/src/lib/utils/functions/generateMessages/index.d.ts +5 -0
- package/src/lib/utils/functions/generateMessages/index.es.js +40 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs.js +23 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.d.ts +1 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.es.js +19 -0
- package/src/lib/utils/functions/getAuthToken/index.d.ts +1 -0
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs.js +76 -0
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.d.ts +22 -0
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.es.js +72 -0
- package/src/lib/utils/functions/getEnabledKYC/index.cjs.js +7 -0
- package/src/lib/utils/functions/getEnabledKYC/index.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledKYC/index.es.js +3 -0
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.cjs.js +10 -0
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.es.js +6 -0
- package/src/lib/utils/functions/getEnabledProviders/index.cjs.js +7 -0
- package/src/lib/utils/functions/getEnabledProviders/index.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledProviders/index.es.js +3 -0
- package/src/lib/utils/functions/getNetwork/getNetwork.cjs.js +14 -0
- package/src/lib/utils/functions/getNetwork/getNetwork.d.ts +2 -0
- package/src/lib/utils/functions/getNetwork/getNetwork.es.js +10 -0
- package/src/lib/utils/functions/getNetwork/index.d.ts +1 -0
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.cjs.js +10 -0
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.d.ts +4 -0
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.es.js +6 -0
- package/src/lib/utils/functions/getSiweStatement/index.d.ts +1 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.cjs.js +15 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.d.ts +3 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.es.js +11 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/index.d.ts +1 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs.js +30 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +24 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.es.js +26 -0
- package/src/lib/utils/functions/getVerifyArgs/index.d.ts +1 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.cjs.js +17 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.d.ts +2 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.es.js +13 -0
- package/src/lib/utils/functions/getWalletProvider/index.d.ts +1 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.cjs.js +7 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.d.ts +3 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.es.js +3 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/index.d.ts +1 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs.js +43 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.d.ts +14 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.es.js +39 -0
- package/src/lib/utils/functions/handleUnlinkHelper/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +15 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs.js +10 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.d.ts +2 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.es.js +6 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/index.d.ts +1 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.cjs.js +7 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.d.ts +2 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.es.js +3 -0
- package/src/lib/utils/functions/isSameWalletName/index.d.ts +1 -0
- package/src/lib/utils/functions/isSameWalletName/isSameWalletName.cjs.js +9 -0
- package/src/lib/utils/functions/isSameWalletName/isSameWalletName.d.ts +1 -0
- package/src/lib/utils/functions/isSameWalletName/isSameWalletName.es.js +5 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/index.d.ts +1 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs.js +15 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.d.ts +3 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.es.js +11 -0
- package/src/lib/utils/functions/isSupportedNetwork/index.d.ts +1 -0
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.cjs.js +11 -0
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.d.ts +6 -0
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.es.js +7 -0
- package/src/lib/utils/functions/isWalletConnected/index.d.ts +1 -0
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.cjs.js +13 -0
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.d.ts +4 -0
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.es.js +9 -0
- package/src/lib/utils/functions/parseTheme/index.d.ts +1 -0
- package/src/lib/utils/functions/parseTheme/parseTheme.cjs.js +12 -0
- package/src/lib/utils/functions/parseTheme/parseTheme.d.ts +3 -0
- package/src/lib/utils/functions/parseTheme/parseTheme.es.js +8 -0
- package/src/lib/utils/functions/parseWalletLinks/index.d.ts +1 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs.js +42 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.d.ts +9 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.es.js +38 -0
- package/src/lib/utils/functions/pixelToRem/index.d.ts +1 -0
- package/src/lib/utils/functions/pixelToRem/pixelToRem.cjs.js +12 -0
- package/src/lib/utils/functions/pixelToRem/pixelToRem.d.ts +1 -0
- package/src/lib/utils/functions/pixelToRem/pixelToRem.es.js +8 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/index.d.ts +1 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs.js +11 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.d.ts +2 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.es.js +7 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/index.d.ts +1 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.cjs.js +13 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.d.ts +2 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.es.js +9 -0
- package/src/lib/utils/functions/storeAuthToken/index.cjs.js +14 -0
- package/src/lib/utils/functions/storeAuthToken/index.d.ts +1 -0
- package/src/lib/utils/functions/storeAuthToken/index.es.js +10 -0
- package/src/lib/utils/functions/typeGuard/index.d.ts +1 -0
- package/src/lib/utils/functions/typeGuard/isThemeSetting.cjs.js +8 -0
- package/src/lib/utils/functions/typeGuard/isThemeSetting.d.ts +2 -0
- package/src/lib/utils/functions/typeGuard/isThemeSetting.es.js +4 -0
- package/src/lib/utils/functions/walletFilters/index.cjs.js +42 -0
- package/src/lib/utils/functions/walletFilters/index.d.ts +18 -0
- package/src/lib/utils/functions/walletFilters/index.es.js +34 -0
- package/src/lib/utils/functions/walletListBuilder/index.cjs.js +144 -0
- package/src/lib/utils/functions/walletListBuilder/index.d.ts +19 -0
- package/src/lib/utils/functions/walletListBuilder/index.es.js +138 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.cjs.js +12 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.es.js +8 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.cjs.js +17 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.d.ts +2 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.es.js +13 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.types.d.ts +7 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/index.d.ts +2 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/index.d.ts +2 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.cjs.js +13 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.d.ts +2 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.es.js +9 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs.js +31 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.d.ts +3 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.es.js +27 -0
- package/src/lib/utils/hooks/authenticationHooks/index.d.ts +3 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/index.d.ts +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs.js +79 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.d.ts +7 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.es.js +75 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/index.d.ts +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs.js +87 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.d.ts +10 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.es.js +83 -0
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/index.d.ts +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs.js +50 -0
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.d.ts +8 -0
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.es.js +46 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/index.d.ts +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs.js +47 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.d.ts +7 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.es.js +43 -0
- package/src/lib/utils/hooks/index.d.ts +22 -0
- package/src/lib/utils/hooks/multiWallet/index.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/index.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/index.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.cjs.js +41 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.es.js +37 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.cjs.js +44 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.es.js +40 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/types.d.ts +19 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.cjs.js +66 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.es.js +62 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs.js +31 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.d.ts +9 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.es.js +27 -0
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/index.d.ts +1 -0
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs.js +52 -0
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.d.ts +1 -0
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.es.js +48 -0
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/index.d.ts +1 -0
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs.js +41 -0
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.d.ts +4 -0
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.es.js +37 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/index.d.ts +1 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs.js +34 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +9 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.es.js +30 -0
- package/src/lib/utils/hooks/useConfirmationModal/index.d.ts +1 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.cjs.js +28 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.d.ts +2 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.es.js +24 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.types.d.ts +8 -0
- package/src/lib/utils/hooks/useConnectWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs.js +118 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +19 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.es.js +114 -0
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs.js +48 -0
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.d.ts +13 -0
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.es.js +44 -0
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/index.d.ts +1 -0
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs.js +37 -0
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.d.ts +3 -0
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.es.js +33 -0
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +1 -0
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs.js +34 -0
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +7 -0
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.es.js +30 -0
- package/src/lib/utils/hooks/useElementById/index.d.ts +1 -0
- package/src/lib/utils/hooks/useElementById/useElementById.cjs.js +23 -0
- package/src/lib/utils/hooks/useElementById/useElementById.d.ts +2 -0
- package/src/lib/utils/hooks/useElementById/useElementById.es.js +19 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs.js +135 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.d.ts +11 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.es.js +131 -0
- package/src/lib/utils/hooks/useFetchNonce/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs.js +57 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.d.ts +3 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.es.js +53 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs.js +73 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.d.ts +10 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.es.js +69 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs.js +30 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.d.ts +4 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.es.js +26 -0
- package/src/lib/utils/hooks/useForceUpdate/index.d.ts +1 -0
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.cjs.js +12 -0
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.d.ts +1 -0
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.es.js +8 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs.js +40 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.d.ts +12 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.es.js +36 -0
- package/src/lib/utils/hooks/useHover/index.d.ts +1 -0
- package/src/lib/utils/hooks/useHover/useHover.cjs.js +18 -0
- package/src/lib/utils/hooks/useHover/useHover.d.ts +2 -0
- package/src/lib/utils/hooks/useHover/useHover.es.js +14 -0
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +7 -0
- package/src/lib/utils/hooks/useIsFirstRender/index.d.ts +1 -0
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.cjs.js +16 -0
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.d.ts +1 -0
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.es.js +12 -0
- package/src/lib/utils/hooks/useKYCFlag/index.d.ts +1 -0
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs.js +17 -0
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.d.ts +1 -0
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.es.js +13 -0
- package/src/lib/utils/hooks/useKeyboardEventListener/index.d.ts +1 -0
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs.js +23 -0
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +8 -0
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.es.js +19 -0
- package/src/lib/utils/hooks/useKeyboardHeight/index.d.ts +1 -0
- package/src/lib/utils/hooks/useKeyboardHeight/useKeyboardHeight.d.ts +2 -0
- package/src/lib/utils/hooks/useKeyboardHeight/useKeyboardHeight.types.d.ts +6 -0
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/getWindowSize.d.ts +3 -0
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/getWindowSize.types.d.ts +4 -0
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/index.d.ts +2 -0
- package/src/lib/utils/hooks/useKeyboardHeight/utils/index.d.ts +1 -0
- package/src/lib/utils/hooks/useMultiWalletFlag/index.d.ts +1 -0
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.cjs.js +36 -0
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.d.ts +2 -0
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.es.js +31 -0
- package/src/lib/utils/hooks/useMutation/index.d.ts +1 -0
- package/src/lib/utils/hooks/useMutation/useMutation.cjs.js +54 -0
- package/src/lib/utils/hooks/useMutation/useMutation.d.ts +16 -0
- package/src/lib/utils/hooks/useMutation/useMutation.es.js +50 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/index.d.ts +1 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs.js +12 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.d.ts +1 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.es.js +8 -0
- package/src/lib/utils/hooks/usePrevious/index.d.ts +1 -0
- package/src/lib/utils/hooks/usePrevious/usePrevious.cjs.js +34 -0
- package/src/lib/utils/hooks/usePrevious/usePrevious.d.ts +19 -0
- package/src/lib/utils/hooks/usePrevious/usePrevious.es.js +30 -0
- package/src/lib/utils/hooks/usePromise/index.d.ts +2 -0
- package/src/lib/utils/hooks/usePromise/usePromise.cjs.js +43 -0
- package/src/lib/utils/hooks/usePromise/usePromise.d.ts +3 -0
- package/src/lib/utils/hooks/usePromise/usePromise.es.js +39 -0
- package/src/lib/utils/hooks/usePromise/usePromise.types.d.ts +5 -0
- package/src/lib/utils/hooks/useResizeObserver/index.d.ts +1 -0
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.cjs.js +33 -0
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.d.ts +6 -0
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.es.js +29 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs.js +64 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.d.ts +8 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.es.js +60 -0
- package/src/lib/utils/hooks/useTransition/index.d.ts +2 -0
- package/src/lib/utils/hooks/useTransition/useTransition.cjs.js +73 -0
- package/src/lib/utils/hooks/useTransition/useTransition.d.ts +26 -0
- package/src/lib/utils/hooks/useTransition/useTransition.es.js +68 -0
- package/src/lib/utils/hooks/useTransitionEvents/index.d.ts +1 -0
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.cjs.js +24 -0
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.d.ts +2 -0
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.es.js +20 -0
- package/src/lib/utils/hooks/useUpdateEffect/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.cjs.js +18 -0
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.d.ts +2 -0
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.es.js +14 -0
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs.js +20 -0
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.d.ts +3 -0
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.es.js +16 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs.js +88 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.d.ts +41 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.es.js +84 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs.js +82 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.d.ts +26 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.es.js +77 -0
- package/src/lib/utils/hooks/useVerifyWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs.js +171 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +9 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.es.js +167 -0
- package/src/lib/utils/hooks/useWalletConnectors/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs.js +184 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +29 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.es.js +180 -0
- package/src/lib/utils/hooks/useWalletEventListeners/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs.js +143 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +23 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.es.js +139 -0
- package/src/lib/utils/hooks/useWalletItemActions/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs.js +143 -0
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.d.ts +11 -0
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.es.js +139 -0
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.types.d.ts +6 -0
- package/src/lib/utils/hooks/useWalletUiUtils/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs.js +46 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.d.ts +4 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.es.js +42 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.types.d.ts +5 -0
- package/src/lib/utils/hooks/useWallets/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWallets/useWallets.cjs.js +51 -0
- package/src/lib/utils/hooks/useWallets/useWallets.d.ts +16 -0
- package/src/lib/utils/hooks/useWallets/useWallets.es.js +47 -0
- package/src/lib/utils/hooks/useWallets/utils/getMagicLinkApiKeyFromProviders/getMagicLinkApiKeyFromProviders.cjs.js +12 -0
- package/src/lib/utils/hooks/useWallets/utils/getMagicLinkApiKeyFromProviders/getMagicLinkApiKeyFromProviders.d.ts +2 -0
- package/src/lib/utils/hooks/useWallets/utils/getMagicLinkApiKeyFromProviders/getMagicLinkApiKeyFromProviders.es.js +8 -0
- package/src/lib/utils/hooks/useWallets/utils/getMagicLinkApiKeyFromProviders/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWallets/utils/index.d.ts +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs.js +69 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.d.ts +2 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.es.js +65 -0
- package/src/lib/views/CaptchaVerifyUser/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs.js +55 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.d.ts +2 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.es.js +51 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs.js +57 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.d.ts +11 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.es.js +53 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.cjs.js +15 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.es.js +11 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataForm/UserDataForm.cjs.js +68 -0
- package/src/lib/views/CollectUserDataView/UserDataForm/UserDataForm.d.ts +8 -0
- package/src/lib/views/CollectUserDataView/UserDataForm/UserDataForm.es.js +64 -0
- package/src/lib/views/CollectUserDataView/UserDataForm/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/fieldsConfig.cjs.js +62 -0
- package/src/lib/views/CollectUserDataView/fieldsConfig.d.ts +57 -0
- package/src/lib/views/CollectUserDataView/fieldsConfig.es.js +58 -0
- package/src/lib/views/CollectUserDataView/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs.js +45 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.d.ts +2 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.es.js +41 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/index.d.ts +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs.js +53 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.d.ts +2 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.es.js +49 -0
- package/src/lib/views/EmailConfirmationWaitingView/index.d.ts +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs.js +80 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.d.ts +2 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.es.js +76 -0
- package/src/lib/views/EmailUpdate/index.d.ts +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs.js +204 -0
- package/src/lib/views/EmailVerification/EmailVerification.d.ts +2 -0
- package/src/lib/views/EmailVerification/EmailVerification.es.js +200 -0
- package/src/lib/views/EmailVerification/index.d.ts +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs.js +55 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.d.ts +2 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.es.js +51 -0
- package/src/lib/views/EmailWalletOTPVerificationView/index.d.ts +1 -0
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs.js +51 -0
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.d.ts +2 -0
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.es.js +47 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs.js +46 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.d.ts +8 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.es.js +42 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/index.d.ts +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs.js +102 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.d.ts +3 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.es.js +97 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/index.d.ts +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.cjs.js +23 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.d.ts +9 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.es.js +18 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/index.d.ts +1 -0
- package/src/lib/views/LoginWithEmailView/index.d.ts +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs.js +55 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.d.ts +2 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.es.js +51 -0
- package/src/lib/views/NetworkNotSupported/index.d.ts +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs.js +67 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.d.ts +2 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.es.js +63 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/index.d.ts +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs.js +49 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.d.ts +2 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.es.js +45 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs.js +37 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.d.ts +9 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.es.js +33 -0
- package/src/lib/views/NoQrNotInstalledView/index.d.ts +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs.js +48 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.d.ts +2 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.es.js +44 -0
- package/src/lib/views/PendingConnectView/index.d.ts +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs.js +78 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.d.ts +2 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.es.js +74 -0
- package/src/lib/views/PendingSignatureView/index.d.ts +1 -0
- package/src/lib/views/QrCodeView/QRCode.cjs.js +78 -0
- package/src/lib/views/QrCodeView/QRCode.d.ts +14 -0
- package/src/lib/views/QrCodeView/QRCode.es.js +70 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs.js +44 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +13 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.es.js +40 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/index.d.ts +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.cjs.js +57 -0
- package/src/lib/views/QrCodeView/QrCodeView.d.ts +2 -0
- package/src/lib/views/QrCodeView/QrCodeView.es.js +53 -0
- package/src/lib/views/QrCodeView/index.d.ts +1 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs.js +33 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.d.ts +2 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.es.js +29 -0
- package/src/lib/views/WalletList/SearchInstead/index.d.ts +1 -0
- package/src/lib/views/WalletList/WalletList.cjs.js +74 -0
- package/src/lib/views/WalletList/WalletList.d.ts +5 -0
- package/src/lib/views/WalletList/WalletList.es.js +70 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs.js +61 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.d.ts +2 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.es.js +57 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +17 -0
- package/src/lib/views/WalletList/WalletListItem/index.d.ts +2 -0
- package/src/lib/views/WalletList/data.cjs.js +51 -0
- package/src/lib/views/WalletList/data.d.ts +12 -0
- package/src/lib/views/WalletList/data.es.js +44 -0
- package/src/lib/views/WalletList/index.d.ts +2 -0
- package/src/lib/views/WalletNoAccess/WalletNoAccess.cjs.js +86 -0
- package/src/lib/views/WalletNoAccess/WalletNoAccess.d.ts +2 -0
- package/src/lib/views/WalletNoAccess/WalletNoAccess.es.js +82 -0
- package/src/lib/views/WalletNoAccess/index.d.ts +1 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs.js +62 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.d.ts +2 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.es.js +58 -0
- package/src/lib/views/WalletSignSpinnerView/index.d.ts +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs.js +129 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.d.ts +2 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.es.js +125 -0
- package/src/lib/views/WalletUsedView/index.d.ts +1 -0
- package/src/lib/views/index.d.ts +9 -0
- package/src/lib/views/viewToComponentMap.cjs.js +51 -0
- package/src/lib/views/viewToComponentMap.d.ts +3 -0
- package/src/lib/views/viewToComponentMap.es.js +47 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs.js +52 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.es.js +48 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs.js +52 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.es.js +48 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs.js +42 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.d.ts +10 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.es.js +38 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs.js +43 -0
- package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.es.js +39 -0
- package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.types.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs.js +64 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +13 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.es.js +60 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/index.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs.js +36 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.es.js +32 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +11 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.cjs.js +64 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.d.ts +11 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.es.js +60 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs.js +28 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.es.js +23 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs.js +51 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.es.js +46 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/index.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.cjs.js +13 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.es.js +9 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.cjs.js +9 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.es.js +5 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs.js +59 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.d.ts +4 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.es.js +49 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs.js +60 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.d.ts +4 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.es.js +52 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs.js +38 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.es.js +34 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.cjs.js +47 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.d.ts +5 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.es.js +43 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.cjs.js +20 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.es.js +16 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs.js +13 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.es.js +9 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs.js +34 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.es.js +30 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/index.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/types.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs.js +23 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.d.ts +4 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.es.js +18 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs.js +50 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.es.js +46 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs.js +34 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.es.js +30 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.types.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs.js +44 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.es.js +40 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs.js +35 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.es.js +31 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs.js +46 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.es.js +42 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs.js +83 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.d.ts +13 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.es.js +79 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs.js +25 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.es.js +21 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs.js +25 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +8 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.es.js +21 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs.js +96 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.d.ts +21 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.es.js +90 -0
- package/src/lib/widgets/DynamicWidget/context/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs.js +40 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.d.ts +5 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.es.js +33 -0
- package/src/lib/widgets/DynamicWidget/helpers/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/content.d.ts +20 -0
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +4 -0
- package/src/lib/widgets/DynamicWidget/hooks/useContent.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs.js +40 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.es.js +36 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs.js +35 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.es.js +31 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs.js +30 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.es.js +26 -0
- package/src/lib/widgets/DynamicWidget/index.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.cjs.js +55 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.es.js +51 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs.js +44 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.es.js +40 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs.js +55 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.es.js +51 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs.js +58 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.es.js +54 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs.js +44 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.es.js +40 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs.js +63 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.es.js +59 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs.js +70 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.es.js +66 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs.js +70 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.d.ts +5 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.es.js +66 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.cjs.js +52 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.es.js +48 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs.js +51 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.es.js +47 -0
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +3 -0
- package/src/lib/widgets/index.d.ts +1 -0
- package/src/version.cjs.js +11 -0
- package/src/version.d.ts +2 -0
- package/src/version.es.js +6 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var themesData = require('./themesData.cjs.js');
|
|
8
|
+
var stylesheetBuilder = require('./utils/stylesheetBuilder/stylesheetBuilder.cjs.js');
|
|
9
|
+
|
|
10
|
+
const ThemeContext = React.createContext(undefined);
|
|
11
|
+
const ThemeContextProvider = ({ customerTheme, designSettings, children }) => {
|
|
12
|
+
const [theme, setTheme] = React.useState(customerTheme || themesData.getThemeConfig(designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal));
|
|
13
|
+
const [linkTag, setLinkTag] = React.useState();
|
|
14
|
+
const [styleTag, setStyleTag] = React.useState();
|
|
15
|
+
const changeTheme = React.useCallback((passedTheme, footerColor) => {
|
|
16
|
+
var _a;
|
|
17
|
+
const selectedTheme = (_a = themesData.themesData.themes) === null || _a === void 0 ? void 0 : _a[passedTheme];
|
|
18
|
+
const updatedThemeData = Object.assign(Object.assign({}, theme), { theme: Object.assign(Object.assign({}, selectedTheme), { colors: Object.assign(Object.assign({}, selectedTheme.colors), { ternary: footerColor !== null && footerColor !== void 0 ? footerColor : selectedTheme.colors.ternary }) }) });
|
|
19
|
+
setTheme(updatedThemeData);
|
|
20
|
+
}, [theme, setTheme]);
|
|
21
|
+
const changeTemplate = React.useCallback((template) => {
|
|
22
|
+
setTheme(Object.assign(Object.assign({}, theme), { template }));
|
|
23
|
+
}, [theme, setTheme]);
|
|
24
|
+
const changeBorder = React.useCallback((border) => {
|
|
25
|
+
setTheme(Object.assign(Object.assign({}, theme), { border }));
|
|
26
|
+
}, [theme, setTheme]);
|
|
27
|
+
const changeView = React.useCallback((view) => {
|
|
28
|
+
setTheme(Object.assign(Object.assign({}, theme), { view }));
|
|
29
|
+
}, [theme, setTheme]);
|
|
30
|
+
const changePrimaryColor = React.useCallback((customColor) => {
|
|
31
|
+
setTheme(Object.assign(Object.assign({}, theme), { customColor }));
|
|
32
|
+
}, [theme, setTheme]);
|
|
33
|
+
const changeBrandStyle = React.useCallback((brandStyle) => {
|
|
34
|
+
setTheme(Object.assign(Object.assign({}, theme), { brandStyle }));
|
|
35
|
+
}, [theme, setTheme]);
|
|
36
|
+
React.useEffect(() => {
|
|
37
|
+
setLinkTag(stylesheetBuilder.findOrCreateLinkTag());
|
|
38
|
+
setStyleTag(stylesheetBuilder.findOrCreateStyleTag());
|
|
39
|
+
}, []);
|
|
40
|
+
React.useEffect(() => {
|
|
41
|
+
const newTheme = customerTheme || themesData.getThemeConfig(designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal);
|
|
42
|
+
return setTheme(newTheme);
|
|
43
|
+
}, [customerTheme, designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal]);
|
|
44
|
+
React.useEffect(() => {
|
|
45
|
+
if (!linkTag)
|
|
46
|
+
return;
|
|
47
|
+
if (!styleTag)
|
|
48
|
+
return;
|
|
49
|
+
const linkHref = theme.template === 'default'
|
|
50
|
+
? ''
|
|
51
|
+
: `https://app.dynamic.xyz/assets/templates/${theme.template}.css`;
|
|
52
|
+
if (linkTag.href !== linkHref) {
|
|
53
|
+
linkTag.href = linkHref;
|
|
54
|
+
}
|
|
55
|
+
const builtStylesheet = stylesheetBuilder.buildStylesheet(theme);
|
|
56
|
+
if (styleTag.innerHTML === builtStylesheet)
|
|
57
|
+
return;
|
|
58
|
+
styleTag.innerHTML = builtStylesheet;
|
|
59
|
+
}, [linkTag, styleTag, theme]);
|
|
60
|
+
React.useEffect(() => {
|
|
61
|
+
document.body.dataset.dynamicTheme = theme.theme.name;
|
|
62
|
+
document.body.dataset.dynamicThemeBrand = theme.brandStyle;
|
|
63
|
+
}, [theme.theme.name, theme.brandStyle]);
|
|
64
|
+
const value = React.useMemo(() => ({
|
|
65
|
+
changeBorder,
|
|
66
|
+
changeBrandStyle,
|
|
67
|
+
changePrimaryColor,
|
|
68
|
+
changeTemplate,
|
|
69
|
+
changeTheme,
|
|
70
|
+
changeView,
|
|
71
|
+
theme,
|
|
72
|
+
}), [
|
|
73
|
+
theme,
|
|
74
|
+
changeBorder,
|
|
75
|
+
changeBrandStyle,
|
|
76
|
+
changeTemplate,
|
|
77
|
+
changeTheme,
|
|
78
|
+
changePrimaryColor,
|
|
79
|
+
changeView,
|
|
80
|
+
]);
|
|
81
|
+
return (jsxRuntime.jsx(ThemeContext.Provider, Object.assign({ value: value }, { children: children })));
|
|
82
|
+
};
|
|
83
|
+
const useThemeContext = () => {
|
|
84
|
+
const context = React.useContext(ThemeContext);
|
|
85
|
+
if (context === undefined) {
|
|
86
|
+
throw new Error('useThemeContext must be used within a ThemeContextProvider');
|
|
87
|
+
}
|
|
88
|
+
return context;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
exports.ThemeContext = ThemeContext;
|
|
92
|
+
exports.ThemeContextProvider = ThemeContextProvider;
|
|
93
|
+
exports.useThemeContext = useThemeContext;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { ProjectSettingsDesign } from '@dynamic-labs/sdk-api';
|
|
3
|
+
import { ThemeContextProps, ThemeData } from './types';
|
|
4
|
+
export declare const ThemeContext: import("react").Context<ThemeContextProps | undefined>;
|
|
5
|
+
interface ThemeContextProviderProps {
|
|
6
|
+
customerTheme?: ThemeData;
|
|
7
|
+
designSettings?: ProjectSettingsDesign;
|
|
8
|
+
}
|
|
9
|
+
export declare const ThemeContextProvider: FC<PropsWithChildren<ThemeContextProviderProps>>;
|
|
10
|
+
export declare const useThemeContext: () => ThemeContextProps;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { createContext, useState, useCallback, useEffect, useMemo, useContext } from 'react';
|
|
3
|
+
import { getThemeConfig, themesData } from './themesData.es.js';
|
|
4
|
+
import { findOrCreateLinkTag, findOrCreateStyleTag, buildStylesheet } from './utils/stylesheetBuilder/stylesheetBuilder.es.js';
|
|
5
|
+
|
|
6
|
+
const ThemeContext = createContext(undefined);
|
|
7
|
+
const ThemeContextProvider = ({ customerTheme, designSettings, children }) => {
|
|
8
|
+
const [theme, setTheme] = useState(customerTheme || getThemeConfig(designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal));
|
|
9
|
+
const [linkTag, setLinkTag] = useState();
|
|
10
|
+
const [styleTag, setStyleTag] = useState();
|
|
11
|
+
const changeTheme = useCallback((passedTheme, footerColor) => {
|
|
12
|
+
var _a;
|
|
13
|
+
const selectedTheme = (_a = themesData.themes) === null || _a === void 0 ? void 0 : _a[passedTheme];
|
|
14
|
+
const updatedThemeData = Object.assign(Object.assign({}, theme), { theme: Object.assign(Object.assign({}, selectedTheme), { colors: Object.assign(Object.assign({}, selectedTheme.colors), { ternary: footerColor !== null && footerColor !== void 0 ? footerColor : selectedTheme.colors.ternary }) }) });
|
|
15
|
+
setTheme(updatedThemeData);
|
|
16
|
+
}, [theme, setTheme]);
|
|
17
|
+
const changeTemplate = useCallback((template) => {
|
|
18
|
+
setTheme(Object.assign(Object.assign({}, theme), { template }));
|
|
19
|
+
}, [theme, setTheme]);
|
|
20
|
+
const changeBorder = useCallback((border) => {
|
|
21
|
+
setTheme(Object.assign(Object.assign({}, theme), { border }));
|
|
22
|
+
}, [theme, setTheme]);
|
|
23
|
+
const changeView = useCallback((view) => {
|
|
24
|
+
setTheme(Object.assign(Object.assign({}, theme), { view }));
|
|
25
|
+
}, [theme, setTheme]);
|
|
26
|
+
const changePrimaryColor = useCallback((customColor) => {
|
|
27
|
+
setTheme(Object.assign(Object.assign({}, theme), { customColor }));
|
|
28
|
+
}, [theme, setTheme]);
|
|
29
|
+
const changeBrandStyle = useCallback((brandStyle) => {
|
|
30
|
+
setTheme(Object.assign(Object.assign({}, theme), { brandStyle }));
|
|
31
|
+
}, [theme, setTheme]);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
setLinkTag(findOrCreateLinkTag());
|
|
34
|
+
setStyleTag(findOrCreateStyleTag());
|
|
35
|
+
}, []);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
const newTheme = customerTheme || getThemeConfig(designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal);
|
|
38
|
+
return setTheme(newTheme);
|
|
39
|
+
}, [customerTheme, designSettings === null || designSettings === void 0 ? void 0 : designSettings.modal]);
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
if (!linkTag)
|
|
42
|
+
return;
|
|
43
|
+
if (!styleTag)
|
|
44
|
+
return;
|
|
45
|
+
const linkHref = theme.template === 'default'
|
|
46
|
+
? ''
|
|
47
|
+
: `https://app.dynamic.xyz/assets/templates/${theme.template}.css`;
|
|
48
|
+
if (linkTag.href !== linkHref) {
|
|
49
|
+
linkTag.href = linkHref;
|
|
50
|
+
}
|
|
51
|
+
const builtStylesheet = buildStylesheet(theme);
|
|
52
|
+
if (styleTag.innerHTML === builtStylesheet)
|
|
53
|
+
return;
|
|
54
|
+
styleTag.innerHTML = builtStylesheet;
|
|
55
|
+
}, [linkTag, styleTag, theme]);
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
document.body.dataset.dynamicTheme = theme.theme.name;
|
|
58
|
+
document.body.dataset.dynamicThemeBrand = theme.brandStyle;
|
|
59
|
+
}, [theme.theme.name, theme.brandStyle]);
|
|
60
|
+
const value = useMemo(() => ({
|
|
61
|
+
changeBorder,
|
|
62
|
+
changeBrandStyle,
|
|
63
|
+
changePrimaryColor,
|
|
64
|
+
changeTemplate,
|
|
65
|
+
changeTheme,
|
|
66
|
+
changeView,
|
|
67
|
+
theme,
|
|
68
|
+
}), [
|
|
69
|
+
theme,
|
|
70
|
+
changeBorder,
|
|
71
|
+
changeBrandStyle,
|
|
72
|
+
changeTemplate,
|
|
73
|
+
changeTheme,
|
|
74
|
+
changePrimaryColor,
|
|
75
|
+
changeView,
|
|
76
|
+
]);
|
|
77
|
+
return (jsx(ThemeContext.Provider, Object.assign({ value: value }, { children: children })));
|
|
78
|
+
};
|
|
79
|
+
const useThemeContext = () => {
|
|
80
|
+
const context = useContext(ThemeContext);
|
|
81
|
+
if (context === undefined) {
|
|
82
|
+
throw new Error('useThemeContext must be used within a ThemeContextProvider');
|
|
83
|
+
}
|
|
84
|
+
return context;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export { ThemeContext, ThemeContextProvider, useThemeContext };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('@dynamic-labs/sdk-api');
|
|
6
|
+
require('../../shared/logger.cjs.js');
|
|
7
|
+
require('@dynamic-labs/iconic');
|
|
8
|
+
require('@dynamic-labs/multi-wallet');
|
|
9
|
+
require('react/jsx-runtime');
|
|
10
|
+
require('../ViewContext/ViewContext.cjs.js');
|
|
11
|
+
require('react');
|
|
12
|
+
var index = require('../../shared/utils/functions/getValueByKey/index.cjs.js');
|
|
13
|
+
require('../../utils/constants/colors.cjs.js');
|
|
14
|
+
require('../../shared/consts/index.cjs.js');
|
|
15
|
+
|
|
16
|
+
const getDefaultColor = (name = 'light') => name === 'light' ? '#2660FF' : '#7000FF';
|
|
17
|
+
const themesData = {
|
|
18
|
+
border: 'rounded',
|
|
19
|
+
brandStyle: 'subtle',
|
|
20
|
+
customColor: '',
|
|
21
|
+
template: 'default',
|
|
22
|
+
themes: {
|
|
23
|
+
dark: {
|
|
24
|
+
colors: {
|
|
25
|
+
accent_1: '#2C303A',
|
|
26
|
+
accent_2: '#3C414D',
|
|
27
|
+
accent_3: '#4C525F',
|
|
28
|
+
background: '#15181F',
|
|
29
|
+
border: '1px solid #2C303A',
|
|
30
|
+
error_1: 'rgba(255, 106, 106, 0.2)',
|
|
31
|
+
error_2: '#FF6A6A',
|
|
32
|
+
footer: '#2C303A',
|
|
33
|
+
primary: '#15181F',
|
|
34
|
+
secondary: '#2C303A',
|
|
35
|
+
ternary: '#2660FF',
|
|
36
|
+
textPrimary: '#FFF',
|
|
37
|
+
textSecondary: '#ACACB9',
|
|
38
|
+
},
|
|
39
|
+
name: 'dark',
|
|
40
|
+
},
|
|
41
|
+
light: {
|
|
42
|
+
colors: {
|
|
43
|
+
accent_1: '#FFF',
|
|
44
|
+
accent_2: '#F0F3FF',
|
|
45
|
+
accent_3: '#E9EDFC',
|
|
46
|
+
background: '#FFFFFF',
|
|
47
|
+
border: '1px solid #E9EDFC',
|
|
48
|
+
error_1: 'rgba(255, 70, 70, 0.1)',
|
|
49
|
+
error_2: '#FF4646',
|
|
50
|
+
footer: '#F7F9FE',
|
|
51
|
+
primary: '#F7F7F9',
|
|
52
|
+
secondary: '#FFFFFF',
|
|
53
|
+
ternary: '#2660FF',
|
|
54
|
+
textPrimary: '#404040',
|
|
55
|
+
textSecondary: '#80858B',
|
|
56
|
+
},
|
|
57
|
+
name: 'light',
|
|
58
|
+
},
|
|
59
|
+
auto: {
|
|
60
|
+
colors: {
|
|
61
|
+
accent_1: '#2C303A',
|
|
62
|
+
accent_2: '#3C414D',
|
|
63
|
+
accent_3: '#4C525F',
|
|
64
|
+
background: '#15181F',
|
|
65
|
+
border: '1px solid #2C303A',
|
|
66
|
+
error_1: 'rgba(255, 106, 106, 0.2)',
|
|
67
|
+
error_2: '#FF6A6A',
|
|
68
|
+
footer: '#2C303A',
|
|
69
|
+
primary: '#15181F',
|
|
70
|
+
secondary: '#2C303A',
|
|
71
|
+
ternary: '#2660FF',
|
|
72
|
+
textPrimary: '#FFF',
|
|
73
|
+
textSecondary: '#ACACB9',
|
|
74
|
+
},
|
|
75
|
+
name: 'auto',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
view: 'extended',
|
|
79
|
+
walletColor: {
|
|
80
|
+
color: '#1648F9',
|
|
81
|
+
gradient: '90deg, #1648F9 0%, #4B73FF 100%',
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
const getThemeConfig = (modalSettings, themeMode) => {
|
|
85
|
+
const { border, brand, view, primaryColor } = modalSettings || {};
|
|
86
|
+
const themeName = themeMode || (modalSettings === null || modalSettings === void 0 ? void 0 : modalSettings.theme) || 'light';
|
|
87
|
+
const themeTemplate = (modalSettings === null || modalSettings === void 0 ? void 0 : modalSettings.template) || 'default';
|
|
88
|
+
return Object.assign(Object.assign({}, themesData), { border: border || themesData.border, brandStyle: brand || themesData.brandStyle, customColor: primaryColor || themesData.customColor, template: themeTemplate, theme: index.getValueByKey(themesData.themes, themeName), view: view || themesData.view });
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
exports.getDefaultColor = getDefaultColor;
|
|
92
|
+
exports.getThemeConfig = getThemeConfig;
|
|
93
|
+
exports.themesData = themesData;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ProjectSettingsDesignModal } from '@dynamic-labs/sdk-api';
|
|
2
|
+
import { ThemeData, ThemeSetting } from './types';
|
|
3
|
+
export declare const getDefaultColor: (name?: string) => string;
|
|
4
|
+
export declare const themesData: {
|
|
5
|
+
border: string;
|
|
6
|
+
brandStyle: string;
|
|
7
|
+
customColor: string;
|
|
8
|
+
template: string;
|
|
9
|
+
themes: {
|
|
10
|
+
dark: {
|
|
11
|
+
colors: {
|
|
12
|
+
accent_1: string;
|
|
13
|
+
accent_2: string;
|
|
14
|
+
accent_3: string;
|
|
15
|
+
background: string;
|
|
16
|
+
border: string;
|
|
17
|
+
error_1: string;
|
|
18
|
+
error_2: string;
|
|
19
|
+
footer: string;
|
|
20
|
+
primary: string;
|
|
21
|
+
secondary: string;
|
|
22
|
+
ternary: string;
|
|
23
|
+
textPrimary: string;
|
|
24
|
+
textSecondary: string;
|
|
25
|
+
};
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
light: {
|
|
29
|
+
colors: {
|
|
30
|
+
accent_1: string;
|
|
31
|
+
accent_2: string;
|
|
32
|
+
accent_3: string;
|
|
33
|
+
background: string;
|
|
34
|
+
border: string;
|
|
35
|
+
error_1: string;
|
|
36
|
+
error_2: string;
|
|
37
|
+
footer: string;
|
|
38
|
+
primary: string;
|
|
39
|
+
secondary: string;
|
|
40
|
+
ternary: string;
|
|
41
|
+
textPrimary: string;
|
|
42
|
+
textSecondary: string;
|
|
43
|
+
};
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
auto: {
|
|
47
|
+
colors: {
|
|
48
|
+
accent_1: string;
|
|
49
|
+
accent_2: string;
|
|
50
|
+
accent_3: string;
|
|
51
|
+
background: string;
|
|
52
|
+
border: string;
|
|
53
|
+
error_1: string;
|
|
54
|
+
error_2: string;
|
|
55
|
+
footer: string;
|
|
56
|
+
primary: string;
|
|
57
|
+
secondary: string;
|
|
58
|
+
ternary: string;
|
|
59
|
+
textPrimary: string;
|
|
60
|
+
textSecondary: string;
|
|
61
|
+
};
|
|
62
|
+
name: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
view: string;
|
|
66
|
+
walletColor: {
|
|
67
|
+
color: string;
|
|
68
|
+
gradient: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export declare const getThemeConfig: (modalSettings: ProjectSettingsDesignModal | undefined, themeMode?: ThemeSetting) => ThemeData;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import '@dynamic-labs/sdk-api';
|
|
2
|
+
import '../../shared/logger.es.js';
|
|
3
|
+
import '@dynamic-labs/iconic';
|
|
4
|
+
import '@dynamic-labs/multi-wallet';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import '../ViewContext/ViewContext.es.js';
|
|
7
|
+
import 'react';
|
|
8
|
+
import { getValueByKey } from '../../shared/utils/functions/getValueByKey/index.es.js';
|
|
9
|
+
import '../../utils/constants/colors.es.js';
|
|
10
|
+
import '../../shared/consts/index.es.js';
|
|
11
|
+
|
|
12
|
+
const getDefaultColor = (name = 'light') => name === 'light' ? '#2660FF' : '#7000FF';
|
|
13
|
+
const themesData = {
|
|
14
|
+
border: 'rounded',
|
|
15
|
+
brandStyle: 'subtle',
|
|
16
|
+
customColor: '',
|
|
17
|
+
template: 'default',
|
|
18
|
+
themes: {
|
|
19
|
+
dark: {
|
|
20
|
+
colors: {
|
|
21
|
+
accent_1: '#2C303A',
|
|
22
|
+
accent_2: '#3C414D',
|
|
23
|
+
accent_3: '#4C525F',
|
|
24
|
+
background: '#15181F',
|
|
25
|
+
border: '1px solid #2C303A',
|
|
26
|
+
error_1: 'rgba(255, 106, 106, 0.2)',
|
|
27
|
+
error_2: '#FF6A6A',
|
|
28
|
+
footer: '#2C303A',
|
|
29
|
+
primary: '#15181F',
|
|
30
|
+
secondary: '#2C303A',
|
|
31
|
+
ternary: '#2660FF',
|
|
32
|
+
textPrimary: '#FFF',
|
|
33
|
+
textSecondary: '#ACACB9',
|
|
34
|
+
},
|
|
35
|
+
name: 'dark',
|
|
36
|
+
},
|
|
37
|
+
light: {
|
|
38
|
+
colors: {
|
|
39
|
+
accent_1: '#FFF',
|
|
40
|
+
accent_2: '#F0F3FF',
|
|
41
|
+
accent_3: '#E9EDFC',
|
|
42
|
+
background: '#FFFFFF',
|
|
43
|
+
border: '1px solid #E9EDFC',
|
|
44
|
+
error_1: 'rgba(255, 70, 70, 0.1)',
|
|
45
|
+
error_2: '#FF4646',
|
|
46
|
+
footer: '#F7F9FE',
|
|
47
|
+
primary: '#F7F7F9',
|
|
48
|
+
secondary: '#FFFFFF',
|
|
49
|
+
ternary: '#2660FF',
|
|
50
|
+
textPrimary: '#404040',
|
|
51
|
+
textSecondary: '#80858B',
|
|
52
|
+
},
|
|
53
|
+
name: 'light',
|
|
54
|
+
},
|
|
55
|
+
auto: {
|
|
56
|
+
colors: {
|
|
57
|
+
accent_1: '#2C303A',
|
|
58
|
+
accent_2: '#3C414D',
|
|
59
|
+
accent_3: '#4C525F',
|
|
60
|
+
background: '#15181F',
|
|
61
|
+
border: '1px solid #2C303A',
|
|
62
|
+
error_1: 'rgba(255, 106, 106, 0.2)',
|
|
63
|
+
error_2: '#FF6A6A',
|
|
64
|
+
footer: '#2C303A',
|
|
65
|
+
primary: '#15181F',
|
|
66
|
+
secondary: '#2C303A',
|
|
67
|
+
ternary: '#2660FF',
|
|
68
|
+
textPrimary: '#FFF',
|
|
69
|
+
textSecondary: '#ACACB9',
|
|
70
|
+
},
|
|
71
|
+
name: 'auto',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
view: 'extended',
|
|
75
|
+
walletColor: {
|
|
76
|
+
color: '#1648F9',
|
|
77
|
+
gradient: '90deg, #1648F9 0%, #4B73FF 100%',
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
const getThemeConfig = (modalSettings, themeMode) => {
|
|
81
|
+
const { border, brand, view, primaryColor } = modalSettings || {};
|
|
82
|
+
const themeName = themeMode || (modalSettings === null || modalSettings === void 0 ? void 0 : modalSettings.theme) || 'light';
|
|
83
|
+
const themeTemplate = (modalSettings === null || modalSettings === void 0 ? void 0 : modalSettings.template) || 'default';
|
|
84
|
+
return Object.assign(Object.assign({}, themesData), { border: border || themesData.border, brandStyle: brand || themesData.brandStyle, customColor: primaryColor || themesData.customColor, template: themeTemplate, theme: getValueByKey(themesData.themes, themeName), view: view || themesData.view });
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export { getDefaultColor, getThemeConfig, themesData };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type BorderSetting = 'rounded' | 'square';
|
|
2
|
+
export type BrandStyledSetting = 'subtle' | 'bold';
|
|
3
|
+
export type ThemeSetting = 'light' | 'dark' | 'auto';
|
|
4
|
+
export type ViewSetting = 'extended' | 'simplified';
|
|
5
|
+
export interface ThemeData {
|
|
6
|
+
border: BorderSetting;
|
|
7
|
+
brandStyle: BrandStyledSetting;
|
|
8
|
+
customColor: string;
|
|
9
|
+
template: string;
|
|
10
|
+
theme: {
|
|
11
|
+
colors: {
|
|
12
|
+
accent_1: string;
|
|
13
|
+
accent_2: string;
|
|
14
|
+
accent_3: string;
|
|
15
|
+
background: string;
|
|
16
|
+
border: string;
|
|
17
|
+
error_1: string;
|
|
18
|
+
error_2: string;
|
|
19
|
+
footer: string;
|
|
20
|
+
primary: string;
|
|
21
|
+
secondary: string;
|
|
22
|
+
ternary: string;
|
|
23
|
+
textPrimary: string;
|
|
24
|
+
textSecondary: string;
|
|
25
|
+
};
|
|
26
|
+
name: ThemeSetting;
|
|
27
|
+
};
|
|
28
|
+
view: ViewSetting;
|
|
29
|
+
}
|
|
30
|
+
export interface ThemeContextProps {
|
|
31
|
+
changeBorder: (border: BorderSetting) => void;
|
|
32
|
+
changeBrandStyle: (brandStyle: BrandStyledSetting) => void;
|
|
33
|
+
changePrimaryColor: (customColor: string) => void;
|
|
34
|
+
changeTemplate: (template: string) => void;
|
|
35
|
+
changeTheme: (passedTheme: ThemeSetting, footerColor?: string) => void;
|
|
36
|
+
changeView: (view: ViewSetting) => void;
|
|
37
|
+
theme: ThemeData;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { findThemeMode } from './findThemeMode';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { buildStylesheet, findOrCreateStyleTag, findOrCreateLinkTag, } from './stylesheetBuilder';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const findOrCreateLinkTag = () => {
|
|
6
|
+
const existingStyleTag = document.querySelector('[data-source="dynamic-theme-cdn"]');
|
|
7
|
+
if (existingStyleTag) {
|
|
8
|
+
return existingStyleTag;
|
|
9
|
+
}
|
|
10
|
+
const linkTag = document.createElement('link');
|
|
11
|
+
document.head.append(linkTag);
|
|
12
|
+
linkTag.dataset.source = 'dynamic-theme-cdn';
|
|
13
|
+
linkTag.rel = 'stylesheet';
|
|
14
|
+
return linkTag;
|
|
15
|
+
};
|
|
16
|
+
const findOrCreateStyleTag = () => {
|
|
17
|
+
const existingStyleTag = document.querySelector('[data-source="dynamic-theme"]');
|
|
18
|
+
if (existingStyleTag) {
|
|
19
|
+
return existingStyleTag;
|
|
20
|
+
}
|
|
21
|
+
const styleTag = document.createElement('style');
|
|
22
|
+
document.head.append(styleTag);
|
|
23
|
+
styleTag.dataset.source = 'dynamic-theme';
|
|
24
|
+
return styleTag;
|
|
25
|
+
};
|
|
26
|
+
const buildStylesheet = (theme) => {
|
|
27
|
+
const { customColor, brandStyle } = theme;
|
|
28
|
+
const footerBackgroundColor = brandStyle === 'bold' ? customColor : undefined;
|
|
29
|
+
const footerIconColor = brandStyle === 'subtle' ? customColor : undefined;
|
|
30
|
+
const cssAttributes = [
|
|
31
|
+
['--dynamic-brand-primary-color', customColor],
|
|
32
|
+
['--dynamic-badge-dot-background', customColor],
|
|
33
|
+
['--dynamic-footer-background-color', footerBackgroundColor],
|
|
34
|
+
['--dynamic-footer-icon-color', footerIconColor],
|
|
35
|
+
];
|
|
36
|
+
return `@layer dynamic-project-environment-theme {
|
|
37
|
+
#dynamic-widget, #dynamic-modal, .dynamic-shadow-dom {
|
|
38
|
+
${cssAttributes
|
|
39
|
+
.filter(([, value]) => value !== undefined && value !== '')
|
|
40
|
+
.map(([key, value]) => `${key}: ${value};`)
|
|
41
|
+
.join('\n ')}
|
|
42
|
+
}
|
|
43
|
+
}`;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.buildStylesheet = buildStylesheet;
|
|
47
|
+
exports.findOrCreateLinkTag = findOrCreateLinkTag;
|
|
48
|
+
exports.findOrCreateStyleTag = findOrCreateStyleTag;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const findOrCreateLinkTag = () => {
|
|
2
|
+
const existingStyleTag = document.querySelector('[data-source="dynamic-theme-cdn"]');
|
|
3
|
+
if (existingStyleTag) {
|
|
4
|
+
return existingStyleTag;
|
|
5
|
+
}
|
|
6
|
+
const linkTag = document.createElement('link');
|
|
7
|
+
document.head.append(linkTag);
|
|
8
|
+
linkTag.dataset.source = 'dynamic-theme-cdn';
|
|
9
|
+
linkTag.rel = 'stylesheet';
|
|
10
|
+
return linkTag;
|
|
11
|
+
};
|
|
12
|
+
const findOrCreateStyleTag = () => {
|
|
13
|
+
const existingStyleTag = document.querySelector('[data-source="dynamic-theme"]');
|
|
14
|
+
if (existingStyleTag) {
|
|
15
|
+
return existingStyleTag;
|
|
16
|
+
}
|
|
17
|
+
const styleTag = document.createElement('style');
|
|
18
|
+
document.head.append(styleTag);
|
|
19
|
+
styleTag.dataset.source = 'dynamic-theme';
|
|
20
|
+
return styleTag;
|
|
21
|
+
};
|
|
22
|
+
const buildStylesheet = (theme) => {
|
|
23
|
+
const { customColor, brandStyle } = theme;
|
|
24
|
+
const footerBackgroundColor = brandStyle === 'bold' ? customColor : undefined;
|
|
25
|
+
const footerIconColor = brandStyle === 'subtle' ? customColor : undefined;
|
|
26
|
+
const cssAttributes = [
|
|
27
|
+
['--dynamic-brand-primary-color', customColor],
|
|
28
|
+
['--dynamic-badge-dot-background', customColor],
|
|
29
|
+
['--dynamic-footer-background-color', footerBackgroundColor],
|
|
30
|
+
['--dynamic-footer-icon-color', footerIconColor],
|
|
31
|
+
];
|
|
32
|
+
return `@layer dynamic-project-environment-theme {
|
|
33
|
+
#dynamic-widget, #dynamic-modal, .dynamic-shadow-dom {
|
|
34
|
+
${cssAttributes
|
|
35
|
+
.filter(([, value]) => value !== undefined && value !== '')
|
|
36
|
+
.map(([key, value]) => `${key}: ${value};`)
|
|
37
|
+
.join('\n ')}
|
|
38
|
+
}
|
|
39
|
+
}`;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { buildStylesheet, findOrCreateLinkTag, findOrCreateStyleTag };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
const ViewContext = React.createContext(undefined);
|
|
9
|
+
const ViewContextProvider = ({ children, loginWithEmail, }) => {
|
|
10
|
+
const [view, setView] = React.useState(loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list');
|
|
11
|
+
React.useEffect(() => {
|
|
12
|
+
if (loginWithEmail) {
|
|
13
|
+
setView('login-with-email-or-wallet');
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
setView('wallet-list');
|
|
17
|
+
}
|
|
18
|
+
}, [loginWithEmail]);
|
|
19
|
+
const value = React.useMemo(() => ({
|
|
20
|
+
setView,
|
|
21
|
+
view,
|
|
22
|
+
}), [view]);
|
|
23
|
+
return jsxRuntime.jsx(ViewContext.Provider, Object.assign({ value: value }, { children: children }));
|
|
24
|
+
};
|
|
25
|
+
const useViewContext = () => {
|
|
26
|
+
const context = React.useContext(ViewContext);
|
|
27
|
+
if (context === undefined) {
|
|
28
|
+
throw new Error('usage of useViewContext not wrapped in `ViewContextProvider`.');
|
|
29
|
+
}
|
|
30
|
+
return context;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.ViewContext = ViewContext;
|
|
34
|
+
exports.ViewContextProvider = ViewContextProvider;
|
|
35
|
+
exports.useViewContext = useViewContext;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, SetStateAction, Dispatch } from 'react';
|
|
2
|
+
export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'wallet-sign' | 'wallet-used' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view';
|
|
3
|
+
export interface ViewContextProps {
|
|
4
|
+
setView: Dispatch<SetStateAction<ViewType>>;
|
|
5
|
+
view: ViewType;
|
|
6
|
+
}
|
|
7
|
+
export declare const ViewContext: import("react").Context<ViewContextProps | undefined>;
|
|
8
|
+
export declare const ViewContextProvider: ({ children, loginWithEmail, }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
loginWithEmail: boolean;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export declare const useViewContext: () => ViewContextProps;
|