@allbluecn/web-app 0.24.8 → 0.24.9
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
|
@@ -98,15 +98,16 @@ export function DashboardSidebar() {
|
|
|
98
98
|
);
|
|
99
99
|
|
|
100
100
|
return (
|
|
101
|
-
// 折叠态自绘红绿灯:容器顶部让出
|
|
102
|
-
//
|
|
101
|
+
// 折叠态自绘红绿灯:容器顶部让出 36px,背景卡片整体落到红绿灯下方。圆点占
|
|
102
|
+
// y=18..30,故红绿灯上方留白 18px、下方仅 6px——上下不对称是有意的(用户
|
|
103
|
+
// 2026-11-03 调校:卡片贴近红绿灯,让上下间距差别明显);padding-top 纳入
|
|
103
104
|
// transition,展开/折叠时与宽度动画同步升降
|
|
104
105
|
<Sidebar
|
|
105
106
|
variant="floating"
|
|
106
107
|
collapsible="icon"
|
|
107
108
|
className={cn(
|
|
108
109
|
"transition-[left,right,width,padding-top]",
|
|
109
|
-
showCustomTrafficLights && "pt-
|
|
110
|
+
showCustomTrafficLights && "pt-9",
|
|
110
111
|
)}
|
|
111
112
|
>
|
|
112
113
|
<SidebarHeader
|
|
@@ -116,11 +117,12 @@ export function DashboardSidebar() {
|
|
|
116
117
|
// 桌面展开态:整块 header 为拖动区(第二行 logo 左对齐),按钮逐个 no-drag;
|
|
117
118
|
// gap-2 拉开红绿灯行与 logo 行间距(用户调校 2026-10-31)
|
|
118
119
|
!isCollapsed && showTrafficLightRow && "app-region-drag w-full items-stretch justify-start gap-2 py-1",
|
|
119
|
-
//
|
|
120
|
-
//
|
|
120
|
+
// 折叠态卡内上内边距:非全屏(红绿灯在卡外)与全屏(无红绿灯)统一 16px,
|
|
121
|
+
// 两态 logo 距卡片顶边一致;旧壳无自绘能力时不抬容器,保持 pt-8 给原生三键让位
|
|
121
122
|
isCollapsed && isDesktop && !isFullscreen && "app-region-drag",
|
|
122
123
|
isCollapsed && isDesktop && !isFullscreen &&
|
|
123
124
|
(showCustomTrafficLights ? "pt-4" : "pt-8"),
|
|
125
|
+
isCollapsed && isDesktop && isFullscreen && "pt-4",
|
|
124
126
|
)}
|
|
125
127
|
>
|
|
126
128
|
{isCollapsed ? (
|
|
@@ -112,7 +112,7 @@ export const SDK_GROUPS: SdkGroup[] = [
|
|
|
112
112
|
"items": [
|
|
113
113
|
{
|
|
114
114
|
"name": "@allbluecn/web-app",
|
|
115
|
-
"version": "v0.24.
|
|
115
|
+
"version": "v0.24.9",
|
|
116
116
|
"lastUpdate": "Nov 3, 2026",
|
|
117
117
|
"source": "apps/web/package.json",
|
|
118
118
|
"docsUrl": "https://github.com/allbluecn/allblue"
|