@ledgerhq/lumen-ui-react 0.1.45 → 0.1.47
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 -161
- package/dist/lib/Components/AmountInput/AmountInput.js +2 -2
- 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/BaseInput/BaseInput.d.ts +1 -1
- package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/lib/Components/BaseInput/BaseInput.js +119 -93
- package/dist/lib/Components/BaseInput/types.d.ts +24 -0
- package/dist/lib/Components/BaseInput/types.d.ts.map +1 -1
- package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/lib/Components/Card/Card.js +5 -5
- package/dist/lib/Components/CardButton/CardButton.js +1 -1
- 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/DescriptionItem/DescriptionItem.d.ts +1 -1
- package/dist/lib/Components/DescriptionItem/DescriptionItem.d.ts.map +1 -1
- package/dist/lib/Components/DescriptionItem/DescriptionItem.js +74 -48
- package/dist/lib/Components/DescriptionItem/types.d.ts +6 -0
- package/dist/lib/Components/DescriptionItem/types.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +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/Icon/Icon.js +8 -8
- package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/lib/Components/ListItem/ListItem.js +118 -68
- package/dist/lib/Components/ListItem/types.d.ts +11 -1
- package/dist/lib/Components/ListItem/types.d.ts.map +1 -1
- package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
- package/dist/lib/Components/Menu/Menu.d.ts +1 -1
- package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/Menu/Menu.js +79 -65
- package/dist/lib/Components/Menu/types.d.ts +6 -0
- package/dist/lib/Components/Menu/types.d.ts.map +1 -1
- package/dist/lib/Components/SearchInput/SearchInput.js +10 -10
- package/dist/lib/Components/SectionHeader/SectionHeader.d.ts +33 -0
- package/dist/lib/Components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/lib/Components/SectionHeader/SectionHeader.js +56 -0
- package/dist/lib/Components/SectionHeader/index.d.ts +3 -0
- package/dist/lib/Components/SectionHeader/index.d.ts.map +1 -0
- package/dist/lib/Components/SectionHeader/types.d.ts +26 -0
- package/dist/lib/Components/SectionHeader/types.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/SideBar.js +2 -2
- package/dist/lib/Components/Spot/Spot.js +5 -5
- 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 +121 -92
- 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/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/lib/Components/TileButton/TileButton.js +52 -39
- package/dist/lib/Components/TileButton/types.d.ts +5 -0
- package/dist/lib/Components/TileButton/types.d.ts.map +1 -1
- package/dist/lib/Components/Trend/Trend.js +2 -2
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- 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/Icons/Upload.d.ts +29 -0
- package/dist/lib/Symbols/Icons/Upload.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Upload.js +28 -0
- package/dist/lib/Symbols/index.d.ts +2 -0
- package/dist/lib/Symbols/index.d.ts.map +1 -1
- package/dist/lib/Symbols/index.js +396 -392
- 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,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as M, createContext as
|
|
1
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as M, createContext as L, useRef as W, useContext as E } from "react";
|
|
3
3
|
import { clsx as I } from "clsx";
|
|
4
4
|
import { twMerge as q } from "tailwind-merge";
|
|
5
5
|
function ee(e) {
|
|
@@ -10,54 +10,54 @@ const N = {
|
|
|
10
10
|
sm: { max: 28, min: 12, scale: 2, startAt: 6 }
|
|
11
11
|
};
|
|
12
12
|
function te(e, t = "md") {
|
|
13
|
-
const { max: r, min: a, scale: l, startAt:
|
|
14
|
-
return Math.max(a, r - Math.max(0, n -
|
|
13
|
+
const { max: r, min: a, scale: l, startAt: o } = N[t], n = e.replace(/\D/g, "").length;
|
|
14
|
+
return Math.max(a, r - Math.max(0, n - o) * l);
|
|
15
15
|
}
|
|
16
16
|
function F(e, t = !0) {
|
|
17
17
|
if (!e) return "";
|
|
18
|
-
const r = e.includes("."), [a, l] = e.split("."),
|
|
19
|
-
return r && t ? l ? `${
|
|
18
|
+
const r = e.includes("."), [a, l] = e.split("."), o = a.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
|
|
19
|
+
return r && t ? l ? `${o}.${l}` : `${o}.` : o;
|
|
20
20
|
}
|
|
21
21
|
const z = (e) => e.replaceAll(",", ".").replaceAll(/[^\d.]/g, ""), B = (e) => e.replace(/^0+(?=\d)/, ""), A = (e, t) => t > 0 ? e.slice(0, t) : e, K = (e, t) => A(e.replaceAll(/\D/g, ""), t), U = (e, t, r) => {
|
|
22
22
|
if (e === ".") return "0.";
|
|
23
23
|
const a = e.indexOf(".");
|
|
24
24
|
if (a === -1) return A(e, t);
|
|
25
|
-
const l = A(e.slice(0, a), t) || "0",
|
|
26
|
-
return
|
|
25
|
+
const l = A(e.slice(0, a), t) || "0", o = e.slice(a + 1).replaceAll(".", "").slice(0, r);
|
|
26
|
+
return o.length > 0 ? `${l}.${o}` : e.endsWith(".") ? `${l}.` : l;
|
|
27
27
|
};
|
|
28
28
|
function re(e, t = {}) {
|
|
29
29
|
const {
|
|
30
30
|
allowDecimals: r = !0,
|
|
31
31
|
thousandsSeparator: a = !0,
|
|
32
32
|
maxIntegerLength: l = 9,
|
|
33
|
-
maxDecimalLength:
|
|
33
|
+
maxDecimalLength: o = 9,
|
|
34
34
|
decimalSeparator: n = "."
|
|
35
|
-
} = t,
|
|
35
|
+
} = t, i = B(z(e)), u = r ? U(i, l, o) : K(i, l), m = a ? F(u) : u;
|
|
36
36
|
return n === "." ? m : m.replaceAll(".", n);
|
|
37
37
|
}
|
|
38
38
|
function _(e, t) {
|
|
39
39
|
if (Object.is(e, t)) return !0;
|
|
40
|
-
const r = e, a = t, l = Object.keys(r),
|
|
41
|
-
return l.length !==
|
|
40
|
+
const r = e, a = t, l = Object.keys(r), o = Object.keys(a);
|
|
41
|
+
return l.length !== o.length ? !1 : l.every(
|
|
42
42
|
(n) => Object.prototype.hasOwnProperty.call(a, n) && Object.is(r[n], a[n])
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
function G(e, t) {
|
|
46
|
-
const r =
|
|
47
|
-
const
|
|
48
|
-
return _(
|
|
46
|
+
const r = L(t), a = ({ children: o, value: n }) => {
|
|
47
|
+
const i = W(n);
|
|
48
|
+
return _(i.current, n) || (i.current = n), /* @__PURE__ */ R(r.Provider, { value: i.current, children: o });
|
|
49
49
|
};
|
|
50
50
|
a.displayName = e + "Provider";
|
|
51
51
|
function l({
|
|
52
|
-
consumerName:
|
|
52
|
+
consumerName: o,
|
|
53
53
|
contextRequired: n
|
|
54
54
|
}) {
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
return
|
|
55
|
+
const i = E(r);
|
|
56
|
+
if (i)
|
|
57
|
+
return i;
|
|
58
58
|
if (n)
|
|
59
59
|
throw new Error(
|
|
60
|
-
`${
|
|
60
|
+
`${o} must be used within ${e}`
|
|
61
61
|
);
|
|
62
62
|
return t || {};
|
|
63
63
|
}
|
|
@@ -77,7 +77,7 @@ const [ne, H] = G("Disabled", { disabled: !1 }), ae = ({
|
|
|
77
77
|
function le(...e) {
|
|
78
78
|
return q(I(e));
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function w(e, t) {
|
|
81
81
|
if (typeof e == "function")
|
|
82
82
|
return e(t);
|
|
83
83
|
typeof e == "object" && e !== null && "current" in e && (e.current = t);
|
|
@@ -88,30 +88,35 @@ function J(...e) {
|
|
|
88
88
|
if (r === null) {
|
|
89
89
|
e.forEach((a) => {
|
|
90
90
|
const l = t.get(a);
|
|
91
|
-
typeof l == "function" && l(),
|
|
91
|
+
typeof l == "function" && l(), w(a, null);
|
|
92
92
|
}), t.clear();
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
e.forEach((a) => {
|
|
96
|
-
const l =
|
|
96
|
+
const l = w(a, r);
|
|
97
97
|
typeof l == "function" && t.set(a, l);
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function oe(...e) {
|
|
102
102
|
return M(() => J(...e), e);
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
function ie(e) {
|
|
105
|
+
return function(t, r) {
|
|
106
|
+
return e[t][r];
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
const se = ({
|
|
105
110
|
currentStep: e,
|
|
106
111
|
totalSteps: t,
|
|
107
112
|
size: r,
|
|
108
113
|
label: a,
|
|
109
114
|
strokeWidth: l = 4,
|
|
110
|
-
arcPercentage:
|
|
115
|
+
arcPercentage: o = 0.75
|
|
111
116
|
}) => {
|
|
112
|
-
const n = Math.min(Math.max(e, 0), t),
|
|
117
|
+
const n = Math.min(Math.max(e, 0), t), i = a ?? `${n}/${t}`, u = t <= 0 ? 0 : n / t, m = (r - l) / 2, p = r / 2, h = r / 2, c = 2 * Math.PI * m, f = c * o, b = f * (1 - u), g = n <= 0, D = `${f} ${c}`, P = g ? f - 2 : b;
|
|
113
118
|
return {
|
|
114
|
-
displayLabel:
|
|
119
|
+
displayLabel: i,
|
|
115
120
|
progress: u,
|
|
116
121
|
r: m,
|
|
117
122
|
cx: p,
|
|
@@ -123,7 +128,7 @@ const oe = ({
|
|
|
123
128
|
progressDashOffset: P,
|
|
124
129
|
showMinimalDot: g
|
|
125
130
|
};
|
|
126
|
-
},
|
|
131
|
+
}, ue = (e) => M(
|
|
127
132
|
() => ({
|
|
128
133
|
integerPart: Array.from(e.integerPart, (t) => ({
|
|
129
134
|
value: t,
|
|
@@ -135,15 +140,15 @@ const oe = ({
|
|
|
135
140
|
})) : []
|
|
136
141
|
}),
|
|
137
142
|
[e.integerPart, e.decimalPart]
|
|
138
|
-
),
|
|
143
|
+
), ce = (e, t, r) => {
|
|
139
144
|
if (t) return r;
|
|
140
145
|
const a = e.decimalPart ? `${e.decimalSeparator}${e.decimalPart}` : "", l = `${e.integerPart}${a}`;
|
|
141
146
|
return e.currencyPosition === "end" ? `${l} ${e.currencyText}` : `${e.currencyText} ${l}`;
|
|
142
147
|
};
|
|
143
148
|
function Y(e, t, r = {}) {
|
|
144
|
-
const { leading: a = !1, trailing: l = !0, maxWait:
|
|
145
|
-
let n = null,
|
|
146
|
-
const f =
|
|
149
|
+
const { leading: a = !1, trailing: l = !0, maxWait: o } = r;
|
|
150
|
+
let n = null, i = null, u = null, m = 0, p = null, h = null, c;
|
|
151
|
+
const f = o !== void 0, b = f ? Math.max(o, t) : 0, g = (s) => {
|
|
147
152
|
m = s;
|
|
148
153
|
const d = p, y = h;
|
|
149
154
|
return p = null, h = null, c = e.apply(y, d), c;
|
|
@@ -153,19 +158,19 @@ function Y(e, t, r = {}) {
|
|
|
153
158
|
}, P = (s) => {
|
|
154
159
|
const d = u ? s - u : t, y = s - m;
|
|
155
160
|
return u === null || d >= t || d < 0 || f && y >= b;
|
|
156
|
-
},
|
|
161
|
+
}, v = (s) => (n = null, l && p ? g(s) : (p = null, h = null, c)), x = () => {
|
|
157
162
|
const s = Date.now();
|
|
158
163
|
if (P(s)) {
|
|
159
|
-
|
|
164
|
+
v(s);
|
|
160
165
|
return;
|
|
161
166
|
}
|
|
162
167
|
n = setTimeout(x, D(s));
|
|
163
168
|
}, S = () => {
|
|
164
169
|
const s = Date.now();
|
|
165
|
-
|
|
166
|
-
}, k = (s) => (m = s, n = setTimeout(x, t), f && (
|
|
167
|
-
n !== null && clearTimeout(n),
|
|
168
|
-
}, j = () => n === null &&
|
|
170
|
+
i = null, p && (g(s), n !== null && (clearTimeout(n), n = setTimeout(x, t)));
|
|
171
|
+
}, k = (s) => (m = s, n = setTimeout(x, t), f && (i = setTimeout(S, b)), a ? g(s) : c), C = () => {
|
|
172
|
+
n !== null && clearTimeout(n), i !== null && clearTimeout(i), m = 0, p = null, h = null, u = null, n = null, i = null;
|
|
173
|
+
}, j = () => n === null && i === null ? c : v(Date.now()), O = () => n !== null || i !== null, $ = function(...s) {
|
|
169
174
|
const d = Date.now(), y = P(d);
|
|
170
175
|
if (p = s, h = this, u = d, y) {
|
|
171
176
|
if (n === null)
|
|
@@ -177,7 +182,7 @@ function Y(e, t, r = {}) {
|
|
|
177
182
|
};
|
|
178
183
|
return $.cancel = C, $.flush = j, $.pending = O, $;
|
|
179
184
|
}
|
|
180
|
-
function
|
|
185
|
+
function de(e, t, r = {}) {
|
|
181
186
|
const { leading: a = !0, trailing: l = !0 } = r;
|
|
182
187
|
return Y(e, t, {
|
|
183
188
|
leading: a,
|
|
@@ -185,7 +190,7 @@ function ce(e, t, r = {}) {
|
|
|
185
190
|
maxWait: t
|
|
186
191
|
});
|
|
187
192
|
}
|
|
188
|
-
const
|
|
193
|
+
const me = ({
|
|
189
194
|
onClick: e,
|
|
190
195
|
disabled: t
|
|
191
196
|
}) => e ? t ? {
|
|
@@ -199,37 +204,38 @@ const de = ({
|
|
|
199
204
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), e?.(r));
|
|
200
205
|
},
|
|
201
206
|
onClick: e
|
|
202
|
-
} : void 0,
|
|
207
|
+
} : void 0, T = " ", fe = ({
|
|
203
208
|
label: e,
|
|
204
209
|
placeholder: t
|
|
205
210
|
}) => {
|
|
206
211
|
const r = typeof t == "string" && t.trim().length > 0 ? t : void 0;
|
|
207
212
|
return e ? {
|
|
208
|
-
inputPlaceholder: r ??
|
|
213
|
+
inputPlaceholder: r ?? T,
|
|
209
214
|
labelStaysFloatedWithPlaceholder: r !== void 0
|
|
210
215
|
} : {
|
|
211
|
-
inputPlaceholder: t ??
|
|
216
|
+
inputPlaceholder: t ?? T,
|
|
212
217
|
labelStaysFloatedWithPlaceholder: !1
|
|
213
218
|
};
|
|
214
219
|
};
|
|
215
220
|
export {
|
|
216
221
|
ne as DisabledProvider,
|
|
217
|
-
|
|
218
|
-
|
|
222
|
+
w as assignRef,
|
|
223
|
+
ce as buildAriaLabel,
|
|
219
224
|
le as cn,
|
|
225
|
+
ie as createPropsResolver,
|
|
220
226
|
G as createSafeContext,
|
|
221
227
|
Y as debounce,
|
|
222
228
|
F as formatThousands,
|
|
223
|
-
|
|
229
|
+
me as getButtonA11yProps,
|
|
224
230
|
te as getFontSize,
|
|
225
|
-
|
|
231
|
+
se as getStepperCalculations,
|
|
226
232
|
J as mergeRefs,
|
|
227
|
-
|
|
233
|
+
fe as resolveBaseInputPlaceholder,
|
|
228
234
|
_ as shallowEqual,
|
|
229
235
|
re as textFormatter,
|
|
230
|
-
|
|
236
|
+
de as throttle,
|
|
231
237
|
ee as toPascalCase,
|
|
232
238
|
ae as useDisabledContext,
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
oe as useMergedRef,
|
|
240
|
+
ue as useSplitText
|
|
235
241
|
};
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.46",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
44
|
+
"@ledgerhq/lumen-utils-shared": "0.1.8",
|
|
45
45
|
"i18next": "^23.7.0",
|
|
46
46
|
"react-i18next": "^14.0.0"
|
|
47
47
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
55
55
|
"class-variance-authority": "^0.7.1",
|
|
56
56
|
"@tanstack/react-table": "^8.21.3",
|
|
57
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
57
|
+
"@ledgerhq/lumen-design-core": "0.1.20",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
59
|
"react": "^18.0.0 || ^19.0.0",
|
|
60
60
|
"react-dom": "^18.0.0 || ^19.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
44
|
+
"@ledgerhq/lumen-utils-shared": "0.1.9",
|
|
45
45
|
"i18next": "^23.7.0",
|
|
46
46
|
"react-i18next": "^14.0.0"
|
|
47
47
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
55
55
|
"class-variance-authority": "^0.7.1",
|
|
56
56
|
"@tanstack/react-table": "^8.21.3",
|
|
57
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
57
|
+
"@ledgerhq/lumen-design-core": "0.1.21",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
59
|
"react": "^18.0.0 || ^19.0.0",
|
|
60
60
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const ColorSwatch: ({ name, className, textClassName, category, }: {
|
|
2
|
-
name: string;
|
|
3
|
-
className: string;
|
|
4
|
-
textClassName?: string;
|
|
5
|
-
category?: "background" | "text" | "border";
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const SectionHeader: ({ title, description, }: {
|
|
8
|
-
title: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const ColorSection: ({ title, tokens, category, }: {
|
|
12
|
-
title?: string;
|
|
13
|
-
tokens: {
|
|
14
|
-
name: string;
|
|
15
|
-
className: string;
|
|
16
|
-
textClassName?: string;
|
|
17
|
-
}[];
|
|
18
|
-
category?: "background" | "text" | "border";
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Design-tokens/shared.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,+CAKzB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C,4CAsDA,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,yBAG3B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,4CAKA,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,8BAI1B;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACtE,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C,4CAeA,CAAC"}
|