@ttoss/layouts 0.4.17 → 0.4.18
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/esm/index.js +7 -5
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -2454,7 +2454,7 @@ Sidebar.displayName = "Sidebar";
|
|
|
2454
2454
|
// src/components/Header.tsx
|
|
2455
2455
|
import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
2456
2456
|
var paddingSx = {
|
|
2457
|
-
paddingX: "4",
|
|
2457
|
+
paddingX: ["2", "4", "4"],
|
|
2458
2458
|
paddingY: "3"
|
|
2459
2459
|
};
|
|
2460
2460
|
var Header = ({
|
|
@@ -2494,9 +2494,9 @@ var Header = ({
|
|
|
2494
2494
|
}
|
|
2495
2495
|
return /* @__PURE__ */jsxs2(Flex2, {
|
|
2496
2496
|
sx: {
|
|
2497
|
-
minWidth: SIDEBAR_WIDTH,
|
|
2498
|
-
width: SIDEBAR_WIDTH,
|
|
2499
|
-
borderRight: "sm",
|
|
2497
|
+
minWidth: ["12rem", "3xs", SIDEBAR_WIDTH],
|
|
2498
|
+
width: ["12rem", "3xs", SIDEBAR_WIDTH],
|
|
2499
|
+
borderRight: ["none", "sm", "sm"],
|
|
2500
2500
|
borderColor: "display.border.muted.default",
|
|
2501
2501
|
alignItems: "center",
|
|
2502
2502
|
gap: "2",
|
|
@@ -2521,7 +2521,9 @@ var Header = ({
|
|
|
2521
2521
|
},
|
|
2522
2522
|
children: [memoizedSidebarSlot, /* @__PURE__ */jsx5(Box3, {
|
|
2523
2523
|
sx: {
|
|
2524
|
-
width: "
|
|
2524
|
+
width: "full",
|
|
2525
|
+
display: ["flex", "unset", "unset"],
|
|
2526
|
+
justifyContent: ["center", "unset", "unset"],
|
|
2525
2527
|
...(sidebarSlot ? paddingSx : {})
|
|
2526
2528
|
},
|
|
2527
2529
|
children
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/layouts",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.18",
|
|
4
4
|
"description": "Layout components for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.8.0",
|
|
28
|
-
"@ttoss/
|
|
29
|
-
"@ttoss/
|
|
28
|
+
"@ttoss/components": "^2.2.9",
|
|
29
|
+
"@ttoss/ui": "^5.5.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/jest": "^29.5.14",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"jest": "^29.7.0",
|
|
35
35
|
"react": "^19.0.0",
|
|
36
36
|
"tsup": "^8.3.5",
|
|
37
|
+
"@ttoss/components": "^2.2.9",
|
|
37
38
|
"@ttoss/react-icons": "^0.4.9",
|
|
38
39
|
"@ttoss/test-utils": "^2.1.22",
|
|
39
|
-
"@ttoss/config": "^1.35.2",
|
|
40
40
|
"@ttoss/ui": "^5.5.5",
|
|
41
|
-
"@ttoss/
|
|
41
|
+
"@ttoss/config": "^1.35.2"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
44
|
"React"
|