@ledgerhq/react-ui 0.52.0 → 0.53.0-nightly.20260625030731
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/lib/cjs/assets/index.js +31 -21
- package/lib/cjs/assets/index.js.map +1 -1
- package/lib/cjs/assets/logos/LedgerLiveAltRegular.js +15 -9
- package/lib/cjs/assets/logos/LedgerLiveAltRegular.js.map +1 -1
- package/lib/cjs/assets/logos/LedgerLiveRegular.js +15 -9
- package/lib/cjs/assets/logos/LedgerLiveRegular.js.map +1 -1
- package/lib/cjs/assets/logos/index.js +25 -16
- package/lib/cjs/assets/logos/index.js.map +1 -1
- package/lib/cjs/components/Table/Columns.js +53 -33
- package/lib/cjs/components/Table/Columns.js.map +1 -1
- package/lib/cjs/components/Table/Table.stories.js +80 -54
- package/lib/cjs/components/Table/Table.stories.js.map +1 -1
- package/lib/cjs/components/Table/index.js +58 -36
- package/lib/cjs/components/Table/index.js.map +1 -1
- package/lib/cjs/components/Table/stories.helper.js +64 -40
- package/lib/cjs/components/Table/stories.helper.js.map +1 -1
- package/lib/cjs/components/Tag/Tag.stories.js +62 -41
- package/lib/cjs/components/Tag/Tag.stories.js.map +1 -1
- package/lib/cjs/components/Tag/index.js +47 -30
- package/lib/cjs/components/Tag/index.js.map +1 -1
- package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js +69 -44
- package/lib/cjs/components/animations/GlitchText/GlitchText.stories.js.map +1 -1
- package/lib/cjs/components/animations/GlitchText/index.js +14 -9
- package/lib/cjs/components/animations/GlitchText/index.js.map +1 -1
- package/lib/cjs/components/asorted/Divider/Divider.stories.js +59 -37
- package/lib/cjs/components/asorted/Divider/Divider.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Divider/index.js +53 -33
- package/lib/cjs/components/asorted/Divider/index.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/BoxedIcon.js +34 -22
- package/lib/cjs/components/asorted/Icon/BoxedIcon.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js +45 -29
- package/lib/cjs/components/asorted/Icon/BoxedIcon.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/Icon.js +16 -10
- package/lib/cjs/components/asorted/Icon/Icon.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/Icons.stories.js +50 -32
- package/lib/cjs/components/asorted/Icon/Icons.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js +79 -55
- package/lib/cjs/components/asorted/Icon/IconsLegacy.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/NotificationIcon.js +28 -18
- package/lib/cjs/components/asorted/Icon/NotificationIcon.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js +34 -22
- package/lib/cjs/components/asorted/Icon/NotificationIcon.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Icon/index.js +45 -29
- package/lib/cjs/components/asorted/Icon/index.js.map +1 -1
- package/lib/cjs/components/asorted/Text/Text.stories.js +55 -35
- package/lib/cjs/components/asorted/Text/Text.stories.js.map +1 -1
- package/lib/cjs/components/asorted/Text/index.js +43 -27
- package/lib/cjs/components/asorted/Text/index.js.map +1 -1
- package/lib/cjs/components/asorted/Text/styles.js +16 -10
- package/lib/cjs/components/asorted/Text/styles.js.map +1 -1
- package/lib/cjs/components/asorted/index.js +72 -46
- package/lib/cjs/components/asorted/index.js.map +1 -1
- package/lib/cjs/components/cta/Button/Button.stories.js +65 -45
- package/lib/cjs/components/cta/Button/Button.stories.js.map +1 -1
- package/lib/cjs/components/cta/Button/index.js +40 -28
- package/lib/cjs/components/cta/Button/index.js.map +1 -1
- package/lib/cjs/components/cta/Link/Link.stories.js +55 -36
- package/lib/cjs/components/cta/Link/Link.stories.js.map +1 -1
- package/lib/cjs/components/cta/Link/getLinkStyle.js +14 -9
- package/lib/cjs/components/cta/Link/getLinkStyle.js.map +1 -1
- package/lib/cjs/components/cta/Link/index.js +53 -34
- package/lib/cjs/components/cta/Link/index.js.map +1 -1
- package/lib/cjs/components/cta/Toggle/Toggle.stories.js +47 -33
- package/lib/cjs/components/cta/Toggle/Toggle.stories.js.map +1 -1
- package/lib/cjs/components/cta/Toggle/index.js +45 -31
- package/lib/cjs/components/cta/Toggle/index.js.map +1 -1
- package/lib/cjs/components/cta/getCtaStyle.js +16 -10
- package/lib/cjs/components/cta/getCtaStyle.js.map +1 -1
- package/lib/cjs/components/cta/index.js +66 -45
- package/lib/cjs/components/cta/index.js.map +1 -1
- package/lib/cjs/components/form/BaseInput/Input.stories.js +70 -50
- package/lib/cjs/components/form/BaseInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/BaseInput/index.js +62 -44
- package/lib/cjs/components/form/BaseInput/index.js.map +1 -1
- package/lib/cjs/components/form/Checkbox/Checkbox.js +43 -27
- package/lib/cjs/components/form/Checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/components/form/Checkbox/Checkbox.stories.js +48 -32
- package/lib/cjs/components/form/Checkbox/Checkbox.stories.js.map +1 -1
- package/lib/cjs/components/form/Checkbox/index.js +47 -30
- package/lib/cjs/components/form/Checkbox/index.js.map +1 -1
- package/lib/cjs/components/form/Dropdown/Dropdown.stories.js +100 -72
- package/lib/cjs/components/form/Dropdown/Dropdown.stories.js.map +1 -1
- package/lib/cjs/components/form/Dropdown/index.js +94 -68
- package/lib/cjs/components/form/Dropdown/index.js.map +1 -1
- package/lib/cjs/components/form/LegendInput/Input.stories.js +72 -50
- package/lib/cjs/components/form/LegendInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/LegendInput/index.js +66 -46
- package/lib/cjs/components/form/LegendInput/index.js.map +1 -1
- package/lib/cjs/components/form/NumberInput/Input.stories.js +70 -48
- package/lib/cjs/components/form/NumberInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/NumberInput/index.js +64 -44
- package/lib/cjs/components/form/NumberInput/index.js.map +1 -1
- package/lib/cjs/components/form/QrCodeInput/Input.stories.js +67 -47
- package/lib/cjs/components/form/QrCodeInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/QrCodeInput/index.js +59 -41
- package/lib/cjs/components/form/QrCodeInput/index.js.map +1 -1
- package/lib/cjs/components/form/QuantityInput/Input.stories.js +70 -48
- package/lib/cjs/components/form/QuantityInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/QuantityInput/index.js +64 -44
- package/lib/cjs/components/form/QuantityInput/index.js.map +1 -1
- package/lib/cjs/components/form/Radio/Radio.stories.js +55 -37
- package/lib/cjs/components/form/Radio/Radio.stories.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioElement.js +52 -34
- package/lib/cjs/components/form/Radio/RadioElement.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioElement.stories.js +58 -38
- package/lib/cjs/components/form/Radio/RadioElement.stories.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioListElement.js +52 -34
- package/lib/cjs/components/form/Radio/RadioListElement.js.map +1 -1
- package/lib/cjs/components/form/Radio/RadioListElement.stories.js +58 -38
- package/lib/cjs/components/form/Radio/RadioListElement.stories.js.map +1 -1
- package/lib/cjs/components/form/Radio/index.js +52 -34
- package/lib/cjs/components/form/Radio/index.js.map +1 -1
- package/lib/cjs/components/form/SearchInput/Input.stories.js +67 -47
- package/lib/cjs/components/form/SearchInput/Input.stories.js.map +1 -1
- package/lib/cjs/components/form/SearchInput/index.js +59 -41
- package/lib/cjs/components/form/SearchInput/index.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/Control.js +64 -45
- package/lib/cjs/components/form/SelectInput/Control.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/DropdownIndicator.js +48 -31
- package/lib/cjs/components/form/SelectInput/DropdownIndicator.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/IndicatorsContainer.js +29 -18
- package/lib/cjs/components/form/SelectInput/IndicatorsContainer.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/MenuList.js +15 -10
- package/lib/cjs/components/form/SelectInput/MenuList.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/Option.js +48 -31
- package/lib/cjs/components/form/SelectInput/Option.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/Select.stories.js +102 -74
- package/lib/cjs/components/form/SelectInput/Select.stories.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/ValueContainer.js +48 -31
- package/lib/cjs/components/form/SelectInput/ValueContainer.js.map +1 -1
- package/lib/cjs/components/form/SelectInput/index.js +94 -68
- package/lib/cjs/components/form/SelectInput/index.js.map +1 -1
- package/lib/cjs/components/form/SplitInput/SplitInput.stories.js +117 -86
- package/lib/cjs/components/form/SplitInput/SplitInput.stories.js.map +1 -1
- package/lib/cjs/components/form/SplitInput/index.js +63 -44
- package/lib/cjs/components/form/SplitInput/index.js.map +1 -1
- package/lib/cjs/components/form/Switch/Switch.js +53 -33
- package/lib/cjs/components/form/Switch/Switch.js.map +1 -1
- package/lib/cjs/components/form/Switch/Switch.stories.js +55 -35
- package/lib/cjs/components/form/Switch/Switch.stories.js.map +1 -1
- package/lib/cjs/components/form/Switch/index.js +56 -35
- package/lib/cjs/components/form/Switch/index.js.map +1 -1
- package/lib/cjs/components/form/TabSelector/TabSelector.stories.js +56 -36
- package/lib/cjs/components/form/TabSelector/TabSelector.stories.js.map +1 -1
- package/lib/cjs/components/form/TabSelector/index.js +48 -30
- package/lib/cjs/components/form/TabSelector/index.js.map +1 -1
- package/lib/cjs/components/form/index.js +138 -103
- package/lib/cjs/components/form/index.js.map +1 -1
- package/lib/cjs/components/helpers.js +15 -9
- package/lib/cjs/components/helpers.js.map +1 -1
- package/lib/cjs/components/index.js +398 -282
- package/lib/cjs/components/index.js.map +1 -1
- package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js +90 -62
- package/lib/cjs/components/layout/Banner/BannerCard/BannerCard.stories.js.map +1 -1
- package/lib/cjs/components/layout/Banner/BannerCard/index.js +72 -49
- package/lib/cjs/components/layout/Banner/BannerCard/index.js.map +1 -1
- package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js +78 -51
- package/lib/cjs/components/layout/Banner/NotificationCard/NotificationCard.stories.js.map +1 -1
- package/lib/cjs/components/layout/Banner/NotificationCard/index.js +61 -39
- package/lib/cjs/components/layout/Banner/NotificationCard/index.js.map +1 -1
- package/lib/cjs/components/layout/Box/Box.stories.js +27 -17
- package/lib/cjs/components/layout/Box/Box.stories.js.map +1 -1
- package/lib/cjs/components/layout/Box/index.js +25 -15
- package/lib/cjs/components/layout/Box/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Carousel.stories.js +117 -80
- package/lib/cjs/components/layout/Carousel/Carousel.stories.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/ChevronArrow.js +14 -9
- package/lib/cjs/components/layout/Carousel/ChevronArrow.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/bullets.js +14 -9
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/bullets.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js +26 -17
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/types.js +14 -9
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/types.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js +19 -12
- package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/index.js +41 -26
- package/lib/cjs/components/layout/Carousel/Footer/index.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js +31 -20
- package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/Footer/variantDefault.js +31 -20
- package/lib/cjs/components/layout/Carousel/Footer/variantDefault.js.map +1 -1
- package/lib/cjs/components/layout/Carousel/index.js +45 -29
- package/lib/cjs/components/layout/Carousel/index.js.map +1 -1
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js +81 -56
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js.map +1 -1
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/index.js +73 -50
- package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/index.js.map +1 -1
- package/lib/cjs/components/layout/Drawer/Drawer.stories.js +78 -52
- package/lib/cjs/components/layout/Drawer/Drawer.stories.js.map +1 -1
- package/lib/cjs/components/layout/Drawer/index.js +76 -50
- package/lib/cjs/components/layout/Drawer/index.js.map +1 -1
- package/lib/cjs/components/layout/Flex/Flex.stories.js +27 -17
- package/lib/cjs/components/layout/Flex/Flex.stories.js.map +1 -1
- package/lib/cjs/components/layout/Flex/index.js +25 -15
- package/lib/cjs/components/layout/Flex/index.js.map +1 -1
- package/lib/cjs/components/layout/Grid/Grid.stories.js +55 -35
- package/lib/cjs/components/layout/Grid/Grid.stories.js.map +1 -1
- package/lib/cjs/components/layout/Grid/index.js +25 -15
- package/lib/cjs/components/layout/Grid/index.js.map +1 -1
- package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js +66 -43
- package/lib/cjs/components/layout/List/NumberedList/NumberedList.stories.js.map +1 -1
- package/lib/cjs/components/layout/List/NumberedList/index.js +55 -36
- package/lib/cjs/components/layout/List/NumberedList/index.js.map +1 -1
- package/lib/cjs/components/layout/List/VerticalTimeline/TimelineIndicator.js +25 -15
- package/lib/cjs/components/layout/List/VerticalTimeline/TimelineIndicator.js.map +1 -1
- package/lib/cjs/components/layout/List/VerticalTimeline/TimelineItem.js +63 -41
- package/lib/cjs/components/layout/List/VerticalTimeline/TimelineItem.js.map +1 -1
- package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js +86 -58
- package/lib/cjs/components/layout/List/VerticalTimeline/VerticalTimeline.stories.js.map +1 -1
- package/lib/cjs/components/layout/List/VerticalTimeline/index.js +63 -41
- package/lib/cjs/components/layout/List/VerticalTimeline/index.js.map +1 -1
- package/lib/cjs/components/layout/Popin/Popin.stories.js +74 -50
- package/lib/cjs/components/layout/Popin/Popin.stories.js.map +1 -1
- package/lib/cjs/components/layout/Popin/index.js +60 -40
- package/lib/cjs/components/layout/Popin/index.js.map +1 -1
- package/lib/cjs/components/layout/Side/Provider.js +18 -12
- package/lib/cjs/components/layout/Side/Provider.js.map +1 -1
- package/lib/cjs/components/layout/Side/Side.stories.js +99 -65
- package/lib/cjs/components/layout/Side/Side.stories.js.map +1 -1
- package/lib/cjs/components/layout/Side/index.js +86 -56
- package/lib/cjs/components/layout/Side/index.js.map +1 -1
- package/lib/cjs/components/layout/index.js +174 -117
- package/lib/cjs/components/layout/index.js.map +1 -1
- package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js +20 -13
- package/lib/cjs/components/loaders/InfiniteLoader/InfiniteLoader.stories.js.map +1 -1
- package/lib/cjs/components/loaders/InfiniteLoader/index.js +14 -9
- package/lib/cjs/components/loaders/InfiniteLoader/index.js.map +1 -1
- package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js +53 -34
- package/lib/cjs/components/loaders/ProgressLoader/ProgressLoader.stories.js.map +1 -1
- package/lib/cjs/components/loaders/ProgressLoader/index.js +47 -30
- package/lib/cjs/components/loaders/ProgressLoader/index.js.map +1 -1
- package/lib/cjs/components/loaders/index.js +56 -37
- package/lib/cjs/components/loaders/index.js.map +1 -1
- package/lib/cjs/components/message/Alert/Alert.stories.js +69 -48
- package/lib/cjs/components/message/Alert/Alert.stories.js.map +1 -1
- package/lib/cjs/components/message/Alert/index.js +48 -30
- package/lib/cjs/components/message/Alert/index.js.map +1 -1
- package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js +59 -37
- package/lib/cjs/components/message/ContinueOnDevice/ContinueOnDevice.stories.js.map +1 -1
- package/lib/cjs/components/message/ContinueOnDevice/index.js +53 -33
- package/lib/cjs/components/message/ContinueOnDevice/index.js.map +1 -1
- package/lib/cjs/components/message/Log/Brackets.js +31 -19
- package/lib/cjs/components/message/Log/Brackets.js.map +1 -1
- package/lib/cjs/components/message/Log/Log.stories.js +65 -41
- package/lib/cjs/components/message/Log/Log.stories.js.map +1 -1
- package/lib/cjs/components/message/Log/index.js +59 -37
- package/lib/cjs/components/message/Log/index.js.map +1 -1
- package/lib/cjs/components/message/Notification/Badge.js +14 -9
- package/lib/cjs/components/message/Notification/Badge.js.map +1 -1
- package/lib/cjs/components/message/Notification/Badge.stories.js +40 -25
- package/lib/cjs/components/message/Notification/Badge.stories.js.map +1 -1
- package/lib/cjs/components/message/Notification/Notification.stories.js +73 -47
- package/lib/cjs/components/message/Notification/Notification.stories.js.map +1 -1
- package/lib/cjs/components/message/Notification/index.js +62 -40
- package/lib/cjs/components/message/Notification/index.js.map +1 -1
- package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js +75 -47
- package/lib/cjs/components/message/StatusNotification/StatusNotification.stories.js.map +1 -1
- package/lib/cjs/components/message/StatusNotification/index.js +64 -40
- package/lib/cjs/components/message/StatusNotification/index.js.map +1 -1
- package/lib/cjs/components/message/Tip/Tip.stories.js +54 -34
- package/lib/cjs/components/message/Tip/Tip.stories.js.map +1 -1
- package/lib/cjs/components/message/Tip/index.js +48 -30
- package/lib/cjs/components/message/Tip/index.js.map +1 -1
- package/lib/cjs/components/message/Tooltip/Tooltip.stories.js +56 -36
- package/lib/cjs/components/message/Tooltip/Tooltip.stories.js.map +1 -1
- package/lib/cjs/components/message/Tooltip/index.js +43 -27
- package/lib/cjs/components/message/Tooltip/index.js.map +1 -1
- package/lib/cjs/components/message/Tooltip/styles.js +15 -9
- package/lib/cjs/components/message/Tooltip/styles.js.map +1 -1
- package/lib/cjs/components/message/index.js +87 -57
- package/lib/cjs/components/message/index.js.map +1 -1
- package/lib/cjs/components/navigation/Aside/Aside.stories.js +71 -46
- package/lib/cjs/components/navigation/Aside/Aside.stories.js.map +1 -1
- package/lib/cjs/components/navigation/Aside/index.js +29 -18
- package/lib/cjs/components/navigation/Aside/index.js.map +1 -1
- package/lib/cjs/components/navigation/Aside/stories.helper.js +16 -10
- package/lib/cjs/components/navigation/Aside/stories.helper.js.map +1 -1
- package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js +100 -72
- package/lib/cjs/components/navigation/Breadcrumb/Breadcrumb.stories.js.map +1 -1
- package/lib/cjs/components/navigation/Breadcrumb/index.js +94 -68
- package/lib/cjs/components/navigation/Breadcrumb/index.js.map +1 -1
- package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js +91 -61
- package/lib/cjs/components/navigation/FlowStepper/FlowStepper.stories.js.map +1 -1
- package/lib/cjs/components/navigation/FlowStepper/index.js +53 -33
- package/lib/cjs/components/navigation/FlowStepper/index.js.map +1 -1
- package/lib/cjs/components/navigation/Header/Header.stories.js +63 -40
- package/lib/cjs/components/navigation/Header/Header.stories.js.map +1 -1
- package/lib/cjs/components/navigation/Header/index.js +29 -18
- package/lib/cjs/components/navigation/Header/index.js.map +1 -1
- package/lib/cjs/components/navigation/index.js +149 -103
- package/lib/cjs/components/navigation/index.js.map +1 -1
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.js +48 -30
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.js.map +1 -1
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js +54 -34
- package/lib/cjs/components/navigation/progress/ProgressBar/Onboarding.stories.js.map +1 -1
- package/lib/cjs/components/navigation/progress/ProgressBar/index.js +51 -32
- package/lib/cjs/components/navigation/progress/ProgressBar/index.js.map +1 -1
- package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js +54 -34
- package/lib/cjs/components/navigation/progress/Stepper/Item.stories.js.map +1 -1
- package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js +54 -34
- package/lib/cjs/components/navigation/progress/Stepper/ProgressSteps.stories.js.map +1 -1
- package/lib/cjs/components/navigation/progress/Stepper/index.js +48 -30
- package/lib/cjs/components/navigation/progress/Stepper/index.js.map +1 -1
- package/lib/cjs/components/navigation/progress/index.js +53 -33
- package/lib/cjs/components/navigation/progress/index.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Item/Item.js +64 -40
- package/lib/cjs/components/navigation/sideBar/Item/Item.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js +67 -43
- package/lib/cjs/components/navigation/sideBar/Item/Item.stories.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Item/index.js +66 -41
- package/lib/cjs/components/navigation/sideBar/Item/index.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Logo/Logo.js +35 -21
- package/lib/cjs/components/navigation/sideBar/Logo/Logo.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Logo/index.js +38 -23
- package/lib/cjs/components/navigation/sideBar/Logo/index.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.js +85 -53
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js +87 -55
- package/lib/cjs/components/navigation/sideBar/SideBar/SideBar.stories.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/SideBar/index.js +88 -55
- package/lib/cjs/components/navigation/sideBar/SideBar/index.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Toggle/Toggle.js +20 -12
- package/lib/cjs/components/navigation/sideBar/Toggle/Toggle.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/Toggle/index.js +24 -15
- package/lib/cjs/components/navigation/sideBar/Toggle/index.js.map +1 -1
- package/lib/cjs/components/navigation/sideBar/index.js +15 -9
- package/lib/cjs/components/navigation/sideBar/index.js.map +1 -1
- package/lib/cjs/components/styled.js +21 -13
- package/lib/cjs/components/styled.js.map +1 -1
- package/lib/cjs/components/styled.stories.js +22 -14
- package/lib/cjs/components/styled.stories.js.map +1 -1
- package/lib/cjs/components/tabs/Bar/Bar.stories.js +58 -37
- package/lib/cjs/components/tabs/Bar/Bar.stories.js.map +1 -1
- package/lib/cjs/components/tabs/Bar/index.js +29 -18
- package/lib/cjs/components/tabs/Bar/index.js.map +1 -1
- package/lib/cjs/components/tabs/Chip/Chip.stories.js +58 -37
- package/lib/cjs/components/tabs/Chip/Chip.stories.js.map +1 -1
- package/lib/cjs/components/tabs/Chip/index.js +29 -18
- package/lib/cjs/components/tabs/Chip/index.js.map +1 -1
- package/lib/cjs/components/tabs/Pill/Pill.stories.js +63 -40
- package/lib/cjs/components/tabs/Pill/Pill.stories.js.map +1 -1
- package/lib/cjs/components/tabs/Pill/index.js +29 -18
- package/lib/cjs/components/tabs/Pill/index.js.map +1 -1
- package/lib/cjs/components/tabs/Tabs/Tabs.stories.js +62 -40
- package/lib/cjs/components/tabs/Tabs/Tabs.stories.js.map +1 -1
- package/lib/cjs/components/tabs/Tabs/index.js +56 -36
- package/lib/cjs/components/tabs/Tabs/index.js.map +1 -1
- package/lib/cjs/components/tabs/index.js +75 -51
- package/lib/cjs/components/tabs/index.js.map +1 -1
- package/lib/cjs/components/transitions/TransitionInOut.js +15 -9
- package/lib/cjs/components/transitions/TransitionInOut.js.map +1 -1
- package/lib/cjs/components/transitions/TransitionScale.js +15 -9
- package/lib/cjs/components/transitions/TransitionScale.js.map +1 -1
- package/lib/cjs/components/transitions/TransitionSlide.js +15 -9
- package/lib/cjs/components/transitions/TransitionSlide.js.map +1 -1
- package/lib/cjs/components/transitions/index.js +31 -20
- package/lib/cjs/components/transitions/index.js.map +1 -1
- package/lib/cjs/helpers.js +15 -9
- package/lib/cjs/helpers.js.map +1 -1
- package/lib/cjs/index.js +409 -291
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.js +106 -73
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.js.map +1 -1
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js +111 -78
- package/lib/cjs/pre-ldls/components/AccountItem/AccountItem.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.js +117 -81
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.js.map +1 -1
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js +119 -83
- package/lib/cjs/pre-ldls/components/AccountList/AccountList.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Address/Address.js +80 -54
- package/lib/cjs/pre-ldls/components/Address/Address.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Address/Address.stories.js +85 -60
- package/lib/cjs/pre-ldls/components/Address/Address.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Address/formatAddress.js +15 -9
- package/lib/cjs/pre-ldls/components/Address/formatAddress.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Address/tests/formatAddress.test.js +15 -9
- package/lib/cjs/pre-ldls/components/Address/tests/formatAddress.test.js.map +1 -1
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.js +24 -16
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.js.map +1 -1
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js +28 -20
- package/lib/cjs/pre-ldls/components/CardButton/CardButton.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.js +19 -13
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js +27 -19
- package/lib/cjs/pre-ldls/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Tag/Tag.js +57 -37
- package/lib/cjs/pre-ldls/components/Tag/Tag.js.map +1 -1
- package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js +58 -38
- package/lib/cjs/pre-ldls/components/Tag/Tag.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.js +34 -22
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.js.map +1 -1
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js +47 -33
- package/lib/cjs/pre-ldls/components/TextInput/TextInput.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.js +29 -18
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.js.map +1 -1
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js +35 -24
- package/lib/cjs/pre-ldls/components/VirtualList/VirtualList.stories.js.map +1 -1
- package/lib/cjs/pre-ldls/components/index.js +136 -611
- package/lib/cjs/pre-ldls/components/index.js.map +1 -1
- package/lib/cjs/pre-ldls/components/sharedStoryBook.js +64 -42
- package/lib/cjs/pre-ldls/components/sharedStoryBook.js.map +1 -1
- package/lib/cjs/pre-ldls/index.js +137 -619
- package/lib/cjs/pre-ldls/index.js.map +1 -1
- package/lib/cjs/pre-ldls/libs/design-tokens.js +19 -13
- package/lib/cjs/pre-ldls/libs/design-tokens.js.map +1 -1
- package/lib/cjs/pre-ldls/libs/index.js +17 -11
- package/lib/cjs/pre-ldls/libs/index.js.map +1 -1
- package/lib/cjs/styles/InvertTheme.js +15 -9
- package/lib/cjs/styles/InvertTheme.js.map +1 -1
- package/lib/cjs/styles/Spacing.stories.js +54 -34
- package/lib/cjs/styles/Spacing.stories.js.map +1 -1
- package/lib/cjs/styles/StyleProvider.js +33 -21
- package/lib/cjs/styles/StyleProvider.js.map +1 -1
- package/lib/cjs/styles/breakpoints.stories.js +54 -34
- package/lib/cjs/styles/breakpoints.stories.js.map +1 -1
- package/lib/cjs/styles/global.js +28 -18
- package/lib/cjs/styles/global.js.map +1 -1
- package/lib/cjs/styles/helpers.js +18 -12
- package/lib/cjs/styles/helpers.js.map +1 -1
- package/lib/cjs/styles/index.js +37 -25
- package/lib/cjs/styles/index.js.map +1 -1
- package/lib/cjs/styles/palettes/colors.stories.js +54 -34
- package/lib/cjs/styles/palettes/colors.stories.js.map +1 -1
- package/lib/cjs/styles/styled/fontFamily.js +23 -15
- package/lib/cjs/styles/styled/fontFamily.js.map +1 -1
- package/lib/cjs/styles/system/gaps.js +15 -9
- package/lib/cjs/styles/system/gaps.js.map +1 -1
- package/lib/cjs/styles/theme.js +22 -16
- package/lib/cjs/styles/theme.js.map +1 -1
- package/lib/pre-ldls/components/index.d.ts +0 -8
- package/lib/pre-ldls/components/index.d.ts.map +1 -1
- package/lib/pre-ldls/components/index.js +0 -8
- package/lib/pre-ldls/components/index.js.map +1 -1
- package/package.json +13 -13
- package/lib/cjs/pre-ldls/components/AssetItem/AssetItem.js +0 -1835
- package/lib/cjs/pre-ldls/components/AssetItem/AssetItem.js.map +0 -1
- package/lib/cjs/pre-ldls/components/AssetItem/AssetItem.stories.js +0 -1999
- package/lib/cjs/pre-ldls/components/AssetItem/AssetItem.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/AssetList/AssetList.js +0 -2109
- package/lib/cjs/pre-ldls/components/AssetList/AssetList.js.map +0 -1
- package/lib/cjs/pre-ldls/components/AssetList/AssetList.stories.js +0 -2297
- package/lib/cjs/pre-ldls/components/AssetList/AssetList.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Input/Input.js +0 -1183
- package/lib/cjs/pre-ldls/components/Input/Input.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Input/Input.stories.js +0 -1241
- package/lib/cjs/pre-ldls/components/Input/Input.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.js +0 -1794
- package/lib/cjs/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.js.map +0 -1
- package/lib/cjs/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.js +0 -1849
- package/lib/cjs/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.js +0 -1793
- package/lib/cjs/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.js.map +0 -1
- package/lib/cjs/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.js +0 -1852
- package/lib/cjs/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/NetworkItem/NetworkItem.js +0 -1788
- package/lib/cjs/pre-ldls/components/NetworkItem/NetworkItem.js.map +0 -1
- package/lib/cjs/pre-ldls/components/NetworkItem/NetworkItem.stories.js +0 -1924
- package/lib/cjs/pre-ldls/components/NetworkItem/NetworkItem.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/NetworkList/NetworkList.js +0 -2057
- package/lib/cjs/pre-ldls/components/NetworkList/NetworkList.js.map +0 -1
- package/lib/cjs/pre-ldls/components/NetworkList/NetworkList.stories.js +0 -2116
- package/lib/cjs/pre-ldls/components/NetworkList/NetworkList.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Search/Search.js +0 -1288
- package/lib/cjs/pre-ldls/components/Search/Search.js.map +0 -1
- package/lib/cjs/pre-ldls/components/Search/Search.stories.js +0 -1350
- package/lib/cjs/pre-ldls/components/Search/Search.stories.js.map +0 -1
- package/lib/cjs/pre-ldls/hooks/index.js +0 -110
- package/lib/cjs/pre-ldls/hooks/index.js.map +0 -1
- package/lib/cjs/pre-ldls/hooks/useDebouncedCallback.js +0 -101
- package/lib/cjs/pre-ldls/hooks/useDebouncedCallback.js.map +0 -1
- package/lib/cjs/pre-ldls/hooks/useDebouncedCallback.stories.js +0 -184
- package/lib/cjs/pre-ldls/hooks/useDebouncedCallback.stories.js.map +0 -1
- package/lib/pre-ldls/components/AssetItem/AssetItem.d.ts +0 -17
- package/lib/pre-ldls/components/AssetItem/AssetItem.d.ts.map +0 -1
- package/lib/pre-ldls/components/AssetItem/AssetItem.js +0 -76
- package/lib/pre-ldls/components/AssetItem/AssetItem.js.map +0 -1
- package/lib/pre-ldls/components/AssetList/AssetList.d.ts +0 -11
- package/lib/pre-ldls/components/AssetList/AssetList.d.ts.map +0 -1
- package/lib/pre-ldls/components/AssetList/AssetList.js +0 -8
- package/lib/pre-ldls/components/AssetList/AssetList.js.map +0 -1
- package/lib/pre-ldls/components/Input/Input.d.ts +0 -5
- package/lib/pre-ldls/components/Input/Input.d.ts.map +0 -1
- package/lib/pre-ldls/components/Input/Input.js +0 -31
- package/lib/pre-ldls/components/Input/Input.js.map +0 -1
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.d.ts +0 -5
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.d.ts.map +0 -1
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.js +0 -34
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.js.map +0 -1
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.d.ts +0 -10
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.d.ts.map +0 -1
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.js +0 -20
- package/lib/pre-ldls/components/MarketPercentIndicator/MarketPercentIndicator.stories.js.map +0 -1
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.d.ts +0 -6
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.d.ts.map +0 -1
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.js +0 -32
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.js.map +0 -1
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.d.ts +0 -10
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.d.ts.map +0 -1
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.js +0 -20
- package/lib/pre-ldls/components/MarketPriceIndicator/MarketPriceIndicator.stories.js.map +0 -1
- package/lib/pre-ldls/components/NetworkItem/NetworkItem.d.ts +0 -14
- package/lib/pre-ldls/components/NetworkItem/NetworkItem.d.ts.map +0 -1
- package/lib/pre-ldls/components/NetworkItem/NetworkItem.js +0 -43
- package/lib/pre-ldls/components/NetworkItem/NetworkItem.js.map +0 -1
- package/lib/pre-ldls/components/NetworkList/NetworkList.d.ts +0 -7
- package/lib/pre-ldls/components/NetworkList/NetworkList.d.ts.map +0 -1
- package/lib/pre-ldls/components/NetworkList/NetworkList.js +0 -8
- package/lib/pre-ldls/components/NetworkList/NetworkList.js.map +0 -1
- package/lib/pre-ldls/components/Search/Search.d.ts +0 -10
- package/lib/pre-ldls/components/Search/Search.d.ts.map +0 -1
- package/lib/pre-ldls/components/Search/Search.js +0 -47
- package/lib/pre-ldls/components/Search/Search.js.map +0 -1
- package/lib/pre-ldls/hooks/index.d.ts +0 -2
- package/lib/pre-ldls/hooks/index.d.ts.map +0 -1
- package/lib/pre-ldls/hooks/index.js +0 -2
- package/lib/pre-ldls/hooks/index.js.map +0 -1
- package/lib/pre-ldls/hooks/useDebouncedCallback.d.ts +0 -2
- package/lib/pre-ldls/hooks/useDebouncedCallback.d.ts.map +0 -1
- package/lib/pre-ldls/hooks/useDebouncedCallback.js +0 -16
- package/lib/pre-ldls/hooks/useDebouncedCallback.js.map +0 -1
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = ({
|
|
4
4
|
3696(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
6
|
-
"default": () => (__rspack_default_export)
|
|
7
|
-
});
|
|
8
5
|
/* import */ var _styled__rspack_import_0 = __webpack_require__(7680);
|
|
9
6
|
|
|
10
7
|
const FlexBox = _styled__rspack_import_0["default"].div.attrs({
|
|
@@ -13,12 +10,14 @@ const FlexBox = _styled__rspack_import_0["default"].div.attrs({
|
|
|
13
10
|
})``;
|
|
14
11
|
/* export default */ const __rspack_default_export = (FlexBox);
|
|
15
12
|
|
|
13
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14
|
+
}, {
|
|
15
|
+
"default": __rspack_default_export
|
|
16
|
+
});
|
|
17
|
+
|
|
16
18
|
|
|
17
19
|
},
|
|
18
20
|
7680(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
19
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
20
|
-
"default": () => (__rspack_default_export)
|
|
21
|
-
});
|
|
22
21
|
/* import */ var _styles_system_gaps__rspack_import_2 = __webpack_require__(4182);
|
|
23
22
|
/* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
|
|
24
23
|
/* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
|
|
@@ -43,12 +42,14 @@ const proxyStyled = new Proxy((styled_components__rspack_import_0_default()), {
|
|
|
43
42
|
});
|
|
44
43
|
/* export default */ const __rspack_default_export = (proxyStyled);
|
|
45
44
|
|
|
45
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
46
|
+
}, {
|
|
47
|
+
"default": __rspack_default_export
|
|
48
|
+
});
|
|
49
|
+
|
|
46
50
|
|
|
47
51
|
},
|
|
48
52
|
4182(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
49
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
50
|
-
"default": () => (__rspack_default_export)
|
|
51
|
-
});
|
|
52
53
|
/* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
|
|
53
54
|
/* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
|
|
54
55
|
|
|
@@ -64,6 +65,11 @@ const gaps = (0,styled_system__rspack_import_0.system)({
|
|
|
64
65
|
});
|
|
65
66
|
/* export default */ const __rspack_default_export = (gaps);
|
|
66
67
|
|
|
68
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
69
|
+
}, {
|
|
70
|
+
"default": __rspack_default_export
|
|
71
|
+
});
|
|
72
|
+
|
|
67
73
|
|
|
68
74
|
},
|
|
69
75
|
2770(module) {
|
|
@@ -113,12 +119,16 @@ __webpack_require__.n = (module) => {
|
|
|
113
119
|
})();
|
|
114
120
|
// webpack/runtime/define_property_getters
|
|
115
121
|
(() => {
|
|
116
|
-
__webpack_require__.d = (exports,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
__webpack_require__.d = (exports, getters, values) => {
|
|
123
|
+
var define = (defs, kind) => {
|
|
124
|
+
for(var key in defs) {
|
|
125
|
+
if(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {
|
|
126
|
+
Object.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
define(getters, "get");
|
|
131
|
+
define(values, "value");
|
|
122
132
|
};
|
|
123
133
|
})();
|
|
124
134
|
// webpack/runtime/has_own_property
|
|
@@ -143,8 +153,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
143
153
|
|
|
144
154
|
// EXPORTS
|
|
145
155
|
__webpack_require__.d(__webpack_exports__, {
|
|
146
|
-
|
|
147
|
-
|
|
156
|
+
Default: () => (/* binding */ Default),
|
|
157
|
+
"default": () => (/* binding */ Flex_stories)
|
|
148
158
|
});
|
|
149
159
|
|
|
150
160
|
;// CONCATENATED MODULE: external "react"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/layout/Flex/Flex.stories.js","sources":["webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts","webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.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","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/Flex.stories.tsx"],"sourcesContent":["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 { 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","// 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, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\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 from \"react\";\nimport Flex, { FlexBoxProps } from \"./index\";\n\nexport default {\n title: \"Layout/Flex\",\n component: Flex,\n argTypes: {\n children: {\n type: \"text\",\n description: \"Any valid React node\",\n required: true,\n control: false,\n },\n alignItems: {\n type: \"text\",\n description:\n \"This defines the default behavior for how flex items are laid out along the cross axis on the current line. Think of it as the justify-content version for the cross-axis (perpendicular to the main-axis).\",\n required: false,\n options: [\n \"stretch\",\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"start\",\n \"end\",\n \"self-start\",\n \"self-end\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"cross-axis\",\n },\n },\n flexDirection: {\n type: \"text\",\n description:\n \"This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns.\",\n required: false,\n options: [\"row\", \"row-reverse\", \"column\", \"column-reverse\"],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"main-axis\",\n },\n },\n justifyItems: {\n type: \"text\",\n description:\n \"This defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n },\n },\n justifyContent: {\n type: \"text\",\n description:\n \"This defines the alignment along the main axis. It helps distribute extra free space leftover when either all the flex items on a line are inflexible, or are flexible but have reached their maximum size. It also exerts some control over the alignment of items when they overflow the line.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"left\",\n \"right\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"main-axis\",\n },\n },\n flexWrap: {\n type: \"text\",\n description:\n \"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.\",\n required: false,\n options: [\"nowrap\", \"wrap\", \"wrap-reverse\"],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n },\n },\n flex: {\n type: \"text\",\n description:\n \"This is the shorthand for flex-grow, flex-shrink and flex-basis combined. The second and third parameters (flex-shrink and flex-basis) are optional. The default is 0 1 auto, but if you set it with a single number value, it’s like 1 0.\",\n required: false,\n control: {\n type: \"text\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexGrow: {\n type: \"text\",\n description:\n \"This defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexShrink: {\n type: \"text\",\n description: \"This defines the ability for a flex item to shrink if necessary.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexBasis: {\n type: \"text\",\n description:\n \"This defines the default size of an element before the remaining space is distributed. It can be a length (e.g. 20%, 5rem, etc.) or a keyword. The auto keyword means “look at my width or height property” (which was temporarily done by the main-size keyword until deprecated).\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n justifySelf: {\n type: \"text\",\n description:\n \"This sets the way a box is justified inside its alignment container along the appropriate axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Children\",\n },\n },\n alignContent: {\n type: \"text\",\n description:\n \"This aligns a flex container’s lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"cross-axis\",\n },\n },\n alignSelf: {\n type: \"text\",\n description:\n \"This allows the default alignment (or the one specified by align-items) to be overridden for individual flex items.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Children\",\n },\n },\n order: {\n type: \"text\",\n description:\n \"By default, flex items are laid out in the source order. However, the order property controls the order in which they appear in the flex container.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n rowGap: {\n type: \"text\",\n description:\n \"The row-gap CSS property sets the size of the gap (gutter) between an element's flex rows.\",\n required: false,\n control: { type: \"text\" },\n table: { category: \"Parent\" },\n },\n columnGap: {\n type: \"text\",\n description:\n \"The column-gap CSS property sets the size of the gap (gutter) between an element's flex columns.\",\n required: false,\n control: { type: \"text\" },\n table: { category: \"Parent\" },\n },\n },\n parameters: {\n docs: {\n description: {\n component: `The Flex component is a flexbox helper component that lets you write these common css properties more succinctly and inline.\n \nLike the Box component, it includes all the style props exported by the color, layout, position, and shadow utilities from the [styled-system](https://styled-system.com) library, but also fully includes the flexbox ones.\n \n[See more about styled-system utilities](https://styled-system.com/api)`,\n },\n },\n },\n};\n/*\n ** Template component creates a sandbox to play with Flexbox properties.\n ** Children Flexbox props are passed to the first Square child, that allow\n ** you to play with the flexbox properties for children.\n */\n\nconst Template = (args: FlexBoxProps) => (\n <Flex {...args}>\n <Flex {...args} width=\"25vw\" height=\"25vw\" color=\"white\" backgroundColor=\"darkslategray\">\n Control me with flex children props\n </Flex>\n <Flex width=\"25vw\" height=\"25vw\" backgroundColor=\"lightslategray\" />\n <Flex width=\"25vw\" height=\"25vw\" backgroundColor=\"darkgray\" />\n </Flex>\n);\n\nexport const Default = Template.bind({});\n"],"names":["baseStyled","FlexBox","gaps","styled","compose","flexbox","space","position","color","layout","overflow","border","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","system","React","Flex","Template","args","Default"],"mappings":";;;;;;;;AAA2D;AAE3D,MAAMC,UAAUD,6CAAoB,CAAmC;IACrE,SAAS;IACT,UAAU;AACZ,EAAE,CAAC,CAAC;AAGJ,sDAAeC,OAAOA,EAAC;;;;;;;;;;;;;ACPkB;AAC0C;AAiB5D;AAqBhB,MAAMW,aAA6CR,0CAAOA,CAC/DC,sCAAOA,EACPC,oCAAKA,EACLC,uCAAQA,EACRC,oCAAKA,EACLC,qCAAMA,EACNC,uCAAQA,EACRR,+CAAIA,EACJS,qCAAMA,EACN;AAEF,MAAME,cAAc,IAAIC,MAAMX,8CAAMA,EAAE;IACpC,OAAMY,MAAqB,EAAEC,OAAO,EAAEC,aAAwC;QAC5E,OAAOd,4CAAMA,CAACY,OAAO,KAAK,CAACC,SAASC,eAAeL;IACrD;IACA,KAAIG,MAAM,EAAEG,QAA6B;QACvC,IAAI,OAAOH,MAAM,CAACG,SAAS,KAAK,YAAY;YAC1C,OAAOf,4CAAMA,CAACY,MAAM,CAACG,SAAS,CAAC,KAAK,CAACf,8CAAMA,EAAE;gBAACS;aAAW;QAC3D;QACA,OAAOG,MAAM,CAACG,SAAS;IACzB;AACF;AAEA,sDAAgCL,WAAWA,EAAC;;;;;;;;;;AC/DL;AAEvC,MAAMX,OAAOiB,yCAAMA,CAAC;IAClB,QAAQ;QAAE,UAAU;QAAU,OAAO;IAAQ;IAC7C,WAAW;QAAE,UAAU;QAAa,OAAO;IAAQ;AACrD;AAEA,sDAAejB,IAAIA,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPpB;AACA;AACA;AACA;AACA;AACA,iCAAiC,WAAW;AAC5C;AACA;;;;;ACPA;AACA;AACA;AACA,kDAAkD,wCAAwC;AAC1F;AACA;AACA,E;;;;ACNA,wF;;;;ACAA;AACA;AACA;AACA,uDAAuD,iBAAiB;AACxE;AACA,gDAAgD,aAAa;AAC7D,E;;;;;;;;;;;;;;;;;;;;ACN0B;AACmB;AAE7C,2CAAe;IACb,OAAO;IACP,WAAWmB,eAAIA;IACf,UAAU;QACR,UAAU;YACR,MAAM;YACN,aAAa;YACb,UAAU;YACV,SAAS;QACX;QACA,YAAY;YACV,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,eAAe;YACb,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAC;gBAAO;gBAAe;gBAAU;aAAiB;YAC3D,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,cAAc;YACZ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,gBAAgB;YACd,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,UAAU;YACR,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAC;gBAAU;gBAAQ;aAAe;YAC3C,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,MAAM;YACJ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,UAAU;YACR,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,YAAY;YACV,MAAM;YACN,aAAa;YACb,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,aAAa;YACX,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,cAAc;YACZ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,OAAO;YACL,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,QAAQ;YACN,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAE,MAAM;YAAO;YACxB,OAAO;gBAAE,UAAU;YAAS;QAC9B;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAE,MAAM;YAAO;YACxB,OAAO;gBAAE,UAAU;YAAS;QAC9B;IACF;IACA,YAAY;QACV,MAAM;YACJ,aAAa;gBACX,WAAW,CAAC;;;;uEAImD,CAAC;YAClE;QACF;IACF;AACF,CAAC,EAAC;AACF;;;;CAIC,GAED,MAAMC,WAAW,CAACC,qBAChB,uCAACF,eAAIA,EAAKE,oBACR,uCAACF,eAAIA;QAAE,GAAGE,IAAI;QAAE,OAAM;QAAO,QAAO;QAAO,OAAM;QAAQ,iBAAgB;OAAgB,sDAGzF,uCAACF,eAAIA;QAAC,OAAM;QAAO,QAAO;QAAO,iBAAgB;sBACjD,uCAACA,eAAIA;QAAC,OAAM;QAAO,QAAO;QAAO,iBAAgB;;AAI9C,MAAMG,UAAUF,SAAS,IAAI,CAAC,CAAC,GAAG"}
|
|
1
|
+
{"version":3,"file":"components/layout/Flex/Flex.stories.js","sources":["webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts","webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.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","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/Flex.stories.tsx"],"sourcesContent":["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 { 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","// 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 from \"react\";\nimport Flex, { FlexBoxProps } from \"./index\";\n\nexport default {\n title: \"Layout/Flex\",\n component: Flex,\n argTypes: {\n children: {\n type: \"text\",\n description: \"Any valid React node\",\n required: true,\n control: false,\n },\n alignItems: {\n type: \"text\",\n description:\n \"This defines the default behavior for how flex items are laid out along the cross axis on the current line. Think of it as the justify-content version for the cross-axis (perpendicular to the main-axis).\",\n required: false,\n options: [\n \"stretch\",\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"start\",\n \"end\",\n \"self-start\",\n \"self-end\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"cross-axis\",\n },\n },\n flexDirection: {\n type: \"text\",\n description:\n \"This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns.\",\n required: false,\n options: [\"row\", \"row-reverse\", \"column\", \"column-reverse\"],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"main-axis\",\n },\n },\n justifyItems: {\n type: \"text\",\n description:\n \"This defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n },\n },\n justifyContent: {\n type: \"text\",\n description:\n \"This defines the alignment along the main axis. It helps distribute extra free space leftover when either all the flex items on a line are inflexible, or are flexible but have reached their maximum size. It also exerts some control over the alignment of items when they overflow the line.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"left\",\n \"right\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"main-axis\",\n },\n },\n flexWrap: {\n type: \"text\",\n description:\n \"By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property.\",\n required: false,\n options: [\"nowrap\", \"wrap\", \"wrap-reverse\"],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n },\n },\n flex: {\n type: \"text\",\n description:\n \"This is the shorthand for flex-grow, flex-shrink and flex-basis combined. The second and third parameters (flex-shrink and flex-basis) are optional. The default is 0 1 auto, but if you set it with a single number value, it’s like 1 0.\",\n required: false,\n control: {\n type: \"text\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexGrow: {\n type: \"text\",\n description:\n \"This defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexShrink: {\n type: \"text\",\n description: \"This defines the ability for a flex item to shrink if necessary.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n flexBasis: {\n type: \"text\",\n description:\n \"This defines the default size of an element before the remaining space is distributed. It can be a length (e.g. 20%, 5rem, etc.) or a keyword. The auto keyword means “look at my width or height property” (which was temporarily done by the main-size keyword until deprecated).\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n justifySelf: {\n type: \"text\",\n description:\n \"This sets the way a box is justified inside its alignment container along the appropriate axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Children\",\n },\n },\n alignContent: {\n type: \"text\",\n description:\n \"This aligns a flex container’s lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Parent\",\n subcategory: \"cross-axis\",\n },\n },\n alignSelf: {\n type: \"text\",\n description:\n \"This allows the default alignment (or the one specified by align-items) to be overridden for individual flex items.\",\n required: false,\n options: [\n \"flex-start\",\n \"flex-end\",\n \"center\",\n \"space-between\",\n \"space-around\",\n \"space-evenly\",\n \"stretch\",\n \"start\",\n \"end\",\n \"baseline\",\n \"first baseline\",\n \"last baseline\",\n \"safe center\",\n \"unsafe center\",\n ],\n control: {\n type: \"select\",\n },\n table: {\n category: \"Children\",\n },\n },\n order: {\n type: \"text\",\n description:\n \"By default, flex items are laid out in the source order. However, the order property controls the order in which they appear in the flex container.\",\n required: false,\n control: {\n type: \"number\",\n },\n table: {\n category: \"Children\",\n },\n },\n rowGap: {\n type: \"text\",\n description:\n \"The row-gap CSS property sets the size of the gap (gutter) between an element's flex rows.\",\n required: false,\n control: { type: \"text\" },\n table: { category: \"Parent\" },\n },\n columnGap: {\n type: \"text\",\n description:\n \"The column-gap CSS property sets the size of the gap (gutter) between an element's flex columns.\",\n required: false,\n control: { type: \"text\" },\n table: { category: \"Parent\" },\n },\n },\n parameters: {\n docs: {\n description: {\n component: `The Flex component is a flexbox helper component that lets you write these common css properties more succinctly and inline.\n \nLike the Box component, it includes all the style props exported by the color, layout, position, and shadow utilities from the [styled-system](https://styled-system.com) library, but also fully includes the flexbox ones.\n \n[See more about styled-system utilities](https://styled-system.com/api)`,\n },\n },\n },\n};\n/*\n ** Template component creates a sandbox to play with Flexbox properties.\n ** Children Flexbox props are passed to the first Square child, that allow\n ** you to play with the flexbox properties for children.\n */\n\nconst Template = (args: FlexBoxProps) => (\n <Flex {...args}>\n <Flex {...args} width=\"25vw\" height=\"25vw\" color=\"white\" backgroundColor=\"darkslategray\">\n Control me with flex children props\n </Flex>\n <Flex width=\"25vw\" height=\"25vw\" backgroundColor=\"lightslategray\" />\n <Flex width=\"25vw\" height=\"25vw\" backgroundColor=\"darkgray\" />\n </Flex>\n);\n\nexport const Default = Template.bind({});\n"],"names":["baseStyled","FlexBox","gaps","styled","compose","flexbox","space","position","color","layout","overflow","border","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","system","React","Flex","Template","args","Default"],"mappings":";;;;;AAA2D;AAE3D,MAAMC,UAAUD,6CAAoB,CAAmC;IACrE,SAAS;IACT,UAAU;AACZ,EAAE,CAAC,CAAC;AAGJ,sDAAeC,OAAOA,EAAC;;;;;;;;;;;;;;;ACPkB;AAC0C;AAiB5D;AAqBhB,MAAMW,aAA6CR,0CAAOA,CAC/DC,sCAAOA,EACPC,oCAAKA,EACLC,uCAAQA,EACRC,oCAAKA,EACLC,qCAAMA,EACNC,uCAAQA,EACRR,+CAAIA,EACJS,qCAAMA,EACN;AAEF,MAAME,cAAc,IAAIC,MAAMX,8CAAMA,EAAE;IACpC,OAAMY,MAAqB,EAAEC,OAAO,EAAEC,aAAwC;QAC5E,OAAOd,4CAAMA,CAACY,OAAO,KAAK,CAACC,SAASC,eAAeL;IACrD;IACA,KAAIG,MAAM,EAAEG,QAA6B;QACvC,IAAI,OAAOH,MAAM,CAACG,SAAS,KAAK,YAAY;YAC1C,OAAOf,4CAAMA,CAACY,MAAM,CAACG,SAAS,CAAC,KAAK,CAACf,8CAAMA,EAAE;gBAACS;aAAW;QAC3D;QACA,OAAOG,MAAM,CAACG,SAAS;IACzB;AACF;AAEA,sDAAgCL,WAAWA,EAAC;;;;;;;;;;;;AC/DL;AAEvC,MAAMX,OAAOiB,yCAAMA,CAAC;IAClB,QAAQ;QAAE,UAAU;QAAU,OAAO;IAAQ;IAC7C,WAAW;QAAE,UAAU;QAAa,OAAO;IAAQ;AACrD;AAEA,sDAAejB,IAAIA,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPpB;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;;;;;;;;;;;;;;;;;;;;ACN0B;AACmB;AAE7C,2CAAe;IACb,OAAO;IACP,WAAWmB,eAAIA;IACf,UAAU;QACR,UAAU;YACR,MAAM;YACN,aAAa;YACb,UAAU;YACV,SAAS;QACX;QACA,YAAY;YACV,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,eAAe;YACb,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAC;gBAAO;gBAAe;gBAAU;aAAiB;YAC3D,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,cAAc;YACZ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,gBAAgB;YACd,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,UAAU;YACR,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAC;gBAAU;gBAAQ;aAAe;YAC3C,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,MAAM;YACJ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,UAAU;YACR,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,YAAY;YACV,MAAM;YACN,aAAa;YACb,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,aAAa;YACX,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,cAAc;YACZ,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;gBACV,aAAa;YACf;QACF;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;aACD;YACD,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,OAAO;YACL,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBACP,MAAM;YACR;YACA,OAAO;gBACL,UAAU;YACZ;QACF;QACA,QAAQ;YACN,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAE,MAAM;YAAO;YACxB,OAAO;gBAAE,UAAU;YAAS;QAC9B;QACA,WAAW;YACT,MAAM;YACN,aACE;YACF,UAAU;YACV,SAAS;gBAAE,MAAM;YAAO;YACxB,OAAO;gBAAE,UAAU;YAAS;QAC9B;IACF;IACA,YAAY;QACV,MAAM;YACJ,aAAa;gBACX,WAAW,CAAC;;;;uEAImD,CAAC;YAClE;QACF;IACF;AACF,CAAC,EAAC;AACF;;;;CAIC,GAED,MAAMC,WAAW,CAACC,qBAChB,uCAACF,eAAIA,EAAKE,oBACR,uCAACF,eAAIA;QAAE,GAAGE,IAAI;QAAE,OAAM;QAAO,QAAO;QAAO,OAAM;QAAQ,iBAAgB;OAAgB,sDAGzF,uCAACF,eAAIA;QAAC,OAAM;QAAO,QAAO;QAAO,iBAAgB;sBACjD,uCAACA,eAAIA;QAAC,OAAM;QAAO,QAAO;QAAO,iBAAgB;;AAI9C,MAAMG,UAAUF,SAAS,IAAI,CAAC,CAAC,GAAG"}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = ({
|
|
4
4
|
7680(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
6
|
-
"default": () => (__rspack_default_export)
|
|
7
|
-
});
|
|
8
5
|
/* import */ var _styles_system_gaps__rspack_import_2 = __webpack_require__(4182);
|
|
9
6
|
/* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
|
|
10
7
|
/* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
|
|
@@ -29,12 +26,14 @@ const proxyStyled = new Proxy((styled_components__rspack_import_0_default()), {
|
|
|
29
26
|
});
|
|
30
27
|
/* export default */ const __rspack_default_export = (proxyStyled);
|
|
31
28
|
|
|
29
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
30
|
+
}, {
|
|
31
|
+
"default": __rspack_default_export
|
|
32
|
+
});
|
|
33
|
+
|
|
32
34
|
|
|
33
35
|
},
|
|
34
36
|
4182(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
35
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
"default": () => (__rspack_default_export)
|
|
37
|
-
});
|
|
38
37
|
/* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
|
|
39
38
|
/* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
|
|
40
39
|
|
|
@@ -50,6 +49,11 @@ const gaps = (0,styled_system__rspack_import_0.system)({
|
|
|
50
49
|
});
|
|
51
50
|
/* export default */ const __rspack_default_export = (gaps);
|
|
52
51
|
|
|
52
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
53
|
+
}, {
|
|
54
|
+
"default": __rspack_default_export
|
|
55
|
+
});
|
|
56
|
+
|
|
53
57
|
|
|
54
58
|
},
|
|
55
59
|
2770(module) {
|
|
@@ -99,12 +103,16 @@ __webpack_require__.n = (module) => {
|
|
|
99
103
|
})();
|
|
100
104
|
// webpack/runtime/define_property_getters
|
|
101
105
|
(() => {
|
|
102
|
-
__webpack_require__.d = (exports,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
__webpack_require__.d = (exports, getters, values) => {
|
|
107
|
+
var define = (defs, kind) => {
|
|
108
|
+
for(var key in defs) {
|
|
109
|
+
if(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {
|
|
110
|
+
Object.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
define(getters, "get");
|
|
115
|
+
define(values, "value");
|
|
108
116
|
};
|
|
109
117
|
})();
|
|
110
118
|
// webpack/runtime/has_own_property
|
|
@@ -125,9 +133,6 @@ var __webpack_exports__ = {};
|
|
|
125
133
|
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
|
126
134
|
(() => {
|
|
127
135
|
__webpack_require__.r(__webpack_exports__);
|
|
128
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
129
|
-
"default": () => (__rspack_default_export)
|
|
130
|
-
});
|
|
131
136
|
/* import */ var _styled__rspack_import_0 = __webpack_require__(7680);
|
|
132
137
|
|
|
133
138
|
const FlexBox = _styled__rspack_import_0["default"].div.attrs({
|
|
@@ -136,6 +141,11 @@ const FlexBox = _styled__rspack_import_0["default"].div.attrs({
|
|
|
136
141
|
})``;
|
|
137
142
|
/* export default */ const __rspack_default_export = (FlexBox);
|
|
138
143
|
|
|
144
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
145
|
+
}, {
|
|
146
|
+
"default": __rspack_default_export
|
|
147
|
+
});
|
|
148
|
+
|
|
139
149
|
})();
|
|
140
150
|
|
|
141
151
|
module.exports = __webpack_exports__;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/layout/Flex/index.js","sources":["webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.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","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts"],"sourcesContent":["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 { 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","// 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,
|
|
1
|
+
{"version":3,"file":"components/layout/Flex/index.js","sources":["webpack://@ledgerhq/react-ui/./src/components/styled.ts","webpack://@ledgerhq/react-ui/./src/styles/system/gaps.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","webpack://@ledgerhq/react-ui/./src/components/layout/Flex/index.ts"],"sourcesContent":["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 { 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","// 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 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"],"names":["gaps","styled","compose","flexbox","space","position","color","layout","overflow","border","baseStyles","proxyStyled","Proxy","target","thisArg","argumentsList","property","system","baseStyled","FlexBox"],"mappings":";;;;;;;;;AACyC;AAC0C;AAiB5D;AAqBhB,MAAMU,aAA6CR,0CAAOA,CAC/DC,sCAAOA,EACPC,oCAAKA,EACLC,uCAAQA,EACRC,oCAAKA,EACLC,qCAAMA,EACNC,uCAAQA,EACRR,+CAAIA,EACJS,qCAAMA,EACN;AAEF,MAAME,cAAc,IAAIC,MAAMX,8CAAMA,EAAE;IACpC,OAAMY,MAAqB,EAAEC,OAAO,EAAEC,aAAwC;QAC5E,OAAOd,4CAAMA,CAACY,OAAO,KAAK,CAACC,SAASC,eAAeL;IACrD;IACA,KAAIG,MAAM,EAAEG,QAA6B;QACvC,IAAI,OAAOH,MAAM,CAACG,SAAS,KAAK,YAAY;YAC1C,OAAOf,4CAAMA,CAACY,MAAM,CAACG,SAAS,CAAC,KAAK,CAACf,8CAAMA,EAAE;gBAACS;aAAW;QAC3D;QACA,OAAOG,MAAM,CAACG,SAAS;IACzB;AACF;AAEA,sDAAgCL,WAAWA,EAAC;;;;;;;;;;;;AC/DL;AAEvC,MAAMX,OAAOiB,yCAAMA,CAAC;IAClB,QAAQ;QAAE,UAAU;QAAU,OAAO;IAAQ;IAC7C,WAAW;QAAE,UAAU;QAAa,OAAO;IAAQ;AACrD;AAEA,sDAAejB,IAAIA,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPpB;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;;;;;;;ACN2D;AAE3D,MAAMmB,UAAUD,6CAAoB,CAAmC;IACrE,SAAS;IACT,UAAU;AACZ,EAAE,CAAC,CAAC;AAGJ,sDAAeC,OAAOA,EAAC"}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = ({
|
|
4
4
|
348(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
6
|
-
"default": () => (__rspack_default_export)
|
|
7
|
-
});
|
|
8
5
|
/* import */ var react__rspack_import_0 = __webpack_require__(2015);
|
|
9
6
|
/* import */ var react__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(react__rspack_import_0);
|
|
10
7
|
/* import */ var _styled__rspack_import_2 = __webpack_require__(7680);
|
|
@@ -37,12 +34,14 @@ const Text = _styled__rspack_import_2["default"].span.attrs(({ variant = "body",
|
|
|
37
34
|
`;
|
|
38
35
|
/* export default */ const __rspack_default_export = (Text);
|
|
39
36
|
|
|
37
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
38
|
+
}, {
|
|
39
|
+
"default": __rspack_default_export
|
|
40
|
+
});
|
|
41
|
+
|
|
40
42
|
|
|
41
43
|
},
|
|
42
44
|
4368(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
43
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
44
|
-
textVariantStyle: () => (textVariantStyle)
|
|
45
|
-
});
|
|
46
45
|
/* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
|
|
47
46
|
/* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
|
|
48
47
|
|
|
@@ -189,12 +188,14 @@ const textVariantStyle = {
|
|
|
189
188
|
}
|
|
190
189
|
};
|
|
191
190
|
|
|
191
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
192
|
+
}, {
|
|
193
|
+
textVariantStyle: textVariantStyle
|
|
194
|
+
});
|
|
195
|
+
|
|
192
196
|
|
|
193
197
|
},
|
|
194
198
|
2843(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
195
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
196
|
-
"default": () => (__rspack_default_export)
|
|
197
|
-
});
|
|
198
199
|
/* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
|
|
199
200
|
/* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
|
|
200
201
|
/* import */ var _styled__rspack_import_1 = __webpack_require__(7680);
|
|
@@ -216,12 +217,14 @@ const Grid = _styled__rspack_import_1["default"].div`
|
|
|
216
217
|
`;
|
|
217
218
|
/* export default */ const __rspack_default_export = (Grid);
|
|
218
219
|
|
|
220
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
221
|
+
}, {
|
|
222
|
+
"default": __rspack_default_export
|
|
223
|
+
});
|
|
224
|
+
|
|
219
225
|
|
|
220
226
|
},
|
|
221
227
|
7680(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
222
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
223
|
-
"default": () => (__rspack_default_export)
|
|
224
|
-
});
|
|
225
228
|
/* import */ var _styles_system_gaps__rspack_import_2 = __webpack_require__(4182);
|
|
226
229
|
/* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
|
|
227
230
|
/* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
|
|
@@ -246,16 +249,21 @@ const proxyStyled = new Proxy((styled_components__rspack_import_0_default()), {
|
|
|
246
249
|
});
|
|
247
250
|
/* export default */ const __rspack_default_export = (proxyStyled);
|
|
248
251
|
|
|
252
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
253
|
+
}, {
|
|
254
|
+
"default": __rspack_default_export
|
|
255
|
+
});
|
|
256
|
+
|
|
249
257
|
|
|
250
258
|
},
|
|
251
|
-
|
|
259
|
+
205(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
252
260
|
|
|
253
261
|
// EXPORTS
|
|
254
262
|
__webpack_require__.d(__webpack_exports__, {
|
|
255
263
|
ff: () => (/* binding */ ff)
|
|
256
264
|
});
|
|
257
265
|
|
|
258
|
-
// UNUSED EXPORTS: darken, ensureContrast, mix, rgba
|
|
266
|
+
// UNUSED EXPORTS: darken, ensureContrast, lighten, mix, rgba
|
|
259
267
|
|
|
260
268
|
;// CONCATENATED MODULE: external "color"
|
|
261
269
|
const external_color_namespaceObject = require("color");
|
|
@@ -293,10 +301,7 @@ const ensureContrast = (color1, color2)=>{
|
|
|
293
301
|
|
|
294
302
|
},
|
|
295
303
|
3364(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
296
|
-
__webpack_require__
|
|
297
|
-
"default": () => (__rspack_default_export)
|
|
298
|
-
});
|
|
299
|
-
/* import */ var _helpers__rspack_import_0 = __webpack_require__(4336);
|
|
304
|
+
/* import */ var _helpers__rspack_import_0 = __webpack_require__(205);
|
|
300
305
|
|
|
301
306
|
/* export default */ const __rspack_default_export = ((props)=>{
|
|
302
307
|
const prop = props.ff;
|
|
@@ -306,12 +311,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
306
311
|
return (0,_helpers__rspack_import_0.ff)(prop);
|
|
307
312
|
});
|
|
308
313
|
|
|
314
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
315
|
+
}, {
|
|
316
|
+
"default": __rspack_default_export
|
|
317
|
+
});
|
|
318
|
+
|
|
309
319
|
|
|
310
320
|
},
|
|
311
321
|
4182(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
312
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
313
|
-
"default": () => (__rspack_default_export)
|
|
314
|
-
});
|
|
315
322
|
/* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
|
|
316
323
|
/* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
|
|
317
324
|
|
|
@@ -327,12 +334,14 @@ const gaps = (0,styled_system__rspack_import_0.system)({
|
|
|
327
334
|
});
|
|
328
335
|
/* export default */ const __rspack_default_export = (gaps);
|
|
329
336
|
|
|
337
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
338
|
+
}, {
|
|
339
|
+
"default": __rspack_default_export
|
|
340
|
+
});
|
|
341
|
+
|
|
330
342
|
|
|
331
343
|
},
|
|
332
344
|
5548(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
333
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
334
|
-
fontFamilies: () => (fontFamilies)
|
|
335
|
-
});
|
|
336
345
|
/* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
|
|
337
346
|
/* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
|
|
338
347
|
/* import */ var _ledgerhq_ui_shared__rspack_import_1 = __webpack_require__(2993);
|
|
@@ -601,6 +610,11 @@ const theme = {
|
|
|
601
610
|
};
|
|
602
611
|
/* unused export default */ var __rspack_default_export = ((/* unused pure expression or super */ null && (theme)));
|
|
603
612
|
|
|
613
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
614
|
+
}, {
|
|
615
|
+
fontFamilies: fontFamilies
|
|
616
|
+
});
|
|
617
|
+
|
|
604
618
|
|
|
605
619
|
},
|
|
606
620
|
2993(module) {
|
|
@@ -658,12 +672,16 @@ __webpack_require__.n = (module) => {
|
|
|
658
672
|
})();
|
|
659
673
|
// webpack/runtime/define_property_getters
|
|
660
674
|
(() => {
|
|
661
|
-
__webpack_require__.d = (exports,
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
675
|
+
__webpack_require__.d = (exports, getters, values) => {
|
|
676
|
+
var define = (defs, kind) => {
|
|
677
|
+
for(var key in defs) {
|
|
678
|
+
if(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {
|
|
679
|
+
Object.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
define(getters, "get");
|
|
684
|
+
define(values, "value");
|
|
667
685
|
};
|
|
668
686
|
})();
|
|
669
687
|
// webpack/runtime/has_own_property
|
|
@@ -684,11 +702,6 @@ var __webpack_exports__ = {};
|
|
|
684
702
|
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
|
685
703
|
(() => {
|
|
686
704
|
__webpack_require__.r(__webpack_exports__);
|
|
687
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
688
|
-
Default: () => (Default),
|
|
689
|
-
Fixed: () => (Fixed),
|
|
690
|
-
"default": () => (__rspack_default_export)
|
|
691
|
-
});
|
|
692
705
|
/* import */ var react__rspack_import_0 = __webpack_require__(2015);
|
|
693
706
|
/* import */ var react__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(react__rspack_import_0);
|
|
694
707
|
/* import */ var styled_components__rspack_import_1 = __webpack_require__(2770);
|
|
@@ -931,6 +944,13 @@ Fixed.args = {
|
|
|
931
944
|
gridAutoColumns: undefined
|
|
932
945
|
};
|
|
933
946
|
|
|
947
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
948
|
+
}, {
|
|
949
|
+
Default: Default,
|
|
950
|
+
Fixed: Fixed,
|
|
951
|
+
"default": __rspack_default_export
|
|
952
|
+
});
|
|
953
|
+
|
|
934
954
|
})();
|
|
935
955
|
|
|
936
956
|
module.exports = __webpack_exports__;
|