@rango-dev/widget-embedded 0.28.2 → 0.28.3-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/components/BlockchainList/BlockchainList.helpers.d.ts +1 -2
- package/dist/components/BlockchainList/BlockchainList.helpers.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.d.ts.map +1 -1
- package/dist/components/HeaderButtons/NotificationsBadge.d.ts +3 -0
- package/dist/components/HeaderButtons/NotificationsBadge.d.ts.map +1 -0
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts +769 -0
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/constants/fonts.d.ts +5 -0
- package/dist/constants/fonts.d.ts.map +1 -1
- package/dist/containers/WidgetProvider/WidgetProvider.d.ts.map +1 -1
- package/dist/globalStyles.d.ts.map +1 -1
- package/dist/hooks/useBootstrap/useBootstrap.d.ts.map +1 -1
- package/dist/hooks/useFontLoader.d.ts +5 -0
- package/dist/hooks/useFontLoader.d.ts.map +1 -0
- package/dist/hooks/useSyncNotifications/index.d.ts +2 -0
- package/dist/hooks/useSyncNotifications/index.d.ts.map +1 -0
- package/dist/hooks/useSyncNotifications/useSyncNotifications.d.ts +2 -0
- package/dist/hooks/useSyncNotifications/useSyncNotifications.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/store/notification.d.ts +27 -7
- package/dist/store/notification.d.ts.map +1 -1
- package/dist/types/config.d.ts +5 -1
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/notification.d.ts +0 -1
- package/dist/types/notification.d.ts.map +1 -1
- package/dist/utils/common.d.ts +3 -0
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +0 -1
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +2 -0
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +2 -0
- package/dist/utils/wallets.d.ts.map +1 -1
- package/dist/widget-embedded.build.json +1 -0
- package/package.json +9 -8
- package/src/components/BlockchainList/BlockchainList.helpers.ts +6 -25
- package/src/components/ConfirmWalletsModal/ConfirmWallets.styles.ts +4 -4
- package/src/components/HeaderButtons/HeaderButtons.styles.ts +1 -1
- package/src/components/HeaderButtons/HeaderButtons.tsx +3 -2
- package/src/components/HeaderButtons/{UnreadNotificationsBadge.tsx → NotificationsBadge.tsx} +3 -3
- package/src/components/NotificationContent/NotificationContent.styles.ts +17 -2
- package/src/components/NotificationContent/NotificationContent.tsx +28 -3
- package/src/components/Quote/Quote.styles.ts +1 -1
- package/src/components/Slippage/Slippage.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.tsx +5 -6
- package/src/constants/fonts.ts +84 -0
- package/src/containers/WidgetInfo/WidgetInfo.tsx +1 -1
- package/src/containers/WidgetProvider/WidgetProvider.tsx +20 -2
- package/src/globalStyles.ts +1 -3
- package/src/hooks/useBootstrap/useBootstrap.ts +3 -1
- package/src/hooks/useFontLoader.ts +40 -0
- package/src/hooks/useSyncNotifications/index.ts +1 -0
- package/src/hooks/useSyncNotifications/useSyncNotifications.ts +25 -0
- package/src/hooks/useTheme.ts +1 -1
- package/src/index.ts +2 -0
- package/src/pages/SelectBlockchainPage.tsx +3 -3
- package/src/pages/WalletsPage.tsx +34 -2
- package/src/store/notification.ts +62 -17
- package/src/types/config.ts +6 -1
- package/src/types/notification.ts +0 -1
- package/src/utils/common.ts +29 -0
- package/src/utils/configs.ts +0 -1
- package/src/utils/swap.ts +12 -0
- package/src/utils/wallets.ts +53 -2
- package/dist/components/HeaderButtons/UnreadNotificationsBadge.d.ts +0 -3
- package/dist/components/HeaderButtons/UnreadNotificationsBadge.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [0.28.2](https://github.com/rango-exchange/rango-client/compare/widget-embedded@0.28.1...widget-embedded@0.28.2) (2024-05-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
## [0.28.1](https://github.com/rango-exchange/rango-client/compare/widget-embedded@0.28.0...widget-embedded@0.28.1) (2024-05-25)
|
|
2
6
|
|
|
3
7
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type BlockchainMeta } from 'rango-sdk';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const filterBlockchains: (list: BlockchainMeta[], searchedFor: string, blockchainType: string) => BlockchainMeta[];
|
|
2
|
+
export declare const filterBlockchains: (list: BlockchainMeta[], searchedFor: string, blockchainCategory: string) => BlockchainMeta[];
|
|
4
3
|
//# sourceMappingURL=BlockchainList.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainList/BlockchainList.helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BlockchainList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/BlockchainList/BlockchainList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,iBAAiB,SACtB,cAAc,EAAE,eACT,MAAM,sBACC,MAAM,qBAUvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderButtons/HeaderButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAUpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,wBAAgB,aAAa,CAAC,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderButtons/HeaderButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAUpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,wBAAgB,aAAa,CAAC,KAAK,EAAE,sBAAsB,qBAwE1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsBadge.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderButtons/NotificationsBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,kBAAkB,6BAmBjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationContent.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationContent.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,wBAAgB,mBAAmB,sBA8GlC"}
|