@gearbox-protocol/permissionless-ui 1.22.0-next.35 → 1.22.0-next.37
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/cjs/components/vertical-list/vertical-list.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/locale/en.json.cjs +1 -0
- package/dist/cjs/locale/index.cjs +1 -0
- package/dist/esm/components/vertical-list/vertical-list.js +19 -19
- package/dist/esm/index.js +133 -131
- package/dist/esm/locale/en.json.js +54 -0
- package/dist/esm/locale/index.js +4 -0
- package/dist/globals.css +1 -1
- package/dist/types/components/compound-apy/compound-apy.d.ts +1 -1
- package/dist/types/components/typed-intl/index.d.ts +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/locale/en.json.d.ts +68 -0
- package/dist/types/locale/index.d.ts +10 -0
- package/package.json +3 -3
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"errors.networkError": "Network error. Can't fetch data",
|
|
3
|
+
"errors.incorrectAddressError": "Incorrect address. Please, check url",
|
|
4
|
+
"errors.noOpenedAccountsError": "You have no opened Credit Accounts. Perhaps, you have recently been liquidated? Check notification centre to see more.",
|
|
5
|
+
"errors.notFound": "Not found",
|
|
6
|
+
"errors.tooManyRequests": "Too many requests",
|
|
7
|
+
"errors.incorrectAddress": "Incorrect address",
|
|
8
|
+
"components.errorMessage.oops": "Oops...",
|
|
9
|
+
|
|
10
|
+
"components.alertModal.ok": "Ok",
|
|
11
|
+
|
|
12
|
+
"components.footer.privacy": "Privacy Notice",
|
|
13
|
+
"components.footer.terms": "Terms of Service",
|
|
14
|
+
"components.footer.disclosure": "Risk Disclosure Statement",
|
|
15
|
+
"components.footer.legalNotice": "Legal Notice",
|
|
16
|
+
"components.footer.legal": "Legal Info",
|
|
17
|
+
"components.footer.gearbox": "Copyright © Gearbox Foundation 2023-2026.",
|
|
18
|
+
"components.footer.built": "Built at ETHGlobal MarketMake hackathon.",
|
|
19
|
+
"components.footer.version": "Version {value}",
|
|
20
|
+
|
|
21
|
+
"components.liquidationPrice.check": "Check Area",
|
|
22
|
+
|
|
23
|
+
"components.loading.loading": "Loading",
|
|
24
|
+
"components.loading.wait": "Please wait...",
|
|
25
|
+
|
|
26
|
+
"components.smartNumberInput.balance": "Balance",
|
|
27
|
+
"components.smartNumberInput.inputTitle": "Token Amount",
|
|
28
|
+
"components.smartNumberInput.confirm.input": "Input",
|
|
29
|
+
|
|
30
|
+
"components.tipWindow.title": "Tip",
|
|
31
|
+
|
|
32
|
+
"components.healthFactor.low": "Extremely low! This HF may not cover possible oracle deviations.",
|
|
33
|
+
|
|
34
|
+
"components.headCell": "Sort by {value}",
|
|
35
|
+
|
|
36
|
+
"components.graphView.noData": "Can't get data for this graph",
|
|
37
|
+
|
|
38
|
+
"components.filterBlock.reset": "Reset All",
|
|
39
|
+
|
|
40
|
+
"components.APY.tip": "These APYs are derived from the underlying protocols’ APIs and may differ in reality. Check respective protocols for their methodology.",
|
|
41
|
+
|
|
42
|
+
"components.creditSessionDetailedLiquidation.graph.legend.point": "Current price",
|
|
43
|
+
"components.creditSessionDetailedLiquidation.graph.legend.area": "Liquidation Area",
|
|
44
|
+
"components.creditSessionDetailedLiquidation.graph.tip.hf": "Health Factor",
|
|
45
|
+
"components.creditSessionDetailedLiquidation.graph.tip.price": "Price",
|
|
46
|
+
"components.creditSessionDetailedLiquidation.table.seeGraph": "See graph",
|
|
47
|
+
"components.creditSessionDetailedLiquidation.table.asset": "Asset",
|
|
48
|
+
"components.creditSessionDetailedLiquidation.table.currentPrice": "Current price",
|
|
49
|
+
"components.creditSessionDetailedLiquidation.table.modelPrice": "Model price",
|
|
50
|
+
|
|
51
|
+
"components.apyParts.features.points": "Points",
|
|
52
|
+
"components.apyParts.features.incent": "Incent.",
|
|
53
|
+
"components.apyParts.supplyAPY": "Organic APY",
|
|
54
|
+
"components.apyParts.title": "APY type",
|
|
55
|
+
"components.apyParts.supplyAPY.tip": "Yield from lending funds",
|
|
56
|
+
"components.apyParts.tokenYield": "Intrinsic APY",
|
|
57
|
+
"components.apyParts.tokenYield.tip": "Yield from holding wstETH",
|
|
58
|
+
"components.apyParts.extraAPY": "{symbol} Incentive",
|
|
59
|
+
"components.apyParts.extraAPY.tip": "Calculated at the current rate",
|
|
60
|
+
"components.apyParts.totalAPY": "Overall APY",
|
|
61
|
+
"components.apyParts.points": "{symbol} Incentive",
|
|
62
|
+
"components.apyParts.points.condition.crossDeposit": "For cross-chain deposits made via Omni",
|
|
63
|
+
|
|
64
|
+
"components.openCopyButtons.copy": "Copy to clipboard"
|
|
65
|
+
}
|
|
66
|
+
;
|
|
67
|
+
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as en } from './en.json';
|
|
2
|
+
type LocaleType = typeof en;
|
|
3
|
+
export interface LocaleRegistry {
|
|
4
|
+
base: LocaleType;
|
|
5
|
+
}
|
|
6
|
+
type RegistryKeys<T> = {
|
|
7
|
+
[K in keyof T]: keyof T[K];
|
|
8
|
+
}[keyof T];
|
|
9
|
+
export default en;
|
|
10
|
+
export type LocaleKeys = RegistryKeys<LocaleRegistry>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/permissionless-ui",
|
|
3
|
-
"version": "1.22.0-next.
|
|
3
|
+
"version": "1.22.0-next.37",
|
|
4
4
|
"description": "Internal UI components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
79
79
|
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
80
80
|
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
81
|
-
"@gearbox-protocol/static": "^1.
|
|
81
|
+
"@gearbox-protocol/static": "^1.117.2",
|
|
82
82
|
"lightweight-charts": "^4.1.3",
|
|
83
83
|
"luxon": "^3.5.0",
|
|
84
84
|
"react-infinite-scroll-component": "^6.1.0",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@commitlint/cli": "^20.1.0",
|
|
131
131
|
"@commitlint/config-conventional": "^20.0.0",
|
|
132
132
|
"@gearbox-protocol/biome-config": "^1.0.2",
|
|
133
|
-
"@gearbox-protocol/sdk": "
|
|
133
|
+
"@gearbox-protocol/sdk": "12.6.6",
|
|
134
134
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
135
135
|
"@storybook/addon-a11y": "^10.0.8",
|
|
136
136
|
"@storybook/addon-docs": "^10.0.8",
|