@robot-admin/layout 2.3.0 → 2.3.2
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/README.md +37 -3
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -6
- package/dist/index.js +519 -349
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/styles/settings.scss +10 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robot-admin/layout",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Layout and settings management system for Robot Admin - v2.0 with decoupled architecture",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"dev": "vite build --watch",
|
|
50
50
|
"build": "vue-tsc --noEmit && vite build",
|
|
51
|
-
"clean": "
|
|
51
|
+
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
52
|
+
"test": "vitest run tests",
|
|
52
53
|
"type-check": "vue-tsc --noEmit",
|
|
53
54
|
"prepublishOnly": "bun run build"
|
|
54
55
|
},
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"vue-router": "^4.0.0",
|
|
58
59
|
"pinia": "^2.0.0 || ^3.0.0",
|
|
59
60
|
"naive-ui": "^2.38.0",
|
|
60
|
-
"@robot-admin/theme": "^0.
|
|
61
|
+
"@robot-admin/theme": "^0.3.0 || ^0.4.0"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@robot-admin/theme": "workspace:*",
|
package/src/styles/settings.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// Tab 样式
|
|
6
6
|
.settings-tabs {
|
|
7
|
-
|
|
7
|
+
.n-tabs-nav {
|
|
8
8
|
padding: 0 4px;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
.preset-card:focus-visible,
|
|
100
|
+
.layout-item:focus-visible {
|
|
101
|
+
outline: 2px solid var(--n-color-target);
|
|
102
|
+
outline-offset: 2px;
|
|
103
|
+
}
|
|
104
|
+
|
|
99
105
|
.preset-icon {
|
|
100
106
|
font-size: 36px;
|
|
101
107
|
margin-bottom: 10px;
|
|
@@ -133,7 +139,7 @@
|
|
|
133
139
|
.mode-group {
|
|
134
140
|
width: 100%;
|
|
135
141
|
|
|
136
|
-
|
|
142
|
+
.n-radio-button {
|
|
137
143
|
flex: 1;
|
|
138
144
|
}
|
|
139
145
|
}
|
|
@@ -158,7 +164,7 @@
|
|
|
158
164
|
.menu-expand-group {
|
|
159
165
|
width: 100%;
|
|
160
166
|
|
|
161
|
-
|
|
167
|
+
.n-radio-button {
|
|
162
168
|
flex: 1;
|
|
163
169
|
}
|
|
164
170
|
}
|
|
@@ -272,7 +278,7 @@
|
|
|
272
278
|
transition: all 0.3s ease;
|
|
273
279
|
}
|
|
274
280
|
|
|
275
|
-
|
|
281
|
+
.layout-svg rect {
|
|
276
282
|
fill: currentColor !important;
|
|
277
283
|
}
|
|
278
284
|
.layout-label {
|