@plenary/core 0.2.2 → 0.3.0

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/dist/index.d.cts CHANGED
@@ -148,7 +148,11 @@ interface ComponentRegistration {
148
148
  key: string;
149
149
  /** Human label for the palette ("Hero Carousel"). */
150
150
  label: string;
151
- /** URL or data URI for the palette. */
151
+ /**
152
+ * Palette glyph: an image URL, a data URI (e.g. base64 PNG), or inline SVG
153
+ * markup (`<svg …>…</svg>`). Rendered small and monochrome on a tinted tile,
154
+ * so a single-color icon reads best.
155
+ */
152
156
  icon?: string;
153
157
  /** Editable props. */
154
158
  props?: PropDefinition[];
package/dist/index.d.ts CHANGED
@@ -148,7 +148,11 @@ interface ComponentRegistration {
148
148
  key: string;
149
149
  /** Human label for the palette ("Hero Carousel"). */
150
150
  label: string;
151
- /** URL or data URI for the palette. */
151
+ /**
152
+ * Palette glyph: an image URL, a data URI (e.g. base64 PNG), or inline SVG
153
+ * markup (`<svg …>…</svg>`). Rendered small and monochrome on a tinted tile,
154
+ * so a single-color icon reads best.
155
+ */
152
156
  icon?: string;
153
157
  /** Editable props. */
154
158
  props?: PropDefinition[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plenary/core",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Plenary SDK core types: DOM nodes, component registration, prop definitions, and the preview protocol. Types only, zero deps.",
5
5
  "type": "module",
6
6
  "sideEffects": false,