@ledgerhq/react-ui 0.48.0 → 0.49.0-nightly.20260317030141

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 (34) hide show
  1. package/lib/cjs/components/index.js +10 -33
  2. package/lib/cjs/components/index.js.map +1 -1
  3. package/lib/cjs/components/message/Tooltip/Tooltip.stories.js +10 -33
  4. package/lib/cjs/components/message/Tooltip/Tooltip.stories.js.map +1 -1
  5. package/lib/cjs/components/message/Tooltip/index.js +8 -31
  6. package/lib/cjs/components/message/Tooltip/index.js.map +1 -1
  7. package/lib/cjs/components/message/index.js +10 -33
  8. package/lib/cjs/components/message/index.js.map +1 -1
  9. package/lib/cjs/index.js +10 -33
  10. package/lib/cjs/index.js.map +1 -1
  11. package/lib/cjs/pre-ldls/components/index.js +18 -38
  12. package/lib/cjs/pre-ldls/components/index.js.map +1 -1
  13. package/lib/cjs/pre-ldls/index.js +18 -39
  14. package/lib/cjs/pre-ldls/index.js.map +1 -1
  15. package/lib/components/message/Tooltip/index.d.ts.map +1 -1
  16. package/lib/components/message/Tooltip/index.js +5 -25
  17. package/lib/components/message/Tooltip/index.js.map +1 -1
  18. package/lib/pre-ldls/components/index.d.ts +0 -1
  19. package/lib/pre-ldls/components/index.d.ts.map +1 -1
  20. package/lib/pre-ldls/components/index.js +0 -1
  21. package/lib/pre-ldls/components/index.js.map +1 -1
  22. package/package.json +13 -3
  23. package/lib/cjs/pre-ldls/components/ApyIndicator/ApyIndicator.js +0 -1776
  24. package/lib/cjs/pre-ldls/components/ApyIndicator/ApyIndicator.js.map +0 -1
  25. package/lib/cjs/pre-ldls/components/ApyIndicator/ApyIndicator.stories.js +0 -1835
  26. package/lib/cjs/pre-ldls/components/ApyIndicator/ApyIndicator.stories.js.map +0 -1
  27. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.d.ts +0 -6
  28. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.d.ts.map +0 -1
  29. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.js +0 -6
  30. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.js.map +0 -1
  31. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.stories.d.ts +0 -10
  32. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.stories.d.ts.map +0 -1
  33. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.stories.js +0 -20
  34. package/lib/pre-ldls/components/ApyIndicator/ApyIndicator.stories.js.map +0 -1
@@ -1,1776 +0,0 @@
1
- (() => {
2
- "use strict";
3
- var __webpack_modules__ = ({
4
- 348(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
5
- __webpack_require__.d(__webpack_exports__, {
6
- "default": () => (__rspack_default_export)
7
- });
8
- /* import */ var react__rspack_import_0 = __webpack_require__(2015);
9
- /* import */ var react__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(react__rspack_import_0);
10
- /* import */ var _styled__rspack_import_2 = __webpack_require__(7680);
11
- /* import */ var styled_system__rspack_import_1 = __webpack_require__(9351);
12
- /* import */ var styled_system__rspack_import_1_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_1);
13
- /* import */ var _styles_styled_fontFamily__rspack_import_4 = __webpack_require__(3364);
14
- /* import */ var _styles__rspack_import_3 = __webpack_require__(4368);
15
-
16
-
17
-
18
-
19
-
20
- const uppercase = (0,styled_system__rspack_import_1.system)({
21
- uppercase: {
22
- property: "textTransform",
23
- transform: (value)=>value ? "uppercase" : "none"
24
- }
25
- });
26
- const Text = _styled__rspack_import_2["default"].span.attrs(({ variant = "body", fontSize, color })=>({
27
- fontSize: fontSize ? fontSize : variant,
28
- color: color || "neutral.c100"
29
- }))`
30
- font-weight: 500;
31
- white-space: ${(props)=>props.whiteSpace ?? "normal"};
32
- ${(p)=>_styles__rspack_import_3.textVariantStyle[p.variant || "body"]}
33
- ${(0,styled_system__rspack_import_1.compose)(uppercase, styled_system__rspack_import_1.lineHeight, _styles_styled_fontFamily__rspack_import_4["default"], styled_system__rspack_import_1.fontSize, styled_system__rspack_import_1.textAlign, styled_system__rspack_import_1.fontWeight, styled_system__rspack_import_1.letterSpacing, (0,styled_system__rspack_import_1.system)({
34
- textOverflow: true
35
- }))}
36
- ${(p)=>p.textTransform ? `text-transform: ${p.textTransform};` : ""}
37
- `;
38
- /* export default */ const __rspack_default_export = (Text);
39
-
40
-
41
- },
42
- 4368(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
43
- __webpack_require__.d(__webpack_exports__, {
44
- textVariantStyle: () => (textVariantStyle)
45
- });
46
- /* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
47
- /* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
48
-
49
- const getFontSource = (name)=>(props)=>{
50
- const fontsPath = props.fontsPath ?? "assets/fonts";
51
- const fontName = props.fontMappings && props.fontMappings(name) || `${name}.woff2`;
52
- return `url("${fontsPath}/${fontName}") format("woff2")`;
53
- };
54
- const fontStyles = (0,styled_components__rspack_import_0.css)`
55
- @font-face {
56
- font-family: "Inter";
57
- src: ${getFontSource("Inter-ExtraLight-BETA")};
58
- font-weight: 100;
59
- font-style: normal;
60
- }
61
-
62
- @font-face {
63
- font-family: "Inter";
64
- src: ${getFontSource("Inter-Light-BETA")};
65
- font-weight: 300;
66
- font-style: normal;
67
- }
68
-
69
- @font-face {
70
- font-family: "Inter";
71
- src: ${getFontSource("Inter-Regular")};
72
- font-weight: 400;
73
- font-style: normal;
74
- }
75
-
76
- @font-face {
77
- font-family: "Inter";
78
- src: ${getFontSource("Inter-Medium")};
79
- font-weight: 500;
80
- font-style: normal;
81
- }
82
-
83
- @font-face {
84
- font-family: "Inter";
85
- src: ${getFontSource("Inter-SemiBold")};
86
- font-weight: 600;
87
- font-style: normal;
88
- }
89
-
90
- @font-face {
91
- font-family: "Inter";
92
- src: ${getFontSource("Inter-ExtraBold")};
93
- font-weight: 900;
94
- font-style: normal;
95
- }
96
-
97
- @font-face {
98
- font-family: "Alpha";
99
- src: ${getFontSource("HMAlphaMono-Medium")};
100
- font-weight: 500;
101
- font-style: normal;
102
- }
103
- `;
104
- const textVariantStyle = {
105
- h1: {
106
- fontFamily: "Alpha, Inter, Sans",
107
- fontWeight: 500,
108
- "text-transform": "uppercase"
109
- },
110
- h1Inter: {
111
- fontFamily: "Inter, Sans",
112
- fontWeight: 500,
113
- "text-transform": "uppercase"
114
- },
115
- h2: {
116
- fontFamily: "Alpha, Inter, Sans",
117
- fontWeight: 500,
118
- "text-transform": "uppercase"
119
- },
120
- h2Inter: {
121
- fontFamily: "Inter, Sans",
122
- fontWeight: 500,
123
- "text-transform": "uppercase"
124
- },
125
- h3: {
126
- fontFamily: "Alpha, Inter, Sans",
127
- fontWeight: 500,
128
- "text-transform": "uppercase"
129
- },
130
- h3Inter: {
131
- fontFamily: "Inter, Sans",
132
- fontWeight: 500
133
- },
134
- h4: {
135
- fontFamily: "Alpha, Inter, Sans",
136
- fontWeight: 500,
137
- "text-transform": "uppercase"
138
- },
139
- h4Inter: {
140
- fontFamily: "Inter, Sans",
141
- fontWeight: 600
142
- },
143
- h5: {
144
- fontFamily: "Alpha, Inter, Sans",
145
- fontWeight: 500,
146
- "text-transform": "uppercase"
147
- },
148
- h5Inter: {
149
- fontFamily: "Inter, Sans",
150
- fontWeight: 500
151
- },
152
- large: {
153
- fontFamily: "Inter, Sans"
154
- },
155
- largeLineHeight: {
156
- fontFamily: "Inter, Sans",
157
- lineHeight: 1.7
158
- },
159
- body: {
160
- fontFamily: "Inter, Sans"
161
- },
162
- bodyLineHeight: {
163
- fontFamily: "Inter, Sans",
164
- lineHeight: 1.7
165
- },
166
- paragraph: {
167
- fontFamily: "Inter, Sans"
168
- },
169
- paragraphLineHeight: {
170
- fontFamily: "Inter, Sans",
171
- lineHeight: 1.7
172
- },
173
- small: {
174
- fontFamily: "Inter, Sans"
175
- },
176
- extraSmall: {
177
- fontFamily: "Inter, Sans"
178
- },
179
- tiny: {
180
- fontFamily: "Inter, Sans"
181
- },
182
- micro: {
183
- fontFamily: "Inter, Sans"
184
- },
185
- subtitle: {
186
- fontFamily: "Inter, Sans",
187
- fontWeight: 600,
188
- "text-transform": "uppercase"
189
- }
190
- };
191
-
192
-
193
- },
194
- 7680(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
195
- __webpack_require__.d(__webpack_exports__, {
196
- "default": () => (__rspack_default_export)
197
- });
198
- /* import */ var _styles_system_gaps__rspack_import_2 = __webpack_require__(4182);
199
- /* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
200
- /* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
201
- /* import */ var styled_system__rspack_import_1 = __webpack_require__(9351);
202
- /* import */ var styled_system__rspack_import_1_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_1);
203
-
204
-
205
-
206
- const baseStyles = (0,styled_system__rspack_import_1.compose)(styled_system__rspack_import_1.flexbox, styled_system__rspack_import_1.space, styled_system__rspack_import_1.position, styled_system__rspack_import_1.color, styled_system__rspack_import_1.layout, styled_system__rspack_import_1.overflow, _styles_system_gaps__rspack_import_2["default"], styled_system__rspack_import_1.border);
207
- const proxyStyled = new Proxy((styled_components__rspack_import_0_default()), {
208
- apply (target, thisArg, argumentsList) {
209
- return styled_components__rspack_import_0_default()(target.apply(thisArg, argumentsList)(baseStyles));
210
- },
211
- get (target, property) {
212
- if (typeof target[property] === "function") {
213
- return styled_components__rspack_import_0_default()(target[property].apply((styled_components__rspack_import_0_default()), [
214
- baseStyles
215
- ]));
216
- }
217
- return target[property];
218
- }
219
- });
220
- /* export default */ const __rspack_default_export = (proxyStyled);
221
-
222
-
223
- },
224
- 2472(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
225
- __webpack_require__.d(__webpack_exports__, {
226
- Tag: () => (Tag)
227
- });
228
- /* import */ var react__rspack_import_0 = __webpack_require__(2015);
229
- /* import */ var react__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(react__rspack_import_0);
230
- /* import */ var _components__rspack_import_3 = __webpack_require__(348);
231
- /* import */ var _libs__rspack_import_2 = __webpack_require__(1507);
232
- /* import */ var styled_components__rspack_import_1 = __webpack_require__(2770);
233
- /* import */ var styled_components__rspack_import_1_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_1);
234
-
235
-
236
-
237
-
238
- const Wrapper = (styled_components__rspack_import_1_default().div)`
239
- ${(0,_libs__rspack_import_2.withTokens)("colors-surface-transparent-subdued-default", "colors-content-subdued-default-default", "radius-xs", "spacing-xxxs")}
240
-
241
- padding: ${({ $spacing })=>$spacing === "sm" ? "1px" : "2px"} var(--spacing-xxxs);
242
- border-radius: var(--radius-xs);
243
- display: inline-flex;
244
- background-color: var(--colors-surface-transparent-subdued-default);
245
- flex-shrink: 0;
246
- `;
247
- const Tag = ({ textTransform = "none", spacing = "sm", children })=>{
248
- return /*#__PURE__*/ react__rspack_import_0_default().createElement(Wrapper, {
249
- "data-testid": "tag",
250
- $spacing: spacing
251
- }, /*#__PURE__*/ react__rspack_import_0_default().createElement(_components__rspack_import_3["default"], {
252
- color: "var(--colors-content-subdued-default-default)",
253
- fontSize: "10px",
254
- lineHeight: "16px",
255
- textTransform: textTransform
256
- }, children));
257
- };
258
-
259
-
260
- },
261
- 8112(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
262
- __webpack_require__.d(__webpack_exports__, {
263
- dark: () => (dark),
264
- light: () => (light),
265
- spacing: () => (spacing)
266
- });
267
- // From https://github.com/LedgerHQ/ldls/blob/main/libs/design-tokens/src/lib/design-tokens.ts :
268
- const spacing = {
269
- "spacing-xs": "8px",
270
- "spacing-s": "16px",
271
- "spacing-m": "24px",
272
- "spacing-l": "32px",
273
- "spacing-xl": "40px",
274
- "spacing-xxs": "12px",
275
- "spacing-xxxs": "4px",
276
- "spacing-none": "0px",
277
- "marging-xs": "8px",
278
- "marging-s": "16px",
279
- "marging-m": "24px",
280
- "marging-l": "32px"
281
- };
282
- const light = {
283
- "background-default": "#ffffff",
284
- "background-constant-black": "#000000",
285
- "background-constant-white": "#ffffff",
286
- "background-backdrop-default": "#0000004d",
287
- "background-inverted": "#000000",
288
- "background-drawer-default": "#ffffff",
289
- "surface-brand-primary-default": "#d4a0ff",
290
- "surface-brand-primary-hover": "#b380dd",
291
- "surface-brand-primary-pressed": "#7e4ea5",
292
- "surface-default-default": "#ffffff",
293
- "surface-default-hover": "#fbfbfb",
294
- "surface-default-pressed": "#f4f4f4",
295
- "surface-default-inverted-default": "#000000",
296
- "surface-default-inverted-hover": "#272727",
297
- "surface-default-inverted-pressed": "#4d4d4d",
298
- "surface-constant-white": "#ffffff",
299
- "surface-constant-black": "#000000",
300
- "surface-status-error-default": "#c242441a",
301
- "surface-status-error-strong-default": "#c24244",
302
- "surface-status-error-strong-hover": "#852e2f",
303
- "surface-status-error-strong-pressed": "#702e2f",
304
- "surface-status-warning-default": "#d38b201a",
305
- "surface-status-warning-strong-default": "#d38b20",
306
- "surface-status-warning-strong-hover": "#885a14",
307
- "surface-status-warning-strong-pressed": "#63420f",
308
- "surface-status-success-default": "#47883a1a",
309
- "surface-status-success-strong-default": "#47883a",
310
- "surface-status-success-strong-hover": "#33572e",
311
- "surface-status-success-strong-pressed": "#2c4828",
312
- "surface-transparent-default": "#00000000",
313
- "surface-transparent-hover": "#0000001a",
314
- "surface-transparent-pressed": "#00000033",
315
- "surface-transparent-inverted-default": "#ffffff00",
316
- "surface-transparent-inverted-hover": "#ffffff1a",
317
- "surface-transparent-inverted-pressed": "#ffffff33",
318
- "surface-transparent-subdued-default": "#0000000d",
319
- "surface-transparent-subdued-inverted-default": "#ffffff1a",
320
- "surface-transparent-subdued-inverted-hover": "#ffffff33",
321
- "surface-transparent-subdued-inverted-pressed": "#ffffff4d",
322
- "surface-transparent-subdued-inverted-disabled": "#ffffff1a",
323
- "surface-transparent-subdued-hover": "#0000001a",
324
- "surface-transparent-subdued-pressed": "#00000033",
325
- "surface-transparent-subdued-disabled": "#0000000d",
326
- "surface-subdued-default": "#f4f4f4",
327
- "surface-subdued-hover": "#e8e8e8",
328
- "surface-subdued-pressed": "#d5d5d5",
329
- "surface-disabled": "#f4f4f4",
330
- "surface-interactive-default": "#ffffff",
331
- "surface-interactive-hover": "#fbfbfb",
332
- "surface-interactive-pressed": "#f4f4f4",
333
- "surface-interactive-selected-default": "#4d4d4d",
334
- "surface-interactive-selected-hover": "#272727",
335
- "surface-interactive-selected-pressed": "#000000",
336
- "surface-_native-default": "#f7f7f7",
337
- "surface-dark-default": "#c1c1c1",
338
- "surface-dark-hover": "#767676",
339
- "surface-dark-pressed": "#6a6a6a",
340
- "surface-active-default": "#d4a0ff",
341
- "surface-active-hover": "#b380dd",
342
- "surface-active-pressed": "#7e4ea5",
343
- "content-default-default": "#000000",
344
- "content-default-inverted-default": "#ffffff",
345
- "content-constant-white": "#ffffff",
346
- "content-constant-black": "#000000",
347
- "content-constant-grey": "#e8e8e8",
348
- "content-status-error-default": "#c24244",
349
- "content-status-error-hover": "#a43234",
350
- "content-status-error-pressed": "#852e2f",
351
- "content-status-warning-default": "#ae731a",
352
- "content-status-success-color": "#47883a",
353
- "content-on-primary-default": "#000000",
354
- "content-on-primary-hover": "#ffffffcc",
355
- "content-on-primary-pressed": "#ffffffb3",
356
- "content-on-primary-disabled": "#ffffff99",
357
- "content-on-secondary-default": "#ffffff",
358
- "content-on-secondary-hover": "#ffffff",
359
- "content-on-secondary-pressed": "#ffffff",
360
- "content-on-secondary-disabled": "#ffffff",
361
- "content-disabled": "#c1c1c1",
362
- "content-interactive-default-default": "#000000",
363
- "content-interactive-default-hover": "#272727",
364
- "content-interactive-default-pressed": "#4d4d4d",
365
- "content-interactive-inverted-default": "#ffffff",
366
- "content-interactive-inverted-hover": "#fbfbfb",
367
- "content-interactive-inverted-pressed": "#f4f4f4",
368
- "content-subdued-default-default": "#6a6a6a",
369
- "content-subdued-inverted-default": "#d5d5d5",
370
- "content-_native-default": "#007aff",
371
- "content-light-default-default": "#e8e8e8",
372
- "content-light-inverted-default": "#6a6a6a",
373
- "border-default-default": "#000000",
374
- "border-default-inverted-default": "#ffffff",
375
- "border-default-inverted-disabled": "#272727",
376
- "border-constant-white": "#ffffff",
377
- "border-constant-black": "#000000",
378
- "border-status-error-default": "#c24244",
379
- "border-status-error-hover": "#a43234",
380
- "border-status-error-pressed": "#852e2f",
381
- "border-status-warning-default": "#d38b20",
382
- "border-status-success-default": "#47883a",
383
- "border-on-primary-default": "#ffffff99",
384
- "border-on-primary-disabled": "#ffffff99",
385
- "border-on-secondary-default": "#ffffff",
386
- "border-on-secondary-disabled": "#ffffff",
387
- "border-disabled-default": "#e8e8e8",
388
- "border-disabled-inverted": "#272727",
389
- "border-light-default": "#e8e8e8",
390
- "border-subdued-default-default": "#c1c1c1",
391
- "border-subdued-default-hover": "#767676",
392
- "border-subdued-inverted-default": "#4d4d4d",
393
- "border-interactive-default": "#000000",
394
- "border-interactive-hover": "#272727",
395
- "border-interactive-pressed": "#4d4d4d",
396
- "border-focus-default": "#7e4ea5",
397
- "border-active-default": "#d4a0ff",
398
- "border-active-hover": "#b380dd",
399
- "border-active-pressed": "#7e4ea5",
400
- "crypto-bitcoin-sv": "#eab300",
401
- "crypto-bitcoin-gold": "#152569",
402
- "crypto-zcash": "#f4b728",
403
- "crypto-yieldly": "#f3b732",
404
- "crypto-uni": "#f04086",
405
- "crypto-uniswap": "#ff007a",
406
- "crypto-bitcoin-cash": "#0ac18e",
407
- "crypto-tezos": "#2c7df7",
408
- "crypto-sol": "#9945ff",
409
- "crypto-xrp": "#333333",
410
- "crypto-tron": "#ff060a",
411
- "crypto-sats": "#ff8b00",
412
- "crypto-polkadot": "#e6007a",
413
- "crypto-bitcoin": "#f7931a",
414
- "crypto-compound": "#00d395",
415
- "crypto-peercoin": "#3cb054",
416
- "crypto-omg-network": "#000000",
417
- "crypto-near": "#1c1d1f",
418
- "crypto-stellar": "#000000",
419
- "crypto-nano": "#5d8eb2",
420
- "crypto-nimiq": "#f8b425",
421
- "crypto-multiverse-x": "#23f7dd",
422
- "crypto-ethereum": "#454a75",
423
- "crypto-okb": "#2d60e0",
424
- "crypto-tether-usdt": "#00a478",
425
- "crypto-avax": "#e84142",
426
- "crypto-bgb": "#00e0ff",
427
- "crypto-usdc": "#f04086",
428
- "crypto-monero": "#f26822",
429
- "crypto-tkx": "#fd6a1f",
430
- "crypto-huobi": "#357ce1",
431
- "crypto-pivx": "#5c4c7c",
432
- "crypto-cardano": "#0033ad",
433
- "crypto-dydx": "#6966ff",
434
- "crypto-cro": "#002d74",
435
- "crypto-hnt": "#474dff",
436
- "crypto-hedera": "#000000",
437
- "crypto-ftm": "#1969ff",
438
- "crypto-flr": "#e62058",
439
- "crypto-bat": "#ff5000",
440
- "crypto-ethereum-classic": "#0b8311",
441
- "crypto-bincance": "#f5bc00",
442
- "crypto-ethergem": "#4a4ab6",
443
- "crypto-iota": "#000000",
444
- "crypto-chainlink": "#2a5ada",
445
- "crypto-dym": "#f1e1d4",
446
- "crypto-eos": "#000000",
447
- "crypto-waves": "#0055ff",
448
- "crypto-polygon": "#8247e5",
449
- "crypto-celo": "#fcff52",
450
- "crypto-dogecoin": "#c3a634",
451
- "crypto-algorand": "#00a478",
452
- "crypto-cosmos": "#2e3148",
453
- "crypto-digibyte": "#0066cc",
454
- "crypto-pirl": "#357ce1",
455
- "crypto-eng": "#2f2f2f",
456
- "crypto-decred": "#2970ff",
457
- "crypto-dash": "#008ce7",
458
- "crypto-xin": "#1eb5fa",
459
- "crypto-tusd": "#1a5aff",
460
- "crypto-litecoin": "#345d9d",
461
- "crypto-komodo": "#41ead4",
462
- "crypto-elrond": "#000000",
463
- "crypto-osmo": "#302dbb",
464
- "crypto-leo": "#000000",
465
- "crypto-bytecoin": "#f04086",
466
- "crypto-aion": "#212529",
467
- "crypto-dai": "#f5ac37",
468
- "crypto-neo": "#7dd224"
469
- };
470
- const dark = {
471
- "background-default": "#000000",
472
- "background-constant-black": "#000000",
473
- "background-constant-white": "#ffffff",
474
- "background-backdrop-default": "#0000004d",
475
- "background-inverted": "#ffffff",
476
- "background-drawer-default": "#191919",
477
- "surface-brand-primary-default": "#d4a0ff",
478
- "surface-brand-primary-hover": "#ddb3ff",
479
- "surface-brand-primary-pressed": "#e5c6ff",
480
- "surface-default-default": "#000000",
481
- "surface-default-hover": "#191919",
482
- "surface-default-pressed": "#272727",
483
- "surface-default-inverted-default": "#ffffff",
484
- "surface-default-inverted-hover": "#e1e1e1",
485
- "surface-default-inverted-pressed": "#c3c3c3",
486
- "surface-constant-white": "#ffffff",
487
- "surface-constant-black": "#000000",
488
- "surface-status-error-default": "#f872741a",
489
- "surface-status-error-strong-default": "#f87274",
490
- "surface-status-error-strong-hover": "#fec8c9",
491
- "surface-status-error-strong-pressed": "#fee1e2",
492
- "surface-status-warning-default": "#ffbd421a",
493
- "surface-status-warning-strong-default": "#ffbd42",
494
- "surface-status-warning-strong-hover": "#ffe7ac",
495
- "surface-status-warning-strong-pressed": "#fff3d5",
496
- "surface-status-success-default": "#6ec85c1a",
497
- "surface-status-success-strong-default": "#6ec85c",
498
- "surface-status-success-strong-hover": "#cbeec4",
499
- "surface-status-success-strong-pressed": "#e6f7e1",
500
- "surface-transparent-default": "#ffffff00",
501
- "surface-transparent-hover": "#ffffff1a",
502
- "surface-transparent-pressed": "#ffffff33",
503
- "surface-transparent-inverted-default": "#00000000",
504
- "surface-transparent-inverted-hover": "#0000001a",
505
- "surface-transparent-inverted-pressed": "#00000033",
506
- "surface-transparent-subdued-default": "#ffffff1a",
507
- "surface-transparent-subdued-inverted-default": "#0000000d",
508
- "surface-transparent-subdued-inverted-hover": "#0000001a",
509
- "surface-transparent-subdued-inverted-pressed": "#00000033",
510
- "surface-transparent-subdued-inverted-disabled": "#0000000d",
511
- "surface-transparent-subdued-hover": "#ffffff33",
512
- "surface-transparent-subdued-pressed": "#ffffff4d",
513
- "surface-transparent-subdued-disabled": "#ffffff1a",
514
- "surface-subdued-default": "#272727",
515
- "surface-subdued-hover": "#3c3c3c",
516
- "surface-subdued-pressed": "#565656",
517
- "surface-disabled": "#272727",
518
- "surface-interactive-default": "#000000",
519
- "surface-interactive-hover": "#191919",
520
- "surface-interactive-pressed": "#272727",
521
- "surface-interactive-selected-default": "#c3c3c3",
522
- "surface-interactive-selected-hover": "#e1e1e1",
523
- "surface-interactive-selected-pressed": "#ffffff",
524
- "surface-_native-default": "#c3c3c3",
525
- "surface-dark-default": "#717070",
526
- "surface-dark-hover": "#848484",
527
- "surface-dark-pressed": "#9c9c9c",
528
- "surface-active-default": "#d4a0ff",
529
- "surface-active-hover": "#ddb3ff",
530
- "surface-active-pressed": "#e5c6ff",
531
- "content-default-default": "#ffffff",
532
- "content-default-inverted-default": "#000000",
533
- "content-constant-white": "#ffffff",
534
- "content-constant-black": "#000000",
535
- "content-constant-grey": "#e1e1e1",
536
- "content-status-error-default": "#f87274",
537
- "content-status-error-hover": "#fca6a7",
538
- "content-status-error-pressed": "#fec8c9",
539
- "content-status-warning-default": "#ffd373",
540
- "content-status-success-color": "#6ec85c",
541
- "content-on-primary-default": "#000000",
542
- "content-on-primary-hover": "#000000cc",
543
- "content-on-primary-pressed": "#000000b3",
544
- "content-on-primary-disabled": "#00000099",
545
- "content-on-secondary-default": "#ffffff",
546
- "content-on-secondary-hover": "#ffffff",
547
- "content-on-secondary-pressed": "#ffffff",
548
- "content-on-secondary-disabled": "#ffffff",
549
- "content-disabled": "#565656",
550
- "content-interactive-default-default": "#ffffff",
551
- "content-interactive-default-hover": "#e1e1e1",
552
- "content-interactive-default-pressed": "#c3c3c3",
553
- "content-interactive-inverted-default": "#000000",
554
- "content-interactive-inverted-hover": "#191919",
555
- "content-interactive-inverted-pressed": "#272727",
556
- "content-subdued-default-default": "#9c9c9c",
557
- "content-subdued-inverted-default": "#565656",
558
- "content-_native-default": "#007aff",
559
- "content-light-default-default": "#3c3c3c",
560
- "content-light-inverted-default": "#9c9c9c",
561
- "border-default-default": "#ffffff",
562
- "border-default-inverted-default": "#000000",
563
- "border-default-inverted-disabled": "#9c9c9c",
564
- "border-constant-white": "#ffffff",
565
- "border-constant-black": "#000000",
566
- "border-status-error-default": "#f87274",
567
- "border-status-error-hover": "#fca6a7",
568
- "border-status-error-pressed": "#fec8c9",
569
- "border-status-warning-default": "#ffbd42",
570
- "border-status-success-default": "#6ec85c",
571
- "border-on-primary-default": "#00000099",
572
- "border-on-primary-disabled": "#00000099",
573
- "border-on-secondary-default": "#ffffff",
574
- "border-on-secondary-disabled": "#ffffff",
575
- "border-disabled-default": "#191919",
576
- "border-disabled-inverted": "#9c9c9c",
577
- "border-light-default": "#3c3c3c",
578
- "border-subdued-default-default": "#717070",
579
- "border-subdued-default-hover": "#848484",
580
- "border-subdued-inverted-default": "#c3c3c3",
581
- "border-interactive-default": "#ffffff",
582
- "border-interactive-hover": "#e1e1e1",
583
- "border-interactive-pressed": "#c3c3c3",
584
- "border-focus-default": "#f2e2ff",
585
- "border-active-default": "#d4a0ff",
586
- "border-active-hover": "#ddb3ff",
587
- "border-active-pressed": "#e5c6ff",
588
- "crypto-bitcoin-sv": "#eab300",
589
- "crypto-bitcoin-gold": "#152569",
590
- "crypto-zcash": "#f4b728",
591
- "crypto-yieldly": "#f3b732",
592
- "crypto-uni": "#f04086",
593
- "crypto-uniswap": "#ff007a",
594
- "crypto-bitcoin-cash": "#0ac18e",
595
- "crypto-tezos": "#2c7df7",
596
- "crypto-sol": "#9945ff",
597
- "crypto-xrp": "#333333",
598
- "crypto-tron": "#ff060a",
599
- "crypto-sats": "#ff8b00",
600
- "crypto-polkadot": "#e6007a",
601
- "crypto-bitcoin": "#f7931a",
602
- "crypto-compound": "#00d395",
603
- "crypto-peercoin": "#3cb054",
604
- "crypto-omg-network": "#000000",
605
- "crypto-near": "#1c1d1f",
606
- "crypto-stellar": "#000000",
607
- "crypto-nano": "#5d8eb2",
608
- "crypto-nimiq": "#f8b425",
609
- "crypto-multiverse-x": "#23f7dd",
610
- "crypto-ethereum": "#454a75",
611
- "crypto-okb": "#2d60e0",
612
- "crypto-tether-usdt": "#00a478",
613
- "crypto-avax": "#e84142",
614
- "crypto-bgb": "#00e0ff",
615
- "crypto-usdc": "#f04086",
616
- "crypto-monero": "#f26822",
617
- "crypto-tkx": "#fd6a1f",
618
- "crypto-huobi": "#357ce1",
619
- "crypto-pivx": "#5c4c7c",
620
- "crypto-cardano": "#0033ad",
621
- "crypto-dydx": "#6966ff",
622
- "crypto-cro": "#002d74",
623
- "crypto-hnt": "#474dff",
624
- "crypto-hedera": "#000000",
625
- "crypto-ftm": "#1969ff",
626
- "crypto-flr": "#e62058",
627
- "crypto-bat": "#ff5000",
628
- "crypto-ethereum-classic": "#0b8311",
629
- "crypto-bincance": "#f5bc00",
630
- "crypto-ethergem": "#4a4ab6",
631
- "crypto-iota": "#000000",
632
- "crypto-chainlink": "#2a5ada",
633
- "crypto-dym": "#f1e1d4",
634
- "crypto-eos": "#000000",
635
- "crypto-waves": "#0055ff",
636
- "crypto-polygon": "#8247e5",
637
- "crypto-celo": "#fcff52",
638
- "crypto-dogecoin": "#c3a634",
639
- "crypto-algorand": "#00a478",
640
- "crypto-cosmos": "#2e3148",
641
- "crypto-digibyte": "#0066cc",
642
- "crypto-pirl": "#357ce1",
643
- "crypto-eng": "#2f2f2f",
644
- "crypto-decred": "#2970ff",
645
- "crypto-dash": "#008ce7",
646
- "crypto-xin": "#1eb5fa",
647
- "crypto-tusd": "#1a5aff",
648
- "crypto-litecoin": "#345d9d",
649
- "crypto-komodo": "#41ead4",
650
- "crypto-elrond": "#000000",
651
- "crypto-osmo": "#302dbb",
652
- "crypto-leo": "#000000",
653
- "crypto-bytecoin": "#f04086",
654
- "crypto-aion": "#212529",
655
- "crypto-dai": "#f5ac37",
656
- "crypto-neo": "#7dd224"
657
- };
658
- const tailwindColors = (/* unused pure expression or super */ null && ({
659
- "background-default": "var(--background-default)",
660
- "background-constant-black": "var(--background-constant-black)",
661
- "background-constant-white": "var(--background-constant-white)",
662
- "background-backdrop-default": "var(--background-backdrop-default)",
663
- "background-inverted": "var(--background-inverted)",
664
- "background-drawer-default": "var(--background-drawer-default)",
665
- "surface-brand-primary-default": "var(--surface-brand-primary-default)",
666
- "surface-brand-primary-hover": "var(--surface-brand-primary-hover)",
667
- "surface-brand-primary-pressed": "var(--surface-brand-primary-pressed)",
668
- "surface-default-default": "var(--surface-default-default)",
669
- "surface-default-hover": "var(--surface-default-hover)",
670
- "surface-default-pressed": "var(--surface-default-pressed)",
671
- "surface-default-inverted-default": "var(--surface-default-inverted-default)",
672
- "surface-default-inverted-hover": "var(--surface-default-inverted-hover)",
673
- "surface-default-inverted-pressed": "var(--surface-default-inverted-pressed)",
674
- "surface-constant-white": "var(--surface-constant-white)",
675
- "surface-constant-black": "var(--surface-constant-black)",
676
- "surface-status-error-default": "var(--surface-status-error-default)",
677
- "surface-status-error-strong-default": "var(--surface-status-error-strong-default)",
678
- "surface-status-error-strong-hover": "var(--surface-status-error-strong-hover)",
679
- "surface-status-error-strong-pressed": "var(--surface-status-error-strong-pressed)",
680
- "surface-status-warning-default": "var(--surface-status-warning-default)",
681
- "surface-status-warning-strong-default": "var(--surface-status-warning-strong-default)",
682
- "surface-status-warning-strong-hover": "var(--surface-status-warning-strong-hover)",
683
- "surface-status-warning-strong-pressed": "var(--surface-status-warning-strong-pressed)",
684
- "surface-status-success-default": "var(--surface-status-success-default)",
685
- "surface-status-success-strong-default": "var(--surface-status-success-strong-default)",
686
- "surface-status-success-strong-hover": "var(--surface-status-success-strong-hover)",
687
- "surface-status-success-strong-pressed": "var(--surface-status-success-strong-pressed)",
688
- "surface-transparent-default": "var(--surface-transparent-default)",
689
- "surface-transparent-hover": "var(--surface-transparent-hover)",
690
- "surface-transparent-pressed": "var(--surface-transparent-pressed)",
691
- "surface-transparent-inverted-default": "var(--surface-transparent-inverted-default)",
692
- "surface-transparent-inverted-hover": "var(--surface-transparent-inverted-hover)",
693
- "surface-transparent-inverted-pressed": "var(--surface-transparent-inverted-pressed)",
694
- "surface-transparent-subdued-default": "var(--surface-transparent-subdued-default)",
695
- "surface-transparent-subdued-inverted-default": "var(--surface-transparent-subdued-inverted-default)",
696
- "surface-transparent-subdued-inverted-hover": "var(--surface-transparent-subdued-inverted-hover)",
697
- "surface-transparent-subdued-inverted-pressed": "var(--surface-transparent-subdued-inverted-pressed)",
698
- "surface-transparent-subdued-inverted-disabled": "var(--surface-transparent-subdued-inverted-disabled)",
699
- "surface-transparent-subdued-hover": "var(--surface-transparent-subdued-hover)",
700
- "surface-transparent-subdued-pressed": "var(--surface-transparent-subdued-pressed)",
701
- "surface-transparent-subdued-disabled": "var(--surface-transparent-subdued-disabled)",
702
- "surface-subdued-default": "var(--surface-subdued-default)",
703
- "surface-subdued-hover": "var(--surface-subdued-hover)",
704
- "surface-subdued-pressed": "var(--surface-subdued-pressed)",
705
- "surface-disabled": "var(--surface-disabled)",
706
- "surface-interactive-default": "var(--surface-interactive-default)",
707
- "surface-interactive-hover": "var(--surface-interactive-hover)",
708
- "surface-interactive-pressed": "var(--surface-interactive-pressed)",
709
- "surface-interactive-selected-default": "var(--surface-interactive-selected-default)",
710
- "surface-interactive-selected-hover": "var(--surface-interactive-selected-hover)",
711
- "surface-interactive-selected-pressed": "var(--surface-interactive-selected-pressed)",
712
- "surface-_native-default": "var(--surface-_native-default)",
713
- "surface-dark-default": "var(--surface-dark-default)",
714
- "surface-dark-hover": "var(--surface-dark-hover)",
715
- "surface-dark-pressed": "var(--surface-dark-pressed)",
716
- "surface-active-default": "var(--surface-active-default)",
717
- "surface-active-hover": "var(--surface-active-hover)",
718
- "surface-active-pressed": "var(--surface-active-pressed)",
719
- "content-default-default": "var(--content-default-default)",
720
- "content-default-inverted-default": "var(--content-default-inverted-default)",
721
- "content-constant-white": "var(--content-constant-white)",
722
- "content-constant-black": "var(--content-constant-black)",
723
- "content-constant-grey": "var(--content-constant-grey)",
724
- "content-status-error-default": "var(--content-status-error-default)",
725
- "content-status-error-hover": "var(--content-status-error-hover)",
726
- "content-status-error-pressed": "var(--content-status-error-pressed)",
727
- "content-status-warning-default": "var(--content-status-warning-default)",
728
- "content-status-success-color": "var(--content-status-success-color)",
729
- "content-on-primary-default": "var(--content-on-primary-default)",
730
- "content-on-primary-hover": "var(--content-on-primary-hover)",
731
- "content-on-primary-pressed": "var(--content-on-primary-pressed)",
732
- "content-on-primary-disabled": "var(--content-on-primary-disabled)",
733
- "content-on-secondary-default": "var(--content-on-secondary-default)",
734
- "content-on-secondary-hover": "var(--content-on-secondary-hover)",
735
- "content-on-secondary-pressed": "var(--content-on-secondary-pressed)",
736
- "content-on-secondary-disabled": "var(--content-on-secondary-disabled)",
737
- "content-disabled": "var(--content-disabled)",
738
- "content-interactive-default-default": "var(--content-interactive-default-default)",
739
- "content-interactive-default-hover": "var(--content-interactive-default-hover)",
740
- "content-interactive-default-pressed": "var(--content-interactive-default-pressed)",
741
- "content-interactive-inverted-default": "var(--content-interactive-inverted-default)",
742
- "content-interactive-inverted-hover": "var(--content-interactive-inverted-hover)",
743
- "content-interactive-inverted-pressed": "var(--content-interactive-inverted-pressed)",
744
- "content-subdued-default-default": "var(--content-subdued-default-default)",
745
- "content-subdued-inverted-default": "var(--content-subdued-inverted-default)",
746
- "content-_native-default": "var(--content-_native-default)",
747
- "content-light-default-default": "var(--content-light-default-default)",
748
- "content-light-inverted-default": "var(--content-light-inverted-default)",
749
- "border-default-default": "var(--border-default-default)",
750
- "border-default-inverted-default": "var(--border-default-inverted-default)",
751
- "border-default-inverted-disabled": "var(--border-default-inverted-disabled)",
752
- "border-constant-white": "var(--border-constant-white)",
753
- "border-constant-black": "var(--border-constant-black)",
754
- "border-status-error-default": "var(--border-status-error-default)",
755
- "border-status-error-hover": "var(--border-status-error-hover)",
756
- "border-status-error-pressed": "var(--border-status-error-pressed)",
757
- "border-status-warning-default": "var(--border-status-warning-default)",
758
- "border-status-success-default": "var(--border-status-success-default)",
759
- "border-on-primary-default": "var(--border-on-primary-default)",
760
- "border-on-primary-disabled": "var(--border-on-primary-disabled)",
761
- "border-on-secondary-default": "var(--border-on-secondary-default)",
762
- "border-on-secondary-disabled": "var(--border-on-secondary-disabled)",
763
- "border-disabled-default": "var(--border-disabled-default)",
764
- "border-disabled-inverted": "var(--border-disabled-inverted)",
765
- "border-light-default": "var(--border-light-default)",
766
- "border-subdued-default-default": "var(--border-subdued-default-default)",
767
- "border-subdued-default-hover": "var(--border-subdued-default-hover)",
768
- "border-subdued-inverted-default": "var(--border-subdued-inverted-default)",
769
- "border-interactive-default": "var(--border-interactive-default)",
770
- "border-interactive-hover": "var(--border-interactive-hover)",
771
- "border-interactive-pressed": "var(--border-interactive-pressed)",
772
- "border-focus-default": "var(--border-focus-default)",
773
- "border-active-default": "var(--border-active-default)",
774
- "border-active-hover": "var(--border-active-hover)",
775
- "border-active-pressed": "var(--border-active-pressed)",
776
- "crypto-bitcoin-sv": "var(--crypto-bitcoin-sv)",
777
- "crypto-bitcoin-gold": "var(--crypto-bitcoin-gold)",
778
- "crypto-zcash": "var(--crypto-zcash)",
779
- "crypto-yieldly": "var(--crypto-yieldly)",
780
- "crypto-uni": "var(--crypto-uni)",
781
- "crypto-uniswap": "var(--crypto-uniswap)",
782
- "crypto-bitcoin-cash": "var(--crypto-bitcoin-cash)",
783
- "crypto-tezos": "var(--crypto-tezos)",
784
- "crypto-sol": "var(--crypto-sol)",
785
- "crypto-xrp": "var(--crypto-xrp)",
786
- "crypto-tron": "var(--crypto-tron)",
787
- "crypto-sats": "var(--crypto-sats)",
788
- "crypto-polkadot": "var(--crypto-polkadot)",
789
- "crypto-bitcoin": "var(--crypto-bitcoin)",
790
- "crypto-compound": "var(--crypto-compound)",
791
- "crypto-peercoin": "var(--crypto-peercoin)",
792
- "crypto-omg-network": "var(--crypto-omg-network)",
793
- "crypto-near": "var(--crypto-near)",
794
- "crypto-stellar": "var(--crypto-stellar)",
795
- "crypto-nano": "var(--crypto-nano)",
796
- "crypto-nimiq": "var(--crypto-nimiq)",
797
- "crypto-multiverse-x": "var(--crypto-multiverse-x)",
798
- "crypto-ethereum": "var(--crypto-ethereum)",
799
- "crypto-okb": "var(--crypto-okb)",
800
- "crypto-tether-usdt": "var(--crypto-tether-usdt)",
801
- "crypto-avax": "var(--crypto-avax)",
802
- "crypto-bgb": "var(--crypto-bgb)",
803
- "crypto-usdc": "var(--crypto-usdc)",
804
- "crypto-monero": "var(--crypto-monero)",
805
- "crypto-tkx": "var(--crypto-tkx)",
806
- "crypto-huobi": "var(--crypto-huobi)",
807
- "crypto-pivx": "var(--crypto-pivx)",
808
- "crypto-cardano": "var(--crypto-cardano)",
809
- "crypto-dydx": "var(--crypto-dydx)",
810
- "crypto-cro": "var(--crypto-cro)",
811
- "crypto-hnt": "var(--crypto-hnt)",
812
- "crypto-hedera": "var(--crypto-hedera)",
813
- "crypto-ftm": "var(--crypto-ftm)",
814
- "crypto-flr": "var(--crypto-flr)",
815
- "crypto-bat": "var(--crypto-bat)",
816
- "crypto-ethereum-classic": "var(--crypto-ethereum-classic)",
817
- "crypto-bincance": "var(--crypto-bincance)",
818
- "crypto-ethergem": "var(--crypto-ethergem)",
819
- "crypto-iota": "var(--crypto-iota)",
820
- "crypto-chainlink": "var(--crypto-chainlink)",
821
- "crypto-dym": "var(--crypto-dym)",
822
- "crypto-eos": "var(--crypto-eos)",
823
- "crypto-waves": "var(--crypto-waves)",
824
- "crypto-polygon": "var(--crypto-polygon)",
825
- "crypto-celo": "var(--crypto-celo)",
826
- "crypto-dogecoin": "var(--crypto-dogecoin)",
827
- "crypto-algorand": "var(--crypto-algorand)",
828
- "crypto-cosmos": "var(--crypto-cosmos)",
829
- "crypto-digibyte": "var(--crypto-digibyte)",
830
- "crypto-pirl": "var(--crypto-pirl)",
831
- "crypto-eng": "var(--crypto-eng)",
832
- "crypto-decred": "var(--crypto-decred)",
833
- "crypto-dash": "var(--crypto-dash)",
834
- "crypto-xin": "var(--crypto-xin)",
835
- "crypto-tusd": "var(--crypto-tusd)",
836
- "crypto-litecoin": "var(--crypto-litecoin)",
837
- "crypto-komodo": "var(--crypto-komodo)",
838
- "crypto-elrond": "var(--crypto-elrond)",
839
- "crypto-osmo": "var(--crypto-osmo)",
840
- "crypto-leo": "var(--crypto-leo)",
841
- "crypto-bytecoin": "var(--crypto-bytecoin)",
842
- "crypto-aion": "var(--crypto-aion)",
843
- "crypto-dai": "var(--crypto-dai)",
844
- "crypto-neo": "var(--crypto-neo)"
845
- }));
846
- const primitiveColors = (/* unused pure expression or super */ null && ({
847
- "light-constant-400": "#d5d5d5",
848
- "light-constant-950": "#000000",
849
- "light-constant-050": "#ffffff",
850
- "light-green-100": "#e6f7e1",
851
- "light-green-200": "#cbeec4",
852
- "light-green-300": "#a2e095",
853
- "light-green-400": "#6ec85c",
854
- "light-green-500": "#5ba34d",
855
- "light-green-600": "#47883a",
856
- "light-green-700": "#3b6c32",
857
- "light-green-800": "#33572e",
858
- "light-green-900": "#2c4828",
859
- "light-green-950": "#142b12",
860
- "light-green-050": "#f4fbf2",
861
- "light-green-600---0%": "#47883a00",
862
- "light-green-400---0%": "#6ec85c00",
863
- "light-green-color": "#ffffff",
864
- "light-green-600---10%": "#47883a1a",
865
- "light-green-400---10%": "#6ec85c1a",
866
- "light-yellow-100": "#fff3d5",
867
- "light-yellow-200": "#ffe7ac",
868
- "light-yellow-300": "#ffd373",
869
- "light-yellow-400": "#ffbd42",
870
- "light-yellow-500": "#efa22f",
871
- "light-yellow-600": "#d38b20",
872
- "light-yellow-700": "#ae731a",
873
- "light-yellow-800": "#885a14",
874
- "light-yellow-900": "#63420f",
875
- "light-yellow-950": "#3e2909",
876
- "light-yellow-050": "#fff8e6",
877
- "light-yellow-600---0%": "#d38b2000",
878
- "light-yellow-600---10%": "#d38b201a",
879
- "light-yellow-400---0%": "#ffbd4200",
880
- "light-yellow-400---10%": "#ffbd421a",
881
- "light-red-100": "#fee1e2",
882
- "light-red-200": "#fec8c9",
883
- "light-red-300": "#fca6a7",
884
- "light-red-400": "#f87274",
885
- "light-red-500": "#f04f52",
886
- "light-red-600": "#c24244",
887
- "light-red-700": "#a43234",
888
- "light-red-800": "#852e2f",
889
- "light-red-900": "#702e2f",
890
- "light-red-950": "#3b1212",
891
- "light-red-050": "#fef1f1",
892
- "light-red-400---0%": "#f8727400",
893
- "light-red-600---0%": "#c2424400",
894
- "light-red-600---10%": "#c242441a",
895
- "light-red-400---10%": "#f872741a",
896
- "light-grey-100": "#fbfbfb",
897
- "light-grey-200": "#f4f4f4",
898
- "light-grey-300": "#e8e8e8",
899
- "light-grey-400": "#d5d5d5",
900
- "light-grey-500": "#c1c1c1",
901
- "light-grey-600": "#767676",
902
- "light-grey-700": "#6a6a6a",
903
- "light-grey-800": "#4d4d4d",
904
- "light-grey-900": "#272727",
905
- "light-grey-950": "#000000",
906
- "light-grey-950---30-%": "#0000004d",
907
- "light-grey-050": "#ffffff",
908
- "light-grey-050---90%": "#ffffffe6",
909
- "light-grey-050---80%": "#ffffffcc",
910
- "light-grey-050---70%": "#ffffffb3",
911
- "light-grey-050---60%": "#ffffff99",
912
- "light-grey-050---50%": "#ffffff80",
913
- "light-grey-050---40%": "#ffffff66",
914
- "light-grey-050--30%": "#ffffff4d",
915
- "light-grey-050---20%": "#ffffff33",
916
- "light-grey-050---10-%": "#ffffff1a",
917
- "light-grey-950---10%": "#0000001a",
918
- "light-grey-950---20%": "#00000033",
919
- "light-grey-950---40%": "#00000066",
920
- "light-grey-950---50%": "#00000080",
921
- "light-grey-950---60%": "#00000099",
922
- "light-grey-950---70%": "#000000b3",
923
- "light-grey-950---80%": "#000000cc",
924
- "light-grey-950---90%": "#000000e6",
925
- "light-grey-950---0%": "#00000000",
926
- "light-grey-050---0%": "#ffffff00",
927
- "light-grey-950----30%": "#0000004d",
928
- "light-grey-050---30%": "#ffffff4d",
929
- "light-grey-050---5%": "#ffffff0d",
930
- "light-grey-950---5%": "#0000000d",
931
- "light-grey-950---2%": "#00000005",
932
- "light-grey-050---2%": "#ffffff05",
933
- "light-orange-100": "#ffddcc",
934
- "light-orange-200": "#ffc2a4",
935
- "light-orange-300": "#ffa97f",
936
- "light-orange-400": "#ff8c55",
937
- "light-orange-500": "#ff702a",
938
- "light-orange-600": "#ff5300",
939
- "light-orange-700": "#d64400",
940
- "light-orange-800": "#b23a00",
941
- "light-orange-900": "#9e3300",
942
- "light-orange-950": "#662100",
943
- "light-orange-050": "#fef0e9",
944
- "light-crypto-colors-algorand": "#00a478",
945
- "light-crypto-colors-aion": "#212529",
946
- "light-crypto-colors-avax": "#e84142",
947
- "light-crypto-colors-bat": "#ff5000",
948
- "light-crypto-colors-bgb": "#00e0ff",
949
- "light-crypto-colors-bitcoin": "#f7931a",
950
- "light-crypto-colors-bitcoin-cash": "#0ac18e",
951
- "light-crypto-colors-bitcoin-gold": "#152569",
952
- "light-crypto-colors-bitcoin-sv": "#eab300",
953
- "light-crypto-colors-bincance": "#f5bc00",
954
- "light-crypto-colors-bytecoin": "#f04086",
955
- "light-crypto-colors-cardano": "#0033ad",
956
- "light-crypto-colors-cosmos": "#2e3148",
957
- "light-crypto-colors-compound": "#00d395",
958
- "light-crypto-colors-chainlink": "#2a5ada",
959
- "light-crypto-colors-dash": "#008ce7",
960
- "light-crypto-colors-dai": "#f5ac37",
961
- "light-crypto-colors-decred": "#2970ff",
962
- "light-crypto-colors-digibyte": "#0066cc",
963
- "light-crypto-colors-dogecoin": "#c3a634",
964
- "light-crypto-colors-dydx": "#6966ff",
965
- "light-crypto-colors-elrond": "#000000",
966
- "light-crypto-colors-eos": "#000000",
967
- "light-crypto-colors-ethergem": "#4a4ab6",
968
- "light-crypto-colors-ethereum": "#454a75",
969
- "light-crypto-colors-ethereum-classic": "#0b8311",
970
- "light-crypto-colors-huobi": "#357ce1",
971
- "light-crypto-colors-hnt": "#474dff",
972
- "light-crypto-colors-iota": "#000000",
973
- "light-crypto-colors-komodo": "#41ead4",
974
- "light-crypto-colors-leo": "#000000",
975
- "light-crypto-colors-litecoin": "#345d9d",
976
- "light-crypto-colors-monero": "#f26822",
977
- "light-crypto-colors-multiverse-x": "#23f7dd",
978
- "light-crypto-colors-nano": "#5d8eb2",
979
- "light-crypto-colors-near": "#1c1d1f",
980
- "light-crypto-colors-neo": "#7dd224",
981
- "light-crypto-colors-nimiq": "#f8b425",
982
- "light-crypto-colors-osmo": "#302dbb",
983
- "light-crypto-colors-okb": "#2d60e0",
984
- "light-crypto-colors-peercoin": "#3cb054",
985
- "light-crypto-colors-pirl": "#357ce1",
986
- "light-crypto-colors-pivx": "#5c4c7c",
987
- "light-crypto-colors-polkadot": "#e6007a",
988
- "light-crypto-colors-stellar": "#000000",
989
- "light-crypto-colors-tether-usdt": "#00a478",
990
- "light-crypto-colors-tezos": "#2c7df7",
991
- "light-crypto-colors-tkx": "#fd6a1f",
992
- "light-crypto-colors-tron": "#ff060a",
993
- "light-crypto-colors-tusd": "#1a5aff",
994
- "light-crypto-colors-usdc": "#f04086",
995
- "light-crypto-colors-uni": "#f04086",
996
- "light-crypto-colors-waves": "#0055ff",
997
- "light-crypto-colors-xrp": "#333333",
998
- "light-crypto-colors-zcash": "#f4b728",
999
- "light-crypto-colors-cro": "#002d74",
1000
- "light-crypto-colors-eng": "#2f2f2f",
1001
- "light-crypto-colors-hedera": "#000000",
1002
- "light-crypto-colors-polygon": "#8247e5",
1003
- "light-crypto-colors-sats": "#ff8b00",
1004
- "light-crypto-colors-sol": "#9945ff",
1005
- "light-crypto-colors-uniswap": "#ff007a",
1006
- "light-crypto-colors-xin": "#1eb5fa",
1007
- "light-crypto-colors-yieldly": "#f3b732",
1008
- "light-crypto-colors-omg-network": "#000000",
1009
- "light-crypto-colors-celo": "#fcff52",
1010
- "light-crypto-colors-ftm": "#1969ff",
1011
- "light-crypto-colors-dym": "#f1e1d4",
1012
- "light-crypto-colors-flr": "#e62058",
1013
- "light-discover-1inch": "#212529",
1014
- "light-discover-changelly": "#10d078",
1015
- "light-discover-compound": "#00d395",
1016
- "light-discover-deversifi": "#6436ff",
1017
- "light-discover-lido": "#47a1f8",
1018
- "light-discover-opensea": "#2081e2",
1019
- "light-discover-paraswap": "#266ef0",
1020
- "light-discover-rarible": "#feda03",
1021
- "light-discover-zerion": "#2962ef",
1022
- "light-discover-bitrefill": "#449bf7",
1023
- "light-discover-loopipay-blue": "#0050ff",
1024
- "light-discover-loopipay-black": "#0e0d13",
1025
- "light-discover-loopipay-lime": "#e1fb61",
1026
- "light-discover-simplex": "#2ea836",
1027
- "light-discover-baanx": "#003edd",
1028
- "light-discover-mercuryo": "#212529",
1029
- "light-discover-juno": "#4643ee",
1030
- "light-discover-sardine": "#2d29d7",
1031
- "light-purple-100": "#f6ecff",
1032
- "light-purple-200": "#f2e2ff",
1033
- "light-purple-300": "#eed9ff",
1034
- "light-purple-400": "#e5c6ff",
1035
- "light-purple-500": "#ddb3ff",
1036
- "light-purple-600": "#d4a0ff",
1037
- "light-purple-700": "#b380dd",
1038
- "light-purple-800": "#7e4ea5",
1039
- "light-purple-900": "#6a3794",
1040
- "light-purple-950": "#3f2058",
1041
- "light-purple-050": "#fbf5ff",
1042
- "dark-constant-400": "#c3c3c3",
1043
- "dark-constant-950": "#000000",
1044
- "dark-constant-050": "#ffffff",
1045
- "dark-green-100": "#2c4828",
1046
- "dark-green-200": "#33572e",
1047
- "dark-green-300": "#3b6c32",
1048
- "dark-green-400": "#47883a",
1049
- "dark-green-500": "#5ba34d",
1050
- "dark-green-600": "#6ec85c",
1051
- "dark-green-700": "#a2e095",
1052
- "dark-green-800": "#cbeec4",
1053
- "dark-green-900": "#e6f7e1",
1054
- "dark-green-950": "#f4fbf2",
1055
- "dark-green-050": "#142b12",
1056
- "dark-green-600---0%": "#6ec85c00",
1057
- "dark-green-600---10%": "#6ec85c1a",
1058
- "dark-yellow-100": "#63420f",
1059
- "dark-yellow-200": "#885a14",
1060
- "dark-yellow-300": "#ae731a",
1061
- "dark-yellow-400": "#d38b20",
1062
- "dark-yellow-500": "#efa22f",
1063
- "dark-yellow-600": "#ffbd42",
1064
- "dark-yellow-700": "#ffd373",
1065
- "dark-yellow-800": "#ffe7ac",
1066
- "dark-yellow-900": "#fff3d5",
1067
- "dark-yellow-950": "#fff8e6",
1068
- "dark-yellow-050": "#3e2909",
1069
- "dark-yellow-600---0%": "#ffbd4200",
1070
- "dark-yellow-600---10%": "#ffbd421a",
1071
- "dark-red-100": "#702e2f",
1072
- "dark-red-200": "#852e2f",
1073
- "dark-red-300": "#a43234",
1074
- "dark-red-400": "#c24244",
1075
- "dark-red-500": "#f04f52",
1076
- "dark-red-600": "#f87274",
1077
- "dark-red-700": "#fca6a7",
1078
- "dark-red-800": "#fec8c9",
1079
- "dark-red-900": "#fee1e2",
1080
- "dark-red-1000": "#fef1f1",
1081
- "dark-red-050": "#3b1212",
1082
- "dark-red-600---0%": "#f8727400",
1083
- "dark-red-600---10%": "#f872741a",
1084
- "dark-grey-100": "#191919",
1085
- "dark-grey-200": "#272727",
1086
- "dark-grey-300": "#3c3c3c",
1087
- "dark-grey-400": "#565656",
1088
- "dark-grey-500": "#717070",
1089
- "dark-grey-600": "#848484",
1090
- "dark-grey-700": "#9c9c9c",
1091
- "dark-grey-800": "#c3c3c3",
1092
- "dark-grey-900": "#e1e1e1",
1093
- "dark-grey-950": "#ffffff",
1094
- "dark-grey-050---10%": "#0000001a",
1095
- "dark-grey-050---20%": "#00000033",
1096
- "dark-grey-050---30%": "#0000004d",
1097
- "dark-grey-050---40%": "#00000066",
1098
- "dark-grey-050---50%": "#00000080",
1099
- "dark-grey-050---60%": "#00000099",
1100
- "dark-grey-050---70%": "#000000b3",
1101
- "dark-grey-050---80%": "#000000cc",
1102
- "dark-grey-050---90%": "#000000e6",
1103
- "dark-grey-950---10%": "#ffffff1a",
1104
- "dark-grey-950---20%": "#ffffff33",
1105
- "dark-grey-950---30%": "#ffffff4d",
1106
- "dark-grey-950---40%": "#ffffff66",
1107
- "dark-grey-950---50%": "#ffffff80",
1108
- "dark-grey-950---60%": "#ffffff99",
1109
- "dark-grey-950---70%": "#ffffffb3",
1110
- "dark-grey-950---80%": "#ffffffcc",
1111
- "dark-grey-950---90%": "#ffffffe6",
1112
- "dark-grey-050": "#000000",
1113
- "dark-grey-950---0%": "#ffffff00",
1114
- "dark-grey-050---0%": "#00000000",
1115
- "dark-grey-050---5%": "#0000000d",
1116
- "dark-grey-950---5%": "#ffffff0d",
1117
- "dark-grey-950---2%": "#ffffff05",
1118
- "dark-orange-100": "#9e3300",
1119
- "dark-orange-200": "#b23a00",
1120
- "dark-orange-300": "#d64400",
1121
- "dark-orange-400": "#ff5300",
1122
- "dark-orange-500": "#ff702a",
1123
- "dark-orange-600": "#ff8c55",
1124
- "dark-orange-700": "#ffa97f",
1125
- "dark-orange-800": "#ffc2a4",
1126
- "dark-orange-900": "#ffddcc",
1127
- "dark-orange-950": "#fef0e9",
1128
- "dark-orange-050": "#662100",
1129
- "dark-crypto-colors-aion": "#212529",
1130
- "dark-crypto-colors-algorand": "#00a478",
1131
- "dark-crypto-colors-bytecoin": "#f04086",
1132
- "dark-crypto-colors-avax": "#e84142",
1133
- "dark-crypto-colors-bat": "#ff5000",
1134
- "dark-crypto-colors-bgb": "#00e0ff",
1135
- "dark-crypto-colors-bitcoin": "#f7931a",
1136
- "dark-crypto-colors-bitcoin-cash": "#0ac18e",
1137
- "dark-crypto-colors-bitcoin-gold": "#152569",
1138
- "dark-crypto-colors-bitcoin-sv": "#eab300",
1139
- "dark-crypto-colors-bincance": "#f5bc00",
1140
- "dark-crypto-colors-cardano": "#0033ad",
1141
- "dark-crypto-colors-cosmos": "#2e3148",
1142
- "dark-crypto-colors-compound": "#00d395",
1143
- "dark-crypto-colors-celo": "#fcff52",
1144
- "dark-crypto-colors-chainlink": "#2a5ada",
1145
- "dark-crypto-colors-cro": "#002d74",
1146
- "dark-crypto-colors-dash": "#008ce7",
1147
- "dark-crypto-colors-dai": "#f5ac37",
1148
- "dark-crypto-colors-decred": "#2970ff",
1149
- "dark-crypto-colors-digibyte": "#0066cc",
1150
- "dark-crypto-colors-dogecoin": "#c3a634",
1151
- "dark-crypto-colors-dydx": "#6966ff",
1152
- "dark-crypto-colors-dym": "#f1e1d4",
1153
- "dark-crypto-colors-elrond": "#000000",
1154
- "dark-crypto-colors-eng": "#2f2f2f",
1155
- "dark-crypto-colors-eos": "#000000",
1156
- "dark-crypto-colors-ethergem": "#4a4ab6",
1157
- "dark-crypto-colors-ethereum": "#454a75",
1158
- "dark-crypto-colors-ethereum-classic": "#0b8311",
1159
- "dark-crypto-colors-flr": "#e62058",
1160
- "dark-crypto-colors-ftm": "#1969ff",
1161
- "dark-crypto-colors-hedera": "#000000",
1162
- "dark-crypto-colors-hnt": "#474dff",
1163
- "dark-crypto-colors-huobi": "#357ce1",
1164
- "dark-crypto-colors-iota": "#000000",
1165
- "dark-crypto-colors-komodo": "#41ead4",
1166
- "dark-crypto-colors-leo": "#000000",
1167
- "dark-crypto-colors-litecoin": "#345d9d",
1168
- "dark-crypto-colors-monero": "#f26822",
1169
- "dark-crypto-colors-multiverse-x": "#23f7dd",
1170
- "dark-crypto-colors-nano": "#5d8eb2",
1171
- "dark-crypto-colors-near": "#1c1d1f",
1172
- "dark-crypto-colors-neo": "#7dd224",
1173
- "dark-crypto-colors-nimiq": "#f8b425",
1174
- "dark-crypto-colors-omg-network": "#000000",
1175
- "dark-crypto-colors-okb": "#2d60e0",
1176
- "dark-crypto-colors-osmo": "#302dbb",
1177
- "dark-crypto-colors-peercoin": "#3cb054",
1178
- "dark-crypto-colors-pirl": "#357ce1",
1179
- "dark-crypto-colors-pivx": "#5c4c7c",
1180
- "dark-crypto-colors-polkadot": "#e6007a",
1181
- "dark-crypto-colors-polygon": "#8247e5",
1182
- "dark-crypto-colors-sats": "#ff8b00",
1183
- "dark-crypto-colors-stellar": "#000000",
1184
- "dark-crypto-colors-sol": "#9945ff",
1185
- "dark-crypto-colors-tether-usdt": "#00a478",
1186
- "dark-crypto-colors-tezos": "#2c7df7",
1187
- "dark-crypto-colors-tkx": "#fd6a1f",
1188
- "dark-crypto-colors-tron": "#ff060a",
1189
- "dark-crypto-colors-uniswap": "#ff007a",
1190
- "dark-crypto-colors-tusd": "#1a5aff",
1191
- "dark-crypto-colors-usdc": "#f04086",
1192
- "dark-crypto-colors-uni": "#f04086",
1193
- "dark-crypto-colors-waves": "#0055ff",
1194
- "dark-crypto-colors-xrp": "#333333",
1195
- "dark-crypto-colors-xin": "#1eb5fa",
1196
- "dark-crypto-colors-yieldly": "#f3b732",
1197
- "dark-crypto-colors-zcash": "#f4b728",
1198
- "dark-discover-1inch": "#212529",
1199
- "dark-discover-changelly": "#10d078",
1200
- "dark-discover-loopipay-blue": "#0050ff",
1201
- "dark-discover-loopipay-black": "#0e0d13",
1202
- "dark-discover-loopipay-lime-2": "#e1fb61",
1203
- "dark-discover-simplex": "#2ea836",
1204
- "dark-discover-baanx": "#003edd",
1205
- "dark-discover-mercuryo": "#212529",
1206
- "dark-discover-juno": "#4643ee",
1207
- "dark-discover-sardine": "#2d29d7",
1208
- "dark-discover-compound": "#00d395",
1209
- "dark-discover-deversifi": "#6436ff",
1210
- "dark-discover-lido": "#47a1f8",
1211
- "dark-discover-opensea": "#2081e2",
1212
- "dark-discover-paraswap": "#266ef0",
1213
- "dark-discover-rarible": "#feda03",
1214
- "dark-discover-zerion": "#2962ef",
1215
- "dark-discover-bitrefill": "#449bf7",
1216
- "dark-purple-100": "#6a3794",
1217
- "dark-purple-200": "#7e4ea5",
1218
- "dark-purple-300": "#b380dd",
1219
- "dark-purple-400": "#d4a0ff",
1220
- "dark-purple-500": "#ddb3ff",
1221
- "dark-purple-600": "#e5c6ff",
1222
- "dark-purple-700": "#eed9ff",
1223
- "dark-purple-800": "#f2e2ff",
1224
- "dark-purple-900": "#f6ecff",
1225
- "dark-purple-950": "#fbf5ff",
1226
- "dark-purple-050": "#3f2058"
1227
- }));
1228
-
1229
-
1230
- },
1231
- 1507(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
1232
-
1233
- // EXPORTS
1234
- __webpack_require__.d(__webpack_exports__, {
1235
- withTokens: () => (/* binding */ withTokens)
1236
- });
1237
-
1238
- ;// CONCATENATED MODULE: external "lodash/memoize"
1239
- const memoize_namespaceObject = require("lodash/memoize");
1240
- var memoize_default = /*#__PURE__*/__webpack_require__.n(memoize_namespaceObject);
1241
- // EXTERNAL MODULE: external "styled-components"
1242
- var external_styled_components_ = __webpack_require__(2770);
1243
- // EXTERNAL MODULE: ./src/pre-ldls/libs/design-tokens.ts
1244
- var design_tokens = __webpack_require__(8112);
1245
- ;// CONCATENATED MODULE: ./src/pre-ldls/libs/index.ts
1246
-
1247
-
1248
-
1249
- // Add temporarily missing and override incorrect tokens here
1250
- const overrideOther = {
1251
- "radius-m": "12px",
1252
- "radius-s": "8px",
1253
- "radius-xs": "4px",
1254
- "border-width-default": "1px",
1255
- "border-width-focus": "2px",
1256
- "margin-xs": "8px",
1257
- "margin-s": "16px",
1258
- "margin-m": "24px",
1259
- "margin-l": "32px",
1260
- "spacing-xs": "12px",
1261
- "spacing-xxs": "8px"
1262
- };
1263
- // Add temporarily missing and override incorrect colours here
1264
- const overrideColor = {
1265
- light: {
1266
- "surface-transparent-hover": "#0000000D",
1267
- "surface-transparent-pressed": "#0000001A",
1268
- "border-subdued-default-hover": "#D5D5D5",
1269
- "border-subdued-default-pressed": "#C1C1C1",
1270
- "background-active": "#D4A0FF"
1271
- },
1272
- dark: {
1273
- "opacity-default-10": "#FFFFFF1A",
1274
- "background-active": "#D4A0FF"
1275
- }
1276
- };
1277
- const withTokens = (...usedTokens)=>{
1278
- const filterTokens = memoize_default()((theme)=>{
1279
- const colors = {
1280
- dark: {
1281
- ...design_tokens.dark,
1282
- ...overrideColor.dark
1283
- },
1284
- light: {
1285
- ...design_tokens.light,
1286
- ...overrideColor.light
1287
- }
1288
- }[theme];
1289
- const colorEntries = Object.entries(colors).flatMap(([key, value])=>{
1290
- const color = `colors-${key}`;
1291
- if (!usedTokens.includes(color)) return [];
1292
- return [
1293
- [
1294
- `--${color}`,
1295
- value
1296
- ]
1297
- ];
1298
- });
1299
- const otherEntries = [
1300
- design_tokens.spacing,
1301
- overrideOther
1302
- ].flatMap(Object.entries).flatMap(([key, value])=>{
1303
- if (!usedTokens.includes(key)) return [];
1304
- return [
1305
- [
1306
- `--${key}`,
1307
- value
1308
- ]
1309
- ];
1310
- });
1311
- return Object.fromEntries([
1312
- ...colorEntries,
1313
- ...otherEntries
1314
- ]);
1315
- });
1316
- return (0,external_styled_components_.css)(({ theme })=>filterTokens(theme.colors.type));
1317
- };
1318
-
1319
-
1320
- },
1321
- 4336(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
1322
-
1323
- // EXPORTS
1324
- __webpack_require__.d(__webpack_exports__, {
1325
- ff: () => (/* binding */ ff)
1326
- });
1327
-
1328
- // UNUSED EXPORTS: darken, ensureContrast, mix, rgba, lighten
1329
-
1330
- ;// CONCATENATED MODULE: external "color"
1331
- const external_color_namespaceObject = require("color");
1332
- // EXTERNAL MODULE: ./src/styles/theme.ts
1333
- var theme = __webpack_require__(5548);
1334
- ;// CONCATENATED MODULE: ./src/styles/helpers.ts
1335
-
1336
-
1337
- const rgba = (c, a)=>Color(c).alpha(a).rgb().toString();
1338
- const darken = (c, a)=>Color(c).darken(a).toString();
1339
- const lighten = (c, a)=>Color(c).lighten(a).toString();
1340
- const mix = (c, b, a)=>Color(c).mix(Color(b), a).toString();
1341
- const ff = (v)=>{
1342
- const [font, type = "Regular"] = v.split("|");
1343
- // @ts-expect-error FIXME
1344
- const { style, weight } = theme.fontFamilies[font][type];
1345
- // @ts-expect-error FIXME
1346
- const fallback = theme.fontFamilies[font].fallback ?? "Arial";
1347
- return {
1348
- fontFamily: `${font}, ${fallback}`,
1349
- fontWeight: weight,
1350
- fontStyle: style
1351
- };
1352
- };
1353
- const ensureContrast = (color1, color2)=>{
1354
- const colorL1 = Color(color1).luminosity() + 0.05;
1355
- const colorL2 = Color(color2).luminosity() + 0.05;
1356
- const lRatio = colorL1 > colorL2 ? colorL1 / colorL2 : colorL2 / colorL1;
1357
- if (lRatio < 1.5) {
1358
- return Color(color1).rotate(180).negate().string();
1359
- }
1360
- return color1;
1361
- };
1362
-
1363
-
1364
- },
1365
- 3364(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
1366
- __webpack_require__.d(__webpack_exports__, {
1367
- "default": () => (__rspack_default_export)
1368
- });
1369
- /* import */ var _helpers__rspack_import_0 = __webpack_require__(4336);
1370
-
1371
- /* export default */ const __rspack_default_export = ((props)=>{
1372
- const prop = props.ff;
1373
- if (prop == null) {
1374
- return null;
1375
- }
1376
- return (0,_helpers__rspack_import_0.ff)(prop);
1377
- });
1378
-
1379
-
1380
- },
1381
- 4182(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
1382
- __webpack_require__.d(__webpack_exports__, {
1383
- "default": () => (__rspack_default_export)
1384
- });
1385
- /* import */ var styled_system__rspack_import_0 = __webpack_require__(9351);
1386
- /* import */ var styled_system__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_system__rspack_import_0);
1387
-
1388
- const gaps = (0,styled_system__rspack_import_0.system)({
1389
- rowGap: {
1390
- property: "rowGap",
1391
- scale: "space"
1392
- },
1393
- columnGap: {
1394
- property: "columnGap",
1395
- scale: "space"
1396
- }
1397
- });
1398
- /* export default */ const __rspack_default_export = (gaps);
1399
-
1400
-
1401
- },
1402
- 5548(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
1403
- __webpack_require__.d(__webpack_exports__, {
1404
- fontFamilies: () => (fontFamilies)
1405
- });
1406
- /* import */ var styled_components__rspack_import_0 = __webpack_require__(2770);
1407
- /* import */ var styled_components__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(styled_components__rspack_import_0);
1408
- /* import */ var _ledgerhq_ui_shared__rspack_import_1 = __webpack_require__(2993);
1409
- /* import */ var _ledgerhq_ui_shared__rspack_import_1_default = /*#__PURE__*/__webpack_require__.n(_ledgerhq_ui_shared__rspack_import_1);
1410
-
1411
-
1412
- const breakpoints = {
1413
- sm: "640px",
1414
- md: "768px",
1415
- lg: "1024px",
1416
- xl: "1280px",
1417
- xxl: "1536px"
1418
- };
1419
- const space = [
1420
- /* space indexes:
1421
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 */ 0,
1422
- 2,
1423
- 4,
1424
- 8,
1425
- 10,
1426
- 12,
1427
- 16,
1428
- 20,
1429
- 24,
1430
- 28,
1431
- 32,
1432
- 36,
1433
- 40,
1434
- 44,
1435
- 48,
1436
- 52,
1437
- 56,
1438
- 60,
1439
- 64,
1440
- 68,
1441
- 72,
1442
- 76
1443
- ];
1444
- const fontSizes = [
1445
- 8,
1446
- 10,
1447
- 11,
1448
- 12,
1449
- 13,
1450
- 14,
1451
- 16,
1452
- 20,
1453
- 24,
1454
- 28,
1455
- 32,
1456
- 36
1457
- ];
1458
- [fontSizes.micro, fontSizes.tiny, fontSizes.extraSmall, fontSizes.small, fontSizes.paragraph, fontSizes.body, fontSizes.large, fontSizes.h5, fontSizes.h4, fontSizes.h3, fontSizes.h2, fontSizes.h1] = fontSizes;
1459
- fontSizes.largeLineHeight = fontSizes.large;
1460
- fontSizes.bodyLineHeight = fontSizes.body;
1461
- fontSizes.paragraphLineHeight = fontSizes.paragraph;
1462
- fontSizes.subtitle = fontSizes.extraSmall;
1463
- fontSizes.h1Inter = fontSizes.h1;
1464
- fontSizes.h2Inter = fontSizes.h2;
1465
- fontSizes.h3Inter = fontSizes.h3;
1466
- fontSizes.h4Inter = fontSizes.h4;
1467
- fontSizes.h5Inter = fontSizes.h5;
1468
- const fontWeights = {
1469
- extraLight: "100",
1470
- light: "300",
1471
- regular: "400",
1472
- medium: "500",
1473
- semiBold: "600",
1474
- bold: "700",
1475
- extraBold: "800"
1476
- };
1477
- const radii = [
1478
- 0,
1479
- 4,
1480
- 8,
1481
- 12,
1482
- 16,
1483
- 20
1484
- ];
1485
- const shadows = [
1486
- "0 4px 8px 0 rgba(0, 0, 0, 0.03)"
1487
- ];
1488
- const zIndexes = [
1489
- -1,
1490
- 0,
1491
- 1,
1492
- 9,
1493
- 10,
1494
- 90,
1495
- 100,
1496
- 900,
1497
- 1000
1498
- ];
1499
- // Those fonts are now defined in global.css, this is just a mapping for styled-system
1500
- const fontFamilies = {
1501
- Inter: {
1502
- ExtraLight: {
1503
- weight: 100,
1504
- style: "normal"
1505
- },
1506
- Light: {
1507
- weight: 300,
1508
- style: "normal"
1509
- },
1510
- Regular: {
1511
- weight: 400,
1512
- style: "normal"
1513
- },
1514
- Medium: {
1515
- weight: 500,
1516
- style: "normal"
1517
- },
1518
- SemiBold: {
1519
- weight: 600,
1520
- style: "normal"
1521
- },
1522
- Bold: {
1523
- weight: 700,
1524
- style: "normal"
1525
- },
1526
- ExtraBold: {
1527
- weight: 800,
1528
- style: "normal"
1529
- }
1530
- },
1531
- Alpha: {
1532
- Medium: {
1533
- weight: 500,
1534
- style: "normal"
1535
- }
1536
- }
1537
- };
1538
- const animationDuration = "0.33s";
1539
- const easings = {
1540
- outQuadratic: "cubic-bezier(0.25, 0.46, 0.45, 0.94)"
1541
- };
1542
- const transition = (properties = [
1543
- "all"
1544
- ], duration = animationDuration, easing = easings.outQuadratic)=>(0,styled_components__rspack_import_0.css)`
1545
- transition-property: ${properties.join(",")};
1546
- transition-duration: ${duration};
1547
- transition-timing-function: ${easing};
1548
- `;
1549
- const fadeIn = (0,styled_components__rspack_import_0.keyframes)`
1550
- 0% {
1551
- opacity: 0;
1552
- }
1553
- 100% {
1554
- opacity: 1;
1555
- }
1556
- `;
1557
- const fadeOut = (0,styled_components__rspack_import_0.keyframes)`
1558
- 0% {
1559
- opacity: 1;
1560
- }
1561
- 100% {
1562
- opacity: 0;
1563
- }
1564
- `;
1565
- const fadeInGrowX = (0,styled_components__rspack_import_0.keyframes)`
1566
- 0% {
1567
- opacity: 0;
1568
- transform: scaleX(0);
1569
- }
1570
- 100% {
1571
- opacity: 1;
1572
- transform: scaleX(1);
1573
- }
1574
- `;
1575
- const fadeInUp = (0,styled_components__rspack_import_0.keyframes)`
1576
- 0% {
1577
- opacity: 0;
1578
- transform: translateY(66%);
1579
- }
1580
- 100% {
1581
- opacity: 1;
1582
- transform: translateY(0%);
1583
- }
1584
- `;
1585
- const animations = {
1586
- fadeIn: ()=>(0,styled_components__rspack_import_0.css)`
1587
- ${fadeIn} ${animationDuration} ${easings.outQuadratic} forwards
1588
- `,
1589
- fadeOut: ()=>(0,styled_components__rspack_import_0.css)`
1590
- ${fadeOut} ${animationDuration} ${easings.outQuadratic} forwards
1591
- `,
1592
- fadeInGrowX: ()=>(0,styled_components__rspack_import_0.css)`
1593
- ${fadeInGrowX} 0.6s ${easings.outQuadratic} forwards
1594
- `,
1595
- fadeInUp: ()=>(0,styled_components__rspack_import_0.css)`
1596
- ${fadeInUp} ${animationDuration} ${easings.outQuadratic} forwards
1597
- `
1598
- };
1599
- const overflow = {
1600
- x: (0,styled_components__rspack_import_0.css)`
1601
- overflow-y: hidden;
1602
- overflow-x: scroll;
1603
- will-change: transform;
1604
- &:hover {
1605
- --track-color: ${(p)=>p.theme.colors.neutral.c30};
1606
- }
1607
- `,
1608
- y: (0,styled_components__rspack_import_0.css)`
1609
- overflow-x: hidden;
1610
- overflow-y: scroll;
1611
- will-change: transform;
1612
- &:hover {
1613
- --track-color: ${(p)=>p.theme.colors.neutral.c30};
1614
- }
1615
- `,
1616
- yAuto: (0,styled_components__rspack_import_0.css)`
1617
- overflow-x: hidden;
1618
- overflow-y: auto;
1619
- will-change: transform;
1620
- &:hover {
1621
- --track-color: ${(p)=>p.theme.colors.neutral.c30};
1622
- }
1623
- `,
1624
- xy: (0,styled_components__rspack_import_0.css)`
1625
- overflow: scroll;
1626
- will-change: transform;
1627
- &:hover {
1628
- --track-color: ${(p)=>p.theme.colors.neutral.c30};
1629
- }
1630
- `,
1631
- trackSize: 12
1632
- };
1633
- const theme = {
1634
- theme: "light",
1635
- sizes: {
1636
- drawer: {
1637
- side: {
1638
- big: {
1639
- width: 580
1640
- },
1641
- small: {
1642
- width: 420
1643
- }
1644
- },
1645
- popin: {
1646
- min: {
1647
- height: 158,
1648
- width: 462
1649
- },
1650
- max: {
1651
- height: 522,
1652
- width: 622
1653
- }
1654
- }
1655
- },
1656
- topBarHeight: 58,
1657
- sideBarWidth: 230
1658
- },
1659
- radii,
1660
- fontFamilies,
1661
- fontSizes,
1662
- fontWeights,
1663
- space,
1664
- shadows,
1665
- colors: _ledgerhq_ui_shared__rspack_import_1.palettes.light,
1666
- animations,
1667
- overflow,
1668
- transition,
1669
- zIndexes,
1670
- breakpoints
1671
- };
1672
- /* unused export default */ var __rspack_default_export = ((/* unused pure expression or super */ null && (theme)));
1673
-
1674
-
1675
- },
1676
- 2993(module) {
1677
- module.exports = require("@ledgerhq/ui-shared");
1678
-
1679
- },
1680
- 2015(module) {
1681
- module.exports = require("react");
1682
-
1683
- },
1684
- 2770(module) {
1685
- module.exports = require("styled-components");
1686
-
1687
- },
1688
- 9351(module) {
1689
- module.exports = require("styled-system");
1690
-
1691
- },
1692
-
1693
- });
1694
- // The module cache
1695
- var __webpack_module_cache__ = {};
1696
-
1697
- // The require function
1698
- function __webpack_require__(moduleId) {
1699
-
1700
- // Check if module is in cache
1701
- var cachedModule = __webpack_module_cache__[moduleId];
1702
- if (cachedModule !== undefined) {
1703
- return cachedModule.exports;
1704
- }
1705
- // Create a new module (and put it into the cache)
1706
- var module = (__webpack_module_cache__[moduleId] = {
1707
- exports: {}
1708
- });
1709
- // Execute the module function
1710
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1711
-
1712
- // Return the exports of the module
1713
- return module.exports;
1714
-
1715
- }
1716
-
1717
- // webpack/runtime/compat_get_default_export
1718
- (() => {
1719
- // getDefaultExport function for compatibility with non-ESM modules
1720
- __webpack_require__.n = (module) => {
1721
- var getter = module && module.__esModule ?
1722
- () => (module['default']) :
1723
- () => (module);
1724
- __webpack_require__.d(getter, { a: getter });
1725
- return getter;
1726
- };
1727
-
1728
- })();
1729
- // webpack/runtime/define_property_getters
1730
- (() => {
1731
- __webpack_require__.d = (exports, definition) => {
1732
- for(var key in definition) {
1733
- if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1734
- Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1735
- }
1736
- }
1737
- };
1738
- })();
1739
- // webpack/runtime/has_own_property
1740
- (() => {
1741
- __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1742
- })();
1743
- // webpack/runtime/make_namespace_object
1744
- (() => {
1745
- // define __esModule on exports
1746
- __webpack_require__.r = (exports) => {
1747
- if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1748
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1749
- }
1750
- Object.defineProperty(exports, '__esModule', { value: true });
1751
- };
1752
- })();
1753
- var __webpack_exports__ = {};
1754
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
1755
- (() => {
1756
- __webpack_require__.r(__webpack_exports__);
1757
- __webpack_require__.d(__webpack_exports__, {
1758
- ApyIndicator: () => (ApyIndicator)
1759
- });
1760
- /* import */ var _Tag_Tag__rspack_import_1 = __webpack_require__(2472);
1761
- /* import */ var react__rspack_import_0 = __webpack_require__(2015);
1762
- /* import */ var react__rspack_import_0_default = /*#__PURE__*/__webpack_require__.n(react__rspack_import_0);
1763
-
1764
-
1765
- const ApyIndicator = ({ value, type })=>{
1766
- return /*#__PURE__*/ react__rspack_import_0_default().createElement(_Tag_Tag__rspack_import_1.Tag, {
1767
- spacing: "md"
1768
- }, `~ ${value}% ${type}`);
1769
- };
1770
-
1771
- })();
1772
-
1773
- module.exports = __webpack_exports__;
1774
- })()
1775
- ;
1776
- //# sourceMappingURL=ApyIndicator.js.map