@rango-dev/ui 0.28.2-next.0 → 0.28.2-next.10
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/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/translations/pt.d.ts +2 -0
- package/dist/translations/pt.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts +3 -2
- package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +12 -8
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts +5 -2
- package/dist/widget/ui/src/components/Alert/Alert.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/BottomLogo/BottomLogo.styles.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 +4 -1
- package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/ChainToken/ChainToken.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts +4 -0
- package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/Chip/Chip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Collapsible/Collapsible.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/Collapsible/Collapsible.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 +3 -2
- package/dist/widget/ui/src/components/Divider/Divider.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts +5 -0
- package/dist/widget/ui/src/components/Drawer/Drawer.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Flags/Portuguese.d.ts +4 -0
- package/dist/widget/ui/src/components/Flags/Portuguese.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Flags/index.d.ts +2 -1
- package/dist/widget/ui/src/components/Flags/index.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Header/Header.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/Header/Header.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts +1 -0
- package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts +1 -0
- package/dist/widget/ui/src/components/Icon/CloseIcon.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Icon/common.d.ts +4 -2
- package/dist/widget/ui/src/components/Icon/common.d.ts.map +1 -1
- package/dist/widget/ui/src/components/List/List.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/List/List.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts +4 -1
- package/dist/widget/ui/src/components/MessageBox/MessageBox.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Modal/Modal.styles.d.ts +6 -0
- package/dist/widget/ui/src/components/Modal/Modal.styles.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/NotFound/NotFound.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/NotFound/NotFound.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/Popover/Popover.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +4 -0
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts +2 -1
- package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts +5 -1
- package/dist/widget/ui/src/components/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts +1 -0
- package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Select/Select.d.ts +4 -0
- package/dist/widget/ui/src/components/Select/Select.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/Select.types.d.ts +12 -0
- package/dist/widget/ui/src/components/Select/Select.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/index.d.ts +2 -0
- package/dist/widget/ui/src/components/Select/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Select/select.styles.d.ts +492 -0
- package/dist/widget/ui/src/components/Select/select.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts +3 -0
- package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/Skeleton/Skeleton.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +10 -4
- package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts +2 -1
- package/dist/widget/ui/src/components/SvgIcon/SvgIcon.style.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts +1 -0
- package/dist/widget/ui/src/components/SwapDetailsPlaceholder/SwapDetailsPlaceholder.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts +6 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapListItem.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts +9 -0
- package/dist/widget/ui/src/components/SwapListItem/SwapToken.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts +2 -0
- package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.d.ts +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +1 -1
- package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts +3 -0
- package/dist/widget/ui/src/components/TextField/TextField.styles.d.ts.map +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.helpers.d.ts +4 -0
- package/dist/widget/ui/src/components/Toast/Toast.helpers.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 +174 -4
- 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 +4 -1
- package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +3 -0
- package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Typography/NotSelectableTypography.d.ts +164 -0
- package/dist/widget/ui/src/components/Typography/NotSelectableTypography.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/Typography/Typography.styles.d.ts.map +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/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/components/Wallet/Wallet.styles.d.ts +5 -0
- package/dist/widget/ui/src/components/Wallet/Wallet.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/FilledCircle.d.ts +1 -0
- package/dist/widget/ui/src/components/common/FilledCircle.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/Image.d.ts +1 -0
- package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
- package/dist/widget/ui/src/components/common/styles.d.ts +1 -0
- package/dist/widget/ui/src/components/common/styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/index.d.ts +1 -0
- package/dist/widget/ui/src/components/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/SwapHistory/SwapHistory.d.ts +10 -0
- package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +18 -7
- package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +11 -6
- package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +1 -0
- package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
- 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/dist/widget/ui/src/theme.d.ts +25 -13
- package/dist/widget/ui/src/theme.d.ts.map +1 -1
- package/package.json +5 -4
- package/readme.md +3 -1
- package/src/components/Alert/Alert.helpers.ts +13 -2
- package/src/components/Alert/Alert.styles.ts +7 -8
- package/src/components/Alert/Alert.tsx +8 -6
- package/src/components/Alert/Alert.types.ts +5 -2
- package/src/components/Divider/Divider.tsx +2 -1
- package/src/components/Flags/Portuguese.tsx +34 -0
- package/src/components/Flags/index.ts +2 -1
- package/src/components/I18nManager/I18nManager.tsx +2 -0
- package/src/components/Modal/Modal.tsx +25 -12
- package/src/components/Modal/Modal.types.ts +6 -1
- package/src/components/QuoteCost/QuoteCost.styles.ts +0 -1
- package/src/components/QuoteCost/QuoteCost.types.ts +1 -1
- package/src/components/Select/Select.tsx +85 -0
- package/src/components/Select/Select.types.ts +10 -0
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/select.styles.ts +100 -0
- package/src/components/TextField/TextField.styles.ts +1 -0
- package/src/components/Toast/Toast.Provider.tsx +82 -44
- package/src/components/Toast/Toast.helpers.ts +5 -0
- package/src/components/Toast/Toast.stories.tsx +18 -21
- package/src/components/Toast/Toast.styles.ts +278 -38
- package/src/components/Toast/Toast.tsx +84 -32
- 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/components/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
- package/src/theme.ts +4 -1
|
@@ -143,6 +143,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
143
143
|
18: string;
|
|
144
144
|
20: string;
|
|
145
145
|
24: string;
|
|
146
|
+
26: string;
|
|
146
147
|
28: string;
|
|
147
148
|
30: string;
|
|
148
149
|
32: string;
|
|
@@ -304,6 +305,7 @@ export declare const Header: import("@stitches/react/types/styled-component").St
|
|
|
304
305
|
18: string;
|
|
305
306
|
20: string;
|
|
306
307
|
24: string;
|
|
308
|
+
26: string;
|
|
307
309
|
28: string;
|
|
308
310
|
30: string;
|
|
309
311
|
32: string;
|
|
@@ -465,6 +467,7 @@ export declare const Main: import("@stitches/react/types/styled-component").Styl
|
|
|
465
467
|
18: string;
|
|
466
468
|
20: string;
|
|
467
469
|
24: string;
|
|
470
|
+
26: string;
|
|
468
471
|
28: string;
|
|
469
472
|
30: string;
|
|
470
473
|
32: string;
|
|
@@ -626,6 +629,7 @@ export declare const Date: import("@stitches/react/types/styled-component").Styl
|
|
|
626
629
|
18: string;
|
|
627
630
|
20: string;
|
|
628
631
|
24: string;
|
|
632
|
+
26: string;
|
|
629
633
|
28: string;
|
|
630
634
|
30: string;
|
|
631
635
|
32: string;
|
|
@@ -787,6 +791,7 @@ export declare const LoadingMain: import("@stitches/react/types/styled-component
|
|
|
787
791
|
18: string;
|
|
788
792
|
20: string;
|
|
789
793
|
24: string;
|
|
794
|
+
26: string;
|
|
790
795
|
28: string;
|
|
791
796
|
30: string;
|
|
792
797
|
32: string;
|
|
@@ -948,6 +953,7 @@ export declare const LoadingContainer: import("@stitches/react/types/styled-comp
|
|
|
948
953
|
18: string;
|
|
949
954
|
20: string;
|
|
950
955
|
24: string;
|
|
956
|
+
26: string;
|
|
951
957
|
28: string;
|
|
952
958
|
30: string;
|
|
953
959
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapListItem.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/SwapListItem.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"SwapListItem.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/SwapListItem.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM3B,CAAC"}
|
|
@@ -143,6 +143,7 @@ export declare const TokenContainer: import("@stitches/react/types/styled-compon
|
|
|
143
143
|
18: string;
|
|
144
144
|
20: string;
|
|
145
145
|
24: string;
|
|
146
|
+
26: string;
|
|
146
147
|
28: string;
|
|
147
148
|
30: string;
|
|
148
149
|
32: string;
|
|
@@ -304,6 +305,7 @@ export declare const Images: import("@stitches/react/types/styled-component").St
|
|
|
304
305
|
18: string;
|
|
305
306
|
20: string;
|
|
306
307
|
24: string;
|
|
308
|
+
26: string;
|
|
307
309
|
28: string;
|
|
308
310
|
30: string;
|
|
309
311
|
32: string;
|
|
@@ -467,6 +469,7 @@ export declare const Layout: import("@stitches/react/types/styled-component").St
|
|
|
467
469
|
18: string;
|
|
468
470
|
20: string;
|
|
469
471
|
24: string;
|
|
472
|
+
26: string;
|
|
470
473
|
28: string;
|
|
471
474
|
30: string;
|
|
472
475
|
32: string;
|
|
@@ -628,6 +631,7 @@ export declare const TopSection: import("@stitches/react/types/styled-component"
|
|
|
628
631
|
18: string;
|
|
629
632
|
20: string;
|
|
630
633
|
24: string;
|
|
634
|
+
26: string;
|
|
631
635
|
28: string;
|
|
632
636
|
30: string;
|
|
633
637
|
32: string;
|
|
@@ -789,6 +793,7 @@ export declare const TokenInfo: import("@stitches/react/types/styled-component")
|
|
|
789
793
|
18: string;
|
|
790
794
|
20: string;
|
|
791
795
|
24: string;
|
|
796
|
+
26: string;
|
|
792
797
|
28: string;
|
|
793
798
|
30: string;
|
|
794
799
|
32: string;
|
|
@@ -950,6 +955,7 @@ export declare const Icon: import("@stitches/react/types/styled-component").Styl
|
|
|
950
955
|
18: string;
|
|
951
956
|
20: string;
|
|
952
957
|
24: string;
|
|
958
|
+
26: string;
|
|
953
959
|
28: string;
|
|
954
960
|
30: string;
|
|
955
961
|
32: string;
|
|
@@ -1111,6 +1117,7 @@ export declare const LayoutLoading: import("@stitches/react/types/styled-compone
|
|
|
1111
1117
|
18: string;
|
|
1112
1118
|
20: string;
|
|
1113
1119
|
24: string;
|
|
1120
|
+
26: string;
|
|
1114
1121
|
28: string;
|
|
1115
1122
|
30: string;
|
|
1116
1123
|
32: string;
|
|
@@ -1272,6 +1279,7 @@ export declare const IconLoading: import("@stitches/react/types/styled-component
|
|
|
1272
1279
|
18: string;
|
|
1273
1280
|
20: string;
|
|
1274
1281
|
24: string;
|
|
1282
|
+
26: string;
|
|
1275
1283
|
28: string;
|
|
1276
1284
|
30: string;
|
|
1277
1285
|
32: string;
|
|
@@ -1433,6 +1441,7 @@ export declare const LoadingContainer: import("@stitches/react/types/styled-comp
|
|
|
1433
1441
|
18: string;
|
|
1434
1442
|
20: string;
|
|
1435
1443
|
24: string;
|
|
1444
|
+
26: string;
|
|
1436
1445
|
28: string;
|
|
1437
1446
|
30: string;
|
|
1438
1447
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapToken.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/SwapToken.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"SwapToken.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SwapListItem/SwapToken.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIxB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMtB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK3B,CAAC"}
|
|
@@ -145,6 +145,7 @@ export declare const StyledSwitchRoot: import("@stitches/react/types/styled-comp
|
|
|
145
145
|
18: string;
|
|
146
146
|
20: string;
|
|
147
147
|
24: string;
|
|
148
|
+
26: string;
|
|
148
149
|
28: string;
|
|
149
150
|
30: string;
|
|
150
151
|
32: string;
|
|
@@ -306,6 +307,7 @@ export declare const StyledSwitchThumb: import("@stitches/react/types/styled-com
|
|
|
306
307
|
18: string;
|
|
307
308
|
20: string;
|
|
308
309
|
24: string;
|
|
310
|
+
26: string;
|
|
309
311
|
28: string;
|
|
310
312
|
30: string;
|
|
311
313
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Switch/Switch.styles.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA0B3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAsB5B,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const TextField: React.ForwardRefExoticComponent<{
|
|
|
7
7
|
variant?: "contained" | "outlined" | "ghost" | undefined;
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
9
|
labelProps?: import("../Typography").TypographyPropTypes | undefined;
|
|
10
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
10
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
13
13
|
export { TextField };
|
|
@@ -8,7 +8,7 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
8
8
|
variant?: "contained" | "outlined" | "ghost" | undefined;
|
|
9
9
|
fullWidth?: boolean | undefined;
|
|
10
10
|
labelProps?: import("..").TypographyPropTypes | undefined;
|
|
11
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
11
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
14
14
|
export default _default;
|
|
@@ -148,6 +148,7 @@ export declare const InputContainer: import("@stitches/react/types/styled-compon
|
|
|
148
148
|
18: string;
|
|
149
149
|
20: string;
|
|
150
150
|
24: string;
|
|
151
|
+
26: string;
|
|
151
152
|
28: string;
|
|
152
153
|
30: string;
|
|
153
154
|
32: string;
|
|
@@ -311,6 +312,7 @@ export declare const Input: import("@stitches/react/types/styled-component").Sty
|
|
|
311
312
|
18: string;
|
|
312
313
|
20: string;
|
|
313
314
|
24: string;
|
|
315
|
+
26: string;
|
|
314
316
|
28: string;
|
|
315
317
|
30: string;
|
|
316
318
|
32: string;
|
|
@@ -472,6 +474,7 @@ export declare const Label: import("@stitches/react/types/styled-component").Sty
|
|
|
472
474
|
18: string;
|
|
473
475
|
20: string;
|
|
474
476
|
24: string;
|
|
477
|
+
26: string;
|
|
475
478
|
28: string;
|
|
476
479
|
30: string;
|
|
477
480
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgFzB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAmChB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEhB,CAAC"}
|
|
@@ -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,
|
|
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,KAA8B,MAAM,OAAO,CAAC;AAmBnD,eAAO,MAAM,KAAK,UAAW,UAAU,sBAyFtC,CAAC"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export declare function idGenerator(): () => number;
|
|
2
|
+
export declare const TOAST_UNMOUNT_DELAY = 500;
|
|
3
|
+
export declare const TOAST_TRANSITION_DURATION = 300;
|
|
4
|
+
export declare const HOVER_TRANSITION_DURATION = 200;
|
|
5
|
+
export declare const TOAST_HIDE_DELAY = 200;
|
|
2
6
|
//# sourceMappingURL=Toast.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,iBAM1B"}
|
|
1
|
+
{"version":3,"file":"Toast.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,iBAM1B;AAED,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,eAAO,MAAM,gBAAgB,MAAM,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,6 +1,170 @@
|
|
|
1
1
|
import { Typography } from '../Typography';
|
|
2
|
+
export declare const toastContentStyles: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
|
|
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
|
+
26: string;
|
|
148
|
+
28: string;
|
|
149
|
+
30: string;
|
|
150
|
+
32: string;
|
|
151
|
+
36: string;
|
|
152
|
+
40: string;
|
|
153
|
+
45: string;
|
|
154
|
+
48: string;
|
|
155
|
+
};
|
|
156
|
+
borderWidths: {};
|
|
157
|
+
borderStyles: {};
|
|
158
|
+
shadows: {
|
|
159
|
+
s: string;
|
|
160
|
+
};
|
|
161
|
+
zIndices: {};
|
|
162
|
+
transitions: {};
|
|
163
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
2
164
|
export declare const ToastContentContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
3
|
-
|
|
165
|
+
isActive?: boolean | "true" | undefined;
|
|
166
|
+
isVisible?: boolean | "true" | undefined;
|
|
167
|
+
position?: "right-top" | "right-bottom" | "left-top" | "left-bottom" | "center-top" | "center-bottom" | undefined;
|
|
4
168
|
}, {
|
|
5
169
|
xs: string;
|
|
6
170
|
sm: string;
|
|
@@ -146,6 +310,7 @@ export declare const ToastContentContainer: import("@stitches/react/types/styled
|
|
|
146
310
|
18: string;
|
|
147
311
|
20: string;
|
|
148
312
|
24: string;
|
|
313
|
+
26: string;
|
|
149
314
|
28: string;
|
|
150
315
|
30: string;
|
|
151
316
|
32: string;
|
|
@@ -163,8 +328,7 @@ export declare const ToastContentContainer: import("@stitches/react/types/styled
|
|
|
163
328
|
transitions: {};
|
|
164
329
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
165
330
|
export declare const ToastContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
166
|
-
|
|
167
|
-
vertical?: "bottom" | "top" | undefined;
|
|
331
|
+
position?: "right-top" | "right-bottom" | "left-top" | "left-bottom" | "center-top" | "center-bottom" | undefined;
|
|
168
332
|
}, {
|
|
169
333
|
xs: string;
|
|
170
334
|
sm: string;
|
|
@@ -310,6 +474,7 @@ export declare const ToastContainer: import("@stitches/react/types/styled-compon
|
|
|
310
474
|
18: string;
|
|
311
475
|
20: string;
|
|
312
476
|
24: string;
|
|
477
|
+
26: string;
|
|
313
478
|
28: string;
|
|
314
479
|
30: string;
|
|
315
480
|
32: string;
|
|
@@ -327,7 +492,8 @@ export declare const ToastContainer: import("@stitches/react/types/styled-compon
|
|
|
327
492
|
transitions: {};
|
|
328
493
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
329
494
|
export declare const AlertBox: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
330
|
-
|
|
495
|
+
variant?: "custom" | "standard" | undefined;
|
|
496
|
+
type?: "info" | "success" | "warning" | "error" | "loading" | undefined;
|
|
331
497
|
}, {
|
|
332
498
|
xs: string;
|
|
333
499
|
sm: string;
|
|
@@ -473,6 +639,7 @@ export declare const AlertBox: import("@stitches/react/types/styled-component").
|
|
|
473
639
|
18: string;
|
|
474
640
|
20: string;
|
|
475
641
|
24: string;
|
|
642
|
+
26: string;
|
|
476
643
|
28: string;
|
|
477
644
|
30: string;
|
|
478
645
|
32: string;
|
|
@@ -634,6 +801,7 @@ export declare const AlertFlexContainer: import("@stitches/react/types/styled-co
|
|
|
634
801
|
18: string;
|
|
635
802
|
20: string;
|
|
636
803
|
24: string;
|
|
804
|
+
26: string;
|
|
637
805
|
28: string;
|
|
638
806
|
30: string;
|
|
639
807
|
32: string;
|
|
@@ -797,6 +965,7 @@ export declare const StyledTypography: import("@stitches/react/types/styled-comp
|
|
|
797
965
|
18: string;
|
|
798
966
|
20: string;
|
|
799
967
|
24: string;
|
|
968
|
+
26: string;
|
|
800
969
|
28: string;
|
|
801
970
|
30: string;
|
|
802
971
|
32: string;
|
|
@@ -958,6 +1127,7 @@ export declare const ToastStoryContainer: import("@stitches/react/types/styled-c
|
|
|
958
1127
|
18: string;
|
|
959
1128
|
20: string;
|
|
960
1129
|
24: string;
|
|
1130
|
+
26: string;
|
|
961
1131
|
28: string;
|
|
962
1132
|
30: string;
|
|
963
1133
|
32: 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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+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;
|
|
@@ -146,6 +146,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
146
146
|
18: string;
|
|
147
147
|
20: string;
|
|
148
148
|
24: string;
|
|
149
|
+
26: string;
|
|
149
150
|
28: string;
|
|
150
151
|
30: string;
|
|
151
152
|
32: string;
|
|
@@ -307,6 +308,7 @@ export declare const tokenAmountStyles: import("@stitches/react/types/styled-com
|
|
|
307
308
|
18: string;
|
|
308
309
|
20: string;
|
|
309
310
|
24: string;
|
|
311
|
+
26: string;
|
|
310
312
|
28: string;
|
|
311
313
|
30: string;
|
|
312
314
|
32: string;
|
|
@@ -468,6 +470,7 @@ export declare const usdValueStyles: import("@stitches/react/types/styled-compon
|
|
|
468
470
|
18: string;
|
|
469
471
|
20: string;
|
|
470
472
|
24: string;
|
|
473
|
+
26: string;
|
|
471
474
|
28: string;
|
|
472
475
|
30: string;
|
|
473
476
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"TokenAmount.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TokenAmount/TokenAmount.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAepB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGzB,CAAC"}
|
|
@@ -148,6 +148,7 @@ export declare const TooltipContent: import("@stitches/react/types/styled-compon
|
|
|
148
148
|
18: string;
|
|
149
149
|
20: string;
|
|
150
150
|
24: string;
|
|
151
|
+
26: string;
|
|
151
152
|
28: string;
|
|
152
153
|
30: string;
|
|
153
154
|
32: string;
|
|
@@ -309,6 +310,7 @@ export declare const TooltipTypography: import("@stitches/react/types/styled-com
|
|
|
309
310
|
18: string;
|
|
310
311
|
20: string;
|
|
311
312
|
24: string;
|
|
313
|
+
26: string;
|
|
312
314
|
28: string;
|
|
313
315
|
30: string;
|
|
314
316
|
32: string;
|
|
@@ -470,6 +472,7 @@ export declare const TriggerContent: import("@stitches/react/types/styled-compon
|
|
|
470
472
|
18: string;
|
|
471
473
|
20: string;
|
|
472
474
|
24: string;
|
|
475
|
+
26: string;
|
|
473
476
|
28: string;
|
|
474
477
|
30: string;
|
|
475
478
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DASzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIzB,CAAC"}
|