@ledgerhq/lumen-ui-react 0.1.45 → 0.1.46
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/i18n/locales/de.json.d.ts +1 -3
- package/dist/i18n/locales/de.json.js +1 -1
- package/dist/i18n/locales/en.json.d.ts +1 -3
- package/dist/i18n/locales/en.json.js +1 -1
- package/dist/i18n/locales/es.json.d.ts +1 -3
- package/dist/i18n/locales/es.json.js +1 -1
- package/dist/i18n/locales/fr.json.d.ts +1 -3
- package/dist/i18n/locales/fr.json.js +1 -1
- package/dist/i18n/locales/ja.json.d.ts +1 -3
- package/dist/i18n/locales/ja.json.js +2 -2
- package/dist/i18n/locales/ko.json.d.ts +1 -3
- package/dist/i18n/locales/ko.json.js +2 -2
- package/dist/i18n/locales/pt.json.d.ts +1 -3
- package/dist/i18n/locales/pt.json.js +1 -1
- package/dist/i18n/locales/ru.json.d.ts +1 -3
- package/dist/i18n/locales/ru.json.js +1 -1
- package/dist/i18n/locales/th.json.d.ts +1 -3
- package/dist/i18n/locales/th.json.js +2 -2
- package/dist/i18n/locales/tr.json.d.ts +1 -3
- package/dist/i18n/locales/tr.json.js +2 -2
- package/dist/i18n/locales/zh.json.d.ts +1 -3
- package/dist/i18n/locales/zh.json.js +2 -2
- package/dist/index.js +169 -165
- package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +33 -40
- package/dist/lib/Components/Avatar/types.d.ts +0 -6
- package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/lib/Components/Card/Card.js +4 -4
- package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/Components/DataTable/DataTable.js +97 -80
- package/dist/lib/Components/DataTable/types.d.ts +2 -1
- package/dist/lib/Components/DataTable/types.d.ts.map +1 -1
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +24 -0
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -0
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +11 -0
- package/dist/lib/Components/DotIndicator/index.d.ts +1 -0
- package/dist/lib/Components/DotIndicator/index.d.ts.map +1 -1
- package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
- package/dist/lib/Components/Table/Table.d.ts +17 -1
- package/dist/lib/Components/Table/Table.d.ts.map +1 -1
- package/dist/lib/Components/Table/Table.js +117 -88
- package/dist/lib/Components/Table/types.d.ts +23 -0
- package/dist/lib/Components/Table/types.d.ts.map +1 -1
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +5 -5
- package/dist/lib/Symbols/Icons/ChevronAscending.js +1 -1
- package/dist/lib/Symbols/Icons/ChevronDescending.js +1 -1
- package/dist/lib/Symbols/Icons/Contact.d.ts +29 -0
- package/dist/lib/Symbols/Icons/Contact.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Contact.js +28 -0
- package/dist/lib/Symbols/index.d.ts +1 -0
- package/dist/lib/Symbols/index.d.ts.map +1 -1
- package/dist/lib/Symbols/index.js +388 -386
- package/dist/libs/utils-shared/dist/index.js +58 -52
- package/dist/package.json +3 -3
- package/package.json +3 -3
- package/dist/lib/Components/Design-tokens/shared.d.ts +0 -20
- package/dist/lib/Components/Design-tokens/shared.d.ts.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { createSafeContext as N, cn as c } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
-
import { cva as
|
|
4
|
-
import { useThrottledScrollBottom as
|
|
5
|
-
import { Spot as
|
|
3
|
+
import { cva as s } from "class-variance-authority";
|
|
4
|
+
import { useThrottledScrollBottom as T } from "./utils/useThrottledScrollBottom.js";
|
|
5
|
+
import { Spot as y } from "../Spot/Spot.js";
|
|
6
6
|
import { Information as w } from "../../Symbols/Icons/Information.js";
|
|
7
7
|
import { useCommonTranslation as C } from "../../../i18n/useCommonTranslation.js";
|
|
8
8
|
import { ChevronUpDown as R } from "../../Symbols/Icons/ChevronUpDown.js";
|
|
9
|
-
import { ChevronDescending as
|
|
10
|
-
import { ChevronAscending as
|
|
9
|
+
import { ChevronDescending as B } from "../../Symbols/Icons/ChevronDescending.js";
|
|
10
|
+
import { ChevronAscending as j } from "../../Symbols/Icons/ChevronAscending.js";
|
|
11
11
|
import { InteractiveIcon as k } from "../InteractiveIcon/InteractiveIcon.js";
|
|
12
|
-
const [H, u] = N("Table"), I =
|
|
12
|
+
const [H, u] = N("Table"), I = s(
|
|
13
13
|
"relative scrollbar-none w-full max-w-full border-collapse overflow-x-auto rounded-lg",
|
|
14
14
|
{
|
|
15
15
|
variants: {
|
|
@@ -19,30 +19,30 @@ const [H, u] = N("Table"), I = o(
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
),
|
|
22
|
+
), Q = ({
|
|
23
23
|
children: a,
|
|
24
24
|
appearance: e = "no-background",
|
|
25
25
|
className: t,
|
|
26
26
|
onScrollBottom: n,
|
|
27
|
-
loading:
|
|
28
|
-
ref:
|
|
27
|
+
loading: l,
|
|
28
|
+
ref: o,
|
|
29
29
|
...i
|
|
30
30
|
}) => {
|
|
31
|
-
const d =
|
|
31
|
+
const d = T({
|
|
32
32
|
onScrollBottom: n,
|
|
33
|
-
loading:
|
|
33
|
+
loading: l
|
|
34
34
|
});
|
|
35
|
-
return /* @__PURE__ */ r(H, { value: { appearance: e, loading:
|
|
35
|
+
return /* @__PURE__ */ r(H, { value: { appearance: e, loading: l }, children: /* @__PURE__ */ r(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
38
|
...i,
|
|
39
|
-
ref:
|
|
39
|
+
ref: o,
|
|
40
40
|
className: I({ appearance: e, className: t }),
|
|
41
41
|
onScroll: d,
|
|
42
42
|
children: a
|
|
43
43
|
}
|
|
44
44
|
) });
|
|
45
|
-
},
|
|
45
|
+
}, W = ({ children: a, className: e, ref: t, ...n }) => /* @__PURE__ */ r(
|
|
46
46
|
"table",
|
|
47
47
|
{
|
|
48
48
|
...n,
|
|
@@ -50,37 +50,64 @@ const [H, u] = N("Table"), I = o(
|
|
|
50
50
|
ref: t,
|
|
51
51
|
children: a
|
|
52
52
|
}
|
|
53
|
-
),
|
|
53
|
+
), X = ({
|
|
54
|
+
children: a,
|
|
55
|
+
className: e,
|
|
56
|
+
ref: t,
|
|
57
|
+
...n
|
|
58
|
+
}) => /* @__PURE__ */ r("colgroup", { ref: t, className: e, ...n, children: a }), S = s("", {
|
|
59
|
+
variants: {
|
|
60
|
+
hideBelow: {
|
|
61
|
+
xs: "hidden xs:table-column",
|
|
62
|
+
sm: "hidden sm:table-column",
|
|
63
|
+
md: "hidden md:table-column",
|
|
64
|
+
lg: "hidden lg:table-column",
|
|
65
|
+
xl: "hidden xl:table-column"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}), Y = ({
|
|
69
|
+
className: a,
|
|
70
|
+
hideBelow: e,
|
|
71
|
+
ref: t,
|
|
72
|
+
...n
|
|
73
|
+
}) => /* @__PURE__ */ r(
|
|
74
|
+
"col",
|
|
75
|
+
{
|
|
76
|
+
ref: t,
|
|
77
|
+
className: S({ hideBelow: e, className: a }),
|
|
78
|
+
...n
|
|
79
|
+
}
|
|
80
|
+
), Z = ({
|
|
54
81
|
children: a,
|
|
55
82
|
className: e,
|
|
56
83
|
ref: t,
|
|
57
84
|
...n
|
|
58
|
-
}) => /* @__PURE__ */ r("thead", { ref: t, className: e, ...n, children: a }),
|
|
85
|
+
}) => /* @__PURE__ */ r("thead", { ref: t, className: e, ...n, children: a }), _ = ({
|
|
59
86
|
children: a,
|
|
60
87
|
className: e,
|
|
61
88
|
ref: t,
|
|
62
89
|
...n
|
|
63
|
-
}) => /* @__PURE__ */ r("tbody", { ref: t, className: e, ...n, children: a }),
|
|
90
|
+
}) => /* @__PURE__ */ r("tbody", { ref: t, className: e, ...n, children: a }), $ = ({
|
|
64
91
|
children: a,
|
|
65
92
|
className: e,
|
|
66
93
|
clickable: t = !1,
|
|
67
94
|
onClick: n,
|
|
68
|
-
ref:
|
|
69
|
-
...
|
|
95
|
+
ref: l,
|
|
96
|
+
...o
|
|
70
97
|
}) => /* @__PURE__ */ r(
|
|
71
98
|
"tr",
|
|
72
99
|
{
|
|
73
|
-
ref:
|
|
100
|
+
ref: l,
|
|
74
101
|
onClick: n,
|
|
75
102
|
role: t ? "button" : void 0,
|
|
76
103
|
className: c(
|
|
77
104
|
t && "cursor-pointer outline-none select-none hover:bg-base-transparent-hover active:bg-base-transparent-pressed",
|
|
78
105
|
e
|
|
79
106
|
),
|
|
80
|
-
...
|
|
107
|
+
...o,
|
|
81
108
|
children: a
|
|
82
109
|
}
|
|
83
|
-
),
|
|
110
|
+
), V = s("", {
|
|
84
111
|
variants: {
|
|
85
112
|
appearance: {
|
|
86
113
|
"no-background": "bg-canvas",
|
|
@@ -91,14 +118,14 @@ const [H, u] = N("Table"), I = o(
|
|
|
91
118
|
false: ""
|
|
92
119
|
}
|
|
93
120
|
}
|
|
94
|
-
}),
|
|
121
|
+
}), D = ({
|
|
95
122
|
children: a,
|
|
96
123
|
className: e,
|
|
97
124
|
stickyHeader: t = !0,
|
|
98
125
|
ref: n,
|
|
99
|
-
...
|
|
126
|
+
...l
|
|
100
127
|
}) => {
|
|
101
|
-
const { appearance:
|
|
128
|
+
const { appearance: o } = u({
|
|
102
129
|
consumerName: "TableHeaderRow",
|
|
103
130
|
contextRequired: !0
|
|
104
131
|
});
|
|
@@ -106,34 +133,34 @@ const [H, u] = N("Table"), I = o(
|
|
|
106
133
|
"tr",
|
|
107
134
|
{
|
|
108
135
|
ref: n,
|
|
109
|
-
className:
|
|
110
|
-
...
|
|
136
|
+
className: V({ appearance: o, stickyHeader: t, className: e }),
|
|
137
|
+
...l,
|
|
111
138
|
children: a
|
|
112
139
|
}
|
|
113
140
|
);
|
|
114
|
-
},
|
|
141
|
+
}, ee = ({
|
|
115
142
|
children: a,
|
|
116
143
|
className: e,
|
|
117
144
|
colSpan: t = 1,
|
|
118
145
|
ref: n,
|
|
119
|
-
...
|
|
146
|
+
...l
|
|
120
147
|
}) => {
|
|
121
|
-
const { appearance:
|
|
148
|
+
const { appearance: o } = u({
|
|
122
149
|
consumerName: "TableGroupHeaderRow",
|
|
123
150
|
contextRequired: !0
|
|
124
151
|
});
|
|
125
|
-
return /* @__PURE__ */ r("tr", { ref: n, className: c("h-40", e), ...
|
|
152
|
+
return /* @__PURE__ */ r("tr", { ref: n, className: c("h-40", e), ...l, children: /* @__PURE__ */ r("td", { colSpan: t, children: /* @__PURE__ */ r(
|
|
126
153
|
"div",
|
|
127
154
|
{
|
|
128
155
|
className: c(
|
|
129
156
|
"flex h-32 w-full items-center bg-muted px-12 body-3 text-base",
|
|
130
|
-
|
|
157
|
+
o === "no-background" && "rounded-sm"
|
|
131
158
|
),
|
|
132
159
|
children: a
|
|
133
160
|
}
|
|
134
161
|
) }) });
|
|
135
162
|
}, p = {
|
|
136
|
-
root:
|
|
163
|
+
root: s(
|
|
137
164
|
"h-64 truncate p-12 body-3 text-base first:rounded-l-md last:rounded-r-md",
|
|
138
165
|
{
|
|
139
166
|
variants: {
|
|
@@ -147,7 +174,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
147
174
|
}
|
|
148
175
|
}
|
|
149
176
|
),
|
|
150
|
-
inner:
|
|
177
|
+
inner: s("flex flex-1 justify-end", {
|
|
151
178
|
variants: {
|
|
152
179
|
align: {
|
|
153
180
|
start: "text-start justify-start",
|
|
@@ -155,52 +182,52 @@ const [H, u] = N("Table"), I = o(
|
|
|
155
182
|
}
|
|
156
183
|
}
|
|
157
184
|
})
|
|
158
|
-
},
|
|
185
|
+
}, te = ({
|
|
159
186
|
children: a,
|
|
160
187
|
className: e,
|
|
161
188
|
hideBelow: t,
|
|
162
189
|
align: n = "start",
|
|
163
|
-
ref:
|
|
164
|
-
...
|
|
190
|
+
ref: l,
|
|
191
|
+
...o
|
|
165
192
|
}) => /* @__PURE__ */ r(
|
|
166
193
|
"td",
|
|
167
194
|
{
|
|
168
|
-
ref:
|
|
195
|
+
ref: l,
|
|
169
196
|
className: p.root({ hideBelow: t, className: e }),
|
|
170
|
-
...
|
|
197
|
+
...o,
|
|
171
198
|
children: /* @__PURE__ */ r("div", { className: p.inner({ align: n }), children: a })
|
|
172
199
|
}
|
|
173
|
-
), A =
|
|
200
|
+
), A = s("flex min-w-0 items-center gap-12", {
|
|
174
201
|
variants: {
|
|
175
202
|
align: {
|
|
176
203
|
start: "text-start",
|
|
177
204
|
end: "text-end"
|
|
178
205
|
}
|
|
179
206
|
}
|
|
180
|
-
}),
|
|
207
|
+
}), ae = ({
|
|
181
208
|
className: a,
|
|
182
209
|
align: e = "start",
|
|
183
210
|
leadingContent: t,
|
|
184
211
|
title: n,
|
|
185
|
-
description:
|
|
186
|
-
ref:
|
|
212
|
+
description: l,
|
|
213
|
+
ref: o,
|
|
187
214
|
...i
|
|
188
215
|
}) => /* @__PURE__ */ m(
|
|
189
216
|
"div",
|
|
190
217
|
{
|
|
191
|
-
ref:
|
|
218
|
+
ref: o,
|
|
192
219
|
className: A({ align: e, className: a }),
|
|
193
220
|
...i,
|
|
194
221
|
children: [
|
|
195
222
|
t && /* @__PURE__ */ r("div", { className: "shrink-0", children: t }),
|
|
196
223
|
/* @__PURE__ */ m("div", { className: "flex min-w-0 flex-col gap-4", children: [
|
|
197
224
|
/* @__PURE__ */ r("div", { className: "shrink-0 body-2 text-base", children: n }),
|
|
198
|
-
/* @__PURE__ */ r("div", { className: "truncate body-3 text-muted", children:
|
|
225
|
+
/* @__PURE__ */ r("div", { className: "truncate body-3 text-muted", children: l })
|
|
199
226
|
] })
|
|
200
227
|
]
|
|
201
228
|
}
|
|
202
229
|
), f = {
|
|
203
|
-
root:
|
|
230
|
+
root: s("group h-40 truncate p-12 body-3 text-base", {
|
|
204
231
|
variants: {
|
|
205
232
|
hideBelow: {
|
|
206
233
|
xs: "hidden xs:table-cell",
|
|
@@ -211,7 +238,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
211
238
|
}
|
|
212
239
|
}
|
|
213
240
|
}),
|
|
214
|
-
content:
|
|
241
|
+
content: s("flex min-w-0 items-center gap-4 truncate", {
|
|
215
242
|
variants: {
|
|
216
243
|
align: {
|
|
217
244
|
start: "text-start justify-start",
|
|
@@ -219,16 +246,16 @@ const [H, u] = N("Table"), I = o(
|
|
|
219
246
|
}
|
|
220
247
|
}
|
|
221
248
|
}),
|
|
222
|
-
trailingContent:
|
|
249
|
+
trailingContent: s(
|
|
223
250
|
"flex items-center justify-center opacity-0 group-hover:opacity-100"
|
|
224
251
|
)
|
|
225
|
-
},
|
|
252
|
+
}, ne = ({
|
|
226
253
|
children: a,
|
|
227
254
|
className: e,
|
|
228
255
|
scope: t = "col",
|
|
229
256
|
hideBelow: n,
|
|
230
|
-
align:
|
|
231
|
-
trailingContent:
|
|
257
|
+
align: l = "start",
|
|
258
|
+
trailingContent: o,
|
|
232
259
|
ref: i,
|
|
233
260
|
...d
|
|
234
261
|
}) => /* @__PURE__ */ r(
|
|
@@ -238,12 +265,12 @@ const [H, u] = N("Table"), I = o(
|
|
|
238
265
|
scope: t,
|
|
239
266
|
className: f.root({ hideBelow: n, className: e }),
|
|
240
267
|
...d,
|
|
241
|
-
children: /* @__PURE__ */ r("div", { className: "min-w-0", children: /* @__PURE__ */ m("div", { className: f.content({ align:
|
|
242
|
-
/* @__PURE__ */ r("span", { className: c("truncate",
|
|
243
|
-
/* @__PURE__ */ r("div", { className: "flex items-center justify-center opacity-0 group-hover:opacity-100", children:
|
|
268
|
+
children: /* @__PURE__ */ r("div", { className: "min-w-0", children: /* @__PURE__ */ m("div", { className: f.content({ align: l }), children: [
|
|
269
|
+
/* @__PURE__ */ r("span", { className: c("truncate", l === "end" && "order-1"), children: a }),
|
|
270
|
+
/* @__PURE__ */ r("div", { className: "flex items-center justify-center opacity-0 group-hover:opacity-100", children: o })
|
|
244
271
|
] }) })
|
|
245
272
|
}
|
|
246
|
-
),
|
|
273
|
+
), re = ({
|
|
247
274
|
children: a,
|
|
248
275
|
className: e,
|
|
249
276
|
ref: t,
|
|
@@ -256,7 +283,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
256
283
|
...n,
|
|
257
284
|
children: a
|
|
258
285
|
}
|
|
259
|
-
),
|
|
286
|
+
), le = ({
|
|
260
287
|
children: a,
|
|
261
288
|
className: e,
|
|
262
289
|
ref: t,
|
|
@@ -269,7 +296,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
269
296
|
...n,
|
|
270
297
|
children: a
|
|
271
298
|
}
|
|
272
|
-
),
|
|
299
|
+
), oe = ({
|
|
273
300
|
children: a,
|
|
274
301
|
className: e,
|
|
275
302
|
ref: t,
|
|
@@ -282,7 +309,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
282
309
|
...n,
|
|
283
310
|
children: a
|
|
284
311
|
}
|
|
285
|
-
),
|
|
312
|
+
), se = ({
|
|
286
313
|
className: a,
|
|
287
314
|
ref: e,
|
|
288
315
|
...t
|
|
@@ -300,10 +327,10 @@ const [H, u] = N("Table"), I = o(
|
|
|
300
327
|
"flex h-80 w-full items-center justify-center p-12",
|
|
301
328
|
a
|
|
302
329
|
),
|
|
303
|
-
children: /* @__PURE__ */ r(
|
|
330
|
+
children: /* @__PURE__ */ r(y, { appearance: "loader", size: 48 })
|
|
304
331
|
}
|
|
305
332
|
) : null;
|
|
306
|
-
},
|
|
333
|
+
}, ce = ({
|
|
307
334
|
className: a,
|
|
308
335
|
ref: e,
|
|
309
336
|
...t
|
|
@@ -318,11 +345,11 @@ const [H, u] = N("Table"), I = o(
|
|
|
318
345
|
ref: e
|
|
319
346
|
}
|
|
320
347
|
), L = {
|
|
321
|
-
asc:
|
|
322
|
-
desc:
|
|
348
|
+
asc: j,
|
|
349
|
+
desc: B,
|
|
323
350
|
idle: R
|
|
324
351
|
}, h = {
|
|
325
|
-
root:
|
|
352
|
+
root: s(
|
|
326
353
|
[
|
|
327
354
|
"flex min-w-0 cursor-pointer items-center gap-4",
|
|
328
355
|
"rounded-xs focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus"
|
|
@@ -336,7 +363,7 @@ const [H, u] = N("Table"), I = o(
|
|
|
336
363
|
}
|
|
337
364
|
}
|
|
338
365
|
),
|
|
339
|
-
icon:
|
|
366
|
+
icon: s("", {
|
|
340
367
|
variants: {
|
|
341
368
|
active: {
|
|
342
369
|
true: "opacity-100",
|
|
@@ -344,17 +371,17 @@ const [H, u] = N("Table"), I = o(
|
|
|
344
371
|
}
|
|
345
372
|
}
|
|
346
373
|
})
|
|
347
|
-
},
|
|
374
|
+
}, ie = ({
|
|
348
375
|
children: a,
|
|
349
376
|
sortDirection: e,
|
|
350
377
|
align: t = "start",
|
|
351
378
|
onToggleSort: n,
|
|
352
|
-
className:
|
|
353
|
-
onClick:
|
|
379
|
+
className: l,
|
|
380
|
+
onClick: o,
|
|
354
381
|
ref: i,
|
|
355
382
|
...d
|
|
356
383
|
}) => {
|
|
357
|
-
const { t: b } = C(),
|
|
384
|
+
const { t: b } = C(), x = L[e || "idle"], v = {
|
|
358
385
|
asc: b("components.table.ascAriaLabel"),
|
|
359
386
|
desc: b("components.table.descAriaLabel")
|
|
360
387
|
};
|
|
@@ -364,15 +391,15 @@ const [H, u] = N("Table"), I = o(
|
|
|
364
391
|
...d,
|
|
365
392
|
ref: i,
|
|
366
393
|
type: "button",
|
|
367
|
-
className: h.root({ align: t, className:
|
|
368
|
-
"aria-label": e ?
|
|
394
|
+
className: h.root({ align: t, className: l }),
|
|
395
|
+
"aria-label": e ? v[e] : void 0,
|
|
369
396
|
onClick: (g) => {
|
|
370
|
-
|
|
397
|
+
o?.(g), n?.(e === "asc" ? "desc" : "asc");
|
|
371
398
|
},
|
|
372
399
|
children: [
|
|
373
400
|
/* @__PURE__ */ r("span", { className: "min-w-0 truncate", children: a }),
|
|
374
401
|
/* @__PURE__ */ r(
|
|
375
|
-
|
|
402
|
+
x,
|
|
376
403
|
{
|
|
377
404
|
size: 20,
|
|
378
405
|
className: h.icon({
|
|
@@ -385,20 +412,22 @@ const [H, u] = N("Table"), I = o(
|
|
|
385
412
|
);
|
|
386
413
|
};
|
|
387
414
|
export {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
ee as
|
|
398
|
-
Z as
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
415
|
+
W as Table,
|
|
416
|
+
re as TableActionBar,
|
|
417
|
+
le as TableActionBarLeading,
|
|
418
|
+
oe as TableActionBarTrailing,
|
|
419
|
+
_ as TableBody,
|
|
420
|
+
te as TableCell,
|
|
421
|
+
ae as TableCellContent,
|
|
422
|
+
Y as TableCol,
|
|
423
|
+
X as TableColGroup,
|
|
424
|
+
ee as TableGroupHeaderRow,
|
|
425
|
+
Z as TableHeader,
|
|
426
|
+
ne as TableHeaderCell,
|
|
427
|
+
D as TableHeaderRow,
|
|
428
|
+
ce as TableInfoIcon,
|
|
429
|
+
se as TableLoadingRow,
|
|
430
|
+
Q as TableRoot,
|
|
431
|
+
$ as TableRow,
|
|
432
|
+
ie as TableSortButton
|
|
404
433
|
};
|
|
@@ -226,6 +226,29 @@ export type TableInfoIconProps = {
|
|
|
226
226
|
*/
|
|
227
227
|
className?: string;
|
|
228
228
|
} & Omit<ComponentPropsWithRef<'button'>, 'children'>;
|
|
229
|
+
export type TableColGroupProps = {
|
|
230
|
+
/**
|
|
231
|
+
* The column definitions (TableCol)
|
|
232
|
+
*/
|
|
233
|
+
children: ReactNode;
|
|
234
|
+
/**
|
|
235
|
+
* Custom classname
|
|
236
|
+
*/
|
|
237
|
+
className?: string;
|
|
238
|
+
} & ComponentPropsWithRef<'colgroup'>;
|
|
239
|
+
export type TableColProps = {
|
|
240
|
+
/**
|
|
241
|
+
* Collapses this column's width to 0 when the screen width is below the
|
|
242
|
+
* specified breakpoint. Pair with `hideBelow` on the matching cells so the
|
|
243
|
+
* column is fully removed responsively while keeping its fixed width above
|
|
244
|
+
* the breakpoint.
|
|
245
|
+
*/
|
|
246
|
+
hideBelow?: Breakpoints;
|
|
247
|
+
/**
|
|
248
|
+
* Custom classname
|
|
249
|
+
*/
|
|
250
|
+
className?: string;
|
|
251
|
+
} & ComponentPropsWithRef<'col'>;
|
|
229
252
|
export type TableSortValue = 'asc' | 'desc' | undefined;
|
|
230
253
|
export type TableSortButtonProps = {
|
|
231
254
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC;IACvC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAEnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,SA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IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { throttle as h } from "../../../../libs/utils-shared/dist/index.js";
|
|
2
2
|
import { useMemo as L, useRef as s, useEffect as _ } from "react";
|
|
3
|
-
import { TABLE_SCROLL_BOTTOM_THRESHOLD_IN_ROW as
|
|
4
|
-
const
|
|
3
|
+
import { TABLE_SCROLL_BOTTOM_THRESHOLD_IN_ROW as R, TABLE_CELL_HEIGHT as a } from "../constants.js";
|
|
4
|
+
const m = 150, E = ({
|
|
5
5
|
element: t,
|
|
6
6
|
threshold: r = 10
|
|
7
7
|
}) => {
|
|
@@ -10,10 +10,10 @@ const a = 150, E = ({
|
|
|
10
10
|
}, p = ({
|
|
11
11
|
onScrollBottom: t,
|
|
12
12
|
loading: r = !1,
|
|
13
|
-
thresholdInRow: c =
|
|
13
|
+
thresholdInRow: c = R
|
|
14
14
|
}) => {
|
|
15
15
|
const n = L(
|
|
16
|
-
() => c *
|
|
16
|
+
() => c * a,
|
|
17
17
|
[c]
|
|
18
18
|
), e = s(t), u = s(r);
|
|
19
19
|
e.current = t, u.current = r;
|
|
@@ -22,7 +22,7 @@ const a = 150, E = ({
|
|
|
22
22
|
return;
|
|
23
23
|
const T = h((o) => {
|
|
24
24
|
u.current || !e.current || E({ element: o, threshold: n }) && e.current();
|
|
25
|
-
},
|
|
25
|
+
}, m);
|
|
26
26
|
return l.current = T, (o) => {
|
|
27
27
|
const i = o.currentTarget;
|
|
28
28
|
i && T(i);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contact 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/react-icon--base&args=name:Contact 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 { Contact } from '@ledgerhq/lumen-ui-react/symbols';
|
|
18
|
+
*
|
|
19
|
+
* <Contact />
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // With custom size and className
|
|
23
|
+
* <Contact size={40} className="text-warning" />
|
|
24
|
+
*/
|
|
25
|
+
export declare const Contact: {
|
|
26
|
+
({ ref, className, disabled, ...props }: Omit<import('../../Components/Icon').IconProps, "children">): import('react').FunctionComponentElement<import('../../Components/Icon').IconProps>;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=Contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/Symbols/Icons/Contact.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,OAAO;;;CAiBnB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import t from "../../Components/Icon/createIcon.js";
|
|
3
|
+
const c = t(
|
|
4
|
+
"Contact",
|
|
5
|
+
/* @__PURE__ */ o(
|
|
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__ */ o(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
strokeWidth: 1.3,
|
|
20
|
+
d: "M10.667 2h1.666c.737 0 1.334.597 1.334 1.333v9.334c0 .736-.597 1.333-1.334 1.333h-1.666m0 0H3.999a1.33 1.33 0 0 1-1.327-1.334V3.327c0-.733.593-1.334 1.333-1.327h6.668C11.407 2 12 2.58 12 3.32v9.346A1.34 1.34 0 0 1 10.667 14m2.666-9H12m1.333 3H12m1.333 3H12m-2.333-.333A2.069 2.069 0 0 0 7.752 9.38h-.837c-.524 0-1.02.186-1.398.538-.226.201-.4.453-.517.733m3.17-4.967a1.156 1.156 0 0 1 0 1.646 1.2 1.2 0 0 1-1.674 0 1.15 1.15 0 0 1 0-1.653 1.18 1.18 0 0 1 1.667 0"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
export {
|
|
27
|
+
c as Contact
|
|
28
|
+
};
|
|
@@ -71,6 +71,7 @@ export { CoinsEye } from './Icons/CoinsEye';
|
|
|
71
71
|
export { ColorPalette } from './Icons/ColorPalette';
|
|
72
72
|
export { Compass } from './Icons/Compass';
|
|
73
73
|
export { ComputerMobile } from './Icons/ComputerMobile';
|
|
74
|
+
export { Contact } from './Icons/Contact';
|
|
74
75
|
export { Copy } from './Icons/Copy';
|
|
75
76
|
export { CreditCard } from './Icons/CreditCard';
|
|
76
77
|
export { CreditCardFill } from './Icons/CreditCardFill';
|