@orderly.network/markets 3.0.4 → 3.1.0-alpha.0
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +85 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +85 -35
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -285,7 +285,7 @@ declare function useFavoritesTabScript(options: UseFavoritesTabScriptOptions): {
|
|
|
285
285
|
};
|
|
286
286
|
open: boolean;
|
|
287
287
|
setOpen: react.Dispatch<react.SetStateAction<boolean>>;
|
|
288
|
-
container: react.RefObject<
|
|
288
|
+
container: react.RefObject<HTMLDivElement>;
|
|
289
289
|
inputRef: react.RefObject<HTMLInputElement>;
|
|
290
290
|
inputWidth: number;
|
|
291
291
|
spanRef: react.RefObject<HTMLSpanElement>;
|
package/dist/index.d.ts
CHANGED
|
@@ -285,7 +285,7 @@ declare function useFavoritesTabScript(options: UseFavoritesTabScriptOptions): {
|
|
|
285
285
|
};
|
|
286
286
|
open: boolean;
|
|
287
287
|
setOpen: react.Dispatch<react.SetStateAction<boolean>>;
|
|
288
|
-
container: react.RefObject<
|
|
288
|
+
container: react.RefObject<HTMLDivElement>;
|
|
289
289
|
inputRef: react.RefObject<HTMLInputElement>;
|
|
290
290
|
inputWidth: number;
|
|
291
291
|
spanRef: react.RefObject<HTMLSpanElement>;
|
package/dist/index.js
CHANGED
|
@@ -607,7 +607,7 @@ var init_marketsHeader_ui = __esm({
|
|
|
607
607
|
value: tvl
|
|
608
608
|
}
|
|
609
609
|
];
|
|
610
|
-
}, [total24Amount, totalOpenInterest, tvl]);
|
|
610
|
+
}, [t, total24Amount, totalOpenInterest, tvl]);
|
|
611
611
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
612
612
|
ui.Flex,
|
|
613
613
|
{
|
|
@@ -678,7 +678,7 @@ var init_marketsHeader_ui = __esm({
|
|
|
678
678
|
size: "xs",
|
|
679
679
|
weight: "semibold",
|
|
680
680
|
dp: item.quote_dp,
|
|
681
|
-
className: "oui-tabular-nums oui-text-
|
|
681
|
+
className: "oui-tabular-nums oui-text-end",
|
|
682
682
|
children: item["24h_close"]
|
|
683
683
|
}
|
|
684
684
|
) }),
|
|
@@ -690,7 +690,7 @@ var init_marketsHeader_ui = __esm({
|
|
|
690
690
|
size: "xs",
|
|
691
691
|
weight: "semibold",
|
|
692
692
|
showIdentifier: true,
|
|
693
|
-
className: "oui-tabular-nums oui-text-
|
|
693
|
+
className: "oui-tabular-nums oui-text-end",
|
|
694
694
|
children: item.change
|
|
695
695
|
}
|
|
696
696
|
) })
|
|
@@ -1033,7 +1033,7 @@ var init_marketsHeader_mobile_ui = __esm({
|
|
|
1033
1033
|
value: tvl
|
|
1034
1034
|
}
|
|
1035
1035
|
];
|
|
1036
|
-
}, [total24Amount, totalOpenInterest, tvl]);
|
|
1036
|
+
}, [t, total24Amount, totalOpenInterest, tvl]);
|
|
1037
1037
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1038
1038
|
ui.Flex,
|
|
1039
1039
|
{
|
|
@@ -1047,7 +1047,7 @@ var init_marketsHeader_mobile_ui = __esm({
|
|
|
1047
1047
|
{
|
|
1048
1048
|
...item,
|
|
1049
1049
|
className: ui.cn(
|
|
1050
|
-
index !== list.length - 1 && "oui-border-
|
|
1050
|
+
index !== list.length - 1 && "oui-border-e oui-border-line-6"
|
|
1051
1051
|
)
|
|
1052
1052
|
},
|
|
1053
1053
|
`item-${index}`
|
|
@@ -1107,7 +1107,7 @@ var init_marketsHeader_mobile_ui = __esm({
|
|
|
1107
1107
|
size: "xs",
|
|
1108
1108
|
weight: "semibold",
|
|
1109
1109
|
dp: item.quote_dp,
|
|
1110
|
-
className: "oui-tabular-nums oui-text-
|
|
1110
|
+
className: "oui-tabular-nums oui-text-end",
|
|
1111
1111
|
children: item["24h_close"]
|
|
1112
1112
|
}
|
|
1113
1113
|
) }),
|
|
@@ -1119,7 +1119,7 @@ var init_marketsHeader_mobile_ui = __esm({
|
|
|
1119
1119
|
size: "xs",
|
|
1120
1120
|
weight: "semibold",
|
|
1121
1121
|
showIdentifier: true,
|
|
1122
|
-
className: "oui-tabular-nums oui-text-
|
|
1122
|
+
className: "oui-tabular-nums oui-text-end",
|
|
1123
1123
|
children: item.change
|
|
1124
1124
|
}
|
|
1125
1125
|
) })
|
|
@@ -1375,7 +1375,7 @@ var init_favoritesDropdownMenu_ui = __esm({
|
|
|
1375
1375
|
onValueChange,
|
|
1376
1376
|
classNames: {
|
|
1377
1377
|
root: ui.cn(
|
|
1378
|
-
"oui-
|
|
1378
|
+
"oui-ms-px oui-h-7 oui-w-full oui-rounded-sm oui-bg-base-6",
|
|
1379
1379
|
overLen && "focus-within:oui-outline-danger focus-visible:oui-outline-danger"
|
|
1380
1380
|
)
|
|
1381
1381
|
},
|
|
@@ -1687,7 +1687,7 @@ function getSymbolColumn(favorite, isFavoriteList = false, options) {
|
|
|
1687
1687
|
height: 12,
|
|
1688
1688
|
justify: "center",
|
|
1689
1689
|
itemAlign: "center",
|
|
1690
|
-
className: "oui-
|
|
1690
|
+
className: "oui-me-1 oui-cursor-pointer",
|
|
1691
1691
|
children: record.isFavorite ? /* @__PURE__ */ jsxRuntime.jsx(FavoritesIcon2, { className: "oui-size-3" }) : /* @__PURE__ */ jsxRuntime.jsx(UnFavoritesIcon2, { className: "oui-size-3" })
|
|
1692
1692
|
}
|
|
1693
1693
|
) });
|
|
@@ -1809,7 +1809,7 @@ function getLastAnd24hPercentageColumn(favorite, isFavoriteList = false) {
|
|
|
1809
1809
|
"div",
|
|
1810
1810
|
{
|
|
1811
1811
|
className: ui.cn(
|
|
1812
|
-
"oui-absolute oui-
|
|
1812
|
+
"oui-absolute oui-end-0 oui-top-[6.5px]",
|
|
1813
1813
|
"oui-hidden group-hover:oui-block"
|
|
1814
1814
|
),
|
|
1815
1815
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1879,13 +1879,12 @@ var init_column = __esm({
|
|
|
1879
1879
|
init_symbolDisplay();
|
|
1880
1880
|
}
|
|
1881
1881
|
});
|
|
1882
|
-
|
|
1883
|
-
// src/components/sideMarkets/column.tsx
|
|
1884
1882
|
var useSideMarketsColumns;
|
|
1885
1883
|
var init_column2 = __esm({
|
|
1886
1884
|
"src/components/sideMarkets/column.tsx"() {
|
|
1887
1885
|
init_column();
|
|
1888
1886
|
useSideMarketsColumns = (favorite, isFavoriteList = false) => {
|
|
1887
|
+
i18n.useTranslation();
|
|
1889
1888
|
const symbolCol = getSymbolColumn(favorite, isFavoriteList, {
|
|
1890
1889
|
stackLeverageInSecondRow: true
|
|
1891
1890
|
});
|
|
@@ -2193,7 +2192,7 @@ var init_favoritesEmpty = __esm({
|
|
|
2193
2192
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2194
2193
|
ui.PlusIcon,
|
|
2195
2194
|
{
|
|
2196
|
-
className: "oui-
|
|
2195
|
+
className: "oui-me-1 oui-text-base-contrast",
|
|
2197
2196
|
opacity: 1,
|
|
2198
2197
|
size: 12
|
|
2199
2198
|
}
|
|
@@ -2431,6 +2430,51 @@ var init_favoritesTabs_ui = __esm({
|
|
|
2431
2430
|
};
|
|
2432
2431
|
}
|
|
2433
2432
|
});
|
|
2433
|
+
function getRTLScrollType() {
|
|
2434
|
+
if (cachedRTLScrollType) {
|
|
2435
|
+
return cachedRTLScrollType;
|
|
2436
|
+
}
|
|
2437
|
+
if (typeof document === "undefined" || !document.body) {
|
|
2438
|
+
cachedRTLScrollType = "negative";
|
|
2439
|
+
return cachedRTLScrollType;
|
|
2440
|
+
}
|
|
2441
|
+
const outer = document.createElement("div");
|
|
2442
|
+
const inner = document.createElement("div");
|
|
2443
|
+
outer.dir = "rtl";
|
|
2444
|
+
outer.style.width = "4px";
|
|
2445
|
+
outer.style.height = "1px";
|
|
2446
|
+
outer.style.overflow = "scroll";
|
|
2447
|
+
outer.style.visibility = "hidden";
|
|
2448
|
+
outer.style.position = "absolute";
|
|
2449
|
+
outer.style.top = "-9999px";
|
|
2450
|
+
inner.style.width = "8px";
|
|
2451
|
+
inner.style.height = "1px";
|
|
2452
|
+
outer.appendChild(inner);
|
|
2453
|
+
document.body.appendChild(outer);
|
|
2454
|
+
if (outer.scrollLeft > 0) {
|
|
2455
|
+
cachedRTLScrollType = "default";
|
|
2456
|
+
} else {
|
|
2457
|
+
outer.scrollLeft = 1;
|
|
2458
|
+
cachedRTLScrollType = outer.scrollLeft === 0 ? "negative" : "reverse";
|
|
2459
|
+
}
|
|
2460
|
+
document.body.removeChild(outer);
|
|
2461
|
+
return cachedRTLScrollType;
|
|
2462
|
+
}
|
|
2463
|
+
function getScrollLeftForLogicalOffset(element, offset) {
|
|
2464
|
+
const max = Math.max(element.scrollWidth - element.clientWidth, 0);
|
|
2465
|
+
const nextOffset = Math.min(Math.max(offset, 0), max);
|
|
2466
|
+
if (getComputedStyle(element).direction !== "rtl") {
|
|
2467
|
+
return nextOffset;
|
|
2468
|
+
}
|
|
2469
|
+
switch (getRTLScrollType()) {
|
|
2470
|
+
case "negative":
|
|
2471
|
+
return -nextOffset;
|
|
2472
|
+
case "default":
|
|
2473
|
+
return max - nextOffset;
|
|
2474
|
+
case "reverse":
|
|
2475
|
+
return nextOffset;
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2434
2478
|
function useFavoritesTabScript(options) {
|
|
2435
2479
|
const { favorite, size = "default" } = options;
|
|
2436
2480
|
const {
|
|
@@ -2460,7 +2504,11 @@ function useFavoritesTabScript(options) {
|
|
|
2460
2504
|
const scrollToRight = () => {
|
|
2461
2505
|
setTimeout(() => {
|
|
2462
2506
|
if (scrollView.current) {
|
|
2463
|
-
|
|
2507
|
+
const logicalEnd = scrollView.current.scrollWidth - scrollView.current.clientWidth;
|
|
2508
|
+
scrollView.current.scrollLeft = getScrollLeftForLogicalOffset(
|
|
2509
|
+
scrollView.current,
|
|
2510
|
+
logicalEnd
|
|
2511
|
+
);
|
|
2464
2512
|
}
|
|
2465
2513
|
}, 0);
|
|
2466
2514
|
};
|
|
@@ -2535,8 +2583,10 @@ function useFavoritesTabScript(options) {
|
|
|
2535
2583
|
scrollable
|
|
2536
2584
|
};
|
|
2537
2585
|
}
|
|
2586
|
+
var cachedRTLScrollType;
|
|
2538
2587
|
var init_favoritesTabs_script = __esm({
|
|
2539
2588
|
"src/components/favoritesTabs/favoritesTabs.script.ts"() {
|
|
2589
|
+
cachedRTLScrollType = null;
|
|
2540
2590
|
}
|
|
2541
2591
|
});
|
|
2542
2592
|
exports.FavoritesTabWidget = void 0;
|
|
@@ -2643,9 +2693,9 @@ function resolveSuffix(suffix) {
|
|
|
2643
2693
|
return void 0;
|
|
2644
2694
|
}
|
|
2645
2695
|
if (typeof suffix === "string") {
|
|
2646
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
2696
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1 oui-inline-flex oui-items-center oui-rounded oui-bg-gradient-to-r oui-from-[rgb(var(--oui-gradient-brand-start)_/_0.12)] oui-to-[rgb(var(--oui-gradient-brand-end)_/_0.12)] oui-px-2", children: /* @__PURE__ */ jsxRuntime.jsx(ui.GradientText, { color: "brand", children: suffix }) });
|
|
2647
2697
|
}
|
|
2648
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-
|
|
2698
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-ms-1", children: suffix });
|
|
2649
2699
|
}
|
|
2650
2700
|
function composeTabTitle(label, options) {
|
|
2651
2701
|
const icon = options?.icon;
|
|
@@ -2760,7 +2810,7 @@ var init_marketsDataList_mobile_ui = __esm({
|
|
|
2760
2810
|
getLastAnd24hPercentageColumn(favorite, isFavoriteList)
|
|
2761
2811
|
];
|
|
2762
2812
|
},
|
|
2763
|
-
[]
|
|
2813
|
+
[t]
|
|
2764
2814
|
);
|
|
2765
2815
|
const { getFavoritesProps } = useFavoritesProps();
|
|
2766
2816
|
const builtInMeta = React6.useMemo(
|
|
@@ -3488,7 +3538,7 @@ var init_marketsDataList_ui = __esm({
|
|
|
3488
3538
|
classNames: {
|
|
3489
3539
|
tabsList: "oui-tabs-markets-list",
|
|
3490
3540
|
tabsContent: "oui-tabs-markets-content",
|
|
3491
|
-
scrollIndicator: "oui-
|
|
3541
|
+
scrollIndicator: "oui-me-3"
|
|
3492
3542
|
},
|
|
3493
3543
|
className: "oui-markets-list-tabs",
|
|
3494
3544
|
showScrollIndicator: true,
|
|
@@ -3986,7 +4036,7 @@ var init_columns = __esm({
|
|
|
3986
4036
|
dataIndex: "symbol",
|
|
3987
4037
|
onSort: true,
|
|
3988
4038
|
width: 180,
|
|
3989
|
-
className: isMobile ? "oui-
|
|
4039
|
+
className: isMobile ? "oui-ps-0" : void 0,
|
|
3990
4040
|
render: (value, record) => {
|
|
3991
4041
|
if (isMobile) {
|
|
3992
4042
|
return /* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", itemAlign: "start", gapY: 1, children: [
|
|
@@ -4377,7 +4427,7 @@ var init_columns2 = __esm({
|
|
|
4377
4427
|
dataIndex: "symbol",
|
|
4378
4428
|
width: 220,
|
|
4379
4429
|
onSort: true,
|
|
4380
|
-
className: isMobile ? "oui-
|
|
4430
|
+
className: isMobile ? "oui-ps-0" : void 0,
|
|
4381
4431
|
render: (value, record) => {
|
|
4382
4432
|
if (isMobile) {
|
|
4383
4433
|
return /* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", itemAlign: "start", gapY: 1, children: [
|
|
@@ -4703,7 +4753,7 @@ var init_column4 = __esm({
|
|
|
4703
4753
|
e.stopPropagation();
|
|
4704
4754
|
};
|
|
4705
4755
|
const iconCls = "oui-w-4 oui-h-4 oui-text-base-contrast-54 hover:oui-text-base-contrast";
|
|
4706
|
-
const actions = /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cn("oui-absolute oui-
|
|
4756
|
+
const actions = /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cn("oui-absolute oui-end-1 oui-top-[3px]"), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4707
4757
|
ui.Flex,
|
|
4708
4758
|
{
|
|
4709
4759
|
className: ui.cn(
|
|
@@ -5091,12 +5141,12 @@ var init_marketItem_ui = __esm({
|
|
|
5091
5141
|
{
|
|
5092
5142
|
direction: "row",
|
|
5093
5143
|
className: ui.cn(
|
|
5094
|
-
"oui-
|
|
5144
|
+
"oui-me-3 oui-h-[18px] oui-shrink-0 oui-cursor-pointer oui-items-center oui-rounded",
|
|
5095
5145
|
"oui-transition-all oui-duration-200"
|
|
5096
5146
|
),
|
|
5097
5147
|
onClick: handleClick,
|
|
5098
5148
|
children: [
|
|
5099
|
-
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { gapX: 1, itemAlign: "center", className: "oui-
|
|
5149
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { gapX: 1, itemAlign: "center", className: "oui-me-[6px]", children: [
|
|
5100
5150
|
/* @__PURE__ */ jsxRuntime.jsx(ui.TokenIcon, { symbol, className: "oui-size-[18px]" }),
|
|
5101
5151
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5102
5152
|
exports.SymbolDisplay,
|
|
@@ -5108,7 +5158,7 @@ var init_marketItem_ui = __esm({
|
|
|
5108
5158
|
}
|
|
5109
5159
|
)
|
|
5110
5160
|
] }),
|
|
5111
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Flex, { gapX: 1, className: "oui-
|
|
5161
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Flex, { gapX: 1, className: "oui-me-[6px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5112
5162
|
ui.Text.numeral,
|
|
5113
5163
|
{
|
|
5114
5164
|
dp: tickerData.quote_dp || 2,
|
|
@@ -5117,7 +5167,7 @@ var init_marketItem_ui = __esm({
|
|
|
5117
5167
|
children: tickerData["24h_close"]
|
|
5118
5168
|
}
|
|
5119
5169
|
) }),
|
|
5120
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Flex, { gapX: 1, className: "oui-
|
|
5170
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Flex, { gapX: 1, className: "oui-me-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5121
5171
|
ui.Text.numeral,
|
|
5122
5172
|
{
|
|
5123
5173
|
rule: "percentages",
|
|
@@ -5232,7 +5282,7 @@ var init_marketTypeFilter_ui = __esm({
|
|
|
5232
5282
|
ui.Box,
|
|
5233
5283
|
{
|
|
5234
5284
|
className: ui.cn(
|
|
5235
|
-
"oui-absolute oui-
|
|
5285
|
+
"oui-absolute oui-start-0 oui-z-50",
|
|
5236
5286
|
"oui-bg-base-9 oui-border oui-border-line-6 oui-rounded-[12px]",
|
|
5237
5287
|
"oui-shadow-lg oui-w-[320px] oui-p-5",
|
|
5238
5288
|
// animation
|
|
@@ -5274,7 +5324,7 @@ var init_marketTypeFilter_ui = __esm({
|
|
|
5274
5324
|
{
|
|
5275
5325
|
htmlFor: htmlId,
|
|
5276
5326
|
className: ui.cn(
|
|
5277
|
-
"oui-text-2xs oui-
|
|
5327
|
+
"oui-text-2xs oui-ms-1",
|
|
5278
5328
|
"oui-break-normal oui-whitespace-nowrap oui-cursor-pointer"
|
|
5279
5329
|
),
|
|
5280
5330
|
children: getOptionLabel(tab)
|
|
@@ -5334,7 +5384,7 @@ var init_marketTypeFilter_ui = __esm({
|
|
|
5334
5384
|
{
|
|
5335
5385
|
htmlFor: htmlId,
|
|
5336
5386
|
className: ui.cn(
|
|
5337
|
-
"oui-text-2xs oui-
|
|
5387
|
+
"oui-text-2xs oui-ms-1",
|
|
5338
5388
|
"oui-break-normal oui-whitespace-nowrap oui-cursor-pointer"
|
|
5339
5389
|
),
|
|
5340
5390
|
children: tab.name
|
|
@@ -6299,7 +6349,7 @@ var CountdownText = (props) => {
|
|
|
6299
6349
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "oui-text-base-contrast oui-px-1", children: [
|
|
6300
6350
|
days > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
6301
6351
|
daysStr,
|
|
6302
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-text-base-contrast-54 oui-
|
|
6352
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "oui-text-base-contrast-54 oui-me-1 oui-ms-[2px]", children: t("common.dayShort") })
|
|
6303
6353
|
] }) : "",
|
|
6304
6354
|
hoursStr,
|
|
6305
6355
|
":",
|
|
@@ -6711,7 +6761,7 @@ var SymbolInfoBarFull = (props) => {
|
|
|
6711
6761
|
height: 12,
|
|
6712
6762
|
justify: "center",
|
|
6713
6763
|
itemAlign: "center",
|
|
6714
|
-
className: "oui-
|
|
6764
|
+
className: "oui-me-1 oui-cursor-pointer",
|
|
6715
6765
|
children: isFavorite ? /* @__PURE__ */ jsxRuntime.jsx(FavoritesIcon2, { className: "oui-size-3 oui-text-warning-darken" }) : /* @__PURE__ */ jsxRuntime.jsx(UnFavoritesIcon2, { className: "oui-size-3 oui-text-base-contrast-36 hover:oui-text-warning-darken" })
|
|
6716
6766
|
}
|
|
6717
6767
|
) }) });
|
|
@@ -6900,9 +6950,9 @@ var ScrollIndicator2 = (props) => {
|
|
|
6900
6950
|
},
|
|
6901
6951
|
className: ui.cn(
|
|
6902
6952
|
"oui-flex oui-w-[80px] oui-items-center",
|
|
6903
|
-
"oui-absolute oui-inset-y-0 oui-rounded-
|
|
6904
|
-
leading && "oui-
|
|
6905
|
-
tailing && "oui-
|
|
6953
|
+
"oui-absolute oui-inset-y-0 oui-rounded-s",
|
|
6954
|
+
leading && "oui-start-0 oui-ps-1",
|
|
6955
|
+
tailing && "oui-end-0 oui-rotate-180 oui-pe-1"
|
|
6906
6956
|
),
|
|
6907
6957
|
children: /* @__PURE__ */ jsxRuntime.jsx(ArrowLeftIcon, { className: "oui-text-base-contrast-54 hover:oui-text-base-contrast-80" })
|
|
6908
6958
|
}
|
|
@@ -6938,7 +6988,7 @@ var RwaCountdown = ({ closeCountdown, isRwa, open, closeTimeInterval }) => {
|
|
|
6938
6988
|
r: "lg",
|
|
6939
6989
|
className: "oui-w-full oui-text-warning-darken oui-bg-warning-darken/15 oui-flex-1 oui-my-2 oui-text-sm",
|
|
6940
6990
|
children: [
|
|
6941
|
-
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { className: "oui-w-full oui-
|
|
6991
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { className: "oui-w-full oui-pe-2", children: [
|
|
6942
6992
|
/* @__PURE__ */ jsxRuntime.jsx(ui.NewsFillIcon, { className: "oui-text-warning-darken", size: 16 }),
|
|
6943
6993
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { children: [
|
|
6944
6994
|
t("trading.rwa.countdown.title"),
|
|
@@ -7593,7 +7643,7 @@ var MarketsMobileContent = (props) => {
|
|
|
7593
7643
|
leading: props.navProps?.leftNav && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7594
7644
|
uiScaffold.LeftNavUI,
|
|
7595
7645
|
{
|
|
7596
|
-
className: "-oui-
|
|
7646
|
+
className: "-oui-me-4 oui-ms-3",
|
|
7597
7647
|
...props?.navProps?.leftNav,
|
|
7598
7648
|
logo: props?.navProps?.logo,
|
|
7599
7649
|
routerAdapter: props?.navProps?.routerAdapter
|