@rango-dev/widget-embedded 0.20.1-next.20 → 0.20.1-next.21

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 (84) hide show
  1. package/dist/components/BlockchainList/BlockchainList.styles.d.ts +161 -1
  2. package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
  3. package/dist/components/HeaderButtons/HeaderButtons.types.d.ts +0 -1
  4. package/dist/components/HeaderButtons/HeaderButtons.types.d.ts.map +1 -1
  5. package/dist/components/HeaderButtons/HomeButtons.d.ts.map +1 -1
  6. package/dist/components/Layout/Layout.d.ts +2 -3
  7. package/dist/components/Layout/Layout.d.ts.map +1 -1
  8. package/dist/components/Layout/Layout.helpers.d.ts +2 -0
  9. package/dist/components/Layout/Layout.helpers.d.ts.map +1 -0
  10. package/dist/components/Layout/Layout.styles.d.ts +2 -4
  11. package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
  12. package/dist/components/Layout/Layout.types.d.ts +6 -3
  13. package/dist/components/Layout/Layout.types.d.ts.map +1 -1
  14. package/dist/components/Layout/PageContainer.d.ts +166 -0
  15. package/dist/components/Layout/PageContainer.d.ts.map +1 -0
  16. package/dist/components/Layout/ScrollableArea.d.ts +164 -0
  17. package/dist/components/Layout/ScrollableArea.d.ts.map +1 -0
  18. package/dist/components/Layout/index.d.ts +2 -0
  19. package/dist/components/Layout/index.d.ts.map +1 -1
  20. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -1
  21. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +0 -161
  22. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
  23. package/dist/components/SettingsContainer/index.d.ts +1 -1
  24. package/dist/components/SettingsContainer/index.d.ts.map +1 -1
  25. package/dist/components/SwapDetails/SwapDetails.Placeholder.d.ts.map +1 -1
  26. package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
  27. package/dist/components/SwapDetails/SwapDetails.styles.d.ts +161 -1
  28. package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
  29. package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
  30. package/dist/containers/App/App.styles.d.ts.map +1 -1
  31. package/dist/containers/QuoteInfo/QuoteInfo.d.ts +1 -1
  32. package/dist/containers/QuoteInfo/QuoteInfo.d.ts.map +1 -1
  33. package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +0 -324
  34. package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -1
  35. package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts +0 -7
  36. package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts.map +1 -1
  37. package/dist/index.js +2 -2
  38. package/dist/index.js.map +4 -4
  39. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
  40. package/dist/pages/HistoryPage.d.ts.map +1 -1
  41. package/dist/pages/Home.d.ts.map +1 -1
  42. package/dist/pages/LanguagePage.d.ts.map +1 -1
  43. package/dist/pages/LiquiditySourcePage.d.ts.map +1 -1
  44. package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
  45. package/dist/pages/SettingsPage.d.ts.map +1 -1
  46. package/dist/pages/ThemePage.d.ts.map +1 -1
  47. package/dist/pages/WalletsPage.d.ts.map +1 -1
  48. package/dist/utils/ui.d.ts +2 -0
  49. package/dist/utils/ui.d.ts.map +1 -1
  50. package/package.json +2 -2
  51. package/src/components/BlockchainList/BlockchainList.styles.ts +4 -3
  52. package/src/components/BlockchainList/BlockchainList.tsx +1 -1
  53. package/src/components/HeaderButtons/HeaderButtons.types.ts +0 -1
  54. package/src/components/HeaderButtons/HomeButtons.tsx +1 -2
  55. package/src/components/Layout/Layout.helpers.ts +16 -0
  56. package/src/components/Layout/Layout.styles.ts +17 -31
  57. package/src/components/Layout/Layout.tsx +23 -21
  58. package/src/components/Layout/Layout.types.ts +9 -8
  59. package/src/components/Layout/PageContainer.tsx +24 -0
  60. package/src/components/Layout/ScrollableArea.tsx +11 -0
  61. package/src/components/Layout/index.ts +2 -0
  62. package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.ts +0 -1
  63. package/src/components/SettingsContainer/SettingsContainer.style.ts +0 -5
  64. package/src/components/SettingsContainer/index.ts +0 -1
  65. package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +0 -1
  66. package/src/components/SwapDetails/SwapDetails.styles.ts +5 -6
  67. package/src/components/SwapDetails/SwapDetails.tsx +3 -5
  68. package/src/components/TokenList/TokenList.styles.ts +2 -0
  69. package/src/components/TokenList/TokenList.tsx +1 -1
  70. package/src/containers/App/App.styles.ts +2 -0
  71. package/src/containers/QuoteInfo/QuoteInfo.styles.ts +0 -15
  72. package/src/containers/QuoteInfo/QuoteInfo.tsx +30 -77
  73. package/src/containers/QuoteInfo/QuoteInfo.types.ts +0 -7
  74. package/src/pages/ConfirmSwapPage.tsx +49 -42
  75. package/src/pages/HistoryPage.tsx +4 -11
  76. package/src/pages/Home.tsx +35 -37
  77. package/src/pages/LanguagePage.tsx +3 -4
  78. package/src/pages/LiquiditySourcePage.tsx +3 -4
  79. package/src/pages/SelectBlockchainPage.tsx +38 -38
  80. package/src/pages/SelectSwapItemsPage.tsx +40 -38
  81. package/src/pages/SettingsPage.tsx +3 -4
  82. package/src/pages/ThemePage.tsx +3 -4
  83. package/src/pages/WalletsPage.tsx +12 -13
  84. package/src/utils/ui.ts +20 -0
@@ -1,164 +1,3 @@
1
- export declare const PositionTopAlerts: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
- xs: string;
3
- sm: string;
4
- md: string;
5
- lg: string;
6
- }, import("@stitches/react/types/css-util").CSS<{
7
- xs: string;
8
- sm: string;
9
- md: string;
10
- lg: string;
11
- }, {
12
- colors: {
13
- primary: string;
14
- primary500: string;
15
- primary600: string;
16
- secondary: string;
17
- secondary100: string;
18
- secondary200: string;
19
- secondary300: string;
20
- secondary400: string;
21
- secondary500: string;
22
- secondary600: string;
23
- secondary700: string;
24
- secondary800: string;
25
- secondary900: string;
26
- neutral: string;
27
- neutral100: string;
28
- neutral200: string;
29
- neutral300: string;
30
- neutral400: string;
31
- neutral500: string;
32
- neutral600: string;
33
- neutral700: string;
34
- neutral800: string;
35
- neutral900: string;
36
- error100: string;
37
- error300: string;
38
- error500: string;
39
- error600: string;
40
- error700: string;
41
- warning100: string;
42
- warning300: string;
43
- warning500: string;
44
- warning600: string;
45
- warning700: string;
46
- info: string;
47
- info100: string;
48
- info300: string;
49
- info500: string;
50
- info600: string;
51
- info700: string;
52
- success100: string;
53
- success300: string;
54
- success500: string;
55
- success600: string;
56
- success700: string;
57
- background: string;
58
- foreground: string;
59
- };
60
- space: {
61
- 0: string;
62
- 5: string;
63
- 10: string;
64
- 15: string;
65
- 20: string;
66
- 25: string;
67
- 30: string;
68
- 40: string;
69
- 46: string;
70
- 50: string;
71
- 60: string;
72
- 70: string;
73
- 80: string;
74
- 90: string;
75
- 100: string;
76
- 2: string;
77
- 4: string;
78
- 6: string;
79
- 8: string;
80
- 12: string;
81
- 16: string;
82
- 24: string;
83
- 28: string;
84
- 32: string;
85
- };
86
- radii: {
87
- xs: string;
88
- sm: string;
89
- xm: string;
90
- md: string;
91
- xl: string;
92
- lg: string;
93
- primary: string;
94
- secondary: string;
95
- };
96
- fontSizes: {
97
- 10: string;
98
- 12: string;
99
- 14: string;
100
- 16: string;
101
- 18: string;
102
- 20: string;
103
- 22: string;
104
- 24: string;
105
- 28: string;
106
- 32: string;
107
- 36: string;
108
- 40: string;
109
- 48: string;
110
- };
111
- fonts: {
112
- primary: string;
113
- widget: string;
114
- };
115
- fontWeights: {
116
- regular: number;
117
- medium: number;
118
- semiBold: number;
119
- bold: number;
120
- };
121
- lineHeights: {
122
- 12: string;
123
- 16: string;
124
- 20: string;
125
- 24: string;
126
- 26: string;
127
- 28: string;
128
- 30: string;
129
- 36: string;
130
- 40: string;
131
- 44: string;
132
- 52: string;
133
- 64: string;
134
- };
135
- letterSpacings: {};
136
- sizes: {
137
- 4: string;
138
- 6: string;
139
- 8: string;
140
- 10: string;
141
- 12: string;
142
- 16: string;
143
- 18: string;
144
- 20: string;
145
- 24: string;
146
- 28: string;
147
- 30: string;
148
- 32: string;
149
- 36: string;
150
- 40: string;
151
- 45: string;
152
- 48: string;
153
- };
154
- borderWidths: {};
155
- borderStyles: {};
156
- shadows: {
157
- s: string;
158
- };
159
- zIndices: {};
160
- transitions: {};
161
- }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
162
1
  export declare const QuoteContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
163
2
  xs: string;
164
3
  sm: string;
@@ -320,169 +159,6 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
320
159
  zIndices: {};
321
160
  transitions: {};
322
161
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
323
- export declare const SkeletonContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
324
- paddingTop?: boolean | "true" | undefined;
325
- }, {
326
- xs: string;
327
- sm: string;
328
- md: string;
329
- lg: string;
330
- }, import("@stitches/react/types/css-util").CSS<{
331
- xs: string;
332
- sm: string;
333
- md: string;
334
- lg: string;
335
- }, {
336
- colors: {
337
- primary: string;
338
- primary500: string;
339
- primary600: string;
340
- secondary: string;
341
- secondary100: string;
342
- secondary200: string;
343
- secondary300: string;
344
- secondary400: string;
345
- secondary500: string;
346
- secondary600: string;
347
- secondary700: string;
348
- secondary800: string;
349
- secondary900: string;
350
- neutral: string;
351
- neutral100: string;
352
- neutral200: string;
353
- neutral300: string;
354
- neutral400: string;
355
- neutral500: string;
356
- neutral600: string;
357
- neutral700: string;
358
- neutral800: string;
359
- neutral900: string;
360
- error100: string;
361
- error300: string;
362
- error500: string;
363
- error600: string;
364
- error700: string;
365
- warning100: string;
366
- warning300: string;
367
- warning500: string;
368
- warning600: string;
369
- warning700: string;
370
- info: string;
371
- info100: string;
372
- info300: string;
373
- info500: string;
374
- info600: string;
375
- info700: string;
376
- success100: string;
377
- success300: string;
378
- success500: string;
379
- success600: string;
380
- success700: string;
381
- background: string;
382
- foreground: string;
383
- };
384
- space: {
385
- 0: string;
386
- 5: string;
387
- 10: string;
388
- 15: string;
389
- 20: string;
390
- 25: string;
391
- 30: string;
392
- 40: string;
393
- 46: string;
394
- 50: string;
395
- 60: string;
396
- 70: string;
397
- 80: string;
398
- 90: string;
399
- 100: string;
400
- 2: string;
401
- 4: string;
402
- 6: string;
403
- 8: string;
404
- 12: string;
405
- 16: string;
406
- 24: string;
407
- 28: string;
408
- 32: string;
409
- };
410
- radii: {
411
- xs: string;
412
- sm: string;
413
- xm: string;
414
- md: string;
415
- xl: string;
416
- lg: string;
417
- primary: string;
418
- secondary: string;
419
- };
420
- fontSizes: {
421
- 10: string;
422
- 12: string;
423
- 14: string;
424
- 16: string;
425
- 18: string;
426
- 20: string;
427
- 22: string;
428
- 24: string;
429
- 28: string;
430
- 32: string;
431
- 36: string;
432
- 40: string;
433
- 48: string;
434
- };
435
- fonts: {
436
- primary: string;
437
- widget: string;
438
- };
439
- fontWeights: {
440
- regular: number;
441
- medium: number;
442
- semiBold: number;
443
- bold: number;
444
- };
445
- lineHeights: {
446
- 12: string;
447
- 16: string;
448
- 20: string;
449
- 24: string;
450
- 26: string;
451
- 28: string;
452
- 30: string;
453
- 36: string;
454
- 40: string;
455
- 44: string;
456
- 52: string;
457
- 64: string;
458
- };
459
- letterSpacings: {};
460
- sizes: {
461
- 4: string;
462
- 6: string;
463
- 8: string;
464
- 10: string;
465
- 12: string;
466
- 16: string;
467
- 18: string;
468
- 20: string;
469
- 24: string;
470
- 28: string;
471
- 30: string;
472
- 32: string;
473
- 36: string;
474
- 40: string;
475
- 45: string;
476
- 48: string;
477
- };
478
- borderWidths: {};
479
- borderStyles: {};
480
- shadows: {
481
- s: string;
482
- };
483
- zIndices: {};
484
- transitions: {};
485
- }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
486
162
  export declare const FooterStepAlarm: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
487
163
  xs: string;
488
164
  sm: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQ5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
1
+ {"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
@@ -9,12 +9,5 @@ export type PropTypes = {
9
9
  warning: QuoteWarning | null;
10
10
  autoScrollOnExpanding?: boolean;
11
11
  expanded?: boolean;
12
- alertPosition?: 'top' | 'bottom';
13
- refetchQuote: () => void;
14
- showWarningModal: boolean;
15
- onOpenWarningModal: () => void;
16
- onCloseWarningModal: () => void;
17
- onConfirmWarningModal: () => void;
18
- onChangeSettings: () => void;
19
12
  };
20
13
  //# sourceMappingURL=QuoteInfo.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACjC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}