@rango-dev/ui 0.28.2-next.0 → 0.28.2-next.2
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 +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/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/NotSelectableTypography.d.ts +163 -0
- package/dist/widget/ui/src/components/Typography/NotSelectableTypography.d.ts.map +1 -0
- 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/components/Typography/index.d.ts +1 -0
- package/dist/widget/ui/src/components/Typography/index.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 +1 -1
- package/src/components/Alert/Alert.tsx +2 -0
- package/src/components/Alert/Alert.types.ts +2 -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/NotSelectableTypography.ts +7 -0
- package/src/components/Typography/Typography.types.tsx +1 -1
- package/src/components/Typography/index.ts +1 -0
- 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":"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,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,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,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC;QACnC,SAAS,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC;QACxC,OAAO,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC;QACtC,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC;KACtC,CAAC;IACF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB,CAAC,EAAE;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <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,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAO3C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEhC,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAoCzB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwEnB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAa3B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+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;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { Typography } from './Typography';
|
|
2
|
+
export declare const NotSelectableTypography: import("@stitches/react/types/styled-component").StyledComponent<typeof Typography, {}, {
|
|
3
|
+
xs: string;
|
|
4
|
+
sm: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
}, {
|
|
13
|
+
colors: {
|
|
14
|
+
primary: string;
|
|
15
|
+
primary500: string;
|
|
16
|
+
primary600: string;
|
|
17
|
+
secondary: string;
|
|
18
|
+
secondary100: string;
|
|
19
|
+
secondary200: string;
|
|
20
|
+
secondary300: string;
|
|
21
|
+
secondary400: string;
|
|
22
|
+
secondary500: string;
|
|
23
|
+
secondary600: string;
|
|
24
|
+
secondary700: string;
|
|
25
|
+
secondary800: string;
|
|
26
|
+
secondary900: string;
|
|
27
|
+
neutral: string;
|
|
28
|
+
neutral100: string;
|
|
29
|
+
neutral200: string;
|
|
30
|
+
neutral300: string;
|
|
31
|
+
neutral400: string;
|
|
32
|
+
neutral500: string;
|
|
33
|
+
neutral600: string;
|
|
34
|
+
neutral700: string;
|
|
35
|
+
neutral800: string;
|
|
36
|
+
neutral900: string;
|
|
37
|
+
error100: string;
|
|
38
|
+
error300: string;
|
|
39
|
+
error500: string;
|
|
40
|
+
error600: string;
|
|
41
|
+
error700: string;
|
|
42
|
+
warning100: string;
|
|
43
|
+
warning300: string;
|
|
44
|
+
warning500: string;
|
|
45
|
+
warning600: string;
|
|
46
|
+
warning700: string;
|
|
47
|
+
info: string;
|
|
48
|
+
info100: string;
|
|
49
|
+
info300: string;
|
|
50
|
+
info500: string;
|
|
51
|
+
info600: string;
|
|
52
|
+
info700: string;
|
|
53
|
+
success100: string;
|
|
54
|
+
success300: string;
|
|
55
|
+
success500: string;
|
|
56
|
+
success600: string;
|
|
57
|
+
success700: string;
|
|
58
|
+
background: string;
|
|
59
|
+
foreground: string;
|
|
60
|
+
};
|
|
61
|
+
space: {
|
|
62
|
+
0: string;
|
|
63
|
+
5: string;
|
|
64
|
+
10: string;
|
|
65
|
+
15: string;
|
|
66
|
+
20: string;
|
|
67
|
+
25: string;
|
|
68
|
+
30: string;
|
|
69
|
+
40: string;
|
|
70
|
+
46: string;
|
|
71
|
+
50: string;
|
|
72
|
+
60: string;
|
|
73
|
+
70: string;
|
|
74
|
+
80: string;
|
|
75
|
+
90: string;
|
|
76
|
+
100: string;
|
|
77
|
+
2: string;
|
|
78
|
+
4: string;
|
|
79
|
+
6: string;
|
|
80
|
+
8: string;
|
|
81
|
+
12: string;
|
|
82
|
+
16: string;
|
|
83
|
+
24: string;
|
|
84
|
+
28: string;
|
|
85
|
+
32: string;
|
|
86
|
+
};
|
|
87
|
+
radii: {
|
|
88
|
+
xs: string;
|
|
89
|
+
sm: string;
|
|
90
|
+
xm: string;
|
|
91
|
+
md: string;
|
|
92
|
+
xl: string;
|
|
93
|
+
lg: string;
|
|
94
|
+
primary: string;
|
|
95
|
+
secondary: string;
|
|
96
|
+
};
|
|
97
|
+
fontSizes: {
|
|
98
|
+
10: string;
|
|
99
|
+
12: string;
|
|
100
|
+
14: string;
|
|
101
|
+
16: string;
|
|
102
|
+
18: string;
|
|
103
|
+
20: string;
|
|
104
|
+
22: string;
|
|
105
|
+
24: string;
|
|
106
|
+
28: string;
|
|
107
|
+
32: string;
|
|
108
|
+
36: string;
|
|
109
|
+
40: string;
|
|
110
|
+
48: string;
|
|
111
|
+
};
|
|
112
|
+
fonts: {
|
|
113
|
+
primary: string;
|
|
114
|
+
widget: string;
|
|
115
|
+
};
|
|
116
|
+
fontWeights: {
|
|
117
|
+
regular: number;
|
|
118
|
+
medium: number;
|
|
119
|
+
semiBold: number;
|
|
120
|
+
bold: number;
|
|
121
|
+
};
|
|
122
|
+
lineHeights: {
|
|
123
|
+
12: string;
|
|
124
|
+
16: string;
|
|
125
|
+
20: string;
|
|
126
|
+
24: string;
|
|
127
|
+
26: string;
|
|
128
|
+
28: string;
|
|
129
|
+
30: string;
|
|
130
|
+
36: string;
|
|
131
|
+
40: string;
|
|
132
|
+
44: string;
|
|
133
|
+
52: string;
|
|
134
|
+
64: string;
|
|
135
|
+
};
|
|
136
|
+
letterSpacings: {};
|
|
137
|
+
sizes: {
|
|
138
|
+
4: string;
|
|
139
|
+
6: string;
|
|
140
|
+
8: string;
|
|
141
|
+
10: string;
|
|
142
|
+
12: string;
|
|
143
|
+
16: string;
|
|
144
|
+
18: string;
|
|
145
|
+
20: string;
|
|
146
|
+
24: string;
|
|
147
|
+
28: string;
|
|
148
|
+
30: string;
|
|
149
|
+
32: string;
|
|
150
|
+
36: string;
|
|
151
|
+
40: string;
|
|
152
|
+
45: string;
|
|
153
|
+
48: string;
|
|
154
|
+
};
|
|
155
|
+
borderWidths: {};
|
|
156
|
+
borderStyles: {};
|
|
157
|
+
shadows: {
|
|
158
|
+
s: string;
|
|
159
|
+
};
|
|
160
|
+
zIndices: {};
|
|
161
|
+
transitions: {};
|
|
162
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
163
|
+
//# sourceMappingURL=NotSelectableTypography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotSelectableTypography.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/NotSelectableTypography.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAElC,CAAC"}
|
|
@@ -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,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;AAC1D,
|
|
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,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AAG5D,KAAK,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AAE7B,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,SAAS,IAAI,mBAAmB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,SAAS,IAAI,mBAAmB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|