@orderly.network/trading-rewards 2.10.1 → 2.10.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 +43 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -274,8 +274,14 @@ var init_esOrderlyIcon = __esm({
|
|
|
274
274
|
y2: "21.2774",
|
|
275
275
|
gradientUnits: "userSpaceOnUse",
|
|
276
276
|
children: [
|
|
277
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "
|
|
278
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
277
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "rgb(var(--oui-color-base-foreground))" }),
|
|
278
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
279
|
+
"stop",
|
|
280
|
+
{
|
|
281
|
+
offset: "1",
|
|
282
|
+
stopColor: "rgba(var(--oui-color-base-foreground)/0.95)"
|
|
283
|
+
}
|
|
284
|
+
)
|
|
279
285
|
]
|
|
280
286
|
}
|
|
281
287
|
),
|
|
@@ -289,12 +295,19 @@ var init_esOrderlyIcon = __esm({
|
|
|
289
295
|
y2: "16.5531",
|
|
290
296
|
gradientUnits: "userSpaceOnUse",
|
|
291
297
|
children: [
|
|
292
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "
|
|
293
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "
|
|
298
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "rgb(var(--oui-gradient-secondary-start))" }),
|
|
299
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "rgb(var(--oui-gradient-secondary-end))" })
|
|
294
300
|
]
|
|
295
301
|
}
|
|
296
302
|
),
|
|
297
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_862_2449", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
303
|
+
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_862_2449", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
304
|
+
"rect",
|
|
305
|
+
{
|
|
306
|
+
width: "20",
|
|
307
|
+
height: "20",
|
|
308
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
309
|
+
}
|
|
310
|
+
) })
|
|
298
311
|
] })
|
|
299
312
|
]
|
|
300
313
|
}
|
|
@@ -330,7 +343,7 @@ var init_orderlyIcon = __esm({
|
|
|
330
343
|
fillRule: "evenodd",
|
|
331
344
|
clipRule: "evenodd",
|
|
332
345
|
d: "M14.1556 4.8931C14.2202 4.94547 14.1824 5.04764 14.0992 5.04764H5.95063C5.86743 5.04764 5.82963 4.94547 5.89428 4.8931C7.02258 3.97918 8.4598 3.4317 10.0249 3.4317C11.59 3.4317 13.0272 3.97918 14.1556 4.8931Z",
|
|
333
|
-
fill: "
|
|
346
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
334
347
|
}
|
|
335
348
|
),
|
|
336
349
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -339,7 +352,7 @@ var init_orderlyIcon = __esm({
|
|
|
339
352
|
fillRule: "evenodd",
|
|
340
353
|
clipRule: "evenodd",
|
|
341
354
|
d: "M7.47028 11.7869C7.4233 11.7199 7.34764 11.6777 7.26581 11.6777H3.83C3.75128 11.6777 3.69391 11.7525 3.71579 11.8281C4.50796 14.565 7.03275 16.566 10.0249 16.566C13.0171 16.566 15.5419 14.565 16.334 11.8281C16.3559 11.7525 16.2985 11.6777 16.2198 11.6777H12.7841C12.7022 11.6777 12.6266 11.7199 12.5796 11.7869C12.0156 12.5911 11.0817 13.1167 10.025 13.1167C8.96818 13.1167 8.03421 12.5911 7.47028 11.7869Z",
|
|
342
|
-
fill: "
|
|
355
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
343
356
|
}
|
|
344
357
|
),
|
|
345
358
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -348,7 +361,7 @@ var init_orderlyIcon = __esm({
|
|
|
348
361
|
fillRule: "evenodd",
|
|
349
362
|
clipRule: "evenodd",
|
|
350
363
|
d: "M12.335 7.90476C12.3825 7.95713 12.4493 7.98867 12.5199 7.98867H16.114C16.1955 7.98867 16.2533 7.9094 16.2264 7.83259C15.9727 7.10647 15.5951 6.43851 15.119 5.85405C15.0743 5.79918 15.007 5.76813 14.9361 5.76813H5.11354C5.04278 5.76813 4.97543 5.79918 4.93074 5.85405C4.45459 6.43851 4.07701 7.10647 3.82337 7.83259C3.79652 7.9094 3.85428 7.98867 3.93567 7.98867H7.52982C7.60052 7.98867 7.66725 7.95713 7.71475 7.90476C8.28522 7.27587 9.10892 6.88093 10.0249 6.88093C10.9408 6.88093 11.7646 7.27587 12.335 7.90476Z",
|
|
351
|
-
fill: "
|
|
364
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
352
365
|
}
|
|
353
366
|
),
|
|
354
367
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -357,7 +370,7 @@ var init_orderlyIcon = __esm({
|
|
|
357
370
|
fillRule: "evenodd",
|
|
358
371
|
clipRule: "evenodd",
|
|
359
372
|
d: "M13.116 10.9587C13.0549 10.9587 13.0114 10.8991 13.028 10.8402C13.1029 10.5723 13.1429 10.29 13.1429 9.99822C13.1429 9.5877 13.0636 9.19568 12.9195 8.83669C12.895 8.77593 12.9388 8.70813 13.0042 8.70813H16.3916C16.4345 8.70813 16.4716 8.73843 16.4795 8.78064C16.5534 9.17523 16.5921 9.58228 16.5921 9.99832C16.5921 10.2979 16.572 10.5927 16.5333 10.8816C16.5273 10.9259 16.4894 10.9587 16.4447 10.9587H13.116ZM7.02183 10.8402C7.03829 10.8991 6.99492 10.9587 6.93381 10.9587H3.60511C3.56045 10.9587 3.52246 10.9259 3.51651 10.8816C3.47767 10.5927 3.45761 10.2979 3.45761 9.99832C3.45761 9.58228 3.49631 9.17523 3.5703 8.78064C3.5782 8.73843 3.61523 8.70813 3.65817 8.70813H7.04553C7.11101 8.70813 7.15477 8.77593 7.13037 8.83669C6.98617 9.19568 6.90682 9.5877 6.90682 9.99822C6.90682 10.29 6.94688 10.5723 7.02183 10.8402Z",
|
|
360
|
-
fill: "
|
|
373
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
361
374
|
}
|
|
362
375
|
)
|
|
363
376
|
] }),
|
|
@@ -372,12 +385,19 @@ var init_orderlyIcon = __esm({
|
|
|
372
385
|
y2: "19.9491",
|
|
373
386
|
gradientUnits: "userSpaceOnUse",
|
|
374
387
|
children: [
|
|
375
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "
|
|
376
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "
|
|
388
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "rgb(var(--oui-gradient-secondary-start))" }),
|
|
389
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "rgb(var(--oui-gradient-secondary-end))" })
|
|
377
390
|
]
|
|
378
391
|
}
|
|
379
392
|
),
|
|
380
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_862_2443", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
+
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_862_2443", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
394
|
+
"rect",
|
|
395
|
+
{
|
|
396
|
+
width: "20",
|
|
397
|
+
height: "20",
|
|
398
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
399
|
+
}
|
|
400
|
+
) })
|
|
381
401
|
] })
|
|
382
402
|
]
|
|
383
403
|
}
|
|
@@ -445,7 +465,7 @@ var init_rewardsTooltip = __esm({
|
|
|
445
465
|
"path",
|
|
446
466
|
{
|
|
447
467
|
d: "M10.5 1.678a8.333 8.333 0 1 0-.001 16.667 8.333 8.333 0 0 0 0-16.667m0 4.167a.833.833 0 1 1-.001 1.667.833.833 0 0 1 0-1.667m0 2.5c.46 0 .832.373.832.833v4.167a.833.833 0 0 1-1.666 0V9.178c0-.46.373-.833.833-.833",
|
|
448
|
-
fill: "
|
|
468
|
+
fill: "rgb(var(--oui-color-base-foreground))",
|
|
449
469
|
fillOpacity: ".36"
|
|
450
470
|
}
|
|
451
471
|
)
|
|
@@ -588,7 +608,7 @@ var init_curEpoch_ui = __esm({
|
|
|
588
608
|
hideData: state.hideData,
|
|
589
609
|
estRewards: state.hideData ? "--" : props.estimate?.est_r_wallet,
|
|
590
610
|
rewardsTooltip: props.rewardsTooltip,
|
|
591
|
-
background: state.notConnected ? "linear-gradient(28.29deg,
|
|
611
|
+
background: state.notConnected ? "linear-gradient(28.29deg, rgb(var(--oui-gradient-neutral-start)) 21.6%, rgb(var(--oui-gradient-neutral-end)) 83.23%)" : "linear-gradient(0deg, rgb(var(--oui-gradient-secondary-end)) 2.62%, rgb(var(--oui-gradient-secondary-start)) 86.5%)"
|
|
592
612
|
}
|
|
593
613
|
),
|
|
594
614
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -799,7 +819,15 @@ var init_curEpoch_ui = __esm({
|
|
|
799
819
|
y: "0",
|
|
800
820
|
width: "21",
|
|
801
821
|
height: "20",
|
|
802
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
822
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
823
|
+
"rect",
|
|
824
|
+
{
|
|
825
|
+
x: "0.5",
|
|
826
|
+
width: "20",
|
|
827
|
+
height: "20",
|
|
828
|
+
fill: "rgb(var(--oui-color-tertiary))"
|
|
829
|
+
}
|
|
830
|
+
)
|
|
803
831
|
}
|
|
804
832
|
),
|
|
805
833
|
/* @__PURE__ */ jsxRuntime.jsx("g", { mask: "url(#mask0_1997_45723)", children: /* @__PURE__ */ jsxRuntime.jsx(
|