@orderly.network/trading-points 1.2.1-alpha.0 → 1.2.2-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.js +18 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -14
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1006,25 +1006,25 @@ var Countdown = ({ className }) => {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
),
|
|
1008
1008
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-rounded-2xl", p: 5, children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", gap: 2, itemAlign: "center", children: [
|
|
1009
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-
|
|
1009
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast-36 oui-text-lg", children: t("tradingPoints.startsIn") }),
|
|
1010
1010
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { gap: 2, itemAlign: "center", justify: "center", children: [
|
|
1011
1011
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", gap: 1, itemAlign: "center", children: [
|
|
1012
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-
|
|
1012
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast oui-text-4xl oui-font-bold oui-w-16 oui-text-center", children: formatNumber(timeLeft.days) }),
|
|
1013
1013
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast-80 oui-text-xs oui-w-16 oui-text-center", children: t("tradingPoints.days") })
|
|
1014
1014
|
] }),
|
|
1015
1015
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-w-1 oui-h-1 oui-rounded-full oui-bg-base-4" }),
|
|
1016
1016
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", gap: 1, itemAlign: "center", children: [
|
|
1017
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-
|
|
1017
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast oui-text-4xl oui-font-bold oui-w-16 oui-text-center", children: formatNumber(timeLeft.hours) }),
|
|
1018
1018
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast-80 oui-text-xs oui-w-16 oui-text-center", children: t("tradingPoints.hours") })
|
|
1019
1019
|
] }),
|
|
1020
1020
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-w-1 oui-h-1 oui-rounded-full oui-bg-base-4" }),
|
|
1021
1021
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", gap: 1, itemAlign: "center", children: [
|
|
1022
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-
|
|
1022
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast oui-text-4xl oui-font-bold oui-w-16 oui-text-center", children: formatNumber(timeLeft.minutes) }),
|
|
1023
1023
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast-80 oui-text-xs oui-w-16 oui-text-center", children: t("tradingPoints.minutes") })
|
|
1024
1024
|
] }),
|
|
1025
1025
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-w-1 oui-h-1 oui-rounded-full oui-bg-base-4" }),
|
|
1026
1026
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { direction: "column", gap: 1, itemAlign: "center", children: [
|
|
1027
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-
|
|
1027
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast oui-text-4xl oui-font-bold oui-w-16 oui-text-center", children: formatNumber(timeLeft.seconds) }),
|
|
1028
1028
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-text-base-contrast-80 oui-text-xs oui-w-16 oui-text-center", children: t("tradingPoints.seconds") })
|
|
1029
1029
|
] })
|
|
1030
1030
|
] })
|
|
@@ -1063,7 +1063,7 @@ var FAQItem = ({ question, answer }) => {
|
|
|
1063
1063
|
ui.Text,
|
|
1064
1064
|
{
|
|
1065
1065
|
className: ui.cn(
|
|
1066
|
-
"oui-flex-1 oui-text-
|
|
1066
|
+
"oui-flex-1 oui-text-base-contrast oui-font-semibold oui-tracking-[0.03em]",
|
|
1067
1067
|
isMobile ? "oui-text-lg oui-leading-[26px]" : "oui-text-xl oui-leading-8"
|
|
1068
1068
|
),
|
|
1069
1069
|
children: question
|
|
@@ -1074,7 +1074,7 @@ var FAQItem = ({ question, answer }) => {
|
|
|
1074
1074
|
{
|
|
1075
1075
|
size: 24,
|
|
1076
1076
|
className: ui.cn(
|
|
1077
|
-
"oui-text-
|
|
1077
|
+
"oui-text-base-contrast oui-transition-transform oui-duration-300 oui-flex-shrink-0",
|
|
1078
1078
|
isOpen && "oui-rotate-180"
|
|
1079
1079
|
)
|
|
1080
1080
|
}
|
|
@@ -1343,15 +1343,15 @@ var Intro = () => {
|
|
|
1343
1343
|
itemAlign: "center",
|
|
1344
1344
|
px: 3,
|
|
1345
1345
|
py: 2,
|
|
1346
|
-
className: "oui-w-[230px] oui-bg-
|
|
1346
|
+
className: "oui-w-[230px] oui-bg-base-contrast-6 oui-border oui-border-line-12 oui-rounded-md hover:oui-cursor-pointer hover:oui-opacity-80 oui-transition-opacity",
|
|
1347
1347
|
children: [
|
|
1348
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-flex-1 oui-text-[11px] oui-tracking-[0.03em] oui-whitespace-nowrap oui-text-
|
|
1348
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "oui-flex-1 oui-text-[11px] oui-tracking-[0.03em] oui-whitespace-nowrap oui-text-base-contrast-36", children: currentStage ? `Stage ${currentStage.epoch_period}: ${formatStageDate(currentStage.start_time, currentStage.end_time)}` : "" }),
|
|
1349
1349
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1350
1350
|
ui.ChevronDownIcon,
|
|
1351
1351
|
{
|
|
1352
1352
|
size: 12,
|
|
1353
1353
|
className: ui.cn(
|
|
1354
|
-
"oui-text-
|
|
1354
|
+
"oui-text-base-contrast-36",
|
|
1355
1355
|
"oui-transition-transform",
|
|
1356
1356
|
isStageDropdownOpen && "oui-rotate-180"
|
|
1357
1357
|
)
|
|
@@ -1407,7 +1407,7 @@ var Intro = () => {
|
|
|
1407
1407
|
{
|
|
1408
1408
|
className: ui.cn(
|
|
1409
1409
|
"oui-text-[11px] oui-tracking-[0.03em] oui-whitespace-nowrap",
|
|
1410
|
-
isSelected ? "oui-text-base-contrast-54 oui-font-semibold" : "oui-text-
|
|
1410
|
+
isSelected ? "oui-text-base-contrast-54 oui-font-semibold" : "oui-text-base-contrast-36"
|
|
1411
1411
|
),
|
|
1412
1412
|
children: `Stage ${stage.epoch_period}: ${formatStageDate(stage.start_time, stage.end_time)}`
|
|
1413
1413
|
}
|
|
@@ -1494,7 +1494,11 @@ var Intro = () => {
|
|
|
1494
1494
|
!isMobile && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1495
1495
|
ui.Box,
|
|
1496
1496
|
{
|
|
1497
|
-
className: ui.cn(
|
|
1497
|
+
className: ui.cn(
|
|
1498
|
+
"oui-w-[1px]",
|
|
1499
|
+
"oui-h-full",
|
|
1500
|
+
"oui-bg-base-contrast-10"
|
|
1501
|
+
)
|
|
1498
1502
|
}
|
|
1499
1503
|
),
|
|
1500
1504
|
isMobile && /* @__PURE__ */ jsxRuntime.jsx(ui.Divider, { intensity: 8 }),
|
|
@@ -1541,7 +1545,7 @@ var Intro = () => {
|
|
|
1541
1545
|
ui.CopyIcon,
|
|
1542
1546
|
{
|
|
1543
1547
|
size: 16,
|
|
1544
|
-
className: "oui-text-
|
|
1548
|
+
className: "oui-text-base-contrast hover:oui-cursor-pointer hover:oui-opacity-80 oui-transition-opacity",
|
|
1545
1549
|
onClick: onCopyCode
|
|
1546
1550
|
}
|
|
1547
1551
|
)
|
|
@@ -1563,7 +1567,7 @@ var Intro = () => {
|
|
|
1563
1567
|
ui.CopyIcon,
|
|
1564
1568
|
{
|
|
1565
1569
|
size: 16,
|
|
1566
|
-
className: "oui-text-
|
|
1570
|
+
className: "oui-text-base-contrast hover:oui-cursor-pointer hover:oui-opacity-80 oui-transition-opacity",
|
|
1567
1571
|
onClick: onCopyLink
|
|
1568
1572
|
}
|
|
1569
1573
|
)
|