@lmzhen/dsh-evolution-skill-history 0.13.0 → 0.13.1

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 +13 -8
  2. package/package.json +7 -7
package/lib/client.js CHANGED
@@ -551,18 +551,23 @@ window.__ModuleLoader__.load({
551
551
  /** Row order inside the global panel list (beside the platform's own rows). */
552
552
  const PANEL_ORDER = 35;
553
553
  /**
554
- * The row's icon: a platform-style line glyph rather than an emoji.
554
+ * The row's icon: a platform-style line glyph, sized by the SIDEBAR's own contract.
555
555
  *
556
- * An emoji cannot follow `currentColor`, cannot match the 16/18px the sidebar hands its glyph slot,
557
- * and renders differently on every platform font — the sidebar's other rows are 1.5px-stroke line
558
- * icons, and this one now is too. The label carries the accessible name, so the glyph stays
559
- * decoration.
556
+ * The platform hands every `sidebar.panellist` occupant `{ size, active }` (`SidebarRoot.tsx`
557
+ * `renderSlot('sidebar.panellist', { size: wide ? 16 : 18, active }, …)`) and its own icons render at
558
+ * that size (`IconGlobeOutline14 size={size}` in the sidebar's own spec). The neighbouring rows in a
559
+ * shipped GUI take the OTHER route — they inject their entry into the sidebar's DOM with their own
560
+ * `svg { width: 18px; height: 18px }` CSS — so 18px is the size a row glyph is expected to occupy.
561
+ * A glyph that sizes itself from CSS (`width: 100%`) resolves against an unsized flex box and fills
562
+ * the column: the size must come from the prop, with the neighbours' 18 as the fallback. The label
563
+ * carries the accessible name, so the glyph stays decoration.
560
564
  */
561
- function PanelIcon() {
565
+ function PanelIcon(props = {}) {
566
+ const size = typeof props.size === "number" && props.size > 0 ? props.size : 18;
562
567
  return (0, react.createElement)("svg", {
563
568
  "aria-hidden": "true",
564
- width: "100%",
565
- height: "100%",
569
+ width: String(size),
570
+ height: String(size),
566
571
  viewBox: "0 0 16 16",
567
572
  fill: "none",
568
573
  stroke: "currentColor",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-skill-history",
3
3
  "description": "Web surface for skill content history: loopback host routes plus the sidebar panel (community build)",
4
- "version": "0.13.0",
4
+ "version": "0.13.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,21 +30,21 @@
30
30
  ],
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@lmzhen/dsh-evolution-core": "^0.13.0"
33
+ "@lmzhen/dsh-evolution-core": "^0.13.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@deepseek-ai/cordis": "^4.0.1",
37
37
  "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.2",
38
38
  "react": "^18.2.0",
39
- "@lmzhen/dsh-evolution-curator": "^0.13.0"
39
+ "@lmzhen/dsh-evolution-curator": "^0.13.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@deepseek-ai/cordis": "^4.0.1",
43
43
  "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.2",
44
- "@lmzhen/dsh-evolution-core": "^0.13.0",
45
- "@lmzhen/dsh-evolution-curator": "^0.13.0",
46
- "@lmzhen/dsh-evolution-io": "^0.13.0",
47
- "@lmzhen/dsh-evolution-io-node": "^0.13.0"
44
+ "@lmzhen/dsh-evolution-core": "^0.13.1",
45
+ "@lmzhen/dsh-evolution-curator": "^0.13.1",
46
+ "@lmzhen/dsh-evolution-io": "^0.13.1",
47
+ "@lmzhen/dsh-evolution-io-node": "^0.13.1"
48
48
  },
49
49
  "dsh": {
50
50
  "client": {