@gearbox-protocol/ui-kit 4.0.0-next.64 → 4.0.0-next.65
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/base/leverage-input/leverage-input.cjs +1 -1
- package/dist/cjs/components/base/leverage-preset-chips/leverage-preset-chips.cjs +1 -1
- package/dist/cjs/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/locale/en.json.cjs +1 -1
- package/dist/cjs/utils/format-leverage.cjs +1 -1
- package/dist/cjs/utils/index.cjs +1 -1
- package/dist/cjs/utils/leverage-presets.cjs +1 -1
- package/dist/esm/components/base/leverage-input/leverage-input.js +31 -31
- package/dist/esm/components/base/leverage-preset-chips/leverage-preset-chips.js +6 -6
- package/dist/esm/components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.js +30 -30
- package/dist/esm/index.js +189 -188
- package/dist/esm/locale/en.json.js +1 -1
- package/dist/esm/utils/format-leverage.js +8 -3
- package/dist/esm/utils/index.js +18 -17
- package/dist/esm/utils/leverage-presets.js +4 -6
- package/dist/types/components/base/leverage-input/leverage-input.d.ts +2 -2
- package/dist/types/locale/en.json.d.ts +1 -1
- package/dist/types/utils/format-leverage.d.ts +9 -1
- package/dist/types/utils/leverage-presets.d.ts +3 -1
- package/package.json +1 -1
- package/dist/cjs/components/base/leverage-preset-chips/format-chip-leverage.cjs +0 -1
- package/dist/esm/components/base/leverage-preset-chips/format-chip-leverage.js +0 -6
- package/dist/types/components/base/leverage-preset-chips/format-chip-leverage.d.ts +0 -5
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AmountInput as r } from "./components/base/amount-input/amount-input.js";
|
|
2
|
-
import { BorrowRateBlock as
|
|
2
|
+
import { BorrowRateBlock as a } from "./components/base/borrow-rate-block/borrow-rate-block.js";
|
|
3
3
|
import { BorrowRateBlockTest as m } from "./components/base/borrow-rate-block/constants.js";
|
|
4
4
|
import { ChartWithSideCard as n } from "./components/base/chart-with-side-card/chart-with-side-card.js";
|
|
5
5
|
import { ChartWithSideCardTest as x } from "./components/base/chart-with-side-card/constants.js";
|
|
@@ -12,7 +12,7 @@ import { HistoryChart as b } from "./components/base/history-chart/history-chart
|
|
|
12
12
|
import { InfoLine as k, InfoList as I, PointsInfoLine as M } from "./components/base/info-list/info-list.js";
|
|
13
13
|
import { LeverageInput as w } from "./components/base/leverage-input/leverage-input.js";
|
|
14
14
|
import { LeveragePresetChipsTest as F } from "./components/base/leverage-preset-chips/constants.js";
|
|
15
|
-
import { LeveragePresetChips as
|
|
15
|
+
import { LeveragePresetChips as v } from "./components/base/leverage-preset-chips/leverage-preset-chips.js";
|
|
16
16
|
import { LiquidationParamsTableTest as R } from "./components/base/liquidation-params-table/constants.js";
|
|
17
17
|
import { LiquidationParamsTable as N } from "./components/base/liquidation-params-table/liquidation-params-table.js";
|
|
18
18
|
import { LiquidationPriceBlockTest as q } from "./components/base/liquidation-price-block/constants.js";
|
|
@@ -22,7 +22,7 @@ import { MoreAccordionTest as j } from "./components/base/more-accordion/constan
|
|
|
22
22
|
import { MoreAccordion as K } from "./components/base/more-accordion/more-accordion.js";
|
|
23
23
|
import { NestedInfoStackTest as oo } from "./components/base/nested-info-stack/constants.js";
|
|
24
24
|
import { NestedInfoStack as ro } from "./components/base/nested-info-stack/nested-info-stack.js";
|
|
25
|
-
import { PageHeadProvider as
|
|
25
|
+
import { PageHeadProvider as ao, PageTitle as po } from "./components/base/page-title/page-title.js";
|
|
26
26
|
import { PoolApyBreakdownCardTest as io } from "./components/base/pool-apy-breakdown-card/constants.js";
|
|
27
27
|
import { PoolApyBreakdownCard as fo } from "./components/base/pool-apy-breakdown-card/pool-apy-breakdown-card.js";
|
|
28
28
|
import { PositionAssetsTest as lo } from "./components/base/position-assets/constants.js";
|
|
@@ -35,7 +35,7 @@ import { StatBadge as bo, StatBadgeGrid as Lo } from "./components/base/stat-bad
|
|
|
35
35
|
import { StrategyApyBreakdownCardTest as Io } from "./components/base/strategy-apy-breakdown-card/constants.js";
|
|
36
36
|
import { StrategyApyBreakdownCard as ho } from "./components/base/strategy-apy-breakdown-card/strategy-apy-breakdown-card.js";
|
|
37
37
|
import { Tabber as yo, TabberSection as Fo } from "./components/base/tabber/tabber.js";
|
|
38
|
-
import { useTitleText as
|
|
38
|
+
import { useTitleText as vo } from "./components/base/text/use-title-text.js";
|
|
39
39
|
import { TimeToLiquidationBlockTest as Ro } from "./components/base/time-to-liquidation-block/constants.js";
|
|
40
40
|
import { TimeToLiquidationBlock as No } from "./components/base/time-to-liquidation-block/time-to-liquidation-block.js";
|
|
41
41
|
import { TitleMetaTest as qo } from "./components/base/title-meta/constants.js";
|
|
@@ -47,14 +47,14 @@ import { NoValue as jo } from "./components/no-value/no-value.js";
|
|
|
47
47
|
import { PositionShortLabelTest as Ko, ValueTest as $o } from "./components/base/values/constants.js";
|
|
48
48
|
import { PnlValue as ee } from "./components/base/values/pnl-value.js";
|
|
49
49
|
import { PositionShortLabel as te } from "./components/base/values/position-short-label.js";
|
|
50
|
-
import { PositionStatusBadge as
|
|
50
|
+
import { PositionStatusBadge as pe } from "./components/base/values/position-status-badge.js";
|
|
51
51
|
import { PositionTypeBadge as ie } from "./components/base/values/position-type-badge.js";
|
|
52
52
|
import { PriceImpactValue as fe } from "./components/base/values/price-impact-value.js";
|
|
53
53
|
import { ApyValue as le, HealthFactorValue as se, LeverageValue as Te, TokenBigint as de, UsdValue as ge, UtilizationValue as ue } from "./components/base/values/scalars.js";
|
|
54
54
|
import { AlertBadge as Se } from "./components/alert-badge/alert-badge.js";
|
|
55
55
|
import { AlertDialog as Be, AlertDialogAction as Pe, AlertDialogCancel as De, AlertDialogContent as Ae, AlertDialogDescription as be, AlertDialogFooter as Le, AlertDialogHeader as ke, AlertDialogTitle as Ie, AlertDialogTrigger as Me } from "./components/alert-dialog/alert-dialog.js";
|
|
56
56
|
import { AlertModal as we } from "./components/alert-modal/alert-modal.js";
|
|
57
|
-
import { AppBarDotsButton as Fe, AppBarDropdownMenu as He, AppBarHamburgerButton as
|
|
57
|
+
import { AppBarDotsButton as Fe, AppBarDropdownMenu as He, AppBarHamburgerButton as ve, AppBarMenuItem as Ve, AppBarNavItem as Re } from "./components/app-bar/app-bar.js";
|
|
58
58
|
import { AssetsListCell as Ne } from "./components/assets-list-cell/assets-list-cell.js";
|
|
59
59
|
import { Badge as qe } from "./components/badge/badge.js";
|
|
60
60
|
import { Chip as Oe, ChipTest as Ue, Chips as _e, ChipsTest as Xe } from "./components/badge/chip.js";
|
|
@@ -64,7 +64,7 @@ import { BaseTableLine as Je } from "./components/base-table/base-table-line.js"
|
|
|
64
64
|
import { BreadCrumbs as $e } from "./components/breadcrumbs/breadcrumbs.js";
|
|
65
65
|
import { BreakpointProvider as er } from "./components/breakpoints/breakpoint-provider.js";
|
|
66
66
|
import { BackButton as tr } from "./components/buttons/back-button/back-button.js";
|
|
67
|
-
import { Button as
|
|
67
|
+
import { Button as pr } from "./components/buttons/button/button.js";
|
|
68
68
|
import { CopyButton as ir } from "./components/buttons/copy-button/copy-button.js";
|
|
69
69
|
import { ExternalButton as fr } from "./components/buttons/external-button/external-button.js";
|
|
70
70
|
import { TabButton as lr } from "./components/buttons/tab-button/tab-button.js";
|
|
@@ -76,7 +76,7 @@ import { CheckboxLabeled as Lr } from "./components/checkbox/checkbox-labeled.js
|
|
|
76
76
|
import { StyledButton as Ir } from "./components/client-adapters/styled-button/styled-button.js";
|
|
77
77
|
import { StyledDialogContainer as hr } from "./components/client-adapters/styled-dialog-container/styled-dialog-container.js";
|
|
78
78
|
import { AllocationWheelTest as yr, CollateralAllocationTooltipTest as Fr } from "./components/collateral-allocation-tooltip/constants.js";
|
|
79
|
-
import { NotificationCenter as
|
|
79
|
+
import { NotificationCenter as vr } from "./components/composites/notification-center/notification-center.js";
|
|
80
80
|
import { PoolAssetsTableTest as Rr } from "./components/composites/pool-assets-table/constants.js";
|
|
81
81
|
import { PoolAssetsTable as Nr } from "./components/composites/pool-assets-table/pool-assets-table.js";
|
|
82
82
|
import { TransactionConfirmAmountFieldTest as qr } from "./components/composites/tx-preview/confirm/amounts/constants.js";
|
|
@@ -87,7 +87,7 @@ import { TransactionConfirmExecuteButton as zr } from "./components/composites/t
|
|
|
87
87
|
import { TransactionConfirmExecuteButtonTest as jr, TransactionConfirmFailureResultTest as Jr, TransactionConfirmSuccessResultTest as Kr, TransactionConfirmTxHashRowTest as $r } from "./components/composites/tx-preview/confirm/result/constants.js";
|
|
88
88
|
import { TransactionConfirmFailureResult as et } from "./components/composites/tx-preview/confirm/result/TransactionConfirmFailureResult.js";
|
|
89
89
|
import { TransactionConfirmSuccessResult as tt } from "./components/composites/tx-preview/confirm/result/TransactionConfirmSuccessResult.js";
|
|
90
|
-
import { TransactionConfirmTxHashRow as
|
|
90
|
+
import { TransactionConfirmTxHashRow as pt } from "./components/composites/tx-preview/confirm/result/TransactionConfirmTxHashRow.js";
|
|
91
91
|
import { ProgressStepperTest as it } from "./components/composites/tx-preview/confirm/stepper/constants.js";
|
|
92
92
|
import { ProgressStepper as ft } from "./components/composites/tx-preview/confirm/stepper/ProgressStepper.js";
|
|
93
93
|
import { CompoundAPY as lt } from "./components/compound-apy/compound-apy.js";
|
|
@@ -101,7 +101,7 @@ import { DialogDescription as kt } from "./components/dialog/dialog-description.
|
|
|
101
101
|
import { DialogFooter as Mt } from "./components/dialog/dialog-footer.js";
|
|
102
102
|
import { DialogForm as wt } from "./components/dialog/dialog-form.js";
|
|
103
103
|
import { DialogHeader as Ft } from "./components/dialog/dialog-header.js";
|
|
104
|
-
import { DialogModalContainer as
|
|
104
|
+
import { DialogModalContainer as vt } from "./components/dialog/dialog-modal-container.js";
|
|
105
105
|
import { DialogTitle as Rt } from "./components/dialog/dialog-title.js";
|
|
106
106
|
import { OneFieldDialog as Nt } from "./components/dialog/one-field-dialog.js";
|
|
107
107
|
import { DisabledWrap as qt } from "./components/disabled-wrap/disabled-wrap.js";
|
|
@@ -110,58 +110,58 @@ import { DropdownMenuContent as Yt } from "./components/dropdown-menu/dropdown-m
|
|
|
110
110
|
import { DropdownMenuItem as zt } from "./components/dropdown-menu/dropdown-menu-item.js";
|
|
111
111
|
import { DropdownMenuLabel as jt } from "./components/dropdown-menu/dropdown-menu-label.js";
|
|
112
112
|
import { EditInput as Kt } from "./components/edit-input/edit-input.js";
|
|
113
|
-
import { ErrorLineMessage as
|
|
114
|
-
import { FadeoutLoading as
|
|
115
|
-
import { FormattedNumberString as
|
|
116
|
-
import { DEFAULT_SERIES_COLORS as
|
|
117
|
-
import { Guard as
|
|
118
|
-
import { HeadCell as
|
|
119
|
-
import { HealthFactor as
|
|
120
|
-
import { HelpTip as
|
|
121
|
-
import { HFIndicator as
|
|
122
|
-
import { IconButton as
|
|
123
|
-
import { FaIcon as
|
|
124
|
-
import { InfiniteScrollWrapper as
|
|
125
|
-
import { Input as
|
|
126
|
-
import { Label as
|
|
127
|
-
import { AppFooter as
|
|
128
|
-
import { AppHeader as
|
|
129
|
-
import { Col as
|
|
130
|
-
import { Container as
|
|
131
|
-
import { Grid as
|
|
132
|
-
import { Layout as
|
|
133
|
-
import { BlockedRegionDialog as
|
|
134
|
-
import { LegalAgreementLink as
|
|
135
|
-
import { Link as
|
|
136
|
-
import { Loader as
|
|
137
|
-
import { Loading as
|
|
138
|
-
import { MarkdownText as
|
|
139
|
-
import { NameCell as $
|
|
140
|
-
import { NavBarLogo as
|
|
141
|
-
import { NavigationProvider as
|
|
142
|
-
import { NetworkIcon as
|
|
143
|
-
import { PointsIcon as
|
|
144
|
-
import { PoolPointsIndicator as
|
|
145
|
-
import { RadioGroup as
|
|
146
|
-
import { RWAFeature as
|
|
147
|
-
import { SdkStatusPillTest as
|
|
148
|
-
import { SdkStatusPill as
|
|
149
|
-
import { SearchLine as
|
|
150
|
-
import { SegmentedControl as
|
|
151
|
-
import { Select as
|
|
152
|
-
import { SeparateLine as
|
|
153
|
-
import { ShortString as
|
|
154
|
-
import { SimpleDropdown as
|
|
155
|
-
import { SimpleDropdownMenuItem as
|
|
156
|
-
import { Skeleton as
|
|
157
|
-
import { SkeletonStack as
|
|
158
|
-
import { SliderTest as
|
|
159
|
-
import { Spinner as
|
|
160
|
-
import { SpinnerLoader as
|
|
161
|
-
import { SplitList as
|
|
162
|
-
import { TabControl as
|
|
163
|
-
import { GridErrorLine as
|
|
164
|
-
import { Table as om, TableBody as em, TableCell as rm, TableHead as tm, TableHeader as
|
|
113
|
+
import { ErrorLineMessage as oa } from "./components/error-message/error-line-message.js";
|
|
114
|
+
import { FadeoutLoading as ra } from "./components/fadeout-loading/fadeout-loading.js";
|
|
115
|
+
import { FormattedNumberString as aa } from "./components/formatted-number/formatted-number.js";
|
|
116
|
+
import { DEFAULT_SERIES_COLORS as ma } from "./components/graph/graph-vocabulary.js";
|
|
117
|
+
import { Guard as na } from "./components/guard/guard.js";
|
|
118
|
+
import { HeadCell as xa } from "./components/head-cell/head-cell.js";
|
|
119
|
+
import { HealthFactor as sa } from "./components/health-factor/health-factor.js";
|
|
120
|
+
import { HelpTip as da } from "./components/help-tip/help-tip.js";
|
|
121
|
+
import { HFIndicator as ua } from "./components/hf-indicator/hf-indicator.js";
|
|
122
|
+
import { IconButton as Sa } from "./components/icon-button/icon-button.js";
|
|
123
|
+
import { FaIcon as Ba } from "./components/icons/fa-icon.js";
|
|
124
|
+
import { InfiniteScrollWrapper as Da } from "./components/infinite-scroll/infinite-scroll-wrapper.js";
|
|
125
|
+
import { Input as ba } from "./components/input/input.js";
|
|
126
|
+
import { Label as ka } from "./components/label/label.js";
|
|
127
|
+
import { AppFooter as Ma } from "./components/layout/app-footer/app-footer.js";
|
|
128
|
+
import { AppHeader as wa } from "./components/layout/app-header/app-header.js";
|
|
129
|
+
import { Col as Fa } from "./components/layout/col/col.js";
|
|
130
|
+
import { Container as va } from "./components/layout/container/container.js";
|
|
131
|
+
import { Grid as Ra } from "./components/layout/grid/grid.js";
|
|
132
|
+
import { Layout as Na } from "./components/layout/layout/layout.js";
|
|
133
|
+
import { BlockedRegionDialog as qa, LegalAgreementDialog as Ga } from "./components/legal-agreement/legal-agreement-dialog.js";
|
|
134
|
+
import { LegalAgreementLink as Ua } from "./components/legal-agreement/legal-agreement-link.js";
|
|
135
|
+
import { Link as Xa } from "./components/link/link.js";
|
|
136
|
+
import { Loader as Za } from "./components/loader/loader.js";
|
|
137
|
+
import { Loading as Qa } from "./components/loading/loading.js";
|
|
138
|
+
import { MarkdownText as Ja } from "./components/markdown-text/markdown-text.js";
|
|
139
|
+
import { NameCell as $a } from "./components/name-cell/name-cell.js";
|
|
140
|
+
import { NavBarLogo as ep } from "./components/navbar-logo/navbar-logo.js";
|
|
141
|
+
import { NavigationProvider as tp } from "./components/navigation-context/navigation-provider.js";
|
|
142
|
+
import { NetworkIcon as pp } from "./components/network-icon/network-icon.js";
|
|
143
|
+
import { PointsIcon as ip } from "./components/points-icon/points-icon.js";
|
|
144
|
+
import { PoolPointsIndicator as fp } from "./components/pool-points-indicator/pool-points-indicator.js";
|
|
145
|
+
import { RadioGroup as lp, RadioGroupItem as sp } from "./components/radio-group/radio-group.js";
|
|
146
|
+
import { RWAFeature as dp } from "./components/rwa-feature/rwa-feature.js";
|
|
147
|
+
import { SdkStatusPillTest as up } from "./components/sdk-status-pill/constants.js";
|
|
148
|
+
import { SdkStatusPill as Sp } from "./components/sdk-status-pill/sdk-status-pill.js";
|
|
149
|
+
import { SearchLine as Bp } from "./components/search-line/search-line.js";
|
|
150
|
+
import { SegmentedControl as Dp } from "./components/segmented-control/segmented-control.js";
|
|
151
|
+
import { Select as bp, SelectContent as Lp, SelectItem as kp, SelectTrigger as Ip, SelectValue as Mp } from "./components/select/select.js";
|
|
152
|
+
import { SeparateLine as wp } from "./components/separate-line/separate-line.js";
|
|
153
|
+
import { ShortString as Fp } from "./components/short-string/short-string.js";
|
|
154
|
+
import { SimpleDropdown as vp } from "./components/simple-dropdown/simple-dropdown.js";
|
|
155
|
+
import { SimpleDropdownMenuItem as Rp } from "./components/simple-dropdown/simple-dropdown-menu-item.js";
|
|
156
|
+
import { Skeleton as Np } from "./components/skeleton/skeleton.js";
|
|
157
|
+
import { SkeletonStack as qp } from "./components/skeleton/skeleton-stack.js";
|
|
158
|
+
import { SliderTest as Op } from "./components/slider/constants.js";
|
|
159
|
+
import { Spinner as _p } from "./components/spinner/spinner.js";
|
|
160
|
+
import { SpinnerLoader as Yp } from "./components/spinner-loader/spinner-loader.js";
|
|
161
|
+
import { SplitList as zp } from "./components/split-list/split-list.js";
|
|
162
|
+
import { TabControl as jp } from "./components/tab-control/tab-control.js";
|
|
163
|
+
import { GridErrorLine as Kp } from "./components/table/grid-error-line.js";
|
|
164
|
+
import { Table as om, TableBody as em, TableCell as rm, TableHead as tm, TableHeader as am, TableRow as pm } from "./components/table/table.js";
|
|
165
165
|
import { Tabs as im, TabsContent as nm, TabsList as fm, TabsTrigger as xm } from "./components/tabs/tabs.js";
|
|
166
166
|
import { TextButton as sm } from "./components/text-button/text-button.js";
|
|
167
167
|
import { Textarea as dm } from "./components/textarea/textarea.js";
|
|
@@ -173,7 +173,7 @@ import { TokenTemplate as bm } from "./components/token-template/token-template.
|
|
|
173
173
|
import { SimpleTooltip as km } from "./components/tooltip/simple-tooltip.js";
|
|
174
174
|
import { Tooltip as Mm, TooltipContent as hm, TooltipProvider as wm, TooltipTrigger as ym } from "./components/tooltip/tooltip.js";
|
|
175
175
|
import { TradingViewTest as Hm } from "./components/trading-view/constants.js";
|
|
176
|
-
import { TradingView as
|
|
176
|
+
import { TradingView as Vm } from "./components/trading-view/trading-view.js";
|
|
177
177
|
import { TruncatedText as Em } from "./components/truncated-text/truncated-text.js";
|
|
178
178
|
import { FormattedMessageTyped as Wm, useIntlTyped as qm } from "./components/typed-intl/index.js";
|
|
179
179
|
import { Typography as Om } from "./components/typography/typography.js";
|
|
@@ -183,37 +183,37 @@ import { WithCopy as zm } from "./components/with-copy/with-copy.js";
|
|
|
183
183
|
import { ApyBreakdownTooltip as jm } from "./components/yield-breakdown-tooltip/yield-breakdown-tooltip.js";
|
|
184
184
|
import { useDebounceCall as Km } from "./hooks/use-debounce-call.js";
|
|
185
185
|
import { getSortForFields as oi, nextMultiSortState as ei, useSort as ri } from "./hooks/use-filter.js";
|
|
186
|
-
import { useIsDesktop as
|
|
186
|
+
import { useIsDesktop as ai, useIsMedium as pi, useIsMobile as mi, useMediaQuery as ii } from "./hooks/use-media-query.js";
|
|
187
187
|
import { usePrevious as fi } from "./hooks/use-previous.js";
|
|
188
188
|
import { default as li } from "./locale/en.json.js";
|
|
189
189
|
import { cn as Ti, cn as di } from "./utils/cn.js";
|
|
190
190
|
import { APPROXIMATE_SYMBOL as ui, formatTimestamp as ci, shortenHash as Si } from "./utils/format.js";
|
|
191
|
-
import { formatLeverage as Bi } from "./utils/format-leverage.js";
|
|
192
|
-
import { formatMoney as
|
|
193
|
-
import { formatUsdPrice as
|
|
194
|
-
import { slippageTemplate as
|
|
195
|
-
import { leveragePresets as
|
|
196
|
-
import { bnToLiquidationPriceView as
|
|
191
|
+
import { formatLeverage as Bi, formatLeverageExact as Pi } from "./utils/format-leverage.js";
|
|
192
|
+
import { formatMoney as Ai, percentageTemplate as bi } from "./utils/format-money.js";
|
|
193
|
+
import { formatUsdPrice as ki } from "./utils/format-price.js";
|
|
194
|
+
import { slippageTemplate as Mi } from "./utils/format-slippage.js";
|
|
195
|
+
import { leveragePresets as wi } from "./utils/leverage-presets.js";
|
|
196
|
+
import { bnToLiquidationPriceView as Fi, parseInputToBN as Hi } from "./utils/parse-input-to-bn.js";
|
|
197
197
|
import { shortenString as Vi } from "./utils/shorten-string.js";
|
|
198
|
-
import { tokenTemplateString as
|
|
199
|
-
import { openInNewWindow as
|
|
200
|
-
import { Z_INDEX as
|
|
201
|
-
import { AmountInputTest as
|
|
202
|
-
import { DetailedPageTitleTest as
|
|
203
|
-
import { DetailsViewTest as
|
|
204
|
-
import { HistoryChartTest as
|
|
205
|
-
import { InfoListTest as
|
|
206
|
-
import { LeverageInputTest as
|
|
207
|
-
import { ManagePaneTest as
|
|
208
|
-
import { PageTitleTest as
|
|
198
|
+
import { tokenTemplateString as Ei } from "./utils/templates.js";
|
|
199
|
+
import { openInNewWindow as Wi } from "./utils/window.js";
|
|
200
|
+
import { Z_INDEX as Gi } from "./utils/z-index.js";
|
|
201
|
+
import { AmountInputTest as Ui } from "./components/base/amount-input/constants.js";
|
|
202
|
+
import { DetailedPageTitleTest as Xi } from "./components/base/detailed-page-title/constants.js";
|
|
203
|
+
import { DetailsViewTest as Zi } from "./components/base/details-view/constants.js";
|
|
204
|
+
import { HistoryChartTest as Qi } from "./components/base/history-chart/constants.js";
|
|
205
|
+
import { InfoListTest as Ji } from "./components/base/info-list/constants.js";
|
|
206
|
+
import { LeverageInputTest as $i } from "./components/base/leverage-input/constants.js";
|
|
207
|
+
import { ManagePaneTest as en } from "./components/base/manage-pane/constants.js";
|
|
208
|
+
import { PageTitleTest as tn } from "./components/base/page-title/constants.js";
|
|
209
209
|
import { ReviewButtonTest as pn } from "./components/base/review-button/constants.js";
|
|
210
|
-
import { SectionHeadingTest as
|
|
211
|
-
import { SegmentedTabsTest as
|
|
212
|
-
import { StackTest as
|
|
213
|
-
import { StatBadgeTest as
|
|
214
|
-
import { TabberTest as
|
|
215
|
-
import { TokenAmountTest as
|
|
216
|
-
import { BaseTableLineTest as
|
|
210
|
+
import { SectionHeadingTest as nn } from "./components/base/section-heading/constants.js";
|
|
211
|
+
import { SegmentedTabsTest as xn } from "./components/base/segmented-tabs/constants.js";
|
|
212
|
+
import { StackTest as sn } from "./components/base/stack/constants.js";
|
|
213
|
+
import { StatBadgeTest as dn } from "./components/base/stat-badge/constants.js";
|
|
214
|
+
import { TabberTest as un } from "./components/base/tabber/constants.js";
|
|
215
|
+
import { TokenAmountTest as Sn } from "./components/base/token-amount/constants.js";
|
|
216
|
+
import { BaseTableLineTest as Bn, BaseTableTest as Pn } from "./components/base-table/constants.js";
|
|
217
217
|
export {
|
|
218
218
|
ui as APPROXIMATE_SYMBOL,
|
|
219
219
|
Se as AlertBadge,
|
|
@@ -229,14 +229,14 @@ export {
|
|
|
229
229
|
we as AlertModal,
|
|
230
230
|
yr as AllocationWheelTest,
|
|
231
231
|
r as AmountInput,
|
|
232
|
-
|
|
232
|
+
Ui as AmountInputTest,
|
|
233
233
|
Fe as AppBarDotsButton,
|
|
234
234
|
He as AppBarDropdownMenu,
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
ve as AppBarHamburgerButton,
|
|
236
|
+
Ve as AppBarMenuItem,
|
|
237
237
|
Re as AppBarNavItem,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
Ma as AppFooter,
|
|
239
|
+
wa as AppHeader,
|
|
240
240
|
jm as ApyBreakdownTooltip,
|
|
241
241
|
le as ApyValue,
|
|
242
242
|
d as AsideAlignAnchor,
|
|
@@ -246,14 +246,14 @@ export {
|
|
|
246
246
|
Ze as BaseLink,
|
|
247
247
|
Qe as BaseTable,
|
|
248
248
|
Je as BaseTableLine,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
Bn as BaseTableLineTest,
|
|
250
|
+
Pn as BaseTableTest,
|
|
251
|
+
qa as BlockedRegionDialog,
|
|
252
|
+
a as BorrowRateBlock,
|
|
253
253
|
m as BorrowRateBlockTest,
|
|
254
254
|
$e as BreadCrumbs,
|
|
255
255
|
er as BreakpointProvider,
|
|
256
|
-
|
|
256
|
+
pr as Button,
|
|
257
257
|
Tr as Card,
|
|
258
258
|
dr as CardContent,
|
|
259
259
|
gr as CardDescription,
|
|
@@ -267,21 +267,21 @@ export {
|
|
|
267
267
|
Ue as ChipTest,
|
|
268
268
|
_e as Chips,
|
|
269
269
|
Xe as ChipsTest,
|
|
270
|
-
|
|
270
|
+
Fa as Col,
|
|
271
271
|
Fr as CollateralAllocationTooltipTest,
|
|
272
272
|
lt as CompoundAPY,
|
|
273
273
|
Tt as ConfirmMenu,
|
|
274
|
-
|
|
274
|
+
va as Container,
|
|
275
275
|
ir as CopyButton,
|
|
276
|
-
|
|
276
|
+
ma as DEFAULT_SERIES_COLORS,
|
|
277
277
|
Cr as DangerZone,
|
|
278
278
|
s as DetailedPageTitle,
|
|
279
279
|
gt as DetailedPageTitleExplorerDropdown,
|
|
280
|
-
|
|
280
|
+
Xi as DetailedPageTitleTest,
|
|
281
281
|
u as DetailsView,
|
|
282
282
|
c as DetailsViewLeftPane,
|
|
283
283
|
S as DetailsViewManagePane,
|
|
284
|
-
|
|
284
|
+
Zi as DetailsViewTest,
|
|
285
285
|
Ct as Dialog,
|
|
286
286
|
Dt as DialogContainer,
|
|
287
287
|
bt as DialogContent,
|
|
@@ -289,7 +289,7 @@ export {
|
|
|
289
289
|
Mt as DialogFooter,
|
|
290
290
|
wt as DialogForm,
|
|
291
291
|
Ft as DialogHeader,
|
|
292
|
-
|
|
292
|
+
vt as DialogModalContainer,
|
|
293
293
|
Rt as DialogTitle,
|
|
294
294
|
Bt as DialogTrigger,
|
|
295
295
|
qt as DisabledWrap,
|
|
@@ -301,135 +301,135 @@ export {
|
|
|
301
301
|
_t as DropdownMenuTrigger,
|
|
302
302
|
Kt as EditInput,
|
|
303
303
|
li as EnglishLocale,
|
|
304
|
-
|
|
304
|
+
oa as ErrorLineMessage,
|
|
305
305
|
Pr as ExpandableCard,
|
|
306
306
|
fr as ExternalButton,
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
Ba as FaIcon,
|
|
308
|
+
ra as FadeoutLoading,
|
|
309
309
|
Wm as FormattedMessageTyped,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
310
|
+
aa as FormattedNumberString,
|
|
311
|
+
Ra as Grid,
|
|
312
|
+
Kp as GridErrorLine,
|
|
313
|
+
na as Guard,
|
|
314
|
+
ua as HFIndicator,
|
|
315
|
+
xa as HeadCell,
|
|
316
|
+
sa as HealthFactor,
|
|
317
317
|
D as HealthFactorBlock,
|
|
318
318
|
B as HealthFactorBlockTest,
|
|
319
319
|
se as HealthFactorValue,
|
|
320
|
-
|
|
320
|
+
da as HelpTip,
|
|
321
321
|
b as HistoryChart,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
Qi as HistoryChartTest,
|
|
323
|
+
Sa as IconButton,
|
|
324
|
+
Da as InfiniteScrollWrapper,
|
|
325
325
|
k as InfoLine,
|
|
326
326
|
I as InfoList,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
327
|
+
Ji as InfoListTest,
|
|
328
|
+
ba as Input,
|
|
329
|
+
ka as Label,
|
|
330
|
+
Na as Layout,
|
|
331
|
+
Ga as LegalAgreementDialog,
|
|
332
|
+
Ua as LegalAgreementLink,
|
|
333
333
|
w as LeverageInput,
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
$i as LeverageInputTest,
|
|
335
|
+
v as LeveragePresetChips,
|
|
336
336
|
F as LeveragePresetChipsTest,
|
|
337
337
|
Te as LeverageValue,
|
|
338
|
-
|
|
338
|
+
Xa as Link,
|
|
339
339
|
N as LiquidationParamsTable,
|
|
340
340
|
R as LiquidationParamsTableTest,
|
|
341
341
|
O as LiquidationPriceBlock,
|
|
342
342
|
q as LiquidationPriceBlockTest,
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
Za as Loader,
|
|
344
|
+
Qa as Loading,
|
|
345
345
|
_ as ManagePane,
|
|
346
346
|
X as ManagePaneActionTab,
|
|
347
347
|
Y as ManagePaneMessage,
|
|
348
348
|
Z as ManagePaneTab,
|
|
349
349
|
z as ManagePaneTabDropdown,
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
en as ManagePaneTest,
|
|
351
|
+
Ja as MarkdownText,
|
|
352
352
|
ct as Modal,
|
|
353
353
|
K as MoreAccordion,
|
|
354
354
|
j as MoreAccordionTest,
|
|
355
|
-
$
|
|
356
|
-
|
|
357
|
-
|
|
355
|
+
$a as NameCell,
|
|
356
|
+
ep as NavBarLogo,
|
|
357
|
+
tp as NavigationProvider,
|
|
358
358
|
ro as NestedInfoStack,
|
|
359
359
|
oo as NestedInfoStackTest,
|
|
360
|
-
|
|
360
|
+
pp as NetworkIcon,
|
|
361
361
|
jo as NoValue,
|
|
362
|
-
|
|
362
|
+
vr as NotificationCenter,
|
|
363
363
|
Nt as OneFieldDialog,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
364
|
+
ao as PageHeadProvider,
|
|
365
|
+
po as PageTitle,
|
|
366
|
+
tn as PageTitleTest,
|
|
367
367
|
ee as PnlValue,
|
|
368
|
-
|
|
368
|
+
ip as PointsIcon,
|
|
369
369
|
M as PointsInfoLine,
|
|
370
370
|
fo as PoolApyBreakdownCard,
|
|
371
371
|
io as PoolApyBreakdownCardTest,
|
|
372
372
|
Nr as PoolAssetsTable,
|
|
373
373
|
Rr as PoolAssetsTableTest,
|
|
374
|
-
|
|
374
|
+
fp as PoolPointsIndicator,
|
|
375
375
|
To as PositionAssets,
|
|
376
376
|
lo as PositionAssetsTest,
|
|
377
377
|
te as PositionShortLabel,
|
|
378
378
|
Ko as PositionShortLabelTest,
|
|
379
|
-
|
|
379
|
+
pe as PositionStatusBadge,
|
|
380
380
|
ie as PositionTypeBadge,
|
|
381
381
|
fe as PriceImpactValue,
|
|
382
382
|
ft as ProgressStepper,
|
|
383
383
|
it as ProgressStepperTest,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
384
|
+
dp as RWAFeature,
|
|
385
|
+
lp as RadioGroup,
|
|
386
|
+
sp as RadioGroupItem,
|
|
387
387
|
uo as ReviewButton,
|
|
388
388
|
pn as ReviewButtonTest,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
Sp as SdkStatusPill,
|
|
390
|
+
up as SdkStatusPillTest,
|
|
391
|
+
Bp as SearchLine,
|
|
392
392
|
So as SectionHeading,
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
nn as SectionHeadingTest,
|
|
394
|
+
Dp as SegmentedControl,
|
|
395
395
|
Bo as SegmentedTabs,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
396
|
+
xn as SegmentedTabsTest,
|
|
397
|
+
bp as Select,
|
|
398
|
+
Lp as SelectContent,
|
|
399
|
+
kp as SelectItem,
|
|
400
|
+
Ip as SelectTrigger,
|
|
401
|
+
Mp as SelectValue,
|
|
402
|
+
wp as SeparateLine,
|
|
403
|
+
Fp as ShortString,
|
|
404
|
+
vp as SimpleDropdown,
|
|
405
|
+
Rp as SimpleDropdownMenuItem,
|
|
406
406
|
km as SimpleTooltip,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
407
|
+
Np as Skeleton,
|
|
408
|
+
qp as SkeletonStack,
|
|
409
|
+
Op as SliderTest,
|
|
410
|
+
_p as Spinner,
|
|
411
|
+
Yp as SpinnerLoader,
|
|
412
|
+
zp as SplitList,
|
|
413
413
|
Do as Stack,
|
|
414
|
-
|
|
414
|
+
sn as StackTest,
|
|
415
415
|
bo as StatBadge,
|
|
416
416
|
Lo as StatBadgeGrid,
|
|
417
|
-
|
|
417
|
+
dn as StatBadgeTest,
|
|
418
418
|
ho as StrategyApyBreakdownCard,
|
|
419
419
|
Io as StrategyApyBreakdownCardTest,
|
|
420
420
|
Ir as StyledButton,
|
|
421
421
|
hr as StyledDialogContainer,
|
|
422
422
|
lr as TabButton,
|
|
423
|
-
|
|
423
|
+
jp as TabControl,
|
|
424
424
|
yo as Tabber,
|
|
425
425
|
Fo as TabberSection,
|
|
426
|
-
|
|
426
|
+
un as TabberTest,
|
|
427
427
|
om as Table,
|
|
428
428
|
em as TableBody,
|
|
429
429
|
rm as TableCell,
|
|
430
430
|
tm as TableHead,
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
am as TableHeader,
|
|
432
|
+
pm as TableRow,
|
|
433
433
|
im as Tabs,
|
|
434
434
|
nm as TabsContent,
|
|
435
435
|
fm as TabsList,
|
|
@@ -443,7 +443,7 @@ export {
|
|
|
443
443
|
Oo as TitleMeta,
|
|
444
444
|
qo as TitleMetaTest,
|
|
445
445
|
_o as TokenAmount,
|
|
446
|
-
|
|
446
|
+
Sn as TokenAmountTest,
|
|
447
447
|
de as TokenBigint,
|
|
448
448
|
Bm as TokenIcon,
|
|
449
449
|
zo as TokenPairSymbol,
|
|
@@ -454,7 +454,7 @@ export {
|
|
|
454
454
|
hm as TooltipContent,
|
|
455
455
|
wm as TooltipProvider,
|
|
456
456
|
ym as TooltipTrigger,
|
|
457
|
-
|
|
457
|
+
Vm as TradingView,
|
|
458
458
|
Hm as TradingViewTest,
|
|
459
459
|
Or as TransactionConfirmAmountField,
|
|
460
460
|
qr as TransactionConfirmAmountFieldTest,
|
|
@@ -466,7 +466,7 @@ export {
|
|
|
466
466
|
Yr as TransactionConfirmShell,
|
|
467
467
|
tt as TransactionConfirmSuccessResult,
|
|
468
468
|
Kr as TransactionConfirmSuccessResultTest,
|
|
469
|
-
|
|
469
|
+
pt as TransactionConfirmTxHashRow,
|
|
470
470
|
$r as TransactionConfirmTxHashRowTest,
|
|
471
471
|
Em as TruncatedText,
|
|
472
472
|
Om as Typography,
|
|
@@ -476,31 +476,32 @@ export {
|
|
|
476
476
|
$o as ValueTest,
|
|
477
477
|
_m as VerticalIndicator,
|
|
478
478
|
zm as WithCopy,
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
Gi as Z_INDEX,
|
|
480
|
+
Fi as bnToLiquidationPriceView,
|
|
481
481
|
Ti as cn,
|
|
482
482
|
di as default,
|
|
483
483
|
Bi as formatLeverage,
|
|
484
|
-
|
|
484
|
+
Pi as formatLeverageExact,
|
|
485
|
+
Ai as formatMoney,
|
|
485
486
|
ci as formatTimestamp,
|
|
486
|
-
|
|
487
|
+
ki as formatUsdPrice,
|
|
487
488
|
oi as getSortForFields,
|
|
488
|
-
|
|
489
|
+
wi as leveragePresets,
|
|
489
490
|
ei as nextMultiSortState,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
Wi as openInNewWindow,
|
|
492
|
+
Hi as parseInputToBN,
|
|
493
|
+
bi as percentageTemplate,
|
|
493
494
|
Si as shortenHash,
|
|
494
495
|
Vi as shortenString,
|
|
495
|
-
|
|
496
|
-
|
|
496
|
+
Mi as slippageTemplate,
|
|
497
|
+
Ei as tokenTemplateString,
|
|
497
498
|
Km as useDebounceCall,
|
|
498
499
|
qm as useIntlTyped,
|
|
499
|
-
|
|
500
|
-
|
|
500
|
+
ai as useIsDesktop,
|
|
501
|
+
pi as useIsMedium,
|
|
501
502
|
mi as useIsMobile,
|
|
502
503
|
ii as useMediaQuery,
|
|
503
504
|
fi as usePrevious,
|
|
504
505
|
ri as useSort,
|
|
505
|
-
|
|
506
|
+
vo as useTitleText
|
|
506
507
|
};
|
|
@@ -21,7 +21,7 @@ const e = {
|
|
|
21
21
|
"components.apyParts.extraAPY": "{symbol} Incentive",
|
|
22
22
|
"components.apyParts.totalAPY": "Overall APY",
|
|
23
23
|
"components.yieldBreakdown.titleNetAtLeverage": "Net APY at {leverage}× Leverage",
|
|
24
|
-
"components.yieldBreakdown.titleNetAtLeverage7d": "Net APY at {leverage}× Leverage
|
|
24
|
+
"components.yieldBreakdown.titleNetAtLeverage7d": "Net APY (7d) at {leverage}× Leverage",
|
|
25
25
|
"components.yieldBreakdown.titleNet": "Net APY",
|
|
26
26
|
"components.yieldBreakdown.titleNet7d": "Net APY (7d)",
|
|
27
27
|
"components.yieldBreakdown.collateralApy": "Collateral APY",
|