@rango-dev/ui 0.22.1-next.19 → 0.22.1-next.20

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 (43) hide show
  1. package/dist/index.js +6 -6
  2. package/dist/index.js.map +3 -3
  3. package/dist/translations/en.d.ts.map +1 -1
  4. package/dist/translations/es.d.ts.map +1 -1
  5. package/dist/translations/fr.d.ts.map +1 -1
  6. package/dist/translations/ja.d.ts.map +1 -1
  7. package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
  8. package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
  9. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
  10. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +158 -0
  11. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
  12. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  13. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
  14. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  15. package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
  16. package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
  17. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  18. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +2 -2
  19. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  20. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
  21. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +158 -0
  22. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
  23. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +1 -0
  24. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
  25. package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/src/components/Button/Button.styles.tsx +1 -0
  28. package/src/components/ListItem/ListItem.styles.ts +2 -0
  29. package/src/components/ListItemButton/ListItemButton.styles.ts +1 -0
  30. package/src/components/PriceImpact/PriceImpact.styles.ts +9 -1
  31. package/src/components/PriceImpact/PriceImpact.tsx +3 -3
  32. package/src/components/Skeleton/Skeleton.tsx +3 -2
  33. package/src/components/Skeleton/Skeleton.types.ts +1 -1
  34. package/src/components/Switch/Switch.styles.tsx +3 -5
  35. package/src/components/TextField/TextField.tsx +3 -5
  36. package/src/components/Tooltip/Tooltip.styles.ts +8 -5
  37. package/src/components/Tooltip/Tooltip.tsx +2 -3
  38. package/src/components/Wallet/Wallet.styles.ts +1 -1
  39. package/src/containers/SwapInput/SwapInput.styles.ts +14 -3
  40. package/src/containers/SwapInput/SwapInput.tsx +11 -6
  41. package/src/containers/SwapInput/SwapInput.types.ts +1 -0
  42. package/src/containers/SwapInput/TokenSection.styles.ts +5 -1
  43. package/src/containers/SwapInput/TokenSection.tsx +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAqsZ,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAqla,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAo+a,CAAC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAo3b,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAgpb,CAAC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAgic,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAs9V,CAAC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAs2W,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAygBrB,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAclB,CAAC;AASH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAe1B,CAAC"}
1
+ {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAygBrB,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAelB,CAAC;AASH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAe1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ListItem/ListItem.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwDvB,CAAC"}
1
+ {"version":3,"file":"ListItem.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ListItem/ListItem.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA0DvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemButton.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ListItemButton/ListItemButton.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA+C7B,CAAC"}
1
+ {"version":3,"file":"ListItemButton.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ListItemButton/ListItemButton.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgD7B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Typography } from '../Typography';
1
2
  export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
3
  sm: string;
3
4
  md: string;
@@ -155,4 +156,161 @@ export declare const Container: import("@stitches/react/types/styled-component")
155
156
  zIndices: {};
156
157
  transitions: {};
157
158
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
159
+ export declare const OutputUsdValue: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
160
+ sm: string;
161
+ md: string;
162
+ lg: string;
163
+ }, import("@stitches/react/types/css-util").CSS<{
164
+ sm: string;
165
+ md: string;
166
+ lg: string;
167
+ }, {
168
+ colors: {
169
+ primary: string;
170
+ primary500: string;
171
+ primary600: string;
172
+ secondary: string;
173
+ secondary100: string;
174
+ secondary200: string;
175
+ secondary300: string;
176
+ secondary400: string;
177
+ secondary500: string;
178
+ secondary600: string;
179
+ secondary700: string;
180
+ secondary800: string;
181
+ secondary900: string;
182
+ neutral: string;
183
+ neutral100: string;
184
+ neutral200: string;
185
+ neutral300: string;
186
+ neutral400: string;
187
+ neutral500: string;
188
+ neutral600: string;
189
+ neutral700: string;
190
+ neutral800: string;
191
+ neutral900: string;
192
+ error100: string;
193
+ error300: string;
194
+ error500: string;
195
+ error600: string;
196
+ error700: string;
197
+ warning100: string;
198
+ warning300: string;
199
+ warning500: string;
200
+ warning600: string;
201
+ warning700: string;
202
+ info: string;
203
+ info100: string;
204
+ info300: string;
205
+ info500: string;
206
+ info600: string;
207
+ info700: string;
208
+ success100: string;
209
+ success300: string;
210
+ success500: string;
211
+ success600: string;
212
+ success700: string;
213
+ background: string;
214
+ foreground: string;
215
+ };
216
+ space: {
217
+ 0: string;
218
+ 5: string;
219
+ 10: string;
220
+ 15: string;
221
+ 20: string;
222
+ 25: string;
223
+ 30: string;
224
+ 40: string;
225
+ 46: string;
226
+ 50: string;
227
+ 60: string;
228
+ 70: string;
229
+ 80: string;
230
+ 90: string;
231
+ 100: string;
232
+ 2: string;
233
+ 4: string;
234
+ 6: string;
235
+ 8: string;
236
+ 12: string;
237
+ 16: string;
238
+ 24: string;
239
+ 28: string;
240
+ 32: string;
241
+ };
242
+ radii: {
243
+ xs: string;
244
+ sm: string;
245
+ xm: string;
246
+ md: string;
247
+ xl: string;
248
+ lg: string;
249
+ primary: string;
250
+ secondary: string;
251
+ };
252
+ fontSizes: {
253
+ 10: string;
254
+ 12: string;
255
+ 14: string;
256
+ 16: string;
257
+ 18: string;
258
+ 20: string;
259
+ 22: string;
260
+ 24: string;
261
+ 28: string;
262
+ 32: string;
263
+ 36: string;
264
+ 40: string;
265
+ 48: string;
266
+ };
267
+ fonts: {
268
+ primary: string;
269
+ widget: string;
270
+ };
271
+ fontWeights: {
272
+ regular: number;
273
+ medium: number;
274
+ semiBold: number;
275
+ bold: number;
276
+ };
277
+ lineHeights: {
278
+ 12: string;
279
+ 16: string;
280
+ 20: string;
281
+ 24: string;
282
+ 26: string;
283
+ 28: string;
284
+ 30: string;
285
+ 36: string;
286
+ 40: string;
287
+ 44: string;
288
+ 52: string;
289
+ 64: string;
290
+ };
291
+ letterSpacings: {};
292
+ sizes: {
293
+ 4: string;
294
+ 6: string;
295
+ 8: string;
296
+ 12: string;
297
+ 16: string;
298
+ 18: string;
299
+ 20: string;
300
+ 24: string;
301
+ 28: string;
302
+ 32: string;
303
+ 36: string;
304
+ 40: string;
305
+ 45: string;
306
+ 48: string;
307
+ };
308
+ borderWidths: {};
309
+ borderStyles: {};
310
+ shadows: {
311
+ s: string;
312
+ };
313
+ zIndices: {};
314
+ transitions: {};
315
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
158
316
  //# sourceMappingURL=PriceImpact.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceImpact.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/PriceImpact/PriceImpact.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIpB,CAAC"}
1
+ {"version":3,"file":"PriceImpact.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/PriceImpact/PriceImpact.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKpB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,qBASxC"}
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAUxC"}
@@ -6,7 +6,7 @@ type BaseSizes = Exclude<BaseProps['size'], object>;
6
6
  type TextVariant = {
7
7
  variant: 'text';
8
8
  size: BaseSizes;
9
- width: number;
9
+ width?: number;
10
10
  };
11
11
  type OtherVariant = {
12
12
  variant: Exclude<BaseVariants, 'text'>;
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Skeleton/Skeleton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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AK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA2B3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgB5B,CAAC"}
1
+ {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAyB3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgB5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqD1B,QAAA,MAAM,SAAS;;;;;;;;;0CAAuC,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkD1B,QAAA,MAAM,SAAS;;;;;;;;;0CAAuC,CAAC;AAIvD,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA2B1D"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA0B1D"}
@@ -158,7 +158,7 @@ export declare const TooltipContent: import("@stitches/react/types/styled-compon
158
158
  zIndices: {};
159
159
  transitions: {};
160
160
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
161
- export declare const TooltipArrow: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RadixTooltip.TooltipArrowProps & import("react").RefAttributes<SVGSVGElement>>, {}, {
161
+ export declare const TooltipTypography: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
162
162
  sm: string;
163
163
  md: string;
164
164
  lg: string;
@@ -315,7 +315,7 @@ export declare const TooltipArrow: import("@stitches/react/types/styled-componen
315
315
  zIndices: {};
316
316
  transitions: {};
317
317
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
318
- export declare const TooltipTypography: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
318
+ export declare const TriggerContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
319
319
  sm: string;
320
320
  md: string;
321
321
  lg: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBA0F9C"}
1
+ {"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBA8F9C"}
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react" />
3
3
  /// <reference types="trusted-types" />
4
+ import { Typography } from '../../components';
4
5
  export declare const textStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
5
6
  sm: string;
6
7
  md: string;
@@ -1863,4 +1864,161 @@ export declare const labelContainerStyles: import("@stitches/react/types/styled-
1863
1864
  zIndices: {};
1864
1865
  transitions: {};
1865
1866
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
1867
+ export declare const UsdPrice: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
1868
+ sm: string;
1869
+ md: string;
1870
+ lg: string;
1871
+ }, import("@stitches/react/types/css-util").CSS<{
1872
+ sm: string;
1873
+ md: string;
1874
+ lg: string;
1875
+ }, {
1876
+ colors: {
1877
+ primary: string;
1878
+ primary500: string;
1879
+ primary600: string;
1880
+ secondary: string;
1881
+ secondary100: string;
1882
+ secondary200: string;
1883
+ secondary300: string;
1884
+ secondary400: string;
1885
+ secondary500: string;
1886
+ secondary600: string;
1887
+ secondary700: string;
1888
+ secondary800: string;
1889
+ secondary900: string;
1890
+ neutral: string;
1891
+ neutral100: string;
1892
+ neutral200: string;
1893
+ neutral300: string;
1894
+ neutral400: string;
1895
+ neutral500: string;
1896
+ neutral600: string;
1897
+ neutral700: string;
1898
+ neutral800: string;
1899
+ neutral900: string;
1900
+ error100: string;
1901
+ error300: string;
1902
+ error500: string;
1903
+ error600: string;
1904
+ error700: string;
1905
+ warning100: string;
1906
+ warning300: string;
1907
+ warning500: string;
1908
+ warning600: string;
1909
+ warning700: string;
1910
+ info: string;
1911
+ info100: string;
1912
+ info300: string;
1913
+ info500: string;
1914
+ info600: string;
1915
+ info700: string;
1916
+ success100: string;
1917
+ success300: string;
1918
+ success500: string;
1919
+ success600: string;
1920
+ success700: string;
1921
+ background: string;
1922
+ foreground: string;
1923
+ };
1924
+ space: {
1925
+ 0: string;
1926
+ 5: string;
1927
+ 10: string;
1928
+ 15: string;
1929
+ 20: string;
1930
+ 25: string;
1931
+ 30: string;
1932
+ 40: string;
1933
+ 46: string;
1934
+ 50: string;
1935
+ 60: string;
1936
+ 70: string;
1937
+ 80: string;
1938
+ 90: string;
1939
+ 100: string;
1940
+ 2: string;
1941
+ 4: string;
1942
+ 6: string;
1943
+ 8: string;
1944
+ 12: string;
1945
+ 16: string;
1946
+ 24: string;
1947
+ 28: string;
1948
+ 32: string;
1949
+ };
1950
+ radii: {
1951
+ xs: string;
1952
+ sm: string;
1953
+ xm: string;
1954
+ md: string;
1955
+ xl: string;
1956
+ lg: string;
1957
+ primary: string;
1958
+ secondary: string;
1959
+ };
1960
+ fontSizes: {
1961
+ 10: string;
1962
+ 12: string;
1963
+ 14: string;
1964
+ 16: string;
1965
+ 18: string;
1966
+ 20: string;
1967
+ 22: string;
1968
+ 24: string;
1969
+ 28: string;
1970
+ 32: string;
1971
+ 36: string;
1972
+ 40: string;
1973
+ 48: string;
1974
+ };
1975
+ fonts: {
1976
+ primary: string;
1977
+ widget: string;
1978
+ };
1979
+ fontWeights: {
1980
+ regular: number;
1981
+ medium: number;
1982
+ semiBold: number;
1983
+ bold: number;
1984
+ };
1985
+ lineHeights: {
1986
+ 12: string;
1987
+ 16: string;
1988
+ 20: string;
1989
+ 24: string;
1990
+ 26: string;
1991
+ 28: string;
1992
+ 30: string;
1993
+ 36: string;
1994
+ 40: string;
1995
+ 44: string;
1996
+ 52: string;
1997
+ 64: string;
1998
+ };
1999
+ letterSpacings: {};
2000
+ sizes: {
2001
+ 4: string;
2002
+ 6: string;
2003
+ 8: string;
2004
+ 12: string;
2005
+ 16: string;
2006
+ 18: string;
2007
+ 20: string;
2008
+ 24: string;
2009
+ 28: string;
2010
+ 32: string;
2011
+ 36: string;
2012
+ 40: string;
2013
+ 45: string;
2014
+ 48: string;
2015
+ };
2016
+ borderWidths: {};
2017
+ borderStyles: {};
2018
+ shadows: {
2019
+ s: string;
2020
+ };
2021
+ zIndices: {};
2022
+ transitions: {};
2023
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
1866
2024
  //# sourceMappingURL=SwapInput.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapInput.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.styles.ts"],"names":[],"mappings":";;;AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAAQ,CAAC;AAEhC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAuBpB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMnB,CAAC"}
@@ -23,6 +23,7 @@ export type BaseProps = {
23
23
  type FromProps = {
24
24
  mode: 'From';
25
25
  balance?: string;
26
+ loadingBalance: boolean;
26
27
  onSelectMaxBalance: () => void;
27
28
  onInputChange: (inputAmount: string) => void;
28
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SwapInput.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAE9F,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,CAAC,SAAS,GAAG,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"SwapInput.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAE9F,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,KAAK,O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;;;;;;;;+DA2BpB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAAQ,CAAC;AAErC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAehC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAO3B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.22.1-next.19",
3
+ "version": "0.22.1-next.20",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -524,6 +524,7 @@ export const ButtonBase = styled('button', {
524
524
  });
525
525
 
526
526
  export const Content = styled('span', {
527
+ flexGrow: 1,
527
528
  display: 'inline-block',
528
529
  variants: {
529
530
  pl: {
@@ -2,6 +2,7 @@ import { darkTheme, styled } from '../../theme';
2
2
 
3
3
  export const BaseListItem = styled('li', {
4
4
  width: '100%',
5
+ overflow: 'hidden',
5
6
  borderRadius: '$xs',
6
7
  display: 'flex',
7
8
  alignItems: 'center',
@@ -41,6 +42,7 @@ export const BaseListItem = styled('li', {
41
42
  justifyContent: 'center',
42
43
  alignItems: 'center',
43
44
  paddingLeft: '$10',
45
+ overflow: 'hidden',
44
46
  },
45
47
  variants: {
46
48
  hasDivider: {
@@ -6,6 +6,7 @@ export const BaseListItemButton = styled('button', {
6
6
  width: '100%',
7
7
  backgroundColor: 'transparent',
8
8
  fontFamily: 'inherit',
9
+ padding: 'unset',
9
10
  '&:focus-visible': {
10
11
  borderRadius: '$xs',
11
12
 
@@ -1,7 +1,15 @@
1
1
  import { styled } from '../../theme';
2
+ import { Typography } from '../Typography';
2
3
 
3
4
  export const Container = styled('div', {
5
+ width: '100%',
4
6
  display: 'flex',
5
- justifyContent: 'center',
7
+ justifyContent: 'end',
6
8
  alignItems: 'center',
7
9
  });
10
+
11
+ export const OutputUsdValue = styled(Typography, {
12
+ overflow: 'hidden',
13
+ whiteSpace: 'nowrap',
14
+ textOverflow: 'ellipsis',
15
+ });
@@ -4,7 +4,7 @@ import React from 'react';
4
4
 
5
5
  import { Typography } from '..';
6
6
 
7
- import { Container } from './PriceImpact.styles';
7
+ import { Container, OutputUsdValue } from './PriceImpact.styles';
8
8
 
9
9
  export function PriceImpact(props: PriceImpactProps) {
10
10
  const { size, outputUsdValue, percentageChange, warningLevel, error } = props;
@@ -19,12 +19,12 @@ export function PriceImpact(props: PriceImpactProps) {
19
19
  return (
20
20
  <Container>
21
21
  {outputUsdValue && (
22
- <Typography
22
+ <OutputUsdValue
23
23
  size={size === 'small' ? 'small' : 'medium'}
24
24
  variant="body"
25
25
  color="$neutral600">
26
26
  {`~$${outputUsdValue}`}
27
- </Typography>
27
+ </OutputUsdValue>
28
28
  )}
29
29
  {((outputUsdValue && percentageChange) || !outputUsdValue) && (
30
30
  <Typography
@@ -5,12 +5,13 @@ import React from 'react';
5
5
  import { SkeletonContainer } from './Skeleton.styles';
6
6
 
7
7
  export function Skeleton(props: PropTypes) {
8
+ const { width = '100%' } = props;
8
9
  const customCss =
9
10
  props.variant !== 'text'
10
11
  ? {
11
- width: props.width,
12
+ width,
12
13
  height: props.height,
13
14
  }
14
- : { width: props.width };
15
+ : { width };
15
16
  return <SkeletonContainer css={customCss} {...props} />;
16
17
  }
@@ -8,7 +8,7 @@ type BaseSizes = Exclude<BaseProps['size'], object>;
8
8
  type TextVariant = {
9
9
  variant: 'text';
10
10
  size: BaseSizes;
11
- width: number;
11
+ width?: number;
12
12
  };
13
13
 
14
14
  type OtherVariant = {
@@ -5,7 +5,6 @@ import { darkTheme, styled } from '../../theme';
5
5
  export const StyledSwitchRoot = styled(RadixSwitch.Root, {
6
6
  boxSizing: 'border-box',
7
7
  boxShadow: 'none',
8
- borderStyle: 'solid',
9
8
  width: '24px',
10
9
  height: '16px',
11
10
  $$color: '$colors$neutral600',
@@ -13,9 +12,8 @@ export const StyledSwitchRoot = styled(RadixSwitch.Root, {
13
12
  $$color: '$colors$neutral700',
14
13
  },
15
14
  backgroundColor: '$$color',
16
- borderColor: '$$color',
15
+ border: 'none',
17
16
  borderRadius: '99999px',
18
- position: 'relative',
19
17
  padding: '0',
20
18
  cursor: 'pointer',
21
19
  transition: 'all 0.35s',
@@ -32,9 +30,9 @@ export const StyledSwitchRoot = styled(RadixSwitch.Root, {
32
30
  });
33
31
 
34
32
  export const StyledSwitchThumb = styled(RadixSwitch.Thumb, {
35
- position: 'absolute',
36
- top: '0',
37
33
  boxSizing: 'border-box',
34
+ position: 'relative',
35
+ left: '$2',
38
36
  display: 'block',
39
37
  width: '12px',
40
38
  height: '12px',