@monotykamary/dsh-client-ui-settings-plugins 0.1.7 → 0.1.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/README.i18n.yaml +1 -1
- package/lib/client.js +42 -42
- package/package.json +23 -23
- package/LICENSE +0 -21
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
|
-
#
|
|
4
|
+
# bun run verify-translation-pairing --write packages/client/ui-settings-plugins/README.md
|
|
5
5
|
README.md: 0ee0edbebadad8e8e895002cd9eb60a20f45809d
|
|
6
6
|
README.zh.md: b57fe9522dcc37b67f494199b3bb6ef0cf4a2a54
|
package/lib/client.js
CHANGED
|
@@ -9,8 +9,8 @@ window.__ModuleLoader__.load({
|
|
|
9
9
|
let react = require("react");
|
|
10
10
|
let _monotykamary_dsh_client_ui_primitives = require("@monotykamary/dsh-client-ui-primitives");
|
|
11
11
|
let _monotykamary_dsh_client_runtime_client = require("@monotykamary/dsh-client-runtime/client");
|
|
12
|
-
//#region \0dsh-css:/
|
|
13
|
-
const css$2 = ".
|
|
12
|
+
//#region \0dsh-css:/Users/monotykamary/VCS/working-remote/open-source/deepseek-harness/packages/client/ui-settings-plugins/src/client/fields.module.css.mjs
|
|
13
|
+
const css$2 = ".tp98LG_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.tp98LG_field+.tp98LG_field{border-top:1px solid var(--dsw-alias-border-l2)}.tp98LG_head{align-items:center;gap:8px;display:flex}.tp98LG_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:500;line-height:1.5}.tp98LG_badges{align-items:center;gap:8px;display:inline-flex}.tp98LG_badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.tp98LG_badgeMuted{white-space:nowrap;color:var(--dsw-alias-label-tertiary);border-radius:999px;padding:1px 8px;font-size:11px;line-height:17px}.tp98LG_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.tp98LG_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.tp98LG_reset:disabled{cursor:default}.tp98LG_input{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.tp98LG_input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.tp98LG_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.tp98LG_inputInvalid{border-color:var(--dsw-alias-label-error);}.tp98LG_invalid{color:var(--dsw-alias-label-error);margin:0;font-size:12px;line-height:1.5}.tp98LG_hint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.5}";
|
|
14
14
|
const tagId$2 = "@monotykamary/dsh-client-ui-settings-plugins/fields.module.css";
|
|
15
15
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
16
16
|
const tag = document.createElement("style");
|
|
@@ -20,17 +20,17 @@ window.__ModuleLoader__.load({
|
|
|
20
20
|
document.head.appendChild(tag);
|
|
21
21
|
}
|
|
22
22
|
var fields_module_css_default = {
|
|
23
|
-
"badge": "
|
|
24
|
-
"badgeMuted": "
|
|
25
|
-
"badges": "
|
|
26
|
-
"field": "
|
|
27
|
-
"head": "
|
|
28
|
-
"hint": "
|
|
29
|
-
"input": "
|
|
30
|
-
"inputInvalid": "
|
|
31
|
-
"invalid": "
|
|
32
|
-
"label": "
|
|
33
|
-
"reset": "
|
|
23
|
+
"badge": "tp98LG_badge",
|
|
24
|
+
"badgeMuted": "tp98LG_badgeMuted",
|
|
25
|
+
"badges": "tp98LG_badges",
|
|
26
|
+
"field": "tp98LG_field",
|
|
27
|
+
"head": "tp98LG_head",
|
|
28
|
+
"hint": "tp98LG_hint",
|
|
29
|
+
"input": "tp98LG_input",
|
|
30
|
+
"inputInvalid": "tp98LG_inputInvalid",
|
|
31
|
+
"invalid": "tp98LG_invalid",
|
|
32
|
+
"label": "tp98LG_label",
|
|
33
|
+
"reset": "tp98LG_reset"
|
|
34
34
|
};
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region lib/types/client/fields.js
|
|
@@ -136,7 +136,7 @@ window.__ModuleLoader__.load({
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region
|
|
139
|
+
//#region ../../../../../../../.bun/install/cache/links/clsx@2.1.1-16485cb08d43bb7f/node_modules/clsx/dist/clsx.mjs
|
|
140
140
|
function r(e) {
|
|
141
141
|
var t, f, n = "";
|
|
142
142
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -151,8 +151,8 @@ window.__ModuleLoader__.load({
|
|
|
151
151
|
return n;
|
|
152
152
|
}
|
|
153
153
|
//#endregion
|
|
154
|
-
//#region \0dsh-css:/
|
|
155
|
-
const css$1 = ".
|
|
154
|
+
//#region \0dsh-css:/Users/monotykamary/VCS/working-remote/open-source/deepseek-harness/packages/client/ui-settings-plugins/src/client/PluginCard.module.css.mjs
|
|
155
|
+
const css$1 = ".fgHXXa_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:12px;list-style:none;transition:border-color .16s,background .16s}.fgHXXa_card:hover{border-color:var(--dsw-alias-label-dimmed)}.fgHXXa_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.fgHXXa_header{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.fgHXXa_header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.fgHXXa_headText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.fgHXXa_name{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:1.4}.fgHXXa_description{color:var(--dsw-alias-label-tertiary);font-size:13px;line-height:1.5}.fgHXXa_chevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.fgHXXa_chevronOpen{transform:rotate(180deg)}.fgHXXa_body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 16px;padding-bottom:8px}.fgHXXa_readOnly{color:var(--dsw-alias-label-tertiary);margin:12px 0 0;font-size:12px;line-height:1.5}.fgHXXa_pending{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.fgHXXa_footer{border-top:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.fgHXXa_failed{min-width:0;color:var(--dsw-alias-label-error);flex:1;margin:0;font-size:12px;line-height:1.5}.fgHXXa_discard,.fgHXXa_save{appearance:none;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.fgHXXa_discard{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:0 0}.fgHXXa_discard:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed)}.fgHXXa_save{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3)}.fgHXXa_discard:disabled,.fgHXXa_save:disabled{opacity:.4;cursor:default}.fgHXXa_discard:focus-visible,.fgHXXa_save:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}";
|
|
156
156
|
const tagId$1 = "@monotykamary/dsh-client-ui-settings-plugins/PluginCard.module.css";
|
|
157
157
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
158
158
|
const tag = document.createElement("style");
|
|
@@ -162,21 +162,21 @@ window.__ModuleLoader__.load({
|
|
|
162
162
|
document.head.appendChild(tag);
|
|
163
163
|
}
|
|
164
164
|
var PluginCard_module_css_default = {
|
|
165
|
-
"body": "
|
|
166
|
-
"card": "
|
|
167
|
-
"cardOpen": "
|
|
168
|
-
"chevron": "
|
|
169
|
-
"chevronOpen": "
|
|
170
|
-
"description": "
|
|
171
|
-
"discard": "
|
|
172
|
-
"failed": "
|
|
173
|
-
"footer": "
|
|
174
|
-
"headText": "
|
|
175
|
-
"header": "
|
|
176
|
-
"name": "
|
|
177
|
-
"pending": "
|
|
178
|
-
"readOnly": "
|
|
179
|
-
"save": "
|
|
165
|
+
"body": "fgHXXa_body",
|
|
166
|
+
"card": "fgHXXa_card",
|
|
167
|
+
"cardOpen": "fgHXXa_cardOpen",
|
|
168
|
+
"chevron": "fgHXXa_chevron",
|
|
169
|
+
"chevronOpen": "fgHXXa_chevronOpen",
|
|
170
|
+
"description": "fgHXXa_description",
|
|
171
|
+
"discard": "fgHXXa_discard",
|
|
172
|
+
"failed": "fgHXXa_failed",
|
|
173
|
+
"footer": "fgHXXa_footer",
|
|
174
|
+
"headText": "fgHXXa_headText",
|
|
175
|
+
"header": "fgHXXa_header",
|
|
176
|
+
"name": "fgHXXa_name",
|
|
177
|
+
"pending": "fgHXXa_pending",
|
|
178
|
+
"readOnly": "fgHXXa_readOnly",
|
|
179
|
+
"save": "fgHXXa_save"
|
|
180
180
|
};
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region lib/types/client/PluginCard.js
|
|
@@ -363,8 +363,8 @@ window.__ModuleLoader__.load({
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
//#endregion
|
|
366
|
-
//#region \0dsh-css:/
|
|
367
|
-
const css = ".
|
|
366
|
+
//#region \0dsh-css:/Users/monotykamary/VCS/working-remote/open-source/deepseek-harness/packages/client/ui-settings-plugins/src/client/PluginsSettingsSection.module.css.mjs
|
|
367
|
+
const css = ".NYK7ya_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex}.NYK7ya_heading{margin:0;font-size:18px;font-weight:600}.NYK7ya_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}.NYK7ya_tabs{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:flex-end;gap:22px;margin-top:2px;display:flex}.NYK7ya_tab{color:var(--dsw-alias-label-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 1px 9px;font-size:13px;line-height:20px;position:relative}.NYK7ya_tab:hover,.NYK7ya_tab[data-active=true]{color:var(--dsw-alias-label-primary)}.NYK7ya_tab[data-active=true]:after,.NYK7ya_tab:focus-visible:after{background:var(--dsw-alias-label-primary);content:\"\";border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.NYK7ya_tab:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;color:var(--dsw-alias-label-primary);border-radius:2px}.NYK7ya_panel{min-width:0;padding-top:2px}.NYK7ya_cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.NYK7ya_empty{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}";
|
|
368
368
|
const tagId = "@monotykamary/dsh-client-ui-settings-plugins/PluginsSettingsSection.module.css";
|
|
369
369
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
370
370
|
const tag = document.createElement("style");
|
|
@@ -374,14 +374,14 @@ window.__ModuleLoader__.load({
|
|
|
374
374
|
document.head.appendChild(tag);
|
|
375
375
|
}
|
|
376
376
|
var PluginsSettingsSection_module_css_default = {
|
|
377
|
-
"cards": "
|
|
378
|
-
"empty": "
|
|
379
|
-
"heading": "
|
|
380
|
-
"intro": "
|
|
381
|
-
"panel": "
|
|
382
|
-
"section": "
|
|
383
|
-
"tab": "
|
|
384
|
-
"tabs": "
|
|
377
|
+
"cards": "NYK7ya_cards",
|
|
378
|
+
"empty": "NYK7ya_empty",
|
|
379
|
+
"heading": "NYK7ya_heading",
|
|
380
|
+
"intro": "NYK7ya_intro",
|
|
381
|
+
"panel": "NYK7ya_panel",
|
|
382
|
+
"section": "NYK7ya_section",
|
|
383
|
+
"tab": "NYK7ya_tab",
|
|
384
|
+
"tabs": "NYK7ya_tabs"
|
|
385
385
|
};
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region lib/types/client/ConfigurablePluginsTab.js
|
|
@@ -425,7 +425,7 @@ window.__ModuleLoader__.load({
|
|
|
425
425
|
if (active === void 0) return;
|
|
426
426
|
setVisitedIds((previous) => {
|
|
427
427
|
if (previous.has(active)) return previous;
|
|
428
|
-
return new Set([...previous, active]);
|
|
428
|
+
return /* @__PURE__ */ new Set([...previous, active]);
|
|
429
429
|
});
|
|
430
430
|
}, [active]);
|
|
431
431
|
return (0, react_jsx_runtime.jsxs)("div", {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monotykamary/dsh-client-ui-settings-plugins",
|
|
3
3
|
"description": "Plugins settings section with feature-owned tabs and configurable host-plane plugin cards",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.9",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -41,29 +41,33 @@
|
|
|
41
41
|
"platform": "web"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"bundle": "tsdown",
|
|
46
|
+
"watch": "tsdown --watch"
|
|
47
|
+
},
|
|
44
48
|
"license": "MIT",
|
|
45
49
|
"peerDependencies": {
|
|
46
50
|
"@monotykamary/cordis": "^4.0.1",
|
|
47
|
-
"@monotykamary/dsh-api-remotes": "^0.1.
|
|
48
|
-
"@monotykamary/dsh-client-connection": "^0.1.
|
|
49
|
-
"@monotykamary/dsh-client-
|
|
50
|
-
"@monotykamary/dsh-client-runtime": "^0.1.
|
|
51
|
-
"@monotykamary/dsh-client-
|
|
52
|
-
"@monotykamary/dsh-invariants": "^0.1.
|
|
51
|
+
"@monotykamary/dsh-api-remotes": "^0.1.9",
|
|
52
|
+
"@monotykamary/dsh-client-connection": "^0.1.9",
|
|
53
|
+
"@monotykamary/dsh-client-locale": "^0.1.9",
|
|
54
|
+
"@monotykamary/dsh-client-runtime": "^0.1.9",
|
|
55
|
+
"@monotykamary/dsh-client-ui-settings": "^0.1.9",
|
|
56
|
+
"@monotykamary/dsh-invariants": "^0.1.9"
|
|
53
57
|
},
|
|
54
58
|
"devDependencies": {
|
|
55
|
-
"@types/react": "~18.3.1",
|
|
56
|
-
"react": "^18.2.0",
|
|
57
59
|
"@monotykamary/cordis": "^4.0.1",
|
|
58
|
-
"@monotykamary/dsh-api-remotes": "^0.1.
|
|
59
|
-
"@monotykamary/dsh-client-
|
|
60
|
-
"@monotykamary/dsh-client-
|
|
61
|
-
"@monotykamary/dsh-client-
|
|
62
|
-
"@monotykamary/dsh-client-runtime": "^0.1.
|
|
63
|
-
"@monotykamary/dsh-client-ui-primitives": "^0.1.
|
|
64
|
-
"@monotykamary/dsh-client-ui-settings": "^0.1.
|
|
65
|
-
"@monotykamary/dsh-client-ui-slots": "^0.1.
|
|
66
|
-
"@monotykamary/dsh-invariants": "^0.1.
|
|
60
|
+
"@monotykamary/dsh-api-remotes": "^0.1.9",
|
|
61
|
+
"@monotykamary/dsh-client-connection": "^0.1.9",
|
|
62
|
+
"@monotykamary/dsh-client-locale": "^0.1.9",
|
|
63
|
+
"@monotykamary/dsh-client-runtime": "^0.1.9",
|
|
64
|
+
"@monotykamary/dsh-client-test-runtime": "^0.1.9",
|
|
65
|
+
"@monotykamary/dsh-client-ui-primitives": "^0.1.9",
|
|
66
|
+
"@monotykamary/dsh-client-ui-settings": "^0.1.9",
|
|
67
|
+
"@monotykamary/dsh-client-ui-slots": "^0.1.9",
|
|
68
|
+
"@monotykamary/dsh-invariants": "^0.1.9",
|
|
69
|
+
"@types/react": "~18.3.1",
|
|
70
|
+
"react": "^18.2.0"
|
|
67
71
|
},
|
|
68
72
|
"files": [
|
|
69
73
|
"lib/index.js",
|
|
@@ -73,9 +77,5 @@
|
|
|
73
77
|
],
|
|
74
78
|
"dependencies": {
|
|
75
79
|
"clsx": "^2.0.0"
|
|
76
|
-
},
|
|
77
|
-
"scripts": {
|
|
78
|
-
"bundle": "tsdown",
|
|
79
|
-
"watch": "tsdown --watch"
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 DeepSeek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|