@ledgerhq/lumen-ui-rnative 0.1.68 → 0.1.70
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/lib/Components/animations/Pulse/Pulse.stories.js +7 -0
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +1 -1
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js +7 -0
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +1 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +129 -136
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +12 -6
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +1 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +154 -176
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +54 -47
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +1 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +2 -9
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.stories.js +48 -87
- package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Button/Button.figma.js +2 -1
- package/dist/module/lib/Components/core/Button/Button.figma.js.map +1 -1
- package/dist/module/lib/Components/core/Button/Button.mdx +2 -1
- package/dist/module/lib/Components/core/Button/Button.stories.js +34 -10
- package/dist/module/lib/Components/core/Button/Button.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.mdx +6 -0
- package/dist/module/lib/Components/core/Card/Card.stories.js +63 -24
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +1 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +27 -85
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +8 -18
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +28 -0
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Divider/Divider.stories.js +7 -0
- package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +28 -0
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +12 -0
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +21 -0
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +21 -0
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +1 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +17 -0
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +15 -21
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Link/Link.js +1 -1
- package/dist/module/lib/Components/core/Link/Link.mdx +32 -5
- package/dist/module/lib/Components/core/Link/Link.stories.js +35 -139
- package/dist/module/lib/Components/core/Link/Link.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Link/Link.test.js +1 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +2 -41
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +19 -12
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +2 -13
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +24 -50
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.js +1 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.js.map +1 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +1 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +215 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +1 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.js +221 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.js.map +1 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +96 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +258 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +1 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +246 -0
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +1 -0
- package/dist/module/lib/Components/core/MediaImageGroup/index.js +5 -0
- package/dist/module/lib/Components/core/MediaImageGroup/index.js.map +1 -0
- package/dist/module/lib/Components/core/MediaImageGroup/types.js +4 -0
- package/dist/module/lib/Components/core/MediaImageGroup/types.js.map +1 -0
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +9 -0
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.mdx +2 -2
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +17 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +1 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +1 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +1 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +56 -50
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +22 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.js +182 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.mdx +108 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +121 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js +338 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/index.js +4 -0
- package/dist/module/lib/Components/core/Pagination/index.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/types.js +4 -0
- package/dist/module/lib/Components/core/Pagination/types.js.map +1 -0
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +75 -67
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +1 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +12 -0
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +1 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.mdx +3 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +3 -3
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +7 -0
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +7 -0
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.stories.js +20 -1
- package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +7 -0
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +11 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Switch/Switch.stories.js +21 -1
- package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +1 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +17 -5
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Tag/Tag.stories.js +28 -0
- package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +1 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +159 -196
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +1 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js +2 -2
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +1 -1
- package/dist/module/lib/Components/core/Tile/Tile.stories.js +2 -35
- package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +1 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +18 -8
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.js +81 -67
- package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +46 -16
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js +8 -5
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +1 -1
- package/dist/module/lib/Components/core/Toast/Toast.mdx +1 -1
- package/dist/module/lib/Components/core/Toast/Toast.stories.js +61 -58
- package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Toast/Toaster.test.js +1 -1
- package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +1 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +31 -2
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.stories.js +9 -0
- package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +1 -1
- package/dist/module/lib/Components/core/index.js +2 -0
- package/dist/module/lib/Components/core/index.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +5 -2
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +1 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +1 -1
- package/dist/module/lib/Components/primitives/Box/Box.stories.js +1 -18
- package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +1 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +36 -0
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +1 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +1 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +1 -19
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +1 -1
- package/dist/module/lib/Components/primitives/Text/Text.stories.js +1 -12
- package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +1 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +128 -85
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Ar.js +2 -2
- package/dist/module/lib/Components/symbols/icons/Ar.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Range.js +1 -1
- package/dist/module/lib/Components/symbols/icons/Share.js +1 -1
- package/dist/module/lib/Components/symbols/icons/{Charon.js → ShoppingInvoiceList.js} +8 -8
- package/dist/module/lib/Components/symbols/icons/ShoppingInvoiceList.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/WalletInput.js +1 -1
- package/dist/module/lib/Components/symbols/icons/WalletInput.js.map +1 -1
- package/dist/module/lib/Components/symbols/index.js +1 -4
- package/dist/module/lib/Components/symbols/index.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/Line/utils.js +1 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +69 -0
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +1 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/Point/Point.stories.js +12 -0
- package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +1 -1
- package/dist/module/lib/Components/visualization/Point/Point.test.js +1 -1
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.js +1 -1
- package/dist/module/lib/Components/visualization/Point/utils.js +1 -1
- package/dist/module/lib/Components/visualization/Point/utils.test.js +2 -2
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +23 -0
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js +3 -3
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +35 -0
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +1 -1
- package/dist/module/translations/locales/de.json +7 -0
- package/dist/module/translations/locales/en.json +7 -0
- package/dist/module/translations/locales/es.json +7 -0
- package/dist/module/translations/locales/fr.json +7 -0
- package/dist/module/translations/locales/ja.json +7 -0
- package/dist/module/translations/locales/ko.json +7 -0
- package/dist/module/translations/locales/pt.json +7 -0
- package/dist/module/translations/locales/ru.json +7 -0
- package/dist/module/translations/locales/th.json +7 -0
- package/dist/module/translations/locales/tr.json +7 -0
- package/dist/module/translations/locales/zh.json +7 -0
- package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts +4 -0
- package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts +33 -0
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/types.d.ts +66 -0
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +15 -0
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts +29 -0
- package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/index.d.ts +2 -0
- package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/{Charon.d.ts → ShoppingInvoiceList.d.ts} +7 -7
- package/dist/typescript/src/lib/Components/symbols/icons/ShoppingInvoiceList.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts +1 -4
- package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Line/utils.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/visualization/Point/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/visualization/Point/usePointGeometry.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/utils.d.ts +1 -1
- package/dist/typescript/src/translations/translations.d.ts +84 -0
- package/dist/typescript/src/translations/translations.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +1 -0
- package/src/lib/Components/animations/Spin/Spin.stories.tsx +1 -0
- package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +168 -123
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +7 -7
- package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +162 -158
- package/src/lib/Components/core/Avatar/Avatar.stories.tsx +37 -46
- package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +1 -8
- package/src/lib/Components/core/Banner/Banner.stories.tsx +8 -95
- package/src/lib/Components/core/Button/Button.figma.tsx +1 -0
- package/src/lib/Components/core/Button/Button.mdx +2 -1
- package/src/lib/Components/core/Button/Button.stories.tsx +13 -14
- package/src/lib/Components/core/Card/Card.mdx +6 -0
- package/src/lib/Components/core/Card/Card.stories.tsx +31 -27
- package/src/lib/Components/core/CardButton/CardButton.stories.tsx +14 -90
- package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +1 -1
- package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +1 -17
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +4 -0
- package/src/lib/Components/core/Divider/Divider.stories.tsx +1 -0
- package/src/lib/Components/core/DotCount/DotCount.stories.tsx +4 -0
- package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +8 -0
- package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +3 -0
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +3 -0
- package/src/lib/Components/core/IconButton/IconButton.stories.tsx +9 -0
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +16 -23
- package/src/lib/Components/core/Link/Link.mdx +32 -5
- package/src/lib/Components/core/Link/Link.stories.tsx +20 -146
- package/src/lib/Components/core/Link/Link.test.tsx +1 -1
- package/src/lib/Components/core/Link/Link.tsx +1 -1
- package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -39
- package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +3 -14
- package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +1 -12
- package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +10 -53
- package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +1 -1
- package/src/lib/Components/core/MediaImage/MediaImage.tsx +1 -1
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +119 -0
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +96 -0
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +154 -0
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +213 -0
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.tsx +264 -0
- package/src/lib/Components/core/MediaImageGroup/index.ts +2 -0
- package/src/lib/Components/core/MediaImageGroup/types.ts +77 -0
- package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +3 -0
- package/src/lib/Components/core/MenuList/MenuList.mdx +2 -2
- package/src/lib/Components/core/MenuList/MenuList.stories.tsx +13 -1
- package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +1 -1
- package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +45 -42
- package/src/lib/Components/core/Pagination/Pagination.figma.tsx +25 -0
- package/src/lib/Components/core/Pagination/Pagination.mdx +108 -0
- package/src/lib/Components/core/Pagination/Pagination.stories.tsx +90 -0
- package/src/lib/Components/core/Pagination/Pagination.test.tsx +346 -0
- package/src/lib/Components/core/Pagination/Pagination.tsx +200 -0
- package/src/lib/Components/core/Pagination/index.ts +2 -0
- package/src/lib/Components/core/Pagination/types.ts +29 -0
- package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +91 -66
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +2 -0
- package/src/lib/Components/core/SelectList/SelectList.mdx +3 -1
- package/src/lib/Components/core/SelectList/SelectList.stories.tsx +3 -3
- package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +1 -0
- package/src/lib/Components/core/Spinner/Spinner.stories.tsx +1 -0
- package/src/lib/Components/core/Spot/Spot.stories.tsx +10 -1
- package/src/lib/Components/core/Stepper/Stepper.stories.tsx +1 -0
- package/src/lib/Components/core/Subheader/Subheader.stories.tsx +5 -2
- package/src/lib/Components/core/Switch/Switch.stories.tsx +17 -1
- package/src/lib/Components/core/TabBar/TabBar.stories.tsx +15 -5
- package/src/lib/Components/core/Tag/Tag.stories.tsx +4 -0
- package/src/lib/Components/core/TextInput/TextInput.stories.tsx +186 -174
- package/src/lib/Components/core/TextInput/TextInput.test.tsx +2 -2
- package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -33
- package/src/lib/Components/core/TileButton/TileButton.stories.tsx +9 -7
- package/src/lib/Components/core/Timeline/Timeline.stories.tsx +20 -1
- package/src/lib/Components/core/Timeline/Timeline.test.tsx +12 -8
- package/src/lib/Components/core/Timeline/Timeline.tsx +79 -75
- package/src/lib/Components/core/Toast/Toast.mdx +1 -1
- package/src/lib/Components/core/Toast/Toast.stories.tsx +55 -66
- package/src/lib/Components/core/Toast/Toaster.test.tsx +1 -1
- package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +7 -3
- package/src/lib/Components/core/Trend/Trend.stories.tsx +3 -0
- package/src/lib/Components/core/index.ts +2 -0
- package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +1 -0
- package/src/lib/Components/internal/BaseButton/BaseButton.tsx +3 -0
- package/src/lib/Components/internal/BaseButton/types.ts +2 -1
- package/src/lib/Components/internal/BaseInput/types.ts +1 -1
- package/src/lib/Components/primitives/Box/Box.stories.tsx +1 -18
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +12 -0
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +1 -1
- package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -18
- package/src/lib/Components/primitives/Text/Text.stories.tsx +1 -12
- package/src/lib/Components/symbols/Icon/Icon.stories.tsx +133 -94
- package/src/lib/Components/symbols/icons/Ar.tsx +2 -2
- package/src/lib/Components/symbols/icons/Range.tsx +1 -1
- package/src/lib/Components/symbols/icons/Share.tsx +1 -1
- package/src/lib/Components/symbols/icons/{Charon.tsx → ShoppingInvoiceList.tsx} +8 -8
- package/src/lib/Components/symbols/icons/WalletInput.tsx +1 -1
- package/src/lib/Components/symbols/index.ts +1 -4
- package/src/lib/Components/visualization/Axis/types.ts +1 -1
- package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -1
- package/src/lib/Components/visualization/Line/utils.ts +1 -1
- package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +15 -0
- package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +1 -1
- package/src/lib/Components/visualization/LineChart/types.ts +3 -3
- package/src/lib/Components/visualization/Point/Point.stories.tsx +2 -0
- package/src/lib/Components/visualization/Point/Point.test.tsx +1 -1
- package/src/lib/Components/visualization/Point/types.ts +3 -3
- package/src/lib/Components/visualization/Point/usePointGeometry.ts +1 -1
- package/src/lib/Components/visualization/Point/utils.test.ts +2 -2
- package/src/lib/Components/visualization/Point/utils.ts +1 -1
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +5 -0
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
- package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +5 -0
- package/src/translations/locales/de.json +7 -0
- package/src/translations/locales/en.json +7 -0
- package/src/translations/locales/es.json +7 -0
- package/src/translations/locales/fr.json +7 -0
- package/src/translations/locales/ja.json +7 -0
- package/src/translations/locales/ko.json +7 -0
- package/src/translations/locales/pt.json +7 -0
- package/src/translations/locales/ru.json +7 -0
- package/src/translations/locales/th.json +7 -0
- package/src/translations/locales/tr.json +7 -0
- package/src/translations/locales/zh.json +7 -0
- package/dist/module/lib/Components/symbols/icons/Apex.js +0 -49
- package/dist/module/lib/Components/symbols/icons/Apex.js.map +0 -1
- package/dist/module/lib/Components/symbols/icons/BellNotification.js +0 -91
- package/dist/module/lib/Components/symbols/icons/BellNotification.js.map +0 -1
- package/dist/module/lib/Components/symbols/icons/Charon.js.map +0 -1
- package/dist/module/lib/Components/symbols/icons/ShieldCheckNotification.js +0 -82
- package/dist/module/lib/Components/symbols/icons/ShieldCheckNotification.js.map +0 -1
- package/dist/typescript/src/lib/Components/symbols/icons/Apex.d.ts +0 -35
- package/dist/typescript/src/lib/Components/symbols/icons/Apex.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/symbols/icons/BellNotification.d.ts +0 -35
- package/dist/typescript/src/lib/Components/symbols/icons/BellNotification.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/symbols/icons/Charon.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/symbols/icons/ShieldCheckNotification.d.ts +0 -35
- package/dist/typescript/src/lib/Components/symbols/icons/ShieldCheckNotification.d.ts.map +0 -1
- package/src/lib/Components/symbols/icons/Apex.tsx +0 -44
- package/src/lib/Components/symbols/icons/BellNotification.tsx +0 -75
- package/src/lib/Components/symbols/icons/ShieldCheckNotification.tsx +0 -67
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","AmountDisplay","Box","Text","Pulse","jsx","_jsx","jsxs","_jsxs","usdFormatter","value","integerPart","decimalPart","toFixed","split","currencyText","decimalSeparator","currencyPosition","meta","id","title","component","parameters","layout","Base","args","timing","duration","easing","animate","children","lx","width","height","backgroundColor","DurationShowcase","render","style","flexDirection","gap","alignItems","typography","color","WithAmountDisplay","formatter","loading"],"sourceRoot":"../../../../../../src","sources":["lib/Components/animations/Pulse/Pulse.stories.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,QAAQ,mCAA0B;AAExD,SAASC,GAAG,EAAEC,IAAI,QAAQ,2BAAkB;AAC5C,SAASC,KAAK,QAAQ,YAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhC,MAAMC,YAAY,GAAIC,KAAa,IAAqB;EACtD,MAAM,CAACC,WAAW,EAAEC,WAAW,CAAC,GAAGF,KAAK,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,MAAM,CAAC;EAEjE,OAAO;IACLH,WAAW;IACXC,WAAW;IACXG,YAAY,EAAE,GAAG;IACjBC,gBAAgB,EAAE,GAAG;IACrBC,gBAAgB,EAAE;EACpB,CAAC;AACH,CAAC;AAED,MAAMC,IAAI,GAAG;EACXC,EAAE,EAAE,eAAe;EACnBC,KAAK,EAAE,kBAAkB;EACzBC,SAAS,EAAEjB,KAAK;EAChBkB,UAAU,EAAE;IACVC,MAAM,EAAE;EACV;AACF,CAA8B;AAE9B,
|
|
1
|
+
{"version":3,"names":["View","AmountDisplay","Box","Text","Pulse","jsx","_jsx","jsxs","_jsxs","usdFormatter","value","integerPart","decimalPart","toFixed","split","currencyText","decimalSeparator","currencyPosition","meta","id","title","component","parameters","docs","source","language","format","type","layout","Base","args","timing","duration","easing","animate","children","lx","width","height","backgroundColor","DurationShowcase","render","style","flexDirection","gap","alignItems","typography","color","WithAmountDisplay","formatter","loading"],"sourceRoot":"../../../../../../src","sources":["lib/Components/animations/Pulse/Pulse.stories.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,QAAQ,mCAA0B;AAExD,SAASC,GAAG,EAAEC,IAAI,QAAQ,2BAAkB;AAC5C,SAASC,KAAK,QAAQ,YAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhC,MAAMC,YAAY,GAAIC,KAAa,IAAqB;EACtD,MAAM,CAACC,WAAW,EAAEC,WAAW,CAAC,GAAGF,KAAK,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,MAAM,CAAC;EAEjE,OAAO;IACLH,WAAW;IACXC,WAAW;IACXG,YAAY,EAAE,GAAG;IACjBC,gBAAgB,EAAE,GAAG;IACrBC,gBAAgB,EAAE;EACpB,CAAC;AACH,CAAC;AAED,MAAMC,IAAI,GAAG;EACXC,EAAE,EAAE,eAAe;EACnBC,KAAK,EAAE,kBAAkB;EACzBC,SAAS,EAAEjB,KAAK;EAChBkB,UAAU,EAAE;IACVC,IAAI,EAAE;MAAEC,MAAM,EAAE;QAAEC,QAAQ,EAAE,KAAK;QAAEC,MAAM,EAAE,IAAI;QAAEC,IAAI,EAAE;MAAU;IAAE,CAAC;IACpEC,MAAM,EAAE;EACV;AACF,CAA8B;AAE9B,eAAeV,IAAI;AAGnB,OAAO,MAAMW,IAAW,GAAG;EACzBC,IAAI,EAAE;IACJC,MAAM,EAAE;MAAEC,QAAQ,EAAE,IAAI;MAAEC,MAAM,EAAE;IA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MAAG,CAAE;MAAAT,QAAA,eACtE7B,IAAA,CAACL,aAAa;QACZgD,SAAS,EAAExC,YAAa;QACxBC,KAAK,EAAE,OAAQ;QACfwC,OAAO,EAAE;MAAK,CACf;IAAC,CACE,CAAC;EAEX;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Spinner","Box","Text","Spin","jsx","_jsx","jsxs","_jsxs","meta","id","title","component","parameters","layout","Base","args","timing","duration","easing","children","lx","width","height","backgroundColor","DurationShowcase","render","style","flexDirection","gap","alignItems","typography","color","WithSpinner","size"],"sourceRoot":"../../../../../../src","sources":["lib/Components/animations/Spin/Spin.stories.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,OAAO,QAAQ,6BAAoB;AAC5C,SAASC,GAAG,EAAEC,IAAI,QAAQ,2BAAkB;AAC5C,SAASC,IAAI,QAAQ,WAAQ;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9B,MAAMC,IAAI,GAAG;EACXC,EAAE,EAAE,cAAc;EAClBC,KAAK,EAAE,iBAAiB;EACxBC,SAAS,EAAER,IAAI;EACfS,UAAU,EAAE;IACVC,MAAM,EAAE;EACV;AACF,CAA6B;AAE7B,
|
|
1
|
+
{"version":3,"names":["View","Spinner","Box","Text","Spin","jsx","_jsx","jsxs","_jsxs","meta","id","title","component","parameters","docs","source","language","format","type","layout","Base","args","timing","duration","easing","children","lx","width","height","backgroundColor","DurationShowcase","render","style","flexDirection","gap","alignItems","typography","color","WithSpinner","size"],"sourceRoot":"../../../../../../src","sources":["lib/Components/animations/Spin/Spin.stories.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,OAAO,QAAQ,6BAAoB;AAC5C,SAASC,GAAG,EAAEC,IAAI,QAAQ,2BAAkB;AAC5C,SAASC,IAAI,QAAQ,WAAQ;AAAC,SAAAC,GAAA,IAAAC,I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IAAI,EAAE;IACJI,QAAQ,EAAE;EACZ,CAAC;EACDM,MAAM,EAAEA,CAAA,KAAM;IACZ,oBACEzB,IAAA,CAACN,IAAI;MAACgC,KAAK,EAAE;QAAEC,aAAa,EAAE,QAAQ;QAAEE,UAAU,EAAE,QAAQ;QAAED,GAAG,EAAE;MAAG,CAAE;MAAAT,QAAA,eACtEnB,IAAA,CAACL,OAAO;QAACsC,IAAI,EAAE;MAAG,CAAE;IAAC,CACjB,CAAC;EAEX;AACF,CAAC","ignoreList":[]}
|
|
@@ -8,20 +8,7 @@ const meta = {
|
|
|
8
8
|
component: AddressInput,
|
|
9
9
|
id: 'rnative-addressinput',
|
|
10
10
|
title: 'Core/AddressInput',
|
|
11
|
-
|
|
12
|
-
docs: {
|
|
13
|
-
source: {
|
|
14
|
-
language: 'tsx',
|
|
15
|
-
format: true,
|
|
16
|
-
type: 'code'
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export default meta;
|
|
22
|
-
const AddressInputStory = args => {
|
|
23
|
-
const [address, setAddress] = useState(args.value?.toString() ?? '');
|
|
24
|
-
return /*#__PURE__*/_jsx(View, {
|
|
11
|
+
decorators: [Story => /*#__PURE__*/_jsx(View, {
|
|
25
12
|
style: {
|
|
26
13
|
flex: 1,
|
|
27
14
|
minHeight: 96,
|
|
@@ -34,162 +21,168 @@ const AddressInputStory = args => {
|
|
|
34
21
|
width: '100%',
|
|
35
22
|
maxWidth: 400
|
|
36
23
|
},
|
|
37
|
-
children: /*#__PURE__*/_jsx(
|
|
38
|
-
...args,
|
|
39
|
-
value: address,
|
|
40
|
-
onChangeText: setAddress,
|
|
41
|
-
onQrCodeClick: args.onQrCodeClick ?? (() => alert('QR code scanner opened'))
|
|
42
|
-
})
|
|
24
|
+
children: /*#__PURE__*/_jsx(Story, {})
|
|
43
25
|
})
|
|
44
|
-
})
|
|
26
|
+
})],
|
|
27
|
+
parameters: {
|
|
28
|
+
docs: {
|
|
29
|
+
source: {
|
|
30
|
+
language: 'tsx',
|
|
31
|
+
format: true,
|
|
32
|
+
type: 'code'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
45
36
|
};
|
|
37
|
+
export default meta;
|
|
46
38
|
export const Base = {
|
|
47
|
-
render: args => /*#__PURE__*/_jsx(AddressInputStory, {
|
|
48
|
-
...args
|
|
49
|
-
}),
|
|
50
39
|
args: {
|
|
51
40
|
placeholder: 'Enter address or ENS',
|
|
52
41
|
prefix: 'To:',
|
|
53
42
|
editable: true,
|
|
54
|
-
hideClearButton: false
|
|
43
|
+
hideClearButton: false,
|
|
44
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
45
|
+
},
|
|
46
|
+
render: args => {
|
|
47
|
+
const [address, setAddress] = useState('');
|
|
48
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
49
|
+
...args,
|
|
50
|
+
value: address,
|
|
51
|
+
onChangeText: setAddress
|
|
52
|
+
});
|
|
55
53
|
}
|
|
56
54
|
};
|
|
57
55
|
export const WithContent = {
|
|
58
|
-
render:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
render: () => {
|
|
57
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
58
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
59
|
+
placeholder: "Enter address or ENS",
|
|
60
|
+
prefix: "To:",
|
|
61
|
+
editable: true,
|
|
62
|
+
hideClearButton: false,
|
|
63
|
+
value: address,
|
|
64
|
+
onChangeText: setAddress,
|
|
65
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
66
|
+
});
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
export const WithCustomPrefix = {
|
|
70
|
-
render:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
render: () => {
|
|
71
|
+
const [address, setAddress] = useState('');
|
|
72
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
73
|
+
placeholder: "Enter sender address",
|
|
74
|
+
prefix: "From:",
|
|
75
|
+
editable: true,
|
|
76
|
+
hideClearButton: false,
|
|
77
|
+
value: address,
|
|
78
|
+
onChangeText: setAddress,
|
|
79
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
80
|
+
});
|
|
78
81
|
}
|
|
79
82
|
};
|
|
80
|
-
const AddressInputWithoutQrStory = args => {
|
|
81
|
-
const [address, setAddress] = useState(args.value?.toString() ?? '');
|
|
82
|
-
return /*#__PURE__*/_jsx(View, {
|
|
83
|
-
style: {
|
|
84
|
-
flex: 1,
|
|
85
|
-
minHeight: 96,
|
|
86
|
-
alignItems: 'center',
|
|
87
|
-
justifyContent: 'center',
|
|
88
|
-
padding: 24
|
|
89
|
-
},
|
|
90
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
91
|
-
style: {
|
|
92
|
-
width: '100%',
|
|
93
|
-
maxWidth: 400
|
|
94
|
-
},
|
|
95
|
-
children: /*#__PURE__*/_jsx(AddressInput, {
|
|
96
|
-
...args,
|
|
97
|
-
value: address,
|
|
98
|
-
onChangeText: setAddress,
|
|
99
|
-
onQrCodeClick: undefined
|
|
100
|
-
})
|
|
101
|
-
})
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
83
|
export const WithoutQrCode = {
|
|
105
|
-
render:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
84
|
+
render: () => {
|
|
85
|
+
const [address, setAddress] = useState('');
|
|
86
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
87
|
+
placeholder: "Enter address or ENS",
|
|
88
|
+
prefix: "To:",
|
|
89
|
+
editable: true,
|
|
90
|
+
hideClearButton: false,
|
|
91
|
+
value: address,
|
|
92
|
+
onChangeText: setAddress
|
|
93
|
+
});
|
|
113
94
|
}
|
|
114
95
|
};
|
|
115
96
|
export const WithError = {
|
|
116
|
-
render:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
97
|
+
render: () => {
|
|
98
|
+
const [address, setAddress] = useState('invalid-address');
|
|
99
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
100
|
+
placeholder: "Enter address or ENS",
|
|
101
|
+
helperText: "Invalid address format",
|
|
102
|
+
status: "error",
|
|
103
|
+
prefix: "To:",
|
|
104
|
+
editable: true,
|
|
105
|
+
hideClearButton: false,
|
|
106
|
+
value: address,
|
|
107
|
+
onChangeText: setAddress,
|
|
108
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
109
|
+
});
|
|
127
110
|
}
|
|
128
111
|
};
|
|
129
112
|
export const WithMultiline = {
|
|
130
|
-
render:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
113
|
+
render: () => {
|
|
114
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
115
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
116
|
+
placeholder: "Enter address or ENS",
|
|
117
|
+
prefix: "To:",
|
|
118
|
+
multiline: true,
|
|
119
|
+
minLines: 2,
|
|
120
|
+
maxLines: 5,
|
|
121
|
+
editable: true,
|
|
122
|
+
hideClearButton: false,
|
|
123
|
+
value: address,
|
|
124
|
+
onChangeText: setAddress,
|
|
125
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
126
|
+
});
|
|
142
127
|
}
|
|
143
128
|
};
|
|
144
129
|
export const WithMultilineFixedHeight = {
|
|
145
|
-
render:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
130
|
+
render: () => {
|
|
131
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
132
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
133
|
+
placeholder: "Enter address or ENS",
|
|
134
|
+
prefix: "To:",
|
|
135
|
+
multiline: true,
|
|
136
|
+
minLines: 4,
|
|
137
|
+
maxLines: 4,
|
|
138
|
+
editable: true,
|
|
139
|
+
hideClearButton: false,
|
|
140
|
+
value: address,
|
|
141
|
+
onChangeText: setAddress,
|
|
142
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
143
|
+
});
|
|
157
144
|
}
|
|
158
145
|
};
|
|
159
146
|
export const Disabled = {
|
|
160
|
-
render:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
147
|
+
render: () => {
|
|
148
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
149
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
150
|
+
placeholder: "Enter address or ENS",
|
|
151
|
+
prefix: "To:",
|
|
152
|
+
disabled: true,
|
|
153
|
+
hideClearButton: false,
|
|
154
|
+
value: address,
|
|
155
|
+
onChangeText: setAddress,
|
|
156
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
157
|
+
});
|
|
169
158
|
}
|
|
170
159
|
};
|
|
171
160
|
export const ReadOnly = {
|
|
172
|
-
render:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
161
|
+
render: () => {
|
|
162
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
163
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
164
|
+
placeholder: "Enter address or ENS",
|
|
165
|
+
prefix: "To:",
|
|
166
|
+
readOnly: true,
|
|
167
|
+
hideClearButton: false,
|
|
168
|
+
value: address,
|
|
169
|
+
onChangeText: setAddress,
|
|
170
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
171
|
+
});
|
|
181
172
|
}
|
|
182
173
|
};
|
|
183
174
|
export const WithHiddenClearButton = {
|
|
184
|
-
render:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
175
|
+
render: () => {
|
|
176
|
+
const [address, setAddress] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
177
|
+
return /*#__PURE__*/_jsx(AddressInput, {
|
|
178
|
+
placeholder: "Enter address or ENS",
|
|
179
|
+
prefix: "To:",
|
|
180
|
+
editable: true,
|
|
181
|
+
hideClearButton: true,
|
|
182
|
+
value: address,
|
|
183
|
+
onChangeText: setAddress,
|
|
184
|
+
onQrCodeClick: () => alert('QR code scanner opened')
|
|
185
|
+
});
|
|
193
186
|
}
|
|
194
187
|
};
|
|
195
188
|
//# sourceMappingURL=AddressInput.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","View","AddressInput","jsx","_jsx","meta","component","id","title","
|
|
1
|
+
{"version":3,"names":["useState","View","AddressInput","jsx","_jsx","meta","component","id","title","decorators","Story","style","flex","minHeight","alignItems","justifyContent","padding","children","width","maxWidth","parameters","docs","source","language","format","type","Base","args","placeholder","prefix","editable","hideClearButton","onQrCodeClick","alert","render","address","setAddress","value","onChangeText","WithContent","WithCustomPrefix","WithoutQrCode","WithError","helperText","status","WithMultiline","multiline","minLines","maxLines","WithMultilineFixedHeight","Disabled","disabled","ReadOnly","readOnly","WithHiddenClearButton"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/AddressInput/AddressInput.stories.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,YAAY,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9C,MAAMC,IAAI,GAAG;EACXC,SAAS,EAAEJ,YAAY;EACvBK,EAAE,EAAE,sBAAsB;EAC1BC,KAAK,EAAE,mBAAmB;EAC1BC,UAAU,EAAE,CACTC,KAAK,iBACJN,IAAA,CAACH,IAAI;IACHU,KAAK,EAAE;MACLC,IAAI,EAAE,CAAC;MACPC,SAAS,EAAE,EAAE;MACbC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,OAAO,EAAE;IACX,CAAE;IAAAC,QAAA,eAEFb,IAAA,CAACH,IAAI;MAACU,KAAK,EAAE;QAAEO,KAAK,EAAE,MAAM;QAAEC,QAAQ,EAAE;MAAI,CAAE;MAAAF,QAAA,eAC5Cb,IAAA,CAACM,KAAK,IAAE;IAAC,CACL;EAAC,CACH,CACP,CACF;EACDU,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,MAAM,EAAE;QACNC,QAAQ,EAAE,KAAK;QACfC,MAAM,EAAE,IAAI;QACZC,IAAI,EAAE;MACR;IACF;EACF;AACF,CAAqC;AAErC,eAAepB,IAAI;AAGnB,OAAO,MAAMqB,IAAW,GAAG;EACzBC,IAAI,EAAE;IACJC,WAAW,EAAE,sBAAsB;IACnCC,MAAM,EAAE,KAAK;IACbC,QAAQ,EAAE,IAAI;IACdC,eAAe,EAAE,KAAK;IACtBC,aAAa,EAAEA,CAAA,KAAMC,KAAK,CAAC,wBAAwB;EACrD,CAAC;EACDC,MAAM,EAAGP,IAAI,IAAK;IAChB,MAAM,CAACQ,OAAO,EAAEC,UAAU,CAAC,GAAGpC,QAAQ,CAAC,EAAE,CAAC;IAE1C,oBAAOI,IAAA,CAACF,Y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AClCC,MAAM,EAAC,KAAK;MACZC,QAAQ;MACRC,eAAe;MACfM,KAAK,EAAEF,OAAQ;MACfG,YAAY,EAAEF,UAAW;MACzBJ,aAAa,EAAEA,CAAA,KAAMC,KAAK,CAAC,wBAAwB;IAAE,CACtD,CAAC;EAEN;AACF,CAAC","ignoreList":[]}
|
|
@@ -91,20 +91,25 @@ const meta = {
|
|
|
91
91
|
};
|
|
92
92
|
export default meta;
|
|
93
93
|
export const Base = {
|
|
94
|
-
args: {
|
|
95
|
-
value: 1234.56
|
|
96
|
-
},
|
|
97
94
|
parameters: {
|
|
98
95
|
docs: {
|
|
99
96
|
source: {
|
|
100
|
-
|
|
97
|
+
type: 'dynamic'
|
|
101
98
|
}
|
|
99
|
+
},
|
|
100
|
+
jsx: {
|
|
101
|
+
functionValue: fn => fn.name || '() => {}'
|
|
102
102
|
}
|
|
103
|
+
},
|
|
104
|
+
args: {
|
|
105
|
+
value: 1234.56,
|
|
106
|
+
formatter: eurFormatter
|
|
103
107
|
}
|
|
104
108
|
};
|
|
105
109
|
export const Sizes = {
|
|
106
110
|
args: {
|
|
107
|
-
value: 1234.56
|
|
111
|
+
value: 1234.56,
|
|
112
|
+
formatter: eurFormatter
|
|
108
113
|
},
|
|
109
114
|
render: props => /*#__PURE__*/_jsxs(View, {
|
|
110
115
|
style: {
|
|
@@ -169,7 +174,8 @@ export const AnimationShowcase = {
|
|
|
169
174
|
};
|
|
170
175
|
export const Loading = {
|
|
171
176
|
args: {
|
|
172
|
-
value: 1234.56
|
|
177
|
+
value: 1234.56,
|
|
178
|
+
formatter: eurFormatter
|
|
173
179
|
},
|
|
174
180
|
render: props => {
|
|
175
181
|
return /*#__PURE__*/_jsx(AmountDisplay, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useState","View","Eye","EyeCross","IconButton","AmountDisplay","jsx","_jsx","jsxs","_jsxs","usdFormatter","value","integerPart","decimalPart","toFixed","split","currencyText","decimalSeparator","currencyPosition","eurFormatter","btcFormatter","meta","component","id","title","args","formatter","hidden","animate","argTypes","options","mapping","USD","EUR","BTC","control","type","description","size","parameters","layout","backgrounds","default","docs","source","language","format","Base","
|
|
1
|
+
{"version":3,"names":["useEffect","useState","View","Eye","EyeCross","IconButton","AmountDisplay","jsx","_jsx","jsxs","_jsxs","usdFormatter","value","integerPart","decimalPart","toFixed","split","currencyText","decimalSeparator","currencyPosition","eurFormatter","btcFormatter","meta","component","id","title","args","formatter","hidden","animate","argTypes","options","mapping","USD","EUR","BTC","control","type","description","size","parameters","layout","backgrounds","default","docs","source","language","format","Base","functionValue","fn","name","Sizes","render","props","style","alignItems","gap","children","WithHideButton","setHidden","flexDirection","appearance","icon","accessibilityLabel","onPress","v","AnimationShowcase","currentValue","setCurrentValue","interval","setInterval","prev","delta","Math","random","round","clearInterval","Loading","loading"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,GAAG,EAAEC,QAAQ,QAAQ,wBAAe;AAC7C,SAASC,UAAU,QAAQ,wBAAe;AAC1C,SAASC,aAAa,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGhD,MAAMC,YAAY,GAAIC,KAAa,IAAqB;EACtD,MAAM,CAACC,WAAW,EAAEC,WAAW,CAAC,GAAGF,KAAK,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,MAAM,CAAC;EAEjE,OAAO;IACLH,WAAW;IACXC,WAAW;IACXG,YAAY,EAAE,GAAG;IACjBC,gBAAgB,EAAE,GAAG;IACrBC,gBAAgB,EAAE;EACpB,CAAC;AACH,CAAC;AAED,MAAMC,YAAY,GAAIR,KAAa,IAAqB;EACtD,MAAM,CAACC,WAAW,EAAEC,WAAW,CAAC,GAAGF,KAAK,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