@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,7 +1,7 @@
|
|
|
1
|
-
import { Density } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
import { StyledViewProps } from '../../../styles';
|
|
4
|
-
import { IconButtonProps } from '../IconButton';
|
|
1
|
+
import type { Density } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
3
|
+
import type { StyledViewProps } from '../../../styles';
|
|
4
|
+
import type { IconButtonProps } from '../IconButton';
|
|
5
5
|
|
|
6
6
|
export type NavBarProps = {
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ import Animated, {
|
|
|
10
10
|
import { useStyleSheet, useTheme } from '../../../styles';
|
|
11
11
|
import { useTimingConfig } from '../../Animations/useTimingConfig';
|
|
12
12
|
import { Box } from '../Utility';
|
|
13
|
-
import { PageIndicatorProps } from './types';
|
|
13
|
+
import type { PageIndicatorProps } from './types';
|
|
14
14
|
|
|
15
15
|
const AnimatedBox = Animated.createAnimatedComponent(Box);
|
|
16
16
|
const MAX_VISIBLE_DOTS = 4;
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
|
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import { SearchInput } from './SearchInput';
|
|
5
|
-
import { SearchInputProps } from './types';
|
|
5
|
+
import type { SearchInputProps } from './types';
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof SearchInput> = {
|
|
8
8
|
component: SearchInput,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseInputProps } from '../BaseInput';
|
|
2
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { BaseInputProps } from '../BaseInput';
|
|
2
|
+
import type { BoxProps } from '../Utility';
|
|
3
3
|
|
|
4
4
|
export type SearchInputProps = Omit<BaseInputProps, 'prefix' | 'label'> &
|
|
5
5
|
BoxProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { LayoutChangeEvent } from 'react-native';
|
|
2
|
+
import type { LayoutChangeEvent } from 'react-native';
|
|
3
3
|
import Animated from 'react-native-reanimated';
|
|
4
4
|
import { useStyleSheet } from '../../../styles';
|
|
5
5
|
import type { LumenTextStyle, LumenTypographyTokenName } from '../../../styles';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { LumenTextStyle, StyledPressableProps } from '../../../styles';
|
|
3
|
-
import { IconSize } from '../Icon';
|
|
4
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { LumenTextStyle, StyledPressableProps } from '../../../styles';
|
|
3
|
+
import type { IconSize } from '../Icon';
|
|
4
|
+
import type { BoxProps } from '../Utility';
|
|
5
5
|
|
|
6
6
|
export type SegmentedControlProps = {
|
|
7
7
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
1
2
|
import React, {
|
|
2
3
|
Children,
|
|
3
4
|
isValidElement,
|
|
4
|
-
ReactNode,
|
|
5
5
|
useCallback,
|
|
6
6
|
useEffect,
|
|
7
7
|
useMemo,
|
|
8
8
|
useRef,
|
|
9
9
|
} from 'react';
|
|
10
|
-
import { LayoutChangeEvent } from 'react-native';
|
|
10
|
+
import type { LayoutChangeEvent } from 'react-native';
|
|
11
11
|
import {
|
|
12
12
|
useAnimatedStyle,
|
|
13
13
|
useSharedValue,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSafeContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import { useState, useRef, useMemo } from 'react';
|
|
4
|
+
import type { SelectData } from './types';
|
|
4
5
|
|
|
5
6
|
type GlobalSelectBottomSheetContextValue = {
|
|
6
7
|
currentSelect: SelectData | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
import {
|
|
3
4
|
useState,
|
|
4
5
|
useEffect,
|
|
@@ -6,7 +7,6 @@ import {
|
|
|
6
7
|
useId,
|
|
7
8
|
Children,
|
|
8
9
|
isValidElement,
|
|
9
|
-
ReactNode,
|
|
10
10
|
} from 'react';
|
|
11
11
|
import { StyleSheet, View } from 'react-native';
|
|
12
12
|
import { useStyleSheet } from '../../../styles';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSafeContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { SelectContentItem } from './types';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { SelectContentItem } from './types';
|
|
4
4
|
|
|
5
5
|
export type SelectContextValue = {
|
|
6
6
|
selectId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PressableProps } from 'react-native';
|
|
3
|
-
import {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PressableProps } from 'react-native';
|
|
3
|
+
import type {
|
|
4
4
|
StyledViewProps,
|
|
5
5
|
StyledPressableProps,
|
|
6
6
|
StyledTextProps,
|
|
7
7
|
} from '../../../styles';
|
|
8
|
-
import { BoxProps } from '../Utility';
|
|
8
|
+
import type { BoxProps } from '../Utility';
|
|
9
9
|
|
|
10
10
|
export type SelectProps = {
|
|
11
11
|
/**
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
ComponentRef,
|
|
3
|
-
isValidElement,
|
|
4
|
-
cloneElement,
|
|
5
3
|
ComponentPropsWithoutRef,
|
|
6
4
|
ComponentPropsWithRef,
|
|
7
5
|
} from 'react';
|
|
8
|
-
import {
|
|
6
|
+
import { isValidElement, cloneElement } from 'react';
|
|
7
|
+
import type {
|
|
9
8
|
View,
|
|
10
9
|
Pressable,
|
|
11
10
|
Text,
|
|
@@ -15,10 +14,10 @@ import {
|
|
|
15
14
|
TextProps,
|
|
16
15
|
ImageProps,
|
|
17
16
|
StyleProp,
|
|
18
|
-
StyleSheet,
|
|
19
17
|
PressableStateCallbackType,
|
|
20
18
|
ImageStyle as RNImageStyle,
|
|
21
19
|
} from 'react-native';
|
|
20
|
+
import { StyleSheet } from 'react-native';
|
|
22
21
|
|
|
23
22
|
const SlotPressable = ({
|
|
24
23
|
ref,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import Svg, { Path } from 'react-native-svg';
|
|
2
2
|
import { useCommonTranslation } from '../../../i18n';
|
|
3
|
-
import { LumenTextStyle
|
|
3
|
+
import type { LumenTextStyle } from '../../../styles';
|
|
4
|
+
import { useResolveTextStyle, useTheme } from '../../../styles';
|
|
4
5
|
import { Spin } from '../../Animations/Spin';
|
|
5
6
|
import { Box } from '../Utility';
|
|
6
|
-
import { SpinnerProps } from './types';
|
|
7
|
+
import type { SpinnerProps } from './types';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* A basic spinner component for loading states.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LumenTextStyle } from '../../../styles';
|
|
2
|
-
import { IconSize } from '../Icon';
|
|
3
|
-
import { TextProps } from '../Utility';
|
|
1
|
+
import type { LumenTextStyle } from '../../../styles';
|
|
2
|
+
import type { IconSize } from '../Icon';
|
|
3
|
+
import type { TextProps } from '../Utility';
|
|
4
4
|
|
|
5
5
|
export type SpinnerProps = {
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
|
|
2
2
|
import { Settings, Plus, Heart, Star } from '../../Symbols';
|
|
3
|
-
import { IconProps } from '../Icon';
|
|
3
|
+
import type { IconProps } from '../Icon';
|
|
4
4
|
import { Box, Text } from '../Utility';
|
|
5
5
|
import { Spot } from './Spot';
|
|
6
|
-
import { SpotProps } from './types';
|
|
6
|
+
import type { SpotProps } from './types';
|
|
7
7
|
|
|
8
8
|
const meta: Meta<typeof Spot> = {
|
|
9
9
|
component: Spot,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { StyleSheet, Text } from 'react-native';
|
|
4
|
-
import { LumenTypographyTokens
|
|
4
|
+
import type { LumenTypographyTokens } from '../../../styles';
|
|
5
|
+
import { useStyleSheet } from '../../../styles';
|
|
5
6
|
import {
|
|
6
7
|
BluetoothCircleFill,
|
|
7
8
|
CheckmarkCircleFill,
|
|
@@ -9,10 +10,11 @@ import {
|
|
|
9
10
|
InformationFill,
|
|
10
11
|
WarningFill,
|
|
11
12
|
} from '../../Symbols';
|
|
12
|
-
import { IconSize } from '../Icon/types';
|
|
13
|
-
import {
|
|
13
|
+
import type { IconSize } from '../Icon/types';
|
|
14
|
+
import type { SpinnerProps } from '../Spinner';
|
|
15
|
+
import { Spinner } from '../Spinner';
|
|
14
16
|
import { Box } from '../Utility';
|
|
15
|
-
import { SpotAppearance, SpotProps, SpotSize } from './types';
|
|
17
|
+
import type { SpotAppearance, SpotProps, SpotSize } from './types';
|
|
16
18
|
|
|
17
19
|
const BLUETOOTH_COLOR = '#0082FC';
|
|
18
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../styles';
|
|
3
|
-
import { IconProps } from '../Icon';
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../styles';
|
|
3
|
+
import type { IconProps } from '../Icon';
|
|
4
4
|
|
|
5
5
|
export type SpotAppearance =
|
|
6
6
|
| 'icon'
|
|
@@ -15,7 +15,7 @@ import { useTheme } from '../../../styles';
|
|
|
15
15
|
import { useTimingConfig } from '../../Animations/useTimingConfig';
|
|
16
16
|
import { Box } from '../Utility/Box';
|
|
17
17
|
import { Text } from '../Utility/Text';
|
|
18
|
-
import { StepperProps } from './types';
|
|
18
|
+
import type { StepperProps } from './types';
|
|
19
19
|
|
|
20
20
|
const SIZE = 48;
|
|
21
21
|
const STROKE_WIDTH = 4;
|
|
@@ -3,7 +3,7 @@ import { useStyleSheet } from '../../../styles';
|
|
|
3
3
|
import { ChevronRight, Information } from '../../Symbols';
|
|
4
4
|
import { InteractiveIcon } from '../InteractiveIcon';
|
|
5
5
|
import { Box, Pressable, Text } from '../Utility';
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
SubheaderCountProps,
|
|
8
8
|
SubheaderDescriptionProps,
|
|
9
9
|
SubheaderInfoProps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
|
-
import { InteractiveIconProps } from '../InteractiveIcon';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
|
+
import type { InteractiveIconProps } from '../InteractiveIcon';
|
|
4
4
|
|
|
5
5
|
export type SubheaderProps = {
|
|
6
6
|
/**
|
|
@@ -14,10 +14,10 @@ import Animated, {
|
|
|
14
14
|
import { useStyleSheet } from '../../../styles';
|
|
15
15
|
import { useTimingConfig } from '../../Animations/useTimingConfig';
|
|
16
16
|
|
|
17
|
-
import { SlottablePressableProps, SlottableViewProps } from '../../types';
|
|
17
|
+
import type { SlottablePressableProps, SlottableViewProps } from '../../types';
|
|
18
18
|
import { SlotPressable, SlotView } from '../Slot';
|
|
19
19
|
|
|
20
|
-
import { SwitchProps } from './types';
|
|
20
|
+
import type { SwitchProps } from './types';
|
|
21
21
|
|
|
22
22
|
const ROOT_COMPONENT_NAME = 'BaseSwitch';
|
|
23
23
|
const THUMB_COMPONENT_NAME = 'BaseSwitchThumb';
|
|
@@ -3,7 +3,7 @@ import { useControllableState } from '../../utils';
|
|
|
3
3
|
import { Pressable } from '../Utility';
|
|
4
4
|
import { BaseSwitchThumb, BaseSwitchRoot } from './BaseSwitch';
|
|
5
5
|
|
|
6
|
-
import { SwitchProps } from './types';
|
|
6
|
+
import type { SwitchProps } from './types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The switch follows the design system tokens and supports checked, unchecked,
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import { BlurView } from '@sbaiahmed1/react-native-blur';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
import {
|
|
3
4
|
Children,
|
|
4
5
|
isValidElement,
|
|
5
|
-
ReactNode,
|
|
6
6
|
useCallback,
|
|
7
7
|
useEffect,
|
|
8
8
|
useRef,
|
|
9
9
|
} from 'react';
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
Platform,
|
|
13
|
-
StyleSheet,
|
|
14
|
-
Text,
|
|
15
|
-
View,
|
|
16
|
-
} from 'react-native';
|
|
10
|
+
import type { LayoutChangeEvent } from 'react-native';
|
|
11
|
+
import { Platform, StyleSheet, Text, View } from 'react-native';
|
|
17
12
|
import Animated, {
|
|
18
13
|
cancelAnimation,
|
|
19
14
|
useAnimatedStyle,
|
|
@@ -27,7 +22,7 @@ import { useTimingConfig } from '../../Animations/useTimingConfig';
|
|
|
27
22
|
import { Placeholder } from '../../Symbols';
|
|
28
23
|
import { Box, Pressable } from '../Utility';
|
|
29
24
|
import { TabBarContextProvider, useTabBarContext } from './TabBarContext';
|
|
30
|
-
import { TabBarItemProps, TabBarProps } from './types';
|
|
25
|
+
import type { TabBarItemProps, TabBarProps } from './types';
|
|
31
26
|
|
|
32
27
|
export const TAB_BAR_HEIGHT = 60;
|
|
33
28
|
const PILL_INSET = 4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../styles';
|
|
3
|
-
import { IconSize } from '../Icon';
|
|
4
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../styles';
|
|
3
|
+
import type { IconSize } from '../Icon';
|
|
4
|
+
import type { BoxProps } from '../Utility';
|
|
5
5
|
|
|
6
6
|
type IconComponent = ComponentType<{
|
|
7
7
|
size?: IconSize;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { StyleSheet, Text } from 'react-native';
|
|
3
3
|
import { useStyleSheet } from '../../../styles';
|
|
4
|
-
import { IconSize } from '../Icon';
|
|
4
|
+
import type { IconSize } from '../Icon';
|
|
5
5
|
import { Box } from '../Utility';
|
|
6
|
-
import { TagProps } from './types';
|
|
6
|
+
import type { TagProps } from './types';
|
|
7
7
|
|
|
8
8
|
type Appearance = NonNullable<TagProps['appearance']>;
|
|
9
9
|
type Size = NonNullable<TagProps['size']>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../styles';
|
|
3
|
-
import { IconProps } from '../Icon';
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../styles';
|
|
3
|
+
import type { IconProps } from '../Icon';
|
|
4
4
|
|
|
5
5
|
export type TagProps = {
|
|
6
6
|
/**
|
|
@@ -5,7 +5,7 @@ import { LumenStyleSheetProvider } from '../../../styles';
|
|
|
5
5
|
|
|
6
6
|
import { GlobalSelectProvider } from '../Select/GlobalSelectContext';
|
|
7
7
|
import { GlobalTooltipProvider } from '../Tooltip/GlobalTooltipContext';
|
|
8
|
-
import { ThemeProviderProps } from './types';
|
|
8
|
+
import type { ThemeProviderProps } from './types';
|
|
9
9
|
|
|
10
10
|
const [ThemeContextProvider] = createSafeContext('ThemeProvider');
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { ColorSchemeName } from 'react-native';
|
|
3
|
-
import { SupportedLocale } from '../../../i18n/languages';
|
|
4
|
-
import { LumenThemes } from '../../../styles';
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import type { ColorSchemeName } from 'react-native';
|
|
3
|
+
import type { SupportedLocale } from '../../../i18n/languages';
|
|
4
|
+
import type { LumenThemes } from '../../../styles';
|
|
5
5
|
|
|
6
6
|
export type ThemeProviderProps = PropsWithChildren & {
|
|
7
7
|
/**
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
isTextChildren,
|
|
4
4
|
useDisabledContext,
|
|
5
5
|
} from '@ledgerhq/lumen-utils-shared';
|
|
6
|
-
import { ReactNode } from 'react';
|
|
6
|
+
import type { ReactNode } from 'react';
|
|
7
7
|
import { StyleSheet, View } from 'react-native';
|
|
8
8
|
import { useStyleSheet } from '../../../styles';
|
|
9
9
|
import { Box, Pressable, Text } from '../Utility';
|
|
10
|
-
import {
|
|
10
|
+
import type {
|
|
11
11
|
TileContentProps,
|
|
12
12
|
TileDescriptionProps,
|
|
13
13
|
TileProps,
|
|
@@ -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 { Settings } from '../../Symbols';
|
|
7
7
|
import { ThemeProvider } from '../ThemeProvider/ThemeProvider';
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
isTextChildren,
|
|
3
3
|
useDisabledContext,
|
|
4
4
|
} from '@ledgerhq/lumen-utils-shared';
|
|
5
|
-
import { FC, PropsWithChildren } from 'react';
|
|
5
|
+
import type { FC, PropsWithChildren } from 'react';
|
|
6
6
|
import { StyleSheet, View } from 'react-native';
|
|
7
7
|
import { useStyleSheet } from '../../../styles';
|
|
8
|
-
import { IconSize } from '../Icon';
|
|
8
|
+
import type { IconSize } from '../Icon';
|
|
9
9
|
import { Pressable, Text } from '../Utility';
|
|
10
|
-
import { TileButtonProps } from './types';
|
|
10
|
+
import type { TileButtonProps } from './types';
|
|
11
11
|
|
|
12
12
|
const ICON_SIZE: IconSize = 20;
|
|
13
13
|
|
|
@@ -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 TileButtonProps = {
|
|
7
7
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSafeContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import {
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import { useState, useCallback, useRef, useMemo } from 'react';
|
|
3
4
|
|
|
4
5
|
export type TooltipData = {
|
|
5
6
|
id: string;
|
|
@@ -3,8 +3,8 @@ import { Pressable } from 'react-native';
|
|
|
3
3
|
import { useControllableState } from '../../utils';
|
|
4
4
|
import { SlotPressable } from '../Slot';
|
|
5
5
|
import { useTooltipActions } from './GlobalTooltipContext';
|
|
6
|
+
import type { TooltipContentData } from './TooltipContext';
|
|
6
7
|
import {
|
|
7
|
-
TooltipContentData,
|
|
8
8
|
TooltipContextProvider,
|
|
9
9
|
useTooltipSafeContext,
|
|
10
10
|
} from './TooltipContext';
|
|
@@ -2,7 +2,8 @@ import { describe, it, expect } from '@jest/globals';
|
|
|
2
2
|
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
3
3
|
import { render, screen } from '@testing-library/react-native';
|
|
4
4
|
import { createRef } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import type { View } from 'react-native';
|
|
6
|
+
import { Text } from 'react-native';
|
|
6
7
|
|
|
7
8
|
import { ThemeProvider } from '../../../ThemeProvider/ThemeProvider';
|
|
8
9
|
import { LinearGradient } from './LinearGradient';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../../../styles';
|
|
3
|
-
import { GradientStop } from '../gradient.types';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../../../styles';
|
|
3
|
+
import type { GradientStop } from '../gradient.types';
|
|
4
4
|
|
|
5
5
|
export type GradientCoordinates = {
|
|
6
6
|
x1: string;
|
|
@@ -2,7 +2,8 @@ import { describe, it, expect } from '@jest/globals';
|
|
|
2
2
|
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
3
3
|
import { render, screen } from '@testing-library/react-native';
|
|
4
4
|
import { createRef } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import type { View } from 'react-native';
|
|
6
|
+
import { Text } from 'react-native';
|
|
6
7
|
|
|
7
8
|
import { ThemeProvider } from '../../../ThemeProvider/ThemeProvider';
|
|
8
9
|
import { RadialGradient } from './RadialGradient';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../../../styles';
|
|
3
|
-
import { GradientStop } from '../gradient.types';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../../../styles';
|
|
3
|
+
import type { GradientStop } from '../gradient.types';
|
|
4
4
|
export type RadialGradientCenter = {
|
|
5
5
|
/**
|
|
6
6
|
* Horizontal position (0 = left, 1 = right)
|
|
@@ -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 { View, ViewStyle } from 'react-native';
|
|
6
|
+
import { Text } from 'react-native';
|
|
6
7
|
|
|
7
8
|
import { ThemeProvider } from '../../ThemeProvider/ThemeProvider';
|
|
8
9
|
import { Pressable } from './Pressable';
|