@kopexa/split-page-layout 17.0.16 → 17.0.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/{chunk-JDU2RK75.mjs → chunk-DVM5IUMK.mjs} +4 -3
- package/dist/index.js +4 -3
- package/dist/index.mjs +1 -1
- package/dist/split-page-layout.d.mts +1 -1
- package/dist/split-page-layout.d.ts +1 -1
- package/dist/split-page-layout.js +4 -3
- package/dist/split-page-layout.mjs +1 -1
- package/package.json +9 -9
|
@@ -70,10 +70,11 @@ var SplitPageLayoutRoot = (props) => {
|
|
|
70
70
|
};
|
|
71
71
|
var SplitPageLayoutContent = ({
|
|
72
72
|
className,
|
|
73
|
+
children,
|
|
73
74
|
...props
|
|
74
75
|
}) => {
|
|
75
76
|
const { styles } = useProvider();
|
|
76
|
-
return /* @__PURE__ */ jsx(Resizable.Panel, { className: styles.content({ className }), ...props });
|
|
77
|
+
return /* @__PURE__ */ jsx(Resizable.Panel, { className: styles.content({ className }), ...props, children: /* @__PURE__ */ jsx("div", { className: styles.contentBody(), children }) });
|
|
77
78
|
};
|
|
78
79
|
var SplitPageLayoutPanel = ({
|
|
79
80
|
className,
|
|
@@ -106,7 +107,7 @@ var SplitPageLayoutPanel = ({
|
|
|
106
107
|
/* @__PURE__ */ jsx(Drawer.Title, { children: "Panel" }),
|
|
107
108
|
/* @__PURE__ */ jsx(Drawer.Description, { children: "Displays the mobile panel." })
|
|
108
109
|
] }),
|
|
109
|
-
/* @__PURE__ */ jsx("div", { className: styles.panelContainer(), children: /* @__PURE__ */ jsx("div", { className: styles.panel(), children }) })
|
|
110
|
+
/* @__PURE__ */ jsx("div", { className: styles.panelContainer(), children: /* @__PURE__ */ jsx("div", { className: styles.panel(), children: /* @__PURE__ */ jsx("div", { className: styles.panelBody(), children }) }) })
|
|
110
111
|
] })
|
|
111
112
|
}
|
|
112
113
|
)
|
|
@@ -123,7 +124,7 @@ var SplitPageLayoutPanel = ({
|
|
|
123
124
|
maxSize: 50,
|
|
124
125
|
order: 2,
|
|
125
126
|
...props,
|
|
126
|
-
children: /* @__PURE__ */ jsx("div", { className: styles.panel(), children })
|
|
127
|
+
children: /* @__PURE__ */ jsx("div", { className: styles.panel(), children: /* @__PURE__ */ jsx("div", { className: styles.panelBody(), children }) })
|
|
127
128
|
}
|
|
128
129
|
)
|
|
129
130
|
] });
|
package/dist/index.js
CHANGED
|
@@ -91,10 +91,11 @@ var SplitPageLayoutRoot = (props) => {
|
|
|
91
91
|
};
|
|
92
92
|
var SplitPageLayoutContent = ({
|
|
93
93
|
className,
|
|
94
|
+
children,
|
|
94
95
|
...props
|
|
95
96
|
}) => {
|
|
96
97
|
const { styles } = useProvider();
|
|
97
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_resizable.Resizable.Panel, { className: styles.content({ className }), ...props });
|
|
98
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_resizable.Resizable.Panel, { className: styles.content({ className }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.contentBody(), children }) });
|
|
98
99
|
};
|
|
99
100
|
var SplitPageLayoutPanel = ({
|
|
100
101
|
className,
|
|
@@ -127,7 +128,7 @@ var SplitPageLayoutPanel = ({
|
|
|
127
128
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_drawer.Drawer.Title, { children: "Panel" }),
|
|
128
129
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_drawer.Drawer.Description, { children: "Displays the mobile panel." })
|
|
129
130
|
] }),
|
|
130
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelContainer(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children }) })
|
|
131
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelContainer(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelBody(), children }) }) })
|
|
131
132
|
] })
|
|
132
133
|
}
|
|
133
134
|
)
|
|
@@ -144,7 +145,7 @@ var SplitPageLayoutPanel = ({
|
|
|
144
145
|
maxSize: 50,
|
|
145
146
|
order: 2,
|
|
146
147
|
...props,
|
|
147
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children })
|
|
148
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelBody(), children }) })
|
|
148
149
|
}
|
|
149
150
|
)
|
|
150
151
|
] });
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ type SplitPageLayoutProps = Omit<ResizableProps, "direction"> & SplitPageLayoutV
|
|
|
10
10
|
};
|
|
11
11
|
type PageLayoutBleedProps = ComponentProps<"div">;
|
|
12
12
|
declare const SplitPageLayout: ((props: SplitPageLayoutProps) => react_jsx_runtime.JSX.Element) & {
|
|
13
|
-
Content: ({ className, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
13
|
+
Content: ({ className, children, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
14
14
|
Panel: ({ className, children, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
15
15
|
Bleed: ({ className, ...props }: PageLayoutBleedProps) => react_jsx_runtime.JSX.Element;
|
|
16
16
|
};
|
|
@@ -10,7 +10,7 @@ type SplitPageLayoutProps = Omit<ResizableProps, "direction"> & SplitPageLayoutV
|
|
|
10
10
|
};
|
|
11
11
|
type PageLayoutBleedProps = ComponentProps<"div">;
|
|
12
12
|
declare const SplitPageLayout: ((props: SplitPageLayoutProps) => react_jsx_runtime.JSX.Element) & {
|
|
13
|
-
Content: ({ className, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
13
|
+
Content: ({ className, children, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
14
14
|
Panel: ({ className, children, ...props }: ResizablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
15
15
|
Bleed: ({ className, ...props }: PageLayoutBleedProps) => react_jsx_runtime.JSX.Element;
|
|
16
16
|
};
|
|
@@ -89,10 +89,11 @@ var SplitPageLayoutRoot = (props) => {
|
|
|
89
89
|
};
|
|
90
90
|
var SplitPageLayoutContent = ({
|
|
91
91
|
className,
|
|
92
|
+
children,
|
|
92
93
|
...props
|
|
93
94
|
}) => {
|
|
94
95
|
const { styles } = useProvider();
|
|
95
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_resizable.Resizable.Panel, { className: styles.content({ className }), ...props });
|
|
96
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_resizable.Resizable.Panel, { className: styles.content({ className }), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.contentBody(), children }) });
|
|
96
97
|
};
|
|
97
98
|
var SplitPageLayoutPanel = ({
|
|
98
99
|
className,
|
|
@@ -125,7 +126,7 @@ var SplitPageLayoutPanel = ({
|
|
|
125
126
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_drawer.Drawer.Title, { children: "Panel" }),
|
|
126
127
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_drawer.Drawer.Description, { children: "Displays the mobile panel." })
|
|
127
128
|
] }),
|
|
128
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelContainer(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children }) })
|
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelContainer(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelBody(), children }) }) })
|
|
129
130
|
] })
|
|
130
131
|
}
|
|
131
132
|
)
|
|
@@ -142,7 +143,7 @@ var SplitPageLayoutPanel = ({
|
|
|
142
143
|
maxSize: 50,
|
|
143
144
|
order: 2,
|
|
144
145
|
...props,
|
|
145
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children })
|
|
146
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panel(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.panelBody(), children }) })
|
|
146
147
|
}
|
|
147
148
|
)
|
|
148
149
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/split-page-layout",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.18",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"split-page-layout"
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "17.
|
|
31
|
+
"@kopexa/theme": "17.10.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@kopexa/shared-utils": "17.0.
|
|
35
|
-
"@kopexa/react-utils": "17.0.
|
|
36
|
-
"@kopexa/
|
|
37
|
-
"@kopexa/
|
|
38
|
-
"@kopexa/icons": "17.
|
|
39
|
-
"@kopexa/button": "17.0.
|
|
40
|
-
"@kopexa/resizable": "17.0.
|
|
34
|
+
"@kopexa/shared-utils": "17.0.18",
|
|
35
|
+
"@kopexa/react-utils": "17.0.18",
|
|
36
|
+
"@kopexa/use-is-mobile": "17.0.18",
|
|
37
|
+
"@kopexa/drawer": "17.0.18",
|
|
38
|
+
"@kopexa/icons": "17.3.0",
|
|
39
|
+
"@kopexa/button": "17.0.18",
|
|
40
|
+
"@kopexa/resizable": "17.0.18"
|
|
41
41
|
},
|
|
42
42
|
"clean-package": "../../../clean-package.config.json",
|
|
43
43
|
"module": "dist/index.mjs",
|