@kodiak-finance/orderly-portfolio 2.9.1 → 2.9.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 +8 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +18 -18
package/dist/index.js
CHANGED
|
@@ -2401,8 +2401,7 @@ var init_assets_ui_desktop = __esm({
|
|
|
2401
2401
|
orderlyUiConnector.AuthGuardDataTable,
|
|
2402
2402
|
{
|
|
2403
2403
|
classNames: {
|
|
2404
|
-
root: "oui-rounded-xl oui-font-semibold"
|
|
2405
|
-
scroll: "oui-h-[252px]"
|
|
2404
|
+
root: "oui-rounded-xl oui-font-semibold"
|
|
2406
2405
|
},
|
|
2407
2406
|
loading: props.canTrade,
|
|
2408
2407
|
columns: [],
|
|
@@ -2410,7 +2409,7 @@ var init_assets_ui_desktop = __esm({
|
|
|
2410
2409
|
}
|
|
2411
2410
|
);
|
|
2412
2411
|
}
|
|
2413
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { width: "100%",
|
|
2412
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Flex, { width: "100%", direction: "column", className: root, children: [
|
|
2414
2413
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2415
2414
|
DataFilterSection,
|
|
2416
2415
|
{
|
|
@@ -2453,8 +2452,10 @@ var init_assets_ui_desktop = __esm({
|
|
|
2453
2452
|
bordered: true,
|
|
2454
2453
|
className: "oui-font-semibold",
|
|
2455
2454
|
classNames: {
|
|
2456
|
-
|
|
2457
|
-
|
|
2455
|
+
scroll: orderlyUi.cn(
|
|
2456
|
+
"oui-h-auto oui-min-h-0 oui-overflow-x-auto oui-overflow-y-visible",
|
|
2457
|
+
dataTableClassNames?.scroll
|
|
2458
|
+
),
|
|
2458
2459
|
...dataTableClassNames
|
|
2459
2460
|
},
|
|
2460
2461
|
columns,
|
|
@@ -2473,7 +2474,7 @@ var init_assets_ui_desktop = __esm({
|
|
|
2473
2474
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2474
2475
|
orderlyUi.Card,
|
|
2475
2476
|
{
|
|
2476
|
-
className: "oui-bg-transparent oui-p-0 oui-
|
|
2477
|
+
className: "oui-border-none oui-bg-transparent oui-p-0 oui-shadow-none",
|
|
2477
2478
|
classNames: { content: "!oui-pt-0" },
|
|
2478
2479
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2479
2480
|
orderlyUi.Tabs,
|
|
@@ -6723,7 +6724,7 @@ var usePortfolioLayoutScript = (props) => {
|
|
|
6723
6724
|
}
|
|
6724
6725
|
];
|
|
6725
6726
|
}, [t]);
|
|
6726
|
-
const hideSideBar =
|
|
6727
|
+
const { isMobile: hideSideBar } = orderlyUi.useScreen();
|
|
6727
6728
|
return {
|
|
6728
6729
|
items,
|
|
6729
6730
|
current,
|