@ledgerhq/lumen-ui-react 0.1.11 → 0.1.13

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 (136) hide show
  1. package/dist/i18n/locales/de.json.d.ts +3 -0
  2. package/dist/i18n/locales/de.json.js +4 -2
  3. package/dist/i18n/locales/en.json.d.ts +3 -0
  4. package/dist/i18n/locales/en.json.js +6 -4
  5. package/dist/i18n/locales/es.json.d.ts +3 -0
  6. package/dist/i18n/locales/es.json.js +6 -4
  7. package/dist/i18n/locales/fr.json.d.ts +3 -0
  8. package/dist/i18n/locales/fr.json.js +6 -4
  9. package/dist/i18n/locales/ja.json.d.ts +3 -0
  10. package/dist/i18n/locales/ja.json.js +6 -4
  11. package/dist/i18n/locales/ko.json.d.ts +3 -0
  12. package/dist/i18n/locales/ko.json.js +6 -4
  13. package/dist/i18n/locales/pt.json.d.ts +3 -0
  14. package/dist/i18n/locales/pt.json.js +6 -4
  15. package/dist/i18n/locales/ru.json.d.ts +3 -0
  16. package/dist/i18n/locales/ru.json.js +6 -4
  17. package/dist/i18n/locales/th.json.d.ts +3 -0
  18. package/dist/i18n/locales/th.json.js +6 -4
  19. package/dist/i18n/locales/tr.json.d.ts +3 -0
  20. package/dist/i18n/locales/tr.json.js +6 -4
  21. package/dist/i18n/locales/zh.json.d.ts +3 -0
  22. package/dist/i18n/locales/zh.json.js +6 -4
  23. package/dist/index.js +114 -113
  24. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
  25. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +41 -41
  26. package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -1
  27. package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
  28. package/dist/lib/Components/AmountInput/AmountInput.js +35 -32
  29. package/dist/lib/Components/Banner/Banner.js +5 -5
  30. package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -1
  31. package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
  32. package/dist/lib/Components/BaseInput/BaseInput.js +44 -41
  33. package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
  34. package/dist/lib/Components/Button/BaseButton.d.ts.map +1 -1
  35. package/dist/lib/Components/Button/BaseButton.js +28 -25
  36. package/dist/lib/Components/Button/Button.js +9 -9
  37. package/dist/lib/Components/Card/Card.d.ts.map +1 -1
  38. package/dist/lib/Components/Card/Card.js +110 -107
  39. package/dist/lib/Components/Card/types.d.ts +1 -0
  40. package/dist/lib/Components/Card/types.d.ts.map +1 -1
  41. package/dist/lib/Components/CardButton/CardButton.d.ts +1 -1
  42. package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
  43. package/dist/lib/Components/CardButton/CardButton.js +28 -24
  44. package/dist/lib/Components/Checkbox/Checkbox.d.ts +1 -1
  45. package/dist/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
  46. package/dist/lib/Components/Checkbox/Checkbox.js +26 -14
  47. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +2 -2
  48. package/dist/lib/Components/Dialog/types.d.ts +1 -1
  49. package/dist/lib/Components/Icon/Icon.js +4 -4
  50. package/dist/lib/Components/Icon/createIcon.js +4 -4
  51. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -1
  52. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
  53. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +40 -20
  54. package/dist/lib/Components/InteractiveIcon/types.d.ts +14 -1
  55. package/dist/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
  56. package/dist/lib/Components/Link/Link.d.ts +1 -1
  57. package/dist/lib/Components/Link/Link.d.ts.map +1 -1
  58. package/dist/lib/Components/Link/Link.js +44 -33
  59. package/dist/lib/Components/Link/types.d.ts +5 -0
  60. package/dist/lib/Components/Link/types.d.ts.map +1 -1
  61. package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
  62. package/dist/lib/Components/ListItem/ListItem.js +72 -65
  63. package/dist/lib/Components/MediaCard/MediaCard.d.ts +33 -0
  64. package/dist/lib/Components/MediaCard/MediaCard.d.ts.map +1 -0
  65. package/dist/lib/Components/MediaCard/MediaCard.js +128 -0
  66. package/dist/lib/Components/MediaCard/index.d.ts +3 -0
  67. package/dist/lib/Components/MediaCard/index.d.ts.map +1 -0
  68. package/dist/lib/Components/MediaCard/types.d.ts +30 -0
  69. package/dist/lib/Components/MediaCard/types.d.ts.map +1 -0
  70. package/dist/lib/Components/Menu/Menu.d.ts +3 -3
  71. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  72. package/dist/lib/Components/Menu/Menu.js +133 -104
  73. package/dist/lib/Components/NavBar/CoinCapsule.js +4 -4
  74. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +1 -1
  75. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  76. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +88 -51
  77. package/dist/lib/Components/SegmentedControl/SegmentedControlContext.d.ts +1 -1
  78. package/dist/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map +1 -1
  79. package/dist/lib/Components/Select/Select.d.ts +5 -5
  80. package/dist/lib/Components/Select/Select.d.ts.map +1 -1
  81. package/dist/lib/Components/Select/Select.js +94 -76
  82. package/dist/lib/Components/Select/index.d.ts +1 -1
  83. package/dist/lib/Components/Select/types.d.ts +4 -4
  84. package/dist/lib/Components/SideBar/SideBar.d.ts +1 -1
  85. package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
  86. package/dist/lib/Components/SideBar/SideBar.js +77 -74
  87. package/dist/lib/Components/SideBar/types.d.ts +12 -4
  88. package/dist/lib/Components/SideBar/types.d.ts.map +1 -1
  89. package/dist/lib/Components/Spot/Spot.js +3 -3
  90. package/dist/lib/Components/Stepper/Stepper.d.ts.map +1 -1
  91. package/dist/lib/Components/Stepper/Stepper.js +34 -24
  92. package/dist/lib/Components/Subheader/Subheader.d.ts +2 -7
  93. package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
  94. package/dist/lib/Components/Subheader/Subheader.js +31 -49
  95. package/dist/lib/Components/Subheader/index.d.ts +1 -1
  96. package/dist/lib/Components/Subheader/index.d.ts.map +1 -1
  97. package/dist/lib/Components/Subheader/types.d.ts +1 -11
  98. package/dist/lib/Components/Subheader/types.d.ts.map +1 -1
  99. package/dist/lib/Components/Switch/Switch.d.ts +1 -1
  100. package/dist/lib/Components/Switch/Switch.d.ts.map +1 -1
  101. package/dist/lib/Components/Switch/Switch.js +30 -22
  102. package/dist/lib/Components/Table/Table.js +49 -49
  103. package/dist/lib/Components/Tag/Tag.d.ts +1 -1
  104. package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
  105. package/dist/lib/Components/Tag/Tag.js +17 -14
  106. package/dist/lib/Components/Tile/Tile.d.ts +5 -12
  107. package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
  108. package/dist/lib/Components/Tile/Tile.js +79 -82
  109. package/dist/lib/Components/Tile/index.d.ts +1 -1
  110. package/dist/lib/Components/Tile/index.d.ts.map +1 -1
  111. package/dist/lib/Components/Tile/types.d.ts +1 -10
  112. package/dist/lib/Components/Tile/types.d.ts.map +1 -1
  113. package/dist/lib/Components/TileButton/TileButton.d.ts +1 -1
  114. package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
  115. package/dist/lib/Components/TileButton/TileButton.js +26 -23
  116. package/dist/lib/Components/{ButtonTrigger/ButtonTrigger.d.ts → TriggerButton/TriggerButton.d.ts} +10 -10
  117. package/dist/lib/Components/TriggerButton/TriggerButton.d.ts.map +1 -0
  118. package/dist/lib/Components/TriggerButton/TriggerButton.js +76 -0
  119. package/dist/lib/Components/TriggerButton/index.d.ts +3 -0
  120. package/dist/lib/Components/{ButtonTrigger → TriggerButton}/index.d.ts.map +1 -1
  121. package/dist/lib/Components/{ButtonTrigger → TriggerButton}/types.d.ts +1 -1
  122. package/dist/lib/Components/{ButtonTrigger → TriggerButton}/types.d.ts.map +1 -1
  123. package/dist/lib/Components/index.d.ts +2 -1
  124. package/dist/lib/Components/index.d.ts.map +1 -1
  125. package/dist/lib/Symbols/Icons/NanoGen5.d.ts +29 -0
  126. package/dist/lib/Symbols/Icons/NanoGen5.d.ts.map +1 -0
  127. package/dist/lib/Symbols/Icons/NanoGen5.js +27 -0
  128. package/dist/lib/Symbols/index.d.ts +1 -0
  129. package/dist/lib/Symbols/index.d.ts.map +1 -1
  130. package/dist/lib/Symbols/index.js +194 -192
  131. package/dist/libs/utils-shared/dist/index.js +95 -90
  132. package/dist/package.json +2 -2
  133. package/package.json +2 -2
  134. package/dist/lib/Components/ButtonTrigger/ButtonTrigger.d.ts.map +0 -1
  135. package/dist/lib/Components/ButtonTrigger/ButtonTrigger.js +0 -73
  136. package/dist/lib/Components/ButtonTrigger/index.d.ts +0 -3
@@ -1,14 +1,13 @@
1
- import { jsx as i, jsxs as b } from "react/jsx-runtime";
2
- import { createSafeContext as T, cn as l } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as f } from "class-variance-authority";
4
- import { useCallback as x } from "react";
5
- import { Spot as v } from "../Spot/Spot.js";
1
+ import { jsx as i, jsxs as x } from "react/jsx-runtime";
2
+ import { useDisabledContext as o, DisabledProvider as m, cn as s } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as p } from "class-variance-authority";
4
+ import { useCallback as T } from "react";
6
5
  import { InteractiveIcon as y } from "../InteractiveIcon/InteractiveIcon.js";
7
- const [N, s] = T("Tile"), m = {
8
- root: f([
6
+ const v = {
7
+ root: p([
9
8
  "group relative flex flex-col items-center rounded-md text-base transition-colors focus-visible:outline-2 focus-visible:outline-focus"
10
9
  ]),
11
- inner: f(
10
+ inner: p(
12
11
  [
13
12
  "flex w-full flex-1 flex-col items-center gap-8 px-8 py-12",
14
13
  "rounded-md focus-visible:outline-2 focus-visible:outline-focus"
@@ -39,77 +38,75 @@ const [N, s] = T("Tile"), m = {
39
38
  ref: t,
40
39
  className: e,
41
40
  onClick: a,
42
- secondaryAction: o,
41
+ secondaryAction: r,
43
42
  appearance: c = "no-background",
44
- disabled: r = !1,
45
- centered: d = !1,
46
- children: u,
47
- style: p,
43
+ disabled: d = !1,
44
+ centered: u = !1,
45
+ children: b,
46
+ style: f,
48
47
  ...n
49
- }) => /* @__PURE__ */ i(N, { value: { disabled: r }, children: /* @__PURE__ */ b(
50
- "div",
51
- {
52
- ref: t,
53
- style: p,
54
- className: m.root({
55
- className: e
56
- }),
57
- children: [
58
- /* @__PURE__ */ i(
59
- "button",
60
- {
61
- ...n,
62
- onClick: a,
63
- disabled: r,
64
- className: m.inner({
65
- appearance: c,
66
- disabled: r,
67
- centered: d
68
- }),
69
- children: u
70
- }
71
- ),
72
- o
73
- ]
74
- }
75
- ) });
76
- g.displayName = "Tile";
77
- const h = ({ size: t = 48, ...e }) => {
78
- const { disabled: a } = s({
79
- consumerName: "TileSpot",
80
- contextRequired: !0
48
+ }) => {
49
+ const l = o({
50
+ consumerName: "Tile",
51
+ mergeWith: { disabled: d }
81
52
  });
82
- return /* @__PURE__ */ i(v, { ...e, size: t, disabled: a });
53
+ return /* @__PURE__ */ i(m, { value: { disabled: l }, children: /* @__PURE__ */ x(
54
+ "div",
55
+ {
56
+ ref: t,
57
+ style: f,
58
+ className: v.root({
59
+ className: e
60
+ }),
61
+ children: [
62
+ /* @__PURE__ */ i(
63
+ "button",
64
+ {
65
+ ...n,
66
+ onClick: a,
67
+ disabled: l,
68
+ className: v.inner({
69
+ appearance: c,
70
+ disabled: l,
71
+ centered: u
72
+ }),
73
+ children: /* @__PURE__ */ i(m, { value: { disabled: l }, children: b })
74
+ }
75
+ ),
76
+ r
77
+ ]
78
+ }
79
+ ) });
83
80
  };
84
- h.displayName = "TileSpot";
85
- const C = ({
81
+ g.displayName = "Tile";
82
+ const N = ({
86
83
  children: t,
87
84
  className: e,
88
85
  ...a
89
86
  }) => /* @__PURE__ */ i(
90
87
  "div",
91
88
  {
92
- className: l("flex w-full flex-col items-center text-center", e),
89
+ className: s("flex w-full flex-col items-center text-center", e),
93
90
  ...a,
94
91
  children: t
95
92
  }
96
93
  );
97
- C.displayName = "TileContent";
98
- const S = ({
94
+ N.displayName = "TileContent";
95
+ const h = ({
99
96
  children: t,
100
97
  className: e,
101
98
  ...a
102
99
  }) => {
103
- const { disabled: o } = s({
100
+ const r = o({
104
101
  consumerName: "TileTitle",
105
102
  contextRequired: !0
106
103
  });
107
104
  return /* @__PURE__ */ i(
108
105
  "div",
109
106
  {
110
- className: l(
107
+ className: s(
111
108
  "w-full truncate body-2-semi-bold",
112
- o && "text-disabled",
109
+ r && "text-disabled",
113
110
  e
114
111
  ),
115
112
  ...a,
@@ -117,22 +114,22 @@ const S = ({
117
114
  }
118
115
  );
119
116
  };
120
- S.displayName = "TileTitle";
121
- const k = ({
117
+ h.displayName = "TileTitle";
118
+ const C = ({
122
119
  children: t,
123
120
  className: e,
124
121
  ...a
125
122
  }) => {
126
- const { disabled: o } = s({
123
+ const r = o({
127
124
  consumerName: "TileDescription",
128
125
  contextRequired: !0
129
126
  });
130
127
  return /* @__PURE__ */ i(
131
128
  "div",
132
129
  {
133
- className: l(
130
+ className: s(
134
131
  "w-full truncate body-3",
135
- o ? "text-disabled" : "text-muted",
132
+ r ? "text-disabled" : "text-muted",
136
133
  e
137
134
  ),
138
135
  ...a,
@@ -140,63 +137,63 @@ const k = ({
140
137
  }
141
138
  );
142
139
  };
143
- k.displayName = "TileDescription";
144
- const w = ({
140
+ C.displayName = "TileDescription";
141
+ const k = ({
145
142
  children: t,
146
143
  className: e,
147
144
  ...a
148
145
  }) => /* @__PURE__ */ i(
149
146
  "div",
150
147
  {
151
- className: l("mt-4 flex w-full flex-col items-center gap-8", e),
148
+ className: s("mt-4 flex w-full flex-col items-center gap-8", e),
152
149
  ...a,
153
150
  children: t
154
151
  }
155
152
  );
156
- w.displayName = "TileTrailingContent";
157
- const q = ({
153
+ k.displayName = "TileTrailingContent";
154
+ const w = ({
158
155
  ref: t,
159
156
  onClick: e,
160
157
  icon: a,
161
- className: o,
158
+ className: r,
162
159
  "aria-label": c,
163
- ...r
160
+ ...d
164
161
  }) => {
165
- const { disabled: d } = s({
162
+ const u = o({
166
163
  consumerName: "TileSecondaryAction",
167
164
  contextRequired: !0
168
- }), u = x(
165
+ }), b = T(
169
166
  (n) => {
170
167
  n.stopPropagation(), n.preventDefault(), e?.(n);
171
168
  },
172
169
  [e]
173
170
  );
174
- if (d) return null;
175
- const p = a;
171
+ if (u)
172
+ return null;
173
+ const f = a;
176
174
  return /* @__PURE__ */ i(
177
175
  y,
178
176
  {
179
- className: l(
177
+ className: s(
180
178
  "absolute top-8 right-4 opacity-0 transition-opacity duration-200 group-hover:opacity-100 focus-within:opacity-100",
181
- o
179
+ r
182
180
  ),
183
181
  "data-secondary-button-container": !0,
184
182
  iconType: "stroked",
185
- onClick: u,
183
+ onClick: b,
186
184
  "aria-label": c,
187
185
  ref: t,
188
- ...r,
189
- children: /* @__PURE__ */ i(p, { size: 24 })
186
+ ...d,
187
+ children: /* @__PURE__ */ i(f, { size: 24 })
190
188
  }
191
189
  );
192
190
  };
193
- q.displayName = "TileSecondaryAction";
191
+ w.displayName = "TileSecondaryAction";
194
192
  export {
195
193
  g as Tile,
196
- C as TileContent,
197
- k as TileDescription,
198
- q as TileSecondaryAction,
199
- h as TileSpot,
200
- S as TileTitle,
201
- w as TileTrailingContent
194
+ N as TileContent,
195
+ C as TileDescription,
196
+ w as TileSecondaryAction,
197
+ h as TileTitle,
198
+ k as TileTrailingContent
202
199
  };
@@ -1,3 +1,3 @@
1
- export { Tile, TileSpot, TileContent, TileTitle, TileDescription, TileTrailingContent, TileSecondaryAction, } from './Tile';
1
+ export { Tile, TileContent, TileTitle, TileDescription, TileTrailingContent, TileSecondaryAction, } from './Tile';
2
2
  export * from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,SAAS,EACT,eAAe,EACf,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,SAAS,EACT,eAAe,EACf,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,cAAc,SAAS,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import { ButtonHTMLAttributes, ComponentPropsWithRef, ComponentType, MouseEventHandler, ReactNode, Ref } from 'react';
2
2
  import { IconProps } from '../Icon';
3
- import { DiscriminatedSpotProps, SpotSize } from '../Spot/types';
4
3
  export type TileContextValue = {
5
4
  disabled: boolean;
6
5
  };
7
- export type TileSpotSize = Extract<SpotSize, 40 | 48>;
8
6
  export type TileProps = {
9
7
  /**
10
8
  * The visual appearance of the tile background.
@@ -31,7 +29,7 @@ export type TileProps = {
31
29
  onClick?: MouseEventHandler<HTMLButtonElement>;
32
30
  /**
33
31
  * The children to display inside the tile.
34
- * Can include TileSpot, TileContent, TileTitle, TileDescription, TileSecondaryAction, and any custom content.
32
+ * Can include TileContent, TileTitle, TileDescription, TileSecondaryAction, and any custom content.
35
33
  */
36
34
  children: ReactNode;
37
35
  /**
@@ -53,13 +51,6 @@ export type TileProps = {
53
51
  */
54
52
  ref?: Ref<HTMLDivElement>;
55
53
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
56
- export type TileSpotProps = {
57
- /**
58
- * The size of the spot.
59
- * @default 48
60
- */
61
- size?: 40 | 48;
62
- } & DiscriminatedSpotProps;
63
54
  export type TileContentProps = {
64
55
  /**
65
56
  * The children to display inside the tile content area.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot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AC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACjD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,CAAC"}
@@ -22,7 +22,7 @@ import { TileButtonProps } from './types';
22
22
  * </TileButton>
23
23
  */
24
24
  export declare const TileButton: {
25
- ({ ref, icon: Icon, children, onClick, disabled, isFull, className, asChild, "aria-label": ariaLabel, ...props }: TileButtonProps): import("react/jsx-runtime").JSX.Element;
25
+ ({ ref, icon: Icon, children, onClick, disabled: disabledProp, isFull, className, asChild, "aria-label": ariaLabel, ...props }: TileButtonProps): import("react/jsx-runtime").JSX.Element;
26
26
  displayName: string;
27
27
  };
28
28
  //# sourceMappingURL=TileButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TileButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/TileButton/TileButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsC1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,UAAU;sHAWpB,eAAe;;CAiCjB,CAAC"}
1
+ {"version":3,"file":"TileButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/TileButton/TileButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsC1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,UAAU;oIAWpB,eAAe;;CAqCjB,CAAC"}
@@ -1,9 +1,9 @@
1
- import { jsxs as d, jsx as s } from "react/jsx-runtime";
2
- import { cn as p } from "../../../libs/utils-shared/dist/index.js";
3
- import { Slot as v, Slottable as x } from "@radix-ui/react-slot";
4
- import { cva as i } from "class-variance-authority";
5
- import { useCallback as g } from "react";
6
- const N = i(
1
+ import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
+ import { useDisabledContext as v, cn as x } from "../../../libs/utils-shared/dist/index.js";
3
+ import { Slot as g, Slottable as N } from "@radix-ui/react-slot";
4
+ import { cva as o } from "class-variance-authority";
5
+ import { useCallback as B } from "react";
6
+ const V = o(
7
7
  [
8
8
  "flex flex-col items-center gap-8 rounded-md p-12",
9
9
  "bg-surface body-2-semi-bold text-base transition-colors",
@@ -24,7 +24,7 @@ const N = i(
24
24
  isFull: !1
25
25
  }
26
26
  }
27
- ), V = i("shrink-0", {
27
+ ), h = o("shrink-0", {
28
28
  variants: {
29
29
  disabled: {
30
30
  true: "text-disabled",
@@ -39,37 +39,40 @@ const N = i(
39
39
  icon: n,
40
40
  children: a,
41
41
  onClick: l,
42
- disabled: e = !1,
42
+ disabled: d = !1,
43
43
  isFull: u = !1,
44
44
  className: c,
45
- asChild: t = !1,
46
- "aria-label": f,
47
- ...b
45
+ asChild: s = !1,
46
+ "aria-label": b,
47
+ ...f
48
48
  }) => {
49
- const m = g(
50
- (o) => {
49
+ const e = v({
50
+ consumerName: "TileButton",
51
+ mergeWith: { disabled: d }
52
+ }), m = B(
53
+ (i) => {
51
54
  if (e) {
52
- o.preventDefault();
55
+ i.preventDefault();
53
56
  return;
54
57
  }
55
- l?.(o);
58
+ l?.(i);
56
59
  },
57
60
  [e, l]
58
61
  );
59
- return /* @__PURE__ */ d(
60
- t ? v : "button",
62
+ return /* @__PURE__ */ p(
63
+ s ? g : "button",
61
64
  {
62
65
  ref: r,
63
- type: t ? void 0 : "button",
64
- className: p(N({ disabled: e, isFull: u }), c),
66
+ type: s ? void 0 : "button",
67
+ className: x(V({ disabled: e, isFull: u }), c),
65
68
  onClick: m,
66
69
  disabled: e,
67
70
  "data-disabled": e || void 0,
68
- "aria-label": f,
69
- ...b,
71
+ "aria-label": b,
72
+ ...f,
70
73
  children: [
71
- /* @__PURE__ */ s(n, { size: 20, className: V({ disabled: e }) }),
72
- t ? /* @__PURE__ */ s(x, { children: a }) : /* @__PURE__ */ s("span", { className: "line-clamp-2 text-center", children: a })
74
+ /* @__PURE__ */ t(n, { size: 20, className: h({ disabled: e }) }),
75
+ s ? /* @__PURE__ */ t(N, { children: a }) : /* @__PURE__ */ t("span", { className: "line-clamp-2 text-center", children: a })
73
76
  ]
74
77
  }
75
78
  );
@@ -1,4 +1,4 @@
1
- import { ButtonTriggerProps } from './types';
1
+ import { TriggerButtonProps } from './types';
2
2
  /**
3
3
  * Trigger button for select/dropdown components. Displays a label with an optional
4
4
  * leading icon and a trailing chevron indicator.
@@ -10,24 +10,24 @@ import { ButtonTriggerProps } from './types';
10
10
  * @see {@link https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7/2.-Components-Library?node-id=6389-45680 Figma}
11
11
  *
12
12
  * @example
13
- * import { ButtonTrigger } from '@ledgerhq/lumen-ui-react';
13
+ * import { TriggerButton } from '@ledgerhq/lumen-ui-react';
14
14
  * import { Settings } from '@ledgerhq/lumen-ui-react/symbols';
15
15
  *
16
16
  * // With flat interface icon
17
- * <ButtonTrigger icon={<Settings size={20} />} iconType="flat">
17
+ * <TriggerButton icon={<Settings size={20} />} iconType="flat">
18
18
  * Network
19
- * </ButtonTrigger>
19
+ * </TriggerButton>
20
20
  *
21
21
  * // With rounded crypto icon
22
- * <ButtonTrigger icon={<CryptoIcon ledgerId="bitcoin" size="32px" />} iconType="rounded">
22
+ * <TriggerButton icon={<CryptoIcon ledgerId="bitcoin" size="32px" />} iconType="rounded">
23
23
  * Bitcoin
24
- * </ButtonTrigger>
24
+ * </TriggerButton>
25
25
  *
26
26
  * // Without icon
27
- * <ButtonTrigger>All accounts</ButtonTrigger>
27
+ * <TriggerButton>All accounts</TriggerButton>
28
28
  */
29
- export declare const ButtonTrigger: {
30
- ({ ref, className, appearance, size, disabled, asChild, icon, iconType, children, ...props }: ButtonTriggerProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare const TriggerButton: {
30
+ ({ ref, className, appearance, size, disabled: disabledProp, asChild, icon, iconType, children, ...props }: TriggerButtonProps): import("react/jsx-runtime").JSX.Element;
31
31
  displayName: string;
32
32
  };
33
- //# sourceMappingURL=ButtonTrigger.d.ts.map
33
+ //# sourceMappingURL=TriggerButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriggerButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/TriggerButton/TriggerButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA4BlD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,aAAa;gHAWvB,kBAAkB;;CAmCpB,CAAC"}
@@ -0,0 +1,76 @@
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { useDisabledContext as f, cn as g } from "../../../libs/utils-shared/dist/index.js";
3
+ import { Slot as u, Slottable as T } from "@radix-ui/react-slot";
4
+ import { cva as b } from "class-variance-authority";
5
+ import { baseButtonVariants as x } from "../Button/BaseButton.js";
6
+ import { ChevronDown as z } from "../../Symbols/Icons/ChevronDown.js";
7
+ const N = b("gap-8 body-2-semi-bold", {
8
+ variants: {
9
+ size: {
10
+ sm: "",
11
+ md: ""
12
+ },
13
+ iconType: {
14
+ flat: "",
15
+ rounded: "",
16
+ none: ""
17
+ }
18
+ },
19
+ compoundVariants: [
20
+ { size: "md", iconType: "flat", class: "px-16 py-12" },
21
+ { size: "md", iconType: "rounded", class: "py-8 pr-16 pl-8" },
22
+ { size: "md", iconType: "none", class: "px-16 py-14" },
23
+ { size: "sm", iconType: "flat", class: "px-12 py-10" },
24
+ { size: "sm", iconType: "rounded", class: "py-8 pr-10 pl-8" },
25
+ { size: "sm", iconType: "none", class: "px-12 py-10" }
26
+ ],
27
+ defaultVariants: {
28
+ size: "md",
29
+ iconType: "none"
30
+ }
31
+ }), h = ({
32
+ ref: i,
33
+ className: r,
34
+ appearance: p = "gray",
35
+ size: l = "md",
36
+ disabled: m = !1,
37
+ asChild: n = !1,
38
+ icon: s,
39
+ iconType: c = "flat",
40
+ children: o,
41
+ ...d
42
+ }) => {
43
+ const a = f({
44
+ consumerName: "TriggerButton",
45
+ mergeWith: { disabled: m }
46
+ }), y = s ? c : "none";
47
+ return /* @__PURE__ */ t(
48
+ n ? u : "button",
49
+ {
50
+ ref: i,
51
+ className: g(
52
+ x({
53
+ appearance: p,
54
+ disabled: a,
55
+ loading: !1
56
+ }),
57
+ N({ size: l, iconType: y }),
58
+ r
59
+ ),
60
+ "data-disabled": a || void 0,
61
+ disabled: a,
62
+ ...d,
63
+ children: [
64
+ s && /* @__PURE__ */ e("span", { className: "shrink-0", children: s }),
65
+ /* @__PURE__ */ t("span", { className: "flex items-center gap-2", children: [
66
+ n ? /* @__PURE__ */ e(T, { children: o }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: o }),
67
+ /* @__PURE__ */ e(z, { size: 20, className: "shrink-0" })
68
+ ] })
69
+ ]
70
+ }
71
+ );
72
+ };
73
+ h.displayName = "TriggerButton";
74
+ export {
75
+ h as TriggerButton
76
+ };
@@ -0,0 +1,3 @@
1
+ export { TriggerButton } from './TriggerButton';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ButtonTrigger/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/TriggerButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { BaseButtonProps } from '../Button/types';
3
- export type ButtonTriggerProps = {
3
+ export type TriggerButtonProps = {
4
4
  /**
5
5
  * The visual style of the trigger button.
6
6
  * @default 'gray'
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ButtonTrigger/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/TriggerButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAAC,QAAQ,CAAC,CAAC"}
@@ -16,13 +16,14 @@ export * from './IconButton';
16
16
  export * from './InteractiveIcon';
17
17
  export * from './Link';
18
18
  export * from './ListItem';
19
+ export * from './MediaCard';
19
20
  export * from './Menu';
20
21
  export * from './NavBar';
21
22
  export * from './PageIndicator';
22
23
  export * from './SearchInput';
23
24
  export * from './SegmentedControl';
24
25
  export * from './Select';
25
- export * from './ButtonTrigger';
26
+ export * from './TriggerButton';
26
27
  export * from './SideBar';
27
28
  export * from './Skeleton';
28
29
  export * from './Spinner';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAA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C3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * NanoGen5 icon component.
3
+ *
4
+ * This icon component is automatically generated from SVG files and uses the createIcon utility
5
+ * to create a consistent icon interface. It supports all standard SVG props and additional
6
+ * size variants defined in the Icon component.
7
+ *
8
+ * @see {@link https://ldls.vercel.app/?path=/story/symbols-interface-icons--icon&args=name:NanoGen5 Storybook}
9
+ *
10
+ * @component
11
+ * @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
12
+ * @param {string} [className] - Additional CSS classes to apply to the icon.
13
+ * @param {React.SVGProps<SVGSVGElement>} [...props] - All standard SVG element props.
14
+ *
15
+ * @example
16
+ * // Basic usage with default size (24px)
17
+ * import { NanoGen5 } from '@ledgerhq/lumen-ui-react/symbols';
18
+ *
19
+ * <NanoGen5 />
20
+ *
21
+ * @example
22
+ * // With custom size and className
23
+ * <NanoGen5 size={40} className="text-warning" />
24
+ */
25
+ export declare const NanoGen5: {
26
+ ({ ref, className, disabled, ...props }: Omit<import('../../Components/Icon').IconProps, "children">): import('react').FunctionComponentElement<import('../../Components/Icon').IconProps>;
27
+ displayName: string;
28
+ };
29
+ //# sourceMappingURL=NanoGen5.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NanoGen5.d.ts","sourceRoot":"","sources":["../../../../src/lib/Symbols/Icons/NanoGen5.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,QAAQ;;;CAgBpB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import o from "../../Components/Icon/createIcon.js";
3
+ const c = o(
4
+ "NanoGen5",
5
+ /* @__PURE__ */ e(
6
+ "svg",
7
+ {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: "1em",
10
+ height: "1em",
11
+ fill: "currentColor",
12
+ viewBox: "0 0 16 16",
13
+ children: /* @__PURE__ */ e(
14
+ "path",
15
+ {
16
+ fill: "currentColor",
17
+ fillRule: "evenodd",
18
+ d: "M11 1.333c.92 0 1.667.747 1.667 1.667v.333c.184 0 .333.15.333.334v1.666a.334.334 0 0 1-.266.327l-.067.007V13c0 .92-.746 1.667-1.667 1.667H5c-.92 0-1.667-.746-1.667-1.667V3c0-.92.747-1.667 1.667-1.667zM9.667 12.667a.667.667 0 0 0 0 1.333H11a.667.667 0 0 0 0-1.333zM5 2.333A.667.667 0 0 0 4.333 3v8c0 .368.299.667.667.667h6a.667.667 0 0 0 .667-.667V3A.667.667 0 0 0 11 2.333z",
19
+ clipRule: "evenodd"
20
+ }
21
+ )
22
+ }
23
+ )
24
+ );
25
+ export {
26
+ c as NanoGen5
27
+ };
@@ -164,6 +164,7 @@ export { Moon } from './Icons/Moon';
164
164
  export { MoreHorizontal } from './Icons/MoreHorizontal';
165
165
  export { MoreVertical } from './Icons/MoreVertical';
166
166
  export { Nano } from './Icons/Nano';
167
+ export { NanoGen5 } from './Icons/NanoGen5';
167
168
  export { NetworkWarning } from './Icons/NetworkWarning';
168
169
  export { Nfc } from './Icons/Nfc';
169
170
  export { Nft } from './Icons/Nft';