@loykin/designkit 0.0.1-dev.7 → 0.0.1
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.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1479,7 +1479,7 @@ function Sidebar({
|
|
|
1479
1479
|
/* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: "Sidebar" }),
|
|
1480
1480
|
/* @__PURE__ */ jsxRuntime.jsx(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
1481
1481
|
] }),
|
|
1482
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full w-full flex-col", children })
|
|
1482
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full min-h-0 w-full flex-col", children })
|
|
1483
1483
|
]
|
|
1484
1484
|
}
|
|
1485
1485
|
) });
|
|
@@ -2705,7 +2705,7 @@ function WorkbenchBodyTemplate({
|
|
|
2705
2705
|
)
|
|
2706
2706
|
] }),
|
|
2707
2707
|
/* @__PURE__ */ jsxRuntime.jsxs("main", { className: cn("flex min-w-0 flex-1 flex-col overflow-hidden", mainPaneClassName), children: [
|
|
2708
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-
|
|
2708
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-auto", children: mainPane ?? children }),
|
|
2709
2709
|
showBottomPane && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2710
2710
|
resizable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2711
2711
|
ResizeHandle,
|
|
@@ -3143,7 +3143,7 @@ function BrowseBodyTemplate({
|
|
|
3143
3143
|
"div",
|
|
3144
3144
|
{
|
|
3145
3145
|
className: cn(
|
|
3146
|
-
"min-w-0 flex-1 overflow-
|
|
3146
|
+
"min-w-0 flex-1 overflow-auto px-(--designkit-page-padding-x) py-(--designkit-page-padding-y)",
|
|
3147
3147
|
"[&_.gridkit-shell]:h-full [&_.gridkit-table-stack]:flex-1 [&_.gridkit-table-stack]:min-h-0",
|
|
3148
3148
|
"[&_.gridkit-frame]:flex-1 [&_.gridkit-frame]:min-h-0 [&_.gridkit-frame]:overflow-auto",
|
|
3149
3149
|
contentClassName
|
|
@@ -3232,6 +3232,7 @@ function DetailBodyTemplateRoot({
|
|
|
3232
3232
|
aside,
|
|
3233
3233
|
summary,
|
|
3234
3234
|
stickyAside = true,
|
|
3235
|
+
layoutClassName,
|
|
3235
3236
|
contentClassName,
|
|
3236
3237
|
mediaClassName,
|
|
3237
3238
|
asideClassName,
|
|
@@ -3345,7 +3346,8 @@ function DetailBodyTemplateRoot({
|
|
|
3345
3346
|
{
|
|
3346
3347
|
className: cn(
|
|
3347
3348
|
"grid h-full min-h-0 grid-cols-1 overflow-hidden",
|
|
3348
|
-
outsideAsideSlot && "lg:grid-cols-[minmax(0,1fr)_minmax(18rem,24rem)]"
|
|
3349
|
+
outsideAsideSlot && "lg:grid-cols-[minmax(0,1fr)_minmax(18rem,24rem)]",
|
|
3350
|
+
layoutClassName
|
|
3349
3351
|
),
|
|
3350
3352
|
children: [
|
|
3351
3353
|
/* @__PURE__ */ jsxRuntime.jsx(
|