@ledgerhq/lumen-ui-rnative 0.1.48 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module/i18n/locales/de.json +1 -3
- package/dist/module/i18n/locales/en.json +1 -3
- package/dist/module/i18n/locales/es.json +1 -3
- package/dist/module/i18n/locales/fr.json +1 -3
- package/dist/module/i18n/locales/ja.json +1 -3
- package/dist/module/i18n/locales/ko.json +1 -3
- package/dist/module/i18n/locales/pt.json +1 -3
- package/dist/module/i18n/locales/ru.json +1 -3
- package/dist/module/i18n/locales/th.json +1 -3
- package/dist/module/i18n/locales/tr.json +1 -3
- package/dist/module/i18n/locales/zh.json +1 -3
- package/dist/module/lib/Animations/Pulse/Pulse.js +3 -3
- package/dist/module/lib/Animations/Pulse/Pulse.js.map +1 -1
- package/dist/module/lib/Animations/Pulse/Pulse.mdx +0 -1
- package/dist/module/lib/Animations/Spin/Spin.js +3 -3
- package/dist/module/lib/Animations/Spin/Spin.js.map +1 -1
- package/dist/module/lib/Animations/Spin/Spin.mdx +0 -1
- package/dist/module/lib/Components/AddressInput/AddressInput.figma.js +36 -0
- package/dist/module/lib/Components/AddressInput/AddressInput.figma.js.map +1 -0
- package/dist/module/lib/Components/AddressInput/AddressInput.mdx +0 -183
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.figma.js +31 -0
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.figma.js.map +1 -0
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.mdx +0 -90
- package/dist/module/lib/Components/AmountInput/AmountInput.figma.js +70 -0
- package/dist/module/lib/Components/AmountInput/AmountInput.figma.js.map +1 -0
- package/dist/module/lib/Components/AmountInput/AmountInput.mdx +0 -190
- package/dist/module/lib/Components/Avatar/Avatar.figma.js +15 -12
- package/dist/module/lib/Components/Avatar/Avatar.figma.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.js +4 -27
- package/dist/module/lib/Components/Avatar/Avatar.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.mdx +53 -69
- package/dist/module/lib/Components/Avatar/Avatar.stories.js +27 -33
- package/dist/module/lib/Components/Avatar/Avatar.stories.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.test.js +21 -39
- package/dist/module/lib/Components/Avatar/Avatar.test.js.map +1 -1
- package/dist/module/lib/Components/Banner/Banner.figma.js +107 -0
- package/dist/module/lib/Components/Banner/Banner.figma.js.map +1 -0
- package/dist/module/lib/Components/Banner/Banner.mdx +0 -86
- package/dist/module/lib/Components/BaseInput/BaseInput.js +84 -25
- package/dist/module/lib/Components/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.figma.js +49 -0
- package/dist/module/lib/Components/BottomSheet/BottomSheet.figma.js.map +1 -0
- package/dist/module/lib/Components/BottomSheet/BottomSheet.mdx +0 -119
- package/dist/module/lib/Components/Button/Button.figma.js +45 -0
- package/dist/module/lib/Components/Button/Button.figma.js.map +1 -0
- package/dist/module/lib/Components/Button/Button.mdx +25 -224
- package/dist/module/lib/Components/Button/Button.stories.js +4 -36
- package/dist/module/lib/Components/Button/Button.stories.js.map +1 -1
- package/dist/module/lib/Components/Button/ButtonGroup.figma.js +19 -0
- package/dist/module/lib/Components/Button/ButtonGroup.figma.js.map +1 -0
- package/dist/module/lib/Components/Card/Card.figma.js +143 -0
- package/dist/module/lib/Components/Card/Card.figma.js.map +1 -0
- package/dist/module/lib/Components/Card/Card.mdx +0 -160
- package/dist/module/lib/Components/CardButton/CardButton.figma.js +38 -0
- package/dist/module/lib/Components/CardButton/CardButton.figma.js.map +1 -0
- package/dist/module/lib/Components/CardButton/CardButton.mdx +0 -48
- package/dist/module/lib/Components/Checkbox/Checkbox.figma.js +48 -0
- package/dist/module/lib/Components/Checkbox/Checkbox.figma.js.map +1 -0
- package/dist/module/lib/Components/Checkbox/Checkbox.mdx +0 -73
- package/dist/module/lib/Components/ContentBanner/ContentBanner.figma.js +91 -0
- package/dist/module/lib/Components/ContentBanner/ContentBanner.figma.js.map +1 -0
- package/dist/module/lib/Components/ContentBanner/ContentBanner.mdx +0 -2
- package/dist/module/lib/Components/CryptoIcon/CryptoIcon.figma.js +17 -0
- package/dist/module/lib/Components/CryptoIcon/CryptoIcon.figma.js.map +1 -0
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.figma.js +29 -0
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.figma.js.map +1 -0
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.js +31 -9
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.js.map +1 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.mdx +10 -7
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.stories.js +29 -40
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.stories.js.map +1 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.test.js +22 -0
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.test.js.map +1 -1
- package/dist/module/lib/Components/Divider/Divider.figma.js +10 -0
- package/dist/module/lib/Components/Divider/Divider.figma.js.map +1 -0
- package/dist/module/lib/Components/Divider/Divider.mdx +0 -2
- package/dist/module/lib/Components/DotCount/DotCount.figma.js +29 -0
- package/dist/module/lib/Components/DotCount/DotCount.figma.js.map +1 -0
- package/dist/module/lib/Components/DotIndicator/DotIndicator.figma.js +29 -0
- package/dist/module/lib/Components/DotIndicator/DotIndicator.figma.js.map +1 -0
- package/dist/module/lib/Components/DotIndicator/DotIndicator.stories.js +6 -3
- package/dist/module/lib/Components/DotIndicator/DotIndicator.stories.js.map +1 -1
- package/dist/module/lib/Components/DotIndicator/getDotIndicatorProps.js +17 -0
- package/dist/module/lib/Components/DotIndicator/getDotIndicatorProps.js.map +1 -0
- package/dist/module/lib/Components/DotIndicator/getDotIndicatorProps.test.js +17 -0
- package/dist/module/lib/Components/DotIndicator/getDotIndicatorProps.test.js.map +1 -0
- package/dist/module/lib/Components/DotIndicator/index.js +1 -0
- package/dist/module/lib/Components/DotIndicator/index.js.map +1 -1
- package/dist/module/lib/Components/Icon/Icon.figma.js +1840 -0
- package/dist/module/lib/Components/Icon/Icon.figma.js.map +1 -0
- package/dist/module/lib/Components/Icon/Icon.mdx +0 -62
- package/dist/module/lib/Components/IconButton/IconButton.figma.js +42 -0
- package/dist/module/lib/Components/IconButton/IconButton.figma.js.map +1 -0
- package/dist/module/lib/Components/IconButton/IconButton.mdx +0 -68
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.figma.js +51 -0
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.figma.js.map +1 -0
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.mdx +0 -107
- package/dist/module/lib/Components/Link/Link.figma.js +41 -0
- package/dist/module/lib/Components/Link/Link.figma.js.map +1 -0
- package/dist/module/lib/Components/Link/Link.mdx +0 -102
- package/dist/module/lib/Components/ListItem/ListItem.figma.js +427 -0
- package/dist/module/lib/Components/ListItem/ListItem.figma.js.map +1 -0
- package/dist/module/lib/Components/ListItem/ListItem.js +78 -20
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.mdx +17 -129
- package/dist/module/lib/Components/ListItem/ListItem.stories.js +132 -0
- package/dist/module/lib/Components/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.test.js +80 -0
- package/dist/module/lib/Components/ListItem/ListItem.test.js.map +1 -1
- package/dist/module/lib/Components/MediaBanner/MediaBanner.figma.js +25 -0
- package/dist/module/lib/Components/MediaBanner/MediaBanner.figma.js.map +1 -0
- package/dist/module/lib/Components/MediaBanner/MediaBanner.mdx +0 -3
- package/dist/module/lib/Components/MediaButton/MediaButton.figma.js +72 -0
- package/dist/module/lib/Components/MediaButton/MediaButton.figma.js.map +1 -0
- package/dist/module/lib/Components/MediaCard/MediaCard.figma.js +28 -0
- package/dist/module/lib/Components/MediaCard/MediaCard.figma.js.map +1 -0
- package/dist/module/lib/Components/MediaCard/MediaCard.mdx +0 -2
- package/dist/module/lib/Components/MediaImage/MediaImage.mdx +0 -1
- package/dist/module/lib/Components/MediaTag/MediaTag.figma.js +100 -0
- package/dist/module/lib/Components/MediaTag/MediaTag.figma.js.map +1 -0
- package/dist/module/lib/Components/MediaTag/MediaTag.mdx +0 -2
- package/dist/module/lib/Components/NavBar/NavBar.figma.js +79 -0
- package/dist/module/lib/Components/NavBar/NavBar.figma.js.map +1 -0
- package/dist/module/lib/Components/NavBar/NavBar.mdx +0 -2
- package/dist/module/lib/Components/OptionList/OptionList.mdx +0 -90
- package/dist/module/lib/Components/PageIndicator/PageIndicator.figma.js +13 -0
- package/dist/module/lib/Components/PageIndicator/PageIndicator.figma.js.map +1 -0
- package/dist/module/lib/Components/PageIndicator/PageIndicator.mdx +0 -2
- package/dist/module/lib/Components/SearchInput/SearchInput.figma.js +31 -0
- package/dist/module/lib/Components/SearchInput/SearchInput.figma.js.map +1 -0
- package/dist/module/lib/Components/SearchInput/SearchInput.mdx +0 -199
- package/dist/module/lib/Components/SectionHeader/SectionHeader.figma.js +22 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.figma.js.map +1 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.js +99 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.js.map +1 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.mdx +79 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.stories.js +104 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.stories.js.map +1 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.test.js +108 -0
- package/dist/module/lib/Components/SectionHeader/SectionHeader.test.js.map +1 -0
- package/dist/module/lib/Components/SectionHeader/index.js +5 -0
- package/dist/module/lib/Components/SectionHeader/index.js.map +1 -0
- package/dist/module/lib/Components/SectionHeader/types.js +4 -0
- package/dist/module/lib/Components/SectionHeader/types.js.map +1 -0
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.figma.js +35 -0
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.figma.js.map +1 -0
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.mdx +0 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.figma.js +18 -0
- package/dist/module/lib/Components/Skeleton/Skeleton.figma.js.map +1 -0
- package/dist/module/lib/Components/Skeleton/Skeleton.mdx +0 -71
- package/dist/module/lib/Components/Spinner/Spinner.figma.js +13 -0
- package/dist/module/lib/Components/Spinner/Spinner.figma.js.map +1 -0
- package/dist/module/lib/Components/Spinner/Spinner.mdx +0 -100
- package/dist/module/lib/Components/Spot/Spot.figma.js +37 -0
- package/dist/module/lib/Components/Spot/Spot.figma.js.map +1 -0
- package/dist/module/lib/Components/Spot/Spot.mdx +0 -94
- package/dist/module/lib/Components/Stepper/Stepper.figma.js +13 -0
- package/dist/module/lib/Components/Stepper/Stepper.figma.js.map +1 -0
- package/dist/module/lib/Components/Stepper/Stepper.mdx +0 -67
- package/dist/module/lib/Components/Subheader/Subheader.figma.js +67 -0
- package/dist/module/lib/Components/Subheader/Subheader.figma.js.map +1 -0
- package/dist/module/lib/Components/Subheader/Subheader.mdx +0 -116
- package/dist/module/lib/Components/Switch/Switch.figma.js +58 -0
- package/dist/module/lib/Components/Switch/Switch.figma.js.map +1 -0
- package/dist/module/lib/Components/Switch/Switch.mdx +0 -39
- package/dist/module/lib/Components/TabBar/TabBar.figma.js +98 -0
- package/dist/module/lib/Components/TabBar/TabBar.figma.js.map +1 -0
- package/dist/module/lib/Components/TabBar/TabBar.mdx +0 -5
- package/dist/module/lib/Components/Tag/Tag.figma.js +41 -0
- package/dist/module/lib/Components/Tag/Tag.figma.js.map +1 -0
- package/dist/module/lib/Components/Tag/Tag.mdx +0 -2
- package/dist/module/lib/Components/TextInput/TextInput.figma.js +42 -0
- package/dist/module/lib/Components/TextInput/TextInput.figma.js.map +1 -0
- package/dist/module/lib/Components/TextInput/TextInput.mdx +43 -251
- package/dist/module/lib/Components/TextInput/TextInput.stories.js +58 -1
- package/dist/module/lib/Components/TextInput/TextInput.stories.js.map +1 -1
- package/dist/module/lib/Components/TextInput/TextInput.test.js +45 -1
- package/dist/module/lib/Components/TextInput/TextInput.test.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.figma.js +111 -0
- package/dist/module/lib/Components/Tile/Tile.figma.js.map +1 -0
- package/dist/module/lib/Components/Tile/Tile.mdx +0 -53
- package/dist/module/lib/Components/TileButton/TileButton.figma.js +28 -0
- package/dist/module/lib/Components/TileButton/TileButton.figma.js.map +1 -0
- package/dist/module/lib/Components/TileButton/TileButton.js +39 -27
- package/dist/module/lib/Components/TileButton/TileButton.js.map +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.mdx +10 -41
- package/dist/module/lib/Components/TileButton/TileButton.stories.js +33 -2
- package/dist/module/lib/Components/TileButton/TileButton.stories.js.map +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.test.js +26 -0
- package/dist/module/lib/Components/TileButton/TileButton.test.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.figma.js +26 -0
- package/dist/module/lib/Components/Tooltip/Tooltip.figma.js.map +1 -0
- package/dist/module/lib/Components/Tooltip/Tooltip.mdx +0 -183
- package/dist/module/lib/Components/Trend/Trend.figma.js +29 -0
- package/dist/module/lib/Components/Trend/Trend.figma.js.map +1 -0
- package/dist/module/lib/Components/Trend/Trend.mdx +0 -2
- package/dist/module/lib/Components/Utility/Text/Text.mdx +0 -1
- package/dist/module/lib/Components/index.js +1 -0
- package/dist/module/lib/Components/index.js.map +1 -1
- package/dist/module/lib/Symbols/Icons/ChevronAscending.js +1 -1
- package/dist/module/lib/Symbols/Icons/ChevronDescending.js +1 -1
- package/dist/module/lib/Symbols/Icons/Contact.js +50 -0
- package/dist/module/lib/Symbols/Icons/Contact.js.map +1 -0
- package/dist/module/lib/Symbols/Icons/Upload.js +50 -0
- package/dist/module/lib/Symbols/Icons/Upload.js.map +1 -0
- package/dist/module/lib/Symbols/index.js +2 -0
- package/dist/module/lib/Symbols/index.js.map +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/Pulse.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts +1 -4
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts +0 -6
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts +16 -0
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DescriptionItem/DescriptionItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/DescriptionItem/DescriptionItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DescriptionItem/types.d.ts +6 -0
- package/dist/typescript/src/lib/Components/DescriptionItem/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +24 -0
- package/dist/typescript/src/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/DotIndicator/index.d.ts +1 -0
- package/dist/typescript/src/lib/Components/DotIndicator/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts +11 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SectionHeader/SectionHeader.d.ts +20 -0
- package/dist/typescript/src/lib/Components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/SectionHeader/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/SectionHeader/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/SectionHeader/types.d.ts +27 -0
- package/dist/typescript/src/lib/Components/SectionHeader/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts +5 -0
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/index.d.ts +1 -0
- package/dist/typescript/src/lib/Components/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Symbols/Icons/Contact.d.ts +35 -0
- package/dist/typescript/src/lib/Symbols/Icons/Contact.d.ts.map +1 -0
- package/dist/typescript/src/lib/Symbols/Icons/Upload.d.ts +35 -0
- package/dist/typescript/src/lib/Symbols/Icons/Upload.d.ts.map +1 -0
- package/dist/typescript/src/lib/Symbols/index.d.ts +2 -0
- package/dist/typescript/src/lib/Symbols/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/i18n/locales/de.json +1 -3
- package/src/i18n/locales/en.json +1 -3
- package/src/i18n/locales/es.json +1 -3
- package/src/i18n/locales/fr.json +1 -3
- package/src/i18n/locales/ja.json +1 -3
- package/src/i18n/locales/ko.json +1 -3
- package/src/i18n/locales/pt.json +1 -3
- package/src/i18n/locales/ru.json +1 -3
- package/src/i18n/locales/th.json +1 -3
- package/src/i18n/locales/tr.json +1 -3
- package/src/i18n/locales/zh.json +1 -3
- package/src/lib/Animations/Pulse/Pulse.mdx +0 -1
- package/src/lib/Animations/Pulse/Pulse.tsx +8 -1
- package/src/lib/Animations/Spin/Spin.mdx +0 -1
- package/src/lib/Animations/Spin/Spin.tsx +8 -1
- package/src/lib/Components/AddressInput/AddressInput.figma.tsx +39 -0
- package/src/lib/Components/AddressInput/AddressInput.mdx +0 -183
- package/src/lib/Components/AmountDisplay/AmountDisplay.figma.tsx +37 -0
- package/src/lib/Components/AmountDisplay/AmountDisplay.mdx +0 -90
- package/src/lib/Components/AmountInput/AmountInput.figma.tsx +78 -0
- package/src/lib/Components/AmountInput/AmountInput.mdx +0 -190
- package/src/lib/Components/Avatar/Avatar.figma.tsx +24 -14
- package/src/lib/Components/Avatar/Avatar.mdx +53 -69
- package/src/lib/Components/Avatar/Avatar.stories.tsx +16 -50
- package/src/lib/Components/Avatar/Avatar.test.tsx +12 -32
- package/src/lib/Components/Avatar/Avatar.tsx +4 -34
- package/src/lib/Components/Avatar/types.ts +0 -6
- package/src/lib/Components/Banner/Banner.figma.tsx +115 -0
- package/src/lib/Components/Banner/Banner.mdx +0 -86
- package/src/lib/Components/BaseInput/BaseInput.tsx +93 -22
- package/src/lib/Components/BaseInput/types.ts +18 -0
- package/src/lib/Components/BottomSheet/BottomSheet.figma.tsx +52 -0
- package/src/lib/Components/BottomSheet/BottomSheet.mdx +0 -119
- package/src/lib/Components/Button/Button.figma.tsx +57 -0
- package/src/lib/Components/Button/Button.mdx +25 -224
- package/src/lib/Components/Button/Button.stories.tsx +3 -35
- package/src/lib/Components/Button/ButtonGroup.figma.tsx +15 -0
- package/src/lib/Components/Card/Card.figma.tsx +149 -0
- package/src/lib/Components/Card/Card.mdx +0 -160
- package/src/lib/Components/CardButton/CardButton.figma.tsx +49 -0
- package/src/lib/Components/CardButton/CardButton.mdx +0 -48
- package/src/lib/Components/Checkbox/Checkbox.figma.tsx +54 -0
- package/src/lib/Components/Checkbox/Checkbox.mdx +0 -73
- package/src/lib/Components/ContentBanner/ContentBanner.figma.tsx +108 -0
- package/src/lib/Components/ContentBanner/ContentBanner.mdx +0 -2
- package/src/lib/Components/CryptoIcon/CryptoIcon.figma.tsx +20 -0
- package/src/lib/Components/DescriptionItem/DescriptionItem.figma.tsx +36 -0
- package/src/lib/Components/DescriptionItem/DescriptionItem.mdx +10 -7
- package/src/lib/Components/DescriptionItem/DescriptionItem.stories.tsx +21 -41
- package/src/lib/Components/DescriptionItem/DescriptionItem.test.tsx +24 -0
- package/src/lib/Components/DescriptionItem/DescriptionItem.tsx +31 -8
- package/src/lib/Components/DescriptionItem/types.ts +6 -0
- package/src/lib/Components/Divider/Divider.figma.tsx +11 -0
- package/src/lib/Components/Divider/Divider.mdx +0 -2
- package/src/lib/Components/DotCount/DotCount.figma.tsx +32 -0
- package/src/lib/Components/DotIndicator/DotIndicator.figma.tsx +32 -0
- package/src/lib/Components/DotIndicator/DotIndicator.stories.tsx +4 -1
- package/src/lib/Components/DotIndicator/getDotIndicatorProps.test.ts +15 -0
- package/src/lib/Components/DotIndicator/getDotIndicatorProps.ts +10 -0
- package/src/lib/Components/DotIndicator/index.ts +1 -0
- package/src/lib/Components/Icon/Icon.figma.tsx +3085 -0
- package/src/lib/Components/Icon/Icon.mdx +0 -62
- package/src/lib/Components/IconButton/IconButton.figma.tsx +53 -0
- package/src/lib/Components/IconButton/IconButton.mdx +0 -68
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.figma.tsx +52 -0
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.mdx +0 -107
- package/src/lib/Components/Link/Link.figma.tsx +53 -0
- package/src/lib/Components/Link/Link.mdx +0 -102
- package/src/lib/Components/ListItem/ListItem.figma.tsx +466 -0
- package/src/lib/Components/ListItem/ListItem.mdx +17 -129
- package/src/lib/Components/ListItem/ListItem.stories.tsx +92 -0
- package/src/lib/Components/ListItem/ListItem.test.tsx +78 -0
- package/src/lib/Components/ListItem/ListItem.tsx +64 -19
- package/src/lib/Components/ListItem/types.ts +11 -1
- package/src/lib/Components/MediaBanner/MediaBanner.figma.tsx +32 -0
- package/src/lib/Components/MediaBanner/MediaBanner.mdx +0 -3
- package/src/lib/Components/MediaButton/MediaButton.figma.tsx +60 -0
- package/src/lib/Components/MediaCard/MediaCard.figma.tsx +27 -0
- package/src/lib/Components/MediaCard/MediaCard.mdx +0 -2
- package/src/lib/Components/MediaImage/MediaImage.mdx +0 -1
- package/src/lib/Components/MediaTag/MediaTag.figma.tsx +116 -0
- package/src/lib/Components/MediaTag/MediaTag.mdx +0 -2
- package/src/lib/Components/NavBar/NavBar.figma.tsx +84 -0
- package/src/lib/Components/NavBar/NavBar.mdx +0 -2
- package/src/lib/Components/OptionList/OptionList.mdx +0 -90
- package/src/lib/Components/PageIndicator/PageIndicator.figma.tsx +11 -0
- package/src/lib/Components/PageIndicator/PageIndicator.mdx +0 -2
- package/src/lib/Components/SearchInput/SearchInput.figma.tsx +34 -0
- package/src/lib/Components/SearchInput/SearchInput.mdx +0 -199
- package/src/lib/Components/SectionHeader/SectionHeader.figma.tsx +24 -0
- package/src/lib/Components/SectionHeader/SectionHeader.mdx +79 -0
- package/src/lib/Components/SectionHeader/SectionHeader.stories.tsx +95 -0
- package/src/lib/Components/SectionHeader/SectionHeader.test.tsx +103 -0
- package/src/lib/Components/SectionHeader/SectionHeader.tsx +125 -0
- package/src/lib/Components/SectionHeader/index.ts +6 -0
- package/src/lib/Components/SectionHeader/types.ts +30 -0
- package/src/lib/Components/SegmentedControl/SegmentedControl.figma.tsx +34 -0
- package/src/lib/Components/SegmentedControl/SegmentedControl.mdx +0 -1
- package/src/lib/Components/Skeleton/Skeleton.figma.tsx +17 -0
- package/src/lib/Components/Skeleton/Skeleton.mdx +0 -71
- package/src/lib/Components/Spinner/Spinner.figma.tsx +12 -0
- package/src/lib/Components/Spinner/Spinner.mdx +0 -100
- package/src/lib/Components/Spot/Spot.figma.tsx +50 -0
- package/src/lib/Components/Spot/Spot.mdx +0 -94
- package/src/lib/Components/Stepper/Stepper.figma.tsx +11 -0
- package/src/lib/Components/Stepper/Stepper.mdx +0 -67
- package/src/lib/Components/Subheader/Subheader.figma.tsx +72 -0
- package/src/lib/Components/Subheader/Subheader.mdx +0 -116
- package/src/lib/Components/Switch/Switch.figma.tsx +66 -0
- package/src/lib/Components/Switch/Switch.mdx +0 -39
- package/src/lib/Components/TabBar/TabBar.figma.tsx +70 -0
- package/src/lib/Components/TabBar/TabBar.mdx +0 -5
- package/src/lib/Components/Tag/Tag.figma.tsx +52 -0
- package/src/lib/Components/Tag/Tag.mdx +0 -2
- package/src/lib/Components/TextInput/TextInput.figma.tsx +45 -0
- package/src/lib/Components/TextInput/TextInput.mdx +43 -251
- package/src/lib/Components/TextInput/TextInput.stories.tsx +57 -1
- package/src/lib/Components/TextInput/TextInput.test.tsx +60 -1
- package/src/lib/Components/Tile/Tile.figma.tsx +113 -0
- package/src/lib/Components/Tile/Tile.mdx +0 -53
- package/src/lib/Components/TileButton/TileButton.figma.tsx +40 -0
- package/src/lib/Components/TileButton/TileButton.mdx +10 -41
- package/src/lib/Components/TileButton/TileButton.stories.tsx +28 -4
- package/src/lib/Components/TileButton/TileButton.test.tsx +35 -1
- package/src/lib/Components/TileButton/TileButton.tsx +47 -28
- package/src/lib/Components/TileButton/types.ts +5 -0
- package/src/lib/Components/Tooltip/Tooltip.figma.tsx +30 -0
- package/src/lib/Components/Tooltip/Tooltip.mdx +0 -183
- package/src/lib/Components/Trend/Trend.figma.tsx +28 -0
- package/src/lib/Components/Trend/Trend.mdx +0 -2
- package/src/lib/Components/Utility/Text/Text.mdx +0 -1
- package/src/lib/Components/index.ts +1 -0
- package/src/lib/Symbols/Icons/ChevronAscending.tsx +1 -1
- package/src/lib/Symbols/Icons/ChevronDescending.tsx +1 -1
- package/src/lib/Symbols/Icons/Contact.tsx +45 -0
- package/src/lib/Symbols/Icons/Upload.tsx +45 -0
- package/src/lib/Symbols/index.ts +2 -0
- package/dist/typescript/src/lib/Components/Avatar/Avatar.figma.d.ts +0 -2
- package/dist/typescript/src/lib/Components/Avatar/Avatar.figma.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/OptionList/OptionList.figma.d.ts +0 -2
- package/dist/typescript/src/lib/Components/OptionList/OptionList.figma.d.ts.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import figma from '@figma/code-connect';
|
|
4
|
+
import { PageIndicator } from "./PageIndicator.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
figma.connect(PageIndicator, 'https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=11768-12849', {
|
|
7
|
+
imports: ["import { PageIndicator } from '@ledgerhq/lumen-ui-rnative'"],
|
|
8
|
+
example: () => /*#__PURE__*/_jsx(PageIndicator, {
|
|
9
|
+
currentPage: 2,
|
|
10
|
+
totalPages: 5
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=PageIndicator.figma.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["figma","PageIndicator","jsx","_jsx","connect","imports","example","currentPage","totalPages"],"sourceRoot":"../../../../../src","sources":["lib/Components/PageIndicator/PageIndicator.figma.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,qBAAqB;AACvC,SAASC,aAAa,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEhDH,KAAK,CAACI,OAAO,CACXH,aAAa,EACb,yEAAyE,EACzE;EACEI,OAAO,EAAE,CAAC,4DAA4D,CAAC;EACvEC,OAAO,EAAEA,CAAA,kBAAMH,IAAA,CAACF,aAAa;IAACM,WAAW,EAAE,CAAE;IAACC,UAAU,EAAE;EAAE,CAAE;AAChE,CACF,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,6 @@ import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
|
|
|
2
2
|
import * as PageIndicatorStories from './PageIndicator.stories';
|
|
3
3
|
import { PageIndicator } from './PageIndicator';
|
|
4
4
|
import { CustomTabs, Tab } from '../../../../.storybook/components';
|
|
5
|
-
import CommonRulesDoAndDont from '../../../../.storybook/components/DoVsDont/CommonRulesDoAndDont.mdx';
|
|
6
5
|
|
|
7
6
|
<Meta title='Core/PageIndicator' of={PageIndicatorStories} />
|
|
8
7
|
|
|
@@ -118,7 +117,6 @@ function MyComponent() {
|
|
|
118
117
|
}
|
|
119
118
|
```
|
|
120
119
|
|
|
121
|
-
<CommonRulesDoAndDont />
|
|
122
120
|
|
|
123
121
|
</Tab>
|
|
124
122
|
</CustomTabs>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import figma from '@figma/code-connect';
|
|
4
|
+
import { SearchInput } from "./SearchInput.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
figma.connect(SearchInput, 'https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=2248%3A3468', {
|
|
7
|
+
imports: ["import { SearchInput } from '@ledgerhq/lumen-ui-rnative'"],
|
|
8
|
+
props: {
|
|
9
|
+
appearance: figma.enum('appearance', {
|
|
10
|
+
plain: 'plain',
|
|
11
|
+
transparent: 'transparent'
|
|
12
|
+
}),
|
|
13
|
+
placeholder: figma.enum('search-state', {
|
|
14
|
+
placeholder: figma.string('placeholder')
|
|
15
|
+
}),
|
|
16
|
+
value: figma.enum('search-state', {
|
|
17
|
+
typing: figma.string('value')
|
|
18
|
+
}),
|
|
19
|
+
disabled: figma.enum('state', {
|
|
20
|
+
disabled: true
|
|
21
|
+
})
|
|
22
|
+
},
|
|
23
|
+
example: props => /*#__PURE__*/_jsx(SearchInput, {
|
|
24
|
+
appearance: props.appearance,
|
|
25
|
+
placeholder: props.placeholder,
|
|
26
|
+
value: props.value,
|
|
27
|
+
disabled: props.disabled,
|
|
28
|
+
onChangeText: () => {}
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=SearchInput.figma.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["figma","SearchInput","jsx","_jsx","connect","imports","props","appearance","enum","plain","transparent","placeholder","string","value","typing","disabled","example","onChangeText"],"sourceRoot":"../../../../../src","sources":["lib/Components/SearchInput/SearchInput.figma.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,qBAAqB;AACvC,SAASC,WAAW,QAAQ,kBAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5CH,KAAK,CAACI,OAAO,CACXH,WAAW,EACX,yEAAyE,EACzE;EACEI,OAAO,EAAE,CAAC,0DAA0D,CAAC;EACrEC,KAAK,EAAE;IACLC,UAAU,EAAEP,KAAK,CAACQ,IAAI,CAAC,YAAY,EAAE;MACnCC,KAAK,EAAE,OAAO;MACdC,WAAW,EAAE;IACf,CAAC,CAAC;IACFC,WAAW,EAAEX,KAAK,CAACQ,IAAI,CAAC,cAAc,EAAE;MACtCG,WAAW,EAAEX,KAAK,CAACY,MAAM,CAAC,aAAa;IACzC,CAAC,CAAC;IACFC,KAAK,EAAEb,KAAK,CAACQ,IAAI,CAAC,cAAc,EAAE;MAChCM,MAAM,EAAEd,KAAK,CAACY,MAAM,CAAC,OAAO;IAC9B,CAAC,CAAC;IACFG,QAAQ,EAAEf,KAAK,CAACQ,IAAI,CAAC,OAAO,EAAE;MAC5BO,QAAQ,EAAE;IACZ,CAAC;EACH,CAAC;EACDC,OAAO,EAAGV,KAAK,iBACbH,IAAA,CAACF,WAAW;IACVM,UAAU,EAAED,KAAK,CAACC,UAAW;IAC7BI,WAAW,EAAEL,KAAK,CAACK,WAAY;IAC/BE,KAAK,EAAEP,KAAK,CAACO,KAAM;IACnBE,QAAQ,EAAET,KAAK,CAACS,QAAS;IACzBE,YAAY,EAAEA,CAAA,KAAM,CAAC;EAAE,CACxB;AAEL,CACF,CAAC","ignoreList":[]}
|
|
@@ -2,8 +2,6 @@ import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
|
|
|
2
2
|
import * as SearchInputStories from './SearchInput.stories';
|
|
3
3
|
import { SearchInput } from './SearchInput';
|
|
4
4
|
import { CustomTabs, Tab } from '../../../../.storybook/components';
|
|
5
|
-
import { DoVsDontRow, DoBlockItem, DontBlockItem } from '../../../../.storybook/components/DoVsDont';
|
|
6
|
-
import CommonRulesDoAndDont from '../../../../.storybook/components/DoVsDont/CommonRulesDoAndDont.mdx';
|
|
7
5
|
|
|
8
6
|
<Meta title='Core/SearchInput' of={SearchInputStories} />
|
|
9
7
|
|
|
@@ -326,203 +324,6 @@ function MyComponent() {
|
|
|
326
324
|
}
|
|
327
325
|
```
|
|
328
326
|
|
|
329
|
-
## Do's and Don'ts
|
|
330
|
-
|
|
331
|
-
The following guidelines ensure consistent usage of the SearchInput component and maintain design system principles.
|
|
332
|
-
|
|
333
|
-
<div style={{ display: 'flex', flexDirection: 'column', gap: 24 }}>
|
|
334
|
-
<DoVsDontRow>
|
|
335
|
-
<DoBlockItem
|
|
336
|
-
title='Use placeholder text'
|
|
337
|
-
description='SearchInput uses placeholder text instead of labels for optimal search UX'
|
|
338
|
-
>
|
|
339
|
-
|
|
340
|
-
{/* prettier-ignore */}
|
|
341
|
-
```tsx
|
|
342
|
-
<SearchInput
|
|
343
|
-
placeholder='Search by name or email'
|
|
344
|
-
value={query}
|
|
345
|
-
onChangeText={setQuery}
|
|
346
|
-
/>
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
</DoBlockItem>
|
|
350
|
-
<DontBlockItem
|
|
351
|
-
title="Don't use label prop"
|
|
352
|
-
description='SearchInput component does not support labels as they are not suitable for search UX patterns'
|
|
353
|
-
>
|
|
354
|
-
|
|
355
|
-
{/* prettier-ignore */}
|
|
356
|
-
```tsx
|
|
357
|
-
<SearchInput
|
|
358
|
-
label='Search' // Not supported, will cause error
|
|
359
|
-
placeholder='Search by name or email'
|
|
360
|
-
value={query}
|
|
361
|
-
/>
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
</DontBlockItem>
|
|
365
|
-
|
|
366
|
-
</DoVsDontRow>
|
|
367
|
-
|
|
368
|
-
<DoVsDontRow>
|
|
369
|
-
<DoBlockItem
|
|
370
|
-
title='Use the built-in search icon'
|
|
371
|
-
description='The search icon is automatically included and cannot be changed'
|
|
372
|
-
>
|
|
373
|
-
|
|
374
|
-
{/* prettier-ignore */}
|
|
375
|
-
```tsx
|
|
376
|
-
<SearchInput
|
|
377
|
-
placeholder='Search products'
|
|
378
|
-
value={query}
|
|
379
|
-
onChangeText={handleChange}
|
|
380
|
-
/>
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
</DoBlockItem>
|
|
384
|
-
<DontBlockItem
|
|
385
|
-
title="Don't override the search icon"
|
|
386
|
-
description='The prefix prop is not available on SearchInput component'
|
|
387
|
-
>
|
|
388
|
-
|
|
389
|
-
{/* prettier-ignore */}
|
|
390
|
-
```tsx
|
|
391
|
-
<SearchInput
|
|
392
|
-
prefix={<CustomIcon />} // Not supported, will cause error
|
|
393
|
-
placeholder='Search products'
|
|
394
|
-
/>
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
</DontBlockItem>
|
|
398
|
-
|
|
399
|
-
</DoVsDontRow>
|
|
400
|
-
|
|
401
|
-
<DoVsDontRow>
|
|
402
|
-
<DoBlockItem
|
|
403
|
-
title='Use onClear for custom logic only'
|
|
404
|
-
description='Let the component handle clearing automatically, add onClear only for additional logic'
|
|
405
|
-
>
|
|
406
|
-
|
|
407
|
-
{/* prettier-ignore */}
|
|
408
|
-
```tsx
|
|
409
|
-
<SearchInput
|
|
410
|
-
placeholder='Search'
|
|
411
|
-
value={query}
|
|
412
|
-
onChangeText={setQuery}
|
|
413
|
-
onClear={() => {
|
|
414
|
-
// Default clearing happens automatically
|
|
415
|
-
analytics.track('search_cleared');
|
|
416
|
-
}}
|
|
417
|
-
/>
|
|
418
|
-
```
|
|
419
|
-
|
|
420
|
-
</DoBlockItem>
|
|
421
|
-
<DontBlockItem
|
|
422
|
-
title="Don't manually clear in onClear"
|
|
423
|
-
description='Value clearing happens automatically - no need to call setQuery'
|
|
424
|
-
>
|
|
425
|
-
|
|
426
|
-
{/* prettier-ignore */}
|
|
427
|
-
```tsx
|
|
428
|
-
<SearchInput
|
|
429
|
-
placeholder='Search'
|
|
430
|
-
value={query}
|
|
431
|
-
onChangeText={setQuery}
|
|
432
|
-
onClear={() => setQuery('')}
|
|
433
|
-
/>
|
|
434
|
-
```
|
|
435
|
-
|
|
436
|
-
</DontBlockItem>
|
|
437
|
-
|
|
438
|
-
</DoVsDontRow>
|
|
439
|
-
|
|
440
|
-
<DoVsDontRow>
|
|
441
|
-
<DoBlockItem
|
|
442
|
-
title='Debounce expensive search operations'
|
|
443
|
-
description='Use debouncing for API calls or expensive filtering to improve performance'
|
|
444
|
-
>
|
|
445
|
-
|
|
446
|
-
{/* prettier-ignore */}
|
|
447
|
-
```tsx
|
|
448
|
-
const debouncedSearch = useCallback(
|
|
449
|
-
debounce((text: string) => performSearch(text), 500),
|
|
450
|
-
[]
|
|
451
|
-
);
|
|
452
|
-
|
|
453
|
-
<SearchInput
|
|
454
|
-
placeholder='Search'
|
|
455
|
-
value={query}
|
|
456
|
-
onChangeText={(text) => {
|
|
457
|
-
setQuery(text);
|
|
458
|
-
debouncedSearch(text);
|
|
459
|
-
}}
|
|
460
|
-
/>
|
|
461
|
-
```
|
|
462
|
-
|
|
463
|
-
</DoBlockItem>
|
|
464
|
-
<DontBlockItem
|
|
465
|
-
title="Don't perform expensive operations on every keystroke"
|
|
466
|
-
description='Avoid running expensive operations on every input change without debouncing'
|
|
467
|
-
>
|
|
468
|
-
|
|
469
|
-
{/* prettier-ignore */}
|
|
470
|
-
```tsx
|
|
471
|
-
const debouncedSearch = useCallback(
|
|
472
|
-
debounce((text: string) => performSearch(text), 500),
|
|
473
|
-
[]
|
|
474
|
-
);
|
|
475
|
-
|
|
476
|
-
<SearchInput
|
|
477
|
-
placeholder='Search'
|
|
478
|
-
value={query}
|
|
479
|
-
onChangeText={(text) => {
|
|
480
|
-
setQuery(text);
|
|
481
|
-
performExpensiveAPICall(text); // Should be debounced
|
|
482
|
-
}}
|
|
483
|
-
/>
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
</DontBlockItem>
|
|
487
|
-
|
|
488
|
-
</DoVsDontRow>
|
|
489
|
-
|
|
490
|
-
<DoVsDontRow>
|
|
491
|
-
<DoBlockItem
|
|
492
|
-
title='Provide descriptive placeholder text'
|
|
493
|
-
description='Use clear, specific placeholder text that describes what users can search for'
|
|
494
|
-
>
|
|
495
|
-
|
|
496
|
-
{/* prettier-ignore */}
|
|
497
|
-
```tsx
|
|
498
|
-
<SearchInput
|
|
499
|
-
placeholder='Search by name or email'
|
|
500
|
-
value={query}
|
|
501
|
-
onChangeText={setQuery}
|
|
502
|
-
/>
|
|
503
|
-
```
|
|
504
|
-
|
|
505
|
-
</DoBlockItem>
|
|
506
|
-
<DontBlockItem
|
|
507
|
-
title="Don't use vague placeholder text"
|
|
508
|
-
description='Avoid generic or unclear placeholder text that does not help users'
|
|
509
|
-
>
|
|
510
|
-
|
|
511
|
-
{/* prettier-ignore */}
|
|
512
|
-
```tsx
|
|
513
|
-
<SearchInput
|
|
514
|
-
placeholder='Type here'
|
|
515
|
-
value={query}
|
|
516
|
-
onChangeText={setQuery}
|
|
517
|
-
/>
|
|
518
|
-
```
|
|
519
|
-
|
|
520
|
-
</DontBlockItem>
|
|
521
|
-
|
|
522
|
-
</DoVsDontRow>
|
|
523
|
-
|
|
524
|
-
<CommonRulesDoAndDont />
|
|
525
|
-
</div>
|
|
526
327
|
|
|
527
328
|
## Platform Considerations
|
|
528
329
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import figma from '@figma/code-connect';
|
|
4
|
+
import { SectionHeader, SectionHeaderTitle } from "./SectionHeader.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
figma.connect(SectionHeader, 'https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=18640-48457', {
|
|
7
|
+
imports: ["import { SectionHeader, SectionHeaderTitle } from '@ledgerhq/lumen-ui-rnative'"],
|
|
8
|
+
props: {
|
|
9
|
+
appearance: figma.enum('appearance', {
|
|
10
|
+
'no-background': 'no-background',
|
|
11
|
+
plain: 'plain'
|
|
12
|
+
}),
|
|
13
|
+
title: figma.string('label')
|
|
14
|
+
},
|
|
15
|
+
example: props => /*#__PURE__*/_jsx(SectionHeader, {
|
|
16
|
+
appearance: props.appearance,
|
|
17
|
+
children: /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
18
|
+
children: props.title
|
|
19
|
+
})
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=SectionHeader.figma.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["figma","SectionHeader","SectionHeaderTitle","jsx","_jsx","connect","imports","props","appearance","enum","plain","title","string","example","children"],"sourceRoot":"../../../../../src","sources":["lib/Components/SectionHeader/SectionHeader.figma.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,qBAAqB;AACvC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpEJ,KAAK,CAACK,OAAO,CACXJ,aAAa,EACb,yEAAyE,EACzE;EACEK,OAAO,EAAE,CACP,gFAAgF,CACjF;EACDC,KAAK,EAAE;IACLC,UAAU,EAAER,KAAK,CAACS,IAAI,CAAC,YAAY,EAAE;MACnC,eAAe,EAAE,eAAe;MAChCC,KAAK,EAAE;IACT,CAAC,CAAC;IACFC,KAAK,EAAEX,KAAK,CAACY,MAAM,CAAC,OAAO;EAC7B,CAAC;EACDC,OAAO,EAAGN,KAAK,iBACbH,IAAA,CAACH,aAAa;IAACO,UAAU,EAAED,KAAK,CAACC,UAAW;IAAAM,QAAA,eAC1CV,IAAA,CAACF,kBAAkB;MAAAY,QAAA,EAAEP,KAAK,CAACI;IAAK,CAAqB;EAAC,CACzC;AAEnB,CACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { useStyleSheet } from "../../../styles/index.js";
|
|
5
|
+
import { Box, Text } from "../Utility/index.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
/**
|
|
8
|
+
* Leading slot for the SectionHeader. Use for optional icons or other leading content.
|
|
9
|
+
*/
|
|
10
|
+
export const SectionHeaderLeading = ({
|
|
11
|
+
children,
|
|
12
|
+
lx,
|
|
13
|
+
style,
|
|
14
|
+
...props
|
|
15
|
+
}) => {
|
|
16
|
+
const styles = useStyleSheet(() => ({
|
|
17
|
+
leading: StyleSheet.flatten([{
|
|
18
|
+
flexShrink: 0,
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center'
|
|
21
|
+
}])
|
|
22
|
+
}), []);
|
|
23
|
+
return /*#__PURE__*/_jsx(Box, {
|
|
24
|
+
lx: lx,
|
|
25
|
+
style: [styles.leading, style],
|
|
26
|
+
...props,
|
|
27
|
+
children: children
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Title component for the SectionHeader. Displays the muted label text.
|
|
33
|
+
*/
|
|
34
|
+
export const SectionHeaderTitle = ({
|
|
35
|
+
children,
|
|
36
|
+
lx,
|
|
37
|
+
style,
|
|
38
|
+
...props
|
|
39
|
+
}) => {
|
|
40
|
+
const styles = useStyleSheet(t => ({
|
|
41
|
+
title: StyleSheet.flatten([t.typographies.body2SemiBold, {
|
|
42
|
+
flexShrink: 1,
|
|
43
|
+
minWidth: 0,
|
|
44
|
+
color: t.colors.text.muted
|
|
45
|
+
}])
|
|
46
|
+
}), []);
|
|
47
|
+
return /*#__PURE__*/_jsx(Text, {
|
|
48
|
+
lx: lx,
|
|
49
|
+
style: [styles.title, style],
|
|
50
|
+
numberOfLines: 1,
|
|
51
|
+
ellipsizeMode: "tail",
|
|
52
|
+
...props,
|
|
53
|
+
children: children
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* A compact section label used to title grouped content areas.
|
|
59
|
+
* Uses a composable API where you explicitly nest sub-components to define the layout.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* <SectionHeader>
|
|
63
|
+
* <SectionHeaderTitle>Label</SectionHeaderTitle>
|
|
64
|
+
* </SectionHeader>
|
|
65
|
+
*/
|
|
66
|
+
export const SectionHeader = ({
|
|
67
|
+
appearance = 'no-background',
|
|
68
|
+
lx,
|
|
69
|
+
style,
|
|
70
|
+
children,
|
|
71
|
+
...props
|
|
72
|
+
}) => {
|
|
73
|
+
const styles = useStyleSheet(t => {
|
|
74
|
+
const appearanceStyles = {
|
|
75
|
+
'no-background': {},
|
|
76
|
+
plain: {
|
|
77
|
+
backgroundColor: t.colors.bg.surface,
|
|
78
|
+
paddingHorizontal: t.spacings.s8,
|
|
79
|
+
paddingVertical: t.spacings.s1,
|
|
80
|
+
borderRadius: t.borderRadius.xs
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
return {
|
|
84
|
+
container: StyleSheet.flatten([{
|
|
85
|
+
flexDirection: 'row',
|
|
86
|
+
alignItems: 'center',
|
|
87
|
+
gap: t.spacings.s4,
|
|
88
|
+
minWidth: 0
|
|
89
|
+
}, appearanceStyles[appearance]])
|
|
90
|
+
};
|
|
91
|
+
}, [appearance]);
|
|
92
|
+
return /*#__PURE__*/_jsx(Box, {
|
|
93
|
+
lx: lx,
|
|
94
|
+
style: [styles.container, style],
|
|
95
|
+
...props,
|
|
96
|
+
children: children
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=SectionHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","useStyleSheet","Box","Text","jsx","_jsx","SectionHeaderLeading","children","lx","style","props","styles","leading","flatten","flexShrink","alignItems","justifyContent","SectionHeaderTitle","t","title","typographies","body2SemiBold","minWidth","color","colors","text","muted","numberOfLines","ellipsizeMode","SectionHeader","appearance","appearanceStyles","plain","backgroundColor","bg","surface","paddingHorizontal","spacings","s8","paddingVertical","s1","borderRadius","xs","container","flexDirection","gap","s4"],"sourceRoot":"../../../../../src","sources":["lib/Components/SectionHeader/SectionHeader.tsx"],"mappings":";;AACA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,aAAa,QAAQ,0BAAiB;AAC/C,SAASC,GAAG,EAAEC,IAAI,QAAQ,qBAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQvC;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC,QAAQ;EACRC,EAAE;EACFC,KAAK;EACL,GAAGC;AACsB,CAAC,KAAK;EAC/B,MAAMC,MAAM,GAAGV,aAAa,CAC1B,OAAO;IACLW,OAAO,EAAEZ,UAAU,CAACa,OAAO,CAAC,CAC1B;MACEC,UAAU,EAAE,CAAC;MACbC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB,CAAC,CACF;EACH,CAAC,CAAC,EACF,EACF,CAAC;EAED,oBACEX,IAAA,CAACH,GAAG;IAACM,EAAE,EAAEA,EAAG;IAACC,KAAK,EAAE,CAACE,MAAM,CAACC,OAAO,EAAEH,KAAK,CAAE;IAAA,GAAKC,KAAK;IAAAH,QAAA,EACnDA;EAAQ,CACN,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMU,kBAAkB,GAAGA,CAAC;EACjCV,QAAQ;EACRC,EAAE;EACFC,KAAK;EACL,GAAGC;AACoB,CAAC,KAAK;EAC7B,MAAMC,MAAM,GAAGV,aAAa,CACzBiB,CAAC,KAAM;IACNC,KAAK,EAAEnB,UAAU,CAACa,OAAO,CAAC,CACxBK,CAAC,CAACE,YAAY,CAACC,aAAa,EAC5B;MACEP,UAAU,EAAE,CAAC;MACbQ,QAAQ,EAAE,CAAC;MACXC,KAAK,EAAEL,CAAC,CAACM,MAAM,CAACC,IAAI,CAACC;IACvB,CAAC,CACF;EACH,CAAC,CAAC,EACF,EACF,CAAC;EAED,oBACErB,IAAA,CAACF,IAAI;IACHK,EAAE,EAAEA,EAAG;IACPC,KAAK,EAAE,CAACE,MAAM,CAACQ,KAAK,EAAEV,KAAK,CAAE;IAC7BkB,aAAa,EAAE,CAAE;IACjBC,aAAa,EAAC,MAAM;IAAA,GAChBlB,KAAK;IAAAH,QAAA,EAERA;EAAQ,CACL,CAAC;AAEX,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMsB,aAAa,GAAGA,CAAC;EAC5BC,UAAU,GAAG,eAAe;EAC5BtB,EAAE;EACFC,KAAK;EACLF,QAAQ;EACR,GAAGG;AACe,CAAC,KAAK;EACxB,MAAMC,MAAM,GAAGV,aAAa,CACzBiB,CAAC,IAAK;IACL,MAAMa,gBAAgB,GAAG;MACvB,eAAe,EAAE,CAAC,CAAC;MACnBC,KAAK,EAAE;QACLC,eAAe,EAAEf,CAAC,CAACM,MAAM,CAACU,EAAE,CAACC,OAAO;QACpCC,iBAAiB,EAAElB,CAAC,CAACmB,QAAQ,CAACC,EAAE;QAChCC,eAAe,EAAErB,CAAC,CAACmB,QAAQ,CAACG,EAAE;QAC9BC,YAAY,EAAEvB,CAAC,CAACuB,YAAY,CAACC;MAC/B;IACF,CAAsD;IAEtD,OAAO;MACLC,SAAS,EAAE3C,UAAU,CAACa,OAAO,CAAC,CAC5B;QACE+B,aAAa,EAAE,KAAK;QACpB7B,UAAU,EAAE,QAAQ;QACpB8B,GAAG,EAAE3B,CAAC,CAACmB,QAAQ,CAACS,EAAE;QAClBxB,QAAQ,EAAE;MACZ,CAAC,EACDS,gBAAgB,CAACD,UAAU,CAAC,CAC7B;IACH,CAAC;EACH,CAAC,EACD,CAACA,UAAU,CACb,CAAC;EAED,oBACEzB,IAAA,CAACH,GAAG;IAACM,EAAE,EAAEA,EAAG;IAACC,KAAK,EAAE,CAACE,MAAM,CAACgC,SAAS,EAAElC,KAAK,CAAE;IAAA,GAAKC,KAAK;IAAAH,QAAA,EACrDA;EAAQ,CACN,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Meta, Canvas, Controls, Source } from '@storybook/addon-docs/blocks';
|
|
2
|
+
import * as SectionHeaderStories from './SectionHeader.stories';
|
|
3
|
+
import { SectionHeader } from './SectionHeader';
|
|
4
|
+
import { CustomTabs, Tab, SetupNote } from '../../../../.storybook/components';
|
|
5
|
+
|
|
6
|
+
<Meta title='Core/SectionHeader' of={SectionHeaderStories} />
|
|
7
|
+
|
|
8
|
+
# SectionHeader
|
|
9
|
+
|
|
10
|
+
<CustomTabs>
|
|
11
|
+
<Tab label="Overview">
|
|
12
|
+
|
|
13
|
+
## Introduction
|
|
14
|
+
|
|
15
|
+
SectionHeader is a compact, muted label used to title grouped content areas. It is smaller and more subdued than Subheader, making it suitable for category labels, list group headers, and inline section markers.
|
|
16
|
+
|
|
17
|
+
> View in [Figma](https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7/2.-Components-Library?node-id=18640-48457&m=dev).
|
|
18
|
+
|
|
19
|
+
## Anatomy
|
|
20
|
+
|
|
21
|
+
<Canvas of={SectionHeaderStories.Base} />
|
|
22
|
+
|
|
23
|
+
The SectionHeader uses a composite structure with the following components:
|
|
24
|
+
|
|
25
|
+
- **SectionHeader** (container): The root component with optional `appearance` variant
|
|
26
|
+
- **SectionHeaderLeading** (optional): Slot for a leading icon or other content
|
|
27
|
+
- **SectionHeaderTitle** (required): The muted label text
|
|
28
|
+
|
|
29
|
+
## Properties
|
|
30
|
+
|
|
31
|
+
### Overview
|
|
32
|
+
|
|
33
|
+
<Canvas of={SectionHeaderStories.Base} />
|
|
34
|
+
<Controls of={SectionHeaderStories.Base} />
|
|
35
|
+
|
|
36
|
+
### Appearance
|
|
37
|
+
|
|
38
|
+
There are two appearances: `no-background` (default) renders plain muted text with no container styling, and `plain` wraps the label in a subtle surface chip.
|
|
39
|
+
|
|
40
|
+
<Canvas of={SectionHeaderStories.AppearanceShowcase} />
|
|
41
|
+
|
|
42
|
+
### With leading icon
|
|
43
|
+
|
|
44
|
+
Use `SectionHeaderLeading` to add an optional icon before the title.
|
|
45
|
+
|
|
46
|
+
<Canvas of={SectionHeaderStories.WithLeadingIcon} />
|
|
47
|
+
|
|
48
|
+
### Truncation
|
|
49
|
+
|
|
50
|
+
Long titles truncate with an ellipsis while keeping leading content visible.
|
|
51
|
+
|
|
52
|
+
<Canvas of={SectionHeaderStories.ResponsiveShowcase} />
|
|
53
|
+
|
|
54
|
+
</Tab>
|
|
55
|
+
|
|
56
|
+
<Tab label="Implementation">
|
|
57
|
+
|
|
58
|
+
<SetupNote />
|
|
59
|
+
|
|
60
|
+
`SectionHeader` is a compound component. Compose it with `SectionHeaderTitle` (required) and, optionally, `SectionHeaderLeading` for a leading icon.
|
|
61
|
+
|
|
62
|
+
### Basic Usage
|
|
63
|
+
|
|
64
|
+
<Source of={SectionHeaderStories.Base} />
|
|
65
|
+
|
|
66
|
+
### With leading icon
|
|
67
|
+
|
|
68
|
+
Add `SectionHeaderLeading` before the title to render a leading icon.
|
|
69
|
+
|
|
70
|
+
<Source of={SectionHeaderStories.WithLeadingIcon} />
|
|
71
|
+
|
|
72
|
+
### Truncation
|
|
73
|
+
|
|
74
|
+
Titles truncate with an ellipsis when they exceed the available width, while leading content stays visible.
|
|
75
|
+
|
|
76
|
+
<Source of={SectionHeaderStories.TruncateShowcase} />
|
|
77
|
+
|
|
78
|
+
</Tab>
|
|
79
|
+
</CustomTabs>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Settings } from "../../Symbols/index.js";
|
|
4
|
+
import { Box } from "../Utility/index.js";
|
|
5
|
+
import { SectionHeader, SectionHeaderLeading, SectionHeaderTitle } from "./SectionHeader.js";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
const meta = {
|
|
8
|
+
component: SectionHeader,
|
|
9
|
+
id: 'rnative-sectionheader',
|
|
10
|
+
title: 'Core/SectionHeader',
|
|
11
|
+
subcomponents: {
|
|
12
|
+
SectionHeaderLeading,
|
|
13
|
+
SectionHeaderTitle
|
|
14
|
+
},
|
|
15
|
+
parameters: {
|
|
16
|
+
layout: 'centered',
|
|
17
|
+
backgrounds: {
|
|
18
|
+
default: 'light'
|
|
19
|
+
},
|
|
20
|
+
docs: {
|
|
21
|
+
source: {
|
|
22
|
+
language: 'tsx',
|
|
23
|
+
format: true,
|
|
24
|
+
type: 'dynamic'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
argTypes: {
|
|
29
|
+
appearance: {
|
|
30
|
+
control: 'radio',
|
|
31
|
+
options: ['no-background', 'plain']
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
decorators: [Story => /*#__PURE__*/_jsx(Box, {
|
|
35
|
+
lx: {
|
|
36
|
+
padding: 's8',
|
|
37
|
+
width: 's400'
|
|
38
|
+
},
|
|
39
|
+
children: /*#__PURE__*/_jsx(Story, {})
|
|
40
|
+
})]
|
|
41
|
+
};
|
|
42
|
+
export default meta;
|
|
43
|
+
export const Base = {
|
|
44
|
+
args: {
|
|
45
|
+
appearance: 'no-background'
|
|
46
|
+
},
|
|
47
|
+
render: ({
|
|
48
|
+
appearance
|
|
49
|
+
}) => /*#__PURE__*/_jsx(SectionHeader, {
|
|
50
|
+
appearance: appearance,
|
|
51
|
+
children: /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
52
|
+
children: "Label"
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
};
|
|
56
|
+
export const AppearanceShowcase = {
|
|
57
|
+
render: () => /*#__PURE__*/_jsxs(Box, {
|
|
58
|
+
lx: {
|
|
59
|
+
gap: 's8'
|
|
60
|
+
},
|
|
61
|
+
children: [/*#__PURE__*/_jsx(SectionHeader, {
|
|
62
|
+
children: /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
63
|
+
children: "No background"
|
|
64
|
+
})
|
|
65
|
+
}), /*#__PURE__*/_jsx(SectionHeader, {
|
|
66
|
+
appearance: "plain",
|
|
67
|
+
children: /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
68
|
+
children: "Plain"
|
|
69
|
+
})
|
|
70
|
+
})]
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
export const WithLeadingIcon = {
|
|
74
|
+
render: () => /*#__PURE__*/_jsxs(SectionHeader, {
|
|
75
|
+
appearance: "plain",
|
|
76
|
+
children: [/*#__PURE__*/_jsx(SectionHeaderLeading, {
|
|
77
|
+
children: /*#__PURE__*/_jsx(Settings, {
|
|
78
|
+
size: 16,
|
|
79
|
+
color: "muted"
|
|
80
|
+
})
|
|
81
|
+
}), /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
82
|
+
children: "Label"
|
|
83
|
+
})]
|
|
84
|
+
})
|
|
85
|
+
};
|
|
86
|
+
export const ResponsiveShowcase = {
|
|
87
|
+
render: () => /*#__PURE__*/_jsx(Box, {
|
|
88
|
+
lx: {
|
|
89
|
+
width: 's144'
|
|
90
|
+
},
|
|
91
|
+
children: /*#__PURE__*/_jsxs(SectionHeader, {
|
|
92
|
+
appearance: "plain",
|
|
93
|
+
children: [/*#__PURE__*/_jsx(SectionHeaderLeading, {
|
|
94
|
+
children: /*#__PURE__*/_jsx(Settings, {
|
|
95
|
+
size: 16,
|
|
96
|
+
color: "muted"
|
|
97
|
+
})
|
|
98
|
+
}), /*#__PURE__*/_jsx(SectionHeaderTitle, {
|
|
99
|
+
children: "Very long section header label that should truncate"
|
|
100
|
+
})]
|
|
101
|
+
})
|
|
102
|
+
})
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=SectionHeader.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Settings","Box","SectionHeader","SectionHeaderLeading","SectionHeaderTitle","jsx","_jsx","jsxs","_jsxs","meta","component","id","title","subcomponents","parameters","layout","backgrounds","default","docs","source","language","format","type","argTypes","appearance","control","options","decorators","Story","lx","padding","width","children","Base","args","render","AppearanceShowcase","gap","WithLeadingIcon","size","color","ResponsiveShowcase"],"sourceRoot":"../../../../../src","sources":["lib/Components/SectionHeader/SectionHeader.stories.tsx"],"mappings":"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","ignoreList":[]}
|