@lifi/widget 2.5.1 → 2.6.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/AppDrawer.style.d.ts +1 -1
- package/cjs/AppDrawer.style.d.ts +1 -1
- package/cjs/components/BaseTransactionButton/BaseTransactionButton.d.ts +3 -0
- package/cjs/components/{DefaultTransactionButton/DefaultTransactionButton.js → BaseTransactionButton/BaseTransactionButton.js} +3 -3
- package/cjs/components/BaseTransactionButton/index.d.ts +2 -0
- package/cjs/components/{DefaultTransactionButton → BaseTransactionButton}/index.js +3 -3
- package/cjs/components/{DefaultTransactionButton → BaseTransactionButton}/types.d.ts +1 -1
- package/cjs/components/Card/CardLabel.d.ts +1 -1
- package/cjs/components/Card/CardTitle.d.ts +1 -1
- package/cjs/components/RouteCard/RouteCard.style.d.ts +1 -1
- package/cjs/components/Step/CircularProgress.style.js +33 -31
- package/cjs/components/Token/Token.style.d.ts +1 -1
- package/cjs/config/theme.js +9 -9
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/hooks/useNavigateBack.js +2 -0
- package/cjs/i18n/de.json +2 -1
- package/cjs/i18n/fr.json +2 -1
- package/cjs/i18n/zh.json +2 -1
- package/cjs/pages/MainPage/ReviewButton.js +2 -2
- package/cjs/pages/TransactionPage/StartTransactionButton.js +2 -2
- package/cjs/pages/TransactionPage/TransactionPage.js +7 -0
- package/cjs/pages/TransactionPage/types.d.ts +2 -2
- package/cjs/types/events.d.ts +3 -1
- package/cjs/types/events.js +1 -0
- package/components/BaseTransactionButton/BaseTransactionButton.d.ts +3 -0
- package/components/{DefaultTransactionButton/DefaultTransactionButton.js → BaseTransactionButton/BaseTransactionButton.js} +1 -1
- package/components/BaseTransactionButton/index.d.ts +2 -0
- package/components/BaseTransactionButton/index.js +2 -0
- package/components/{DefaultTransactionButton → BaseTransactionButton}/types.d.ts +1 -1
- package/components/Card/CardLabel.d.ts +1 -1
- package/components/Card/CardTitle.d.ts +1 -1
- package/components/RouteCard/RouteCard.style.d.ts +1 -1
- package/components/Step/CircularProgress.style.js +33 -31
- package/components/Token/Token.style.d.ts +1 -1
- package/config/theme.js +10 -10
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/useNavigateBack.js +2 -0
- package/i18n/de.json +2 -1
- package/i18n/fr.json +2 -1
- package/i18n/zh.json +2 -1
- package/package.json +9 -9
- package/pages/MainPage/ReviewButton.js +2 -2
- package/pages/TransactionPage/StartTransactionButton.js +2 -2
- package/pages/TransactionPage/TransactionPage.js +7 -0
- package/pages/TransactionPage/types.d.ts +2 -2
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/types/events.d.ts +3 -1
- package/types/events.js +1 -0
- package/cjs/components/DefaultTransactionButton/DefaultTransactionButton.d.ts +0 -3
- package/cjs/components/DefaultTransactionButton/index.d.ts +0 -2
- package/components/DefaultTransactionButton/DefaultTransactionButton.d.ts +0 -3
- package/components/DefaultTransactionButton/index.d.ts +0 -2
- package/components/DefaultTransactionButton/index.js +0 -2
- /package/cjs/components/{DefaultTransactionButton → BaseTransactionButton}/types.js +0 -0
- /package/components/{DefaultTransactionButton → BaseTransactionButton}/types.js +0 -0
package/types/events.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ export declare enum WidgetEvent {
|
|
|
8
8
|
RouteContactSupport = "routeContactSupport",
|
|
9
9
|
SourceChainTokenSelected = "sourceChainTokenSelected",
|
|
10
10
|
DestinationChainTokenSelected = "destinationChainTokenSelected",
|
|
11
|
-
SendToWalletToggled = "sendToWalletToggled"
|
|
11
|
+
SendToWalletToggled = "sendToWalletToggled",
|
|
12
|
+
ReviewTransactionPageEntered = "reviewTransactionPageEntered"
|
|
12
13
|
}
|
|
13
14
|
export type WidgetEvents = {
|
|
14
15
|
routeExecutionStarted: Route;
|
|
@@ -20,6 +21,7 @@ export type WidgetEvents = {
|
|
|
20
21
|
sourceChainTokenSelected: ChainTokenSelected;
|
|
21
22
|
destinationChainTokenSelected: ChainTokenSelected;
|
|
22
23
|
sendToWalletToggled: boolean;
|
|
24
|
+
reviewTransactionPageEntered?: Route;
|
|
23
25
|
};
|
|
24
26
|
export interface RouteContactSupport {
|
|
25
27
|
supportId?: string;
|
package/types/events.js
CHANGED
|
@@ -9,4 +9,5 @@ export var WidgetEvent;
|
|
|
9
9
|
WidgetEvent["SourceChainTokenSelected"] = "sourceChainTokenSelected";
|
|
10
10
|
WidgetEvent["DestinationChainTokenSelected"] = "destinationChainTokenSelected";
|
|
11
11
|
WidgetEvent["SendToWalletToggled"] = "sendToWalletToggled";
|
|
12
|
+
WidgetEvent["ReviewTransactionPageEntered"] = "reviewTransactionPageEntered";
|
|
12
13
|
})(WidgetEvent || (WidgetEvent = {}));
|
|
File without changes
|
|
File without changes
|