@ledgerhq/react-ui 0.16.5 → 0.17.0-nightly.1

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 (60) hide show
  1. package/lib/cjs/components/cta/Button/index.js +7 -1
  2. package/lib/cjs/components/cta/Button/index.js.map +2 -2
  3. package/lib/cjs/components/layout/Carousel/Carousel.stories.js +56 -20
  4. package/lib/cjs/components/layout/Carousel/Carousel.stories.js.map +3 -3
  5. package/lib/cjs/components/layout/Carousel/ChevronArrow.js +90 -0
  6. package/lib/cjs/components/layout/Carousel/ChevronArrow.js.map +7 -0
  7. package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js +1 -1
  8. package/lib/cjs/components/layout/Carousel/Footer/Pagination/index.js.map +2 -2
  9. package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js +10 -11
  10. package/lib/cjs/components/layout/Carousel/Footer/Pagination/utils.js.map +2 -2
  11. package/lib/cjs/components/layout/Carousel/Footer/index.js +2 -0
  12. package/lib/cjs/components/layout/Carousel/Footer/index.js.map +2 -2
  13. package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js +0 -2
  14. package/lib/cjs/components/layout/Carousel/Footer/variantContentCard.js.map +2 -2
  15. package/lib/cjs/components/layout/Carousel/index.js +19 -3
  16. package/lib/cjs/components/layout/Carousel/index.js.map +2 -2
  17. package/lib/cjs/components/layout/Carousel/types.js.map +1 -1
  18. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js +78 -0
  19. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/PortfolioContentCard.stories.js.map +7 -0
  20. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/index.js +107 -0
  21. package/lib/cjs/components/layout/ContentCard/PortfolioContentCard/index.js.map +7 -0
  22. package/lib/cjs/components/layout/index.js +2 -0
  23. package/lib/cjs/components/layout/index.js.map +2 -2
  24. package/lib/components/cta/Button/index.d.ts +1 -1
  25. package/lib/components/cta/Button/index.d.ts.map +1 -1
  26. package/lib/components/cta/Button/index.js +7 -1
  27. package/lib/components/cta/Button/index.js.map +1 -1
  28. package/lib/components/layout/Carousel/ChevronArrow.d.ts +10 -0
  29. package/lib/components/layout/Carousel/ChevronArrow.d.ts.map +1 -0
  30. package/lib/components/layout/Carousel/ChevronArrow.js +58 -0
  31. package/lib/components/layout/Carousel/ChevronArrow.js.map +1 -0
  32. package/lib/components/layout/Carousel/Footer/Pagination/index.js +1 -1
  33. package/lib/components/layout/Carousel/Footer/Pagination/index.js.map +1 -1
  34. package/lib/components/layout/Carousel/Footer/Pagination/utils.d.ts +1 -1
  35. package/lib/components/layout/Carousel/Footer/Pagination/utils.d.ts.map +1 -1
  36. package/lib/components/layout/Carousel/Footer/Pagination/utils.js +10 -11
  37. package/lib/components/layout/Carousel/Footer/Pagination/utils.js.map +1 -1
  38. package/lib/components/layout/Carousel/Footer/index.d.ts +1 -1
  39. package/lib/components/layout/Carousel/Footer/index.d.ts.map +1 -1
  40. package/lib/components/layout/Carousel/Footer/index.js +2 -0
  41. package/lib/components/layout/Carousel/Footer/index.js.map +1 -1
  42. package/lib/components/layout/Carousel/Footer/variantContentCard.d.ts +1 -1
  43. package/lib/components/layout/Carousel/Footer/variantContentCard.d.ts.map +1 -1
  44. package/lib/components/layout/Carousel/Footer/variantContentCard.js +0 -2
  45. package/lib/components/layout/Carousel/Footer/variantContentCard.js.map +1 -1
  46. package/lib/components/layout/Carousel/index.d.ts +1 -1
  47. package/lib/components/layout/Carousel/index.d.ts.map +1 -1
  48. package/lib/components/layout/Carousel/index.js +24 -4
  49. package/lib/components/layout/Carousel/index.js.map +1 -1
  50. package/lib/components/layout/Carousel/types.d.ts +2 -1
  51. package/lib/components/layout/Carousel/types.d.ts.map +1 -1
  52. package/lib/components/layout/ContentCard/PortfolioContentCard/index.d.ts +12 -0
  53. package/lib/components/layout/ContentCard/PortfolioContentCard/index.d.ts.map +1 -0
  54. package/lib/components/layout/ContentCard/PortfolioContentCard/index.js +72 -0
  55. package/lib/components/layout/ContentCard/PortfolioContentCard/index.js.map +1 -0
  56. package/lib/components/layout/index.d.ts +1 -0
  57. package/lib/components/layout/index.d.ts.map +1 -1
  58. package/lib/components/layout/index.js +1 -0
  59. package/lib/components/layout/index.js.map +1 -1
  60. package/package.json +2 -2
@@ -4,11 +4,12 @@ export type Variant = "content-card" | "default";
4
4
  export type Props = {
5
5
  children: ReactElement[];
6
6
  variant?: Variant;
7
+ onChange?: (index: number) => void;
7
8
  };
8
9
  /**
9
10
  * Carousel's sub props to be passed to any component used by the carousel..
10
11
  */
11
- export type SubProps = Required<Props> & {
12
+ export type SubProps = Required<Pick<Props, "children" | "variant">> & {
12
13
  emblaApi: UseEmblaCarouselType[1];
13
14
  currentIndex: number;
14
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Carousel/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,OAAO,GAAG,cAAc,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG;IACvC,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Carousel/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,OAAO,GAAG,cAAc,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC,GAAG;IACrE,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React, { type ReactEventHandler } from "react";
2
+ export type PortfolioContentCardProps = {
3
+ title: string;
4
+ cta?: string;
5
+ description?: string;
6
+ tag?: string;
7
+ image?: string;
8
+ onClick: ReactEventHandler;
9
+ onClose: ReactEventHandler;
10
+ };
11
+ export default function PortfolioContentCard({ title, cta, description, tag, image, onClick, onClose, }: PortfolioContentCardProps): React.JSX.Element;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/ContentCard/PortfolioContentCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAStD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,iBAAiB,CAAC;IAC3B,OAAO,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAC3C,KAAK,EACL,GAAG,EACH,WAAW,EACX,GAAG,EACH,KAAK,EACL,OAAO,EACP,OAAO,GACR,EAAE,yBAAyB,qBAqB3B"}
@@ -0,0 +1,72 @@
1
+ import React from "react";
2
+ import styled from "styled-components";
3
+ import { StyleProvider } from "../../../../styles";
4
+ import { Icons } from "../../../../assets";
5
+ import { Text } from "../../../asorted";
6
+ import { Button } from "../../../cta";
7
+ import Tag from "../../../Tag";
8
+ export default function PortfolioContentCard({ title, cta, description, tag, image, onClick, onClose, }) {
9
+ const handleClose = event => {
10
+ event.stopPropagation();
11
+ onClose(event);
12
+ };
13
+ return (React.createElement(Wrapper, { image: image, tag: tag, onClick: onClick },
14
+ tag && React.createElement(StyledTag, null, tag),
15
+ React.createElement(Title, null, title),
16
+ description && React.createElement(Desc, null, description),
17
+ cta && (React.createElement(Button, { variant: "main", outline: false, onClick: onClick }, cta)),
18
+ React.createElement(StyleProvider, { selectedPalette: "dark" },
19
+ React.createElement(CloseButton, { onClick: handleClose }))));
20
+ }
21
+ const StyledTag = styled(Tag).attrs({ size: "medium", type: "plain", active: true }) `
22
+ font-size: 11px;
23
+ background-color: ${p => p.theme.colors.primary.c80};
24
+ `;
25
+ const Title = styled(Text).attrs({ variant: "h4Inter" }) `
26
+ font-family: Inter;
27
+ font-size: 24px;
28
+ font-weight: 600;
29
+ `;
30
+ const Desc = styled(Text).attrs({ variant: "small", color: "neutral.c70" }) `
31
+ font-family: Inter;
32
+ font-size: 13px;
33
+ font-style: normal;
34
+ font-weight: 500;
35
+ padding-bottom: 8px;
36
+ `;
37
+ const Wrapper = styled.div `
38
+ background-color: ${p => p.theme.colors.background.card};
39
+ background-image: ${p => (p.image ? `url("${p.image}")` : "none")};
40
+ background-position: right center;
41
+ background-repeat: no-repeat;
42
+ background-size: 50% auto;
43
+
44
+ cursor: pointer;
45
+ padding: 16px;
46
+ padding-top: ${p => (p.tag ? "16px" : "24px")};
47
+ padding-right: 50%;
48
+
49
+ position: relative;
50
+ display: flex;
51
+ flex-direction: column;
52
+ justify-content: flex-end;
53
+ align-items: flex-start;
54
+ gap: 4px;
55
+ `;
56
+ const CloseButton = styled(Button).attrs({
57
+ Icon: React.createElement(Icons.Close, { size: "XS" }),
58
+ iconButton: true,
59
+ outline: true,
60
+ }) `
61
+ background-color: ${p => p.theme.colors.neutral.c30};
62
+ position: absolute;
63
+ top: 10px;
64
+ right: 10px;
65
+ width: 24px;
66
+ height: 24px;
67
+ svg {
68
+ width: 12px;
69
+ height: 12px;
70
+ }
71
+ `;
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/layout/ContentCard/PortfolioContentCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,GAAG,MAAM,cAAc,CAAC;AAa/B,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAC3C,KAAK,EACL,GAAG,EACH,WAAW,EACX,GAAG,EACH,KAAK,EACL,OAAO,EACP,OAAO,GACmB;IAC1B,MAAM,WAAW,GAAsB,KAAK,CAAC,EAAE;QAC7C,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,OAAO,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,OAAO,IAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO;QAC9C,GAAG,IAAI,oBAAC,SAAS,QAAE,GAAG,CAAa;QACpC,oBAAC,KAAK,QAAE,KAAK,CAAS;QACrB,WAAW,IAAI,oBAAC,IAAI,QAAE,WAAW,CAAQ;QACzC,GAAG,IAAI,CACN,oBAAC,MAAM,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,IACpD,GAAG,CACG,CACV;QACD,oBAAC,aAAa,IAAC,eAAe,EAAC,MAAM;YACnC,oBAAC,WAAW,IAAC,OAAO,EAAE,WAAW,GAAI,CACvB,CACR,CACX,CAAC;AACJ,CAAC;AAED,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;;sBAE9D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG;CACpD,CAAC;AAEF,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;;;;CAIvD,CAAC;AAEF,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC,CAAA;;;;;;CAM1E,CAAC;AAEF,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAA8D;sBAClE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI;sBACnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;;;;;;;iBAOlD,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;;;;;;;;;CAS9C,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC;IACvC,IAAI,EAAE,oBAAC,KAAK,CAAC,KAAK,IAAC,IAAI,EAAC,IAAI,GAAG;IAC/B,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,IAAI;CACd,CAAC,CAAA;sBACoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG;;;;;;;;;;CAUpD,CAAC"}
@@ -7,4 +7,5 @@ export { default as Drawer } from "./Drawer";
7
7
  export { default as Carousel } from "./Carousel";
8
8
  export { default as VerticalTimeline } from "./List/VerticalTimeline";
9
9
  export { default as NumberedList } from "./List/NumberedList";
10
+ export { default as PortfolioContentCard } from "./ContentCard/PortfolioContentCard";
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,oCAAoC,CAAC"}
@@ -7,4 +7,5 @@ export { default as Drawer } from "./Drawer";
7
7
  export { default as Carousel } from "./Carousel";
8
8
  export { default as VerticalTimeline } from "./List/VerticalTimeline";
9
9
  export { default as NumberedList } from "./List/NumberedList";
10
+ export { default as PortfolioContentCard } from "./ContentCard/PortfolioContentCard";
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,oCAAoC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/react-ui",
3
- "version": "0.16.5",
3
+ "version": "0.17.0-nightly.1",
4
4
  "description": "Ledger Live - Desktop UI",
5
5
  "author": "Ledger Live Team <team-live@ledger.fr>",
6
6
  "repository": {
@@ -69,7 +69,7 @@
69
69
  "styled-system": "^5.1.5",
70
70
  "@ledgerhq/crypto-icons-ui": "^1.6.0",
71
71
  "@ledgerhq/icons-ui": "^0.8.1",
72
- "@ledgerhq/ui-shared": "^0.2.2"
72
+ "@ledgerhq/ui-shared": "^0.3.0-nightly.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">=17.0.2",