@orderly.network/ui-order-entry 3.0.1 → 3.0.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 CHANGED
@@ -2318,22 +2318,19 @@ var QuantitySlider = React3.memo((props) => {
2318
2318
  ] });
2319
2319
  });
2320
2320
  QuantitySlider.displayName = "QuantitySlider";
2321
- var OrderEntryTypeTabsInjectabled = ui.injectable(
2322
- (props) => {
2323
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
2324
- OrderTypeSelect,
2325
- {
2326
- type: props.type,
2327
- side: props.side,
2328
- canTrade: props.canTrade,
2329
- onChange: props.onChange,
2330
- marketOrderDisabled: props.marketOrderDisabled,
2331
- marketOrderDisabledTooltip: props.marketOrderDisabledTooltip
2332
- }
2333
- ) });
2334
- },
2335
- "Trading.OrderEntry.TypeTabs"
2336
- );
2321
+ var OrderEntryTypeTabsInjectabled = ui.injectable((props) => {
2322
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
2323
+ OrderTypeSelect,
2324
+ {
2325
+ type: props.type,
2326
+ side: props.side,
2327
+ canTrade: props.canTrade,
2328
+ onChange: props.onChange,
2329
+ marketOrderDisabled: props.marketOrderDisabled,
2330
+ marketOrderDisabledTooltip: props.marketOrderDisabledTooltip
2331
+ }
2332
+ ) });
2333
+ }, "Trading.OrderEntry.TypeTabs");
2337
2334
  var OrderEntryBuySellSwitchInjectabled = ui.injectable(
2338
2335
  (props) => {
2339
2336
  const { t } = i18n.useTranslation();
@@ -2342,7 +2339,7 @@ var OrderEntryBuySellSwitchInjectabled = ui.injectable(
2342
2339
  {
2343
2340
  className: ui.cn(
2344
2341
  "oui-orderEntry-side",
2345
- "oui-grid oui-w-full oui-flex-1 oui-gap-x-2 lg:oui-flex lg:oui-gap-x-[6px]",
2342
+ "oui-grid oui-w-full oui-flex-1 oui-gap-x-2 xl:oui-flex xl:oui-gap-x-[6px]",
2346
2343
  "oui-grid-cols-2"
2347
2344
  ),
2348
2345
  children: [
@@ -2386,21 +2383,18 @@ var OrderEntryBuySellSwitchInjectabled = ui.injectable(
2386
2383
  },
2387
2384
  "Trading.OrderEntry.BuySellSwitch"
2388
2385
  );
2389
- var OrderEntryAvailableInjectabled = ui.injectable(
2390
- (props) => {
2391
- return /* @__PURE__ */ jsxRuntime.jsx(
2392
- Available,
2393
- {
2394
- currentLtv: props.currentLtv,
2395
- canTrade: props.canTrade,
2396
- quote: props.quote,
2397
- freeCollateral: props.freeCollateral,
2398
- marginMode: props.marginMode
2399
- }
2400
- );
2401
- },
2402
- "Trading.OrderEntry.Available"
2403
- );
2386
+ var OrderEntryAvailableInjectabled = ui.injectable((props) => {
2387
+ return /* @__PURE__ */ jsxRuntime.jsx(
2388
+ Available,
2389
+ {
2390
+ currentLtv: props.currentLtv,
2391
+ canTrade: props.canTrade,
2392
+ quote: props.quote,
2393
+ freeCollateral: props.freeCollateral,
2394
+ marginMode: props.marginMode
2395
+ }
2396
+ );
2397
+ }, "Trading.OrderEntry.Available");
2404
2398
  var OrderEntryQuantitySliderInjectabled = ui.injectable(
2405
2399
  (props) => {
2406
2400
  return /* @__PURE__ */ jsxRuntime.jsx(