@sqrzro/admin 4.0.0-alpha.20 → 4.0.0-alpha.21
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
function AdminPanel({ actions, children, title }) {
|
|
3
|
-
return (_jsxs("section", { className: "page-content-block rounded bg-white p-6 shadow", children: [title ? (_jsxs("header", { className: "-mt-6 mb-
|
|
3
|
+
return (_jsxs("section", { className: "page-content-block rounded bg-white p-6 shadow", children: [title ? (_jsxs("header", { className: "-mt-6 mb-4 flex h-16 items-center justify-between border-b border-slate-200", children: [_jsx("h3", { className: "text-lg font-semibold leading-none", children: title }), actions] })) : null, _jsx("div", { className: "flex flex-col gap-6", children: children })] }));
|
|
4
4
|
}
|
|
5
5
|
export default AdminPanel;
|
|
@@ -92,6 +92,11 @@ const classNameConfig = twx({
|
|
|
92
92
|
title: 'mb-1 font-semibold',
|
|
93
93
|
description: 'mb-2 text-xs italic text-slate-700',
|
|
94
94
|
},
|
|
95
|
+
definitionList: {
|
|
96
|
+
root: 'flex flex-col gap-4',
|
|
97
|
+
row: 'relative border-b border-slate-200 pb-4',
|
|
98
|
+
term: 'pb-1 text-slate-500',
|
|
99
|
+
},
|
|
95
100
|
dropdown: {
|
|
96
101
|
item: {
|
|
97
102
|
default: 'flex flex-col items-start justify-center gap-1.5 border-b border-slate-100 p-3',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqrzro/admin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-alpha.
|
|
4
|
+
"version": "4.0.0-alpha.21",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "ISC",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^19.2.4",
|
|
24
24
|
"react-dom": "^19.2.4",
|
|
25
25
|
"tailwindcss": "^4.2.1",
|
|
26
|
-
"@sqrzro/addon-auth": "^4.0.0-alpha.
|
|
27
|
-
"@sqrzro/ui": "^4.0.0-alpha.
|
|
26
|
+
"@sqrzro/addon-auth": "^4.0.0-alpha.11",
|
|
27
|
+
"@sqrzro/ui": "^4.0.0-alpha.51"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^19.2.14",
|