@ledgerhq/lumen-ui-rnative 0.1.69 → 0.1.71
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/core/Link/Link.js +1 -1
- 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/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/Timeline/Timeline.js +81 -67
- package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
- package/dist/module/lib/Components/core/index.js +1 -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/visualization/CartesianChart/CartesianChart.js +2 -1
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js +5 -3
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js.map +1 -1
- package/dist/module/lib/Components/visualization/Line/utils.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/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.js +111 -29
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +30 -13
- package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/utils.js +16 -0
- package/dist/module/lib/Components/visualization/Scrubber/utils.js.map +1 -1
- package/dist/module/lib/Components/visualization/config.js +4 -0
- package/dist/module/lib/Components/visualization/config.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/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 +1 -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/visualization/Axis/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +5 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +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/lib/Components/visualization/Scrubber/Scrubber.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +7 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts +9 -6
- package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts +5 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/config.d.ts +4 -0
- package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +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 +17 -9
- package/src/lib/Components/core/Link/Link.tsx +1 -1
- 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/Timeline/Timeline.tsx +79 -75
- package/src/lib/Components/core/index.ts +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/visualization/Axis/types.ts +1 -1
- package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
- package/src/lib/Components/visualization/CartesianChart/types.ts +5 -1
- package/src/lib/Components/visualization/Line/utils.ts +1 -1
- package/src/lib/Components/visualization/LineChart/types.ts +3 -3
- 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.ts +1 -1
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
- package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +108 -31
- package/src/lib/Components/visualization/Scrubber/types.ts +7 -1
- package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +40 -15
- package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
- package/src/lib/Components/visualization/config.ts +4 -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/animations/Pulse/Pulse.mdx +0 -85
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -149
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
- package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -126
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -195
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -182
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -276
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -175
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -59
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
- package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
- package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -473
- package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
- package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.figma.js +0 -45
- package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.mdx +0 -167
- package/dist/module/lib/Components/core/Button/Button.stories.js +0 -276
- package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
- package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.mdx +0 -287
- package/dist/module/lib/Components/core/Card/Card.stories.js +0 -928
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
- package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -342
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -244
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -259
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
- package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
- package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -201
- package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
- package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -164
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -276
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -102
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -380
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -153
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -243
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
- package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.mdx +0 -237
- package/dist/module/lib/Components/core/Link/Link.stories.js +0 -453
- package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
- package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -856
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -176
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -180
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -213
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -90
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -184
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -136
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -176
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -93
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -117
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -204
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -278
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -128
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -207
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
- package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
- package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -223
- package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
- package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -207
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -107
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
- package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
- package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -130
- package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
- package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -172
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
- package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
- package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -180
- package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
- package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -278
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
- package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
- package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -592
- package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
- package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -259
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -289
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -234
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
- package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -238
- package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
- package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -183
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
- package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
- package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -89
- package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
- package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
- package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -46
- package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -224
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -57
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
- package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -39
- package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -278
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
- package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -316
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -188
- package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
- package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
- package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -105
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -158
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
- package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledText.test.js +0 -242
- package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledView.test.js +0 -189
- package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
- package/dist/module/styles/lx/resolveStyle.test.js +0 -633
- package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
- package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
- package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
- package/dist/module/translations/translations.test.js +0 -34
- package/dist/module/translations/translations.test.js.map +0 -1
- package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -97
- package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -70
- package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
- package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -190
- package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
- package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
- package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -277
- package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
- package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
- package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
- package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -135
- package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
- package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
- package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -58
- package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
- package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
- package/src/lib/Components/core/Banner/Banner.mdx +0 -352
- package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -512
- package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
- package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
- package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
- package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
- package/src/lib/Components/core/Button/Button.figma.tsx +0 -57
- package/src/lib/Components/core/Button/Button.mdx +0 -167
- package/src/lib/Components/core/Button/Button.stories.tsx +0 -239
- package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
- package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
- package/src/lib/Components/core/Card/Card.mdx +0 -287
- package/src/lib/Components/core/Card/Card.stories.tsx +0 -732
- package/src/lib/Components/core/Card/Card.test.tsx +0 -226
- package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
- package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -360
- package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
- package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
- package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
- package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
- package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
- package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -240
- package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -226
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
- package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
- package/src/lib/Components/core/Divider/Divider.mdx +0 -149
- package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -141
- package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
- package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
- package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -127
- package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
- package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -199
- package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
- package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
- package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
- package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -79
- package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
- package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
- package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -244
- package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
- package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
- package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
- package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -148
- package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -202
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
- package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
- package/src/lib/Components/core/Link/Link.mdx +0 -237
- package/src/lib/Components/core/Link/Link.stories.tsx +0 -448
- package/src/lib/Components/core/Link/Link.test.tsx +0 -224
- package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
- package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -649
- package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
- package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
- package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -186
- package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
- package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
- package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -156
- package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
- package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
- package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -204
- package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
- package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
- package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -90
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -122
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
- package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
- package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -126
- package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
- package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
- package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -142
- package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
- package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
- package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
- package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
- package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
- package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -79
- package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
- package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
- package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -119
- package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
- package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
- package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
- package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -206
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
- package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
- package/src/lib/Components/core/SelectList/SelectList.mdx +0 -278
- package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
- package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
- package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
- package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
- package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -90
- package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
- package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
- package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -127
- package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
- package/src/lib/Components/core/Spot/Spot.mdx +0 -113
- package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -216
- package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
- package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
- package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
- package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -115
- package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
- package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
- package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -117
- package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
- package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
- package/src/lib/Components/core/Switch/Switch.mdx +0 -149
- package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -104
- package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
- package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
- package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -154
- package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
- package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
- package/src/lib/Components/core/Tag/Tag.mdx +0 -98
- package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -118
- package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
- package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
- package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -270
- package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
- package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
- package/src/lib/Components/core/Tile/Tile.mdx +0 -252
- package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -405
- package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
- package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
- package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -199
- package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
- package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
- package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -250
- package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -275
- package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
- package/src/lib/Components/core/Toast/Toast.mdx +0 -203
- package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -260
- package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
- package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
- package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
- package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -179
- package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
- package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
- package/src/lib/Components/core/Trend/Trend.mdx +0 -104
- package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -71
- package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
- package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -148
- package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
- package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
- package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
- package/src/lib/Components/primitives/Box/Box.mdx +0 -50
- package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -48
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -176
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
- package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -52
- package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
- package/src/lib/Components/primitives/Text/Text.mdx +0 -70
- package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -40
- package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
- package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -266
- package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
- package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
- package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
- package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
- package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
- package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
- package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
- package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
- package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
- package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
- package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -331
- package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
- package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
- package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -163
- package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
- package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
- package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
- package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -104
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
- package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
- package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -176
- package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
- package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
- package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
- package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
- package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
- package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
- package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
- package/src/styles/lx/createStyledPressable.test.tsx +0 -253
- package/src/styles/lx/createStyledText.test.tsx +0 -237
- package/src/styles/lx/createStyledView.test.tsx +0 -142
- package/src/styles/lx/resolveStyle.test.tsx +0 -687
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
- package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
- package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
- package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
- package/src/translations/translations.test.ts +0 -56
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
|
|
2
|
-
import * as TabBarStories from './TabBar.stories';
|
|
3
|
-
import { TabBar } from './TabBar';
|
|
4
|
-
import { CustomTabs, Tab } from '../../../../../.storybook/components';
|
|
5
|
-
import { Box } from '../../primitives';
|
|
6
|
-
|
|
7
|
-
<Meta title='Core/TabBar' of={TabBarStories} />
|
|
8
|
-
|
|
9
|
-
# TabBar
|
|
10
|
-
|
|
11
|
-
<CustomTabs>
|
|
12
|
-
<Tab label="Overview">
|
|
13
|
-
|
|
14
|
-
## Introduction
|
|
15
|
-
|
|
16
|
-
TabBar is an animated navigation component that allows users to switch between different pages, views and sections. It features smooth transitions, blur effects, and customizable icons for each tab. Designed specifically for React Native applications, it seamlessly integrates with React Navigation and Expo Router.
|
|
17
|
-
|
|
18
|
-
> **Note:** This component uses `react-native-reanimated` for animations and `@sbaiahmed1/react-native-blur` for visual effects. These native libraries have limited support in web-based Storybook environments and may not render with full fidelity. For the complete experience with all animations and blur effects, please test the component in the native sandbox app on iOS or Android.
|
|
19
|
-
|
|
20
|
-
> View in [Figma](https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7/2.-Components-Library?node-id=10804-1045&m=dev).
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Anatomy
|
|
24
|
-
|
|
25
|
-
<Canvas of={TabBarStories.Base} />
|
|
26
|
-
|
|
27
|
-
- **Tab Items**: Individual interactive elements representing different views.
|
|
28
|
-
- **Active Indicator (Pill)**: Animated background highlighting the active tab
|
|
29
|
-
- **Icons**: Visual indicators for each tab (with active and inactive states)
|
|
30
|
-
- **Labels**: Text descriptions for each tab
|
|
31
|
-
|
|
32
|
-
## Properties
|
|
33
|
-
|
|
34
|
-
### Overview
|
|
35
|
-
|
|
36
|
-
<Canvas of={TabBarStories.Base} />
|
|
37
|
-
<Controls of={TabBarStories.Base} />
|
|
38
|
-
|
|
39
|
-
### Complex Example
|
|
40
|
-
|
|
41
|
-
Tab bar with five items, demonstrating scalability with multiple tabs:
|
|
42
|
-
|
|
43
|
-
<Canvas of={TabBarStories.Complex} />
|
|
44
|
-
|
|
45
|
-
### Fallback Behavior
|
|
46
|
-
|
|
47
|
-
When icons are not provided, the component gracefully falls back to placeholder icons. If a label isn't provided, the icon is vertically centered.
|
|
48
|
-
|
|
49
|
-
<Canvas of={TabBarStories.MissingLabel} />
|
|
50
|
-
|
|
51
|
-
## Responsive Layout
|
|
52
|
-
|
|
53
|
-
The TabBar automatically adjusts to accommodate different numbers of tabs while maintaining equal spacing and proper alignment. The animated pill indicator smoothly transitions between tabs as users switch views.
|
|
54
|
-
|
|
55
|
-
## Accessibility
|
|
56
|
-
|
|
57
|
-
- Proper accessibility roles (`tablist` and `tab`) with labels for screen readers
|
|
58
|
-
- Active state communicated through `accessibilityState` and visual indicators (bold text, icon changes)
|
|
59
|
-
- Fully pressable items with appropriate touch targets and smooth animation feedback
|
|
60
|
-
|
|
61
|
-
</Tab>
|
|
62
|
-
<Tab label="Implementation">
|
|
63
|
-
|
|
64
|
-
## Setup
|
|
65
|
-
|
|
66
|
-
Install and set up the library with our [Setup Guide →](?path=/docs/getting-started-setup--docs).
|
|
67
|
-
|
|
68
|
-
### Basic Usage
|
|
69
|
-
|
|
70
|
-
> **Recommended:** prefer the [type-safe variant](#type-safe-variant) below. It shares one literal union across `active` and every `TabBarItem.value`.
|
|
71
|
-
|
|
72
|
-
```tsx
|
|
73
|
-
import { useState } from 'react';
|
|
74
|
-
import { TabBar, TabBarItem } from '@ledgerhq/lumen-ui-rnative';
|
|
75
|
-
import { Home, Settings } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
76
|
-
|
|
77
|
-
function MyComponent() {
|
|
78
|
-
const [active, setActive] = useState('home');
|
|
79
|
-
|
|
80
|
-
return (
|
|
81
|
-
<TabBar active={active} onTabPress={setActive}>
|
|
82
|
-
<TabBarItem value='home' label='Home' icon={Home} />
|
|
83
|
-
<TabBarItem value='settings' label='Settings' icon={Settings} />
|
|
84
|
-
</TabBar>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Type-safe variant
|
|
90
|
-
|
|
91
|
-
`TabBar` and `TabBarItem` communicate via context, so TypeScript cannot connect the root's `active` to each item's `value` on its own. A typo compiles, and the wrong tab (or none) is highlighted.
|
|
92
|
-
|
|
93
|
-
`createTabBar<T>()` ties both components to one literal union. Call it once at module scope; the returned pair are typed against your `T`.
|
|
94
|
-
|
|
95
|
-
```tsx
|
|
96
|
-
import { createTabBar } from '@ledgerhq/lumen-ui-rnative';
|
|
97
|
-
import { Home, HomeFill, Settings } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
98
|
-
|
|
99
|
-
type Route = 'home' | 'swap' | 'settings';
|
|
100
|
-
|
|
101
|
-
const { TabBar, TabBarItem } = createTabBar<Route>();
|
|
102
|
-
|
|
103
|
-
function Example() {
|
|
104
|
-
const [active, setActive] = React.useState<Route>('home');
|
|
105
|
-
|
|
106
|
-
return (
|
|
107
|
-
<TabBar active={active} onTabPress={setActive}>
|
|
108
|
-
<TabBarItem value='home' label='Home' icon={Home} activeIcon={HomeFill} />
|
|
109
|
-
<TabBarItem value='swap' label='Swap' icon={Settings} />
|
|
110
|
-
<TabBarItem value='settings' label='Settings' icon={Settings} />
|
|
111
|
-
</TabBar>
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### With Active Icons
|
|
117
|
-
|
|
118
|
-
Provide different icons for active and inactive states:
|
|
119
|
-
|
|
120
|
-
```tsx
|
|
121
|
-
import { TabBar, TabBarItem } from '@ledgerhq/lumen-ui-rnative';
|
|
122
|
-
import { Home, HomeFill, Settings, SettingsFill } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
123
|
-
|
|
124
|
-
function MyComponent() {
|
|
125
|
-
const [active, setActive] = useState('home');
|
|
126
|
-
|
|
127
|
-
return (
|
|
128
|
-
<TabBar active={active} onTabPress={setActive}>
|
|
129
|
-
<TabBarItem
|
|
130
|
-
value='home'
|
|
131
|
-
label='Home'
|
|
132
|
-
icon={Home}
|
|
133
|
-
activeIcon={HomeFill}
|
|
134
|
-
/>
|
|
135
|
-
<TabBarItem
|
|
136
|
-
value='settings'
|
|
137
|
-
label='Settings'
|
|
138
|
-
icon={Settings}
|
|
139
|
-
activeIcon={SettingsFill}
|
|
140
|
-
/>
|
|
141
|
-
</TabBar>
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Integration with React Navigation
|
|
147
|
-
|
|
148
|
-
Use TabBar as a custom tab bar for React Navigation's bottom tab navigator:
|
|
149
|
-
|
|
150
|
-
```tsx
|
|
151
|
-
import { TabBar, TabBarItem } from '@ledgerhq/lumen-ui-rnative';
|
|
152
|
-
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
|
153
|
-
import { Home, Settings } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
154
|
-
|
|
155
|
-
const Tab = createBottomTabNavigator();
|
|
156
|
-
|
|
157
|
-
function MyTabs() {
|
|
158
|
-
return (
|
|
159
|
-
<Tab.Navigator
|
|
160
|
-
tabBar={({ state, navigation }) => (
|
|
161
|
-
<TabBar
|
|
162
|
-
active={state.routes[state.index].name}
|
|
163
|
-
onTabPress={(routeName) => navigation.navigate(routeName)}
|
|
164
|
-
>
|
|
165
|
-
<TabBarItem value='Home' label='Home' icon={Home} />
|
|
166
|
-
<TabBarItem value='Settings' label='Settings' icon={Settings} />
|
|
167
|
-
</TabBar>
|
|
168
|
-
)}
|
|
169
|
-
>
|
|
170
|
-
<Tab.Screen name='Home' component={HomeScreen} />
|
|
171
|
-
<Tab.Screen name='Settings' component={SettingsScreen} />
|
|
172
|
-
</Tab.Navigator>
|
|
173
|
-
);
|
|
174
|
-
}
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Integration with Expo Router
|
|
178
|
-
|
|
179
|
-
TabBar works seamlessly with Expo Router's tab layout:
|
|
180
|
-
|
|
181
|
-
```tsx
|
|
182
|
-
// app/(tabs)/_layout.tsx
|
|
183
|
-
import { TabBar, TabBarItem } from '@ledgerhq/lumen-ui-rnative';
|
|
184
|
-
import { Tabs } from 'expo-router';
|
|
185
|
-
import { Home, Profile } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
186
|
-
|
|
187
|
-
export default function TabLayout() {
|
|
188
|
-
return (
|
|
189
|
-
<Tabs
|
|
190
|
-
tabBar={({ state, navigation }) => (
|
|
191
|
-
<TabBar
|
|
192
|
-
active={state.routes[state.index].name}
|
|
193
|
-
onTabPress={(routeName) => navigation.navigate(routeName)}
|
|
194
|
-
>
|
|
195
|
-
<TabBarItem value='index' label='Home' icon={Home} />
|
|
196
|
-
<TabBarItem value='profile' label='Profile' icon={Profile} />
|
|
197
|
-
</TabBar>
|
|
198
|
-
)}
|
|
199
|
-
>
|
|
200
|
-
<Tabs.Screen name='index' />
|
|
201
|
-
<Tabs.Screen name='profile' />
|
|
202
|
-
</Tabs>
|
|
203
|
-
);
|
|
204
|
-
}
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</Tab>
|
|
209
|
-
</CustomTabs>
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { BasketPutIn, HomeFill, Settings, Placeholder, Chart1, Bell, CoinPercent, Home, LifeRing, LifeRingFill, Cart, CreditCard, CreditCardFill } from "../../symbols/index.js";
|
|
5
|
-
import { createTabBar, TabBar, TabBarItem } from "./TabBar.js";
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
const meta = {
|
|
8
|
-
id: 'rnative-tabbar',
|
|
9
|
-
title: 'Core/TabBar',
|
|
10
|
-
component: TabBar,
|
|
11
|
-
subcomponents: {
|
|
12
|
-
TabBarItem
|
|
13
|
-
},
|
|
14
|
-
parameters: {
|
|
15
|
-
layout: 'centered',
|
|
16
|
-
backgrounds: {
|
|
17
|
-
default: 'light'
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
argTypes: {
|
|
21
|
-
active: {
|
|
22
|
-
control: 'text',
|
|
23
|
-
description: 'The currently active tab value',
|
|
24
|
-
table: {
|
|
25
|
-
type: {
|
|
26
|
-
summary: 'string'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
onTabPress: {
|
|
31
|
-
action: 'tab pressed',
|
|
32
|
-
description: 'Callback function when a tab is pressed',
|
|
33
|
-
table: {
|
|
34
|
-
type: {
|
|
35
|
-
summary: '(active: string) => void'
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
children: {
|
|
40
|
-
control: false,
|
|
41
|
-
description: 'TabBarItem children',
|
|
42
|
-
table: {
|
|
43
|
-
type: {
|
|
44
|
-
summary: 'TabBarChildren'
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
export default meta;
|
|
51
|
-
export const Base = {
|
|
52
|
-
args: {},
|
|
53
|
-
render: () => {
|
|
54
|
-
const [active, setActive] = useState('home');
|
|
55
|
-
return /*#__PURE__*/_jsxs(TabBar, {
|
|
56
|
-
active: active,
|
|
57
|
-
onTabPress: setActive,
|
|
58
|
-
lx: {
|
|
59
|
-
width: 's320'
|
|
60
|
-
},
|
|
61
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
62
|
-
value: "home",
|
|
63
|
-
label: "Home",
|
|
64
|
-
icon: Home,
|
|
65
|
-
activeIcon: HomeFill
|
|
66
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
67
|
-
value: "pay",
|
|
68
|
-
label: "Pay",
|
|
69
|
-
icon: CreditCard,
|
|
70
|
-
activeIcon: CreditCardFill
|
|
71
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
72
|
-
value: "help",
|
|
73
|
-
label: "Help",
|
|
74
|
-
icon: LifeRing,
|
|
75
|
-
activeIcon: LifeRingFill
|
|
76
|
-
})]
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
export const Complex = {
|
|
81
|
-
args: {},
|
|
82
|
-
render: () => {
|
|
83
|
-
const [active, setActive] = useState('portfolio');
|
|
84
|
-
return /*#__PURE__*/_jsxs(TabBar, {
|
|
85
|
-
active: active,
|
|
86
|
-
onTabPress: setActive,
|
|
87
|
-
lx: {
|
|
88
|
-
width: 's320'
|
|
89
|
-
},
|
|
90
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
91
|
-
value: "market",
|
|
92
|
-
label: "Market",
|
|
93
|
-
icon: Chart1
|
|
94
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
95
|
-
value: "portfolio",
|
|
96
|
-
label: "Portfolio",
|
|
97
|
-
icon: CoinPercent,
|
|
98
|
-
activeIcon: CoinPercent
|
|
99
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
100
|
-
value: "shop",
|
|
101
|
-
label: "Shop",
|
|
102
|
-
icon: BasketPutIn
|
|
103
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
104
|
-
value: "notifications",
|
|
105
|
-
label: "Alerts",
|
|
106
|
-
icon: Bell
|
|
107
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
108
|
-
value: "settings",
|
|
109
|
-
label: "Settings",
|
|
110
|
-
icon: Settings
|
|
111
|
-
})]
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
export const MissingLabel = {
|
|
116
|
-
args: {},
|
|
117
|
-
render: () => {
|
|
118
|
-
const [active, setActive] = useState('tab1');
|
|
119
|
-
return /*#__PURE__*/_jsxs(TabBar, {
|
|
120
|
-
active: active,
|
|
121
|
-
onTabPress: setActive,
|
|
122
|
-
lx: {
|
|
123
|
-
width: 's320'
|
|
124
|
-
},
|
|
125
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
126
|
-
value: "tab1"
|
|
127
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
128
|
-
value: "tab2",
|
|
129
|
-
label: "Tab",
|
|
130
|
-
icon: Placeholder
|
|
131
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
132
|
-
value: "tab3",
|
|
133
|
-
icon: Cart
|
|
134
|
-
})]
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
const Nav = createTabBar();
|
|
139
|
-
export const TypesafeFactory = {
|
|
140
|
-
args: {},
|
|
141
|
-
render: () => {
|
|
142
|
-
const [active, setActive] = useState('home');
|
|
143
|
-
return /*#__PURE__*/_jsxs(Nav.TabBar, {
|
|
144
|
-
active: active,
|
|
145
|
-
onTabPress: setActive,
|
|
146
|
-
lx: {
|
|
147
|
-
width: 's320'
|
|
148
|
-
},
|
|
149
|
-
children: [/*#__PURE__*/_jsx(Nav.TabBarItem, {
|
|
150
|
-
value: "home",
|
|
151
|
-
label: "Home",
|
|
152
|
-
icon: Home,
|
|
153
|
-
activeIcon: HomeFill
|
|
154
|
-
}), /*#__PURE__*/_jsx(Nav.TabBarItem, {
|
|
155
|
-
value: "swap",
|
|
156
|
-
label: "Swap",
|
|
157
|
-
icon: CoinPercent
|
|
158
|
-
}), /*#__PURE__*/_jsx(Nav.TabBarItem, {
|
|
159
|
-
value: "card",
|
|
160
|
-
label: "Card",
|
|
161
|
-
icon: CreditCard,
|
|
162
|
-
activeIcon: CreditCardFill
|
|
163
|
-
}), /*#__PURE__*/_jsx(Nav.TabBarItem, {
|
|
164
|
-
value: "help",
|
|
165
|
-
label: "Help",
|
|
166
|
-
icon: LifeRing,
|
|
167
|
-
activeIcon: LifeRingFill
|
|
168
|
-
})]
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
//# sourceMappingURL=TabBar.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useState","BasketPutIn","HomeFill","Settings","Placeholder","Chart1","Bell","CoinPercent","Home","LifeRing","LifeRingFill","Cart","CreditCard","CreditCardFill","createTabBar","TabBar","TabBarItem","jsx","_jsx","jsxs","_jsxs","meta","id","title","component","subcomponents","parameters","layout","backgrounds","default","argTypes","active","control","description","table","type","summary","onTabPress","action","children","Base","args","render","setActive","lx","width","value","label","icon","activeIcon","Complex","MissingLabel","Nav","TypesafeFactory"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/TabBar/TabBar.stories.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACEC,WAAW,EACXC,QAAQ,EACRC,QAAQ,EACRC,WAAW,EACXC,MAAM,EACNC,IAAI,EACJC,WAAW,EACXC,IAAI,EACJC,QAAQ,EACRC,YAAY,EACZC,IAAI,EACJC,UAAU,EACVC,cAAc,QACT,wBAAe;AACtB,SAASC,YAAY,EAAEC,MAAM,EAAEC,UAAU,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE5D,MAAMC,IAAI,GAAG;EACXC,EAAE,EAAE,gBAAgB;EACpBC,KAAK,EAAE,aAAa;EACpBC,SAAS,EAAET,MAAM;EACjBU,aAAa,EAAE;IACbT;EACF,CAAC;EACDU,UAAU,EAAE;IACVC,MAAM,EAAE,UAAU;IAClBC,WAAW,EAAE;MAAEC,OAAO,EAAE;IAAQ;EAClC,CAAC;EACDC,QAAQ,EAAE;IACRC,MAAM,EAAE;MACNC,OAAO,EAAE,MAAM;MACfC,WAAW,EAAE,gCAAgC;MAC7CC,KAAK,EAAE;QACLC,IAAI,EAAE;UAAEC,OAAO,EAAE;QAAS;MAC5B;IACF,CAAC;IACDC,UAAU,EAAE;MACVC,MAAM,EAAE,aAAa;MACrBL,WAAW,EAAE,yCAAyC;MACtDC,KAAK,EAAE;QACLC,IAAI,EAAE;UAAEC,OAAO,EAAE;QAA2B;MAC9C;IACF,CAAC;IACDG,QAAQ,EAAE;MACRP,OAAO,EAAE,KAAK;MACdC,WAAW,EAAE,qBAAqB;MAClCC,KAAK,EAAE;QACLC,IAAI,EAAE;UAAEC,OAAO,EAAE;QAAiB;MACpC;IACF;EACF;AACF,CAA+B;AAE/B,eAAef,IAAI;AAGnB,OAAO,MAAMmB,IAAW,GAAG;EACzBC,IAAI,EAAE,CAAC,CAAwC;EAC/CC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACX,MAAM,EAAEY,SAAS,CAAC,GAAG3C,QAAQ,CAAC,MAAM,CAAC;IAC5C,oBACEoB,KAAA,CAACL,MAAM;MAACgB,MAAM,EAAEA,MAAO;MAACM,UAAU,EAAEM,SAAU;MAACC,EAAE,EAAE;QAAEC,KAAK,EAAE;MAAO,CAAE;MAAAN,QAAA,gBACnErB,IAAA,CAACF,UAAU;QACT8B,KAAK,EAAC,MAAM;QACZC,KAAK,EAAC,MAAM;QACZC,IAAI,EAAExC,IAAK;QACXyC,UAAU,EAAE/C;MAAS,CACtB,CAAC,eACFgB,IAAA,CAACF,UAAU;QACT8B,KAAK,EAAC,KAAK;QACXC,KAAK,EAAC,KAAK;QACXC,IAAI,EAAEpC,UAAW;QACjBqC,UAAU,EAAEpC;MAAe,CAC5B,CAAC,eACFK,IAAA,CAACF,UAAU;QACT8B,KAAK,EAAC,MAAM;QACZC,KAAK,EAAC,MAAM;QACZC,IAAI,EAAEvC,QAAS;QACfwC,UAAU,EAAEvC;MAAa,CAC1B,CAAC;IAAA,CACI,CAAC;EAEb;AACF,CAAC;AAED,OAAO,MAAMwC,OAAc,GAAG;EAC5BT,IAAI,EAAE,CAAC,CAAwC;EAC/CC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACX,MAAM,EAAEY,SAAS,CAAC,GAAG3C,QAAQ,CAAC,WAAW,CAAC;IACjD,oBACEoB,KAAA,CAACL,MAAM;MAACgB,MAAM,EAAEA,MAAO;MAACM,UAAU,EAAEM,SAAU;MAACC,EAAE,EAAE;QAAEC,KAAK,EAAE;MAAO,CAAE;MAAAN,QAAA,gBACnErB,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,QAAQ;QAACC,KAAK,EAAC,QAAQ;QAACC,IAAI,EAAE3C;MAAO,CAAE,CAAC,eAC1Da,IAAA,CAACF,UAAU;QACT8B,KAAK,EAAC,WAAW;QACjBC,KAAK,EAAC,WAAW;QACjBC,IAAI,EAAEzC,WAAY;QAClB0C,UAAU,EAAE1C;MAAY,CACzB,CAAC,eACFW,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,MAAM;QAACC,KAAK,EAAC,MAAM;QAACC,IAAI,EAAE/C;MAAY,CAAE,CAAC,eAC3DiB,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,eAAe;QAACC,KAAK,EAAC,QAAQ;QAACC,IAAI,EAAE1C;MAAK,CAAE,CAAC,eAC/DY,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,UAAU;QAACC,KAAK,EAAC,UAAU;QAACC,IAAI,EAAE7C;MAAS,CAAE,CAAC;IAAA,CAC1D,CAAC;EAEb;AACF,CAAC;AAED,OAAO,MAAMgD,YAAmB,GAAG;EACjCV,IAAI,EAAE,CAAC,CAAwC;EAC/CC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACX,MAAM,EAAEY,SAAS,CAAC,GAAG3C,QAAQ,CAAC,MAAM,CAAC;IAC5C,oBACEoB,KAAA,CAACL,MAAM;MAACgB,MAAM,EAAEA,MAAO;MAACM,UAAU,EAAEM,SAAU;MAACC,EAAE,EAAE;QAAEC,KAAK,EAAE;MAAO,CAAE;MAAAN,QAAA,gBACnErB,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC;MAAM,CAAE,CAAC,eAC3B5B,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,MAAM;QAACC,KAAK,EAAC,KAAK;QAACC,IAAI,EAAE5C;MAAY,CAAE,CAAC,eAC1Dc,IAAA,CAACF,UAAU;QAAC8B,KAAK,EAAC,MAAM;QAACE,IAAI,EAAErC;MAAK,CAAE,CAAC;IAAA,CACjC,CAAC;EAEb;AACF,CAAC;AAGD,MAAMyC,GAAG,GAAGtC,YAAY,CAAQ,CAAC;AAEjC,OAAO,MAAMuC,eAAsB,GAAG;EACpCZ,IAAI,EAAE,CAAC,CAAwC;EAC/CC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACX,MAAM,EAAEY,SAAS,CAAC,GAAG3C,QAAQ,CAAQ,MAAM,CAAC;IACnD,oBACEoB,KAAA,CAACgC,GAAG,CAACrC,MAAM;MAACgB,MAAM,EAAEA,MAAO;MAACM,UAAU,EAAEM,SAAU;MAACC,EAAE,EAAE;QAAEC,KAAK,EAAE;MAAO,CAAE;MAAAN,QAAA,gBACvErB,IAAA,CAACkC,GAAG,CAACpC,UAAU;QACb8B,KAAK,EAAC,MAAM;QACZC,KAAK,EAAC,MAAM;QACZC,IAAI,EAAExC,IAAK;QACXyC,UAAU,EAAE/C;MAAS,CACtB,CAAC,eACFgB,IAAA,CAACkC,GAAG,CAACpC,UAAU;QAAC8B,KAAK,EAAC,MAAM;QAACC,KAAK,EAAC,MAAM;QAACC,IAAI,EAAEzC;MAAY,CAAE,CAAC,eAC/DW,IAAA,CAACkC,GAAG,CAACpC,UAAU;QACb8B,KAAK,EAAC,MAAM;QACZC,KAAK,EAAC,MAAM;QACZC,IAAI,EAAEpC,UAAW;QACjBqC,UAAU,EAAEpC;MAAe,CAC5B,CAAC,eACFK,IAAA,CAACkC,GAAG,CAACpC,UAAU;QACb8B,KAAK,EAAC,MAAM;QACZC,KAAK,EAAC,MAAM;QACZC,IAAI,EAAEvC,QAAS;QACfwC,UAAU,EAAEvC;MAAa,CAC1B,CAAC;IAAA,CACQ,CAAC;EAEjB;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, it, expect, jest } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { render, fireEvent } from '@testing-library/react-native';
|
|
6
|
-
import { HomeFill, Settings, BasketPutIn } from "../../symbols/index.js";
|
|
7
|
-
import { ThemeProvider } from "../ThemeProvider/ThemeProvider.js";
|
|
8
|
-
import { TabBar, TabBarItem, createTabBar } from "./TabBar.js";
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
const renderWithProvider = component => {
|
|
11
|
-
return render(/*#__PURE__*/_jsx(ThemeProvider, {
|
|
12
|
-
themes: ledgerLiveThemes,
|
|
13
|
-
colorScheme: "dark",
|
|
14
|
-
locale: "en",
|
|
15
|
-
children: component
|
|
16
|
-
}));
|
|
17
|
-
};
|
|
18
|
-
describe('TabBar', () => {
|
|
19
|
-
it('should render tab items with labels', () => {
|
|
20
|
-
const onTabPress = jest.fn();
|
|
21
|
-
const {
|
|
22
|
-
getByText
|
|
23
|
-
} = renderWithProvider(/*#__PURE__*/_jsxs(TabBar, {
|
|
24
|
-
active: "home",
|
|
25
|
-
onTabPress: onTabPress,
|
|
26
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
27
|
-
value: "home",
|
|
28
|
-
label: "Home",
|
|
29
|
-
icon: HomeFill
|
|
30
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
31
|
-
value: "settings",
|
|
32
|
-
label: "Settings",
|
|
33
|
-
icon: Settings
|
|
34
|
-
})]
|
|
35
|
-
}));
|
|
36
|
-
expect(getByText('Home')).toBeTruthy();
|
|
37
|
-
expect(getByText('Settings')).toBeTruthy();
|
|
38
|
-
});
|
|
39
|
-
it('should call onTabPress when tab is pressed', () => {
|
|
40
|
-
const onTabPress = jest.fn();
|
|
41
|
-
const {
|
|
42
|
-
getByText
|
|
43
|
-
} = renderWithProvider(/*#__PURE__*/_jsxs(TabBar, {
|
|
44
|
-
active: "home",
|
|
45
|
-
onTabPress: onTabPress,
|
|
46
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
47
|
-
value: "home",
|
|
48
|
-
label: "Home",
|
|
49
|
-
icon: HomeFill
|
|
50
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
51
|
-
value: "settings",
|
|
52
|
-
label: "Settings",
|
|
53
|
-
icon: Settings
|
|
54
|
-
})]
|
|
55
|
-
}));
|
|
56
|
-
fireEvent.press(getByText('Settings'));
|
|
57
|
-
expect(onTabPress).toHaveBeenCalledWith('settings');
|
|
58
|
-
});
|
|
59
|
-
it('should render multiple tabs correctly', () => {
|
|
60
|
-
const onTabPress = jest.fn();
|
|
61
|
-
const {
|
|
62
|
-
getByText
|
|
63
|
-
} = renderWithProvider(/*#__PURE__*/_jsxs(TabBar, {
|
|
64
|
-
active: "home",
|
|
65
|
-
onTabPress: onTabPress,
|
|
66
|
-
children: [/*#__PURE__*/_jsx(TabBarItem, {
|
|
67
|
-
value: "home",
|
|
68
|
-
label: "Home",
|
|
69
|
-
icon: HomeFill
|
|
70
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
71
|
-
value: "shop",
|
|
72
|
-
label: "Shop",
|
|
73
|
-
icon: BasketPutIn
|
|
74
|
-
}), /*#__PURE__*/_jsx(TabBarItem, {
|
|
75
|
-
value: "settings",
|
|
76
|
-
label: "Settings",
|
|
77
|
-
icon: Settings
|
|
78
|
-
})]
|
|
79
|
-
}));
|
|
80
|
-
expect(getByText('Home')).toBeTruthy();
|
|
81
|
-
expect(getByText('Shop')).toBeTruthy();
|
|
82
|
-
expect(getByText('Settings')).toBeTruthy();
|
|
83
|
-
});
|
|
84
|
-
describe('createTabBar', () => {
|
|
85
|
-
it('returns typed components that render and respond to presses', () => {
|
|
86
|
-
const {
|
|
87
|
-
TabBar: TypedTabBar,
|
|
88
|
-
TabBarItem: TypedItem
|
|
89
|
-
} = createTabBar();
|
|
90
|
-
const onTabPress = jest.fn();
|
|
91
|
-
const {
|
|
92
|
-
getByText
|
|
93
|
-
} = renderWithProvider(/*#__PURE__*/_jsxs(TypedTabBar, {
|
|
94
|
-
active: "home",
|
|
95
|
-
onTabPress: onTabPress,
|
|
96
|
-
children: [/*#__PURE__*/_jsx(TypedItem, {
|
|
97
|
-
value: "home",
|
|
98
|
-
label: "Home",
|
|
99
|
-
icon: HomeFill
|
|
100
|
-
}), /*#__PURE__*/_jsx(TypedItem, {
|
|
101
|
-
value: "settings",
|
|
102
|
-
label: "Settings",
|
|
103
|
-
icon: Settings
|
|
104
|
-
})]
|
|
105
|
-
}));
|
|
106
|
-
expect(getByText('Home')).toBeTruthy();
|
|
107
|
-
fireEvent.press(getByText('Settings'));
|
|
108
|
-
expect(onTabPress).toHaveBeenCalledWith('settings');
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
//# sourceMappingURL=TabBar.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","it","expect","jest","ledgerLiveThemes","render","fireEvent","HomeFill","Settings","BasketPutIn","ThemeProvider","TabBar","TabBarItem","createTabBar","jsx","_jsx","jsxs","_jsxs","renderWithProvider","component","themes","colorScheme","locale","children","onTabPress","fn","getByText","active","value","label","icon","toBeTruthy","press","toHaveBeenCalledWith","TypedTabBar","TypedItem"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/TabBar/TabBar.test.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import figma from '@figma/code-connect';
|
|
4
|
-
import { Placeholder } from "../../symbols/index.js";
|
|
5
|
-
import { Tag } from "./Tag.js";
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
figma.connect(Tag, 'https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=722%3A5547', {
|
|
8
|
-
imports: ["import { Tag } from '@ledgerhq/lumen-ui-rnative'", "import { Placeholder } from '@ledgerhq/lumen-ui-rnative/symbols'"],
|
|
9
|
-
props: {
|
|
10
|
-
label: figma.string('label'),
|
|
11
|
-
appearance: figma.enum('appearance', {
|
|
12
|
-
base: 'base',
|
|
13
|
-
gray: 'gray',
|
|
14
|
-
accent: 'accent',
|
|
15
|
-
'accent-subtle': 'accent-subtle',
|
|
16
|
-
success: 'success',
|
|
17
|
-
error: 'error',
|
|
18
|
-
warning: 'warning',
|
|
19
|
-
white: 'white'
|
|
20
|
-
}),
|
|
21
|
-
size: figma.enum('size', {
|
|
22
|
-
md: 'md',
|
|
23
|
-
sm: 'sm'
|
|
24
|
-
}),
|
|
25
|
-
icon: figma.boolean('show-icon', {
|
|
26
|
-
true: Placeholder,
|
|
27
|
-
false: undefined
|
|
28
|
-
}),
|
|
29
|
-
disabled: figma.enum('appearance', {
|
|
30
|
-
disabled: true
|
|
31
|
-
})
|
|
32
|
-
},
|
|
33
|
-
example: props => /*#__PURE__*/_jsx(Tag, {
|
|
34
|
-
disabled: props.disabled,
|
|
35
|
-
label: props.label,
|
|
36
|
-
appearance: props.appearance,
|
|
37
|
-
size: props.size,
|
|
38
|
-
icon: props.icon
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=Tag.figma.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["figma","Placeholder","Tag","jsx","_jsx","connect","imports","props","label","string","appearance","enum","base","gray","accent","success","error","warning","white","size","md","sm","icon","boolean","true","false","undefined","disabled","example"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/Tag/Tag.figma.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,qBAAqB;AACvC,SAASC,WAAW,QAAQ,wBAAe;AAC3C,SAASC,GAAG,QAAQ,UAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG5BJ,KAAK,CAACK,OAAO,CACXH,GAAG,EACH,wEAAwE,EACxE;EACEI,OAAO,EAAE,CACP,kDAAkD,EAClD,kEAAkE,CACnE;EACDC,KAAK,EAAE;IACLC,KAAK,EAAER,KAAK,CAACS,MAAM,CAAC,OAAO,CAAC;IAC5BC,UAAU,EAAEV,KAAK,CAACW,IAAI,CAAC,YAAY,EAAE;MACnCC,IAAI,EAAE,MAAM;MACZC,IAAI,EAAE,MAAM;MACZC,MAAM,EAAE,QAAQ;MAChB,eAAe,EAAE,eAAe;MAChCC,OAAO,EAAE,SAAS;MAClBC,KAAK,EAAE,OAAO;MACdC,OAAO,EAAE,SAAS;MAClBC,KAAK,EAAE;IACT,CAAC,CAAC;IACFC,IAAI,EAAEnB,KAAK,CAACW,IAAI,CAAC,MAAM,EAAE;MACvBS,EAAE,EAAE,IAAI;MACRC,EAAE,EAAE;IACN,CAAC,CAAC;IACFC,IAAI,EAAEtB,KAAK,CAACuB,OAAO,CAAC,WAAW,EAAE;MAC/BC,IAAI,EAAEvB,WAAW;MACjBwB,KAAK,EAAEC;IACT,CAAC,CAAC;IACFC,QAAQ,EAAE3B,KAAK,CAACW,IAAI,CAAC,YAAY,EAAE;MACjCgB,QAAQ,EAAE;IACZ,CAAC;EACH,CAAC;EACDC,OAAO,EACLrB,KAEC,iBAEDH,IAAA,CAACF,GAAG;IACFyB,QAAQ,EAAEpB,KAAK,CAACoB,QAAS;IACzBnB,KAAK,EAAED,KAAK,CAACC,KAAM;IACnBE,UAAU,EAAEH,KAAK,CAACG,UAAW;IAC7BS,IAAI,EAAEZ,KAAK,CAACY,IAAK;IACjBG,IAAI,EAAEf,KAAK,CAACe;EAAK,CAClB;AAEL,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
|
|
2
|
-
import * as TagStories from './Tag.stories';
|
|
3
|
-
import { CustomTabs, Tab } from '../../../../../.storybook/components';
|
|
4
|
-
import { Box } from '../../primitives/Box';
|
|
5
|
-
|
|
6
|
-
<Meta title='Core/Tag' of={TagStories} />
|
|
7
|
-
|
|
8
|
-
# Tag
|
|
9
|
-
|
|
10
|
-
<CustomTabs>
|
|
11
|
-
<Tab label="Overview">
|
|
12
|
-
|
|
13
|
-
View in [Figma](https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7/2.-Components-Library?node-id=722-5547&m=dev)
|
|
14
|
-
|
|
15
|
-
## Anatomy
|
|
16
|
-
|
|
17
|
-
- **Label:** The text content of the tag.
|
|
18
|
-
- **Icon (optional):** An optional icon displayed before the label.
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### Overview
|
|
23
|
-
|
|
24
|
-
<Canvas of={TagStories.Base} />
|
|
25
|
-
<Controls of={TagStories.Base} />
|
|
26
|
-
|
|
27
|
-
### Appearance
|
|
28
|
-
|
|
29
|
-
<Canvas of={TagStories.AppearanceShowcase} />
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
### Size
|
|
34
|
-
|
|
35
|
-
Tags come in two different sizes:
|
|
36
|
-
|
|
37
|
-
- **md** (default)
|
|
38
|
-
- **sm**
|
|
39
|
-
|
|
40
|
-
<Canvas of={TagStories.SizeShowcase} />
|
|
41
|
-
|
|
42
|
-
### Icon
|
|
43
|
-
|
|
44
|
-
Tags can be displayed with or without an icon.
|
|
45
|
-
|
|
46
|
-
<Canvas of={TagStories.ContentTypeShowcase} />
|
|
47
|
-
|
|
48
|
-
### Truncation
|
|
49
|
-
|
|
50
|
-
When a tag's label exceeds the available space, the text is automatically truncated with an ellipsis.
|
|
51
|
-
|
|
52
|
-
<Canvas of={TagStories.TruncateShowcase} />
|
|
53
|
-
|
|
54
|
-
</Tab>
|
|
55
|
-
<Tab label="Implementation">
|
|
56
|
-
|
|
57
|
-
## Setup
|
|
58
|
-
|
|
59
|
-
Install and set up the library with our [Setup Guide →](?path=/docs/getting-started-setup--docs).
|
|
60
|
-
|
|
61
|
-
### Basic Usage
|
|
62
|
-
|
|
63
|
-
```tsx
|
|
64
|
-
import { Tag } from '@ledgerhq/lumen-ui-rnative';
|
|
65
|
-
|
|
66
|
-
function MyComponent() {
|
|
67
|
-
return <Tag size="md" appearance="accent" label="My Tag" />;
|
|
68
|
-
}
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Custom Styling
|
|
72
|
-
|
|
73
|
-
While the component comes with predefined styles, you can extend them using the `lx` prop for layout adjustments:
|
|
74
|
-
|
|
75
|
-
```tsx
|
|
76
|
-
<Tag
|
|
77
|
-
size="md"
|
|
78
|
-
appearance="accent"
|
|
79
|
-
label="Custom Tag"
|
|
80
|
-
lx={{ marginTop: 's4' }}
|
|
81
|
-
/>
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### With Icons
|
|
85
|
-
|
|
86
|
-
The Tag component supports icons with automatic size adjustment based on the tag size:
|
|
87
|
-
|
|
88
|
-
```tsx
|
|
89
|
-
import { Tag } from '@ledgerhq/lumen-ui-rnative';
|
|
90
|
-
import { Check } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
91
|
-
|
|
92
|
-
function MyComponent() {
|
|
93
|
-
return <Tag size="md" appearance="success" icon={Check} label="Success" />;
|
|
94
|
-
}
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
</Tab>
|
|
98
|
-
</CustomTabs>
|