unsys-canvas 0.2.2 → 0.2.3

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.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # unsys-canvas
2
2
 
3
- MIT React package: think on an Excalidraw board with a **host-supplied** LLM (`runModel`, or deprecated `onAsk`). Published as [`unsys-canvas`](https://www.npmjs.com/package/unsys-canvas) (currently 0.2.2).
3
+ MIT React package: think on an Excalidraw board with a **host-supplied** LLM (`runModel`, or deprecated `onAsk`). Published as [`unsys-canvas`](https://www.npmjs.com/package/unsys-canvas) (currently 0.2.3).
4
4
 
5
5
  ```bash
6
6
  npm install unsys-canvas
package/dist/index.js CHANGED
@@ -3706,10 +3706,14 @@ function buildSection(doc, entries, onRun) {
3706
3706
  });
3707
3707
  nodes.push(li);
3708
3708
  }
3709
+ const wrap = doc.createElement("li");
3710
+ wrap.setAttribute(SECTION_ATTR, "separator");
3711
+ wrap.style.cssText = "list-style:none;padding:0.75rem 0;pointer-events:none;line-height:0;";
3709
3712
  const hr = doc.createElement("hr");
3710
- hr.setAttribute(SECTION_ATTR, "separator");
3711
3713
  hr.className = S.separator;
3712
- nodes.push(hr);
3714
+ hr.style.cssText = "margin:0;";
3715
+ wrap.append(hr);
3716
+ nodes.push(wrap);
3713
3717
  return nodes;
3714
3718
  }
3715
3719
  function refitPopover(list, host) {