@ledgerhq/lumen-ui-rnative 0.1.57 → 0.1.58
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/Card/Card.figma.js +17 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.js +22 -15
- package/dist/module/lib/Components/core/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.mdx +10 -1
- package/dist/module/lib/Components/core/Card/Card.stories.js +59 -0
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.test.js +23 -0
- package/dist/module/lib/Components/core/Card/Card.test.js.map +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.js +1 -2
- package/dist/module/lib/Components/core/Trend/Trend.js.map +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.test.js +5 -5
- package/dist/module/lib/Components/core/Trend/Trend.test.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/CalendarRefresh.js +50 -0
- package/dist/module/lib/Components/symbols/icons/CalendarRefresh.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/CodeShield.js +50 -0
- package/dist/module/lib/Components/symbols/icons/CodeShield.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/CoinStacked.js +50 -0
- package/dist/module/lib/Components/symbols/icons/CoinStacked.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Craft.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Craft.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Equal.js +49 -0
- package/dist/module/lib/Components/symbols/icons/Equal.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/File.js +50 -0
- package/dist/module/lib/Components/symbols/icons/File.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/FileShield.js +50 -0
- package/dist/module/lib/Components/symbols/icons/FileShield.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Fire.js +51 -0
- package/dist/module/lib/Components/symbols/icons/Fire.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Handshake.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Handshake.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/MailShield.js +50 -0
- package/dist/module/lib/Components/symbols/icons/MailShield.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Merge.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Merge.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Minimize.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Minimize.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Nested.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Nested.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/NotEqual.js +49 -0
- package/dist/module/lib/Components/symbols/icons/NotEqual.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/PeopleShield.js +50 -0
- package/dist/module/lib/Components/symbols/icons/PeopleShield.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Pin.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Pin.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/PinFill.js +47 -0
- package/dist/module/lib/Components/symbols/icons/PinFill.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Receive.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Receive.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Retry.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Retry.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Send.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Send.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Servers.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Servers.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/SubArrow.js +50 -0
- package/dist/module/lib/Components/symbols/icons/SubArrow.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/UsbCircleFill.js +52 -0
- package/dist/module/lib/Components/symbols/icons/UsbCircleFill.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/WarningCircleFill.js +47 -0
- package/dist/module/lib/Components/symbols/icons/WarningCircleFill.js.map +1 -0
- package/dist/module/lib/Components/symbols/index.js +24 -0
- package/dist/module/lib/Components/symbols/index.js.map +1 -1
- package/dist/module/lib/utils/index.js +0 -1
- package/dist/module/lib/utils/index.js.map +1 -1
- package/dist/typescript/src/lib/Components/core/Card/Card.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Card/types.d.ts +6 -0
- package/dist/typescript/src/lib/Components/core/Card/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Trend/Trend.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/CalendarRefresh.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CalendarRefresh.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CodeShield.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CodeShield.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CoinStacked.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CoinStacked.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Craft.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Craft.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Equal.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Equal.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/File.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/File.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/FileShield.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/FileShield.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Fire.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Fire.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Handshake.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Handshake.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/MailShield.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/MailShield.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Merge.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Merge.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Minimize.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Minimize.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Nested.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Nested.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/NotEqual.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/NotEqual.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/PeopleShield.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/PeopleShield.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Pin.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Pin.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/PinFill.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/PinFill.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Receive.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Receive.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Retry.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Retry.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Send.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Send.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Servers.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Servers.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/SubArrow.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/SubArrow.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/UsbCircleFill.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/UsbCircleFill.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/WarningCircleFill.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/WarningCircleFill.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts +24 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/index.d.ts +0 -1
- package/dist/typescript/src/lib/utils/index.d.ts.map +1 -1
- package/dist/typescript/src/styles/types/create.types.d.ts +1 -3
- package/dist/typescript/src/styles/types/create.types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/Components/core/Card/Card.figma.tsx +20 -0
- package/src/lib/Components/core/Card/Card.mdx +10 -1
- package/src/lib/Components/core/Card/Card.stories.tsx +44 -0
- package/src/lib/Components/core/Card/Card.test.tsx +25 -0
- package/src/lib/Components/core/Card/Card.tsx +26 -17
- package/src/lib/Components/core/Card/types.ts +7 -0
- package/src/lib/Components/core/Trend/Trend.test.tsx +4 -5
- package/src/lib/Components/core/Trend/Trend.tsx +1 -3
- package/src/lib/Components/symbols/icons/CalendarRefresh.tsx +45 -0
- package/src/lib/Components/symbols/icons/CodeShield.tsx +45 -0
- package/src/lib/Components/symbols/icons/CoinStacked.tsx +45 -0
- package/src/lib/Components/symbols/icons/Craft.tsx +45 -0
- package/src/lib/Components/symbols/icons/Equal.tsx +44 -0
- package/src/lib/Components/symbols/icons/File.tsx +45 -0
- package/src/lib/Components/symbols/icons/FileShield.tsx +45 -0
- package/src/lib/Components/symbols/icons/Fire.tsx +46 -0
- package/src/lib/Components/symbols/icons/Handshake.tsx +45 -0
- package/src/lib/Components/symbols/icons/MailShield.tsx +45 -0
- package/src/lib/Components/symbols/icons/Merge.tsx +45 -0
- package/src/lib/Components/symbols/icons/Minimize.tsx +45 -0
- package/src/lib/Components/symbols/icons/Nested.tsx +45 -0
- package/src/lib/Components/symbols/icons/NotEqual.tsx +44 -0
- package/src/lib/Components/symbols/icons/PeopleShield.tsx +45 -0
- package/src/lib/Components/symbols/icons/Pin.tsx +45 -0
- package/src/lib/Components/symbols/icons/PinFill.tsx +42 -0
- package/src/lib/Components/symbols/icons/Receive.tsx +45 -0
- package/src/lib/Components/symbols/icons/Retry.tsx +45 -0
- package/src/lib/Components/symbols/icons/Send.tsx +45 -0
- package/src/lib/Components/symbols/icons/Servers.tsx +45 -0
- package/src/lib/Components/symbols/icons/SubArrow.tsx +45 -0
- package/src/lib/Components/symbols/icons/UsbCircleFill.tsx +48 -0
- package/src/lib/Components/symbols/icons/WarningCircleFill.tsx +42 -0
- package/src/lib/Components/symbols/index.ts +24 -0
- package/src/lib/utils/index.ts +0 -1
- package/src/styles/types/create.types.ts +6 -6
- package/dist/module/lib/utils/react/extractTextFromChildren.js +0 -23
- package/dist/module/lib/utils/react/extractTextFromChildren.js.map +0 -1
- package/dist/module/lib/utils/react/index.js +0 -4
- package/dist/module/lib/utils/react/index.js.map +0 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts +0 -8
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts.map +0 -1
- package/dist/typescript/src/lib/utils/react/index.d.ts +0 -2
- package/dist/typescript/src/lib/utils/react/index.d.ts.map +0 -1
- package/src/lib/utils/react/extractTextFromChildren.ts +0 -32
- package/src/lib/utils/react/index.ts +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* PeopleShield 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 { PeopleShield } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <PeopleShield />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <PeopleShield 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={PeopleShield} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const PeopleShield = createIcon(
|
|
35
|
+
'PeopleShield',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M2.667 13.333c0-1.666 1.333-3 3-3H7.4m3.8-.133c.267-.133.6-.133.933 0l1.2.467v1.4c0 1.2-1.666 2-1.666 2s-1.667-.8-1.667-2v-1.4zM10 3.467c1.133 1.133 1.133 2.933 0 4-1.133 1.066-2.933 1.133-4 0s-1.133-2.934 0-4a2.9 2.9 0 0 1 4 0'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Pin 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 { Pin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Pin />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Pin 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={Pin} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Pin = createIcon(
|
|
35
|
+
'Pin',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M8 13.333V10m-3.34 0h6.68a.66.66 0 0 0 .383-1.197l-2.056-1.47v-2l1.703-1.135a.67.67 0 0 0 .297-.555v-.31A.667.667 0 0 0 11 2.667H5a.667.667 0 0 0-.667.666v.31c0 .223.112.432.297.555l1.703 1.135v2l-2.056 1.47A.66.66 0 0 0 4.66 10'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* PinFill 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 { PinFill } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <PinFill />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <PinFill 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={PinFill} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const PinFill = createIcon(
|
|
35
|
+
'PinFill',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
fill='currentColor'
|
|
39
|
+
d='M12.316 3.643c0 .44-.22.85-.585 1.095l-1.415.943v1.317l1.785 1.275.123.1a1.31 1.31 0 0 1-.884 2.277H8.65v2.684a.65.65 0 0 1-1.3 0V10.65H4.66a1.31 1.31 0 0 1-.76-2.377l1.784-1.275V5.68L4.27 4.74a1.32 1.32 0 0 1-.586-1.096v-.31c0-.726.589-1.317 1.316-1.317h6c.727 0 1.316.59 1.316 1.318z'
|
|
40
|
+
/>
|
|
41
|
+
</Svg>,
|
|
42
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Receive 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 { Receive } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Receive />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Receive 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={Receive} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Receive = createIcon(
|
|
35
|
+
'Receive',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M8 11.333V2m5.333 12H2.667m8.666-6L8 11.334 4.666 8'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Retry 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 { Retry } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Retry />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Retry 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={Retry} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Retry = createIcon(
|
|
35
|
+
'Retry',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M12.992 3.093V5.45h-2.357m2.05 0A5.334 5.334 0 1 0 13.334 8'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Send 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 { Send } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Send />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Send 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={Send} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Send = createIcon(
|
|
35
|
+
'Send',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M8 2v9.334M13.332 14H2.667m1.999-8.666L8 2l3.333 3.334'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Servers 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 { Servers } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <Servers />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <Servers 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={Servers} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const Servers = createIcon(
|
|
35
|
+
'Servers',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M10.333 8c0 .737-1.044 1.333-2.333 1.333S5.667 8.736 5.667 8m0-2c0 .737 1.044 1.333 2.333 1.333S10.333 6.737 10.333 6m0 0C10.334 5.263 9.288 4.667 8 4.667S5.667 5.264 5.667 6v4c0 .736 1.044 1.333 2.332 1.333 1.289 0 2.334-.596 2.334-1.333zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* SubArrow 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 { SubArrow } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <SubArrow />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <SubArrow 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={SubArrow} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const SubArrow = createIcon(
|
|
35
|
+
'SubArrow',
|
|
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
|
+
strokeWidth={1.3}
|
|
42
|
+
d='M13.317 10.016H5.984c-1.833 0-3.333-1.465-3.333-3.257v.02-3.43m7.968 9.366 2.698-2.699-2.698-2.699'
|
|
43
|
+
/>
|
|
44
|
+
</Svg>,
|
|
45
|
+
);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* UsbCircleFill 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 { UsbCircleFill } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <UsbCircleFill />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <UsbCircleFill 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={UsbCircleFill} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const UsbCircleFill = createIcon(
|
|
35
|
+
'UsbCircleFill',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
fill='currentColor'
|
|
39
|
+
d='M8 10.4a.6.6 0 1 1 0 1.2.6.6 0 0 1 0-1.2M5.8 6.6a.3.3 0 0 1 .045.595.4.4 0 0 0-.096 0A.3.3 0 0 1 5.8 6.6M10.5 6v.6h-.223a.4.4 0 0 0-.162 0H9.9V6z'
|
|
40
|
+
/>
|
|
41
|
+
<Path
|
|
42
|
+
fill='currentColor'
|
|
43
|
+
fillRule='evenodd'
|
|
44
|
+
d='M8 1.6a6.4 6.4 0 1 1 0 12.8A6.4 6.4 0 0 1 8 1.6m.283 2.117a.4.4 0 0 0-.535-.027l-.03.027-.9.9a.4.4 0 0 0 .565.566l.217-.217v3.823l-1.089-.243a.404.404 0 0 1-.315-.394v-.227a1.099 1.099 0 1 0-1.174-1.803 1.1 1.1 0 0 0 .374 1.8v.23c0 .564.391 1.049.94 1.174L7.6 9.61v.05a1.4 1.4 0 1 0 .8 0v-.702l1.344-.406.002-.001c.502-.155.85-.621.85-1.15v-.007A.8.8 0 0 0 11.3 6.6V6a.8.8 0 0 0-.8-.8h-.6a.8.8 0 0 0-.8.8v.6a.8.8 0 0 0 .696.792V7.4a.41.41 0 0 1-.286.386L8.4 8.12V4.966l.217.217.03.027a.4.4 0 0 0 .563-.562l-.027-.03z'
|
|
45
|
+
clipRule='evenodd'
|
|
46
|
+
/>
|
|
47
|
+
</Svg>,
|
|
48
|
+
);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
import createIcon from '../Icon/createIcon';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* WarningCircleFill 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 { WarningCircleFill } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
19
|
+
*
|
|
20
|
+
* <WarningCircleFill />
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // With custom size and style
|
|
24
|
+
* <WarningCircleFill 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={WarningCircleFill} size="md">
|
|
31
|
+
* Click me
|
|
32
|
+
* </Button>
|
|
33
|
+
*/
|
|
34
|
+
export const WarningCircleFill = createIcon(
|
|
35
|
+
'WarningCircleFill',
|
|
36
|
+
<Svg width={24} height={24} fill='currentColor' viewBox='0 0 16 16'>
|
|
37
|
+
<Path
|
|
38
|
+
fill='currentColor'
|
|
39
|
+
d='M8.001 1.35a6.65 6.65 0 0 1 0 13.3A6.647 6.647 0 0 1 1.35 8C1.35 4.32 4.328 1.35 8 1.35M8 10.267a.82.82 0 0 0-.575.241.82.82 0 0 0-.241.576c0 .48.396.81.81.816h.022a.815.815 0 0 0 .797-.732l.004-.084-.005-.08A.82.82 0 0 0 8 10.267m.094.342h.002c-.03-.003-.059-.009-.09-.009zm-.1-6.509a.65.65 0 0 0-.65.65v3.5a.65.65 0 0 0 1.3 0v-3.5a.65.65 0 0 0-.65-.65'
|
|
40
|
+
/>
|
|
41
|
+
</Svg>,
|
|
42
|
+
);
|
|
@@ -29,6 +29,7 @@ export { BookOpen } from './icons/BookOpen';
|
|
|
29
29
|
export { Bug } from './icons/Bug';
|
|
30
30
|
export { Bundle } from './icons/Bundle';
|
|
31
31
|
export { Calendar } from './icons/Calendar';
|
|
32
|
+
export { CalendarRefresh } from './icons/CalendarRefresh';
|
|
32
33
|
export { Cart } from './icons/Cart';
|
|
33
34
|
export { Charon } from './icons/Charon';
|
|
34
35
|
export { Chart1 } from './icons/Chart1';
|
|
@@ -61,6 +62,7 @@ export { Close } from './icons/Close';
|
|
|
61
62
|
export { CloudDownload } from './icons/CloudDownload';
|
|
62
63
|
export { CloudUpload } from './icons/CloudUpload';
|
|
63
64
|
export { Code } from './icons/Code';
|
|
65
|
+
export { CodeShield } from './icons/CodeShield';
|
|
64
66
|
export { CoinAlert } from './icons/CoinAlert';
|
|
65
67
|
export { CoinPercent } from './icons/CoinPercent';
|
|
66
68
|
export { Coins } from './icons/Coins';
|
|
@@ -69,11 +71,13 @@ export { CoinsCheck } from './icons/CoinsCheck';
|
|
|
69
71
|
export { CoinsCross } from './icons/CoinsCross';
|
|
70
72
|
export { CoinsCrypto } from './icons/CoinsCrypto';
|
|
71
73
|
export { CoinsEye } from './icons/CoinsEye';
|
|
74
|
+
export { CoinStacked } from './icons/CoinStacked';
|
|
72
75
|
export { ColorPalette } from './icons/ColorPalette';
|
|
73
76
|
export { Compass } from './icons/Compass';
|
|
74
77
|
export { ComputerMobile } from './icons/ComputerMobile';
|
|
75
78
|
export { Contact } from './icons/Contact';
|
|
76
79
|
export { Copy } from './icons/Copy';
|
|
80
|
+
export { Craft } from './icons/Craft';
|
|
77
81
|
export { CreditCard } from './icons/CreditCard';
|
|
78
82
|
export { CreditCardFill } from './icons/CreditCardFill';
|
|
79
83
|
export { CryptoBitcoinCoin } from './icons/CryptoBitcoinCoin';
|
|
@@ -95,6 +99,7 @@ export { Dollar } from './icons/Dollar';
|
|
|
95
99
|
export { DollarConvert } from './icons/DollarConvert';
|
|
96
100
|
export { Download } from './icons/Download';
|
|
97
101
|
export { Duplicate } from './icons/Duplicate';
|
|
102
|
+
export { Equal } from './icons/Equal';
|
|
98
103
|
export { Exchange } from './icons/Exchange';
|
|
99
104
|
export { ExchangeFill } from './icons/ExchangeFill';
|
|
100
105
|
export { ExitLogout } from './icons/ExitLogout';
|
|
@@ -108,8 +113,11 @@ export { Eye } from './icons/Eye';
|
|
|
108
113
|
export { EyeCross } from './icons/EyeCross';
|
|
109
114
|
export { Facebook } from './icons/Facebook';
|
|
110
115
|
export { Feather } from './icons/Feather';
|
|
116
|
+
export { File } from './icons/File';
|
|
111
117
|
export { FileDownload } from './icons/FileDownload';
|
|
118
|
+
export { FileShield } from './icons/FileShield';
|
|
112
119
|
export { FilterSort } from './icons/FilterSort';
|
|
120
|
+
export { Fire } from './icons/Fire';
|
|
113
121
|
export { Flex } from './icons/Flex';
|
|
114
122
|
export { Folder } from './icons/Folder';
|
|
115
123
|
export { GameControler } from './icons/GameControler';
|
|
@@ -123,6 +131,7 @@ export { GroupUsersAdd } from './icons/GroupUsersAdd';
|
|
|
123
131
|
export { HandCard } from './icons/HandCard';
|
|
124
132
|
export { HandCoins } from './icons/HandCoins';
|
|
125
133
|
export { HandKey } from './icons/HandKey';
|
|
134
|
+
export { Handshake } from './icons/Handshake';
|
|
126
135
|
export { HatSchool } from './icons/HatSchool';
|
|
127
136
|
export { Heart } from './icons/Heart';
|
|
128
137
|
export { Home } from './icons/Home';
|
|
@@ -154,11 +163,14 @@ export { Macos } from './icons/Macos';
|
|
|
154
163
|
export { Magnet } from './icons/Magnet';
|
|
155
164
|
export { Mail } from './icons/Mail';
|
|
156
165
|
export { Mailbox } from './icons/Mailbox';
|
|
166
|
+
export { MailShield } from './icons/MailShield';
|
|
157
167
|
export { Maths } from './icons/Maths';
|
|
158
168
|
export { Medal1 } from './icons/Medal1';
|
|
159
169
|
export { Medal2 } from './icons/Medal2';
|
|
160
170
|
export { MenuBurger } from './icons/MenuBurger';
|
|
171
|
+
export { Merge } from './icons/Merge';
|
|
161
172
|
export { MessageChat } from './icons/MessageChat';
|
|
173
|
+
export { Minimize } from './icons/Minimize';
|
|
162
174
|
export { Minus } from './icons/Minus';
|
|
163
175
|
export { MinusCircle } from './icons/MinusCircle';
|
|
164
176
|
export { MinusCircleFill } from './icons/MinusCircleFill';
|
|
@@ -170,20 +182,25 @@ export { MoreHorizontal } from './icons/MoreHorizontal';
|
|
|
170
182
|
export { MoreVertical } from './icons/MoreVertical';
|
|
171
183
|
export { Nano } from './icons/Nano';
|
|
172
184
|
export { NanoGen5 } from './icons/NanoGen5';
|
|
185
|
+
export { Nested } from './icons/Nested';
|
|
173
186
|
export { NetworkWarning } from './icons/NetworkWarning';
|
|
174
187
|
export { Nfc } from './icons/Nfc';
|
|
175
188
|
export { Nft } from './icons/Nft';
|
|
176
189
|
export { NftHide } from './icons/NftHide';
|
|
177
190
|
export { Note } from './icons/Note';
|
|
191
|
+
export { NotEqual } from './icons/NotEqual';
|
|
178
192
|
export { P2p } from './icons/P2p';
|
|
179
193
|
export { Parachute } from './icons/Parachute';
|
|
180
194
|
export { Paste } from './icons/Paste';
|
|
181
195
|
export { Pause } from './icons/Pause';
|
|
182
196
|
export { PenEdit } from './icons/PenEdit';
|
|
183
197
|
export { PenEditWriting } from './icons/PenEditWriting';
|
|
198
|
+
export { PeopleShield } from './icons/PeopleShield';
|
|
184
199
|
export { Percentage } from './icons/Percentage';
|
|
185
200
|
export { PictureImage } from './icons/PictureImage';
|
|
186
201
|
export { PiggyBank } from './icons/PiggyBank';
|
|
202
|
+
export { Pin } from './icons/Pin';
|
|
203
|
+
export { PinFill } from './icons/PinFill';
|
|
187
204
|
export { PinLocation } from './icons/PinLocation';
|
|
188
205
|
export { Placeholder } from './icons/Placeholder';
|
|
189
206
|
export { PlaceholderCicleFill } from './icons/PlaceholderCicleFill';
|
|
@@ -196,15 +213,19 @@ export { QrCode } from './icons/QrCode';
|
|
|
196
213
|
export { QrCodeScanner } from './icons/QrCodeScanner';
|
|
197
214
|
export { Question } from './icons/Question';
|
|
198
215
|
export { Range } from './icons/Range';
|
|
216
|
+
export { Receive } from './icons/Receive';
|
|
199
217
|
export { RecoveryKey } from './icons/RecoveryKey';
|
|
200
218
|
export { Reddit } from './icons/Reddit';
|
|
201
219
|
export { Reduce } from './icons/Reduce';
|
|
202
220
|
export { Refresh } from './icons/Refresh';
|
|
203
221
|
export { RefreshBack } from './icons/RefreshBack';
|
|
204
222
|
export { Repair } from './icons/Repair';
|
|
223
|
+
export { Retry } from './icons/Retry';
|
|
205
224
|
export { Screens } from './icons/Screens';
|
|
206
225
|
export { Search } from './icons/Search';
|
|
226
|
+
export { Send } from './icons/Send';
|
|
207
227
|
export { ServerDatabaseFail } from './icons/ServerDatabaseFail';
|
|
228
|
+
export { Servers } from './icons/Servers';
|
|
208
229
|
export { Settings } from './icons/Settings';
|
|
209
230
|
export { SettingsAlt } from './icons/SettingsAlt';
|
|
210
231
|
export { SettingsAlt2 } from './icons/SettingsAlt2';
|
|
@@ -228,6 +249,7 @@ export { Star } from './icons/Star';
|
|
|
228
249
|
export { StarFill } from './icons/StarFill';
|
|
229
250
|
export { StarHalf } from './icons/StarHalf';
|
|
230
251
|
export { Stax } from './icons/Stax';
|
|
252
|
+
export { SubArrow } from './icons/SubArrow';
|
|
231
253
|
export { Sun } from './icons/Sun';
|
|
232
254
|
export { Support } from './icons/Support';
|
|
233
255
|
export { Switch } from './icons/Switch';
|
|
@@ -252,6 +274,7 @@ export { Unlock } from './icons/Unlock';
|
|
|
252
274
|
export { Upload } from './icons/Upload';
|
|
253
275
|
export { Usb } from './icons/Usb';
|
|
254
276
|
export { UsbC } from './icons/UsbC';
|
|
277
|
+
export { UsbCircleFill } from './icons/UsbCircleFill';
|
|
255
278
|
export { User } from './icons/User';
|
|
256
279
|
export { UserAdd } from './icons/UserAdd';
|
|
257
280
|
export { UserArrowRight } from './icons/UserArrowRight';
|
|
@@ -264,6 +287,7 @@ export { Wallet } from './icons/Wallet';
|
|
|
264
287
|
export { WalletInput } from './icons/WalletInput';
|
|
265
288
|
export { WalletSearch } from './icons/WalletSearch';
|
|
266
289
|
export { Warning } from './icons/Warning';
|
|
290
|
+
export { WarningCircleFill } from './icons/WarningCircleFill';
|
|
267
291
|
export { WarningFill } from './icons/WarningFill';
|
|
268
292
|
export { Whatsapp } from './icons/Whatsapp';
|
|
269
293
|
export { Windows } from './icons/Windows';
|
package/src/lib/utils/index.ts
CHANGED
|
@@ -10,12 +10,12 @@ type FlatLumensValues = {
|
|
|
10
10
|
|
|
11
11
|
type LumensValues = FlatLumensValues | FlatLumensValues[];
|
|
12
12
|
|
|
13
|
-
export type LumenStyleSheet =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
export type LumenStyleSheet = Record<
|
|
14
|
+
string,
|
|
15
|
+
| LumensValues
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17
|
+
| ((...args: any) => LumensValues)
|
|
18
|
+
>;
|
|
19
19
|
|
|
20
20
|
export type LumenStyleSheetExtended<S extends LumenStyleSheet> =
|
|
21
21
|
| ((theme: LumenStyleSheetTheme) => S)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { Children, isValidElement } from 'react';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Recursively extracts text content from React children.
|
|
7
|
-
* Traverses through React elements and collects all string and number values,
|
|
8
|
-
* ignoring complex React components that don't have text children.
|
|
9
|
-
*/
|
|
10
|
-
export function extractTextFromChildren(children, textComponentType) {
|
|
11
|
-
let text = '';
|
|
12
|
-
Children.forEach(children, child => {
|
|
13
|
-
if (typeof child === 'string' || typeof child === 'number') {
|
|
14
|
-
text += child;
|
|
15
|
-
} else if (/*#__PURE__*/isValidElement(child)) {
|
|
16
|
-
if (textComponentType && child.type === textComponentType || child.props?.children) {
|
|
17
|
-
text += extractTextFromChildren(child.props?.children, textComponentType);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return text;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=extractTextFromChildren.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Children","isValidElement","extractTextFromChildren","children","textComponentType","text","forEach","child","type","props"],"sourceRoot":"../../../../../src","sources":["lib/utils/react/extractTextFromChildren.ts"],"mappings":";;AACA,SAASA,QAAQ,EAAEC,cAAc,QAAQ,OAAO;;AAEhD;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CACrCC,QAAmB,EACnBC,iBAAsC,EAC9B;EACR,IAAIC,IAAI,GAAG,EAAE;EAEbL,QAAQ,CAACM,OAAO,CAACH,QAAQ,EAAGI,KAAK,IAAK;IACpC,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;MAC1DF,IAAI,IAAIE,KAAK;IACf,CAAC,MAAM,iBAAIN,cAAc,CAACM,KAAK,CAAC,EAAE;MAChC,IACGH,iBAAiB,IAAIG,KAAK,CAACC,IAAI,KAAKJ,iBAAiB,IACrDG,KAAK,CAACE,KAAK,EAA+BN,QAAQ,EACnD;QACAE,IAAI,IAAIH,uBAAuB,CAC5BK,KAAK,CAACE,KAAK,EAA+BN,QAAQ,EACnDC,iBACF,CAAC;MACH;IACF;EACF,CAAC,CAAC;EAEF,OAAOC,IAAI;AACb","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["lib/utils/react/index.ts"],"mappings":";;AAAA,cAAc,8BAA2B","ignoreList":[]}
|