dsh-skill-browser 1.5.8 → 1.5.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/lib/client.js +23 -6
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -697,8 +697,25 @@ window.__ModuleLoader__.load({
|
|
|
697
697
|
var CSS = [
|
|
698
698
|
/* 技能球 */
|
|
699
699
|
'#' + BALL_ID + '{position:fixed;right:74px;bottom:18px;width:46px;height:46px;border-radius:50%;' +
|
|
700
|
-
'background:
|
|
701
|
-
'
|
|
700
|
+
'background:radial-gradient(circle at 50% 60%, rgba(255,255,255,.98) 0%, rgba(214,232,247,.9) 9%, rgba(111,158,232,.7) 18%, rgba(165,46,255,.5) 32%, rgba(206,44,203,.35) 46%, rgba(10,14,30,.9) 66%, rgba(4,6,14,.99) 100%);' +
|
|
701
|
+
'color:#fff;font-size:17px;display:flex;align-items:center;justify-content:center;' +
|
|
702
|
+
'cursor:grab;z-index:2147481000;user-select:none;touch-action:none;transition:transform .15s ease;' +
|
|
703
|
+
'box-shadow:0 0 22px rgba(111,158,232,.45),0 0 4px rgba(206,44,203,.3),0 4px 18px rgba(0,0,0,.55),' +
|
|
704
|
+
'inset 0 1px 3px rgba(255,255,255,.4),inset 0 -8px 16px rgba(206,44,203,.14),inset 0 0 14px rgba(80,120,255,.2);' +
|
|
705
|
+
'text-shadow:0 0 10px rgba(255,255,255,.5),0 1px 3px rgba(0,0,0,.6)}',
|
|
706
|
+
'#' + BALL_ID + ' > *{position:relative;z-index:2}',
|
|
707
|
+
'#' + BALL_ID + '::before{content:"";position:absolute;inset:1px;border-radius:50%;z-index:-1;' +
|
|
708
|
+
'background:radial-gradient(ellipse 85% 26% at 50% 60%, rgba(255,255,255,1) 0%, rgba(235,245,255,.85) 18%, rgba(160,200,255,.5) 38%, rgba(190,120,255,.35) 55%, transparent 75%),' +
|
|
709
|
+
'radial-gradient(ellipse 70% 18% at 45% 42%, rgba(111,158,232,.55) 0%, transparent 70%),' +
|
|
710
|
+
'radial-gradient(ellipse 70% 18% at 55% 74%, rgba(206,44,203,.4) 0%, transparent 70%);' +
|
|
711
|
+
'filter:blur(1px);animation:dsbBandFlow 4.5s ease-in-out infinite}',
|
|
712
|
+
'#' + BALL_ID + '::after{content:"";position:absolute;inset:-1px;border-radius:50%;z-index:-1;' +
|
|
713
|
+
'background:conic-gradient(from 200deg, rgba(255,255,255,.55), rgba(140,180,255,.35), rgba(206,44,203,.4), rgba(255,255,255,.15), rgba(111,158,232,.4), rgba(255,255,255,.55));' +
|
|
714
|
+
'-webkit-mask:radial-gradient(circle, transparent 63%, #000 66%, #000 72%, transparent 76%);' +
|
|
715
|
+
'mask:radial-gradient(circle, transparent 63%, #000 66%, #000 72%, transparent 76%);' +
|
|
716
|
+
'animation:dsbRimSpin 7s linear infinite;filter:blur(.5px)}',
|
|
717
|
+
'@keyframes dsbBandFlow{0%,100%{transform:translateY(-3px) scaleY(.94);opacity:.8}50%{transform:translateY(3px) scaleY(1.12);opacity:1}}',
|
|
718
|
+
'@keyframes dsbRimSpin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',
|
|
702
719
|
'#' + BALL_ID + ':hover{transform:scale(1.08)}',
|
|
703
720
|
'#' + BALL_ID + '.dsb-ghost{width:12px!important;height:12px!important;font-size:0!important;right:10px!important;bottom:10px!important;opacity:.3}',
|
|
704
721
|
'#' + BALL_ID + '.dsb-ghost:hover{opacity:.8}',
|
|
@@ -772,7 +789,7 @@ window.__ModuleLoader__.load({
|
|
|
772
789
|
markRecBadge(id, recBadgeInstalled(id));
|
|
773
790
|
}
|
|
774
791
|
});
|
|
775
|
-
}
|
|
792
|
+
}
|
|
776
793
|
function resetBallToDefault() {
|
|
777
794
|
try { localStorage.removeItem(BALL_POS_KEY); } catch (e) {}
|
|
778
795
|
try { writeStore(BALL_VIS_KEY, true); } catch (e) {}
|
|
@@ -930,7 +947,7 @@ window.__ModuleLoader__.load({
|
|
|
930
947
|
style: { alignSelf: "flex-start", fontSize: "13px", cursor: "pointer",
|
|
931
948
|
background: "rgba(255,210,122,.12)", border: "1px solid rgba(255,210,122,.35)",
|
|
932
949
|
borderRadius: "6px", padding: "6px 12px", color: "#ffd27a" }
|
|
933
|
-
}, isFontEnhancerInstalled() ? "🎯 一键恢复悬浮球默认位置(右下角,双球)" : "🎯 一键恢复悬浮球默认位置(右下角)"));
|
|
950
|
+
}, isFontEnhancerInstalled() ? "🎯 一键恢复悬浮球默认位置(右下角,双球)" : "🎯 一键恢复悬浮球默认位置(右下角)"));
|
|
934
951
|
// ── 推荐插件(v1.5.7 统一三条清单:字体/技能/照片,探测式安装徽标)──
|
|
935
952
|
rows.push(React.createElement("div", { key: "rec-head", style: { fontWeight: "600", marginTop: "12px", marginBottom: "4px", borderTop: "1px solid rgba(255,255,255,.08)", paddingTop: "10px" } }, "推荐插件"));
|
|
936
953
|
function recRow(key, recId, icon, text, repo) {
|
|
@@ -1009,8 +1026,8 @@ window.__ModuleLoader__.load({
|
|
|
1009
1026
|
applyFontBallVisibility();
|
|
1010
1027
|
applyBallVisibility();
|
|
1011
1028
|
} catch (e) {}
|
|
1012
|
-
try { console.log("[dsh-skill-browser] client mounted (v1.4.1 slot-only)"); } catch (e3) {}
|
|
1013
|
-
setTimeout(applyRecBadges, 1200);
|
|
1029
|
+
try { console.log("[dsh-skill-browser] client mounted (v1.4.1 slot-only)"); } catch (e3) {}
|
|
1030
|
+
setTimeout(applyRecBadges, 1200);
|
|
1014
1031
|
setInterval(applyRecBadges, 5000);
|
|
1015
1032
|
};
|
|
1016
1033
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-skill-browser",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
4
4
|
"description": "DSH 技能浏览器:悬浮球面板浏览共享技能库(分类/中文简介/搜索/失效台账/全文查看),含 DSH 设置页悬浮球显隐开关与一键恢复默认位置按钮、技能库位置可配置(原生目录选择框)与技能失效台账自动登记(自动/人工分开显示);推荐插件位仅保留面板设置展开区一处。Skill library browser panel with categories, Chinese descriptions, configurable skill root with native directory chooser, one-click ball position reset and automatic skill-failure ledger.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|