@ledgerhq/react-ui 0.53.0 → 0.53.1-nightly.20260902021544
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -6
- package/lib/assets/logos/LedgerLiveAltRegular.d.ts.map +1 -1
- package/lib/assets/logos/LedgerLiveRegular.d.ts.map +1 -1
- package/lib/cjs/components/animations/GlitchText/index.js +16 -42
- package/lib/cjs/components/animations/GlitchText/index.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioElement.js +2 -2
- package/lib/cjs/components/form/Radio/RadioElement.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioListElement.js +2 -2
- package/lib/cjs/components/form/Radio/RadioListElement.js.map +1 -1
- package/lib/cjs/components/form/Radio/index.js +2 -2
- package/lib/cjs/components/form/Radio/index.js.map +1 -1
- package/lib/cjs/components/form/index.js +2 -2
- package/lib/cjs/components/form/index.js.map +1 -1
- package/lib/cjs/components/index.js +2 -2
- package/lib/cjs/components/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/bullets.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/types.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/variantDefault.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/index.js.map +1 -1
- package/lib/cjs/components/layout/index.js.map +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/components/Table/index.d.ts +5 -11
- package/lib/components/Table/index.d.ts.map +1 -1
- package/lib/components/asorted/Divider/index.d.ts.map +1 -1
- package/lib/components/asorted/Icon/BoxedIcon.d.ts.map +1 -1
- package/lib/components/asorted/Icon/Icon.d.ts.map +1 -1
- package/lib/components/asorted/Text/index.d.ts.map +1 -1
- package/lib/components/cta/Button/index.d.ts.map +1 -1
- package/lib/components/cta/Link/index.d.ts.map +1 -1
- package/lib/components/cta/Toggle/index.d.ts.map +1 -1
- package/lib/components/form/BaseInput/index.d.ts +2 -2
- package/lib/components/form/BaseInput/index.d.ts.map +1 -1
- package/lib/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/form/LegendInput/index.d.ts +2 -2
- package/lib/components/form/LegendInput/index.d.ts.map +1 -1
- package/lib/components/form/NumberInput/index.d.ts +2 -2
- package/lib/components/form/NumberInput/index.d.ts.map +1 -1
- package/lib/components/form/QrCodeInput/index.d.ts +2 -2
- package/lib/components/form/QrCodeInput/index.d.ts.map +1 -1
- package/lib/components/form/QuantityInput/index.d.ts +2 -2
- package/lib/components/form/QuantityInput/index.d.ts.map +1 -1
- package/lib/components/form/Radio/RadioElement.d.ts +6 -5
- package/lib/components/form/Radio/RadioElement.d.ts.map +1 -1
- package/lib/components/form/Radio/RadioElement.js +1 -1
- package/lib/components/form/Radio/RadioElement.js.map +1 -1
- package/lib/components/form/Radio/RadioListElement.d.ts +5 -5
- package/lib/components/form/Radio/RadioListElement.d.ts.map +1 -1
- package/lib/components/form/Radio/RadioListElement.js +1 -1
- package/lib/components/form/Radio/RadioListElement.js.map +1 -1
- package/lib/components/form/Radio/index.d.ts +7 -16
- package/lib/components/form/Radio/index.d.ts.map +1 -1
- package/lib/components/form/SearchInput/index.d.ts +2 -2
- package/lib/components/form/SearchInput/index.d.ts.map +1 -1
- package/lib/components/form/SelectInput/index.d.ts.map +1 -1
- package/lib/components/form/Switch/Switch.d.ts.map +1 -1
- package/lib/components/layout/Box/index.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/Pagination/bullets.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/Pagination/index.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/Pagination/types.d.ts +4 -4
- package/lib/components/layout/Carousel/Footer/Pagination/types.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/Pagination/types.js.map +1 -1
- package/lib/components/layout/Carousel/Footer/Pagination/utils.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/index.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/variantContentCard.d.ts.map +1 -1
- package/lib/components/layout/Carousel/Footer/variantDefault.d.ts.map +1 -1
- package/lib/components/layout/Carousel/index.d.ts.map +1 -1
- package/lib/components/layout/Drawer/index.d.ts.map +1 -1
- package/lib/components/layout/Flex/index.d.ts +1 -1
- package/lib/components/layout/Flex/index.d.ts.map +1 -1
- package/lib/components/layout/Grid/index.d.ts.map +1 -1
- package/lib/components/layout/List/VerticalTimeline/TimelineIndicator.d.ts +0 -3
- package/lib/components/layout/List/VerticalTimeline/TimelineIndicator.d.ts.map +1 -1
- package/lib/components/layout/List/VerticalTimeline/TimelineItem.d.ts.map +1 -1
- package/lib/components/layout/List/VerticalTimeline/index.d.ts.map +1 -1
- package/lib/components/layout/Popin/index.d.ts +26 -23
- package/lib/components/layout/Popin/index.d.ts.map +1 -1
- package/lib/components/layout/Side/Provider.d.ts.map +1 -1
- package/lib/components/layout/Side/index.d.ts.map +1 -1
- package/lib/components/message/Alert/index.d.ts +12 -10
- package/lib/components/message/Alert/index.d.ts.map +1 -1
- package/lib/components/message/ContinueOnDevice/index.d.ts.map +1 -1
- package/lib/components/message/Log/index.d.ts.map +1 -1
- package/lib/components/message/Notification/index.d.ts.map +1 -1
- package/lib/components/message/StatusNotification/index.d.ts.map +1 -1
- package/lib/components/message/Tooltip/styles.d.ts.map +1 -1
- package/lib/components/navigation/Aside/index.d.ts +1 -1
- package/lib/components/navigation/Breadcrumb/index.d.ts.map +1 -1
- package/lib/components/navigation/FlowStepper/index.d.ts +3 -6
- package/lib/components/navigation/FlowStepper/index.d.ts.map +1 -1
- package/lib/components/navigation/progress/ProgressBar/Onboarding.d.ts.map +1 -1
- package/lib/components/navigation/progress/Stepper/index.d.ts.map +1 -1
- package/lib/components/navigation/sideBar/Item/Item.d.ts.map +1 -1
- package/lib/components/navigation/sideBar/Logo/Logo.d.ts.map +1 -1
- package/lib/components/navigation/sideBar/SideBar/SideBar.d.ts +5 -4
- package/lib/components/navigation/sideBar/SideBar/SideBar.d.ts.map +1 -1
- package/lib/components/navigation/sideBar/Toggle/Toggle.d.ts.map +1 -1
- package/lib/components/navigation/sideBar/index.d.ts.map +1 -1
- package/lib/components/styled.d.ts.map +1 -1
- package/lib/components/transitions/TransitionInOut.d.ts.map +1 -1
- package/lib/components/transitions/TransitionScale.d.ts.map +1 -1
- package/lib/components/transitions/TransitionSlide.d.ts.map +1 -1
- package/lib/helpers.d.ts.map +1 -1
- package/lib/pre-ldls/components/AccountItem/AccountItem.d.ts.map +1 -1
- package/lib/pre-ldls/components/AccountList/AccountList.d.ts.map +1 -1
- package/lib/pre-ldls/components/Address/Address.d.ts.map +1 -1
- package/lib/pre-ldls/components/Address/formatAddress.d.ts.map +1 -1
- package/lib/pre-ldls/components/Address/formatAddress.js.map +1 -1
- package/lib/pre-ldls/components/CardButton/CardButton.d.ts.map +1 -1
- package/lib/pre-ldls/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/pre-ldls/components/Tag/Tag.d.ts.map +1 -1
- package/lib/pre-ldls/components/Tag/Tag.js +1 -1
- package/lib/pre-ldls/components/Tag/Tag.js.map +1 -1
- package/lib/pre-ldls/components/VirtualList/VirtualList.d.ts.map +1 -1
- package/lib/pre-ldls/libs/design-tokens.d.ts.map +1 -1
- package/lib/pre-ldls/libs/index.d.ts.map +1 -1
- package/lib/styles/InvertTheme.d.ts.map +1 -1
- package/lib/styles/StyleProvider.d.ts.map +1 -1
- package/lib/styles/helpers.d.ts.map +1 -1
- package/lib/styles/styled/fontFamily.d.ts +3 -3
- package/lib/styles/styled/fontFamily.d.ts.map +1 -1
- package/lib/styles/system/gaps.d.ts.map +1 -1
- package/lib/styles/theme.d.ts.map +1 -1
- package/package.json +14 -24
- package/lib/cjs/components/Table/Table.stories.js +0 -1985
- package/lib/cjs/components/Table/Table.stories.js.map +0 -1
- package/lib/cjs/components/Table/stories.helper.js +0 -1188
- package/lib/cjs/components/Table/stories.helper.js.map +0 -1
- package/lib/cjs/components/Tag/Tag.stories.js +0 -918
- package/lib/cjs/components/Tag/Tag.stories.js.map +0 -1
- package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js +0 -905
- package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Divider/Divider.stories.js +0 -794
- package/lib/cjs/components/asorted/Divider/Divider.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js +0 -393
- package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Icon/Icons.stories.js +0 -789
- package/lib/cjs/components/asorted/Icon/Icons.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js +0 -1472
- package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js +0 -348
- package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js.map +0 -1
- package/lib/cjs/components/asorted/Text/Text.stories.js +0 -836
- package/lib/cjs/components/asorted/Text/Text.stories.js.map +0 -1
- package/lib/cjs/components/cta/Button/Button.stories.js +0 -1286
- package/lib/cjs/components/cta/Button/Button.stories.js.map +0 -1
- package/lib/cjs/components/cta/Link/Link.stories.js +0 -911
- package/lib/cjs/components/cta/Link/Link.stories.js.map +0 -1
- package/lib/cjs/components/cta/Toggle/Toggle.stories.js +0 -873
- package/lib/cjs/components/cta/Toggle/Toggle.stories.js.map +0 -1
- package/lib/cjs/components/form/BaseInput/Input.stories.js +0 -1310
- package/lib/cjs/components/form/BaseInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/Checkbox/Checkbox.stories.js +0 -909
- package/lib/cjs/components/form/Checkbox/Checkbox.stories.js.map +0 -1
- package/lib/cjs/components/form/Dropdown/Dropdown.stories.js +0 -1758
- package/lib/cjs/components/form/Dropdown/Dropdown.stories.js.map +0 -1
- package/lib/cjs/components/form/LegendInput/Input.stories.js +0 -1283
- package/lib/cjs/components/form/LegendInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/NumberInput/Input.stories.js +0 -1341
- package/lib/cjs/components/form/NumberInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/QrCodeInput/Input.stories.js +0 -1305
- package/lib/cjs/components/form/QrCodeInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/QuantityInput/Input.stories.js +0 -1332
- package/lib/cjs/components/form/QuantityInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/Radio/Radio.stories.js +0 -1196
- package/lib/cjs/components/form/Radio/Radio.stories.js.map +0 -1
- package/lib/cjs/components/form/Radio/RadioElement.stories.js +0 -1084
- package/lib/cjs/components/form/Radio/RadioElement.stories.js.map +0 -1
- package/lib/cjs/components/form/Radio/RadioListElement.stories.js +0 -1052
- package/lib/cjs/components/form/Radio/RadioListElement.stories.js.map +0 -1
- package/lib/cjs/components/form/SearchInput/Input.stories.js +0 -1278
- package/lib/cjs/components/form/SearchInput/Input.stories.js.map +0 -1
- package/lib/cjs/components/form/SelectInput/Select.stories.js +0 -2175
- package/lib/cjs/components/form/SelectInput/Select.stories.js.map +0 -1
- package/lib/cjs/components/form/SplitInput/SplitInput.stories.js +0 -2020
- package/lib/cjs/components/form/SplitInput/SplitInput.stories.js.map +0 -1
- package/lib/cjs/components/form/Switch/Switch.stories.js +0 -940
- package/lib/cjs/components/form/Switch/Switch.stories.js.map +0 -1
- package/lib/cjs/components/form/TabSelector/TabSelector.stories.js +0 -837
- package/lib/cjs/components/form/TabSelector/TabSelector.stories.js.map +0 -1
- package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js +0 -1625
- package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js.map +0 -1
- package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js +0 -1110
- package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js.map +0 -1
- package/lib/cjs/components/layout/Box/Box.stories.js +0 -221
- package/lib/cjs/components/layout/Box/Box.stories.js.map +0 -1
- package/lib/cjs/components/layout/Carousel/Carousel.stories.js +0 -2064
- package/lib/cjs/components/layout/Carousel/Carousel.stories.js.map +0 -1
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js +0 -1514
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js.map +0 -1
- package/lib/cjs/components/layout/Drawer/Drawer.stories.js +0 -1482
- package/lib/cjs/components/layout/Drawer/Drawer.stories.js.map +0 -1
- package/lib/cjs/components/layout/Flex/Flex.stories.js +0 -491
- package/lib/cjs/components/layout/Flex/Flex.stories.js.map +0 -1
- package/lib/cjs/components/layout/Grid/Grid.stories.js +0 -959
- package/lib/cjs/components/layout/Grid/Grid.stories.js.map +0 -1
- package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js +0 -928
- package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js.map +0 -1
- package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js +0 -1884
- package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js.map +0 -1
- package/lib/cjs/components/layout/Popin/Popin.stories.js +0 -1478
- package/lib/cjs/components/layout/Popin/Popin.stories.js.map +0 -1
- package/lib/cjs/components/layout/Side/Side.stories.js +0 -1623
- package/lib/cjs/components/layout/Side/Side.stories.js.map +0 -1
- package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js +0 -262
- package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js.map +0 -1
- package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js +0 -862
- package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js.map +0 -1
- package/lib/cjs/components/message/Alert/Alert.stories.js +0 -1345
- package/lib/cjs/components/message/Alert/Alert.stories.js.map +0 -1
- package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js +0 -854
- package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js.map +0 -1
- package/lib/cjs/components/message/Log/Log.stories.js +0 -839
- package/lib/cjs/components/message/Log/Log.stories.js.map +0 -1
- package/lib/cjs/components/message/Notification/Badge.stories.js +0 -319
- package/lib/cjs/components/message/Notification/Badge.stories.js.map +0 -1
- package/lib/cjs/components/message/Notification/Notification.stories.js +0 -1085
- package/lib/cjs/components/message/Notification/Notification.stories.js.map +0 -1
- package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js +0 -977
- package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js.map +0 -1
- package/lib/cjs/components/message/Tip/Tip.stories.js +0 -812
- package/lib/cjs/components/message/Tip/Tip.stories.js.map +0 -1
- package/lib/cjs/components/message/Tooltip/Tooltip.stories.js +0 -853
- package/lib/cjs/components/message/Tooltip/Tooltip.stories.js.map +0 -1
- package/lib/cjs/components/navigation/Aside/Aside.stories.js +0 -961
- package/lib/cjs/components/navigation/Aside/Aside.stories.js.map +0 -1
- package/lib/cjs/components/navigation/Aside/stories.helper.js +0 -48
- package/lib/cjs/components/navigation/Aside/stories.helper.js.map +0 -1
- package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js +0 -1953
- package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js.map +0 -1
- package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js +0 -2054
- package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js.map +0 -1
- package/lib/cjs/components/navigation/Header/Header.stories.js +0 -815
- package/lib/cjs/components/navigation/Header/Header.stories.js.map +0 -1
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js +0 -822
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js.map +0 -1
- package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js +0 -907
- package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js.map +0 -1
- package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js +0 -927
- package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js.map +0 -1
- package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js +0 -1030
- package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js.map +0 -1
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js +0 -1318
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js.map +0 -1
- package/lib/cjs/components/styled.stories.js +0 -200
- package/lib/cjs/components/styled.stories.js.map +0 -1
- package/lib/cjs/components/tabs/Bar/Bar.stories.js +0 -808
- package/lib/cjs/components/tabs/Bar/Bar.stories.js.map +0 -1
- package/lib/cjs/components/tabs/Chip/Chip.stories.js +0 -818
- package/lib/cjs/components/tabs/Chip/Chip.stories.js.map +0 -1
- package/lib/cjs/components/tabs/Pill/Pill.stories.js +0 -873
- package/lib/cjs/components/tabs/Pill/Pill.stories.js.map +0 -1
- package/lib/cjs/components/tabs/Tabs/Tabs.stories.js +0 -1061
- package/lib/cjs/components/tabs/Tabs/Tabs.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js +0 -2372
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js +0 -2513
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Address/Address.stories.js +0 -1873
- package/lib/cjs/pre-ldls/components/Address/Address.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js +0 -1282
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js +0 -1263
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js +0 -1834
- package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js +0 -1498
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js +0 -606
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/sharedStoryBook.js +0 -1819
- package/lib/cjs/pre-ldls/components/sharedStoryBook.js.map +0 -1
- package/lib/cjs/styles/Spacing.stories.js +0 -759
- package/lib/cjs/styles/Spacing.stories.js.map +0 -1
- package/lib/cjs/styles/breakpoints.stories.js +0 -823
- package/lib/cjs/styles/breakpoints.stories.js.map +0 -1
- package/lib/cjs/styles/palettes/colors.stories.js +0 -785
- package/lib/cjs/styles/palettes/colors.stories.js.map +0 -1
- package/lib/components/Table/stories.helper.d.ts +0 -30
- package/lib/components/Table/stories.helper.d.ts.map +0 -1
- package/lib/components/Table/stories.helper.js +0 -185
- package/lib/components/Table/stories.helper.js.map +0 -1
- package/lib/components/navigation/Aside/stories.helper.d.ts +0 -3
- package/lib/components/navigation/Aside/stories.helper.d.ts.map +0 -1
- package/lib/components/navigation/Aside/stories.helper.js +0 -3
- package/lib/components/navigation/Aside/stories.helper.js.map +0 -1
- package/lib/pre-ldls/components/sharedStoryBook.d.ts +0 -5
- package/lib/pre-ldls/components/sharedStoryBook.d.ts.map +0 -1
- package/lib/pre-ldls/components/sharedStoryBook.js +0 -15
- package/lib/pre-ldls/components/sharedStoryBook.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
# `@ledgerhq/react-ui`
|
|
2
2
|
|
|
3
|
-
[!
|
|
4
|
-
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> **Status: DEPRECATED** — Deprecated. Migrate to `@ledgerhq/lumen-ui-react`.
|
|
5
5
|
|
|
6
|
+
[](https://www.npmjs.com/package/@ledgerhq/react-ui)
|
|
6
7
|
### Design and interface resources for React
|
|
7
8
|
|
|
8
9
|
#### This package contains [React](https://reactjs.org/) components and styles built on top of our design system and used internally at [Ledger](https://www.ledger.com/).
|
|
9
10
|
|
|
10
|
-
## Reference
|
|
11
|
-
|
|
12
|
-
**[🔗 Storybook](https://react-ui-storybook.vercel.app)**
|
|
13
|
-
|
|
14
11
|
## Installation
|
|
15
12
|
|
|
16
13
|
### Package
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LedgerLiveAltRegular.d.ts","sourceRoot":"","sources":["../../../src/assets/logos/LedgerLiveAltRegular.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,oBAAoB,CAAC,EAC5B,KAAU,EACV,MAAW,EACX,KAAsB,GACvB,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAerC;
|
|
1
|
+
{"version":3,"file":"LedgerLiveAltRegular.d.ts","sourceRoot":"","sources":["../../../src/assets/logos/LedgerLiveAltRegular.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,oBAAoB,CAAC,EAC5B,KAAU,EACV,MAAW,EACX,KAAsB,GACvB,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAerC;eAEc,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LedgerLiveRegular.d.ts","sourceRoot":"","sources":["../../../src/assets/logos/LedgerLiveRegular.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,iBAAiB,CAAC,EACzB,KAAW,EACX,MAAW,EACX,KAAsB,GACvB,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8BrC;
|
|
1
|
+
{"version":3,"file":"LedgerLiveRegular.d.ts","sourceRoot":"","sources":["../../../src/assets/logos/LedgerLiveRegular.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,iBAAiB,CAAC,EACzB,KAAW,EACX,MAAW,EACX,KAAsB,GACvB,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8BrC;eAEc,iBAAiB"}
|
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
module.exports = require("react");
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
});
|
|
10
|
-
// The module cache
|
|
11
|
-
var __webpack_module_cache__ = {};
|
|
12
|
-
|
|
13
|
-
// The require function
|
|
14
|
-
function __webpack_require__(moduleId) {
|
|
15
|
-
|
|
16
|
-
// Check if module is in cache
|
|
17
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
18
|
-
if (cachedModule !== undefined) {
|
|
19
|
-
return cachedModule.exports;
|
|
20
|
-
}
|
|
21
|
-
// Create a new module (and put it into the cache)
|
|
22
|
-
var module = (__webpack_module_cache__[moduleId] = {
|
|
23
|
-
exports: {}
|
|
24
|
-
});
|
|
25
|
-
// Execute the module function
|
|
26
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
27
|
-
|
|
28
|
-
// Return the exports of the module
|
|
29
|
-
return module.exports;
|
|
30
|
-
|
|
31
|
-
}
|
|
3
|
+
// The require scope
|
|
4
|
+
var __webpack_require__ = {};
|
|
32
5
|
|
|
33
6
|
// webpack/runtime/compat_get_default_export
|
|
34
7
|
(() => {
|
|
@@ -71,11 +44,18 @@ __webpack_require__.r = (exports) => {
|
|
|
71
44
|
};
|
|
72
45
|
})();
|
|
73
46
|
var __webpack_exports__ = {};
|
|
74
|
-
//
|
|
75
|
-
(() => {
|
|
47
|
+
// ESM COMPAT FLAG
|
|
76
48
|
__webpack_require__.r(__webpack_exports__);
|
|
77
|
-
|
|
78
|
-
|
|
49
|
+
|
|
50
|
+
// EXPORTS
|
|
51
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
52
|
+
"default": () => (/* binding */ GlitchText)
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
;// CONCATENATED MODULE: external "react"
|
|
56
|
+
const external_react_namespaceObject = require("react");
|
|
57
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
58
|
+
;// CONCATENATED MODULE: ./src/components/animations/GlitchText/index.tsx
|
|
79
59
|
|
|
80
60
|
function makeRandomString(length) {
|
|
81
61
|
let result = "";
|
|
@@ -88,8 +68,8 @@ function makeRandomString(length) {
|
|
|
88
68
|
}
|
|
89
69
|
const INTERVAL = 77;
|
|
90
70
|
function GlitchText({ text, duration = 800, delay = 500 }) {
|
|
91
|
-
const [shownText, setShownText] = (0,
|
|
92
|
-
(0,
|
|
71
|
+
const [shownText, setShownText] = (0,external_react_namespaceObject.useState)(text);
|
|
72
|
+
(0,external_react_namespaceObject.useEffect)(()=>{
|
|
93
73
|
let frameT = 0;
|
|
94
74
|
const startFrame = Math.floor((1 + delay) / INTERVAL);
|
|
95
75
|
const totalFrames = Math.floor((delay + duration) / INTERVAL);
|
|
@@ -115,15 +95,9 @@ function GlitchText({ text, duration = 800, delay = 500 }) {
|
|
|
115
95
|
duration,
|
|
116
96
|
text
|
|
117
97
|
]);
|
|
118
|
-
return /*#__PURE__*/
|
|
98
|
+
return /*#__PURE__*/ external_react_default().createElement((external_react_default()).Fragment, null, shownText);
|
|
119
99
|
}
|
|
120
100
|
|
|
121
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
122
|
-
"default": () => (GlitchText)
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
})();
|
|
126
|
-
|
|
127
101
|
module.exports = __webpack_exports__;
|
|
128
102
|
})()
|
|
129
103
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/animations/GlitchText/index.js","sources":["webpack://@ledgerhq/react-ui/webpack/runtime/compat_get_default_export","webpack://@ledgerhq/react-ui/webpack/runtime/define_property_getters","webpack://@ledgerhq/react-ui/webpack/runtime/has_own_property","webpack://@ledgerhq/react-ui/webpack/runtime/make_namespace_object","webpack://@ledgerhq/react-ui/./src/components/animations/GlitchText/index.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React, { useEffect, useState } from \"react\";\n\nfunction makeRandomString(length: number) {\n let result = \"\";\n const characters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n const charactersLength = characters.length;\n for (let i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n}\n\nexport interface GlitchTextProps {\n text: string;\n duration?: number;\n delay?: number;\n}\n\nconst INTERVAL = 77;\n\nexport default function GlitchText({ text, duration = 800, delay = 500 }: GlitchTextProps) {\n const [shownText, setShownText] = useState(text);\n\n useEffect(() => {\n let frameT = 0;\n const startFrame = Math.floor((1 + delay) / INTERVAL);\n const totalFrames = Math.floor((delay + duration) / INTERVAL);\n const interval = setInterval(() => {\n if (frameT >= startFrame) {\n if (frameT >= totalFrames) {\n setShownText(text);\n clearInterval(interval);\n frameT = 0;\n return;\n }\n const t1 = text.substr(0, -totalFrames + frameT + text.length);\n const t2 = t1.length > 0 ? text.substr(t1.length, text.length) : text;\n setShownText(t1 + makeRandomString(t2.length));\n }\n frameT++;\n }, INTERVAL);\n\n return () => {\n interval && clearInterval(interval);\n };\n }, [delay, duration, text]);\n\n return <>{shownText}</>;\n}\n"],"names":["React","useEffect","useState","makeRandomString","length","result","characters","charactersLength","i","Math","INTERVAL","GlitchText","text","duration","delay","shownText","setShownText","frameT","startFrame","totalFrames","interval","setInterval","clearInterval","t1","t2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"components/animations/GlitchText/index.js","sources":["webpack://@ledgerhq/react-ui/webpack/runtime/compat_get_default_export","webpack://@ledgerhq/react-ui/webpack/runtime/define_property_getters","webpack://@ledgerhq/react-ui/webpack/runtime/has_own_property","webpack://@ledgerhq/react-ui/webpack/runtime/make_namespace_object","webpack://@ledgerhq/react-ui/./src/components/animations/GlitchText/index.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React, { useEffect, useState } from \"react\";\n\nfunction makeRandomString(length: number) {\n let result = \"\";\n const characters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n const charactersLength = characters.length;\n for (let i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n}\n\nexport interface GlitchTextProps {\n text: string;\n duration?: number;\n delay?: number;\n}\n\nconst INTERVAL = 77;\n\nexport default function GlitchText({ text, duration = 800, delay = 500 }: GlitchTextProps) {\n const [shownText, setShownText] = useState(text);\n\n useEffect(() => {\n let frameT = 0;\n const startFrame = Math.floor((1 + delay) / INTERVAL);\n const totalFrames = Math.floor((delay + duration) / INTERVAL);\n const interval = setInterval(() => {\n if (frameT >= startFrame) {\n if (frameT >= totalFrames) {\n setShownText(text);\n clearInterval(interval);\n frameT = 0;\n return;\n }\n const t1 = text.substr(0, -totalFrames + frameT + text.length);\n const t2 = t1.length > 0 ? text.substr(t1.length, text.length) : text;\n setShownText(t1 + makeRandomString(t2.length));\n }\n frameT++;\n }, INTERVAL);\n\n return () => {\n interval && clearInterval(interval);\n };\n }, [delay, duration, text]);\n\n return <>{shownText}</>;\n}\n"],"names":["React","useEffect","useState","makeRandomString","length","result","characters","charactersLength","i","Math","INTERVAL","GlitchText","text","duration","delay","shownText","setShownText","frameT","startFrame","totalFrames","interval","setInterval","clearInterval","t1","t2"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA,iCAAiC,WAAW;AAC5C;AACA;;;;;ACPA;AACA;AACA;AACA;AACA,0CAA0C,qCAAqC;AAC/E;AACA;AACA;AACA;AACA;AACA,E;;;;ACVA,wF;;;;ACAA;AACA;AACA;AACA,uDAAuD,iBAAiB;AACxE;AACA,gDAAgD,aAAa;AAC7D,E;;;;;;;;;;;;;;;ACNmD;AAEnD,SAASG,iBAAiBC,MAAc;IACtC,IAAIC,SAAS;IACb,MAAMC,aAAa;IACnB,MAAMC,mBAAmBD,WAAW,MAAM;IAC1C,IAAK,IAAIE,IAAI,GAAGA,IAAIJ,QAAQI,IAAK;QAC/BH,UAAUC,WAAW,MAAM,CAACG,KAAK,KAAK,CAACA,KAAK,MAAM,KAAKF;IACzD;IACA,OAAOF;AACT;AAQA,MAAMK,WAAW;AAEF,SAASC,WAAW,EAAEC,IAAI,EAAEC,WAAW,GAAG,EAAEC,QAAQ,GAAG,EAAmB;IACvF,MAAM,CAACC,WAAWC,aAAa,GAAGd,2CAAQA,CAACU;IAE3CX,4CAASA,CAAC;QACR,IAAIgB,SAAS;QACb,MAAMC,aAAaT,KAAK,KAAK,CAAE,KAAIK,KAAI,IAAKJ;QAC5C,MAAMS,cAAcV,KAAK,KAAK,CAAEK,CAAAA,QAAQD,QAAO,IAAKH;QACpD,MAAMU,WAAWC,YAAY;YAC3B,IAAIJ,UAAUC,YAAY;gBACxB,IAAID,UAAUE,aAAa;oBACzBH,aAAaJ;oBACbU,cAAcF;oBACdH,SAAS;oBACT;gBACF;gBACA,MAAMM,KAAKX,KAAK,MAAM,CAAC,GAAG,CAACO,cAAcF,SAASL,KAAK,MAAM;gBAC7D,MAAMY,KAAKD,GAAG,MAAM,GAAG,IAAIX,KAAK,MAAM,CAACW,GAAG,MAAM,EAAEX,KAAK,MAAM,IAAIA;gBACjEI,aAAaO,KAAKpB,iBAAiBqB,GAAG,MAAM;YAC9C;YACAP;QACF,GAAGP;QAEH,OAAO;YACLU,YAAYE,cAAcF;QAC5B;IACF,GAAG;QAACN;QAAOD;QAAUD;KAAK;IAE1B,qBAAO,kFAAGG;AACZ"}
|
|
@@ -393,7 +393,7 @@ const Element = ({ label, value, disabled, outlined, variant = "default", ...pro
|
|
|
393
393
|
variant: "paragraph"
|
|
394
394
|
}, label));
|
|
395
395
|
};
|
|
396
|
-
Element.displayName = "Radio.Element"; // For easy identification in the React devtools
|
|
396
|
+
Element.displayName = "Radio.Element"; // For easy identification in the React devtools
|
|
397
397
|
Element.Label = Label;
|
|
398
398
|
/* export default */ const __rspack_default_export = (Element);
|
|
399
399
|
|
|
@@ -474,7 +474,7 @@ const ListElement = ({ label, value, disabled, containerProps, ...props })=>{
|
|
|
474
474
|
disabled
|
|
475
475
|
})));
|
|
476
476
|
};
|
|
477
|
-
ListElement.displayName = "Radio.ListElement"; // For easy identification in the React devtools
|
|
477
|
+
ListElement.displayName = "Radio.ListElement"; // For easy identification in the React devtools
|
|
478
478
|
ListElement.Label = Label;
|
|
479
479
|
/* export default */ const __rspack_default_export = (ListElement);
|
|
480
480
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/form/Radio/RadioElement.js","sources":["webpack://@ledgerhq/react-ui/./src/components/asorted/Text/index.tsx","webpack://@ledgerhq/react-ui/./src/components/asorted/Text/styles.ts","webpack://@ledgerhq/react-ui/./src/components/form/Radio/RadioElement.tsx","webpack://@ledgerhq/react-ui/./src/components/form/Radio/RadioListElement.tsx","webpack://@ledgerhq/react-ui/./src/components/form/Radio/index.tsx","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts","webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/helpers.ts","webpack://@ledgerhq/react-ui/./src/styles/styled/fontFamily.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.ts","webpack://@ledgerhq/react-ui/./src/styles/theme.ts","webpack://@ledgerhq/react-ui/webpack/runtime/compat_get_default_export","webpack://@ledgerhq/react-ui/webpack/runtime/define_property_getters","webpack://@ledgerhq/react-ui/webpack/runtime/has_own_property","webpack://@ledgerhq/react-ui/webpack/runtime/make_namespace_object"],"sourcesContent":["import React from \"react\";\nimport baseStyled, { BaseStyledProps } from \"../../styled\";\nimport {\n compose,\n fontSize,\n fontWeight,\n textAlign,\n lineHeight,\n letterSpacing,\n system,\n} from \"styled-system\";\nimport fontFamily from \"../../../styles/styled/fontFamily\";\nimport { TextVariants } from \"../../../styles/theme\";\nimport { textVariantStyle } from \"./styles\";\n\nconst uppercase = system({\n uppercase: {\n property: \"textTransform\",\n transform: value => (value ? \"uppercase\" : \"none\"),\n },\n});\n\ntype FontFamilies =\n | \"Inter|ExtraLight\"\n | \"Inter|Light\"\n | \"Inter|Regular\"\n | \"Inter|Medium\"\n | \"Inter|SemiBold\"\n | \"Inter|Bold\"\n | \"Inter|ExtraBold\"\n | \"Alpha|Medium\";\n\ntype WhiteSpace = \"normal\" | \"nowrap\" | \"pre\" | \"pre-line\" | \"pre-wrap\";\n\nexport interface TextProps extends BaseStyledProps {\n fontFamily?: string;\n ff?: FontFamilies;\n fontSize?: number | string | TextVariants;\n variant?: TextVariants;\n textAlign?: string;\n fontWeight?: string;\n lineHeight?: string;\n textTransform?: string;\n textOverflow?: string;\n uppercase?: boolean;\n whiteSpace?: WhiteSpace;\n children?: React.ReactNode;\n}\n\nconst Text = baseStyled.span.attrs<TextProps, TextProps>(\n ({ variant = \"body\", fontSize, color }) => ({\n fontSize: fontSize ? fontSize : variant,\n color: color || \"neutral.c100\",\n }),\n)`\n font-weight: 500;\n white-space: ${props => props.whiteSpace ?? \"normal\"};\n ${(p: TextProps) => textVariantStyle[p.variant || \"body\"]}\n ${compose(\n uppercase,\n lineHeight,\n fontFamily,\n fontSize,\n textAlign,\n fontWeight,\n letterSpacing,\n system({\n textOverflow: true,\n }),\n )}\n ${p => (p.textTransform ? `text-transform: ${p.textTransform};` : \"\")}\n`;\n\nexport default Text;\n","import { GlobalStyleProps } from \"../../../styles/global\";\nimport { css } from \"styled-components\";\nimport { TextVariants } from \"../../../styles/theme\";\n\nconst getFontSource = (name: string) => (props: GlobalStyleProps) => {\n const fontsPath = props.fontsPath ?? \"assets/fonts\";\n const fontName = (props.fontMappings && props.fontMappings(name)) || `${name}.woff2`;\n return `url(\"${fontsPath}/${fontName}\") format(\"woff2\")`;\n};\n\nexport const fontStyles = css`\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraLight-BETA\")};\n font-weight: 100;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Light-BETA\")};\n font-weight: 300;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Regular\")};\n font-weight: 400;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-SemiBold\")};\n font-weight: 600;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraBold\")};\n font-weight: 900;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Alpha\";\n src: ${getFontSource(\"HMAlphaMono-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n`;\n\nexport const textVariantStyle: Record<\n TextVariants,\n {\n fontFamily: string;\n lineHeight?: string | number;\n fontWeight?: number;\n \"text-transform\"?: string;\n }\n> = {\n h1: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h1Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n h4: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h4Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n },\n h5: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h5Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n large: {\n fontFamily: \"Inter, Sans\",\n },\n largeLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n body: {\n fontFamily: \"Inter, Sans\",\n },\n bodyLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n paragraph: {\n fontFamily: \"Inter, Sans\",\n },\n paragraphLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n small: {\n fontFamily: \"Inter, Sans\",\n },\n extraSmall: {\n fontFamily: \"Inter, Sans\",\n },\n tiny: {\n fontFamily: \"Inter, Sans\",\n },\n micro: {\n fontFamily: \"Inter, Sans\",\n },\n subtitle: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n \"text-transform\": \"uppercase\",\n },\n};\n","import React, { InputHTMLAttributes, useContext, useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { rgba } from \"../../../styles/helpers\";\nimport Text from \"../../asorted/Text\";\nimport { RadioContext } from \"./index\";\n\nconst Label = styled(Text)`\n color: var(--ledger-ui-checkbox-color, ${p => p.theme.colors.neutral.c100});\n width: 266px;\n`;\n\nconst Input = styled.input`\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c50};\n --ledger-ui-checkbox-size: 1.25rem;\n\n position: relative;\n appearance: none;\n width: var(--ledger-ui-checkbox-size);\n height: var(--ledger-ui-checkbox-size);\n flex-shrink: 0;\n border-radius: ${p => `${p.theme.radii[1]}px`};\n border: 1px solid var(--ledger-ui-checkbox-color);\n cursor: pointer;\n\n &:checked::before {\n position: absolute;\n display: block;\n content: \" \";\n background-color: var(--ledger-ui-checkbox-color);\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n border-radius: 2px;\n width: calc(var(--ledger-ui-checkbox-size) / 2);\n height: calc(var(--ledger-ui-checkbox-size) / 2);\n }\n\n &[data-variant=\"default\"] {\n &:hover {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c90};\n }\n &:active {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c100};\n }\n &:checked,\n &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c80};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.primary.c60, 0.48)};\n }\n }\n\n &[data-variant=\"main\"] {\n &:hover {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c90};\n }\n &:active,\n &:checked,\n &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c100};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.neutral.c60, 0.48)};\n }\n }\n\n &[data-variant=\"success\"] {\n &:hover,\n &:checked:not([disabled]),\n &:checked:not([disabled]) + ${Label}, &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.success.c50};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.success.c50, 0.48)};\n }\n }\n\n &[data-variant=\"error\"] {\n &:hover,\n &:checked:not([disabled]),\n &:checked:not([disabled]) + ${Label}, &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.error.c50};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.error.c50, 0.48)};\n }\n }\n\n &[data-variant]:disabled {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c40};\n cursor: unset;\n background-color: ${p => p.theme.colors.neutral.c30};\n }\n`;\n\nconst outlinedCSS = css`\n padding: 20px;\n border: 1px solid ${p => p.theme.colors.neutral.c50};\n border-radius: ${p => p.theme.radii[2]}px;\n &[data-variant=\"default\"] {\n &:hover {\n border-color: ${p => p.theme.colors.primary.c90};\n }\n &[data-checked]:active {\n border-color: ${p => p.theme.colors.primary.c100};\n }\n &:focus {\n border-color: ${p => p.theme.colors.primary.c80};\n }\n }\n\n &[data-variant=\"main\"] {\n &:hover {\n border-color: ${p => p.theme.colors.neutral.c90};\n }\n &[data-checked],\n &:active,\n &:focus {\n border-color: ${p => p.theme.colors.neutral.c100};\n }\n }\n\n &[data-variant=\"success\"] {\n &[data-checked]:not([disabled]) {\n border-color: ${p => p.theme.colors.success.c50};\n }\n &:hover {\n border-color: ${p => p.theme.colors.success.c50};\n }\n }\n\n &[data-variant=\"error\"] {\n &[data-checked]:not([disabled]) {\n border-color: ${p => p.theme.colors.error.c50};\n }\n &:hover {\n border-color: ${p => p.theme.colors.error.c50};\n }\n }\n\n &[data-variant]:disabled {\n border-color: ${p => p.theme.colors.neutral.c40};\n cursor: unset;\n }\n`;\n\nconst RadioElement = styled.label.attrs({ tabIndex: -1 })<{\n outlined?: boolean;\n}>`\n display: inline-flex;\n column-gap: 0.75rem;\n align-items: center;\n cursor: pointer;\n &[data-variant]:disabled {\n cursor: unset;\n }\n ${p => p.outlined && outlinedCSS}\n`;\n\ntype InputAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, \"type\" | \"onChange\" | \"name\">;\n\nexport type RadioElementProps = InputAttributes & {\n variant?: \"default\" | \"main\" | \"success\" | \"error\";\n label: string;\n outlined?: boolean;\n};\n\nconst Element = ({\n label,\n value,\n disabled,\n outlined,\n variant = \"default\",\n ...props\n}: RadioElementProps): React.JSX.Element => {\n const context = useContext(RadioContext);\n if (context === undefined) throw new Error(\"RadioElement must be used within a RadioProvider\");\n\n const isChecked = useMemo(() => context.currentValue == value, [context.currentValue, value]);\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n context.onChange(event.target.value);\n };\n\n return (\n <RadioElement\n data-variant={variant}\n {...(isChecked ? { \"data-checked\": true } : {})}\n outlined={outlined}\n >\n <Input\n type=\"radio\"\n data-variant={variant}\n checked={isChecked}\n disabled={disabled}\n onChange={handleChange}\n value={value}\n name={context.name}\n {...props}\n />\n <Label variant=\"paragraph\">{label}</Label>\n </RadioElement>\n );\n};\n\nElement.displayName = \"Radio.Element\"; // For easy identification in the React devtools & in storybook\nElement.Label = Label;\n\nexport default Element;\n","import React, { InputHTMLAttributes, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport Text from \"../../asorted/Text\";\nimport Flex, { FlexBoxProps } from \"../../layout/Flex\";\nimport { rgba } from \"../../../styles/helpers\";\nimport { RadioContext } from \"./index\";\n\ntype ElementState = {\n checked: boolean;\n disabled?: boolean | undefined;\n};\n\nexport const Label = styled(Text)<ElementState>`\n color: ${p =>\n p.disabled\n ? p.theme.colors.neutral.c50\n : p.checked\n ? p.theme.colors.primary.c90\n : p.theme.colors.neutral.c100};\n`;\n\nconst Container = styled(Flex)<ElementState>`\n cursor: ${p => (p.disabled ? \"\" : \"pointer\")};\n justify-content: center;\n align-items: center;\n background-color: ${p => (p.checked ? p.theme.colors.primary.c20 : \"\")};\n border: 1px solid ${p => (p.checked ? p.theme.colors.primary.c50 : p.theme.colors.neutral.c40)};\n border-radius: ${p => `${p.theme.radii[2]}px`};\n padding: ${p => p.theme.space[6]}px;\n\n &:hover {\n border-color: ${p => (p.disabled || p.checked ? \"\" : p.theme.colors.primary.c80)};\n }\n`;\n\nconst Input = styled.input`\n position: relative;\n appearance: none;\n &:focus ~ ${Container} {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.primary.c60, 0.48)};\n }\n`;\n\nconst RadioListElement = styled.label.attrs({ tabIndex: -1 })`\n display: inline-flex;\n align-items: center;\n`;\n\ntype InputAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, \"type\" | \"onChange\" | \"name\">;\n\nexport type RadioListElementProps = InputAttributes & {\n /**\n * The string or component that will be rendered as label of this radio element\n * If it's a component, it's rendered with these props: { checked:boolean; disabled:boolean }\n * */\n label: string | React.ComponentType<ElementState> | ((arg1: ElementState) => React.JSX.Element);\n /** Flex props to pass to the container */\n containerProps?: FlexBoxProps;\n};\n\nconst ListElement = ({\n label,\n value,\n disabled,\n containerProps,\n ...props\n}: RadioListElementProps): React.JSX.Element => {\n const context = useContext(RadioContext);\n if (context === undefined) throw new Error(\"RadioElement must be used within a RadioProvider\");\n\n const isChecked = context.currentValue === value;\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n context.onChange(event.target.value);\n };\n\n return (\n <RadioListElement>\n <Input\n type=\"radio\"\n checked={isChecked}\n disabled={disabled}\n onChange={handleChange}\n value={value}\n name={context.name}\n {...props}\n />\n <Container checked={isChecked} disabled={disabled} {...containerProps}>\n {typeof label === \"string\" ? (\n <Label checked={isChecked} disabled={disabled} variant=\"paragraph\">\n {label}\n </Label>\n ) : (\n React.createElement(label, { checked: isChecked, disabled })\n )}\n </Container>\n </RadioListElement>\n );\n};\n\nListElement.displayName = \"Radio.ListElement\"; // For easy identification in the React devtools & in storybook\nListElement.Label = Label;\n\nexport default ListElement;\n","import React, { InputHTMLAttributes } from \"react\";\n\nimport RadioElement from \"./RadioElement\";\nimport RadioListElement from \"./RadioListElement\";\nimport Flex from \"../../layout/Flex\";\nimport { FlexBoxProps } from \"../../layout/Flex\";\n\nexport type RadioProps = {\n currentValue?: InputHTMLAttributes<HTMLInputElement>[\"value\"];\n onChange: (value: InputHTMLAttributes<HTMLInputElement>[\"value\"]) => void;\n children: React.ReactNode;\n name: string;\n containerProps?: FlexBoxProps;\n};\n\nexport const RadioContext = React.createContext<Omit<RadioProps, \"children\" | \"containerProps\">>({\n name: \"\",\n onChange: () => {},\n});\n\nconst Radio = ({\n currentValue,\n name,\n onChange,\n children,\n containerProps,\n}: RadioProps): React.JSX.Element => {\n return (\n <Flex columnGap=\"1.5rem\" {...containerProps}>\n <RadioContext.Provider value={{ currentValue, name, onChange }}>\n {children}\n </RadioContext.Provider>\n </Flex>\n );\n};\n\nRadio.Element = RadioElement;\nRadio.ListElement = RadioListElement;\n\nexport default Radio;\n","import baseStyled, { BaseStyledProps } from \"../../styled\";\n\nconst FlexBox = baseStyled.div.attrs<BaseStyledProps, BaseStyledProps>({\n display: \"flex\",\n minWidth: 0,\n})``;\nexport type FlexBoxProps = BaseStyledProps & React.HTMLAttributes<HTMLDivElement>;\n\nexport default FlexBox;\n","import React from \"react\";\nimport gaps from \"../styles/system/gaps\";\nimport styled, { StyledInterface, InterpolationFunction } from \"styled-components\";\nimport {\n compose,\n flexbox,\n FlexboxProps,\n space,\n SpaceProps,\n position,\n PositionProps,\n color,\n ColorProps,\n layout,\n LayoutProps,\n overflow,\n OverflowProps,\n border,\n BorderProps,\n} from \"styled-system\";\n\nexport type BaseStyledProps = SpaceProps &\n FlexboxProps &\n PositionProps &\n ColorProps &\n LayoutProps &\n BorderProps &\n OverflowProps & {\n /**\n * The columnGap CSS property sets the size of the gap (gutter) between an element's grid columns.\n */\n columnGap?: string | number;\n /**\n * The rowGap CSS property sets the size of the gap (gutter) between an element's grid rows.\n */\n rowGap?: string | number;\n color?: string;\n children?: React.ReactNode;\n };\n\nexport const baseStyles: InterpolationFunction<unknown> = compose(\n flexbox,\n space,\n position,\n color,\n layout,\n overflow,\n gaps,\n border,\n);\n\nconst proxyStyled = new Proxy(styled, {\n apply(target: typeof styled, thisArg, argumentsList: Parameters<typeof styled>) {\n return styled(target.apply(thisArg, argumentsList)(baseStyles));\n },\n get(target, property: keyof typeof styled) {\n if (typeof target[property] === \"function\") {\n return styled(target[property].apply(styled, [baseStyles]));\n }\n return target[property];\n },\n});\n\nexport default <StyledInterface>proxyStyled;\n","import Color from \"color\";\n\nimport { fontFamilies } from \"./theme\";\n\nexport const rgba = (c: string, a: number): string => Color(c).alpha(a).rgb().toString();\n\nexport const darken = (c: string, a: number): string => Color(c).darken(a).toString();\n\nexport const lighten = (c: string, a: number): string => Color(c).lighten(a).toString();\n\nexport const mix = (c: string, b: string, a: number): string =>\n Color(c).mix(Color(b), a).toString();\n\nexport const ff = (v: string) => {\n const [font, type = \"Regular\"] = v.split(\"|\");\n // @ts-expect-error FIXME\n const { style, weight } = fontFamilies[font][type];\n // @ts-expect-error FIXME\n const fallback: string = fontFamilies[font].fallback ?? \"Arial\";\n\n return {\n fontFamily: `${font}, ${fallback}`,\n fontWeight: weight,\n fontStyle: style,\n };\n};\n\nexport const ensureContrast = (color1: string, color2: string) => {\n const colorL1 = Color(color1).luminosity() + 0.05;\n const colorL2 = Color(color2).luminosity() + 0.05;\n\n const lRatio = colorL1 > colorL2 ? colorL1 / colorL2 : colorL2 / colorL1;\n\n if (lRatio < 1.5) {\n return Color(color1).rotate(180).negate().string();\n }\n return color1;\n};\n","import { ff } from \"../helpers\";\n\nexport default (props: { ff?: string }) => {\n const prop = props.ff;\n\n if (prop == null) {\n return null;\n }\n\n return ff(prop);\n};\n","import { system } from \"styled-system\";\n\nconst gaps = system({\n rowGap: { property: \"rowGap\", scale: \"space\" },\n columnGap: { property: \"columnGap\", scale: \"space\" },\n});\n\nexport default gaps;\n","import { keyframes, css, Font } from \"styled-components\";\nimport { palettes, ColorPalette } from \"@ledgerhq/ui-shared\";\n\nexport type screensBreakpoints = \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\";\n\nexport const breakpoints = {\n sm: \"640px\",\n md: \"768px\",\n lg: \"1024px\",\n xl: \"1280px\",\n xxl: \"1536px\",\n} as Record<screensBreakpoints, string>;\n\nexport const space = [\n /* space indexes:\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 */\n 0,\n 2, 4, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76,\n];\n\nexport type TextVariants =\n | \"h1\"\n | \"h1Inter\"\n | \"h2\"\n | \"h2Inter\"\n | \"h3\"\n | \"h3Inter\"\n | \"h4\"\n | \"h4Inter\"\n | \"h5\"\n | \"h5Inter\"\n | \"large\"\n | \"largeLineHeight\"\n | \"body\"\n | \"bodyLineHeight\"\n | \"paragraph\"\n | \"paragraphLineHeight\"\n | \"small\"\n | \"extraSmall\"\n | \"tiny\"\n | \"micro\"\n | \"subtitle\";\n\nexport type ThemeScale<Type, Aliases extends string> = Array<Type> & Record<Aliases, Type>;\n\nexport const fontSizes = [8, 10, 11, 12, 13, 14, 16, 20, 24, 28, 32, 36] as ThemeScale<\n number,\n TextVariants\n>;\n\n[\n fontSizes.micro,\n fontSizes.tiny,\n fontSizes.extraSmall,\n fontSizes.small,\n fontSizes.paragraph,\n fontSizes.body,\n fontSizes.large,\n fontSizes.h5,\n fontSizes.h4,\n fontSizes.h3,\n fontSizes.h2,\n fontSizes.h1,\n] = fontSizes;\nfontSizes.largeLineHeight = fontSizes.large;\nfontSizes.bodyLineHeight = fontSizes.body;\nfontSizes.paragraphLineHeight = fontSizes.paragraph;\nfontSizes.subtitle = fontSizes.extraSmall;\nfontSizes.h1Inter = fontSizes.h1;\nfontSizes.h2Inter = fontSizes.h2;\nfontSizes.h3Inter = fontSizes.h3;\nfontSizes.h4Inter = fontSizes.h4;\nfontSizes.h5Inter = fontSizes.h5;\n\nconst fontWeights = {\n extraLight: \"100\",\n light: \"300\",\n regular: \"400\",\n medium: \"500\",\n semiBold: \"600\",\n bold: \"700\",\n extraBold: \"800\",\n};\n\nexport const radii = [0, 4, 8, 12, 16, 20];\nexport const shadows = [\"0 4px 8px 0 rgba(0, 0, 0, 0.03)\"];\nexport const zIndexes = [-1, 0, 1, 9, 10, 90, 100, 900, 1000];\n\n// Those fonts are now defined in global.css, this is just a mapping for styled-system\nexport const fontFamilies = {\n Inter: {\n ExtraLight: {\n weight: 100,\n style: \"normal\",\n },\n Light: {\n weight: 300,\n style: \"normal\",\n },\n Regular: {\n weight: 400,\n style: \"normal\",\n },\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n SemiBold: {\n weight: 600,\n style: \"normal\",\n },\n Bold: {\n weight: 700,\n style: \"normal\",\n },\n ExtraBold: {\n weight: 800,\n style: \"normal\",\n },\n },\n Alpha: {\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n },\n};\n\nconst animationDuration = \"0.33s\";\nconst easings = {\n outQuadratic: \"cubic-bezier(0.25, 0.46, 0.45, 0.94)\",\n};\n\nconst transition = (\n properties = [\"all\"],\n duration = animationDuration,\n easing = easings.outQuadratic,\n) => css`\n transition-property: ${properties.join(\",\")};\n transition-duration: ${duration};\n transition-timing-function: ${easing};\n`;\n\nconst fadeIn = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n `;\nconst fadeOut = keyframes`\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n `;\nconst fadeInGrowX = keyframes`\n 0% {\n opacity: 0;\n transform: scaleX(0);\n }\n 100% {\n opacity: 1;\n transform: scaleX(1);\n }\n`;\nconst fadeInUp = keyframes`\n 0% {\n opacity: 0;\n transform: translateY(66%);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n `;\nconst animations = {\n fadeIn: () => css`\n ${fadeIn} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeOut: () => css`\n ${fadeOut} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeInGrowX: () => css`\n ${fadeInGrowX} 0.6s ${easings.outQuadratic} forwards\n `,\n fadeInUp: () => css`\n ${fadeInUp} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n};\nconst overflow = {\n x: css`\n overflow-y: hidden;\n overflow-x: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n y: css`\n overflow-x: hidden;\n overflow-y: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n yAuto: css`\n overflow-x: hidden;\n overflow-y: auto;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n xy: css`\n overflow: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n trackSize: 12,\n};\n\ninterface DefaultTheme {\n theme: \"dark\" | \"light\";\n animations: typeof animations;\n transition: typeof transition;\n overflow: typeof overflow;\n sizes: {\n topBarHeight: number;\n sideBarWidth: number;\n drawer: {\n side: {\n big: {\n width: number;\n };\n small: {\n width: number;\n };\n };\n popin: {\n min: {\n height: number;\n width: number;\n };\n max: {\n height: number;\n width: number;\n };\n };\n };\n };\n radii: number[];\n fontFamilies: Record<string, Record<string, Font>>;\n fontSizes: number[];\n space: number[];\n shadows: string[];\n colors: ColorPalette;\n fontWeights: Record<string, string>;\n breakpoints: Record<screensBreakpoints, string>;\n zIndexes: number[];\n}\n\nconst theme: DefaultTheme = {\n theme: \"light\",\n sizes: {\n drawer: {\n side: {\n big: {\n width: 580,\n },\n small: {\n width: 420,\n },\n },\n popin: {\n min: {\n height: 158,\n width: 462,\n },\n max: {\n height: 522,\n width: 622,\n },\n },\n },\n topBarHeight: 58,\n sideBarWidth: 230,\n },\n radii,\n fontFamilies,\n fontSizes,\n fontWeights,\n space,\n shadows,\n colors: palettes.light,\n animations,\n overflow,\n transition,\n zIndexes,\n breakpoints,\n};\n\nexport default theme;\nexport type Theme = DefaultTheme;\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["React","baseStyled","compose","fontSize","fontWeight","textAlign","lineHeight","letterSpacing","system","fontFamily","textVariantStyle","uppercase","value","Text","variant","color","props","p","css","getFontSource","name","fontsPath","fontName","fontStyles","useContext","useMemo","styled","rgba","RadioContext","Label","Input","outlinedCSS","RadioElement","Element","label","disabled","outlined","context","undefined","Error","isChecked","handleChange","event","Flex","Container","RadioListElement","ListElement","containerProps","Radio","currentValue","onChange","children","FlexBox","gaps","flexbox","space","position","layout","overflow","border","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","Color","fontFamilies","c","a","darken","lighten","mix","b","ff","v","font","type","style","weight","fallback","ensureContrast","color1","color2","colorL1","colorL2","lRatio","prop","keyframes","palettes","breakpoints","fontSizes","fontWeights","radii","shadows","zIndexes","animationDuration","easings","transition","properties","duration","easing","fadeIn","fadeOut","fadeInGrowX","fadeInUp","animations","theme"],"mappings":";;;;;;;;;;;AAA0B;AACiC;AASpC;AACoC;AAEf;AAE5C,MAAMW,YAAYH,yCAAMA,CAAC;IACvB,WAAW;QACT,UAAU;QACV,WAAWI,CAAAA,QAAUA,QAAQ,cAAc;IAC7C;AACF;AA6BA,MAAMC,OAAOZ,8CAAqB,CAChC,CAAC,EAAEa,UAAU,MAAM,EAAEX,QAAQ,EAAEY,KAAK,EAAE,GAAM;QAC1C,UAAUZ,WAAWA,WAAWW;QAChC,OAAOC,SAAS;IAClB,GACD,CAAC;;eAEa,EAAEC,CAAAA,QAASA,MAAM,UAAU,IAAI,SAAS;EACrD,EAAE,CAACC,IAAiBP,yCAAgB,CAACO,EAAE,OAAO,IAAI,OAAO,CAAC;EAC1D,EAAEf,0CAAOA,CACPS,WACAL,yCAAUA,EACVG,qDAAUA,EACVN,uCAAQA,EACRE,wCAASA,EACTD,yCAAUA,EACVG,4CAAaA,EACbC,yCAAMA,CAAC;IACL,cAAc;AAChB,IACA;EACF,EAAES,CAAAA,IAAMA,EAAE,aAAa,GAAG,CAAC,gBAAgB,EAAEA,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,GAAI;AACxE,CAAC;AAED,sDAAeJ,IAAIA,EAAC;;;;;;;;;;;;ACxEoB;AAGxC,MAAMM,gBAAgB,CAACC,OAAiB,CAACJ;QACvC,MAAMK,YAAYL,MAAM,SAAS,IAAI;QACrC,MAAMM,WAAYN,MAAM,YAAY,IAAIA,MAAM,YAAY,CAACI,SAAU,GAAGA,KAAK,MAAM,CAAC;QACpF,OAAO,CAAC,KAAK,EAAEC,UAAU,CAAC,EAAEC,SAAS,kBAAkB,CAAC;IAC1D;AAEO,MAAMC,aAAaL,0CAAG,CAAC;;;SAGrB,E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ACA,gDAAgD,aAAa;AAC7D,E"}
|
|
1
|
+
{"version":3,"file":"components/form/Radio/RadioElement.js","sources":["webpack://@ledgerhq/react-ui/./src/components/asorted/Text/index.tsx","webpack://@ledgerhq/react-ui/./src/components/asorted/Text/styles.ts","webpack://@ledgerhq/react-ui/./src/components/form/Radio/RadioElement.tsx","webpack://@ledgerhq/react-ui/./src/components/form/Radio/RadioListElement.tsx","webpack://@ledgerhq/react-ui/./src/components/form/Radio/index.tsx","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts","webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/helpers.ts","webpack://@ledgerhq/react-ui/./src/styles/styled/fontFamily.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.ts","webpack://@ledgerhq/react-ui/./src/styles/theme.ts","webpack://@ledgerhq/react-ui/webpack/runtime/compat_get_default_export","webpack://@ledgerhq/react-ui/webpack/runtime/define_property_getters","webpack://@ledgerhq/react-ui/webpack/runtime/has_own_property","webpack://@ledgerhq/react-ui/webpack/runtime/make_namespace_object"],"sourcesContent":["import React from \"react\";\nimport baseStyled, { BaseStyledProps } from \"../../styled\";\nimport {\n compose,\n fontSize,\n fontWeight,\n textAlign,\n lineHeight,\n letterSpacing,\n system,\n} from \"styled-system\";\nimport fontFamily from \"../../../styles/styled/fontFamily\";\nimport { TextVariants } from \"../../../styles/theme\";\nimport { textVariantStyle } from \"./styles\";\n\nconst uppercase = system({\n uppercase: {\n property: \"textTransform\",\n transform: value => (value ? \"uppercase\" : \"none\"),\n },\n});\n\ntype FontFamilies =\n | \"Inter|ExtraLight\"\n | \"Inter|Light\"\n | \"Inter|Regular\"\n | \"Inter|Medium\"\n | \"Inter|SemiBold\"\n | \"Inter|Bold\"\n | \"Inter|ExtraBold\"\n | \"Alpha|Medium\";\n\ntype WhiteSpace = \"normal\" | \"nowrap\" | \"pre\" | \"pre-line\" | \"pre-wrap\";\n\nexport interface TextProps extends BaseStyledProps {\n fontFamily?: string;\n ff?: FontFamilies;\n fontSize?: number | string | TextVariants;\n variant?: TextVariants;\n textAlign?: string;\n fontWeight?: string;\n lineHeight?: string;\n textTransform?: string;\n textOverflow?: string;\n uppercase?: boolean;\n whiteSpace?: WhiteSpace;\n children?: React.ReactNode;\n}\n\nconst Text = baseStyled.span.attrs<TextProps, TextProps>(\n ({ variant = \"body\", fontSize, color }) => ({\n fontSize: fontSize ? fontSize : variant,\n color: color || \"neutral.c100\",\n }),\n)`\n font-weight: 500;\n white-space: ${props => props.whiteSpace ?? \"normal\"};\n ${(p: TextProps) => textVariantStyle[p.variant || \"body\"]}\n ${compose(\n uppercase,\n lineHeight,\n fontFamily,\n fontSize,\n textAlign,\n fontWeight,\n letterSpacing,\n system({\n textOverflow: true,\n }),\n )}\n ${p => (p.textTransform ? `text-transform: ${p.textTransform};` : \"\")}\n`;\n\nexport default Text;\n","import { GlobalStyleProps } from \"../../../styles/global\";\nimport { css } from \"styled-components\";\nimport { TextVariants } from \"../../../styles/theme\";\n\nconst getFontSource = (name: string) => (props: GlobalStyleProps) => {\n const fontsPath = props.fontsPath ?? \"assets/fonts\";\n const fontName = (props.fontMappings && props.fontMappings(name)) || `${name}.woff2`;\n return `url(\"${fontsPath}/${fontName}\") format(\"woff2\")`;\n};\n\nexport const fontStyles = css`\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraLight-BETA\")};\n font-weight: 100;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Light-BETA\")};\n font-weight: 300;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Regular\")};\n font-weight: 400;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-SemiBold\")};\n font-weight: 600;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Inter\";\n src: ${getFontSource(\"Inter-ExtraBold\")};\n font-weight: 900;\n font-style: normal;\n }\n\n @font-face {\n font-family: \"Alpha\";\n src: ${getFontSource(\"HMAlphaMono-Medium\")};\n font-weight: 500;\n font-style: normal;\n }\n`;\n\nexport const textVariantStyle: Record<\n TextVariants,\n {\n fontFamily: string;\n lineHeight?: string | number;\n fontWeight?: number;\n \"text-transform\"?: string;\n }\n> = {\n h1: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h1Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h2Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h3Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n h4: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h4Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n },\n h5: {\n fontFamily: \"Alpha, Inter, Sans\",\n fontWeight: 500,\n \"text-transform\": \"uppercase\",\n },\n h5Inter: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 500,\n },\n large: {\n fontFamily: \"Inter, Sans\",\n },\n largeLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n body: {\n fontFamily: \"Inter, Sans\",\n },\n bodyLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n paragraph: {\n fontFamily: \"Inter, Sans\",\n },\n paragraphLineHeight: {\n fontFamily: \"Inter, Sans\",\n lineHeight: 1.7,\n },\n small: {\n fontFamily: \"Inter, Sans\",\n },\n extraSmall: {\n fontFamily: \"Inter, Sans\",\n },\n tiny: {\n fontFamily: \"Inter, Sans\",\n },\n micro: {\n fontFamily: \"Inter, Sans\",\n },\n subtitle: {\n fontFamily: \"Inter, Sans\",\n fontWeight: 600,\n \"text-transform\": \"uppercase\",\n },\n};\n","import React, { InputHTMLAttributes, useContext, useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { rgba } from \"../../../styles/helpers\";\nimport Text from \"../../asorted/Text\";\nimport { RadioContext } from \"./index\";\n\nconst Label = styled(Text)`\n color: var(--ledger-ui-checkbox-color, ${p => p.theme.colors.neutral.c100});\n width: 266px;\n`;\n\nconst Input = styled.input`\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c50};\n --ledger-ui-checkbox-size: 1.25rem;\n\n position: relative;\n appearance: none;\n width: var(--ledger-ui-checkbox-size);\n height: var(--ledger-ui-checkbox-size);\n flex-shrink: 0;\n border-radius: ${p => `${p.theme.radii[1]}px`};\n border: 1px solid var(--ledger-ui-checkbox-color);\n cursor: pointer;\n\n &:checked::before {\n position: absolute;\n display: block;\n content: \" \";\n background-color: var(--ledger-ui-checkbox-color);\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n border-radius: 2px;\n width: calc(var(--ledger-ui-checkbox-size) / 2);\n height: calc(var(--ledger-ui-checkbox-size) / 2);\n }\n\n &[data-variant=\"default\"] {\n &:hover {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c90};\n }\n &:active {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c100};\n }\n &:checked,\n &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.primary.c80};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.primary.c60, 0.48)};\n }\n }\n\n &[data-variant=\"main\"] {\n &:hover {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c90};\n }\n &:active,\n &:checked,\n &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c100};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.neutral.c60, 0.48)};\n }\n }\n\n &[data-variant=\"success\"] {\n &:hover,\n &:checked:not([disabled]),\n &:checked:not([disabled]) + ${Label}, &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.success.c50};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.success.c50, 0.48)};\n }\n }\n\n &[data-variant=\"error\"] {\n &:hover,\n &:checked:not([disabled]),\n &:checked:not([disabled]) + ${Label}, &:focus {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.error.c50};\n }\n &:focus {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.error.c50, 0.48)};\n }\n }\n\n &[data-variant]:disabled {\n --ledger-ui-checkbox-color: ${p => p.theme.colors.neutral.c40};\n cursor: unset;\n background-color: ${p => p.theme.colors.neutral.c30};\n }\n`;\n\nconst outlinedCSS = css`\n padding: 20px;\n border: 1px solid ${p => p.theme.colors.neutral.c50};\n border-radius: ${p => p.theme.radii[2]}px;\n &[data-variant=\"default\"] {\n &:hover {\n border-color: ${p => p.theme.colors.primary.c90};\n }\n &[data-checked]:active {\n border-color: ${p => p.theme.colors.primary.c100};\n }\n &:focus {\n border-color: ${p => p.theme.colors.primary.c80};\n }\n }\n\n &[data-variant=\"main\"] {\n &:hover {\n border-color: ${p => p.theme.colors.neutral.c90};\n }\n &[data-checked],\n &:active,\n &:focus {\n border-color: ${p => p.theme.colors.neutral.c100};\n }\n }\n\n &[data-variant=\"success\"] {\n &[data-checked]:not([disabled]) {\n border-color: ${p => p.theme.colors.success.c50};\n }\n &:hover {\n border-color: ${p => p.theme.colors.success.c50};\n }\n }\n\n &[data-variant=\"error\"] {\n &[data-checked]:not([disabled]) {\n border-color: ${p => p.theme.colors.error.c50};\n }\n &:hover {\n border-color: ${p => p.theme.colors.error.c50};\n }\n }\n\n &[data-variant]:disabled {\n border-color: ${p => p.theme.colors.neutral.c40};\n cursor: unset;\n }\n`;\n\nconst RadioElement = styled.label.attrs({ tabIndex: -1 })<{\n outlined?: boolean;\n}>`\n display: inline-flex;\n column-gap: 0.75rem;\n align-items: center;\n cursor: pointer;\n &[data-variant]:disabled {\n cursor: unset;\n }\n ${p => p.outlined && outlinedCSS}\n`;\n\ntype InputAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, \"type\" | \"onChange\" | \"name\">;\n\nexport type RadioElementProps = InputAttributes & {\n variant?: \"default\" | \"main\" | \"success\" | \"error\";\n label: string;\n outlined?: boolean;\n};\n\nconst Element = ({\n label,\n value,\n disabled,\n outlined,\n variant = \"default\",\n ...props\n}: RadioElementProps): React.JSX.Element => {\n const context = useContext(RadioContext);\n if (context === undefined) throw new Error(\"RadioElement must be used within a RadioProvider\");\n\n const isChecked = useMemo(() => context.currentValue == value, [context.currentValue, value]);\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n context.onChange(event.target.value);\n };\n\n return (\n <RadioElement\n data-variant={variant}\n {...(isChecked ? { \"data-checked\": true } : {})}\n outlined={outlined}\n >\n <Input\n type=\"radio\"\n data-variant={variant}\n checked={isChecked}\n disabled={disabled}\n onChange={handleChange}\n value={value}\n name={context.name}\n {...props}\n />\n <Label variant=\"paragraph\">{label}</Label>\n </RadioElement>\n );\n};\n\nElement.displayName = \"Radio.Element\"; // For easy identification in the React devtools\nElement.Label = Label;\n\nexport default Element;\n","import React, { InputHTMLAttributes, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport Text from \"../../asorted/Text\";\nimport Flex, { FlexBoxProps } from \"../../layout/Flex\";\nimport { rgba } from \"../../../styles/helpers\";\nimport { RadioContext } from \"./index\";\n\ntype ElementState = {\n checked: boolean;\n disabled?: boolean | undefined;\n};\n\nexport const Label = styled(Text)<ElementState>`\n color: ${p =>\n p.disabled\n ? p.theme.colors.neutral.c50\n : p.checked\n ? p.theme.colors.primary.c90\n : p.theme.colors.neutral.c100};\n`;\n\nconst Container = styled(Flex)<ElementState>`\n cursor: ${p => (p.disabled ? \"\" : \"pointer\")};\n justify-content: center;\n align-items: center;\n background-color: ${p => (p.checked ? p.theme.colors.primary.c20 : \"\")};\n border: 1px solid ${p => (p.checked ? p.theme.colors.primary.c50 : p.theme.colors.neutral.c40)};\n border-radius: ${p => `${p.theme.radii[2]}px`};\n padding: ${p => p.theme.space[6]}px;\n\n &:hover {\n border-color: ${p => (p.disabled || p.checked ? \"\" : p.theme.colors.primary.c80)};\n }\n`;\n\nconst Input = styled.input`\n position: relative;\n appearance: none;\n &:focus ~ ${Container} {\n box-shadow: 0px 0px 0px 4px ${p => rgba(p.theme.colors.primary.c60, 0.48)};\n }\n`;\n\nconst RadioListElement = styled.label.attrs({ tabIndex: -1 })`\n display: inline-flex;\n align-items: center;\n`;\n\ntype InputAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, \"type\" | \"onChange\" | \"name\">;\n\nexport type RadioListElementProps = InputAttributes & {\n /**\n * The string or component that will be rendered as label of this radio element\n * If it's a component, it's rendered with these props: { checked:boolean; disabled:boolean }\n * */\n label: string | React.ComponentType<ElementState> | ((arg1: ElementState) => React.JSX.Element);\n /** Flex props to pass to the container */\n containerProps?: FlexBoxProps;\n};\n\nconst ListElement = ({\n label,\n value,\n disabled,\n containerProps,\n ...props\n}: RadioListElementProps): React.JSX.Element => {\n const context = useContext(RadioContext);\n if (context === undefined) throw new Error(\"RadioElement must be used within a RadioProvider\");\n\n const isChecked = context.currentValue === value;\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n context.onChange(event.target.value);\n };\n\n return (\n <RadioListElement>\n <Input\n type=\"radio\"\n checked={isChecked}\n disabled={disabled}\n onChange={handleChange}\n value={value}\n name={context.name}\n {...props}\n />\n <Container checked={isChecked} disabled={disabled} {...containerProps}>\n {typeof label === \"string\" ? (\n <Label checked={isChecked} disabled={disabled} variant=\"paragraph\">\n {label}\n </Label>\n ) : (\n React.createElement(label, { checked: isChecked, disabled })\n )}\n </Container>\n </RadioListElement>\n );\n};\n\nListElement.displayName = \"Radio.ListElement\"; // For easy identification in the React devtools\nListElement.Label = Label;\n\nexport default ListElement;\n","import React, { InputHTMLAttributes } from \"react\";\n\nimport RadioElement from \"./RadioElement\";\nimport RadioListElement from \"./RadioListElement\";\nimport Flex from \"../../layout/Flex\";\nimport { FlexBoxProps } from \"../../layout/Flex\";\n\nexport type RadioProps = {\n currentValue?: InputHTMLAttributes<HTMLInputElement>[\"value\"];\n onChange: (value: InputHTMLAttributes<HTMLInputElement>[\"value\"]) => void;\n children: React.ReactNode;\n name: string;\n containerProps?: FlexBoxProps;\n};\n\nexport const RadioContext = React.createContext<Omit<RadioProps, \"children\" | \"containerProps\">>({\n name: \"\",\n onChange: () => {},\n});\n\nconst Radio = ({\n currentValue,\n name,\n onChange,\n children,\n containerProps,\n}: RadioProps): React.JSX.Element => {\n return (\n <Flex columnGap=\"1.5rem\" {...containerProps}>\n <RadioContext.Provider value={{ currentValue, name, onChange }}>\n {children}\n </RadioContext.Provider>\n </Flex>\n );\n};\n\nRadio.Element = RadioElement;\nRadio.ListElement = RadioListElement;\n\nexport default Radio;\n","import baseStyled, { BaseStyledProps } from \"../../styled\";\n\nconst FlexBox = baseStyled.div.attrs<BaseStyledProps, BaseStyledProps>({\n display: \"flex\",\n minWidth: 0,\n})``;\nexport type FlexBoxProps = BaseStyledProps & React.HTMLAttributes<HTMLDivElement>;\n\nexport default FlexBox;\n","import React from \"react\";\nimport gaps from \"../styles/system/gaps\";\nimport styled, { StyledInterface, InterpolationFunction } from \"styled-components\";\nimport {\n compose,\n flexbox,\n FlexboxProps,\n space,\n SpaceProps,\n position,\n PositionProps,\n color,\n ColorProps,\n layout,\n LayoutProps,\n overflow,\n OverflowProps,\n border,\n BorderProps,\n} from \"styled-system\";\n\nexport type BaseStyledProps = SpaceProps &\n FlexboxProps &\n PositionProps &\n ColorProps &\n LayoutProps &\n BorderProps &\n OverflowProps & {\n /**\n * The columnGap CSS property sets the size of the gap (gutter) between an element's grid columns.\n */\n columnGap?: string | number;\n /**\n * The rowGap CSS property sets the size of the gap (gutter) between an element's grid rows.\n */\n rowGap?: string | number;\n color?: string;\n children?: React.ReactNode;\n };\n\nexport const baseStyles: InterpolationFunction<unknown> = compose(\n flexbox,\n space,\n position,\n color,\n layout,\n overflow,\n gaps,\n border,\n);\n\nconst proxyStyled = new Proxy(styled, {\n apply(target: typeof styled, thisArg, argumentsList: Parameters<typeof styled>) {\n return styled(target.apply(thisArg, argumentsList)(baseStyles));\n },\n get(target, property: keyof typeof styled) {\n if (typeof target[property] === \"function\") {\n return styled(target[property].apply(styled, [baseStyles]));\n }\n return target[property];\n },\n});\n\nexport default <StyledInterface>proxyStyled;\n","import Color from \"color\";\n\nimport { fontFamilies } from \"./theme\";\n\nexport const rgba = (c: string, a: number): string => Color(c).alpha(a).rgb().toString();\n\nexport const darken = (c: string, a: number): string => Color(c).darken(a).toString();\n\nexport const lighten = (c: string, a: number): string => Color(c).lighten(a).toString();\n\nexport const mix = (c: string, b: string, a: number): string =>\n Color(c).mix(Color(b), a).toString();\n\nexport const ff = (v: string) => {\n const [font, type = \"Regular\"] = v.split(\"|\");\n // @ts-expect-error FIXME\n const { style, weight } = fontFamilies[font][type];\n // @ts-expect-error FIXME\n const fallback: string = fontFamilies[font].fallback ?? \"Arial\";\n\n return {\n fontFamily: `${font}, ${fallback}`,\n fontWeight: weight,\n fontStyle: style,\n };\n};\n\nexport const ensureContrast = (color1: string, color2: string) => {\n const colorL1 = Color(color1).luminosity() + 0.05;\n const colorL2 = Color(color2).luminosity() + 0.05;\n\n const lRatio = colorL1 > colorL2 ? colorL1 / colorL2 : colorL2 / colorL1;\n\n if (lRatio < 1.5) {\n return Color(color1).rotate(180).negate().string();\n }\n return color1;\n};\n","import { ff } from \"../helpers\";\n\nexport default (props: { ff?: string }) => {\n const prop = props.ff;\n\n if (prop == null) {\n return null;\n }\n\n return ff(prop);\n};\n","import { system } from \"styled-system\";\n\nconst gaps = system({\n rowGap: { property: \"rowGap\", scale: \"space\" },\n columnGap: { property: \"columnGap\", scale: \"space\" },\n});\n\nexport default gaps;\n","import { keyframes, css, Font } from \"styled-components\";\nimport { palettes, ColorPalette } from \"@ledgerhq/ui-shared\";\n\nexport type screensBreakpoints = \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\";\n\nexport const breakpoints = {\n sm: \"640px\",\n md: \"768px\",\n lg: \"1024px\",\n xl: \"1280px\",\n xxl: \"1536px\",\n} as Record<screensBreakpoints, string>;\n\nexport const space = [\n /* space indexes:\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 */\n 0,\n 2, 4, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76,\n];\n\nexport type TextVariants =\n | \"h1\"\n | \"h1Inter\"\n | \"h2\"\n | \"h2Inter\"\n | \"h3\"\n | \"h3Inter\"\n | \"h4\"\n | \"h4Inter\"\n | \"h5\"\n | \"h5Inter\"\n | \"large\"\n | \"largeLineHeight\"\n | \"body\"\n | \"bodyLineHeight\"\n | \"paragraph\"\n | \"paragraphLineHeight\"\n | \"small\"\n | \"extraSmall\"\n | \"tiny\"\n | \"micro\"\n | \"subtitle\";\n\nexport type ThemeScale<Type, Aliases extends string> = Array<Type> & Record<Aliases, Type>;\n\nexport const fontSizes = [8, 10, 11, 12, 13, 14, 16, 20, 24, 28, 32, 36] as ThemeScale<\n number,\n TextVariants\n>;\n\n[\n fontSizes.micro,\n fontSizes.tiny,\n fontSizes.extraSmall,\n fontSizes.small,\n fontSizes.paragraph,\n fontSizes.body,\n fontSizes.large,\n fontSizes.h5,\n fontSizes.h4,\n fontSizes.h3,\n fontSizes.h2,\n fontSizes.h1,\n] = fontSizes;\nfontSizes.largeLineHeight = fontSizes.large;\nfontSizes.bodyLineHeight = fontSizes.body;\nfontSizes.paragraphLineHeight = fontSizes.paragraph;\nfontSizes.subtitle = fontSizes.extraSmall;\nfontSizes.h1Inter = fontSizes.h1;\nfontSizes.h2Inter = fontSizes.h2;\nfontSizes.h3Inter = fontSizes.h3;\nfontSizes.h4Inter = fontSizes.h4;\nfontSizes.h5Inter = fontSizes.h5;\n\nconst fontWeights = {\n extraLight: \"100\",\n light: \"300\",\n regular: \"400\",\n medium: \"500\",\n semiBold: \"600\",\n bold: \"700\",\n extraBold: \"800\",\n};\n\nexport const radii = [0, 4, 8, 12, 16, 20];\nexport const shadows = [\"0 4px 8px 0 rgba(0, 0, 0, 0.03)\"];\nexport const zIndexes = [-1, 0, 1, 9, 10, 90, 100, 900, 1000];\n\n// Those fonts are now defined in global.css, this is just a mapping for styled-system\nexport const fontFamilies = {\n Inter: {\n ExtraLight: {\n weight: 100,\n style: \"normal\",\n },\n Light: {\n weight: 300,\n style: \"normal\",\n },\n Regular: {\n weight: 400,\n style: \"normal\",\n },\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n SemiBold: {\n weight: 600,\n style: \"normal\",\n },\n Bold: {\n weight: 700,\n style: \"normal\",\n },\n ExtraBold: {\n weight: 800,\n style: \"normal\",\n },\n },\n Alpha: {\n Medium: {\n weight: 500,\n style: \"normal\",\n },\n },\n};\n\nconst animationDuration = \"0.33s\";\nconst easings = {\n outQuadratic: \"cubic-bezier(0.25, 0.46, 0.45, 0.94)\",\n};\n\nconst transition = (\n properties = [\"all\"],\n duration = animationDuration,\n easing = easings.outQuadratic,\n) => css`\n transition-property: ${properties.join(\",\")};\n transition-duration: ${duration};\n transition-timing-function: ${easing};\n`;\n\nconst fadeIn = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n `;\nconst fadeOut = keyframes`\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n `;\nconst fadeInGrowX = keyframes`\n 0% {\n opacity: 0;\n transform: scaleX(0);\n }\n 100% {\n opacity: 1;\n transform: scaleX(1);\n }\n`;\nconst fadeInUp = keyframes`\n 0% {\n opacity: 0;\n transform: translateY(66%);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n `;\nconst animations = {\n fadeIn: () => css`\n ${fadeIn} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeOut: () => css`\n ${fadeOut} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n fadeInGrowX: () => css`\n ${fadeInGrowX} 0.6s ${easings.outQuadratic} forwards\n `,\n fadeInUp: () => css`\n ${fadeInUp} ${animationDuration} ${easings.outQuadratic} forwards\n `,\n};\nconst overflow = {\n x: css`\n overflow-y: hidden;\n overflow-x: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n y: css`\n overflow-x: hidden;\n overflow-y: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n yAuto: css`\n overflow-x: hidden;\n overflow-y: auto;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n xy: css`\n overflow: scroll;\n will-change: transform;\n &:hover {\n --track-color: ${p => p.theme.colors.neutral.c30};\n }\n `,\n trackSize: 12,\n};\n\ninterface DefaultTheme {\n theme: \"dark\" | \"light\";\n animations: typeof animations;\n transition: typeof transition;\n overflow: typeof overflow;\n sizes: {\n topBarHeight: number;\n sideBarWidth: number;\n drawer: {\n side: {\n big: {\n width: number;\n };\n small: {\n width: number;\n };\n };\n popin: {\n min: {\n height: number;\n width: number;\n };\n max: {\n height: number;\n width: number;\n };\n };\n };\n };\n radii: number[];\n fontFamilies: Record<string, Record<string, Font>>;\n fontSizes: number[];\n space: number[];\n shadows: string[];\n colors: ColorPalette;\n fontWeights: Record<string, string>;\n breakpoints: Record<screensBreakpoints, string>;\n zIndexes: number[];\n}\n\nconst theme: DefaultTheme = {\n theme: \"light\",\n sizes: {\n drawer: {\n side: {\n big: {\n width: 580,\n },\n small: {\n width: 420,\n },\n },\n popin: {\n min: {\n height: 158,\n width: 462,\n },\n max: {\n height: 522,\n width: 622,\n },\n },\n },\n topBarHeight: 58,\n sideBarWidth: 230,\n },\n radii,\n fontFamilies,\n fontSizes,\n fontWeights,\n space,\n shadows,\n colors: palettes.light,\n animations,\n overflow,\n transition,\n zIndexes,\n breakpoints,\n};\n\nexport default theme;\nexport type Theme = DefaultTheme;\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["React","baseStyled","compose","fontSize","fontWeight","textAlign","lineHeight","letterSpacing","system","fontFamily","textVariantStyle","uppercase","value","Text","variant","color","props","p","css","getFontSource","name","fontsPath","fontName","fontStyles","useContext","useMemo","styled","rgba","RadioContext","Label","Input","outlinedCSS","RadioElement","Element","label","disabled","outlined","context","undefined","Error","isChecked","handleChange","event","Flex","Container","RadioListElement","ListElement","containerProps","Radio","currentValue","onChange","children","FlexBox","gaps","flexbox","space","position","layout","overflow","border","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","Color","fontFamilies","c","a","darken","lighten","mix","b","ff","v","font","type","style","weight","fallback","ensureContrast","color1","color2","colorL1","colorL2","lRatio","prop","keyframes","palettes","breakpoints","fontSizes","fontWeights","radii","shadows","zIndexes","animationDuration","easings","transition","properties","duration","easing","fadeIn","fadeOut","fadeInGrowX","fadeInUp","animations","theme"],"mappings":";;;;;;;;;;;AAA0B;AACiC;AASpC;AACoC;AAEf;AAE5C,MAAMW,YAAYH,yCAAMA,CAAC;IACvB,WAAW;QACT,UAAU;QACV,WAAWI,CAAAA,QAAUA,QAAQ,cAAc;IAC7C;AACF;AA6BA,MAAMC,OAAOZ,8CAAqB,CAChC,CAAC,EAAEa,UAAU,MAAM,EAAEX,QAAQ,EAAEY,KAAK,EAAE,GAAM;QAC1C,UAAUZ,WAAWA,WAAWW;QAChC,OAAOC,SAAS;IAClB,GACD,CAAC;;eAEa,EAAEC,CAAAA,QAASA,MAAM,UAAU,IAAI,SAAS;EACrD,EAAE,CAACC,IAAiBP,yCAAgB,CAACO,EAAE,OAAO,IAAI,OAAO,CAAC;EAC1D,EAAEf,0CAAOA,CACPS,WACAL,yCAAUA,EACVG,qDAAUA,EACVN,uCAAQA,EACRE,wCAASA,EACTD,yCAAUA,EACVG,4CAAaA,EACbC,yCAAMA,CAAC;IACL,cAAc;AAChB,IACA;EACF,EAAES,CAAAA,IAAMA,EAAE,aAAa,GAAG,CAAC,gBAAgB,EAAEA,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,GAAI;AACxE,CAAC;AAED,sDAAeJ,IAAIA,EAAC;;;;;;;;;;;;ACxEoB;AAGxC,MAAMM,gBAAgB,CAACC,OAAiB,CAACJ;QACvC,MAAMK,YAAYL,MAAM,SAAS,IAAI;QACrC,MAAMM,WAAYN,MAAM,YAAY,IAAIA,MAAM,YAAY,CAACI,SAAU,GAAGA,KAAK,MAAM,CAAC;QACpF,OAAO,CAAC,KAAK,EAAEC,UAAU,CAAC,EAAEC,SAAS,kBAAkB,CAAC;IAC1D;AAEO,MAAMC,aAAaL,0CAAG,CAAC;;;SAGrB,EAA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,gDAAgD,aAAa;AAC7D,E"}
|
|
@@ -392,7 +392,7 @@ const Element = ({ label, value, disabled, outlined, variant = "default", ...pro
|
|
|
392
392
|
variant: "paragraph"
|
|
393
393
|
}, label));
|
|
394
394
|
};
|
|
395
|
-
Element.displayName = "Radio.Element"; // For easy identification in the React devtools
|
|
395
|
+
Element.displayName = "Radio.Element"; // For easy identification in the React devtools
|
|
396
396
|
Element.Label = Label;
|
|
397
397
|
/* export default */ const __rspack_default_export = (Element);
|
|
398
398
|
|
|
@@ -475,7 +475,7 @@ const ListElement = ({ label, value, disabled, containerProps, ...props })=>{
|
|
|
475
475
|
disabled
|
|
476
476
|
})));
|
|
477
477
|
};
|
|
478
|
-
ListElement.displayName = "Radio.ListElement"; // For easy identification in the React devtools
|
|
478
|
+
ListElement.displayName = "Radio.ListElement"; // For easy identification in the React devtools
|
|
479
479
|
ListElement.Label = Label;
|
|
480
480
|
/* export default */ const __rspack_default_export = (ListElement);
|
|
481
481
|
|