@charisol/plexo-mcp 1.0.4 → 1.0.6
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.js +4 -3
- package/package.json +1 -1
- package/src/index.ts +4 -3
package/dist/index.js
CHANGED
|
@@ -129,10 +129,10 @@ EXAMPLE VALID designJson PAYLOAD (hero row, plus a 3-item product grid row):
|
|
|
129
129
|
properties: {
|
|
130
130
|
type: {
|
|
131
131
|
type: "string",
|
|
132
|
-
enum: ["heading", "paragraph", "button", "card", "image", "menu", "social", "divider", "spacer", "form_container", "table", "timer", "video"],
|
|
132
|
+
enum: ["heading", "paragraph", "text", "button", "card", "image", "menu", "social", "divider", "spacer", "form_container", "input", "textarea", "select", "carousel", "html", "icon", "table", "timer", "video"],
|
|
133
133
|
},
|
|
134
134
|
style: { type: "object" },
|
|
135
|
-
attributes: { type: "object", description: "Component attributes (text, href, src, title, description, links, fields)." },
|
|
135
|
+
attributes: { type: "object", description: "Component attributes (text, href, src, title, description, links, fields). For type 'html', raw markup goes under 'htmlContent' — NOT 'text'." },
|
|
136
136
|
},
|
|
137
137
|
},
|
|
138
138
|
},
|
|
@@ -226,12 +226,13 @@ Uses the SAME fully-hydrated layout schema as publish_landing_page — designJso
|
|
|
226
226
|
style: { type: "object" },
|
|
227
227
|
attributes: {
|
|
228
228
|
type: "object",
|
|
229
|
-
description: "Component attributes. IMPORTANT: text content for 'heading'/'paragraph'/'text'/'button' elements goes under the key 'text' (NOT 'content'). Images use 'src'/'alt'. Buttons/links use 'href'.",
|
|
229
|
+
description: "Component attributes. IMPORTANT: text content for 'heading'/'paragraph'/'text'/'button' elements goes under the key 'text' (NOT 'content'). Images use 'src'/'alt'. Buttons/links use 'href'. Raw markup for type 'html' goes under 'htmlContent' (NOT 'text').",
|
|
230
230
|
properties: {
|
|
231
231
|
text: { type: "string", description: "Visible text for heading/paragraph/text/button elements." },
|
|
232
232
|
href: { type: "string", description: "Link URL for button/card elements." },
|
|
233
233
|
src: { type: "string", description: "Image URL for image elements." },
|
|
234
234
|
alt: { type: "string", description: "Alt text for image elements." },
|
|
235
|
+
htmlContent: { type: "string", description: "Raw HTML markup for type 'html' elements only." },
|
|
235
236
|
},
|
|
236
237
|
},
|
|
237
238
|
},
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -136,10 +136,10 @@ EXAMPLE VALID designJson PAYLOAD (hero row, plus a 3-item product grid row):
|
|
|
136
136
|
properties: {
|
|
137
137
|
type: {
|
|
138
138
|
type: "string",
|
|
139
|
-
enum: ["heading", "paragraph", "button", "card", "image", "menu", "social", "divider", "spacer", "form_container", "table", "timer", "video"],
|
|
139
|
+
enum: ["heading", "paragraph", "text", "button", "card", "image", "menu", "social", "divider", "spacer", "form_container", "input", "textarea", "select", "carousel", "html", "icon", "table", "timer", "video"],
|
|
140
140
|
},
|
|
141
141
|
style: { type: "object" },
|
|
142
|
-
attributes: { type: "object", description: "Component attributes (text, href, src, title, description, links, fields)." },
|
|
142
|
+
attributes: { type: "object", description: "Component attributes (text, href, src, title, description, links, fields). For type 'html', raw markup goes under 'htmlContent' — NOT 'text'." },
|
|
143
143
|
},
|
|
144
144
|
},
|
|
145
145
|
},
|
|
@@ -233,12 +233,13 @@ Uses the SAME fully-hydrated layout schema as publish_landing_page — designJso
|
|
|
233
233
|
style: { type: "object" },
|
|
234
234
|
attributes: {
|
|
235
235
|
type: "object",
|
|
236
|
-
description: "Component attributes. IMPORTANT: text content for 'heading'/'paragraph'/'text'/'button' elements goes under the key 'text' (NOT 'content'). Images use 'src'/'alt'. Buttons/links use 'href'.",
|
|
236
|
+
description: "Component attributes. IMPORTANT: text content for 'heading'/'paragraph'/'text'/'button' elements goes under the key 'text' (NOT 'content'). Images use 'src'/'alt'. Buttons/links use 'href'. Raw markup for type 'html' goes under 'htmlContent' (NOT 'text').",
|
|
237
237
|
properties: {
|
|
238
238
|
text: { type: "string", description: "Visible text for heading/paragraph/text/button elements." },
|
|
239
239
|
href: { type: "string", description: "Link URL for button/card elements." },
|
|
240
240
|
src: { type: "string", description: "Image URL for image elements." },
|
|
241
241
|
alt: { type: "string", description: "Alt text for image elements." },
|
|
242
|
+
htmlContent: { type: "string", description: "Raw HTML markup for type 'html' elements only." },
|
|
242
243
|
},
|
|
243
244
|
},
|
|
244
245
|
},
|