oasis-editor 0.0.229 → 0.0.230

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.
@@ -1,3 +1,5 @@
1
+ /** Create a node that a reactive renderer can own without replacing its DOM. */
2
+ export declare function createLucideSvg(name: string, attributes?: Record<string, string>): SVGElement | undefined;
1
3
  /** Resolve placeholders once. Existing SVGs retain their identity on DOM changes. */
2
4
  export declare function startIconObserver(root?: HTMLElement): void;
3
5
  /** Editors sharing an observer release their own subscription only. */
@@ -40,10 +40,7 @@ export declare const CheckIcon: (props: {
40
40
  size?: number;
41
41
  }) => JSX.Element;
42
42
  export declare function getCustomIcon(name?: string): CustomIconRenderer | undefined;
43
- /**
44
- * Renders an icon by name: a registered custom inline SVG when available,
45
- * otherwise a lucide `<i data-lucide>` placeholder resolved by the icon observer.
46
- */
43
+ /** Custom vectors and Lucide nodes remain owned by Solid across name changes. */
47
44
  export declare function ToolIcon(props: {
48
45
  name: string;
49
46
  }): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.229",
3
+ "version": "0.0.230",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -74,7 +74,9 @@
74
74
  "capture:ribbon": "node scripts/capture-ribbon-reference.mjs",
75
75
  "test:ribbon:browser": "node scripts/verify-ribbon-reference.mjs",
76
76
  "test:ribbon:resize": "node scripts/verify-ribbon-resize.mjs",
77
- "test:ribbon:ci": "node scripts/verify-ribbon-ci.mjs"
77
+ "test:ribbon:ci": "node scripts/verify-ribbon-ci.mjs",
78
+ "test:ribbon:contexts": "node scripts/verify-ribbon-contexts.mjs",
79
+ "test:ribbon:icons": "node scripts/verify-ribbon-icons.mjs"
78
80
  },
79
81
  "devDependencies": {
80
82
  "@eslint/js": "^10.0.1",