@robot-admin/layout 2.2.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robot-admin/layout",
3
- "version": "2.2.0",
3
+ "version": "2.3.1",
4
4
  "description": "Layout and settings management system for Robot Admin - v2.0 with decoupled architecture",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -62,15 +62,15 @@
62
62
  "devDependencies": {
63
63
  "@robot-admin/theme": "workspace:*",
64
64
  "@types/node": "^22.13.9",
65
- "@vitejs/plugin-vue": "^5.2.1",
65
+ "@vitejs/plugin-vue": "^6.0.5",
66
66
  "naive-ui": "^2.41.0",
67
67
  "pinia": "^3.0.1",
68
68
  "sass": "^1.83.4",
69
69
  "typescript": "~5.8.0",
70
- "vite": "^7.0.0",
71
- "vite-plugin-dts": "^4.3.0",
70
+ "vite": "^8.0.1",
71
+ "vite-plugin-dts": "^4.5.4",
72
72
  "vue": "^3.5.13",
73
73
  "vue-router": "^4.5.0",
74
- "vue-tsc": "^2.1.6"
74
+ "vue-tsc": "^3.2.6"
75
75
  }
76
76
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  // Tab 样式
6
6
  .settings-tabs {
7
- :deep(.n-tabs-nav) {
7
+ .n-tabs-nav {
8
8
  padding: 0 4px;
9
9
  }
10
10
  }
@@ -133,7 +133,7 @@
133
133
  .mode-group {
134
134
  width: 100%;
135
135
 
136
- :deep(.n-radio-button) {
136
+ .n-radio-button {
137
137
  flex: 1;
138
138
  }
139
139
  }
@@ -154,10 +154,11 @@
154
154
 
155
155
  // 圆角/动画选择
156
156
  .radius-group,
157
- .transition-group {
157
+ .transition-group,
158
+ .menu-expand-group {
158
159
  width: 100%;
159
160
 
160
- :deep(.n-radio-button) {
161
+ .n-radio-button {
161
162
  flex: 1;
162
163
  }
163
164
  }
@@ -269,11 +270,10 @@
269
270
  height: 48px;
270
271
  color: #999; // 默认:灰色
271
272
  transition: all 0.3s ease;
273
+ }
272
274
 
273
- // SVG rect 强制继承 color
274
- :deep(rect) {
275
- fill: currentColor !important;
276
- }
275
+ .layout-svg rect {
276
+ fill: currentColor !important;
277
277
  }
278
278
  .layout-label {
279
279
  font-size: 13px;