@ledgerhq/lumen-ui-rnative 0.1.23 → 0.1.24
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/dist/module/i18n/I18nProvider.js.map +1 -1
- package/dist/module/i18n/i18n.js.map +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.js.map +1 -1
- package/dist/module/lib/Components/BaseInput/BaseInput.js +1 -1
- package/dist/module/lib/Components/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.test.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.js +1 -1
- package/dist/module/lib/Components/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/BaseCheckbox.js.map +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/MediaButton/MediaButton.test.js.map +1 -1
- package/dist/module/lib/Components/NavBar/NavBar.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/usePillLayout.js.map +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectContext.js.map +1 -1
- package/dist/module/lib/Components/Select/Select.js.map +1 -1
- package/dist/module/lib/Components/Slot/Slot.js.map +1 -1
- package/dist/module/lib/Components/Spinner/Spinner.js.map +1 -1
- package/dist/module/lib/Components/Spot/Spot.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.js +4 -4
- package/dist/module/lib/Components/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipContext.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.test.js.map +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.test.js.map +1 -1
- package/dist/module/lib/utils/components/InjectStylesIntoChildren.js.map +1 -1
- package/dist/module/lib/utils/constants/constants.js.map +1 -1
- package/dist/module/lib/utils/react/extractTextFromChildren.js.map +1 -1
- package/dist/module/lib/utils/useControllableState/useControllableState.js.map +1 -1
- package/dist/module/styles/hooks/useStyleSheet.js.map +1 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledPressable.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledText.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledView.js.map +1 -1
- package/dist/module/styles/lx/createStyledView.test.js.map +1 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.js.map +1 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +1 -1
- package/dist/module/utils/icon-template.js +0 -1
- package/dist/module/utils/icon-template.js.map +1 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts +1 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts.map +1 -1
- package/dist/typescript/src/i18n/i18n.d.ts +1 -1
- package/dist/typescript/src/i18n/i18n.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/Pulse.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/Pulse.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/Pulse/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/Spin/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/useTimingConfig.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/useTimingConfig.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AddressInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AddressInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AmountDisplay/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Banner/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Banner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheetHeader.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheetHeader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts +2 -2
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/Scrollables.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/Scrollables.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/BottomSheet/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/useBottomSheetRef.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/useBottomSheetRef.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/Button.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Button/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/Card.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Card/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/BaseCheckbox.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Checkbox/BaseCheckbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/ContentBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Divider/Divider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Divider/Divider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Divider/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Divider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/DotSymbol.d.ts +3 -3
- package/dist/typescript/src/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/Icon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Icon/Icon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Icon/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/IconButton/IconButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/IconButton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/IconButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Label/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Label/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Link/Link.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Link/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Link/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +2 -2
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/MediaBanner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaButton/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/MediaButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/MediaCard.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/MediaCard.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/MediaImage.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/CoinCapsule.d.ts +1 -1
- package/dist/typescript/src/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/NavBar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/NavBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/PageIndicator.d.ts +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SearchInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/SearchInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts +3 -2
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/SelectContext.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Select/SelectContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Skeleton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Skeleton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Slot/Slot.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Slot/Slot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spinner/Spinner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spinner/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Spinner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/Spot.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Spot/Spot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Spot/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Stepper/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Stepper/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Tag/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TextInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/TextInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/ThemeProvider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Tile/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/TooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/TooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Tooltip/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Box/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Box/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Pressable/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Pressable/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Text/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Text/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Wrap/Wrap.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Wrap/Wrap.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Wrap/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Wrap/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/types/index.d.ts +1 -1
- package/dist/typescript/src/lib/types/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/components/InjectStylesIntoChildren.d.ts +2 -2
- package/dist/typescript/src/lib/utils/components/InjectStylesIntoChildren.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/constants/constants.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts +1 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts +1 -1
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts.map +1 -1
- package/dist/typescript/src/styles/hooks/useStyleSheet.d.ts +1 -1
- package/dist/typescript/src/styles/hooks/useStyleSheet.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/areLxPropsEqual.d.ts +1 -1
- package/dist/typescript/src/styles/lx/areLxPropsEqual.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/resolveConfig.d.ts +1 -1
- package/dist/typescript/src/styles/lx/resolveConfig.d.ts.map +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts.map +1 -1
- package/dist/typescript/src/styles/provider/types.d.ts +3 -3
- package/dist/typescript/src/styles/provider/types.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/createStylesheetTheme.d.ts +1 -1
- package/dist/typescript/src/styles/theme/createStylesheetTheme.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveFontWeights.d.ts +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveFontWeights.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveNegativeSpacing.d.ts +2 -2
- package/dist/typescript/src/styles/theme/resolvers/resolveNegativeSpacing.d.ts.map +1 -1
- package/dist/typescript/src/styles/types/factories.types.d.ts +3 -3
- package/dist/typescript/src/styles/types/factories.types.d.ts.map +1 -1
- package/dist/typescript/src/styles/types/theme.types.d.ts +2 -2
- package/dist/typescript/src/styles/types/theme.types.d.ts.map +1 -1
- package/dist/typescript/src/utils/icon-template.d.ts +1 -1
- package/dist/typescript/src/utils/icon-template.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/i18n/I18nProvider.tsx +2 -1
- package/src/i18n/i18n.ts +2 -5
- package/src/lib/Animations/Pulse/Pulse.tsx +2 -2
- package/src/lib/Animations/Pulse/types.ts +2 -2
- package/src/lib/Animations/Spin/Spin.tsx +2 -2
- package/src/lib/Animations/Spin/types.ts +2 -2
- package/src/lib/Animations/types.ts +2 -2
- package/src/lib/Animations/useTimingConfig.ts +1 -1
- package/src/lib/Components/AddressInput/AddressInput.stories.tsx +1 -1
- package/src/lib/Components/AddressInput/types.ts +2 -2
- package/src/lib/Components/AmountDisplay/AmountDisplay.test.tsx +1 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.tsx +3 -3
- package/src/lib/Components/AmountDisplay/types.ts +2 -2
- package/src/lib/Components/AmountInput/types.ts +2 -2
- package/src/lib/Components/Avatar/Avatar.stories.tsx +1 -1
- package/src/lib/Components/Avatar/Avatar.tsx +1 -1
- package/src/lib/Components/Avatar/types.ts +1 -1
- package/src/lib/Components/Banner/Banner.tsx +3 -3
- package/src/lib/Components/Banner/types.ts +2 -2
- package/src/lib/Components/BaseInput/BaseInput.tsx +2 -1
- package/src/lib/Components/BaseInput/types.ts +5 -5
- package/src/lib/Components/BottomSheet/BottomSheet.test.tsx +2 -1
- package/src/lib/Components/BottomSheet/BottomSheet.tsx +3 -5
- package/src/lib/Components/BottomSheet/BottomSheetHeader.tsx +1 -1
- package/src/lib/Components/BottomSheet/CustomBackdrop.tsx +1 -1
- package/src/lib/Components/BottomSheet/CustomHandle.tsx +2 -2
- package/src/lib/Components/BottomSheet/Scrollables.tsx +2 -2
- package/src/lib/Components/BottomSheet/types.ts +4 -4
- package/src/lib/Components/BottomSheet/useBottomSheetRef.ts +1 -1
- package/src/lib/Components/Button/BaseButton.test.tsx +1 -1
- package/src/lib/Components/Button/BaseButton.tsx +3 -3
- package/src/lib/Components/Button/Button.tsx +1 -1
- package/src/lib/Components/Button/types.ts +4 -4
- package/src/lib/Components/Card/Card.test.tsx +1 -1
- package/src/lib/Components/Card/Card.tsx +5 -3
- package/src/lib/Components/Card/types.ts +3 -3
- package/src/lib/Components/CardButton/CardButton.tsx +1 -1
- package/src/lib/Components/CardButton/types.ts +3 -3
- package/src/lib/Components/Checkbox/BaseCheckbox.tsx +4 -8
- package/src/lib/Components/Checkbox/Checkbox.tsx +1 -1
- package/src/lib/Components/Checkbox/types.ts +1 -1
- package/src/lib/Components/ContentBanner/ContentBanner.tsx +1 -1
- package/src/lib/Components/ContentBanner/types.ts +1 -1
- package/src/lib/Components/Divider/Divider.tsx +1 -1
- package/src/lib/Components/Divider/types.ts +1 -1
- package/src/lib/Components/DotSymbol/DotSymbol.tsx +3 -3
- package/src/lib/Components/DotSymbol/types.ts +1 -1
- package/src/lib/Components/Icon/Icon.tsx +2 -2
- package/src/lib/Components/Icon/createIcon.ts +2 -2
- package/src/lib/Components/Icon/types.ts +4 -4
- package/src/lib/Components/IconButton/IconButton.tsx +1 -1
- package/src/lib/Components/IconButton/types.ts +1 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.tsx +4 -3
- package/src/lib/Components/InteractiveIcon/types.ts +4 -4
- package/src/lib/Components/Label/Label.tsx +1 -1
- package/src/lib/Components/Label/types.ts +1 -1
- package/src/lib/Components/Link/Link.test.tsx +1 -1
- package/src/lib/Components/Link/Link.tsx +2 -2
- package/src/lib/Components/Link/types.ts +4 -4
- package/src/lib/Components/ListItem/ListItem.test.tsx +1 -1
- package/src/lib/Components/ListItem/ListItem.tsx +5 -4
- package/src/lib/Components/ListItem/types.ts +1 -1
- package/src/lib/Components/MediaBanner/MediaBanner.tsx +1 -1
- package/src/lib/Components/MediaBanner/types.ts +2 -2
- package/src/lib/Components/MediaButton/MediaButton.test.tsx +2 -1
- package/src/lib/Components/MediaButton/MediaButton.tsx +1 -1
- package/src/lib/Components/MediaButton/types.ts +2 -2
- package/src/lib/Components/MediaCard/MediaCard.tsx +1 -1
- package/src/lib/Components/MediaCard/types.ts +1 -1
- package/src/lib/Components/MediaImage/MediaImage.tsx +1 -1
- package/src/lib/Components/MediaImage/types.ts +1 -1
- package/src/lib/Components/NavBar/CoinCapsule.tsx +1 -1
- package/src/lib/Components/NavBar/NavBar.tsx +5 -3
- package/src/lib/Components/NavBar/types.ts +4 -4
- package/src/lib/Components/OptionList/types.ts +2 -2
- package/src/lib/Components/PageIndicator/PageIndicator.tsx +1 -1
- package/src/lib/Components/PageIndicator/types.ts +1 -1
- package/src/lib/Components/SearchInput/SearchInput.stories.tsx +1 -1
- package/src/lib/Components/SearchInput/types.ts +2 -2
- package/src/lib/Components/SegmentedControl/SegmentedControl.tsx +1 -1
- package/src/lib/Components/SegmentedControl/types.ts +4 -4
- package/src/lib/Components/SegmentedControl/usePillLayout.ts +2 -2
- package/src/lib/Components/Select/GlobalSelectContext.tsx +3 -2
- package/src/lib/Components/Select/Select.tsx +1 -1
- package/src/lib/Components/Select/SelectContext.tsx +2 -2
- package/src/lib/Components/Select/types.ts +4 -4
- package/src/lib/Components/Skeleton/Skeleton.stories.tsx +1 -1
- package/src/lib/Components/Skeleton/types.ts +1 -1
- package/src/lib/Components/Slot/Slot.tsx +4 -5
- package/src/lib/Components/Spinner/Spinner.stories.tsx +1 -1
- package/src/lib/Components/Spinner/Spinner.tsx +3 -2
- package/src/lib/Components/Spinner/types.ts +3 -3
- package/src/lib/Components/Spot/Spot.stories.tsx +2 -2
- package/src/lib/Components/Spot/Spot.tsx +6 -4
- package/src/lib/Components/Spot/types.ts +3 -3
- package/src/lib/Components/Stepper/Stepper.stories.tsx +1 -1
- package/src/lib/Components/Stepper/Stepper.tsx +1 -1
- package/src/lib/Components/Stepper/types.ts +1 -1
- package/src/lib/Components/Subheader/Subheader.tsx +1 -1
- package/src/lib/Components/Subheader/types.ts +3 -3
- package/src/lib/Components/Switch/BaseSwitch.tsx +2 -2
- package/src/lib/Components/Switch/Switch.tsx +1 -1
- package/src/lib/Components/Switch/types.ts +1 -1
- package/src/lib/Components/TabBar/TabBar.tsx +4 -9
- package/src/lib/Components/TabBar/types.ts +4 -4
- package/src/lib/Components/Tag/Tag.tsx +2 -2
- package/src/lib/Components/Tag/types.ts +3 -3
- package/src/lib/Components/TextInput/types.ts +2 -2
- package/src/lib/Components/ThemeProvider/ThemeProvider.tsx +1 -1
- package/src/lib/Components/ThemeProvider/types.ts +4 -4
- package/src/lib/Components/Tile/Tile.tsx +2 -2
- package/src/lib/Components/Tile/types.ts +2 -2
- package/src/lib/Components/TileButton/TileButton.test.tsx +1 -1
- package/src/lib/Components/TileButton/TileButton.tsx +3 -3
- package/src/lib/Components/TileButton/types.ts +4 -4
- package/src/lib/Components/Tooltip/GlobalTooltipContext.tsx +2 -1
- package/src/lib/Components/Tooltip/Tooltip.tsx +1 -1
- package/src/lib/Components/Tooltip/TooltipContext.tsx +1 -1
- package/src/lib/Components/Tooltip/types.ts +2 -2
- package/src/lib/Components/Utility/Box/types.ts +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/types.ts +3 -3
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.test.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/types.ts +3 -3
- package/src/lib/Components/Utility/Pressable/Pressable.test.tsx +2 -1
- package/src/lib/Components/Utility/Pressable/types.ts +1 -1
- package/src/lib/Components/Utility/Text/Text.stories.tsx +1 -1
- package/src/lib/Components/Utility/Text/types.ts +1 -1
- package/src/lib/Components/Wrap/Wrap.tsx +1 -1
- package/src/lib/Components/Wrap/types.ts +1 -1
- package/src/lib/types/index.ts +1 -1
- package/src/lib/utils/components/InjectStylesIntoChildren.tsx +3 -8
- package/src/lib/utils/constants/constants.ts +2 -4
- package/src/lib/utils/react/extractTextFromChildren.ts +2 -1
- package/src/lib/utils/useControllableState/useControllableState.ts +2 -1
- package/src/styles/hooks/useStyleSheet.test.tsx +2 -1
- package/src/styles/hooks/useStyleSheet.ts +2 -1
- package/src/styles/lx/areLxPropsEqual.ts +1 -1
- package/src/styles/lx/createStyledPressable.test.tsx +2 -2
- package/src/styles/lx/createStyledPressable.tsx +1 -1
- package/src/styles/lx/createStyledText.test.tsx +2 -1
- package/src/styles/lx/createStyledText.tsx +1 -1
- package/src/styles/lx/createStyledView.test.tsx +2 -1
- package/src/styles/lx/createStyledView.tsx +2 -1
- package/src/styles/lx/resolveConfig.ts +1 -1
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +2 -1
- package/src/styles/provider/LumenStyleSheetProvider.tsx +2 -4
- package/src/styles/provider/types.ts +3 -3
- package/src/styles/theme/createStylesheetTheme.ts +1 -1
- package/src/styles/theme/resolvers/resolveFontWeights.ts +1 -1
- package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +1 -1
- package/src/styles/theme/resolvers/resolveNegativeSpacing.ts +2 -2
- package/src/styles/types/factories.types.ts +3 -3
- package/src/styles/types/theme.types.ts +2 -2
- package/src/utils/icon-template.ts +1 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
TextStyle,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
ViewStyle,
|
|
4
|
+
StyleProp,
|
|
5
|
+
TextInputProps,
|
|
6
6
|
} from 'react-native';
|
|
7
|
-
import { BoxProps } from '../Utility';
|
|
7
|
+
import type { BoxProps } from '../Utility';
|
|
8
8
|
|
|
9
9
|
export type BaseInputProps = {
|
|
10
10
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { describe, it, expect, jest } from '@jest/globals';
|
|
2
2
|
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
3
|
-
import {
|
|
3
|
+
import type { RenderOptions } from '@testing-library/react-native';
|
|
4
|
+
import { render } from '@testing-library/react-native';
|
|
4
5
|
import { Text, View } from 'react-native';
|
|
5
6
|
import { ThemeProvider } from '../ThemeProvider/ThemeProvider';
|
|
6
7
|
import { BottomSheet as BottomSheetComponent } from './BottomSheet';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
SNAP_POINT_TYPE,
|
|
4
|
-
} from '@gorhom/bottom-sheet';
|
|
1
|
+
import type { SNAP_POINT_TYPE } from '@gorhom/bottom-sheet';
|
|
2
|
+
import { BottomSheetModal as GorhomBottomSheetModal } from '@gorhom/bottom-sheet';
|
|
5
3
|
import { createSafeContext, useMergedRef } from '@ledgerhq/lumen-utils-shared';
|
|
6
4
|
import { useCallback, useMemo, useRef, useState } from 'react';
|
|
7
5
|
import { StyleSheet } from 'react-native';
|
|
@@ -9,7 +7,7 @@ import { useStyleSheet } from '../../../styles';
|
|
|
9
7
|
import { RuntimeConstants } from '../../utils';
|
|
10
8
|
import { CustomBackdrop } from './CustomBackdrop';
|
|
11
9
|
import { CustomHandle } from './CustomHandle';
|
|
12
|
-
import { BottomSheetProps } from './types';
|
|
10
|
+
import type { BottomSheetProps } from './types';
|
|
13
11
|
|
|
14
12
|
const OFFSET_TOP = 25;
|
|
15
13
|
const FULL_HEIGHT = RuntimeConstants.insetDimensions.height;
|
|
@@ -7,7 +7,7 @@ import { ArrowLeft, Close } from '../../Symbols';
|
|
|
7
7
|
import { IconButton } from '../IconButton';
|
|
8
8
|
import { Box, Text } from '../Utility';
|
|
9
9
|
import { useBottomSheetContext } from './BottomSheet';
|
|
10
|
-
import { BottomSheetHeaderProps } from './types';
|
|
10
|
+
import type { BottomSheetHeaderProps } from './types';
|
|
11
11
|
|
|
12
12
|
type DensityValue = NonNullable<BottomSheetHeaderProps['density']>;
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BottomSheetBackdrop as GorhomBottomSheetBackdrop } from '@gorhom/bottom-sheet';
|
|
2
2
|
import { useStyleSheet } from '../../../styles';
|
|
3
|
-
import { BottomSheetProps } from './types';
|
|
3
|
+
import type { BottomSheetProps } from './types';
|
|
4
4
|
|
|
5
5
|
type BackDropProps = React.ComponentProps<typeof GorhomBottomSheetBackdrop> & {
|
|
6
6
|
backdropPressBehavior?: BottomSheetProps['backdropPressBehavior'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BottomSheetVariables } from '@gorhom/bottom-sheet/lib/typescript/types';
|
|
2
|
-
import { Ref } from 'react';
|
|
1
|
+
import type { BottomSheetVariables } from '@gorhom/bottom-sheet/lib/typescript/types';
|
|
2
|
+
import type { Ref } from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import { useStyleSheet } from '../../../styles';
|
|
5
5
|
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
BottomSheetScrollView as GorhomBottomSheetScrollView,
|
|
6
6
|
BottomSheetVirtualizedList as GorhomBottomSheetVirtualizedList,
|
|
7
7
|
} from '@gorhom/bottom-sheet';
|
|
8
|
-
import { ViewStyle } from 'react-native';
|
|
8
|
+
import type { ViewStyle } from 'react-native';
|
|
9
9
|
import { useStyleSheet } from '../../../styles';
|
|
10
|
-
import {
|
|
10
|
+
import type {
|
|
11
11
|
BottomSheetViewProps,
|
|
12
12
|
BottomSheetFlatListProps,
|
|
13
13
|
BottomSheetSectionListProps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
BottomSheetModal as GorhomBottomSheetModal,
|
|
3
3
|
BottomSheetView as GorhomBottomSheetView,
|
|
4
4
|
BottomSheetFlatList as GorhomBottomSheetFlatList,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
BottomSheetVirtualizedList as GorhomBottomSheetVirtualizedList,
|
|
8
8
|
} from '@gorhom/bottom-sheet';
|
|
9
9
|
|
|
10
|
-
import { Density } from '@ledgerhq/lumen-utils-shared';
|
|
11
|
-
import { PropsWithChildren, ReactNode, Ref } from 'react';
|
|
12
|
-
import { StyledViewProps } from '../../../styles';
|
|
10
|
+
import type { Density } from '@ledgerhq/lumen-utils-shared';
|
|
11
|
+
import type { PropsWithChildren, ReactNode, Ref } from 'react';
|
|
12
|
+
import type { StyledViewProps } from '../../../styles';
|
|
13
13
|
export type BottomSheetProps = PropsWithChildren & {
|
|
14
14
|
/**
|
|
15
15
|
* Ref to the bottom sheet component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, it, expect, jest } from '@jest/globals';
|
|
2
2
|
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
3
3
|
import { render, screen, fireEvent } from '@testing-library/react-native';
|
|
4
|
-
import { ViewStyle } from 'react-native';
|
|
4
|
+
import type { ViewStyle } from 'react-native';
|
|
5
5
|
|
|
6
6
|
import { Plus, Settings } from '../../Symbols';
|
|
7
7
|
import { ThemeProvider } from '../ThemeProvider/ThemeProvider';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
3
|
import { StyleSheet, Text, View } from 'react-native';
|
|
4
4
|
import { useStyleSheet } from '../../../styles';
|
|
5
|
-
import { IconSize } from '../Icon';
|
|
5
|
+
import type { IconSize } from '../Icon';
|
|
6
6
|
import { Spinner } from '../Spinner';
|
|
7
7
|
import { Pressable } from '../Utility';
|
|
8
|
-
import { BaseButtonProps } from './types';
|
|
8
|
+
import type { BaseButtonProps } from './types';
|
|
9
9
|
|
|
10
10
|
type Appearance = NonNullable<BaseButtonProps['appearance']>;
|
|
11
11
|
type Size = NonNullable<BaseButtonProps['size']>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { StyledPressableProps } from '../../../styles';
|
|
4
|
-
import { IconSize } from '../Icon';
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { StyledPressableProps } from '../../../styles';
|
|
4
|
+
import type { IconSize } from '../Icon';
|
|
5
5
|
|
|
6
6
|
export type BaseButtonProps = {
|
|
7
7
|
/**
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
CardFooter,
|
|
17
17
|
CardFooterActions,
|
|
18
18
|
} from './Card';
|
|
19
|
-
import { CardProps } from './types';
|
|
19
|
+
import type { CardProps } from './types';
|
|
20
20
|
|
|
21
21
|
const TestWrapper = ({ children }: { children: React.ReactNode }) => (
|
|
22
22
|
<ThemeProvider themes={ledgerLiveThemes} colorScheme='dark' locale='en'>
|
|
@@ -3,8 +3,10 @@ import {
|
|
|
3
3
|
DisabledProvider,
|
|
4
4
|
isTextChildren,
|
|
5
5
|
} from '@ledgerhq/lumen-utils-shared';
|
|
6
|
-
import { ReactNode, Ref
|
|
7
|
-
import {
|
|
6
|
+
import type { ReactNode, Ref } from 'react';
|
|
7
|
+
import { useCallback, useEffect, useMemo } from 'react';
|
|
8
|
+
import type { LayoutChangeEvent, ViewStyle } from 'react-native';
|
|
9
|
+
import { StyleSheet, View } from 'react-native';
|
|
8
10
|
import Animated, {
|
|
9
11
|
useAnimatedStyle,
|
|
10
12
|
useSharedValue,
|
|
@@ -15,7 +17,7 @@ import { useTimingConfig } from '../../Animations/useTimingConfig';
|
|
|
15
17
|
import { ChevronDown, ChevronUp } from '../../Symbols';
|
|
16
18
|
import { Box, Text, Pressable } from '../Utility';
|
|
17
19
|
|
|
18
|
-
import {
|
|
20
|
+
import type {
|
|
19
21
|
CardContentAlignContextValue,
|
|
20
22
|
CardContentDescriptionProps,
|
|
21
23
|
CardContentProps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { GestureResponderEvent } from 'react-native';
|
|
3
|
-
import { StyledTextProps, StyledViewProps } from '../../../styles';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
3
|
+
import type { StyledTextProps, StyledViewProps } from '../../../styles';
|
|
4
4
|
|
|
5
5
|
export type CardType = 'interactive' | 'expandable' | 'info';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import { useStyleSheet } from '../../../styles';
|
|
|
4
4
|
import { ChevronRight } from '../../Symbols';
|
|
5
5
|
import { Pressable } from '../Utility';
|
|
6
6
|
|
|
7
|
-
import { CardButtonProps } from './types';
|
|
7
|
+
import type { CardButtonProps } from './types';
|
|
8
8
|
|
|
9
9
|
type Appearance = NonNullable<CardButtonProps['appearance']>;
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import { StyledPressableProps } from '../../../styles';
|
|
3
|
-
import { IconSize } from '../Icon';
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { StyledPressableProps } from '../../../styles';
|
|
3
|
+
import type { IconSize } from '../Icon';
|
|
4
4
|
|
|
5
5
|
export type CardButtonProps = {
|
|
6
6
|
/**
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { createSafeContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
Pressable,
|
|
6
|
-
View,
|
|
7
|
-
StyleSheet,
|
|
8
|
-
} from 'react-native';
|
|
3
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
4
|
+
import { Pressable, View, StyleSheet } from 'react-native';
|
|
9
5
|
import { useStyleSheet } from '../../../styles';
|
|
10
|
-
import {
|
|
6
|
+
import type {
|
|
11
7
|
ForceMountable,
|
|
12
8
|
SlottablePressableProps,
|
|
13
9
|
SlottableViewProps,
|
|
14
10
|
} from '../../types';
|
|
15
11
|
import { SlotPressable, SlotView } from '../Slot';
|
|
16
|
-
import { CheckboxProps } from './types';
|
|
12
|
+
import type { CheckboxProps } from './types';
|
|
17
13
|
|
|
18
14
|
const ROOT_COMPONENT_NAME = 'BaseCheckbox';
|
|
19
15
|
const TRIGGER_COMPONENT_NAME = 'BaseCheckboxTrigger';
|
|
@@ -6,7 +6,7 @@ import { Label } from '../Label';
|
|
|
6
6
|
import { Box } from '../Utility';
|
|
7
7
|
import { BaseCheckboxIndicator, BaseCheckboxRoot } from './BaseCheckbox';
|
|
8
8
|
|
|
9
|
-
import { CheckboxProps } from './types';
|
|
9
|
+
import type { CheckboxProps } from './types';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The checkbox follows the design system tokens and supports checked, unchecked,
|
|
@@ -5,7 +5,7 @@ import { useStyleSheet } from '../../../styles';
|
|
|
5
5
|
import { Close } from '../../Symbols';
|
|
6
6
|
import { InteractiveIcon } from '../InteractiveIcon';
|
|
7
7
|
import { Box, Text } from '../Utility';
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
ContentBannerContentProps,
|
|
10
10
|
ContentBannerDescriptionProps,
|
|
11
11
|
ContentBannerProps,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
2
|
import { Image, StyleSheet } from 'react-native';
|
|
3
3
|
import { useStyleSheet } from '../../../styles';
|
|
4
|
-
import { MediaImageSize } from '../MediaImage';
|
|
5
|
-
import { SpotSize } from '../Spot';
|
|
4
|
+
import type { MediaImageSize } from '../MediaImage';
|
|
5
|
+
import type { SpotSize } from '../Spot';
|
|
6
6
|
import { Box } from '../Utility';
|
|
7
|
-
import { DotSymbolPin, DotSymbolProps, DotSymbolSize } from './types';
|
|
7
|
+
import type { DotSymbolPin, DotSymbolProps, DotSymbolSize } from './types';
|
|
8
8
|
|
|
9
9
|
type BorderRadiusKey = 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
import { Svg } from 'react-native-svg';
|
|
3
3
|
import { useResolveTextStyle, useTheme } from '../../../styles';
|
|
4
|
-
import { TextProps } from '../Utility';
|
|
5
|
-
import { IconProps, IconSize } from './types';
|
|
4
|
+
import type { TextProps } from '../Utility';
|
|
5
|
+
import type { IconProps, IconSize } from './types';
|
|
6
6
|
|
|
7
7
|
const iconSizeMap = {
|
|
8
8
|
12: 's12',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { toPascalCase, useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { createElement } from 'react';
|
|
3
|
-
import { SvgProps } from 'react-native-svg';
|
|
3
|
+
import type { SvgProps } from 'react-native-svg';
|
|
4
4
|
import { useTheme } from '../../../styles';
|
|
5
5
|
import { Icon } from './Icon';
|
|
6
|
-
import { IconProps } from './types';
|
|
6
|
+
import type { IconProps } from './types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Create an Icon component for React Native
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { Svg, SvgProps } from 'react-native-svg';
|
|
3
|
-
import { LumenTextStyle } from '../../../styles';
|
|
4
|
-
import { TextProps } from '../Utility';
|
|
1
|
+
import type { Ref } from 'react';
|
|
2
|
+
import type { Svg, SvgProps } from 'react-native-svg';
|
|
3
|
+
import type { LumenTextStyle } from '../../../styles';
|
|
4
|
+
import type { TextProps } from '../Utility';
|
|
5
5
|
|
|
6
6
|
export type IconSize = 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56;
|
|
7
7
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { ComponentType } from 'react';
|
|
2
|
+
import type { ComponentType } from 'react';
|
|
3
3
|
import { StyleSheet, View } from 'react-native';
|
|
4
4
|
import { useStyleSheet } from '../../../styles';
|
|
5
5
|
|
|
6
|
-
import { IconProps, IconSize } from '../Icon';
|
|
6
|
+
import type { IconProps, IconSize } from '../Icon';
|
|
7
7
|
import { Pressable } from '../Utility';
|
|
8
|
-
import {
|
|
8
|
+
import type { InteractiveIconProps } from './types';
|
|
9
|
+
import { HIT_SLOP_MAP } from './types';
|
|
9
10
|
|
|
10
11
|
type IconType = InteractiveIconProps['iconType'];
|
|
11
12
|
type Appearance = NonNullable<InteractiveIconProps['appearance']>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { Insets } from 'react-native';
|
|
3
|
-
import { StyledPressableProps } from '../../../styles';
|
|
4
|
-
import { IconProps, IconSize } from '../Icon';
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { Insets } from 'react-native';
|
|
3
|
+
import type { StyledPressableProps } from '../../../styles';
|
|
4
|
+
import type { IconProps, IconSize } from '../Icon';
|
|
5
5
|
|
|
6
6
|
export const HIT_SLOP_MAP: Partial<
|
|
7
7
|
Record<HitSlopType, Partial<Record<IconSize, Insets>>>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { useStyleSheet } from '../../../styles';
|
|
3
3
|
import { Text } from '../Utility';
|
|
4
|
-
import { LabelProps } from './types';
|
|
4
|
+
import type { LabelProps } from './types';
|
|
5
5
|
|
|
6
6
|
const useStyles = ({ disabled }: { disabled: boolean }) => {
|
|
7
7
|
return useStyleSheet(
|
|
@@ -7,7 +7,7 @@ import { Linking } from 'react-native';
|
|
|
7
7
|
import { Information } from '../../Symbols';
|
|
8
8
|
import { ThemeProvider } from '../ThemeProvider/ThemeProvider';
|
|
9
9
|
import { Link } from './Link';
|
|
10
|
-
import { LinkProps } from './types';
|
|
10
|
+
import type { LinkProps } from './types';
|
|
11
11
|
|
|
12
12
|
// Mock Linking module - use spyOn after import to handle RN 0.79+ module structure
|
|
13
13
|
const mockOpenURL = jest.fn(() => Promise.resolve());
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Linking, StyleSheet, Text, View } from 'react-native';
|
|
2
2
|
import { useStyleSheet } from '../../../styles';
|
|
3
3
|
import { ExternalLink } from '../../Symbols';
|
|
4
|
-
import { IconSize } from '../Icon';
|
|
4
|
+
import type { IconSize } from '../Icon';
|
|
5
5
|
import { Pressable } from '../Utility';
|
|
6
|
-
import { LinkProps } from './types';
|
|
6
|
+
import type { LinkProps } from './types';
|
|
7
7
|
|
|
8
8
|
const iconSizeMap: Record<Size, IconSize> = {
|
|
9
9
|
sm: 16,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { StyledPressableProps } from '../../../styles';
|
|
4
|
-
import { IconSize } from '../Icon';
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { StyledPressableProps } from '../../../styles';
|
|
4
|
+
import type { IconSize } from '../Icon';
|
|
5
5
|
|
|
6
6
|
export type LinkProps = {
|
|
7
7
|
/**
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ListItemDescription,
|
|
14
14
|
ListItemTrailing,
|
|
15
15
|
} from './ListItem';
|
|
16
|
-
import { ListItemProps } from './types';
|
|
16
|
+
import type { ListItemProps } from './types';
|
|
17
17
|
|
|
18
18
|
const TestWrapper = ({ children }: { children: React.ReactNode }) => (
|
|
19
19
|
<ThemeProvider themes={ledgerLiveThemes} colorScheme='dark' locale='en'>
|
|
@@ -4,16 +4,17 @@ import {
|
|
|
4
4
|
DisabledProvider,
|
|
5
5
|
useDisabledContext,
|
|
6
6
|
} from '@ledgerhq/lumen-utils-shared';
|
|
7
|
-
import { ElementRef, ReactNode, Ref } from 'react';
|
|
8
|
-
import {
|
|
7
|
+
import type { ElementRef, ReactNode, Ref } from 'react';
|
|
8
|
+
import type { ViewStyle } from 'react-native';
|
|
9
|
+
import { StyleSheet, View } from 'react-native';
|
|
9
10
|
import { useStyleSheet } from '../../../styles';
|
|
10
11
|
import { Box, Pressable, Text } from '../Utility';
|
|
11
|
-
import {
|
|
12
|
-
ListItemProps,
|
|
12
|
+
import type {
|
|
13
13
|
ListItemContentProps,
|
|
14
14
|
ListItemContentRowProps,
|
|
15
15
|
ListItemDescriptionProps,
|
|
16
16
|
ListItemLeadingProps,
|
|
17
|
+
ListItemProps,
|
|
17
18
|
ListItemTitleProps,
|
|
18
19
|
ListItemTrailingProps,
|
|
19
20
|
} from './types';
|
|
@@ -5,7 +5,7 @@ import { useStyleSheet, useTheme } from '../../../styles';
|
|
|
5
5
|
import { Close } from '../../Symbols';
|
|
6
6
|
import { InteractiveIcon } from '../InteractiveIcon';
|
|
7
7
|
import { Box, LinearGradient, Pressable, Text } from '../Utility';
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
MediaBannerDescriptionProps,
|
|
10
10
|
MediaBannerProps,
|
|
11
11
|
MediaBannerTitleProps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyledPressableProps, StyledTextProps } from '../../../styles';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledPressableProps, StyledTextProps } from '../../../styles';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props for the MediaBanner root component.
|
|
@@ -2,7 +2,8 @@ import { describe, it, expect, jest } from '@jest/globals';
|
|
|
2
2
|
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
3
3
|
import { render, screen, fireEvent } from '@testing-library/react-native';
|
|
4
4
|
import { createRef } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import type { ViewStyle } from 'react-native';
|
|
6
|
+
import { View } from 'react-native';
|
|
6
7
|
|
|
7
8
|
import { Settings } from '../../Symbols';
|
|
8
9
|
import { ThemeProvider } from '../ThemeProvider/ThemeProvider';
|
|
@@ -5,7 +5,7 @@ import { useStyleSheet } from '../../../styles';
|
|
|
5
5
|
import { Close } from '../../Symbols';
|
|
6
6
|
import { InteractiveIcon } from '../InteractiveIcon';
|
|
7
7
|
import { LinearGradient, Pressable, Text } from '../Utility';
|
|
8
|
-
import { MediaCardProps, MediaCardTitleProps } from './types';
|
|
8
|
+
import type { MediaCardProps, MediaCardTitleProps } from './types';
|
|
9
9
|
|
|
10
10
|
const CARD_HEIGHT = 164;
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
|
|
|
2
2
|
import { Image, StyleSheet } from 'react-native';
|
|
3
3
|
import { useStyleSheet } from '../../../styles';
|
|
4
4
|
import { Box } from '../Utility';
|
|
5
|
-
import { MediaImageProps, MediaImageSize, MediaImageShape } from './types';
|
|
5
|
+
import type { MediaImageProps, MediaImageSize, MediaImageShape } from './types';
|
|
6
6
|
|
|
7
7
|
type BorderRadiusKey = 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useStyleSheet } from '../../../styles';
|
|
2
2
|
import { Box, Text } from '../Utility';
|
|
3
|
-
import { CoinCapsuleProps } from './types';
|
|
3
|
+
import type { CoinCapsuleProps } from './types';
|
|
4
4
|
|
|
5
5
|
export function CoinCapsule({ ticker, icon }: CoinCapsuleProps) {
|
|
6
6
|
const styles = useStyles();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Density } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
+
import { createSafeContext } from '@ledgerhq/lumen-utils-shared';
|
|
3
|
+
import type { ReactNode } from 'react';
|
|
4
|
+
import { Children, isValidElement } from 'react';
|
|
3
5
|
import { StyleSheet } from 'react-native';
|
|
4
6
|
import { useCommonTranslation } from '../../../i18n';
|
|
5
7
|
import { useStyleSheet } from '../../../styles';
|
|
@@ -7,7 +9,7 @@ import { ArrowLeft } from '../../Symbols';
|
|
|
7
9
|
import { IconButton } from '../IconButton';
|
|
8
10
|
import { Box, Text } from '../Utility';
|
|
9
11
|
import { CoinCapsule } from './CoinCapsule';
|
|
10
|
-
import {
|
|
12
|
+
import type {
|
|
11
13
|
NavBarBackButtonProps,
|
|
12
14
|
NavBarCoinCapsuleProps,
|
|
13
15
|
NavBarContentProps,
|