@orderly.network/ui-tpsl 3.0.4-alpha.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.mjs CHANGED
@@ -203,7 +203,7 @@ var PnlInfo = (props) => {
203
203
  /* @__PURE__ */ jsx(
204
204
  Text.numeral,
205
205
  {
206
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ml-1", children: "USDC" }),
206
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ms-1", children: "USDC" }),
207
207
  rule: "price",
208
208
  coloring: true,
209
209
  visible: true,
@@ -218,7 +218,7 @@ var PnlInfo = (props) => {
218
218
  sl_pnl ? /* @__PURE__ */ jsx(
219
219
  Text.numeral,
220
220
  {
221
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ml-1", children: "USDC" }),
221
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ms-1", children: "USDC" }),
222
222
  coloring: true,
223
223
  visible: true,
224
224
  size: "2xs",
@@ -469,7 +469,7 @@ var PNLInput = (props) => {
469
469
  {
470
470
  size: "2xs",
471
471
  color: "inherit",
472
- className: cn("oui-ml-[2px]", color),
472
+ className: cn("oui-ms-[2px]", color),
473
473
  children: "%"
474
474
  }
475
475
  ),
@@ -710,7 +710,7 @@ var RenderROI = (props) => {
710
710
  {
711
711
  className: "oui-px-1 oui-text-base-contrast",
712
712
  dp,
713
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-pl-0.5", children: "USDC" }),
713
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ps-0.5", children: "USDC" }),
714
714
  children: price
715
715
  }
716
716
  ) }, "price"),
@@ -721,7 +721,7 @@ var RenderROI = (props) => {
721
721
  coloring: true,
722
722
  className: "oui-whitespace-nowrap oui-px-1",
723
723
  dp: 2,
724
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-pl-0.5", children: "USDC" }),
724
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ps-0.5", children: "USDC" }),
725
725
  children: pnl
726
726
  }
727
727
  ) }, "pnl"),
@@ -1210,7 +1210,7 @@ var PositionTPSLConfirm = (props) => {
1210
1210
  "oui-text-base-contrast",
1211
1211
  colorType === "TP" ? "oui-text-trade-profit" : "oui-text-trade-loss"
1212
1212
  ),
1213
- unitClassName: "oui-text-base-contrast-36 oui-ml-1",
1213
+ unitClassName: "oui-text-base-contrast-36 oui-ms-1",
1214
1214
  dp: quoteDP,
1215
1215
  padding: false,
1216
1216
  children: price
@@ -1353,7 +1353,7 @@ var PositionTPSLConfirm = (props) => {
1353
1353
  className: textVariants({
1354
1354
  size: "xs",
1355
1355
  intensity: 54,
1356
- className: "oui-ml-1"
1356
+ className: "oui-ms-1"
1357
1357
  }),
1358
1358
  children: t("orderEntry.disableOrderConfirm")
1359
1359
  }
@@ -2403,14 +2403,14 @@ var useColumn = (props) => {
2403
2403
  title: t("common.type"),
2404
2404
  dataIndex: "type",
2405
2405
  width: 35,
2406
- className: "oui-pl-1 oui-py-2",
2406
+ className: "oui-ps-1 oui-py-2",
2407
2407
  render: (_, record) => /* @__PURE__ */ jsx(TypeRender, { order: record })
2408
2408
  },
2409
2409
  {
2410
2410
  title: t("common.trigger"),
2411
2411
  dataIndex: "trigger",
2412
2412
  width: 70,
2413
- className: "oui-pl-1 oui-py-2",
2413
+ className: "oui-ps-1 oui-py-2",
2414
2414
  render: (_, record) => {
2415
2415
  return /* @__PURE__ */ jsx(TriggerPrice, { order: record });
2416
2416
  }
@@ -2433,7 +2433,7 @@ var useColumn = (props) => {
2433
2433
  ),
2434
2434
  dataIndex: "estpnl",
2435
2435
  width: 70,
2436
- className: "!oui-pr-0 oui-py-2",
2436
+ className: "!oui-pe-0 oui-py-2",
2437
2437
  render: (_, record) => /* @__PURE__ */ jsx(EstPnlRender, { order: record })
2438
2438
  }
2439
2439
  ];
@@ -2442,21 +2442,21 @@ var useColumn = (props) => {
2442
2442
  title: t("tpsl.tpslDetail.qty"),
2443
2443
  dataIndex: "quantity",
2444
2444
  width: 70,
2445
- className: cn(" oui-py-2 !oui-pl-5"),
2445
+ className: cn(" oui-py-2 !oui-ps-5"),
2446
2446
  render: (_, record) => /* @__PURE__ */ jsx(QtyRender, { order: record })
2447
2447
  },
2448
2448
  {
2449
2449
  title: t("common.type"),
2450
2450
  dataIndex: "type",
2451
2451
  width: 35,
2452
- className: "oui-pl-1 oui-py-2",
2452
+ className: "oui-ps-1 oui-py-2",
2453
2453
  render: (_, record) => /* @__PURE__ */ jsx(TypeRender, { order: record })
2454
2454
  },
2455
2455
  {
2456
2456
  title: t("common.trigger"),
2457
2457
  dataIndex: "trigger",
2458
2458
  width: 70,
2459
- className: "oui-pl-1 oui-py-2",
2459
+ className: "oui-ps-1 oui-py-2",
2460
2460
  render: (_, record) => {
2461
2461
  return /* @__PURE__ */ jsx(TriggerPrice, { order: record });
2462
2462
  }
@@ -2465,7 +2465,7 @@ var useColumn = (props) => {
2465
2465
  title: t("common.price"),
2466
2466
  dataIndex: "price",
2467
2467
  width: 70,
2468
- className: "oui-pl-1 oui-py-2",
2468
+ className: "oui-ps-1 oui-py-2",
2469
2469
  render: (_, record) => /* @__PURE__ */ jsx(OrderPriceRender, { order: record })
2470
2470
  },
2471
2471
  {
@@ -2479,14 +2479,14 @@ var useColumn = (props) => {
2479
2479
  ),
2480
2480
  dataIndex: "estpnl",
2481
2481
  width: 70,
2482
- className: "oui-pl-1 oui-py-2",
2482
+ className: "oui-ps-1 oui-py-2",
2483
2483
  render: (_, record) => /* @__PURE__ */ jsx(EstPnlRender, { order: record })
2484
2484
  },
2485
2485
  {
2486
2486
  title: "",
2487
2487
  dataIndex: "delete",
2488
2488
  width: 50,
2489
- className: cn("oui-py-2 !oui-pr-5"),
2489
+ className: cn("oui-py-2 !oui-pe-5"),
2490
2490
  render: (_, record) => {
2491
2491
  return /* @__PURE__ */ jsx(CancelAllBtn, { order: record, onCancelOrder });
2492
2492
  }
@@ -3188,7 +3188,7 @@ var TPSLSimpleDialogUI = (props) => {
3188
3188
  sl_pnl ? /* @__PURE__ */ jsx(
3189
3189
  Text.numeral,
3190
3190
  {
3191
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ml-1 oui-text-base-contrast-36", children: "USDC" }),
3191
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ms-1 oui-text-base-contrast-36", children: "USDC" }),
3192
3192
  coloring: true,
3193
3193
  visible: true,
3194
3194
  size: "2xs",
@@ -3203,7 +3203,7 @@ var TPSLSimpleDialogUI = (props) => {
3203
3203
  /* @__PURE__ */ jsx(
3204
3204
  Text.numeral,
3205
3205
  {
3206
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ml-1", children: "USDC" }),
3206
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-text-base-contrast-36 oui-ms-1", children: "USDC" }),
3207
3207
  rule: "price",
3208
3208
  coloring: true,
3209
3209
  visible: true,
@@ -3243,7 +3243,7 @@ var TPSLSimpleDialogUI = (props) => {
3243
3243
  Text.numeral,
3244
3244
  {
3245
3245
  className: "oui-text-base-contrast",
3246
- suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ml-1 oui-text-xs oui-text-base-contrast-36", children: "USDC" }),
3246
+ suffix: /* @__PURE__ */ jsx(Text, { className: "oui-ms-1 oui-text-xs oui-text-base-contrast-36", children: "USDC" }),
3247
3247
  rule: "price",
3248
3248
  size: "xs",
3249
3249
  dp: props.symbolInfo("quote_dp"),