@ledgerhq/lumen-ui-rnative 0.1.65 → 0.1.67
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/index.js +1 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.js +1 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.js.map +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js.map +1 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.js +1 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.js +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.js.map +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.js +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.js.map +1 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +6 -3
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +1 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js +1 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js +0 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.stories.js +0 -2
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js +2 -2
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js.map +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +4 -4
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +1 -9
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -5
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +1 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +1 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.js +1 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.mdx +10 -10
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +2 -29
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js.map +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js.map +1 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.js +1 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.js.map +1 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.mdx +1 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.js +1 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.figma.js +31 -16
- package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.js +24 -146
- package/dist/module/lib/Components/core/Spot/Spot.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.mdx +47 -108
- package/dist/module/lib/Components/core/Spot/Spot.stories.js +108 -215
- package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.test.js +61 -0
- package/dist/module/lib/Components/core/Spot/Spot.test.js.map +1 -0
- package/dist/module/lib/Components/core/Spot/SpotNumber.js +56 -0
- package/dist/module/lib/Components/core/Spot/SpotNumber.js.map +1 -0
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +72 -0
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +1 -0
- package/dist/module/lib/Components/core/Spot/index.js +1 -0
- package/dist/module/lib/Components/core/Spot/index.js.map +1 -1
- package/dist/module/lib/Components/core/Spot/useSpotStyles.js +93 -0
- package/dist/module/lib/Components/core/Spot/useSpotStyles.js.map +1 -0
- package/dist/module/lib/Components/core/Stepper/Stepper.js +1 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.js.map +1 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.js +5 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.js.map +1 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js +2 -2
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +9 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +1 -1
- package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +1 -1
- package/dist/module/lib/Components/core/Tile/Tile.js +3 -3
- package/dist/module/lib/Components/core/Tile/Tile.mdx +8 -8
- package/dist/module/lib/Components/core/Tile/Tile.stories.js +7 -25
- package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js +1 -1
- package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js.map +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.js +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInput.js +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/AiBubble.js +60 -0
- package/dist/module/lib/Components/symbols/icons/AiBubble.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/ArrowBottomLeft.js +49 -0
- package/dist/module/lib/Components/symbols/icons/ArrowBottomLeft.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Bug.js +1 -1
- package/dist/module/lib/Components/symbols/icons/Bug.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Hourglass.js +49 -0
- package/dist/module/lib/Components/symbols/icons/Hourglass.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Repeat.js +49 -0
- package/dist/module/lib/Components/symbols/icons/Repeat.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Robot.js +57 -0
- package/dist/module/lib/Components/symbols/icons/Robot.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Switch.js +11 -5
- package/dist/module/lib/Components/symbols/icons/Switch.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Wifi.js +52 -0
- package/dist/module/lib/Components/symbols/icons/Wifi.js.map +1 -0
- package/dist/module/lib/Components/symbols/index.js +6 -0
- package/dist/module/lib/Components/symbols/index.js.map +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +6 -2
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js +8 -4
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js +12 -3
- package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js.map +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.js +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.js.map +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js +12 -8
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.js +8 -2
- package/dist/module/lib/Components/visualization/LineChart/LineChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.js +3 -2
- package/dist/module/lib/Components/visualization/LineChart/utils.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js +8 -4
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/config.js +1 -4
- package/dist/module/lib/Components/visualization/config.js.map +1 -1
- package/dist/module/translations/index.js +5 -0
- package/dist/module/translations/index.js.map +1 -0
- package/dist/module/{i18n → translations}/languages.js +0 -6
- package/dist/module/translations/languages.js.map +1 -0
- package/dist/module/{i18n → translations}/locales/de.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/en.json +9 -3
- package/{src/i18n → dist/module/translations}/locales/es.json +0 -3
- package/dist/module/{i18n → translations}/locales/fr.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/ja.json +0 -3
- package/dist/module/{i18n → translations}/locales/ko.json +0 -3
- package/dist/module/{i18n → translations}/locales/pt.json +0 -3
- package/dist/module/{i18n → translations}/locales/ru.json +0 -3
- package/dist/module/{i18n → translations}/locales/th.json +0 -3
- package/dist/module/{i18n → translations}/locales/tr.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/zh.json +0 -3
- package/dist/module/translations/translations.js +36 -0
- package/dist/module/translations/translations.js.map +1 -0
- package/dist/module/translations/translations.test.js +34 -0
- package/dist/module/translations/translations.test.js.map +1 -0
- package/dist/typescript/src/index.d.ts +1 -1
- package/dist/typescript/src/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ContentBanner/ContentBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/ListItem/ListItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts +7 -25
- package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts +16 -0
- package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Spot/index.d.ts +1 -0
- package/dist/typescript/src/lib/Components/core/Spot/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/types.d.ts +29 -29
- package/dist/typescript/src/lib/Components/core/Spot/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/useSpotStyles.d.ts +14 -0
- package/dist/typescript/src/lib/Components/core/Spot/useSpotStyles.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tile/Tile.d.ts +3 -3
- package/dist/typescript/src/lib/Components/symbols/icons/AiBubble.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/AiBubble.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/ArrowBottomLeft.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/ArrowBottomLeft.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Hourglass.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Hourglass.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Repeat.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Repeat.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Robot.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Robot.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/Wifi.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Wifi.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts +6 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts +2 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/config.d.ts +0 -3
- package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
- package/dist/typescript/src/translations/index.d.ts +3 -0
- package/dist/typescript/src/translations/index.d.ts.map +1 -0
- package/dist/typescript/src/{i18n → translations}/languages.d.ts +0 -5
- package/dist/typescript/src/translations/languages.d.ts.map +1 -0
- package/dist/typescript/src/translations/translations.d.ts +421 -0
- package/dist/typescript/src/translations/translations.d.ts.map +1 -0
- package/package.json +4 -6
- package/src/index.ts +1 -1
- package/src/lib/Components/core/AddressInput/AddressInput.tsx +1 -1
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.tsx +1 -1
- package/src/lib/Components/core/AmountInput/AmountInput.tsx +1 -1
- package/src/lib/Components/core/Avatar/Avatar.tsx +1 -1
- package/src/lib/Components/core/Banner/Banner.tsx +1 -1
- package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +12 -4
- package/src/lib/Components/core/BottomSheet/BottomSheetHeader.tsx +1 -1
- package/src/lib/Components/core/Card/Card.figma.tsx +1 -1
- package/src/lib/Components/core/Card/Card.stories.tsx +2 -2
- package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +1 -1
- package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +4 -4
- package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +9 -9
- package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +1 -1
- package/src/lib/Components/core/ContentBanner/ContentBanner.tsx +2 -2
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +5 -5
- package/src/lib/Components/core/ListItem/ListItem.figma.tsx +1 -1
- package/src/lib/Components/core/ListItem/ListItem.mdx +10 -10
- package/src/lib/Components/core/ListItem/ListItem.stories.tsx +29 -33
- package/src/lib/Components/core/ListItem/ListItem.tsx +1 -1
- package/src/lib/Components/core/MediaBanner/MediaBanner.tsx +1 -1
- package/src/lib/Components/core/MediaCard/MediaCard.tsx +1 -1
- package/src/lib/Components/core/NavBar/NavBar.tsx +1 -1
- package/src/lib/Components/core/SelectList/SelectList.mdx +1 -1
- package/src/lib/Components/core/SelectList/SelectList.stories.tsx +1 -1
- package/src/lib/Components/core/Spinner/Spinner.tsx +1 -1
- package/src/lib/Components/core/Spot/Spot.figma.tsx +42 -21
- package/src/lib/Components/core/Spot/Spot.mdx +47 -108
- package/src/lib/Components/core/Spot/Spot.stories.tsx +114 -175
- package/src/lib/Components/core/Spot/Spot.test.tsx +71 -0
- package/src/lib/Components/core/Spot/Spot.tsx +21 -163
- package/src/lib/Components/core/Spot/SpotNumber.test.tsx +93 -0
- package/src/lib/Components/core/Spot/SpotNumber.tsx +48 -0
- package/src/lib/Components/core/Spot/index.ts +1 -0
- package/src/lib/Components/core/Spot/types.ts +39 -41
- package/src/lib/Components/core/Spot/useSpotStyles.ts +119 -0
- package/src/lib/Components/core/Stepper/Stepper.tsx +1 -1
- package/src/lib/Components/core/Subheader/Subheader.tsx +3 -1
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +12 -1
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.tsx +3 -3
- package/src/lib/Components/core/ThemeProvider/types.ts +1 -1
- package/src/lib/Components/core/Tile/Tile.figma.tsx +1 -1
- package/src/lib/Components/core/Tile/Tile.mdx +8 -8
- package/src/lib/Components/core/Tile/Tile.stories.tsx +32 -25
- package/src/lib/Components/core/Tile/Tile.tsx +3 -3
- package/src/lib/Components/core/Toast/hooks/useToastAccessibility.ts +1 -1
- package/src/lib/Components/core/Trend/Trend.tsx +1 -1
- package/src/lib/Components/internal/BaseInput/BaseInput.tsx +1 -1
- package/src/lib/Components/symbols/icons/AiBubble.tsx +51 -0
- package/src/lib/Components/symbols/icons/ArrowBottomLeft.tsx +44 -0
- package/src/lib/Components/symbols/icons/Bug.tsx +1 -1
- package/src/lib/Components/symbols/icons/Hourglass.tsx +44 -0
- package/src/lib/Components/symbols/icons/Repeat.tsx +44 -0
- package/src/lib/Components/symbols/icons/Robot.tsx +44 -0
- package/src/lib/Components/symbols/icons/Switch.tsx +8 -1
- package/src/lib/Components/symbols/icons/Wifi.tsx +48 -0
- package/src/lib/Components/symbols/index.ts +6 -0
- package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +4 -2
- package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -3
- package/src/lib/Components/visualization/DonutChart/DonutChart.tsx +7 -3
- package/src/lib/Components/visualization/DonutChart/DonutRing.tsx +11 -1
- package/src/lib/Components/visualization/DonutChart/types.ts +1 -1
- package/src/lib/Components/visualization/Legend/Legend.test.tsx +9 -8
- package/src/lib/Components/visualization/Legend/Legend.tsx +1 -1
- package/src/lib/Components/visualization/Legend/types.ts +2 -2
- package/src/lib/Components/visualization/LineChart/LineChart.tsx +10 -2
- package/src/lib/Components/visualization/LineChart/types.ts +1 -1
- package/src/lib/Components/visualization/LineChart/utils.test.ts +4 -0
- package/src/lib/Components/visualization/LineChart/utils.ts +6 -2
- package/src/lib/Components/visualization/config.ts +0 -3
- package/src/translations/index.ts +2 -0
- package/src/{i18n → translations}/languages.ts +0 -6
- package/src/{i18n → translations}/locales/de.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/en.json +9 -3
- package/{dist/module/i18n → src/translations}/locales/es.json +0 -3
- package/src/{i18n → translations}/locales/fr.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/ja.json +0 -3
- package/src/{i18n → translations}/locales/ko.json +0 -3
- package/src/{i18n → translations}/locales/pt.json +0 -3
- package/src/{i18n → translations}/locales/ru.json +0 -3
- package/src/{i18n → translations}/locales/th.json +0 -3
- package/src/{i18n → translations}/locales/tr.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/zh.json +0 -3
- package/src/translations/translations.test.ts +56 -0
- package/src/translations/translations.ts +21 -0
- package/dist/module/i18n/I18nProvider.js +0 -20
- package/dist/module/i18n/I18nProvider.js.map +0 -1
- package/dist/module/i18n/i18n.js +0 -82
- package/dist/module/i18n/i18n.js.map +0 -1
- package/dist/module/i18n/index.js +0 -6
- package/dist/module/i18n/index.js.map +0 -1
- package/dist/module/i18n/languages.js.map +0 -1
- package/dist/module/i18n/useCommonTranslation.js +0 -8
- package/dist/module/i18n/useCommonTranslation.js.map +0 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts +0 -8
- package/dist/typescript/src/i18n/I18nProvider.d.ts.map +0 -1
- package/dist/typescript/src/i18n/i18n.d.ts +0 -13
- package/dist/typescript/src/i18n/i18n.d.ts.map +0 -1
- package/dist/typescript/src/i18n/index.d.ts +0 -4
- package/dist/typescript/src/i18n/index.d.ts.map +0 -1
- package/dist/typescript/src/i18n/languages.d.ts.map +0 -1
- package/dist/typescript/src/i18n/useCommonTranslation.d.ts +0 -2
- package/dist/typescript/src/i18n/useCommonTranslation.d.ts.map +0 -1
- package/src/i18n/I18nProvider.tsx +0 -20
- package/src/i18n/i18n.ts +0 -107
- package/src/i18n/index.ts +0 -3
- package/src/i18n/useCommonTranslation.ts +0 -6
|
@@ -34,7 +34,7 @@ const sharedProps = {
|
|
|
34
34
|
}),
|
|
35
35
|
leadingContent: figma.enum('leading-icon', {
|
|
36
36
|
coin: <CryptoIcon ledgerId='bitcoin' ticker='BTC' size={48} />,
|
|
37
|
-
spot: <Spot
|
|
37
|
+
spot: <Spot icon={Settings} />,
|
|
38
38
|
'interface-icon': <Placeholder size={24} />,
|
|
39
39
|
}),
|
|
40
40
|
};
|
|
@@ -104,7 +104,7 @@ function MyComponent() {
|
|
|
104
104
|
onPress={() => console.log('Primary action')}
|
|
105
105
|
onLongPress={() => console.log('Secondary action')}
|
|
106
106
|
>
|
|
107
|
-
<Spot
|
|
107
|
+
<Spot icon={Settings} />
|
|
108
108
|
<TileContent>
|
|
109
109
|
<TileTitle>Settings</TileTitle>
|
|
110
110
|
<TileDescription>Manage preferences</TileDescription>
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
import { Bitcoin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
134
134
|
|
|
135
135
|
<Tile appearance='card'>
|
|
136
|
-
<Spot
|
|
136
|
+
<Spot icon={Bitcoin} />
|
|
137
137
|
<TileContent>
|
|
138
138
|
<TileTitle>Bitcoin</TileTitle>
|
|
139
139
|
<TileDescription>BTC</TileDescription>
|
|
@@ -148,7 +148,7 @@ import { Bitcoin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
|
148
148
|
|
|
149
149
|
```tsx
|
|
150
150
|
<Tile disabled>
|
|
151
|
-
<Spot
|
|
151
|
+
<Spot icon={Settings} />
|
|
152
152
|
<TileContent>
|
|
153
153
|
<TileTitle>Settings</TileTitle>
|
|
154
154
|
<TileDescription>Unavailable</TileDescription>
|
|
@@ -168,7 +168,7 @@ import { View } from 'react-native';
|
|
|
168
168
|
// In a grid where other tiles have more content
|
|
169
169
|
<View style={{ flexDirection: 'row', gap: 8 }}>
|
|
170
170
|
<Tile appearance='card'>
|
|
171
|
-
<Spot
|
|
171
|
+
<Spot icon={CryptoBitcoinCoin} />
|
|
172
172
|
<TileContent>
|
|
173
173
|
<TileTitle>Title</TileTitle>
|
|
174
174
|
<TileDescription>Description</TileDescription>
|
|
@@ -180,7 +180,7 @@ import { View } from 'react-native';
|
|
|
180
180
|
|
|
181
181
|
{/* Show more tile with centered content */}
|
|
182
182
|
<Tile appearance='card' centered>
|
|
183
|
-
<Spot
|
|
183
|
+
<Spot icon={ChevronRight} />
|
|
184
184
|
<TileContent>
|
|
185
185
|
<TileTitle>Show more</TileTitle>
|
|
186
186
|
</TileContent>
|
|
@@ -201,7 +201,7 @@ import {
|
|
|
201
201
|
import { CryptoBitcoinCoin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
202
202
|
|
|
203
203
|
<Tile onPress={() => console.log('Clicked!')}>
|
|
204
|
-
<Spot
|
|
204
|
+
<Spot icon={CryptoBitcoinCoin} />
|
|
205
205
|
<TileContent>
|
|
206
206
|
<TileTitle>Bitcoin</TileTitle>
|
|
207
207
|
<TileDescription>BTC</TileDescription>
|
|
@@ -220,7 +220,7 @@ import { Tile, TileContent, TileTitle, TileDescription, Spot } from '@ledgerhq/l
|
|
|
220
220
|
const Icon = item.icon;
|
|
221
221
|
return (
|
|
222
222
|
<Tile key={item.id} lx={{ width: 's128', flexShrink: 0 }}>
|
|
223
|
-
<Spot
|
|
223
|
+
<Spot icon={Icon} />
|
|
224
224
|
<TileContent>
|
|
225
225
|
<TileTitle>{item.title}</TileTitle>
|
|
226
226
|
<TileDescription>{item.description}</TileDescription>
|
|
@@ -238,7 +238,7 @@ import { Tile, TileContent, TileTitle, TileDescription, Spot } from '@ledgerhq/l
|
|
|
238
238
|
onPress={() => console.log('Primary action')}
|
|
239
239
|
onLongPress={() => console.log('Secondary action - show menu')}
|
|
240
240
|
>
|
|
241
|
-
<Spot
|
|
241
|
+
<Spot icon={Settings} />
|
|
242
242
|
<TileContent>
|
|
243
243
|
<TileTitle>Settings</TileTitle>
|
|
244
244
|
<TileDescription>Long press for options</TileDescription>
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
|
|
2
2
|
import { Box, Text } from '../../primitives';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
Settings,
|
|
5
|
+
Plus,
|
|
6
|
+
User,
|
|
7
|
+
Apps,
|
|
8
|
+
ChevronRight,
|
|
9
|
+
CheckmarkCircleFill,
|
|
10
|
+
} from '../../symbols';
|
|
4
11
|
import { Spot } from '../Spot';
|
|
5
12
|
import { Tag } from '../Tag/Tag';
|
|
6
13
|
import {
|
|
@@ -62,7 +69,7 @@ export const Base: Story = {
|
|
|
62
69
|
},
|
|
63
70
|
render: (args) => (
|
|
64
71
|
<Tile {...args} lx={{ maxWidth: 's112' }}>
|
|
65
|
-
<Spot
|
|
72
|
+
<Spot icon={Settings} />
|
|
66
73
|
<TileContent>
|
|
67
74
|
<TileTitle>Item with Spot and Description</TileTitle>
|
|
68
75
|
<TileDescription>Additional information</TileDescription>
|
|
@@ -74,7 +81,7 @@ export const Base: Story = {
|
|
|
74
81
|
source: {
|
|
75
82
|
code: `
|
|
76
83
|
<Tile lx={{ maxWidth: 's112' }}>
|
|
77
|
-
<Spot
|
|
84
|
+
<Spot icon={Settings} />
|
|
78
85
|
<TileContent>
|
|
79
86
|
<TileTitle>Item with Spot and Description</TileTitle>
|
|
80
87
|
<TileDescription>Additional information</TileDescription>
|
|
@@ -93,20 +100,20 @@ export const VariantsShowcase: Story = {
|
|
|
93
100
|
render: () => (
|
|
94
101
|
<Box lx={{ flexDirection: 'column', gap: 's16' }}>
|
|
95
102
|
<Tile lx={{ maxWidth: 's176' }}>
|
|
96
|
-
<Spot
|
|
103
|
+
<Spot icon={User} />
|
|
97
104
|
<TileContent>
|
|
98
105
|
<TileTitle>User</TileTitle>
|
|
99
106
|
<TileDescription>With description</TileDescription>
|
|
100
107
|
</TileContent>
|
|
101
108
|
</Tile>
|
|
102
109
|
<Tile lx={{ maxWidth: 's176' }}>
|
|
103
|
-
<Spot
|
|
110
|
+
<Spot icon={Plus} />
|
|
104
111
|
<TileContent>
|
|
105
112
|
<TileTitle>Without Description</TileTitle>
|
|
106
113
|
</TileContent>
|
|
107
114
|
</Tile>
|
|
108
115
|
<Tile lx={{ maxWidth: 's176' }}>
|
|
109
|
-
<Spot
|
|
116
|
+
<Spot icon={Settings} />
|
|
110
117
|
<TileContent>
|
|
111
118
|
<TileTitle>With Trailing Content</TileTitle>
|
|
112
119
|
<TileDescription>Additional information</TileDescription>
|
|
@@ -116,7 +123,7 @@ export const VariantsShowcase: Story = {
|
|
|
116
123
|
</TileContent>
|
|
117
124
|
</Tile>
|
|
118
125
|
<Tile lx={{ maxWidth: 's176' }}>
|
|
119
|
-
<Spot
|
|
126
|
+
<Spot icon={Settings} />
|
|
120
127
|
<TileContent>
|
|
121
128
|
<TileTitle>With Trailing Content</TileTitle>
|
|
122
129
|
<TileDescription>Additional information</TileDescription>
|
|
@@ -140,7 +147,7 @@ export const WithSecondaryAction: Story = {
|
|
|
140
147
|
onLongPress={() => alert('Long press - secondary action triggered!')}
|
|
141
148
|
lx={{ maxWidth: 's176' }}
|
|
142
149
|
>
|
|
143
|
-
<Spot
|
|
150
|
+
<Spot icon={Settings} />
|
|
144
151
|
<TileContent>
|
|
145
152
|
<TileTitle>Long Press Me</TileTitle>
|
|
146
153
|
<TileDescription>Try long pressing this tile</TileDescription>
|
|
@@ -155,7 +162,7 @@ export const WithSecondaryAction: Story = {
|
|
|
155
162
|
onLongPress={() => alert('Long press - secondary action triggered!')}
|
|
156
163
|
lx={{ maxWidth: 's160' }}
|
|
157
164
|
>
|
|
158
|
-
<Spot
|
|
165
|
+
<Spot icon={Settings} />
|
|
159
166
|
<TileContent>
|
|
160
167
|
<TileTitle>Long Press Me</TileTitle>
|
|
161
168
|
<TileDescription>Try long pressing this tile</TileDescription>
|
|
@@ -183,7 +190,7 @@ export const HorizontalList: Story = {
|
|
|
183
190
|
>
|
|
184
191
|
{Array.from({ length: 3 }).map((_, i) => (
|
|
185
192
|
<Tile key={`list-1-${i}`}>
|
|
186
|
-
<Spot
|
|
193
|
+
<Spot icon={Apps} />
|
|
187
194
|
<TileContent>
|
|
188
195
|
<TileTitle>Item {i + 1}</TileTitle>
|
|
189
196
|
<TileDescription>Description {i + 1}</TileDescription>
|
|
@@ -202,7 +209,7 @@ export const HorizontalList: Story = {
|
|
|
202
209
|
>
|
|
203
210
|
{Array.from({ length: 5 }).map((_, i) => (
|
|
204
211
|
<Tile key={`list-2-${i}`} lx={{ width: 's128', flexShrink: 0 }}>
|
|
205
|
-
<Spot
|
|
212
|
+
<Spot icon={Apps} />
|
|
206
213
|
<TileContent>
|
|
207
214
|
<TileTitle>Item {i + 1}</TileTitle>
|
|
208
215
|
<TileDescription>
|
|
@@ -224,7 +231,7 @@ export const ResponsiveLayout: Story = {
|
|
|
224
231
|
<Box lx={{ width: 'full', flexDirection: 'column', gap: 's16' }}>
|
|
225
232
|
<Box>
|
|
226
233
|
<Tile>
|
|
227
|
-
<Spot
|
|
234
|
+
<Spot icon={Apps} />
|
|
228
235
|
<TileContent>
|
|
229
236
|
<TileTitle>Item fill width</TileTitle>
|
|
230
237
|
<TileDescription>Description fill width</TileDescription>
|
|
@@ -233,7 +240,7 @@ export const ResponsiveLayout: Story = {
|
|
|
233
240
|
</Box>
|
|
234
241
|
<Box lx={{ alignItems: 'center', justifyContent: 'center' }}>
|
|
235
242
|
<Tile lx={{ width: 's224' }}>
|
|
236
|
-
<Spot
|
|
243
|
+
<Spot icon={Plus} />
|
|
237
244
|
<TileContent>
|
|
238
245
|
<TileTitle>Long Item with fixed width</TileTitle>
|
|
239
246
|
<TileDescription>
|
|
@@ -259,14 +266,14 @@ export const AppearanceShowcase: Story = {
|
|
|
259
266
|
</Box>
|
|
260
267
|
<Box lx={{ flexDirection: 'row', gap: 's16' }}>
|
|
261
268
|
<Tile appearance='no-background' lx={{ width: 's112' }}>
|
|
262
|
-
<Spot
|
|
269
|
+
<Spot icon={Settings} />
|
|
263
270
|
<TileContent>
|
|
264
271
|
<TileTitle>Press me</TileTitle>
|
|
265
272
|
<TileDescription>Press state</TileDescription>
|
|
266
273
|
</TileContent>
|
|
267
274
|
</Tile>
|
|
268
275
|
<Tile appearance='no-background' disabled lx={{ width: 's112' }}>
|
|
269
|
-
<Spot
|
|
276
|
+
<Spot icon={Settings} disabled />
|
|
270
277
|
<TileContent>
|
|
271
278
|
<TileTitle>Disabled</TileTitle>
|
|
272
279
|
<TileDescription>Disabled state</TileDescription>
|
|
@@ -280,14 +287,14 @@ export const AppearanceShowcase: Story = {
|
|
|
280
287
|
</Box>
|
|
281
288
|
<Box lx={{ flexDirection: 'row', gap: 's16' }}>
|
|
282
289
|
<Tile appearance='card' lx={{ width: 's112' }}>
|
|
283
|
-
<Spot
|
|
290
|
+
<Spot icon={User} />
|
|
284
291
|
<TileContent>
|
|
285
292
|
<TileTitle>Press me</TileTitle>
|
|
286
293
|
<TileDescription>Press state</TileDescription>
|
|
287
294
|
</TileContent>
|
|
288
295
|
</Tile>
|
|
289
296
|
<Tile appearance='card' disabled lx={{ width: 's112' }}>
|
|
290
|
-
<Spot
|
|
297
|
+
<Spot icon={User} disabled />
|
|
291
298
|
<TileContent>
|
|
292
299
|
<TileTitle>Disabled</TileTitle>
|
|
293
300
|
<TileDescription>Disabled state</TileDescription>
|
|
@@ -306,7 +313,7 @@ export const CenteredShowcase: Story = {
|
|
|
306
313
|
render: () => (
|
|
307
314
|
<Box lx={{ flexDirection: 'row', gap: 's8' }}>
|
|
308
315
|
<Tile appearance='card' lx={{ width: 's128' }}>
|
|
309
|
-
<Spot
|
|
316
|
+
<Spot icon={Apps} />
|
|
310
317
|
<TileContent>
|
|
311
318
|
<TileTitle>Title</TileTitle>
|
|
312
319
|
<TileDescription>Description</TileDescription>
|
|
@@ -316,7 +323,7 @@ export const CenteredShowcase: Story = {
|
|
|
316
323
|
</TileContent>
|
|
317
324
|
</Tile>
|
|
318
325
|
<Tile appearance='card' lx={{ width: 's128' }}>
|
|
319
|
-
<Spot
|
|
326
|
+
<Spot icon={Apps} />
|
|
320
327
|
<TileContent>
|
|
321
328
|
<TileTitle>Title</TileTitle>
|
|
322
329
|
<TileDescription>Description</TileDescription>
|
|
@@ -326,7 +333,7 @@ export const CenteredShowcase: Story = {
|
|
|
326
333
|
</TileContent>
|
|
327
334
|
</Tile>
|
|
328
335
|
<Tile appearance='card' lx={{ width: 's128' }}>
|
|
329
|
-
<Spot
|
|
336
|
+
<Spot icon={Apps} />
|
|
330
337
|
<TileContent>
|
|
331
338
|
<TileTitle>Title</TileTitle>
|
|
332
339
|
<TileDescription>Description</TileDescription>
|
|
@@ -336,7 +343,7 @@ export const CenteredShowcase: Story = {
|
|
|
336
343
|
</TileContent>
|
|
337
344
|
</Tile>
|
|
338
345
|
<Tile appearance='card' centered lx={{ width: 's128' }}>
|
|
339
|
-
<Spot
|
|
346
|
+
<Spot icon={ChevronRight} />
|
|
340
347
|
<TileContent>
|
|
341
348
|
<TileTitle>Show more</TileTitle>
|
|
342
349
|
</TileContent>
|
|
@@ -357,14 +364,14 @@ export const SizeShowcase: Story = {
|
|
|
357
364
|
</Box>
|
|
358
365
|
<Box lx={{ flexDirection: 'row', gap: 's16' }}>
|
|
359
366
|
<Tile appearance='card' lx={{ width: 's112' }}>
|
|
360
|
-
<Spot
|
|
367
|
+
<Spot icon={Settings} size={48} />
|
|
361
368
|
<TileContent>
|
|
362
369
|
<TileTitle>Settings</TileTitle>
|
|
363
370
|
<TileDescription>Size 48</TileDescription>
|
|
364
371
|
</TileContent>
|
|
365
372
|
</Tile>
|
|
366
373
|
<Tile appearance='card' lx={{ width: 's112' }}>
|
|
367
|
-
<Spot appearance='
|
|
374
|
+
<Spot appearance='success' icon={CheckmarkCircleFill} size={48} />
|
|
368
375
|
<TileContent>
|
|
369
376
|
<TileTitle>Check</TileTitle>
|
|
370
377
|
<TileDescription>Size 48</TileDescription>
|
|
@@ -378,14 +385,14 @@ export const SizeShowcase: Story = {
|
|
|
378
385
|
</Box>
|
|
379
386
|
<Box lx={{ flexDirection: 'row', gap: 's16' }}>
|
|
380
387
|
<Tile appearance='card' lx={{ width: 's112' }}>
|
|
381
|
-
<Spot
|
|
388
|
+
<Spot icon={Settings} size={40} />
|
|
382
389
|
<TileContent>
|
|
383
390
|
<TileTitle>Settings</TileTitle>
|
|
384
391
|
<TileDescription>Size 40</TileDescription>
|
|
385
392
|
</TileContent>
|
|
386
393
|
</Tile>
|
|
387
394
|
<Tile appearance='card' lx={{ width: 's112' }}>
|
|
388
|
-
<Spot appearance='
|
|
395
|
+
<Spot appearance='success' icon={CheckmarkCircleFill} size={40} />
|
|
389
396
|
<TileContent>
|
|
390
397
|
<TileTitle>Check</TileTitle>
|
|
391
398
|
<TileDescription>Size 40</TileDescription>
|
|
@@ -85,7 +85,7 @@ const useRootStyles = ({
|
|
|
85
85
|
* import { Wallet } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
86
86
|
*
|
|
87
87
|
* <Tile appearance="card" onPress={() => console.log('Pressed!')}>
|
|
88
|
-
* <Spot
|
|
88
|
+
* <Spot icon={Wallet} />
|
|
89
89
|
* <TileContent>
|
|
90
90
|
* <TileTitle>My Wallet</TileTitle>
|
|
91
91
|
* <TileDescription>Description</TileDescription>
|
|
@@ -98,7 +98,7 @@ const useRootStyles = ({
|
|
|
98
98
|
* import { Bitcoin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
99
99
|
*
|
|
100
100
|
* <Tile appearance="card" onLongPress={() => console.log('Long pressed')}>
|
|
101
|
-
* <Spot
|
|
101
|
+
* <Spot icon={Bitcoin} />
|
|
102
102
|
* <TileContent>
|
|
103
103
|
* <TileTitle>Bitcoin</TileTitle>
|
|
104
104
|
* <TileTrailingContent>
|
|
@@ -354,7 +354,7 @@ const useTrailingContentStyles = () => {
|
|
|
354
354
|
*
|
|
355
355
|
* @example
|
|
356
356
|
* <Tile>
|
|
357
|
-
* <TileSpot
|
|
357
|
+
* <TileSpot icon={Settings} />
|
|
358
358
|
* <TileContent>
|
|
359
359
|
* <TileTitle>My Title</TileTitle>
|
|
360
360
|
* <TileDescription>Description</TileDescription>
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
type AccessibilityActionInfo,
|
|
7
7
|
type ViewProps,
|
|
8
8
|
} from 'react-native';
|
|
9
|
-
import { useCommonTranslation } from '../../../../../
|
|
9
|
+
import { useCommonTranslation } from '../../../../../translations';
|
|
10
10
|
import type { ToastItem } from '../types';
|
|
11
11
|
|
|
12
12
|
type UseToastAccessibilityArgs = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
|
-
import { useCommonTranslation } from '../../../../i18n';
|
|
4
3
|
import type { LumenTextStyle } from '../../../../styles';
|
|
5
4
|
import { useStyleSheet } from '../../../../styles';
|
|
5
|
+
import { useCommonTranslation } from '../../../../translations';
|
|
6
6
|
import { Box, Text } from '../../primitives';
|
|
7
7
|
import { TriangleDown, TriangleUp } from '../../symbols';
|
|
8
8
|
import type { IconSize } from '../../symbols/Icon';
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from '@ledgerhq/lumen-utils-shared';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { StyleSheet, TextInput, View } from 'react-native';
|
|
8
|
-
import { useCommonTranslation } from '../../../../i18n';
|
|
9
8
|
import { useStyleSheet, useTheme } from '../../../../styles';
|
|
9
|
+
import { useCommonTranslation } from '../../../../translations';
|
|
10
10
|
import { RuntimeConstants } from '../../../utils';
|
|
11
11
|
import { InteractiveIcon } from '../../core/InteractiveIcon';
|
|
12
12
|
import { Box, Pressable } from '../../primitives';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import Svg, { G, Path, Defs, ClipPath } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AiBubble icon component for React Native.
|
|
6
|
+
*
|
|
7
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
8
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
9
|
+
* and additional size variants defined in the Icon component.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
13
|
+
* @param {string} [color] - The color of the icon.
|
|
14
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // Basic usage with default size (24px)
|
|
18
|
+
* import { AiBubble } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <AiBubble />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <AiBubble size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Used within a Button component
|
|
28
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
29
|
+
*
|
|
30
|
+
* <Button icon={AiBubble} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const AiBubble = createIcon(
|
|
35
|
+
'AiBubble',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<G clipPath='url(#clip0_10870_31)'>
|
|
38
|
+
<Path
|
|
39
|
+
stroke='currentColor'
|
|
40
|
+
strokeLinecap='round'
|
|
41
|
+
strokeLinejoin='round'
|
|
42
|
+
d='M5.328 9.168h3m.256.779-1.26-3.893h-.982l-1.26 3.893m5.643 0V6.054M.995 8.001a6.97 6.97 0 0 0 1.269 4.014l-.492 2.214 2.214-.492A7.003 7.003 0 1 0 .995 8'
|
|
43
|
+
/>
|
|
44
|
+
</G>
|
|
45
|
+
<Defs>
|
|
46
|
+
<ClipPath id='clip0_10870_31'>
|
|
47
|
+
<Path fill='#fff' d='M0 0h16v16H0z' />
|
|
48
|
+
</ClipPath>
|
|
49
|
+
</Defs>
|
|
50
|
+
</Svg>,
|
|
51
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ArrowBottomLeft icon component for React Native.
|
|
6
|
+
*
|
|
7
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
8
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
9
|
+
* and additional size variants defined in the Icon component.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
13
|
+
* @param {string} [color] - The color of the icon.
|
|
14
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // Basic usage with default size (24px)
|
|
18
|
+
* import { ArrowBottomLeft } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <ArrowBottomLeft />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <ArrowBottomLeft size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Used within a Button component
|
|
28
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
29
|
+
*
|
|
30
|
+
* <Button icon={ArrowBottomLeft} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const ArrowBottomLeft = createIcon(
|
|
35
|
+
'ArrowBottomLeft',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
stroke='currentColor'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
strokeLinejoin='round'
|
|
41
|
+
d='m4.7 11.3 6.6-6.6m-1.885 6.6H4.7V6.585'
|
|
42
|
+
/>
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -38,7 +38,7 @@ export const Bug = createIcon(
|
|
|
38
38
|
stroke='currentColor'
|
|
39
39
|
strokeLinecap='round'
|
|
40
40
|
strokeLinejoin='round'
|
|
41
|
-
d='
|
|
41
|
+
d='m14 3-1 2-1.333.917M1 8h3.11m7.78 0H15M2 3l1 2 1.333.917M2 13l1-2 1.333-.917M14 13l-1-2-1.333-.917M8.444 13h-.89a3 3 0 0 1-3-3V7a2 2 0 0 1 2-2h2.89a2 2 0 0 1 2 2v3a3 3 0 0 1-3 3M10 5H6V3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1z'
|
|
42
42
|
/>
|
|
43
43
|
</Svg>,
|
|
44
44
|
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Hourglass icon component for React Native.
|
|
6
|
+
*
|
|
7
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
8
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
9
|
+
* and additional size variants defined in the Icon component.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
13
|
+
* @param {string} [color] - The color of the icon.
|
|
14
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // Basic usage with default size (24px)
|
|
18
|
+
* import { Hourglass } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Hourglass />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Hourglass size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Used within a Button component
|
|
28
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
29
|
+
*
|
|
30
|
+
* <Button icon={Hourglass} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Hourglass = createIcon(
|
|
35
|
+
'Hourglass',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
stroke='currentColor'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
strokeLinejoin='round'
|
|
41
|
+
d='M6.667 12h2.666M11.32 2H4.681a.667.667 0 0 0-.667.667v1.585c0 .28.089.555.253.782L6.414 8l-2.147 2.966a1.33 1.33 0 0 0-.253.782v1.585c0 .368.299.667.667.667h6.638a.667.667 0 0 0 .666-.667v-1.561c0-.296-.098-.583-.28-.817L9.414 8l2.292-2.955c.181-.234.28-.522.28-.818v-1.56A.667.667 0 0 0 11.319 2'
|
|
42
|
+
/>
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Repeat icon component for React Native.
|
|
6
|
+
*
|
|
7
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
8
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
9
|
+
* and additional size variants defined in the Icon component.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
13
|
+
* @param {string} [color] - The color of the icon.
|
|
14
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // Basic usage with default size (24px)
|
|
18
|
+
* import { Repeat } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Repeat />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Repeat size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Used within a Button component
|
|
28
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
29
|
+
*
|
|
30
|
+
* <Button icon={Repeat} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Repeat = createIcon(
|
|
35
|
+
'Repeat',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
stroke='currentColor'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
strokeLinejoin='round'
|
|
41
|
+
d='M4.313 5.13H2.384V3.203M2 8a6 6 0 1 0 .73-2.87m4.564.909 2.588 1.53a.5.5 0 0 1 0 .861L7.294 9.96a.5.5 0 0 1-.755-.43V6.47a.5.5 0 0 1 .755-.431'
|
|
42
|
+
/>
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path, Circle } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Robot icon component for React Native.
|
|
6
|
+
*
|
|
7
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
8
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
9
|
+
* and additional size variants defined in the Icon component.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
13
|
+
* @param {string} [color] - The color of the icon.
|
|
14
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // Basic usage with default size (24px)
|
|
18
|
+
* import { Robot } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Robot />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Robot size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Used within a Button component
|
|
28
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
29
|
+
*
|
|
30
|
+
* <Button icon={Robot} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Robot = createIcon(
|
|
35
|
+
'Robot',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
stroke='currentColor'
|
|
39
|
+
d='M8 .789v3.208M.667 6.667v4m14.666-4v4M4 3.997h8c.736 0 1.333.597 1.333 1.333v6.667c0 .736-.597 1.333-1.333 1.333H4a1.333 1.333 0 0 1-1.333-1.333V5.33c0-.736.597-1.333 1.333-1.333ZM8.333 1.32a.333.333 0 1 1-.666 0 .333.333 0 0 1 .666 0Z'
|
|
40
|
+
/>
|
|
41
|
+
<Circle cx={6} cy={8.667} r={0.983} fill='currentColor' />
|
|
42
|
+
<Circle cx={10} cy={8.667} r={0.983} fill='currentColor' />
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -38,7 +38,14 @@ export const Switch = createIcon(
|
|
|
38
38
|
stroke='currentColor'
|
|
39
39
|
strokeLinecap='round'
|
|
40
40
|
strokeLinejoin='round'
|
|
41
|
-
d='
|
|
41
|
+
d='M4.6 4.8h6.8a3.2 3.2 0 0 1 0 6.4H4.6a3.2 3.2 0 0 1 0-6.4'
|
|
42
|
+
clipRule='evenodd'
|
|
43
|
+
/>
|
|
44
|
+
<Path
|
|
45
|
+
fill='currentColor'
|
|
46
|
+
fillRule='evenodd'
|
|
47
|
+
d='M4.495 6.667c-.736 0-1.334.597-1.328 1.333a1.334 1.334 0 1 0 1.328-1.333'
|
|
48
|
+
clipRule='evenodd'
|
|
42
49
|
/>
|
|
43
50
|
</Svg>,
|
|
44
51
|
);
|