@ledgerhq/lumen-ui-rnative 0.0.76 → 0.0.78

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.
Files changed (48) hide show
  1. package/dist/package.json +2 -2
  2. package/dist/src/lib/Components/ContentBanner/ContentBanner.d.ts +48 -0
  3. package/dist/src/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -0
  4. package/dist/src/lib/Components/ContentBanner/ContentBanner.js +108 -0
  5. package/dist/src/lib/Components/ContentBanner/ContentBanner.stories.d.ts +11 -0
  6. package/dist/src/lib/Components/ContentBanner/ContentBanner.stories.d.ts.map +1 -0
  7. package/dist/src/lib/Components/ContentBanner/ContentBanner.stories.js +91 -0
  8. package/dist/src/lib/Components/ContentBanner/index.d.ts +3 -0
  9. package/dist/src/lib/Components/ContentBanner/index.d.ts.map +1 -0
  10. package/dist/src/lib/Components/ContentBanner/index.js +2 -0
  11. package/dist/src/lib/Components/ContentBanner/types.d.ts +47 -0
  12. package/dist/src/lib/Components/ContentBanner/types.d.ts.map +1 -0
  13. package/dist/src/lib/Components/ContentBanner/types.js +1 -0
  14. package/dist/src/lib/Components/index.d.ts +1 -0
  15. package/dist/src/lib/Components/index.d.ts.map +1 -1
  16. package/dist/src/lib/Components/index.js +1 -0
  17. package/dist/src/lib/Symbols/Icons/Csv.d.ts +35 -0
  18. package/dist/src/lib/Symbols/Icons/Csv.d.ts.map +1 -0
  19. package/dist/src/lib/Symbols/Icons/Csv.js +34 -0
  20. package/dist/src/lib/Symbols/Icons/Invoice.d.ts +35 -0
  21. package/dist/src/lib/Symbols/Icons/Invoice.d.ts.map +1 -0
  22. package/dist/src/lib/Symbols/Icons/Invoice.js +34 -0
  23. package/dist/src/lib/Symbols/Icons/Mailbox.d.ts +35 -0
  24. package/dist/src/lib/Symbols/Icons/Mailbox.d.ts.map +1 -0
  25. package/dist/src/lib/Symbols/Icons/Mailbox.js +34 -0
  26. package/dist/src/lib/Symbols/Icons/PenEditWriting.d.ts +35 -0
  27. package/dist/src/lib/Symbols/Icons/PenEditWriting.d.ts.map +1 -0
  28. package/dist/src/lib/Symbols/Icons/PenEditWriting.js +34 -0
  29. package/dist/src/lib/Symbols/Icons/Unlink.d.ts +35 -0
  30. package/dist/src/lib/Symbols/Icons/Unlink.d.ts.map +1 -0
  31. package/dist/src/lib/Symbols/Icons/Unlink.js +34 -0
  32. package/dist/src/lib/Symbols/index.d.ts +5 -0
  33. package/dist/src/lib/Symbols/index.d.ts.map +1 -1
  34. package/dist/src/lib/Symbols/index.js +5 -0
  35. package/package.json +2 -2
  36. package/src/lib/Components/ContentBanner/ContentBanner.mdx +246 -0
  37. package/src/lib/Components/ContentBanner/ContentBanner.stories.tsx +226 -0
  38. package/src/lib/Components/ContentBanner/ContentBanner.test.tsx +133 -0
  39. package/src/lib/Components/ContentBanner/ContentBanner.tsx +226 -0
  40. package/src/lib/Components/ContentBanner/index.ts +2 -0
  41. package/src/lib/Components/ContentBanner/types.ts +50 -0
  42. package/src/lib/Components/index.ts +1 -0
  43. package/src/lib/Symbols/Icons/Csv.tsx +49 -0
  44. package/src/lib/Symbols/Icons/Invoice.tsx +45 -0
  45. package/src/lib/Symbols/Icons/Mailbox.tsx +45 -0
  46. package/src/lib/Symbols/Icons/PenEditWriting.tsx +45 -0
  47. package/src/lib/Symbols/Icons/Unlink.tsx +45 -0
  48. package/src/lib/Symbols/index.ts +5 -0
@@ -0,0 +1,45 @@
1
+ import Svg, { Path } from 'react-native-svg';
2
+ import createIcon from '../../Components/Icon/createIcon';
3
+
4
+ /**
5
+ * Invoice 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 { Invoice } from '@ledgerhq/lumen-ui-rnative/symbols';
19
+ *
20
+ * <Invoice />
21
+ *
22
+ * @example
23
+ * // With custom size and style
24
+ * <Invoice 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={Invoice} size="md">
31
+ * Click me
32
+ * </Button>
33
+ */
34
+ export const Invoice = createIcon(
35
+ 'Invoice',
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.667 6H5.333m5.334 2H5.333m3.334 2H5.333m7.633 3.597-.66.332a.67.67 0 0 1-.595.002l-1.048-.518-1.027.516a.67.67 0 0 1-.597 0L8 13.413l-1.04.518a.67.67 0 0 1-.596-.001l-1.027-.517-1.048.519a.67.67 0 0 1-.595-.002l-.66-.332a.67.67 0 0 1-.367-.595V2.998c0-.252.142-.482.367-.595l.66-.332a.67.67 0 0 1 .595-.002l1.048.518 1.027-.516a.67.67 0 0 1 .597 0L8 2.587l1.04-.518a.67.67 0 0 1 .596.001l1.027.516 1.048-.518a.67.67 0 0 1 .595.002l.66.332a.67.67 0 0 1 .367.595v10.004a.67.67 0 0 1-.367.595'
43
+ />
44
+ </Svg>,
45
+ );
@@ -0,0 +1,45 @@
1
+ import Svg, { Path } from 'react-native-svg';
2
+ import createIcon from '../../Components/Icon/createIcon';
3
+
4
+ /**
5
+ * Mailbox 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 { Mailbox } from '@ledgerhq/lumen-ui-rnative/symbols';
19
+ *
20
+ * <Mailbox />
21
+ *
22
+ * @example
23
+ * // With custom size and style
24
+ * <Mailbox 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={Mailbox} size="md">
31
+ * Click me
32
+ * </Button>
33
+ */
34
+ export const Mailbox = createIcon(
35
+ 'Mailbox',
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='M9.038 4.332 7.74 5.628l-.778-.778m-.964 2.817h4.002M3.33 9.334V3.33c0-.736.598-1.333 1.334-1.333h6.67c.736 0 1.334.597 1.334 1.333v6.003M1.998 12.669v-2.335a1 1 0 0 1 1-1H4.25a1 1 0 0 1 .707.293l.651.65c.25.25.589.39.942.39h2.897c.354 0 .693-.14.944-.39l.553-.553c.25-.25.588-.39.942-.39h1.115a1 1 0 0 1 1 1v2.335c0 .736-.597 1.333-1.333 1.333H3.33a1.334 1.334 0 0 1-1.333-1.333'
43
+ />
44
+ </Svg>,
45
+ );
@@ -0,0 +1,45 @@
1
+ import Svg, { Path } from 'react-native-svg';
2
+ import createIcon from '../../Components/Icon/createIcon';
3
+
4
+ /**
5
+ * PenEditWriting 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 { PenEditWriting } from '@ledgerhq/lumen-ui-rnative/symbols';
19
+ *
20
+ * <PenEditWriting />
21
+ *
22
+ * @example
23
+ * // With custom size and style
24
+ * <PenEditWriting 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={PenEditWriting} size="md">
31
+ * Click me
32
+ * </Button>
33
+ */
34
+ export const PenEditWriting = createIcon(
35
+ 'PenEditWriting',
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.334 6.333-2-2.001m5.669 7.67-.73.73a2.064 2.064 0 0 1-2.918 0 2.07 2.07 0 0 0-2.919 0m4.152-9.653a1.415 1.415 0 0 1 0 2L4.927 11.74c-.171.171-.385.292-.62.351l-2.31.578.578-2.31c.059-.235.18-.449.35-.62l6.662-6.66a1.415 1.415 0 0 1 2 0'
43
+ />
44
+ </Svg>,
45
+ );
@@ -0,0 +1,45 @@
1
+ import Svg, { Path } from 'react-native-svg';
2
+ import createIcon from '../../Components/Icon/createIcon';
3
+
4
+ /**
5
+ * Unlink 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 { Unlink } from '@ledgerhq/lumen-ui-rnative/symbols';
19
+ *
20
+ * <Unlink />
21
+ *
22
+ * @example
23
+ * // With custom size and style
24
+ * <Unlink 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={Unlink} size="md">
31
+ * Click me
32
+ * </Button>
33
+ */
34
+ export const Unlink = createIcon(
35
+ 'Unlink',
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='m11.403 8.36 1.458-1.458a2.75 2.75 0 0 0-3.889-3.89L7.514 4.472M5.5 10.374l1.25-1.25m2.5-2.5 1.25-1.25m2.187 7.187L3.313 3.187m1.284 4.201L3.139 8.846a2.75 2.75 0 1 0 3.889 3.89l1.458-1.459'
43
+ />
44
+ </Svg>,
45
+ );
@@ -74,6 +74,7 @@ export { Copy } from './Icons/Copy';
74
74
  export { CreditCard } from './Icons/CreditCard';
75
75
  export { CreditCardFill } from './Icons/CreditCardFill';
76
76
  export { CryptoBitcoinCoin } from './Icons/CryptoBitcoinCoin';
77
+ export { Csv } from './Icons/Csv';
77
78
  export { CursorTouch } from './Icons/CursorTouch';
78
79
  export { CurveDown } from './Icons/CurveDown';
79
80
  export { CurveUp } from './Icons/CurveUp';
@@ -126,6 +127,7 @@ export { InfiniteFill } from './Icons/InfiniteFill';
126
127
  export { Information } from './Icons/Information';
127
128
  export { InformationFill } from './Icons/InformationFill';
128
129
  export { Instagram } from './Icons/Instagram';
130
+ export { Invoice } from './Icons/Invoice';
129
131
  export { Ios } from './Icons/Ios';
130
132
  export { Label } from './Icons/Label';
131
133
  export { Language } from './Icons/Language';
@@ -143,6 +145,7 @@ export { LockCheckSuccess } from './Icons/LockCheckSuccess';
143
145
  export { Macos } from './Icons/Macos';
144
146
  export { Magnet } from './Icons/Magnet';
145
147
  export { Mail } from './Icons/Mail';
148
+ export { Mailbox } from './Icons/Mailbox';
146
149
  export { Maths } from './Icons/Maths';
147
150
  export { Medal1 } from './Icons/Medal1';
148
151
  export { Medal2 } from './Icons/Medal2';
@@ -168,6 +171,7 @@ export { Parachute } from './Icons/Parachute';
168
171
  export { Paste } from './Icons/Paste';
169
172
  export { Pause } from './Icons/Pause';
170
173
  export { PenEdit } from './Icons/PenEdit';
174
+ export { PenEditWriting } from './Icons/PenEditWriting';
171
175
  export { Percentage } from './Icons/Percentage';
172
176
  export { PictureImage } from './Icons/PictureImage';
173
177
  export { PiggyBank } from './Icons/PiggyBank';
@@ -231,6 +235,7 @@ export { TransferVertical } from './Icons/TransferVertical';
231
235
  export { Trash } from './Icons/Trash';
232
236
  export { Truck } from './Icons/Truck';
233
237
  export { Twitter } from './Icons/Twitter';
238
+ export { Unlink } from './Icons/Unlink';
234
239
  export { Unlock } from './Icons/Unlock';
235
240
  export { Usb } from './Icons/Usb';
236
241
  export { UsbC } from './Icons/UsbC';