@rango-dev/ui 0.28.1 → 0.28.2-next.1
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/CHANGELOG.md +4 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/translations/en.d.ts.map +1 -1
- package/dist/translations/es.d.ts.map +1 -1
- package/dist/translations/fr.d.ts.map +1 -1
- package/dist/translations/ja.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +4 -4
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts +2 -0
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Button/Button.d.ts +6 -6
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Divider/Divider.d.ts +1 -1
- package/dist/widget/ui/src/components/Divider/Divider.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts +2 -2
- package/dist/widget/ui/src/components/Icon/common.d.ts +2 -2
- package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts +6 -1
- package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +4 -4
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +4 -3
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +4 -6
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +14 -14
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +1 -1
- package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +6 -6
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +6 -6
- package/dist/widget/ui/src/icons/Autorenew.d.ts +5 -0
- package/dist/widget/ui/src/icons/Autorenew.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Exit.d.ts +5 -0
- package/dist/widget/ui/src/icons/Exit.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/Swap.d.ts +5 -0
- package/dist/widget/ui/src/icons/Swap.d.ts.map +1 -0
- package/dist/widget/ui/src/icons/index.d.ts +3 -0
- package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/Alert/Alert.tsx +2 -0
- package/src/components/Alert/Alert.types.ts +2 -0
- package/src/components/Checkbox/Checkbox.styles.ts +4 -0
- package/src/components/Divider/Divider.tsx +2 -1
- package/src/components/Modal/Modal.tsx +6 -5
- package/src/components/Modal/Modal.types.ts +6 -1
- package/src/components/Toast/Toast.Provider.tsx +82 -44
- package/src/components/Toast/Toast.stories.tsx +18 -21
- package/src/components/Toast/Toast.styles.ts +74 -38
- package/src/components/Toast/Toast.tsx +54 -27
- package/src/components/Toast/Toast.types.ts +19 -17
- package/src/components/Typography/Typography.types.tsx +1 -1
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -1
- package/src/icons/Autorenew.tsx +20 -0
- package/src/icons/Exit.tsx +20 -0
- package/src/icons/Swap.tsx +20 -0
- package/src/icons/index.ts +3 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAulb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA6hd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA2vd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA68W,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA4CxD;yBA5Ce,KAAK"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
|
-
type?: "
|
|
3
|
-
variant?: "
|
|
2
|
+
type?: "info" | "success" | "warning" | "error" | "loading" | undefined;
|
|
3
|
+
variant?: "regular" | "alarm" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
xs: string;
|
|
6
6
|
sm: string;
|
|
@@ -163,7 +163,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
163
163
|
transitions: {};
|
|
164
164
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
165
|
export declare const Main: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
166
|
-
variant?: "
|
|
166
|
+
variant?: "regular" | "alarm" | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
xs: string;
|
|
169
169
|
sm: string;
|
|
@@ -326,7 +326,7 @@ export declare const Main: import("@stitches/react/types/styled-component").Styl
|
|
|
326
326
|
transitions: {};
|
|
327
327
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
328
328
|
export declare const IconHighlight: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
329
|
-
type?: "
|
|
329
|
+
type?: "info" | "success" | "warning" | "error" | "loading" | undefined;
|
|
330
330
|
align?: "center" | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
xs: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseAlign } from '../Typography/Typography.types';
|
|
1
2
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
3
|
export type Type = 'success' | 'warning' | 'error' | 'info' | 'loading';
|
|
3
4
|
export interface PropTypes {
|
|
@@ -7,5 +8,6 @@ export interface PropTypes {
|
|
|
7
8
|
action?: ReactNode;
|
|
8
9
|
variant?: 'alarm' | 'regular';
|
|
9
10
|
containerStyles?: CSSProperties;
|
|
11
|
+
titleAlign?: BaseAlign;
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=Alert.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB"}
|
|
@@ -56,13 +56,13 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
56
56
|
"aria-braillelabel"?: string | undefined;
|
|
57
57
|
"aria-brailleroledescription"?: string | undefined;
|
|
58
58
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
59
|
-
"aria-checked"?: boolean | "
|
|
59
|
+
"aria-checked"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
60
60
|
"aria-colcount"?: number | undefined;
|
|
61
61
|
"aria-colindex"?: number | undefined;
|
|
62
62
|
"aria-colindextext"?: string | undefined;
|
|
63
63
|
"aria-colspan"?: number | undefined;
|
|
64
64
|
"aria-controls"?: string | undefined;
|
|
65
|
-
"aria-current"?: boolean | "time" | "
|
|
65
|
+
"aria-current"?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
66
66
|
"aria-describedby"?: string | undefined;
|
|
67
67
|
"aria-description"?: string | undefined;
|
|
68
68
|
"aria-details"?: string | undefined;
|
|
@@ -72,7 +72,7 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
72
72
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
73
73
|
"aria-flowto"?: string | undefined;
|
|
74
74
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
75
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "
|
|
75
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "listbox" | "false" | "tree" | undefined;
|
|
76
76
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
77
77
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
78
78
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -83,11 +83,11 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
83
83
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
84
84
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
86
|
-
"aria-orientation"?: "
|
|
86
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
87
87
|
"aria-owns"?: string | undefined;
|
|
88
88
|
"aria-placeholder"?: string | undefined;
|
|
89
89
|
"aria-posinset"?: number | undefined;
|
|
90
|
-
"aria-pressed"?: boolean | "
|
|
90
|
+
"aria-pressed"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
91
91
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
92
92
|
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
93
93
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
@@ -271,7 +271,7 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
271
271
|
} & {
|
|
272
272
|
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
273
273
|
variant?: "default" | "contained" | "outlined" | "ghost" | undefined;
|
|
274
|
-
type?: "
|
|
274
|
+
type?: "primary" | "secondary" | "success" | "warning" | "error" | undefined;
|
|
275
275
|
loading?: boolean | undefined;
|
|
276
276
|
disabled?: boolean | undefined;
|
|
277
277
|
prefix?: React.ReactNode;
|
|
@@ -2,7 +2,7 @@ export declare const ButtonBase: import("@stitches/react/types/styled-component"
|
|
|
2
2
|
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
3
3
|
variant?: "default" | "contained" | "outlined" | "ghost" | undefined;
|
|
4
4
|
fullWidth?: boolean | "true" | undefined;
|
|
5
|
-
type?: "
|
|
5
|
+
type?: "primary" | "secondary" | "success" | "warning" | "error" | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
xs: string;
|
|
8
8
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/Checkbox.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAI1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG5B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+
|
|
1
|
+
{"version":3,"file":"Checkbox.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/Checkbox.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAI1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG5B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAyBvB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI5B,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIhB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { PropTypes } from './Divider.types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare function Divider({ size, direction, }: PropTypes): React.JSX.Element;
|
|
3
|
+
export declare function Divider({ size, direction, ...props }: PropTypes): React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,OAAO,CAAC,EACtB,IAAmB,EACnB,SAAsB,
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,OAAO,CAAC,EACtB,IAAmB,EACnB,SAAsB,EACtB,GAAG,KAAK,EACT,EAAE,SAAS,qBAEX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const DividerContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
|
-
size?: 2 | 10 | 12 | 16 | 18 | 20 | 24 | 32 | 30 | 4 | 8 | "2" | "4" | "8" | "
|
|
3
|
-
direction?: "
|
|
2
|
+
size?: 2 | 10 | 12 | 16 | 18 | 20 | 24 | 32 | 30 | 4 | 8 | "2" | "4" | "8" | "12" | "10" | "16" | "18" | "20" | "24" | "30" | "32" | undefined;
|
|
3
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
xs: string;
|
|
6
6
|
sm: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SvgWithStrokeColor: import("@stitches/react/types/styled-component").StyledComponent<"svg", {
|
|
2
|
-
color?: "
|
|
2
|
+
color?: "primary" | "success" | "warning" | "error" | "black" | "white" | undefined;
|
|
3
3
|
disabled?: boolean | "true" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
xs: string;
|
|
@@ -163,7 +163,7 @@ export declare const SvgWithStrokeColor: import("@stitches/react/types/styled-co
|
|
|
163
163
|
transitions: {};
|
|
164
164
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
165
|
export declare const SvgWithFillColor: import("@stitches/react/types/styled-component").StyledComponent<"svg", {
|
|
166
|
-
color?: "
|
|
166
|
+
color?: "primary" | "success" | "warning" | "error" | "black" | "white" | undefined;
|
|
167
167
|
disabled?: boolean | "true" | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
xs: string;
|
|
@@ -321,7 +321,7 @@ export declare const Description: import("@stitches/react/types/styled-component
|
|
|
321
321
|
transitions: {};
|
|
322
322
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
323
323
|
export declare const IconHighlight: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
324
|
-
type?: "
|
|
324
|
+
type?: "info" | "success" | "warning" | "error" | "loading" | undefined;
|
|
325
325
|
}, {
|
|
326
326
|
xs: string;
|
|
327
327
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAsC,MAAM,OAAO,CAAC;AAqB3D,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAsC,MAAM,OAAO,CAAC;AAqB3D,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAyGxD"}
|
|
@@ -14,7 +14,12 @@ export interface PropTypes {
|
|
|
14
14
|
prefix?: React.ReactNode;
|
|
15
15
|
suffix?: React.ReactNode;
|
|
16
16
|
container?: HTMLElement;
|
|
17
|
-
|
|
17
|
+
styles?: {
|
|
18
|
+
root?: Stitches.CSS<typeof config>;
|
|
19
|
+
container?: Stitches.CSS<typeof config>;
|
|
20
|
+
content?: Stitches.CSS<typeof config>;
|
|
21
|
+
footer?: Stitches.CSS<typeof config>;
|
|
22
|
+
};
|
|
18
23
|
footer?: React.ReactNode;
|
|
19
24
|
hasWatermark?: boolean;
|
|
20
25
|
hasCloseIcon?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC;AACxD,KAAK,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KA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
/// <reference types="react" />
|
|
2
2
|
import * as RadioGroup from '@radix-ui/react-radio-group';
|
|
3
3
|
export declare const RadioRoot: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RadioGroup.RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, {
|
|
4
|
-
direction?: "
|
|
4
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
5
5
|
}, {
|
|
6
6
|
xs: string;
|
|
7
7
|
sm: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
type?: "quote-details" | "swap-progress" | undefined;
|
|
3
|
-
state?: "
|
|
3
|
+
state?: "default" | "warning" | "error" | "in-progress" | "completed" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
xs: string;
|
|
6
6
|
sm: string;
|
|
@@ -163,7 +163,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
163
163
|
transitions: {};
|
|
164
164
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
165
|
export declare const SwapperImage: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
166
|
-
state?: "
|
|
166
|
+
state?: "default" | "warning" | "error" | "in-progress" | "completed" | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
xs: string;
|
|
169
169
|
sm: string;
|
|
@@ -652,7 +652,7 @@ export declare const DashedLine: import("@stitches/react/types/styled-component"
|
|
|
652
652
|
transitions: {};
|
|
653
653
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
654
654
|
export declare const SwapperSeparator: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
655
|
-
state?: "
|
|
655
|
+
state?: "default" | "warning" | "error" | "in-progress" | "completed" | undefined;
|
|
656
656
|
}, {
|
|
657
657
|
xs: string;
|
|
658
658
|
sm: string;
|
|
@@ -815,7 +815,7 @@ export declare const SwapperSeparator: import("@stitches/react/types/styled-comp
|
|
|
815
815
|
transitions: {};
|
|
816
816
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
817
817
|
export declare const StepSeparator: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
818
|
-
state?: "
|
|
818
|
+
state?: "default" | "warning" | "error" | "in-progress" | "completed" | undefined;
|
|
819
819
|
}, {
|
|
820
820
|
xs: string;
|
|
821
821
|
sm: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SvgWithColor: import("@stitches/react/types/styled-component").StyledComponent<"svg", {
|
|
2
|
-
color?: "
|
|
2
|
+
color?: "primary" | "secondary" | "info" | "success" | "warning" | "error" | "black" | "gray" | "white" | undefined;
|
|
3
3
|
}, {
|
|
4
4
|
xs: string;
|
|
5
5
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.Provider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Toast.Provider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAIlB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAuD,MAAM,OAAO,CAAC;AAwB5E,eAAO,MAAM,aAAa,UAAW,kBAAkB,iBAAiB,CAAC,sBAiFxE,CAAC;AAEF,wBAAgB,QAAQ,IAAI,eAAe,CAQ1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAoB,MAAM,OAAO,CAAC;AAiBzC,eAAO,MAAM,KAAK,UAAW,UAAU,sBAkEtC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ToastProps } from './Toast.types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R,
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Toast.types").ToastType & {
|
|
4
|
+
id: string | number;
|
|
5
|
+
}>;
|
|
4
6
|
export default _default;
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const BottomToasts: (props: ToastProps) => React.JSX.Element;
|
|
7
|
+
export declare const Main: (props: ToastProps) => React.JSX.Element;
|
|
7
8
|
//# sourceMappingURL=Toast.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,MAAM,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AAQ1B,wBAiCwB;AAExB,eAAO,MAAM,IAAI,UAAW,UAAU,sBAMrC,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Typography } from '../Typography';
|
|
2
|
-
export declare const ToastContentContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
3
|
-
horizontal?: "left" | "right" | undefined;
|
|
4
|
-
}, {
|
|
2
|
+
export declare const ToastContentContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
5
3
|
xs: string;
|
|
6
4
|
sm: string;
|
|
7
5
|
md: string;
|
|
@@ -163,8 +161,7 @@ export declare const ToastContentContainer: import("@stitches/react/types/styled
|
|
|
163
161
|
transitions: {};
|
|
164
162
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
163
|
export declare const ToastContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
166
|
-
|
|
167
|
-
vertical?: "bottom" | "top" | undefined;
|
|
164
|
+
position?: "right-top" | "right-bottom" | "left-top" | "left-bottom" | "center-top" | "center-bottom" | undefined;
|
|
168
165
|
}, {
|
|
169
166
|
xs: string;
|
|
170
167
|
sm: string;
|
|
@@ -327,7 +324,8 @@ export declare const ToastContainer: import("@stitches/react/types/styled-compon
|
|
|
327
324
|
transitions: {};
|
|
328
325
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
329
326
|
export declare const AlertBox: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
330
|
-
|
|
327
|
+
variant?: "custom" | "standard" | undefined;
|
|
328
|
+
type?: "info" | "success" | "warning" | "error" | "loading" | undefined;
|
|
331
329
|
}, {
|
|
332
330
|
xs: string;
|
|
333
331
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAO3C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"Toast.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.styles.ts"],"names":[],"mappings":"AACA,OAAO,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG9B,CAAC"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ToastContainer } from './Toast.styles';
|
|
2
2
|
import type { Type } from '../Alert/Alert.types';
|
|
3
|
-
import type
|
|
3
|
+
import type * as Stitches from '@stitches/react';
|
|
4
|
+
import type { CSSProperties } from 'react';
|
|
5
|
+
type BaseProps = Stitches.VariantProps<typeof ToastContainer>;
|
|
6
|
+
export type ToastPosition = Exclude<BaseProps['position'], object>;
|
|
4
7
|
export interface ProviderPropTypes {
|
|
5
8
|
container: HTMLElement;
|
|
6
|
-
anchorOrigin?: {
|
|
7
|
-
horizontal: 'left' | 'right';
|
|
8
|
-
vertical: 'bottom' | 'top';
|
|
9
|
-
};
|
|
10
|
-
containerStyle?: CSSProperties;
|
|
11
9
|
}
|
|
12
10
|
export type ToastType = {
|
|
13
11
|
autoHideDuration?: number;
|
|
14
12
|
id?: number | string;
|
|
15
|
-
|
|
13
|
+
containerStyle?: CSSProperties;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
position: ToastPosition;
|
|
16
16
|
title: string;
|
|
17
17
|
type: Type;
|
|
18
|
-
titleColor?: string;
|
|
19
18
|
style?: CSSProperties;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
hasCloseIcon?: boolean;
|
|
20
|
+
hideOnTap?: boolean;
|
|
21
|
+
variant?: 'custom' | 'standard';
|
|
22
|
+
};
|
|
23
23
|
export type ToastProps = ToastType & {
|
|
24
24
|
id: number | string;
|
|
25
|
-
horizontal: 'left' | 'right';
|
|
26
25
|
};
|
|
27
26
|
export type ProviderContext = {
|
|
28
27
|
addToast: (content: ToastType) => void;
|
|
29
|
-
removeToast: (id: number | string) => void;
|
|
28
|
+
removeToast: (id: number | string, position: ToastPosition) => void;
|
|
30
29
|
};
|
|
30
|
+
export {};
|
|
31
31
|
//# sourceMappingURL=Toast.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toast.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAC;AACnE,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG;IACnC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;CACrE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
|
-
direction?: "
|
|
2
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
3
3
|
centerAlign?: boolean | "true" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
xs: string;
|
|
@@ -3,7 +3,7 @@ import type * as Stitches from '@stitches/react';
|
|
|
3
3
|
type BaseProps = Stitches.VariantProps<typeof TypographyContainer>;
|
|
4
4
|
type BaseSizes = Exclude<BaseProps['size'], object>;
|
|
5
5
|
type BaseVariants = Exclude<BaseProps['variant'], object>;
|
|
6
|
-
type BaseAlign = Exclude<BaseProps['align'], object>;
|
|
6
|
+
export type BaseAlign = Exclude<BaseProps['align'], object>;
|
|
7
7
|
type margin = 2 | 4 | 8 | 12;
|
|
8
8
|
export interface PropTypes {
|
|
9
9
|
variant: BaseVariants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/Typography.types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACnE,KAAK,SAAS,GAAG,OAAO,CA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-
{"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBAkBnD"}
|
|
@@ -553,13 +553,13 @@ export declare const MaxButton: import("@stitches/react/types/styled-component")
|
|
|
553
553
|
"aria-braillelabel"?: string | undefined;
|
|
554
554
|
"aria-brailleroledescription"?: string | undefined;
|
|
555
555
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
556
|
-
"aria-checked"?: boolean | "
|
|
556
|
+
"aria-checked"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
557
557
|
"aria-colcount"?: number | undefined;
|
|
558
558
|
"aria-colindex"?: number | undefined;
|
|
559
559
|
"aria-colindextext"?: string | undefined;
|
|
560
560
|
"aria-colspan"?: number | undefined;
|
|
561
561
|
"aria-controls"?: string | undefined;
|
|
562
|
-
"aria-current"?: boolean | "time" | "
|
|
562
|
+
"aria-current"?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
563
563
|
"aria-describedby"?: string | undefined;
|
|
564
564
|
"aria-description"?: string | undefined;
|
|
565
565
|
"aria-details"?: string | undefined;
|
|
@@ -569,7 +569,7 @@ export declare const MaxButton: import("@stitches/react/types/styled-component")
|
|
|
569
569
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
570
570
|
"aria-flowto"?: string | undefined;
|
|
571
571
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
572
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "
|
|
572
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "listbox" | "false" | "tree" | undefined;
|
|
573
573
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
574
574
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
575
575
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -580,11 +580,11 @@ export declare const MaxButton: import("@stitches/react/types/styled-component")
|
|
|
580
580
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
581
581
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
582
582
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
583
|
-
"aria-orientation"?: "
|
|
583
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
584
584
|
"aria-owns"?: string | undefined;
|
|
585
585
|
"aria-placeholder"?: string | undefined;
|
|
586
586
|
"aria-posinset"?: number | undefined;
|
|
587
|
-
"aria-pressed"?: boolean | "
|
|
587
|
+
"aria-pressed"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
588
588
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
589
589
|
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
590
590
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
@@ -768,7 +768,7 @@ export declare const MaxButton: import("@stitches/react/types/styled-component")
|
|
|
768
768
|
} & {
|
|
769
769
|
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
770
770
|
variant?: "default" | "contained" | "outlined" | "ghost" | undefined;
|
|
771
|
-
type?: "
|
|
771
|
+
type?: "primary" | "secondary" | "success" | "warning" | "error" | undefined;
|
|
772
772
|
loading?: boolean | undefined;
|
|
773
773
|
disabled?: boolean | undefined;
|
|
774
774
|
prefix?: import("react").ReactNode;
|
|
@@ -57,13 +57,13 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
57
57
|
"aria-braillelabel"?: string | undefined;
|
|
58
58
|
"aria-brailleroledescription"?: string | undefined;
|
|
59
59
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
60
|
-
"aria-checked"?: boolean | "
|
|
60
|
+
"aria-checked"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
61
61
|
"aria-colcount"?: number | undefined;
|
|
62
62
|
"aria-colindex"?: number | undefined;
|
|
63
63
|
"aria-colindextext"?: string | undefined;
|
|
64
64
|
"aria-colspan"?: number | undefined;
|
|
65
65
|
"aria-controls"?: string | undefined;
|
|
66
|
-
"aria-current"?: boolean | "time" | "
|
|
66
|
+
"aria-current"?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
67
67
|
"aria-describedby"?: string | undefined;
|
|
68
68
|
"aria-description"?: string | undefined;
|
|
69
69
|
"aria-details"?: string | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
73
73
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
74
74
|
"aria-flowto"?: string | undefined;
|
|
75
75
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
76
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "
|
|
76
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "listbox" | "false" | "tree" | undefined;
|
|
77
77
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
78
78
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
79
79
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -84,11 +84,11 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
84
84
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
86
86
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
87
|
-
"aria-orientation"?: "
|
|
87
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
88
88
|
"aria-owns"?: string | undefined;
|
|
89
89
|
"aria-placeholder"?: string | undefined;
|
|
90
90
|
"aria-posinset"?: number | undefined;
|
|
91
|
-
"aria-pressed"?: boolean | "
|
|
91
|
+
"aria-pressed"?: boolean | "true" | "mixed" | "false" | undefined;
|
|
92
92
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
93
93
|
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
94
94
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
@@ -272,7 +272,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
272
272
|
} & {
|
|
273
273
|
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
274
274
|
variant?: "default" | "contained" | "outlined" | "ghost" | undefined;
|
|
275
|
-
type?: "
|
|
275
|
+
type?: "primary" | "secondary" | "success" | "warning" | "error" | undefined;
|
|
276
276
|
loading?: boolean | undefined;
|
|
277
277
|
disabled?: boolean | undefined;
|
|
278
278
|
prefix?: import("react").ReactNode;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgAutorenew(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgAutorenew;
|
|
5
|
+
//# sourceMappingURL=Autorenew.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Autorenew.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Autorenew.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,iBAAS,YAAY,CAAC,KAAK,EAAE,wBAAwB,4DAYpD;AACD,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgExit(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgExit;
|
|
5
|
+
//# sourceMappingURL=Exit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Exit.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Exit.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,4DAY/C;AACD,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SvgIconPropsWithChildren } from '../components/SvgIcon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function SvgSwap(props: SvgIconPropsWithChildren): React.FunctionComponentElement<SvgIconPropsWithChildren>;
|
|
4
|
+
export default SvgSwap;
|
|
5
|
+
//# sourceMappingURL=Swap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Swap.d.ts","sourceRoot":"","sources":["../../../../../src/icons/Swap.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,4DAY/C;AACD,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as AddIcon } from './Add';
|
|
2
2
|
export { default as AutoThemeIcon } from './AutoTheme';
|
|
3
|
+
export { default as AutorenewIcon } from './Autorenew';
|
|
3
4
|
export { default as BorderRadiusIcon } from './BorderRadius';
|
|
4
5
|
export { default as ChevronDownIcon } from './ChevronDown';
|
|
5
6
|
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
@@ -16,6 +17,7 @@ export { default as DesktopIcon } from './Desktop';
|
|
|
16
17
|
export { default as DoneIcon } from './Done';
|
|
17
18
|
export { default as EvmCategoryIcon } from './EvmCategory';
|
|
18
19
|
export { default as ErrorIcon } from './Error';
|
|
20
|
+
export { default as ExitIcon } from './Exit';
|
|
19
21
|
export { default as ExternalLinkIcon } from './ExternalLink';
|
|
20
22
|
export { default as FontIcon } from './Font';
|
|
21
23
|
export { default as GasIcon } from './Gas';
|
|
@@ -41,6 +43,7 @@ export { default as RefreshIcon } from './Refresh';
|
|
|
41
43
|
export { default as ReverseIcon } from './Reverse';
|
|
42
44
|
export { default as RouteIcon } from './Route';
|
|
43
45
|
export { default as SearchIcon } from './Search';
|
|
46
|
+
export { default as SwapIcon } from './Swap';
|
|
44
47
|
export { default as TimeIcon } from './Time';
|
|
45
48
|
export { default as TransactionIcon } from './Transaction';
|
|
46
49
|
export { default as UtxoCategoryIcon } from './UtxoCategory';
|