@gearbox-protocol/permissionless-ui 1.22.0-next.40 → 1.22.0-next.41
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/block-sync/block-sync.cjs +1 -1
- package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
- package/dist/cjs/components/complex-input/complex-input.cjs +1 -1
- package/dist/cjs/components/fadeout-loading/fadeout-loading.cjs +1 -1
- package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
- package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/liquidation-price/index.cjs +1 -0
- package/dist/cjs/components/liquidation-price/liquidation-price.cjs +1 -0
- package/dist/cjs/components/status-elements/status-elements.cjs +1 -1
- package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/block-sync/block-sync.js +4 -2
- package/dist/esm/components/checkbox/checkbox-labeled.js +2 -0
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +2 -0
- package/dist/esm/components/complex-input/complex-input.js +4 -2
- package/dist/esm/components/fadeout-loading/fadeout-loading.js +12 -12
- package/dist/esm/components/health-factor/health-factor.js +53 -42
- package/dist/esm/components/help-tip/help-tip.js +113 -64
- package/dist/esm/components/index.js +241 -239
- package/dist/esm/components/liquidation-price/index.js +4 -0
- package/dist/esm/components/liquidation-price/liquidation-price.js +43 -0
- package/dist/esm/components/status-elements/status-elements.js +46 -28
- package/dist/esm/components/vertical-indicator/vertical-indicator.js +90 -90
- package/dist/esm/index.js +398 -396
- package/dist/globals.css +1 -1
- package/dist/types/components/fadeout-loading/fadeout-loading.d.ts +5 -13
- package/dist/types/components/health-factor/health-factor.d.ts +16 -35
- package/dist/types/components/help-tip/help-tip.d.ts +33 -44
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/liquidation-price/index.d.ts +1 -0
- package/dist/types/components/liquidation-price/liquidation-price.d.ts +41 -0
- package/dist/types/components/status-elements/status-elements.d.ts +11 -1
- package/dist/types/components/vertical-indicator/vertical-indicator.d.ts +24 -51
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -126,86 +126,87 @@ import { LiquidationModellingAssetsTable as Ya } from "./liquidation/liquidation
|
|
|
126
126
|
import { LiquidationGraph as za } from "./liquidation/liquidation-graph/liquidation-graph.js";
|
|
127
127
|
import { LiquidationGraphLegend as ja } from "./liquidation/liquidation-graph-legend/liquidation-graph-legend.js";
|
|
128
128
|
import { LiquidationGraphTip as Ka } from "./liquidation/liquidation-graph-tip/liquidation-graph-tip.js";
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
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 {
|
|
129
|
+
import { LiquidationPrice as $a } from "./liquidation-price/liquidation-price.js";
|
|
130
|
+
import { LoaderGuard as op } from "./loader-guard/loader-guard.js";
|
|
131
|
+
import { MarkdownViewer as tp } from "./markdown-viewer/markdown-viewer.js";
|
|
132
|
+
import { Navbar as pp, NavbarNav as ip, navbarVariants as np } from "./navbar/navbar.js";
|
|
133
|
+
import { NavbarIndicatorProvider as mp, useNavbarIndicator as xp } from "./navbar/navbar-indicator-context.js";
|
|
134
|
+
import { NavBarLogo as dp } from "./navbar-logo/navbar-logo.js";
|
|
135
|
+
import { NavItem as gp, navitemVariants as Tp } from "./navitem/navitem.js";
|
|
136
|
+
import { NotFound as cp } from "./not-found/not-found.js";
|
|
137
|
+
import { OptionsItem as Cp, OptionsList as Sp } from "./options-list/options-list.js";
|
|
138
|
+
import { Overflow as Lp, OverflowWrap as Vp } from "./overflow/overflow.js";
|
|
139
|
+
import { OverflowContainer as Ap } from "./overflow-container/overflow-container.js";
|
|
140
|
+
import { PageTitle as Bp, pageTitleRootVariants as hp, pageTitleVariants as Fp } from "./page-title/page-title.js";
|
|
141
|
+
import { PercentIndicator as kp } from "./percent-indicator/percent-indicator.js";
|
|
142
|
+
import { PointsIcon as Hp } from "./points-icon/points-icon.js";
|
|
143
|
+
import { PoolAPYTooltip as yp } from "./pool-apy-tooltip/pool-apy-tooltip.js";
|
|
144
|
+
import { PoolIndicatorIcon as Pp } from "./pool-indicator-icon/pool-indicator-icon.js";
|
|
145
|
+
import { PoolPointsIndicator as Op } from "./pool-points-indicator/pool-points-indicator.js";
|
|
146
|
+
import { Progress as _p } from "./progress/progress.js";
|
|
147
|
+
import { ProgressCircle as Wp } from "./progress-circle/progress-circle.js";
|
|
148
|
+
import { RadioGroup as Yp, RadioGroupItem as Zp, RadioOption as zp } from "./radio-group/radio-group.js";
|
|
149
|
+
import { RoundedImage as jp } from "./rounded-image/rounded-image.js";
|
|
150
|
+
import { Row as Kp } from "./row/row.js";
|
|
151
|
+
import { SearchBar as $p } from "./search-bar/search-bar.js";
|
|
152
|
+
import { SearchLine as oi, WithSearchLine as ei, searchLineInputVariants as ti, searchLineVariants as ai } from "./search-line/search-line.js";
|
|
153
|
+
import { SegmentedControl as ii, segmentedControlVariants as ni } from "./segmented-control/segmented-control.js";
|
|
154
|
+
import { Select as mi, SelectContent as xi, SelectGroup as fi, SelectItem as di, SelectLabel as si, SelectScrollDownButton as gi, SelectScrollUpButton as Ti, SelectSeparator as ui, SelectTrigger as ci, SelectValue as bi, selectTriggerVariants as Ci } from "./select/select.js";
|
|
155
|
+
import { Separator as Di } from "./separator/separator.js";
|
|
156
|
+
import { ShortString as Vi } from "./short-string/short-string.js";
|
|
157
|
+
import { ConfirmationItem as Ai } from "./signatures/confirmation-item.js";
|
|
158
|
+
import { Identicon as Bi } from "./signatures/identicon.js";
|
|
159
|
+
import { VerticalTimeline as Fi } from "./signatures/vertical-timeline.js";
|
|
160
|
+
import { Skeleton as ki, skeletonVariants as Mi } from "./skeleton/skeleton.js";
|
|
161
|
+
import { SkeletonStack as vi } from "./skeleton/skeleton-stack.js";
|
|
162
|
+
import { Slider as Ei } from "./slider/slider.js";
|
|
163
|
+
import { SliderToken as Ri } from "./slider-token/slider-token.js";
|
|
164
|
+
import { SmartNumberInput as Ni } from "./smart-number-input/smart-number-input.js";
|
|
165
|
+
import { Spinner as Ui, SpinnerOverlay as Wi } from "./spinner/spinner.js";
|
|
166
|
+
import { SplitList as Yi } from "./split-list/split-list.js";
|
|
167
|
+
import { StatBadge as zi, StatBadgeGrid as Xi, statBadgeContentVariants as ji, statBadgeGridVariants as Ji, statBadgeTitleVariants as Ki, statBadgeVariants as Qi } from "./stat-badge/stat-badge.js";
|
|
168
|
+
import { StatusDot as rn, statusDotVariants as on } from "./status-dot/status-dot.js";
|
|
169
|
+
import { HealthDot as tn, StatusBars as an } from "./status-elements/status-elements.js";
|
|
170
|
+
import { StatusTriangle as nn } from "./status-triangle/status-triangle.js";
|
|
171
|
+
import { Stepper as mn } from "./stepper/stepper.js";
|
|
172
|
+
import { StyledDropdown as fn } from "./styled-dropdown/styled-dropdown.js";
|
|
173
|
+
import { Switch as sn } from "./switch/switch.js";
|
|
174
|
+
import { TabControl as Tn, TabItem as un, useHashTabs as cn, useSectionTab as bn, useTabControl as Cn } from "./tab-control/tab-control.js";
|
|
175
|
+
import { EditButton as Dn } from "./table/edit-button.js";
|
|
176
|
+
import { GridTableCellAsset as Vn, GridTableCellUpdatable as In, GridTableEditable as An } from "./table/editable-grid-table.js";
|
|
177
|
+
import { TableCellAsset as Bn, TableCellUpdatable as hn, TableEditable as Fn } from "./table/editable-table.js";
|
|
178
|
+
import { GridErrorLine as kn } from "./table/grid-error-line.js";
|
|
179
|
+
import { GridLoadingLine as Hn } from "./table/grid-loading-line.js";
|
|
180
|
+
import { GridTable as yn, GridTableBody as En, GridTableCaption as Pn, GridTableCell as Rn, GridTableFooter as On, GridTableHead as Nn, GridTableHeader as _n, GridTableRow as Un, Td as Wn, Th as qn, gridTableCellVariants as Yn, gridTableHeadVariants as Zn, gridTableVariants as zn } from "./table/grid-table.js";
|
|
181
|
+
import { GridTableLoader as jn } from "./table/grid-table-loader.js";
|
|
182
|
+
import { SortableHeadCell as Kn } from "./table/sortable-head-cell.js";
|
|
183
|
+
import { SortingTableHead as $n, Table as rl, TableBody as ol, TableCaption as el, TableCell as tl, TableFooter as al, TableHead as pl, TableHeader as il, TableRow as nl, tableCellVariants as ll, tableHeadVariants as ml, tableVariants as xl } from "./table/table.js";
|
|
184
|
+
import { TableLoader as dl } from "./table/table-loader.js";
|
|
185
|
+
import { TableLoaderGuard as gl } from "./table/table-loader-guard.js";
|
|
186
|
+
import { TableCellSm as ul, TableLineSm as cl } from "./table/table-sm.js";
|
|
187
|
+
import { UpdatedValue as Cl } from "./table/updated-value.js";
|
|
188
|
+
import { Tabs as Dl, TabsContent as Ll, TabsList as Vl, TabsTrigger as Il } from "./tabs/tabs.js";
|
|
189
|
+
import { TextButton as Gl } from "./text-button/text-button.js";
|
|
190
|
+
import { Textarea as hl, textareaVariants as Fl } from "./textarea/textarea.js";
|
|
191
|
+
import { ThemeProvider as kl, useTheme as Ml } from "./theme-provider.js";
|
|
192
|
+
import { ThemeToggle as vl } from "./theme-toggle/theme-toggle.js";
|
|
193
|
+
import { TipCard as El, tipCardVariants as Pl } from "./tip-card/tip-card.js";
|
|
194
|
+
import { TokenIcon as Ol, preloadTokenIcons as Nl } from "./token-icon/token-icon.js";
|
|
195
|
+
import { TokenSymbol as Ul } from "./token-symbol/token-symbol.js";
|
|
196
|
+
import { TokenTemplate as ql } from "./token-template/token-template.js";
|
|
197
|
+
import { TokensListCell as Zl } from "./tokens-list-cell/tokens-list-cell.js";
|
|
198
|
+
import { SimpleTooltip as Xl } from "./tooltip/simple-tooltip.js";
|
|
199
|
+
import { Tooltip as Jl, TooltipContent as Kl, TooltipProvider as Ql, TooltipTrigger as $l } from "./tooltip/tooltip.js";
|
|
200
|
+
import { GraphDropdown as om } from "./trading-view/graph-dropdown.js";
|
|
201
|
+
import { TradingView as tm } from "./trading-view/trading-view.js";
|
|
202
|
+
import { FormattedMessageTyped as pm, useIntlTyped as im } from "./typed-intl/index.js";
|
|
203
|
+
import { Typography as lm, typographyVariants as mm } from "./typography/typography.js";
|
|
204
|
+
import { VerticalIndicator as fm, verticalIndicatorVariants as dm } from "./vertical-indicator/vertical-indicator.js";
|
|
205
|
+
import { VerticalList as gm, verticalListVariants as Tm } from "./vertical-list/vertical-list.js";
|
|
206
|
+
import { VSpace as cm } from "./vspace/vspace.js";
|
|
207
|
+
import { WithCopy as Cm } from "./with-copy/with-copy.js";
|
|
208
|
+
import { WithFilterButton as Dm } from "./with-filter-button/with-filter-button.js";
|
|
209
|
+
import { WithTitle as Vm } from "./with-title/with-title.js";
|
|
209
210
|
export {
|
|
210
211
|
e as Accordion,
|
|
211
212
|
t as AccordionContent,
|
|
@@ -261,7 +262,7 @@ export {
|
|
|
261
262
|
oo as ComplexInput,
|
|
262
263
|
to as CompoundAPY,
|
|
263
264
|
po as ConfirmMenu,
|
|
264
|
-
|
|
265
|
+
Ai as ConfirmationItem,
|
|
265
266
|
E as ConnectRequired,
|
|
266
267
|
Sa as Container,
|
|
267
268
|
mr as CopyButton,
|
|
@@ -303,7 +304,7 @@ export {
|
|
|
303
304
|
se as DropdownMenuSubContent,
|
|
304
305
|
Te as DropdownMenuSubTrigger,
|
|
305
306
|
Ko as DropdownMenuTrigger,
|
|
306
|
-
|
|
307
|
+
Dn as EditButton,
|
|
307
308
|
ce as EditInput,
|
|
308
309
|
Ce as ErrorLineMessage,
|
|
309
310
|
De as ErrorMessage,
|
|
@@ -329,7 +330,7 @@ export {
|
|
|
329
330
|
Va as FooterLink,
|
|
330
331
|
Ia as FooterLinkSection,
|
|
331
332
|
$e as FormField,
|
|
332
|
-
|
|
333
|
+
pm as FormattedMessageTyped,
|
|
333
334
|
ot as FormattedNumberString,
|
|
334
335
|
Ot as GOOD_HF,
|
|
335
336
|
Aa as GearboxFooter,
|
|
@@ -337,30 +338,30 @@ export {
|
|
|
337
338
|
pt as GeneralSelect,
|
|
338
339
|
bt as Graph,
|
|
339
340
|
St as GraphCurrentValue,
|
|
340
|
-
|
|
341
|
+
om as GraphDropdown,
|
|
341
342
|
Lt as GraphTooltip,
|
|
342
343
|
It as GraphView,
|
|
343
344
|
At as GraphViewWithData,
|
|
344
345
|
Ba as Grid,
|
|
345
|
-
|
|
346
|
-
|
|
346
|
+
kn as GridErrorLine,
|
|
347
|
+
Hn as GridLoadingLine,
|
|
347
348
|
kt as GridTDCell,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
349
|
+
yn as GridTable,
|
|
350
|
+
En as GridTableBody,
|
|
351
|
+
Pn as GridTableCaption,
|
|
352
|
+
Rn as GridTableCell,
|
|
353
|
+
Vn as GridTableCellAsset,
|
|
354
|
+
In as GridTableCellUpdatable,
|
|
355
|
+
An as GridTableEditable,
|
|
356
|
+
On as GridTableFooter,
|
|
357
|
+
Nn as GridTableHead,
|
|
358
|
+
_n as GridTableHeader,
|
|
359
|
+
jn as GridTableLoader,
|
|
360
|
+
Un as GridTableRow,
|
|
360
361
|
Ht as Guard,
|
|
361
362
|
yt as HeadCell,
|
|
362
363
|
Fa as Header,
|
|
363
|
-
|
|
364
|
+
tn as HealthDot,
|
|
364
365
|
Nt as HealthFactor,
|
|
365
366
|
Wt as HelpCenterContainer,
|
|
366
367
|
Yt as HelpSection,
|
|
@@ -370,7 +371,7 @@ export {
|
|
|
370
371
|
Qt as HideOn,
|
|
371
372
|
oa as HorizontalIndicator,
|
|
372
373
|
ta as IconButton,
|
|
373
|
-
|
|
374
|
+
Bi as Identicon,
|
|
374
375
|
ia as Image,
|
|
375
376
|
la as Input,
|
|
376
377
|
fa as Label,
|
|
@@ -381,128 +382,129 @@ export {
|
|
|
381
382
|
ja as LiquidationGraphLegend,
|
|
382
383
|
Ka as LiquidationGraphTip,
|
|
383
384
|
Ya as LiquidationModellingAssetsTable,
|
|
384
|
-
$a as
|
|
385
|
-
op as
|
|
385
|
+
$a as LiquidationPrice,
|
|
386
|
+
op as LoaderGuard,
|
|
387
|
+
tp as MarkdownViewer,
|
|
386
388
|
bo as Modal,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
dp as NavBarLogo,
|
|
390
|
+
gp as NavItem,
|
|
391
|
+
pp as Navbar,
|
|
392
|
+
mp as NavbarIndicatorProvider,
|
|
393
|
+
ip as NavbarNav,
|
|
392
394
|
Tr as NavigationButton,
|
|
393
|
-
|
|
395
|
+
cp as NotFound,
|
|
394
396
|
Uo as OneFieldDialog,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
Cp as OptionsItem,
|
|
398
|
+
Sp as OptionsList,
|
|
399
|
+
Lp as Overflow,
|
|
400
|
+
Ap as OverflowContainer,
|
|
401
|
+
Vp as OverflowWrap,
|
|
400
402
|
Ea as PageLayout,
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
403
|
+
Bp as PageTitle,
|
|
404
|
+
kp as PercentIndicator,
|
|
405
|
+
Hp as PointsIcon,
|
|
406
|
+
yp as PoolAPYTooltip,
|
|
407
|
+
Pp as PoolIndicatorIcon,
|
|
408
|
+
Op as PoolPointsIndicator,
|
|
409
|
+
_p as Progress,
|
|
410
|
+
Wp as ProgressCircle,
|
|
411
|
+
Yp as RadioGroup,
|
|
412
|
+
Zp as RadioGroupItem,
|
|
413
|
+
zp as RadioOption,
|
|
412
414
|
cr as RangeButtons,
|
|
413
|
-
|
|
414
|
-
|
|
415
|
+
jp as RoundedImage,
|
|
416
|
+
Kp as Row,
|
|
415
417
|
N as SIWEClientProvider,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
418
|
+
$p as SearchBar,
|
|
419
|
+
oi as SearchLine,
|
|
420
|
+
ii as SegmentedControl,
|
|
421
|
+
mi as Select,
|
|
422
|
+
xi as SelectContent,
|
|
423
|
+
fi as SelectGroup,
|
|
424
|
+
di as SelectItem,
|
|
425
|
+
si as SelectLabel,
|
|
426
|
+
gi as SelectScrollDownButton,
|
|
427
|
+
Ti as SelectScrollUpButton,
|
|
428
|
+
ui as SelectSeparator,
|
|
429
|
+
ci as SelectTrigger,
|
|
430
|
+
bi as SelectValue,
|
|
431
|
+
Di as Separator,
|
|
432
|
+
Vi as ShortString,
|
|
431
433
|
$t as ShowOn,
|
|
432
434
|
R as SignInRequired,
|
|
433
435
|
Et as SimpleHeadCell,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
436
|
+
Xl as SimpleTooltip,
|
|
437
|
+
ki as Skeleton,
|
|
438
|
+
vi as SkeletonStack,
|
|
439
|
+
Ei as Slider,
|
|
440
|
+
Ri as SliderToken,
|
|
441
|
+
Ni as SmartNumberInput,
|
|
442
|
+
Kn as SortableHeadCell,
|
|
443
|
+
$n as SortingTableHead,
|
|
444
|
+
Ui as Spinner,
|
|
445
|
+
Wi as SpinnerOverlay,
|
|
446
|
+
Yi as SplitList,
|
|
447
|
+
zi as StatBadge,
|
|
448
|
+
Xi as StatBadgeGrid,
|
|
449
|
+
an as StatusBars,
|
|
450
|
+
rn as StatusDot,
|
|
451
|
+
nn as StatusTriangle,
|
|
452
|
+
mn as Stepper,
|
|
451
453
|
Yr as StyledButton,
|
|
452
454
|
zr as StyledDialogContainer,
|
|
453
|
-
|
|
455
|
+
fn as StyledDropdown,
|
|
454
456
|
jr as StyledRoundedImage,
|
|
455
|
-
|
|
457
|
+
sn as Switch,
|
|
456
458
|
Cr as TabButton,
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
459
|
+
Tn as TabControl,
|
|
460
|
+
un as TabItem,
|
|
461
|
+
rl as Table,
|
|
462
|
+
ol as TableBody,
|
|
463
|
+
el as TableCaption,
|
|
464
|
+
tl as TableCell,
|
|
465
|
+
Bn as TableCellAsset,
|
|
466
|
+
ul as TableCellSm,
|
|
467
|
+
hn as TableCellUpdatable,
|
|
468
|
+
Fn as TableEditable,
|
|
469
|
+
al as TableFooter,
|
|
470
|
+
pl as TableHead,
|
|
471
|
+
il as TableHeader,
|
|
472
|
+
cl as TableLineSm,
|
|
473
|
+
dl as TableLoader,
|
|
474
|
+
gl as TableLoaderGuard,
|
|
475
|
+
nl as TableRow,
|
|
476
|
+
Dl as Tabs,
|
|
477
|
+
Ll as TabsContent,
|
|
478
|
+
Vl as TabsList,
|
|
479
|
+
Il as TabsTrigger,
|
|
480
|
+
Wn as Td,
|
|
481
|
+
Gl as TextButton,
|
|
482
|
+
hl as Textarea,
|
|
483
|
+
qn as Th,
|
|
484
|
+
kl as ThemeProvider,
|
|
485
|
+
vl as ThemeToggle,
|
|
486
|
+
El as TipCard,
|
|
485
487
|
Jt as TipWrap,
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
488
|
+
Ol as TokenIcon,
|
|
489
|
+
Ul as TokenSymbol,
|
|
490
|
+
ql as TokenTemplate,
|
|
491
|
+
Zl as TokensListCell,
|
|
492
|
+
Jl as Tooltip,
|
|
493
|
+
Kl as TooltipContent,
|
|
494
|
+
Ql as TooltipProvider,
|
|
495
|
+
$l as TooltipTrigger,
|
|
496
|
+
tm as TradingView,
|
|
497
|
+
lm as Typography,
|
|
498
|
+
Cl as UpdatedValue,
|
|
499
|
+
cm as VSpace,
|
|
498
500
|
Ft as VertLine,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
501
|
+
fm as VerticalIndicator,
|
|
502
|
+
gm as VerticalList,
|
|
503
|
+
Fi as VerticalTimeline,
|
|
504
|
+
Cm as WithCopy,
|
|
505
|
+
Dm as WithFilterButton,
|
|
506
|
+
ei as WithSearchLine,
|
|
507
|
+
Vm as WithTitle,
|
|
506
508
|
x as alertBadgeVariants,
|
|
507
509
|
ar as backButtonVariants,
|
|
508
510
|
z as badgeVariants,
|
|
@@ -521,41 +523,41 @@ export {
|
|
|
521
523
|
gt as getXFormatter,
|
|
522
524
|
Tt as getYFormatter,
|
|
523
525
|
Gt as graphViewVariants,
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
526
|
+
Yn as gridTableCellVariants,
|
|
527
|
+
Zn as gridTableHeadVariants,
|
|
528
|
+
zn as gridTableVariants,
|
|
527
529
|
aa as iconButtonVariants,
|
|
528
530
|
ma as inputVariants,
|
|
529
531
|
da as labelVariants,
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
532
|
+
np as navbarVariants,
|
|
533
|
+
Tp as navitemVariants,
|
|
534
|
+
hp as pageTitleRootVariants,
|
|
535
|
+
Fp as pageTitleVariants,
|
|
536
|
+
Nl as preloadTokenIcons,
|
|
537
|
+
ti as searchLineInputVariants,
|
|
538
|
+
ai as searchLineVariants,
|
|
539
|
+
ni as segmentedControlVariants,
|
|
540
|
+
Ci as selectTriggerVariants,
|
|
541
|
+
Mi as skeletonVariants,
|
|
542
|
+
ji as statBadgeContentVariants,
|
|
543
|
+
Ji as statBadgeGridVariants,
|
|
544
|
+
Ki as statBadgeTitleVariants,
|
|
545
|
+
Qi as statBadgeVariants,
|
|
546
|
+
on as statusDotVariants,
|
|
547
|
+
ll as tableCellVariants,
|
|
548
|
+
ml as tableHeadVariants,
|
|
549
|
+
xl as tableVariants,
|
|
550
|
+
Fl as textareaVariants,
|
|
551
|
+
Pl as tipCardVariants,
|
|
552
|
+
mm as typographyVariants,
|
|
551
553
|
Bt as useGraphAside,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
+
cn as useHashTabs,
|
|
555
|
+
im as useIntlTyped,
|
|
554
556
|
wa as useMobileMenu,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
557
|
+
xp as useNavbarIndicator,
|
|
558
|
+
bn as useSectionTab,
|
|
559
|
+
Cn as useTabControl,
|
|
560
|
+
Ml as useTheme,
|
|
561
|
+
dm as verticalIndicatorVariants,
|
|
562
|
+
Tm as verticalListVariants
|
|
561
563
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { toBN as u } from "@gearbox-protocol/sdk";
|
|
3
|
+
import { BaseLink as f } from "../base-link/base-link.js";
|
|
4
|
+
import { FormattedNumberString as h } from "../formatted-number/formatted-number.js";
|
|
5
|
+
import { StatusBars as x, HealthDot as N } from "../status-elements/status-elements.js";
|
|
6
|
+
import { TextButton as g } from "../text-button/text-button.js";
|
|
7
|
+
import "react";
|
|
8
|
+
import { bnToLiquidationPriceView as b } from "../../utils/parse-input-to-bn.js";
|
|
9
|
+
import { cn as v } from "../../utils/cn.js";
|
|
10
|
+
import "sonner";
|
|
11
|
+
const w = { type: "text" };
|
|
12
|
+
function E({
|
|
13
|
+
liquidationPrice: t = 0,
|
|
14
|
+
type: o = w,
|
|
15
|
+
hfZone: e,
|
|
16
|
+
zoneType: n = "dot",
|
|
17
|
+
checkLabel: i = "Check",
|
|
18
|
+
className: m
|
|
19
|
+
}) {
|
|
20
|
+
const s = () => {
|
|
21
|
+
switch (o.type) {
|
|
22
|
+
case "redirect":
|
|
23
|
+
return /* @__PURE__ */ r(f, { href: o.to, external: !0, target: "_blank", children: i });
|
|
24
|
+
case "text":
|
|
25
|
+
return "N/A";
|
|
26
|
+
case "graph":
|
|
27
|
+
return /* @__PURE__ */ r(g, { onClick: o.props.onShow, children: i });
|
|
28
|
+
default:
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}, a = () => {
|
|
32
|
+
const l = typeof t != "bigint" ? u(String(t), 8) : t, p = b(l, 4);
|
|
33
|
+
return /* @__PURE__ */ r(h, { value: p, decimalPartLength: 4 });
|
|
34
|
+
}, c = t > 0;
|
|
35
|
+
return /* @__PURE__ */ d("div", { className: v("flex flex-nowrap items-center", m), children: [
|
|
36
|
+
e && n === "bars" && /* @__PURE__ */ r("div", { className: "mr-1.5", children: /* @__PURE__ */ r(x, { zone: e }) }),
|
|
37
|
+
c ? a() : s(),
|
|
38
|
+
e && n === "dot" && /* @__PURE__ */ r("div", { className: "ml-1.5", children: /* @__PURE__ */ r(N, { zone: e }) })
|
|
39
|
+
] });
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
E as LiquidationPrice
|
|
43
|
+
};
|