ai-design-system 0.1.23 → 0.1.24
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/components/blocks/SectionLayout/SectionLayout.tsx +2 -2
- package/components/features/PageLayout/PageLayout.tsx +1 -1
- package/components/features/WorkflowObservabilityFeature/WorkflowObservabilityFeature.tsx +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,11 +26,11 @@ export const SectionLayout = React.memo<SectionLayoutProps>(
|
|
|
26
26
|
const transformedSections = sections.map(section => ({
|
|
27
27
|
...section,
|
|
28
28
|
content: (
|
|
29
|
-
<div className="h-full min-h-0 flex flex-col">
|
|
29
|
+
<div className="h-full min-h-0 flex flex-col overflow-hidden">
|
|
30
30
|
{section.header && (
|
|
31
31
|
<AppHeader {...section.header} />
|
|
32
32
|
)}
|
|
33
|
-
<div className="min-h-0 flex-1">
|
|
33
|
+
<div className="min-h-0 flex-1 overflow-auto">
|
|
34
34
|
{section.content}
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
@@ -136,7 +136,7 @@ export const PageLayout = React.memo<PageLayoutProps>(
|
|
|
136
136
|
<AppSidebar {...sidebar} />
|
|
137
137
|
<PageContainer className={`overflow-hidden ${className ?? ""}`}>
|
|
138
138
|
<AppHeader {...header} />
|
|
139
|
-
<div className=
|
|
139
|
+
<div className={`min-h-0 flex-1 overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`}>
|
|
140
140
|
{contentArea}
|
|
141
141
|
</div>
|
|
142
142
|
</PageContainer>
|
|
@@ -65,7 +65,7 @@ function buildObservabilitySections({
|
|
|
65
65
|
return [
|
|
66
66
|
{
|
|
67
67
|
...traceSection,
|
|
68
|
-
defaultSize:
|
|
68
|
+
defaultSize: 66.67,
|
|
69
69
|
minSize: 55,
|
|
70
70
|
},
|
|
71
71
|
{
|
|
@@ -80,7 +80,7 @@ function buildObservabilitySections({
|
|
|
80
80
|
spans={spans}
|
|
81
81
|
/>
|
|
82
82
|
),
|
|
83
|
-
defaultSize:
|
|
83
|
+
defaultSize: 33.33,
|
|
84
84
|
minSize: 25,
|
|
85
85
|
},
|
|
86
86
|
]
|
package/dist/index.cjs
CHANGED
|
@@ -9134,9 +9134,9 @@ var SectionLayout = React33__namespace.memo(
|
|
|
9134
9134
|
"className"
|
|
9135
9135
|
]);
|
|
9136
9136
|
const transformedSections = sections.map((section) => __spreadProps(__spreadValues({}, section), {
|
|
9137
|
-
content: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 flex flex-col", children: [
|
|
9137
|
+
content: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 flex flex-col overflow-hidden", children: [
|
|
9138
9138
|
section.header && /* @__PURE__ */ jsxRuntime.jsx(AppHeader, __spreadValues({}, section.header)),
|
|
9139
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: section.content })
|
|
9139
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-auto", children: section.content })
|
|
9140
9140
|
] })
|
|
9141
9141
|
}));
|
|
9142
9142
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -9703,7 +9703,7 @@ var PageLayout = React33__namespace.memo(
|
|
|
9703
9703
|
/* @__PURE__ */ jsxRuntime.jsx(AppSidebar, __spreadValues({}, sidebar)),
|
|
9704
9704
|
/* @__PURE__ */ jsxRuntime.jsxs(PageContainer, { className: `overflow-hidden ${className != null ? className : ""}`, children: [
|
|
9705
9705
|
/* @__PURE__ */ jsxRuntime.jsx(AppHeader, __spreadValues({}, header)),
|
|
9706
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9706
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `min-h-0 flex-1 overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`, children: contentArea })
|
|
9707
9707
|
] })
|
|
9708
9708
|
]
|
|
9709
9709
|
}
|
|
@@ -10508,7 +10508,7 @@ function buildObservabilitySections({
|
|
|
10508
10508
|
}
|
|
10509
10509
|
return [
|
|
10510
10510
|
__spreadProps(__spreadValues({}, traceSection), {
|
|
10511
|
-
defaultSize:
|
|
10511
|
+
defaultSize: 66.67,
|
|
10512
10512
|
minSize: 55
|
|
10513
10513
|
}),
|
|
10514
10514
|
{
|
|
@@ -10524,7 +10524,7 @@ function buildObservabilitySections({
|
|
|
10524
10524
|
spans
|
|
10525
10525
|
}
|
|
10526
10526
|
),
|
|
10527
|
-
defaultSize:
|
|
10527
|
+
defaultSize: 33.33,
|
|
10528
10528
|
minSize: 25
|
|
10529
10529
|
}
|
|
10530
10530
|
];
|