@rango-dev/ui 0.29.1-next.1 → 0.29.1-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.d.ts +6 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.d.ts +4 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/{ExpandedRoute/ExpandedRoute.styles.d.ts → FullExpandedQuote/FullExpandedQuote.styles.d.ts} +652 -3
- package/dist/widget/ui/src/components/{ExpandedRoute/ExpandedRoute.styles.d.ts.map → FullExpandedQuote/FullExpandedQuote.styles.d.ts.map} +1 -1
- package/dist/widget/ui/src/components/{ExpandedRoute/ExpandedRoute.types.d.ts → FullExpandedQuote/FullExpandedQuote.types.d.ts} +17 -9
- package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/index.d.ts +2 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts.map +1 -0
- package/dist/widget/ui/src/components/List/List.d.ts.map +1 -1
- package/dist/widget/ui/src/components/List/List.types.d.ts +1 -0
- package/dist/widget/ui/src/components/List/List.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/List/index.d.ts +1 -0
- package/dist/widget/ui/src/components/List/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts +2 -0
- package/dist/widget/ui/src/components/Popover/Popover.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Select/select.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts +4 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts +6 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.styles.d.ts +780 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts +30 -0
- package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Tabs/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Tabs/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/index.d.ts +3 -1
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/dist/widget/ui/src/icons/Bridges.d.ts +5 -0
- package/dist/widget/ui/src/icons/Bridges.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Document.d.ts +5 -0
- package/dist/widget/ui/src/icons/Document.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Exchange.d.ts +5 -0
- package/dist/widget/ui/src/icons/Exchange.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Explorer.d.ts +5 -0
- package/dist/widget/ui/src/icons/Explorer.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/InProgress.d.ts.map +1 -1
- package/dist/widget/ui/src/icons/More.d.ts +5 -0
- package/dist/widget/ui/src/icons/More.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Report.d.ts +5 -0
- package/dist/widget/ui/src/icons/Report.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Request.d.ts +5 -0
- package/dist/widget/ui/src/icons/Request.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Support.d.ts +5 -0
- package/dist/widget/ui/src/icons/Support.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +19 -11
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/readme.md +1 -0
- package/src/components/Alert/Alert.styles.ts +3 -1
- package/src/components/Alert/Alert.tsx +6 -1
- package/src/components/ChainToken/ChainToken.constants.ts +1 -0
- package/src/components/ChainToken/ChainToken.styles.ts +4 -0
- package/src/components/FullExpandedQuote/FullExpandedQuote.Skeletons.tsx +78 -0
- package/src/components/{ExpandedRoute/ExpandedRoute.stories.tsx → FullExpandedQuote/FullExpandedQuote.stories.tsx} +4 -4
- package/src/components/{ExpandedRoute/ExpandedRoute.styles.ts → FullExpandedQuote/FullExpandedQuote.styles.ts} +35 -13
- package/src/components/FullExpandedQuote/FullExpandedQuote.tsx +184 -0
- package/src/components/{ExpandedRoute/ExpandedRoute.types.ts → FullExpandedQuote/FullExpandedQuote.types.ts} +17 -8
- package/src/components/FullExpandedQuote/index.ts +1 -0
- package/src/components/Header/Header.styles.ts +1 -1
- package/src/components/List/List.tsx +2 -3
- package/src/components/List/List.types.ts +1 -0
- package/src/components/List/index.ts +1 -0
- package/src/components/ListItem/ListItem.styles.ts +2 -0
- package/src/components/Popover/Popover.tsx +4 -3
- package/src/components/Popover/Popover.types.ts +2 -0
- package/src/components/QuoteCost/QuoteCost.styles.ts +2 -0
- package/src/components/Select/Select.tsx +24 -24
- package/src/components/Select/select.styles.ts +30 -54
- package/src/components/Tabs/Tabs.stories.tsx +12 -0
- package/src/components/Tabs/Tabs.styles.tsx +157 -0
- package/src/components/Tabs/Tabs.tsx +95 -0
- package/src/components/Tabs/Tabs.types.tsx +32 -0
- package/src/components/Tabs/index.ts +1 -0
- package/src/components/index.ts +3 -1
- package/src/icons/Bridges.tsx +19 -0
- package/src/icons/Document.tsx +50 -0
- package/src/icons/Exchange.tsx +22 -0
- package/src/icons/Explorer.tsx +20 -0
- package/src/icons/InProgress.tsx +13 -8
- package/src/icons/More.tsx +30 -0
- package/src/icons/Report.tsx +20 -0
- package/src/icons/Request.tsx +65 -0
- package/src/icons/Support.tsx +40 -0
- package/src/icons/index.ts +19 -11
- package/dist/widget/ui/src/components/ExpandedRoute/ExpandedRoute.d.ts +0 -4
- package/dist/widget/ui/src/components/ExpandedRoute/ExpandedRoute.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ExpandedRoute/ExpandedRoute.stories.d.ts +0 -7
- package/dist/widget/ui/src/components/ExpandedRoute/ExpandedRoute.stories.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ExpandedRoute/ExpandedRoute.types.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ExpandedRoute/index.d.ts +0 -2
- package/dist/widget/ui/src/components/ExpandedRoute/index.d.ts.map +0 -1
- package/dist/widget/ui/src/components/ExpandedRoute/mock.d.ts.map +0 -1
- package/src/components/ExpandedRoute/ExpandedRoute.tsx +0 -147
- package/src/components/ExpandedRoute/index.ts +0 -1
- /package/dist/widget/ui/src/components/{ExpandedRoute → FullExpandedQuote}/mock.d.ts +0 -0
- /package/src/components/{ExpandedRoute → FullExpandedQuote}/mock.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tabs.styles.tsx"],"names":[],"mappings":";;;AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAmCf,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAqFd,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA6BtB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { Tabs } from './Tabs.styles';
|
|
3
|
+
import type * as Stitches from '@stitches/react';
|
|
4
|
+
type BaseItem = {
|
|
5
|
+
id: string | number;
|
|
6
|
+
tooltip?: React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
type ItemWithTitle = BaseItem & {
|
|
9
|
+
title: string;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
type ItemWithIcon = BaseItem & {
|
|
13
|
+
icon: React.ReactNode;
|
|
14
|
+
title?: string;
|
|
15
|
+
};
|
|
16
|
+
type Item = ItemWithTitle | ItemWithIcon;
|
|
17
|
+
type BaseProps = Stitches.VariantProps<typeof Tabs>;
|
|
18
|
+
type BaseType = Exclude<BaseProps['type'], object>;
|
|
19
|
+
type BaseBorderRadius = Exclude<BaseProps['borderRadius'], object>;
|
|
20
|
+
export interface PropTypes {
|
|
21
|
+
items: Item[];
|
|
22
|
+
container?: HTMLElement;
|
|
23
|
+
onChange: (item: Item) => void;
|
|
24
|
+
value: string;
|
|
25
|
+
type: BaseType;
|
|
26
|
+
borderRadius?: BaseBorderRadius;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=Tabs.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/Tabs.types.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,QAAQ,GAAG;IACd,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,aAAa,GAAG,QAAQ,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,KAAK,YAAY,GAAG,QAAQ,GAAG;IAC7B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,IAAI,GAAG,aAAa,GAAG,YAAY,CAAC;AACzC,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;AACpD,KAAK,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACnD,KAAK,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;AAEnE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -11,7 +11,7 @@ export * from './Chip';
|
|
|
11
11
|
export * from './common';
|
|
12
12
|
export * from './Divider';
|
|
13
13
|
export * from './Drawer';
|
|
14
|
-
export * from './
|
|
14
|
+
export * from './FullExpandedQuote';
|
|
15
15
|
export * from './Header';
|
|
16
16
|
export * from './Modal';
|
|
17
17
|
export * from './MessageBox';
|
|
@@ -53,4 +53,6 @@ export * from './Popover';
|
|
|
53
53
|
export * from './Flags';
|
|
54
54
|
export * from './Select';
|
|
55
55
|
export * from './QuoteTag';
|
|
56
|
+
export * from './Tabs';
|
|
57
|
+
export type { SvgIconProps } from './SvgIcon';
|
|
56
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgBridges(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgBridges;
|
|
5
|
+
//# sourceMappingURL=Bridges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bridges.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Bridges.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,UAAU,CAAC,KAAK,EAAE,wBAAwB,4DAWlD;AACD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgDocument(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgDocument;
|
|
5
|
+
//# sourceMappingURL=Document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Document.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,WAAW,CAAC,KAAK,EAAE,wBAAwB,4DA0CnD;AACD,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgExchange(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgExchange;
|
|
5
|
+
//# sourceMappingURL=Exchange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Exchange.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Exchange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,WAAW,CAAC,KAAK,EAAE,wBAAwB,4DAcnD;AACD,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgExplorer(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgExplorer;
|
|
5
|
+
//# sourceMappingURL=Explorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Explorer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,WAAW,CAAC,KAAK,EAAE,wBAAwB,4DAYnD;AACD,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InProgress.d.ts","sourceRoot":"","sources":["../../../../../src/icons/InProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,aAAa,CAAC,KAAK,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"InProgress.d.ts","sourceRoot":"","sources":["../../../../../src/icons/InProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,aAAa,CAAC,KAAK,EAAE,wBAAwB,4DA+BrD;AACD,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgMore(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgMore;
|
|
5
|
+
//# sourceMappingURL=More.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"More.d.ts","sourceRoot":"","sources":["../../../../../src/icons/More.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,OAAO,CAAC,KAAK,EAAE,wBAAwB,4DAsB/C;AACD,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgReport(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgReport;
|
|
5
|
+
//# sourceMappingURL=Report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Report.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,SAAS,CAAC,KAAK,EAAE,wBAAwB,4DAYjD;AACD,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgRequest(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgRequest;
|
|
5
|
+
//# sourceMappingURL=Request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Request.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,UAAU,CAAC,KAAK,EAAE,wBAAwB,4DAyDlD;AACD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgSupport(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgSupport;
|
|
5
|
+
//# sourceMappingURL=Support.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Support.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Support.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,UAAU,CAAC,KAAK,EAAE,wBAAwB,4DAgClD;AACD,eAAe,UAAU,CAAC"}
|
|
@@ -2,11 +2,14 @@ export { default as AddIcon } from './Add';
|
|
|
2
2
|
export { default as AutoThemeIcon } from './AutoTheme';
|
|
3
3
|
export { default as AutorenewIcon } from './Autorenew';
|
|
4
4
|
export { default as BorderRadiusIcon } from './BorderRadius';
|
|
5
|
+
export { default as BridgeIcon } from './Bridges';
|
|
6
|
+
export { default as ChainsIcon } from './Chains';
|
|
5
7
|
export { default as ChevronDownIcon } from './ChevronDown';
|
|
6
8
|
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
7
9
|
export { default as ChevronRightIcon } from './ChevronRight';
|
|
8
10
|
export { default as ChevronUpIcon } from './ChevronUp';
|
|
9
11
|
export { default as CloseIcon } from './Close';
|
|
12
|
+
export { default as ColorsIcon } from './Colors';
|
|
10
13
|
export { default as CompleteIcon } from './Complete';
|
|
11
14
|
export { default as CopyIcon } from './Copy';
|
|
12
15
|
export { default as CosmosCategoryIcon } from './CosmosCategory';
|
|
@@ -14,25 +17,32 @@ export { default as CustomColorsIcon } from './CustomColors';
|
|
|
14
17
|
export { default as DarkModeIcon } from './DarkMode';
|
|
15
18
|
export { default as DeleteIcon } from './Delete';
|
|
16
19
|
export { default as DesktopIcon } from './Desktop';
|
|
20
|
+
export { default as DocumentIcon } from './Document';
|
|
21
|
+
export { default as DiscordIcon } from './Discord';
|
|
17
22
|
export { default as DoneIcon } from './Done';
|
|
18
|
-
export { default as EvmCategoryIcon } from './EvmCategory';
|
|
19
23
|
export { default as ErrorIcon } from './Error';
|
|
24
|
+
export { default as EvmCategoryIcon } from './EvmCategory';
|
|
20
25
|
export { default as ExitIcon } from './Exit';
|
|
26
|
+
export { default as ExchangeIcon } from './Exchange';
|
|
27
|
+
export { default as ExplorerIcon } from './Explorer';
|
|
21
28
|
export { default as ExternalLinkIcon } from './ExternalLink';
|
|
22
29
|
export { default as FontIcon } from './Font';
|
|
23
30
|
export { default as GasIcon } from './Gas';
|
|
24
31
|
export { default as HeightIcon } from './Height';
|
|
25
|
-
export { default as InProgressIcon } from './InProgress';
|
|
26
32
|
export { default as InfoErrorIcon } from './InfoError';
|
|
27
33
|
export { default as InfoIcon } from './Info';
|
|
34
|
+
export { default as InProgressIcon } from './InProgress';
|
|
35
|
+
export { default as KeyIcon } from './Key';
|
|
28
36
|
export { default as LanguageIcon } from './Language';
|
|
29
37
|
export { default as LightModeIcon } from './LightMode';
|
|
30
38
|
export { default as LinkIcon } from './Link';
|
|
31
39
|
export { default as LoadingIcon } from './Loading';
|
|
32
40
|
export { default as LogoWithTextIcon } from './LogoWithText';
|
|
41
|
+
export { default as MediumIcon } from './Medium';
|
|
33
42
|
export { default as MenuIcon } from './Menu';
|
|
34
|
-
export { default as
|
|
43
|
+
export { default as MoreIcon } from './More';
|
|
35
44
|
export { default as NextIcon } from './Next';
|
|
45
|
+
export { default as NoRouteIcon } from './NoRoute';
|
|
36
46
|
export { default as NoNotificationIcon } from './NoNotification';
|
|
37
47
|
export { default as NotificationNumberIcon } from './NotificationNumber';
|
|
38
48
|
export { default as NotificationsIcon } from './Notifications';
|
|
@@ -40,10 +50,16 @@ export { default as NumberIcon } from './Number';
|
|
|
40
50
|
export { default as OtherCategoryIcon } from './OtherCategory';
|
|
41
51
|
export { default as PinIcon } from './Pin';
|
|
42
52
|
export { default as RefreshIcon } from './Refresh';
|
|
53
|
+
export { default as ReportIcon } from './Report';
|
|
54
|
+
export { default as RequestIcon } from './Request';
|
|
43
55
|
export { default as ReverseIcon } from './Reverse';
|
|
44
56
|
export { default as RouteIcon } from './Route';
|
|
45
57
|
export { default as SearchIcon } from './Search';
|
|
58
|
+
export { default as SupportIcon } from './Support';
|
|
59
|
+
export { default as SettingsIcon } from './Settings';
|
|
60
|
+
export { default as StyleIcon } from './Style';
|
|
46
61
|
export { default as SwapIcon } from './Swap';
|
|
62
|
+
export { default as TelegramIcon } from './Telegram';
|
|
47
63
|
export { default as TimeIcon } from './Time';
|
|
48
64
|
export { default as TransactionIcon } from './Transaction';
|
|
49
65
|
export { default as TuneIcon } from './Tune';
|
|
@@ -51,13 +67,5 @@ export { default as UtxoCategoryIcon } from './UtxoCategory';
|
|
|
51
67
|
export { default as WalletIcon } from './Wallet';
|
|
52
68
|
export { default as WarningIcon } from './Warning';
|
|
53
69
|
export { default as WidthIcon } from './Width';
|
|
54
|
-
export { default as ChainsIcon } from './Chains';
|
|
55
|
-
export { default as ColorsIcon } from './Colors';
|
|
56
|
-
export { default as DiscordIcon } from './Discord';
|
|
57
|
-
export { default as KeyIcon } from './Key';
|
|
58
|
-
export { default as MediumIcon } from './Medium';
|
|
59
|
-
export { default as SettingsIcon } from './Settings';
|
|
60
|
-
export { default as StyleIcon } from './Style';
|
|
61
|
-
export { default as TelegramIcon } from './Telegram';
|
|
62
70
|
export { default as XIcon } from './X';
|
|
63
71
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EA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AAC7C,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/ui",
|
|
3
|
-
"version": "0.29.1-next.
|
|
3
|
+
"version": "0.29.1-next.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@radix-ui/react-select": "^2.0.0",
|
|
61
61
|
"@radix-ui/react-switch": "^1.0.1",
|
|
62
62
|
"@radix-ui/react-tooltip": "^1.0.2",
|
|
63
|
-
"@rango-dev/wallets-shared": "^0.28.
|
|
63
|
+
"@rango-dev/wallets-shared": "^0.28.1-next.1",
|
|
64
64
|
"@stitches/react": "^1.2.8",
|
|
65
65
|
"rango-sdk": "^0.1.45",
|
|
66
66
|
"rango-types": "^0.1.59",
|
package/readme.md
CHANGED
|
@@ -45,7 +45,12 @@ export function Alert(props: PropsWithChildren<PropTypes>) {
|
|
|
45
45
|
</Typography>
|
|
46
46
|
)}
|
|
47
47
|
</TitleContainer>
|
|
48
|
-
{action ?
|
|
48
|
+
{action ? (
|
|
49
|
+
<>
|
|
50
|
+
<Divider direction="horizontal" size={'20'} />
|
|
51
|
+
<div>{action}</div>
|
|
52
|
+
</>
|
|
53
|
+
) : null}
|
|
49
54
|
</Main>
|
|
50
55
|
{footer ? (
|
|
51
56
|
<div className={`footer ${isFooterString ? 'description' : ''}`}>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { ChainToken } from '../ChainToken';
|
|
4
|
+
import { Skeleton } from '../Skeleton';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
FlexCenter,
|
|
8
|
+
OutputLoading,
|
|
9
|
+
Separator,
|
|
10
|
+
VerticalLine,
|
|
11
|
+
} from './FullExpandedQuote.styles';
|
|
12
|
+
|
|
13
|
+
export function SkeletonHeader() {
|
|
14
|
+
return (
|
|
15
|
+
<>
|
|
16
|
+
<FlexCenter>
|
|
17
|
+
<Skeleton width={57.5} variant="text" size="large" />
|
|
18
|
+
<Separator />
|
|
19
|
+
<Skeleton width={57.5} variant="text" size="large" />
|
|
20
|
+
<Separator />
|
|
21
|
+
<Skeleton width={25.5} variant="text" size="large" />
|
|
22
|
+
</FlexCenter>
|
|
23
|
+
<FlexCenter
|
|
24
|
+
css={{
|
|
25
|
+
gap: '$5',
|
|
26
|
+
}}>
|
|
27
|
+
<Skeleton width={74} variant="text" size="large" />
|
|
28
|
+
<Skeleton width={80} variant="text" size="large" />
|
|
29
|
+
<Skeleton width={75} variant="text" size="large" />
|
|
30
|
+
<Skeleton width={52} variant="text" size="large" />
|
|
31
|
+
<Skeleton width={95} variant="text" size="large" />
|
|
32
|
+
</FlexCenter>
|
|
33
|
+
</>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function SkeletonOutput() {
|
|
38
|
+
return (
|
|
39
|
+
<OutputLoading>
|
|
40
|
+
<ChainToken
|
|
41
|
+
useAsPlaceholder={true}
|
|
42
|
+
size="medium"
|
|
43
|
+
chainImage=""
|
|
44
|
+
tokenImage=""
|
|
45
|
+
loading={true}
|
|
46
|
+
/>
|
|
47
|
+
<Skeleton variant="rounded" width={122} height={29} />
|
|
48
|
+
</OutputLoading>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
export function SkeletonItemLeft() {
|
|
52
|
+
return (
|
|
53
|
+
<div
|
|
54
|
+
style={{
|
|
55
|
+
display: 'flex',
|
|
56
|
+
alignItems: 'end',
|
|
57
|
+
}}>
|
|
58
|
+
<Skeleton variant="rounded" width={42} height={49} />
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SkeletonItemRight() {
|
|
64
|
+
return (
|
|
65
|
+
<FlexCenter
|
|
66
|
+
css={{
|
|
67
|
+
flexDirection: 'column',
|
|
68
|
+
gap: '$2',
|
|
69
|
+
}}>
|
|
70
|
+
<Skeleton variant="circular" width={30} height={30} />
|
|
71
|
+
<VerticalLine
|
|
72
|
+
css={{
|
|
73
|
+
width: 'unset',
|
|
74
|
+
}}
|
|
75
|
+
/>
|
|
76
|
+
</FlexCenter>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { FullExpandedQuote } from './FullExpandedQuote';
|
|
4
4
|
import { steps, tags } from './mock';
|
|
5
5
|
|
|
6
|
-
const meta: Meta<typeof
|
|
7
|
-
component:
|
|
6
|
+
const meta: Meta<typeof FullExpandedQuote> = {
|
|
7
|
+
component: FullExpandedQuote,
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof
|
|
11
|
+
type Story = StoryObj<typeof FullExpandedQuote>;
|
|
12
12
|
|
|
13
13
|
export const Main: Story = {
|
|
14
14
|
args: {
|
|
@@ -3,7 +3,7 @@ import { PriceImpact } from '../PriceImpact';
|
|
|
3
3
|
|
|
4
4
|
export const tokenLabelStyles = css({});
|
|
5
5
|
|
|
6
|
-
const FlexCenter = styled('div', {
|
|
6
|
+
export const FlexCenter = styled('div', {
|
|
7
7
|
display: 'flex',
|
|
8
8
|
justifyContent: 'center',
|
|
9
9
|
alignItems: 'center',
|
|
@@ -39,6 +39,13 @@ export const RouteContainer = styled('div', {
|
|
|
39
39
|
export const RouteHeader = styled('div', {
|
|
40
40
|
display: 'flex',
|
|
41
41
|
justifyContent: 'space-between',
|
|
42
|
+
variants: {
|
|
43
|
+
loading: {
|
|
44
|
+
true: {
|
|
45
|
+
padding: '$2',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
42
49
|
});
|
|
43
50
|
|
|
44
51
|
export const TagsContainer = styled('div', {
|
|
@@ -48,11 +55,10 @@ export const TagsContainer = styled('div', {
|
|
|
48
55
|
|
|
49
56
|
export const Steps = styled('div', {
|
|
50
57
|
display: 'flex',
|
|
51
|
-
height: '
|
|
52
|
-
padding: '$2',
|
|
58
|
+
height: '102px',
|
|
53
59
|
});
|
|
54
60
|
|
|
55
|
-
export const
|
|
61
|
+
export const StepItem = styled('div', {
|
|
56
62
|
padding: '$2',
|
|
57
63
|
display: 'flex',
|
|
58
64
|
width: '100%',
|
|
@@ -103,8 +109,8 @@ export const SwapperContainer = styled(FlexCenter, {
|
|
|
103
109
|
export const SwapperImage = styled(FlexCenter, {
|
|
104
110
|
borderRadius: '$lg',
|
|
105
111
|
position: 'relative',
|
|
106
|
-
width: '$
|
|
107
|
-
height: '$
|
|
112
|
+
width: '$24',
|
|
113
|
+
height: '$24',
|
|
108
114
|
border: '1px solid transparent',
|
|
109
115
|
variants: {
|
|
110
116
|
state: {
|
|
@@ -121,10 +127,10 @@ export const SwapperImage = styled(FlexCenter, {
|
|
|
121
127
|
export const IconHighlight = styled(FlexCenter, {
|
|
122
128
|
borderRadius: '$lg',
|
|
123
129
|
position: 'absolute',
|
|
124
|
-
width: '$
|
|
125
|
-
height: '$
|
|
126
|
-
bottom: -
|
|
127
|
-
right: -
|
|
130
|
+
width: '$10',
|
|
131
|
+
height: '$10',
|
|
132
|
+
bottom: -3,
|
|
133
|
+
right: -3,
|
|
128
134
|
variants: {
|
|
129
135
|
type: {
|
|
130
136
|
warning: {
|
|
@@ -147,12 +153,12 @@ export const IconHighlight = styled(FlexCenter, {
|
|
|
147
153
|
|
|
148
154
|
export const OutputSection = styled(FlexCenter, {
|
|
149
155
|
flexDirection: 'column',
|
|
150
|
-
paddingLeft: '$
|
|
156
|
+
paddingLeft: '$8',
|
|
151
157
|
});
|
|
152
158
|
|
|
153
159
|
export const VerticalLine = styled('div', {
|
|
154
160
|
display: 'flex',
|
|
155
|
-
width: '50%',
|
|
161
|
+
width: 'calc(50% + 1px)',
|
|
156
162
|
borderRight: '1px dashed',
|
|
157
163
|
height: '$10',
|
|
158
164
|
borderColor: '$info300',
|
|
@@ -172,7 +178,7 @@ export const lastStepStyle = css({
|
|
|
172
178
|
content: '',
|
|
173
179
|
position: 'absolute',
|
|
174
180
|
top: '50%',
|
|
175
|
-
right: '
|
|
181
|
+
right: '-3px',
|
|
176
182
|
transform: 'translate(-50%, -50%) rotate(45deg)',
|
|
177
183
|
width: '$6',
|
|
178
184
|
height: '$6',
|
|
@@ -184,3 +190,19 @@ export const lastStepStyle = css({
|
|
|
184
190
|
},
|
|
185
191
|
},
|
|
186
192
|
});
|
|
193
|
+
|
|
194
|
+
// Styles for the skeleton
|
|
195
|
+
|
|
196
|
+
export const Separator = styled('div', {
|
|
197
|
+
height: '$12',
|
|
198
|
+
marginLeft: '$10',
|
|
199
|
+
marginRight: '$10',
|
|
200
|
+
borderLeft: '1px solid $neutral700',
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
export const OutputLoading = styled(FlexCenter, {
|
|
204
|
+
padding: '0 $2',
|
|
205
|
+
height: '85px',
|
|
206
|
+
gap: '$10',
|
|
207
|
+
flexDirection: 'column',
|
|
208
|
+
});
|