@maxbill/dsh-file-explorer 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/lib/client.js +4 -4
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -561,7 +561,7 @@ window.__ModuleLoader__.load({
561
561
  font-size: 13px;
562
562
  line-height: 1.45;
563
563
  --dfx-brand: var(--dsw-alias-bg-brand, #3b6cf6);
564
- --dfx-col-name: minmax(0, 1fr);
564
+ --dfx-col-name: 1fr;
565
565
  --dfx-col-type: 104px;
566
566
  --dfx-col-size: 92px;
567
567
  --dfx-col-mtime: 148px;
@@ -713,7 +713,7 @@ window.__ModuleLoader__.load({
713
713
  .dfx-listpane { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; }
714
714
  .dfx-head {
715
715
  display: grid;
716
- grid-template-columns: var(--dfx-col-name) var(--dfx-col-type) var(--dfx-col-size) var(--dfx-col-mtime);
716
+ grid-template-columns: minmax(140px, var(--dfx-col-name)) minmax(56px, var(--dfx-col-type)) minmax(48px, var(--dfx-col-size)) minmax(72px, var(--dfx-col-mtime));
717
717
  align-items: center; gap: 12px;
718
718
  height: 26px; padding: 0 14px; flex: 0 0 auto; color: var(--dsw-alias-label-tertiary, #8f8f8f); font-size: 12px;
719
719
  box-shadow: inset 0 -1px 0 var(--dfx-rule, rgba(127, 127, 127, .13));
@@ -1154,7 +1154,7 @@ html[data-ds-theme-source="dark"] .dfx-json-code { --dsw-json-guide: rgba(255, 2
1154
1154
  }
1155
1155
  .dfx-panebtn { flex: 0 0 auto; }
1156
1156
  .dfx-navbtn--active { background: var(--dsw-alias-bg-layer-1, #fff); color: var(--dsw-alias-label-primary, #1b1b1b); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
1157
- .dfx-row { grid-template-columns: var(--dfx-col-name) var(--dfx-col-type) var(--dfx-col-size) var(--dfx-col-mtime); }
1157
+ .dfx-row { grid-template-columns: minmax(140px, var(--dfx-col-name)) minmax(56px, var(--dfx-col-type)) minmax(48px, var(--dfx-col-size)) minmax(72px, var(--dfx-col-mtime)); }
1158
1158
  .dfx-rows--grid {
1159
1159
  display: grid;
1160
1160
  /* fixed cells rather than 1fr: while the panel grows during its open
@@ -4233,7 +4233,7 @@ html[data-ds-theme-source="dark"] .dfx-json-code { --dsw-json-guide: rgba(255, 2
4233
4233
  var style = {};
4234
4234
  COLUMN_KEYS.forEach(function (key) {
4235
4235
  if (key === "name") {
4236
- style["--dfx-col-name"] = columnWidths.name ? columnWidths.name + "px" : "minmax(0, 1fr)";
4236
+ style["--dfx-col-name"] = columnWidths.name ? columnWidths.name + "px" : "1fr";
4237
4237
  } else {
4238
4238
  style["--dfx-col-" + key] = (columnWidths[key] || COLUMN_DEFAULT[key]) + "px";
4239
4239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxbill/dsh-file-explorer",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "文件管理器 — 浏览、预览并直接用起来:文件夹一键变成工作区,文档一键加进当前对话 · A file manager for DeepSeek Harness that turns folders into workspaces and documents into conversation attachments",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",