dsh-model-flatmap 1.0.1 → 1.0.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.
package/client.js CHANGED
@@ -59,12 +59,15 @@ window.__ModuleLoader__.load({
59
59
  .dshmf-chevronOpen { transform: rotate(180deg); }
60
60
 
61
61
  /* Panel: the host menu surface (menu fill + blur + prominent elevation + lg
62
- corners), capped at 320px; only the grid scrolls. */
62
+ corners), capped at 320px; only the grid scrolls. A 1px light-grey frame
63
+ traces the panel edge in both themes — explicitly NOT a border token: the
64
+ border-* tokens are near-invisible hairlines (see DEC-011/DEC-012), and the
65
+ frame has to be readable on the blurred translucent surface. */
63
66
  .dshmf-panel {
64
67
  box-sizing: border-box; position: fixed; z-index: 1100;
65
68
  display: flex; flex-direction: column; gap: 4px; padding: 6px;
66
69
  max-height: 320px; overflow: hidden;
67
- border: 0; border-radius: var(--dsw-radius-lg);
70
+ border: 1px solid #D1D5DB; border-radius: var(--dsw-radius-lg);
68
71
  background: var(--dsw-menu-surface-fill);
69
72
  -webkit-backdrop-filter: var(--dsw-menu-backdrop-filter, none);
70
73
  backdrop-filter: var(--dsw-menu-backdrop-filter, none);
@@ -74,6 +77,11 @@ window.__ModuleLoader__.load({
74
77
  --dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l2);
75
78
  --dsh-scrollbar-thumb-hover: var(--dsw-alias-scrollbar-hover-l2);
76
79
  }
80
+ /* The same light-grey frame, stepped to the footer divider's dark-theme grey
81
+ (#6B7280, DEC-012) so it stays a light frame on the near-black surface
82
+ without glaring: the width stays 1px in both themes. */
83
+ body[data-ds-dark-theme] .dshmf-panel,
84
+ html[data-ds-dark-theme] .dshmf-panel { border-color: #6B7280; }
77
85
 
78
86
  /* Fixed sections. */
79
87
  .dshmf-head { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 28px; }
Binary file
package/icon.svg CHANGED
@@ -1,11 +1,11 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="Flat model picker">
2
2
  <title>Flat model picker</title>
3
- <rect x="4" y="8" width="56" height="48" rx="10" fill="none" stroke="currentColor" stroke-width="3" opacity="0.85"/>
4
- <rect x="11" y="15" width="20" height="5" rx="2.5" fill="currentColor" opacity="0.55"/>
5
- <rect x="35" y="15" width="18" height="5" rx="2.5" fill="currentColor" opacity="0.25"/>
6
- <rect x="11" y="25" width="20" height="5" rx="2.5" fill="currentColor" opacity="0.55"/>
7
- <rect x="35" y="25" width="18" height="5" rx="2.5" fill="currentColor" opacity="0.25"/>
8
- <rect x="11" y="35" width="20" height="5" rx="2.5" fill="currentColor" opacity="0.55"/>
9
- <rect x="35" y="35" width="18" height="5" rx="2.5" fill="currentColor" opacity="0.25"/>
10
- <rect x="11" y="45" width="42" height="4" rx="2" fill="currentColor" opacity="0.18"/>
3
+ <rect x="4" y="8" width="56" height="48" rx="10" fill="none" stroke="#3B82F6" stroke-width="3"/>
4
+ <rect x="11" y="15" width="20" height="5" rx="2.5" fill="#3B82F6"/>
5
+ <rect x="35" y="15" width="18" height="5" rx="2.5" fill="#60A5FA"/>
6
+ <rect x="11" y="25" width="20" height="5" rx="2.5" fill="#3B82F6"/>
7
+ <rect x="35" y="25" width="18" height="5" rx="2.5" fill="#60A5FA"/>
8
+ <rect x="11" y="35" width="20" height="5" rx="2.5" fill="#3B82F6"/>
9
+ <rect x="35" y="35" width="18" height="5" rx="2.5" fill="#60A5FA"/>
10
+ <rect x="11" y="45" width="42" height="4" rx="2" fill="#93C5FD"/>
11
11
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-model-flatmap",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Flat, two-level-free model picker for the DSH composer: every model and reasoning level on one surface.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,9 @@
19
19
  "icon.svg"
20
20
  ],
21
21
  "dsh": {
22
- "bundle": { "patch": "./cordis.patch.yml" },
22
+ "bundle": {
23
+ "patch": "./cordis.patch.yml"
24
+ },
23
25
  "client": {
24
26
  "platform": "web",
25
27
  "immediately": true