From b8718d6810bdd7fb9f45eb3e50e101cc2e8c455c Mon Sep 17 00:00:00 2001 From: qiqi Date: Mon, 23 Nov 2026 20:15:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor(gallery,grouplib):=20=E5=B0=BA?= =?UTF-8?q?=E5=AF=B8=E6=94=B6=E8=BF=9B=20token=20=E9=97=AD=E9=9B=86?= =?UTF-8?q?=EF=BC=881.6.10=20/=201.0.5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gallery/package.json | 2 +- gallery/src/index.js | 2 +- gallery/styles.css | 8 ++++---- grouplib/package.json | 2 +- grouplib/src/index.js | 2 +- grouplib/styles.css | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gallery/package.json b/gallery/package.json index 24bfa9e..57579e0 100644 --- a/gallery/package.json +++ b/gallery/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/gallery", "private": true, - "version": "1.6.9", + "version": "1.6.10", "description": "图库:右栏图片墙(筛选/多选/预览/插入画布/下载/删除),数据由宿主 gallery 能力提供", "ibwPlugin": { "id": "gallery", diff --git a/gallery/src/index.js b/gallery/src/index.js index 6cb58c2..ee56dc9 100644 --- a/gallery/src/index.js +++ b/gallery/src/index.js @@ -538,7 +538,7 @@ global.IWBPluginHost.register({ id: 'gallery', name: '图库', - version: '1.6.9', + version: '1.6.10', apiVersion: 1, capabilities: ['panels', 'gallery'], data: { schemaVersion: 1, maxBytes: 65536 }, diff --git a/gallery/styles.css b/gallery/styles.css index d4e9af4..cefd2a7 100644 --- a/gallery/styles.css +++ b/gallery/styles.css @@ -13,7 +13,7 @@ /* ---- 顶栏 ---- */ .iwb-gal-head { display: flex; align-items: center; gap: 6px; min-height: 0; } .iwb-gal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; } -.iwb-gal-actions .iwb-btn-sm { padding: 2px 7px; } +.iwb-gal-actions .iwb-btn-sm { padding: 2px 6px; } /* ---- 底栏:左信息 / 右工具组 ---- */ .iwb-gal-foot { @@ -32,7 +32,7 @@ .iwb-gal-foot .iwb-gal-icobtn:active { width: 20px; height: 20px; min-width: 20px; padding: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; - border: 0; box-shadow: none; background: transparent; border-radius: 4px; + border: 0; box-shadow: none; background: transparent; border-radius: 6px; color: var(--iwb-text2); line-height: 1; transform: none; } .iwb-gal-foot .iwb-gal-icobtn svg { display: block; pointer-events: none; } @@ -43,7 +43,7 @@ /* ---- 设置浮层(三个下拉不占前台) ---- */ .iwb-gal-settings { position: absolute; right: 8px; bottom: 34px; z-index: 30; width: 176px; max-width: calc(100% - 16px); - display: flex; flex-direction: column; gap: 8px; padding: 9px 10px; + display: flex; flex-direction: column; gap: 8px; padding: 8px 10px; background: var(--iwb-layer); border: 1px solid var(--iwb-border); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); } @@ -65,7 +65,7 @@ font-size: 11px; color: var(--iwb-text2); background: var(--iwb-layer2); word-break: break-all; } .iwb-history-actions { display: flex; gap: 4px; padding: 4px 2px 0; } -.iwb-history-actions .iwb-btn-sm { padding: 1px 6px; font-size: 10px; } +.iwb-history-actions .iwb-btn-sm { padding: 2px 6px; font-size: 11px; } .iwb-history-more { display: flex; justify-content: center; padding: 4px 0 2px; } /* 只作用于图库自己的空态提示:不加前缀会泄漏到设置页等使用 .iwb-hint 的地方(文字被居中) */ .iwb-history-embedded .iwb-hint { font-size: 11px; color: var(--iwb-text2); text-align: center; padding: 12px 6px; } diff --git a/grouplib/package.json b/grouplib/package.json index d67523c..7509050 100644 --- a/grouplib/package.json +++ b/grouplib/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/grouplib", "private": true, - "version": "1.0.4", + "version": "1.0.5", "description": "节点组:左栏收藏的节点组列表(分组/改名/删除/拖入画布实例化),数据由宿主 grouplib 能力提供", "ibwPlugin": { "id": "grouplib", diff --git a/grouplib/src/index.js b/grouplib/src/index.js index cce47da..030bab2 100644 --- a/grouplib/src/index.js +++ b/grouplib/src/index.js @@ -439,7 +439,7 @@ global.IWBPluginHost.register({ id: 'grouplib', name: '节点组', - version: '1.0.4', + version: '1.0.5', apiVersion: 1, capabilities: ['panels', 'grouplib'], data: { schemaVersion: 1, maxBytes: 65536 }, diff --git a/grouplib/styles.css b/grouplib/styles.css index 251670e..fd63e13 100644 --- a/grouplib/styles.css +++ b/grouplib/styles.css @@ -36,7 +36,7 @@ .iwb-glp-dragging { opacity: .55; } /* 空态:虚线框 */ .iwb-glp-empty { - margin: 4px 0; padding: 14px 12px; border-radius: 10px; text-align: center; + margin: 4px 0; padding: 12px 12px; border-radius: 10px; text-align: center; border: 1px dashed var(--iwb-border2, #b9bfca); color: var(--iwb-text2, #4d5668); font-size: 12px; line-height: 1.7; }