@ledgerhq/lumen-ui-rnative 0.1.73 → 0.1.75
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/DotSymbol/DotSymbol.js +1 -1
- package/dist/module/lib/Components/core/Spot/Spot.js +1 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.js +298 -133
- package/dist/module/lib/Components/core/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/core/TabBar/TabBarContext.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/BadgeVerified.js +49 -0
- package/dist/module/lib/Components/symbols/icons/BadgeVerified.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/BadgeVerifiedFill.js +47 -0
- package/dist/module/lib/Components/symbols/icons/BadgeVerifiedFill.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Building.js +49 -0
- package/dist/module/lib/Components/symbols/icons/Building.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Play.js +48 -0
- package/dist/module/lib/Components/symbols/icons/Play.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Sort.js +49 -0
- package/dist/module/lib/Components/symbols/icons/Sort.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/TextEdit.js +49 -0
- package/dist/module/lib/Components/symbols/icons/TextEdit.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/typescript/src/lib/Components/core/TabBar/TabBar.d.ts +3 -2
- package/dist/typescript/src/lib/Components/core/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/TabBar/TabBarContext.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/TabBar/TabBarContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/TabBar/types.d.ts +8 -0
- package/dist/typescript/src/lib/Components/core/TabBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tag/types.d.ts +3 -22
- package/dist/typescript/src/lib/Components/core/Tag/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseTag/BaseTag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseTag/types.d.ts +23 -2
- package/dist/typescript/src/lib/Components/internal/BaseTag/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/BadgeVerified.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/BadgeVerified.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/BadgeVerifiedFill.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/BadgeVerifiedFill.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Building.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Building.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Play.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Play.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Sort.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Sort.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/TextEdit.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/TextEdit.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/package.json +2 -2
- package/src/lib/Components/core/DotSymbol/DotSymbol.tsx +1 -1
- package/src/lib/Components/core/Spot/Spot.tsx +1 -1
- package/src/lib/Components/core/TabBar/TabBar.tsx +212 -109
- package/src/lib/Components/core/TabBar/TabBarContext.tsx +3 -0
- package/src/lib/Components/core/TabBar/types.ts +9 -0
- package/src/lib/Components/core/Tag/types.ts +3 -30
- package/src/lib/Components/internal/BaseTag/BaseTag.tsx +2 -3
- package/src/lib/Components/internal/BaseTag/types.ts +32 -2
- package/src/lib/Components/symbols/icons/BadgeVerified.tsx +44 -0
- package/src/lib/Components/symbols/icons/BadgeVerifiedFill.tsx +42 -0
- package/src/lib/Components/symbols/icons/Building.tsx +44 -0
- package/src/lib/Components/symbols/icons/Play.tsx +43 -0
- package/src/lib/Components/symbols/icons/Sort.tsx +44 -0
- package/src/lib/Components/symbols/icons/TextEdit.tsx +44 -0
- package/src/lib/Components/symbols/index.ts +6 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Building 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 { Building } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Building />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Building 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={Building} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Building = createIcon(
|
|
35
|
+
'Building',
|
|
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='M1.333 14H2m0 0h4m-4 0V5.333a.667.667 0 0 1 .667-.666H6M6 14h2.667M6 14V4.667M8.667 14h2.666m-2.666 0v-2.667M11.333 14H14m-2.667 0v-2.667M14 14h.667M14 14V2.667A.667.667 0 0 0 13.333 2H6.667A.667.667 0 0 0 6 2.667v2m2 0h4m-4 2h4m-4 2h4m-.667 2.666H12m-.667 0H8.667m0 0H8'
|
|
42
|
+
/>
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Play 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 { Play } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Play />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Play 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={Play} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Play = createIcon(
|
|
35
|
+
'Play',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
stroke='currentColor'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
d='M4.116 4.279a1.063 1.063 0 0 1 1.6-.919l6.378 3.72a1.063 1.063 0 0 1 .002 1.839l-6.38 3.721a1.065 1.065 0 0 1-1.6-.919z'
|
|
41
|
+
/>
|
|
42
|
+
</Svg>,
|
|
43
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Sort 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 { Sort } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Sort />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Sort 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={Sort} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Sort = createIcon(
|
|
35
|
+
'Sort',
|
|
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='M12 8H4m6 4H6m7.333-8H2.667'
|
|
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
|
+
* TextEdit 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 { TextEdit } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <TextEdit />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <TextEdit 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={TextEdit} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const TextEdit = createIcon(
|
|
35
|
+
'TextEdit',
|
|
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='M5.333 4H2v1.333M5.333 4h3.334v1.333M5.333 4v8m0 0h1.334m-1.334 0H4m8.667-10v12m0-12h-1.334m1.334 0H14m-1.333 12H14m-1.333 0h-1.334'
|
|
42
|
+
/>
|
|
43
|
+
</Svg>,
|
|
44
|
+
);
|
|
@@ -16,6 +16,8 @@ export { Asterisk } from './icons/Asterisk';
|
|
|
16
16
|
export { At } from './icons/At';
|
|
17
17
|
export { Atm } from './icons/Atm';
|
|
18
18
|
export { AutoLock } from './icons/AutoLock';
|
|
19
|
+
export { BadgeVerified } from './icons/BadgeVerified';
|
|
20
|
+
export { BadgeVerifiedFill } from './icons/BadgeVerifiedFill';
|
|
19
21
|
export { Bank } from './icons/Bank';
|
|
20
22
|
export { BasketPutIn } from './icons/BasketPutIn';
|
|
21
23
|
export { Bell } from './icons/Bell';
|
|
@@ -27,6 +29,7 @@ export { BluetoothCircleFill } from './icons/BluetoothCircleFill';
|
|
|
27
29
|
export { Bolt } from './icons/Bolt';
|
|
28
30
|
export { BookOpen } from './icons/BookOpen';
|
|
29
31
|
export { Bug } from './icons/Bug';
|
|
32
|
+
export { Building } from './icons/Building';
|
|
30
33
|
export { Bundle } from './icons/Bundle';
|
|
31
34
|
export { Calendar } from './icons/Calendar';
|
|
32
35
|
export { CalendarRefresh } from './icons/CalendarRefresh';
|
|
@@ -209,6 +212,7 @@ export { PinLocation } from './icons/PinLocation';
|
|
|
209
212
|
export { Placeholder } from './icons/Placeholder';
|
|
210
213
|
export { PlaceholderCicleFill } from './icons/PlaceholderCicleFill';
|
|
211
214
|
export { Planet } from './icons/Planet';
|
|
215
|
+
export { Play } from './icons/Play';
|
|
212
216
|
export { Plus } from './icons/Plus';
|
|
213
217
|
export { PlusCircle } from './icons/PlusCircle';
|
|
214
218
|
export { PlusCircleFill } from './icons/PlusCircleFill';
|
|
@@ -246,6 +250,7 @@ export { Signature } from './icons/Signature';
|
|
|
246
250
|
export { Slideshow } from './icons/Slideshow';
|
|
247
251
|
export { Snow } from './icons/Snow';
|
|
248
252
|
export { SoftRepair } from './icons/SoftRepair';
|
|
253
|
+
export { Sort } from './icons/Sort';
|
|
249
254
|
export { Spacerocket } from './icons/Spacerocket';
|
|
250
255
|
export { SparksFill } from './icons/SparksFill';
|
|
251
256
|
export { SpeedFast } from './icons/SpeedFast';
|
|
@@ -263,6 +268,7 @@ export { Switch2 } from './icons/Switch2';
|
|
|
263
268
|
export { Tablet } from './icons/Tablet';
|
|
264
269
|
export { Target } from './icons/Target';
|
|
265
270
|
export { Telegram } from './icons/Telegram';
|
|
271
|
+
export { TextEdit } from './icons/TextEdit';
|
|
266
272
|
export { Theme } from './icons/Theme';
|
|
267
273
|
export { ThemeFill } from './icons/ThemeFill';
|
|
268
274
|
export { Threads } from './icons/Threads';
|