@orderly.network/trading-rewards 2.10.1 → 2.10.2
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.mjs
CHANGED
|
@@ -267,8 +267,14 @@ var init_esOrderlyIcon = __esm({
|
|
|
267
267
|
y2: "21.2774",
|
|
268
268
|
gradientUnits: "userSpaceOnUse",
|
|
269
269
|
children: [
|
|
270
|
-
/* @__PURE__ */ jsx("stop", { stopColor: "
|
|
271
|
-
/* @__PURE__ */ jsx(
|
|
270
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "rgb(var(--oui-color-base-foreground))" }),
|
|
271
|
+
/* @__PURE__ */ jsx(
|
|
272
|
+
"stop",
|
|
273
|
+
{
|
|
274
|
+
offset: "1",
|
|
275
|
+
stopColor: "rgba(var(--oui-color-base-foreground)/0.95)"
|
|
276
|
+
}
|
|
277
|
+
)
|
|
272
278
|
]
|
|
273
279
|
}
|
|
274
280
|
),
|
|
@@ -282,12 +288,19 @@ var init_esOrderlyIcon = __esm({
|
|
|
282
288
|
y2: "16.5531",
|
|
283
289
|
gradientUnits: "userSpaceOnUse",
|
|
284
290
|
children: [
|
|
285
|
-
/* @__PURE__ */ jsx("stop", { stopColor: "
|
|
286
|
-
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "
|
|
291
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "rgb(var(--oui-gradient-secondary-start))" }),
|
|
292
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "rgb(var(--oui-gradient-secondary-end))" })
|
|
287
293
|
]
|
|
288
294
|
}
|
|
289
295
|
),
|
|
290
|
-
/* @__PURE__ */ jsx("clipPath", { id: "clip0_862_2449", children: /* @__PURE__ */ jsx(
|
|
296
|
+
/* @__PURE__ */ jsx("clipPath", { id: "clip0_862_2449", children: /* @__PURE__ */ jsx(
|
|
297
|
+
"rect",
|
|
298
|
+
{
|
|
299
|
+
width: "20",
|
|
300
|
+
height: "20",
|
|
301
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
302
|
+
}
|
|
303
|
+
) })
|
|
291
304
|
] })
|
|
292
305
|
]
|
|
293
306
|
}
|
|
@@ -323,7 +336,7 @@ var init_orderlyIcon = __esm({
|
|
|
323
336
|
fillRule: "evenodd",
|
|
324
337
|
clipRule: "evenodd",
|
|
325
338
|
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",
|
|
326
|
-
fill: "
|
|
339
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
327
340
|
}
|
|
328
341
|
),
|
|
329
342
|
/* @__PURE__ */ jsx(
|
|
@@ -332,7 +345,7 @@ var init_orderlyIcon = __esm({
|
|
|
332
345
|
fillRule: "evenodd",
|
|
333
346
|
clipRule: "evenodd",
|
|
334
347
|
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",
|
|
335
|
-
fill: "
|
|
348
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
336
349
|
}
|
|
337
350
|
),
|
|
338
351
|
/* @__PURE__ */ jsx(
|
|
@@ -341,7 +354,7 @@ var init_orderlyIcon = __esm({
|
|
|
341
354
|
fillRule: "evenodd",
|
|
342
355
|
clipRule: "evenodd",
|
|
343
356
|
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",
|
|
344
|
-
fill: "
|
|
357
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
345
358
|
}
|
|
346
359
|
),
|
|
347
360
|
/* @__PURE__ */ jsx(
|
|
@@ -350,7 +363,7 @@ var init_orderlyIcon = __esm({
|
|
|
350
363
|
fillRule: "evenodd",
|
|
351
364
|
clipRule: "evenodd",
|
|
352
365
|
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",
|
|
353
|
-
fill: "
|
|
366
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
354
367
|
}
|
|
355
368
|
)
|
|
356
369
|
] }),
|
|
@@ -365,12 +378,19 @@ var init_orderlyIcon = __esm({
|
|
|
365
378
|
y2: "19.9491",
|
|
366
379
|
gradientUnits: "userSpaceOnUse",
|
|
367
380
|
children: [
|
|
368
|
-
/* @__PURE__ */ jsx("stop", { stopColor: "
|
|
369
|
-
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "
|
|
381
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "rgb(var(--oui-gradient-secondary-start))" }),
|
|
382
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "rgb(var(--oui-gradient-secondary-end))" })
|
|
370
383
|
]
|
|
371
384
|
}
|
|
372
385
|
),
|
|
373
|
-
/* @__PURE__ */ jsx("clipPath", { id: "clip0_862_2443", children: /* @__PURE__ */ jsx(
|
|
386
|
+
/* @__PURE__ */ jsx("clipPath", { id: "clip0_862_2443", children: /* @__PURE__ */ jsx(
|
|
387
|
+
"rect",
|
|
388
|
+
{
|
|
389
|
+
width: "20",
|
|
390
|
+
height: "20",
|
|
391
|
+
fill: "rgb(var(--oui-color-base-foreground))"
|
|
392
|
+
}
|
|
393
|
+
) })
|
|
374
394
|
] })
|
|
375
395
|
]
|
|
376
396
|
}
|
|
@@ -438,7 +458,7 @@ var init_rewardsTooltip = __esm({
|
|
|
438
458
|
"path",
|
|
439
459
|
{
|
|
440
460
|
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",
|
|
441
|
-
fill: "
|
|
461
|
+
fill: "rgb(var(--oui-color-base-foreground))",
|
|
442
462
|
fillOpacity: ".36"
|
|
443
463
|
}
|
|
444
464
|
)
|
|
@@ -581,7 +601,7 @@ var init_curEpoch_ui = __esm({
|
|
|
581
601
|
hideData: state.hideData,
|
|
582
602
|
estRewards: state.hideData ? "--" : props.estimate?.est_r_wallet,
|
|
583
603
|
rewardsTooltip: props.rewardsTooltip,
|
|
584
|
-
background: state.notConnected ? "linear-gradient(28.29deg,
|
|
604
|
+
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%)"
|
|
585
605
|
}
|
|
586
606
|
),
|
|
587
607
|
/* @__PURE__ */ jsx("div", { className: "oui-w-full", children: /* @__PURE__ */ jsx(
|
|
@@ -792,7 +812,15 @@ var init_curEpoch_ui = __esm({
|
|
|
792
812
|
y: "0",
|
|
793
813
|
width: "21",
|
|
794
814
|
height: "20",
|
|
795
|
-
children: /* @__PURE__ */ jsx(
|
|
815
|
+
children: /* @__PURE__ */ jsx(
|
|
816
|
+
"rect",
|
|
817
|
+
{
|
|
818
|
+
x: "0.5",
|
|
819
|
+
width: "20",
|
|
820
|
+
height: "20",
|
|
821
|
+
fill: "rgb(var(--oui-color-tertiary))"
|
|
822
|
+
}
|
|
823
|
+
)
|
|
796
824
|
}
|
|
797
825
|
),
|
|
798
826
|
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_1997_45723)", children: /* @__PURE__ */ jsx(
|