@improba/page-builder 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -20,7 +20,7 @@ Vue 3 library for building and rendering pages from a JSON tree. It provides **r
20
20
 
21
21
  - **Read mode** — Renders content from a JSON tree, SSR-compatible. Integrable with Nuxt or any Vue 3 app.
22
22
  - **Edit mode** — WYSIWYG editor with component palette, property panel, drag-and-drop, undo/redo, and responsive preview (desktop / tablet / mobile).
23
- - **Component registry** — Register custom Vue components (typed props, slots, edit metadata). Ships with layout and content components (PbColumn, PbRow, PbText, PbImage, etc.).
23
+ - **Component registry** — Register custom Vue components (typed props, slots, edit metadata). Ships with layout and content components (PbColumn, PbRow, PbText, PbImage, etc.). Palette icons support emoji/unicode or [Lucide](https://lucide.dev/) names (`i-lucide-*`).
24
24
  - **Single JSON contract** — Backend sends one `IPageData` payload; frontend renders and edits it. Clear separation of concerns.
25
25
 
26
26
  ## Quick Start
@@ -110,6 +110,7 @@ const myHero: IComponentDefinition = {
110
110
  label: 'Hero Banner',
111
111
  description: 'Full-width hero section with title and CTA.',
112
112
  category: 'content',
113
+ icon: 'i-lucide-layout-template',
113
114
  component: MyHero,
114
115
  slots: [{ name: 'default', label: 'Content' }],
115
116
  editableProps: [