@gearbox-protocol/ui-kit 4.0.0-next.63 → 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/components/graph/graph.cjs +1 -1
- package/dist/cjs/components/graph/series-config.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/trading-view/constants.cjs +1 -0
- package/dist/cjs/components/trading-view/index.cjs +1 -1
- package/dist/cjs/components/trading-view/price-scale-titles.cjs +1 -0
- package/dist/cjs/components/trading-view/trading-view.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/components/graph/graph.js +257 -266
- package/dist/esm/components/graph/series-config.js +10 -1
- package/dist/esm/components/index.js +70 -68
- package/dist/esm/components/trading-view/constants.js +7 -0
- package/dist/esm/components/trading-view/index.js +4 -2
- package/dist/esm/components/trading-view/price-scale-titles.js +52 -0
- package/dist/esm/components/trading-view/trading-view.js +119 -115
- package/dist/esm/index.js +230 -227
- 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/globals.css +1 -1
- package/dist/types/components/base/leverage-input/leverage-input.d.ts +2 -2
- package/dist/types/components/graph/graph.d.ts +1 -5
- package/dist/types/components/graph/series-config.d.ts +13 -0
- package/dist/types/components/trading-view/constants.d.ts +4 -0
- package/dist/types/components/trading-view/index.d.ts +1 -0
- package/dist/types/components/trading-view/price-scale-titles.d.ts +16 -0
- package/dist/types/components/trading-view/trading-view.d.ts +1 -1
- 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";
|
|
@@ -13,7 +13,7 @@ import { InfoLine as k, InfoList as I, PointsInfoLine as M } from "./components/
|
|
|
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
15
|
import { LeveragePresetChips as v } from "./components/base/leverage-preset-chips/leverage-preset-chips.js";
|
|
16
|
-
import { LiquidationParamsTableTest as
|
|
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";
|
|
19
19
|
import { LiquidationPriceBlock as O } from "./components/base/liquidation-price-block/liquidation-price-block.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";
|
|
@@ -36,7 +36,7 @@ import { StrategyApyBreakdownCardTest as Io } from "./components/base/strategy-a
|
|
|
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
38
|
import { useTitleText as vo } from "./components/base/text/use-title-text.js";
|
|
39
|
-
import { TimeToLiquidationBlockTest as
|
|
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";
|
|
42
42
|
import { TitleMeta as Oo } from "./components/base/title-meta/title-meta.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 ve, AppBarMenuItem 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";
|
|
@@ -77,7 +77,7 @@ import { StyledButton as Ir } from "./components/client-adapters/styled-button/s
|
|
|
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
79
|
import { NotificationCenter as vr } from "./components/composites/notification-center/notification-center.js";
|
|
80
|
-
import { PoolAssetsTableTest as
|
|
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";
|
|
83
83
|
import { TransactionConfirmAmountField as Or } from "./components/composites/tx-preview/confirm/amounts/TransactionConfirmAmountField.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";
|
|
@@ -102,7 +102,7 @@ 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
104
|
import { DialogModalContainer as vt } from "./components/dialog/dialog-modal-container.js";
|
|
105
|
-
import { DialogTitle as
|
|
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";
|
|
108
108
|
import { DropdownMenu as Ot, DropdownMenuPortal as Ut, DropdownMenuTrigger as _t } from "./components/dropdown-menu/dropdown-menu.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";
|
|
@@ -172,49 +172,50 @@ import { TokenSymbol as Dm } from "./components/token-symbol/token-symbol.js";
|
|
|
172
172
|
import { TokenTemplate as bm } from "./components/token-template/token-template.js";
|
|
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
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
175
|
+
import { TradingViewTest as Hm } from "./components/trading-view/constants.js";
|
|
176
|
+
import { TradingView as Vm } from "./components/trading-view/trading-view.js";
|
|
177
|
+
import { TruncatedText as Em } from "./components/truncated-text/truncated-text.js";
|
|
178
|
+
import { FormattedMessageTyped as Wm, useIntlTyped as qm } from "./components/typed-intl/index.js";
|
|
179
|
+
import { Typography as Om } from "./components/typography/typography.js";
|
|
180
|
+
import { VerticalIndicator as _m } from "./components/vertical-indicator/vertical-indicator.js";
|
|
181
|
+
import { VSpace as Ym } from "./components/vspace/vspace.js";
|
|
182
|
+
import { WithCopy as zm } from "./components/with-copy/with-copy.js";
|
|
183
|
+
import { ApyBreakdownTooltip as jm } from "./components/yield-breakdown-tooltip/yield-breakdown-tooltip.js";
|
|
184
|
+
import { useDebounceCall as Km } from "./hooks/use-debounce-call.js";
|
|
185
|
+
import { getSortForFields as oi, nextMultiSortState as ei, useSort as ri } from "./hooks/use-filter.js";
|
|
186
|
+
import { useIsDesktop as ai, useIsMedium as pi, useIsMobile as mi, useMediaQuery as ii } from "./hooks/use-media-query.js";
|
|
187
|
+
import { usePrevious as fi } from "./hooks/use-previous.js";
|
|
188
|
+
import { default as li } from "./locale/en.json.js";
|
|
189
|
+
import { cn as Ti, cn as di } from "./utils/cn.js";
|
|
190
|
+
import { APPROXIMATE_SYMBOL as ui, formatTimestamp as ci, shortenHash as Si } from "./utils/format.js";
|
|
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
|
+
import { shortenString as Vi } from "./utils/shorten-string.js";
|
|
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
|
+
import { ReviewButtonTest as pn } from "./components/base/review-button/constants.js";
|
|
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";
|
|
216
217
|
export {
|
|
217
|
-
|
|
218
|
+
ui as APPROXIMATE_SYMBOL,
|
|
218
219
|
Se as AlertBadge,
|
|
219
220
|
Be as AlertDialog,
|
|
220
221
|
Pe as AlertDialogAction,
|
|
@@ -228,15 +229,15 @@ export {
|
|
|
228
229
|
we as AlertModal,
|
|
229
230
|
yr as AllocationWheelTest,
|
|
230
231
|
r as AmountInput,
|
|
231
|
-
|
|
232
|
+
Ui as AmountInputTest,
|
|
232
233
|
Fe as AppBarDotsButton,
|
|
233
234
|
He as AppBarDropdownMenu,
|
|
234
235
|
ve as AppBarHamburgerButton,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
Ve as AppBarMenuItem,
|
|
237
|
+
Re as AppBarNavItem,
|
|
238
|
+
Ma as AppFooter,
|
|
239
|
+
wa as AppHeader,
|
|
240
|
+
jm as ApyBreakdownTooltip,
|
|
240
241
|
le as ApyValue,
|
|
241
242
|
d as AsideAlignAnchor,
|
|
242
243
|
Ne as AssetsListCell,
|
|
@@ -245,14 +246,14 @@ export {
|
|
|
245
246
|
Ze as BaseLink,
|
|
246
247
|
Qe as BaseTable,
|
|
247
248
|
Je as BaseTableLine,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
Bn as BaseTableLineTest,
|
|
250
|
+
Pn as BaseTableTest,
|
|
251
|
+
qa as BlockedRegionDialog,
|
|
252
|
+
a as BorrowRateBlock,
|
|
252
253
|
m as BorrowRateBlockTest,
|
|
253
254
|
$e as BreadCrumbs,
|
|
254
255
|
er as BreakpointProvider,
|
|
255
|
-
|
|
256
|
+
pr as Button,
|
|
256
257
|
Tr as Card,
|
|
257
258
|
dr as CardContent,
|
|
258
259
|
gr as CardDescription,
|
|
@@ -266,21 +267,21 @@ export {
|
|
|
266
267
|
Ue as ChipTest,
|
|
267
268
|
_e as Chips,
|
|
268
269
|
Xe as ChipsTest,
|
|
269
|
-
|
|
270
|
+
Fa as Col,
|
|
270
271
|
Fr as CollateralAllocationTooltipTest,
|
|
271
272
|
lt as CompoundAPY,
|
|
272
273
|
Tt as ConfirmMenu,
|
|
273
|
-
|
|
274
|
+
va as Container,
|
|
274
275
|
ir as CopyButton,
|
|
275
|
-
|
|
276
|
+
ma as DEFAULT_SERIES_COLORS,
|
|
276
277
|
Cr as DangerZone,
|
|
277
278
|
s as DetailedPageTitle,
|
|
278
279
|
gt as DetailedPageTitleExplorerDropdown,
|
|
279
|
-
|
|
280
|
+
Xi as DetailedPageTitleTest,
|
|
280
281
|
u as DetailsView,
|
|
281
282
|
c as DetailsViewLeftPane,
|
|
282
283
|
S as DetailsViewManagePane,
|
|
283
|
-
|
|
284
|
+
Zi as DetailsViewTest,
|
|
284
285
|
Ct as Dialog,
|
|
285
286
|
Dt as DialogContainer,
|
|
286
287
|
bt as DialogContent,
|
|
@@ -289,7 +290,7 @@ export {
|
|
|
289
290
|
wt as DialogForm,
|
|
290
291
|
Ft as DialogHeader,
|
|
291
292
|
vt as DialogModalContainer,
|
|
292
|
-
|
|
293
|
+
Rt as DialogTitle,
|
|
293
294
|
Bt as DialogTrigger,
|
|
294
295
|
qt as DisabledWrap,
|
|
295
296
|
Ot as DropdownMenu,
|
|
@@ -299,136 +300,136 @@ export {
|
|
|
299
300
|
Ut as DropdownMenuPortal,
|
|
300
301
|
_t as DropdownMenuTrigger,
|
|
301
302
|
Kt as EditInput,
|
|
302
|
-
|
|
303
|
-
|
|
303
|
+
li as EnglishLocale,
|
|
304
|
+
oa as ErrorLineMessage,
|
|
304
305
|
Pr as ExpandableCard,
|
|
305
306
|
fr as ExternalButton,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
307
|
+
Ba as FaIcon,
|
|
308
|
+
ra as FadeoutLoading,
|
|
309
|
+
Wm as FormattedMessageTyped,
|
|
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,
|
|
316
317
|
D as HealthFactorBlock,
|
|
317
318
|
B as HealthFactorBlockTest,
|
|
318
319
|
se as HealthFactorValue,
|
|
319
|
-
|
|
320
|
+
da as HelpTip,
|
|
320
321
|
b as HistoryChart,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
Qi as HistoryChartTest,
|
|
323
|
+
Sa as IconButton,
|
|
324
|
+
Da as InfiniteScrollWrapper,
|
|
324
325
|
k as InfoLine,
|
|
325
326
|
I as InfoList,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
327
|
+
Ji as InfoListTest,
|
|
328
|
+
ba as Input,
|
|
329
|
+
ka as Label,
|
|
330
|
+
Na as Layout,
|
|
331
|
+
Ga as LegalAgreementDialog,
|
|
332
|
+
Ua as LegalAgreementLink,
|
|
332
333
|
w as LeverageInput,
|
|
333
|
-
|
|
334
|
+
$i as LeverageInputTest,
|
|
334
335
|
v as LeveragePresetChips,
|
|
335
336
|
F as LeveragePresetChipsTest,
|
|
336
337
|
Te as LeverageValue,
|
|
337
|
-
|
|
338
|
+
Xa as Link,
|
|
338
339
|
N as LiquidationParamsTable,
|
|
339
|
-
|
|
340
|
+
R as LiquidationParamsTableTest,
|
|
340
341
|
O as LiquidationPriceBlock,
|
|
341
342
|
q as LiquidationPriceBlockTest,
|
|
342
|
-
|
|
343
|
-
|
|
343
|
+
Za as Loader,
|
|
344
|
+
Qa as Loading,
|
|
344
345
|
_ as ManagePane,
|
|
345
346
|
X as ManagePaneActionTab,
|
|
346
347
|
Y as ManagePaneMessage,
|
|
347
348
|
Z as ManagePaneTab,
|
|
348
349
|
z as ManagePaneTabDropdown,
|
|
349
|
-
|
|
350
|
-
|
|
350
|
+
en as ManagePaneTest,
|
|
351
|
+
Ja as MarkdownText,
|
|
351
352
|
ct as Modal,
|
|
352
353
|
K as MoreAccordion,
|
|
353
354
|
j as MoreAccordionTest,
|
|
354
|
-
$
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
$a as NameCell,
|
|
356
|
+
ep as NavBarLogo,
|
|
357
|
+
tp as NavigationProvider,
|
|
357
358
|
ro as NestedInfoStack,
|
|
358
359
|
oo as NestedInfoStackTest,
|
|
359
|
-
|
|
360
|
+
pp as NetworkIcon,
|
|
360
361
|
jo as NoValue,
|
|
361
362
|
vr as NotificationCenter,
|
|
362
363
|
Nt as OneFieldDialog,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
ao as PageHeadProvider,
|
|
365
|
+
po as PageTitle,
|
|
366
|
+
tn as PageTitleTest,
|
|
366
367
|
ee as PnlValue,
|
|
367
|
-
|
|
368
|
+
ip as PointsIcon,
|
|
368
369
|
M as PointsInfoLine,
|
|
369
370
|
fo as PoolApyBreakdownCard,
|
|
370
371
|
io as PoolApyBreakdownCardTest,
|
|
371
372
|
Nr as PoolAssetsTable,
|
|
372
|
-
|
|
373
|
-
|
|
373
|
+
Rr as PoolAssetsTableTest,
|
|
374
|
+
fp as PoolPointsIndicator,
|
|
374
375
|
To as PositionAssets,
|
|
375
376
|
lo as PositionAssetsTest,
|
|
376
377
|
te as PositionShortLabel,
|
|
377
378
|
Ko as PositionShortLabelTest,
|
|
378
|
-
|
|
379
|
+
pe as PositionStatusBadge,
|
|
379
380
|
ie as PositionTypeBadge,
|
|
380
381
|
fe as PriceImpactValue,
|
|
381
382
|
ft as ProgressStepper,
|
|
382
383
|
it as ProgressStepperTest,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
dp as RWAFeature,
|
|
385
|
+
lp as RadioGroup,
|
|
386
|
+
sp as RadioGroupItem,
|
|
386
387
|
uo as ReviewButton,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
pn as ReviewButtonTest,
|
|
389
|
+
Sp as SdkStatusPill,
|
|
390
|
+
up as SdkStatusPillTest,
|
|
391
|
+
Bp as SearchLine,
|
|
391
392
|
So as SectionHeading,
|
|
392
|
-
|
|
393
|
-
|
|
393
|
+
nn as SectionHeadingTest,
|
|
394
|
+
Dp as SegmentedControl,
|
|
394
395
|
Bo as SegmentedTabs,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
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,
|
|
405
406
|
km as SimpleTooltip,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
407
|
+
Np as Skeleton,
|
|
408
|
+
qp as SkeletonStack,
|
|
409
|
+
Op as SliderTest,
|
|
410
|
+
_p as Spinner,
|
|
411
|
+
Yp as SpinnerLoader,
|
|
412
|
+
zp as SplitList,
|
|
412
413
|
Do as Stack,
|
|
413
|
-
|
|
414
|
+
sn as StackTest,
|
|
414
415
|
bo as StatBadge,
|
|
415
416
|
Lo as StatBadgeGrid,
|
|
416
|
-
|
|
417
|
+
dn as StatBadgeTest,
|
|
417
418
|
ho as StrategyApyBreakdownCard,
|
|
418
419
|
Io as StrategyApyBreakdownCardTest,
|
|
419
420
|
Ir as StyledButton,
|
|
420
421
|
hr as StyledDialogContainer,
|
|
421
422
|
lr as TabButton,
|
|
422
|
-
|
|
423
|
+
jp as TabControl,
|
|
423
424
|
yo as Tabber,
|
|
424
425
|
Fo as TabberSection,
|
|
425
|
-
|
|
426
|
+
un as TabberTest,
|
|
426
427
|
om as Table,
|
|
427
428
|
em as TableBody,
|
|
428
429
|
rm as TableCell,
|
|
429
430
|
tm as TableHead,
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
am as TableHeader,
|
|
432
|
+
pm as TableRow,
|
|
432
433
|
im as Tabs,
|
|
433
434
|
nm as TabsContent,
|
|
434
435
|
fm as TabsList,
|
|
@@ -437,12 +438,12 @@ export {
|
|
|
437
438
|
dm as Textarea,
|
|
438
439
|
um as ThemeProvider,
|
|
439
440
|
No as TimeToLiquidationBlock,
|
|
440
|
-
|
|
441
|
+
Ro as TimeToLiquidationBlockTest,
|
|
441
442
|
Sm as TipCard,
|
|
442
443
|
Oo as TitleMeta,
|
|
443
444
|
qo as TitleMetaTest,
|
|
444
445
|
_o as TokenAmount,
|
|
445
|
-
|
|
446
|
+
Sn as TokenAmountTest,
|
|
446
447
|
de as TokenBigint,
|
|
447
448
|
Bm as TokenIcon,
|
|
448
449
|
zo as TokenPairSymbol,
|
|
@@ -453,7 +454,8 @@ export {
|
|
|
453
454
|
hm as TooltipContent,
|
|
454
455
|
wm as TooltipProvider,
|
|
455
456
|
ym as TooltipTrigger,
|
|
456
|
-
|
|
457
|
+
Vm as TradingView,
|
|
458
|
+
Hm as TradingViewTest,
|
|
457
459
|
Or as TransactionConfirmAmountField,
|
|
458
460
|
qr as TransactionConfirmAmountFieldTest,
|
|
459
461
|
_r as TransactionConfirmDialogTest,
|
|
@@ -464,41 +466,42 @@ export {
|
|
|
464
466
|
Yr as TransactionConfirmShell,
|
|
465
467
|
tt as TransactionConfirmSuccessResult,
|
|
466
468
|
Kr as TransactionConfirmSuccessResultTest,
|
|
467
|
-
|
|
469
|
+
pt as TransactionConfirmTxHashRow,
|
|
468
470
|
$r as TransactionConfirmTxHashRowTest,
|
|
469
|
-
|
|
470
|
-
|
|
471
|
+
Em as TruncatedText,
|
|
472
|
+
Om as Typography,
|
|
471
473
|
ge as UsdValue,
|
|
472
474
|
ue as UtilizationValue,
|
|
473
|
-
|
|
475
|
+
Ym as VSpace,
|
|
474
476
|
$o as ValueTest,
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
pi as
|
|
500
|
-
|
|
501
|
-
ii as
|
|
502
|
-
|
|
477
|
+
_m as VerticalIndicator,
|
|
478
|
+
zm as WithCopy,
|
|
479
|
+
Gi as Z_INDEX,
|
|
480
|
+
Fi as bnToLiquidationPriceView,
|
|
481
|
+
Ti as cn,
|
|
482
|
+
di as default,
|
|
483
|
+
Bi as formatLeverage,
|
|
484
|
+
Pi as formatLeverageExact,
|
|
485
|
+
Ai as formatMoney,
|
|
486
|
+
ci as formatTimestamp,
|
|
487
|
+
ki as formatUsdPrice,
|
|
488
|
+
oi as getSortForFields,
|
|
489
|
+
wi as leveragePresets,
|
|
490
|
+
ei as nextMultiSortState,
|
|
491
|
+
Wi as openInNewWindow,
|
|
492
|
+
Hi as parseInputToBN,
|
|
493
|
+
bi as percentageTemplate,
|
|
494
|
+
Si as shortenHash,
|
|
495
|
+
Vi as shortenString,
|
|
496
|
+
Mi as slippageTemplate,
|
|
497
|
+
Ei as tokenTemplateString,
|
|
498
|
+
Km as useDebounceCall,
|
|
499
|
+
qm as useIntlTyped,
|
|
500
|
+
ai as useIsDesktop,
|
|
501
|
+
pi as useIsMedium,
|
|
502
|
+
mi as useIsMobile,
|
|
503
|
+
ii as useMediaQuery,
|
|
504
|
+
fi as usePrevious,
|
|
505
|
+
ri as useSort,
|
|
503
506
|
vo as useTitleText
|
|
504
507
|
};
|