@elementor/editor-variables 4.3.0-1060 → 4.3.0-1061
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/mcp/manage-variable-tool.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3949,14 +3949,14 @@ var initManageVariableTool = (reg) => {
|
|
|
3949
3949
|
);
|
|
3950
3950
|
addTool({
|
|
3951
3951
|
name: TOOL_NAME,
|
|
3952
|
-
description: "Manage V4 global variables (color, font, size, custom-size). Read the guide resource before use. font =
|
|
3952
|
+
description: "Manage V4 global variables (color, font, size, custom-size). Read the guide resource before use. font = single Google Font family name, no fallback stacks, size = measured unit, custom-size = calculated values",
|
|
3953
3953
|
schema: {
|
|
3954
3954
|
action: z3.enum(["create", "update", "delete"]),
|
|
3955
3955
|
id: z3.string().optional().describe("Variable id \u2014 required for update/delete. Get from the global-variables resource."),
|
|
3956
3956
|
type: z3.enum(RUNTIME_ALLOWED_VARIABLE_TYPES),
|
|
3957
3957
|
label: z3.string().describe("Variable label (lowercase, dash-separated) \u2014 required for create/update."),
|
|
3958
3958
|
value: z3.string().optional().describe(
|
|
3959
|
-
'Plain CSS value \u2014 required for create/update. Color: hex/rgba/hsl. Font: family name only. Size: value with unit e.g. "16px", or "auto" (Pro). Do NOT pass JSON.'
|
|
3959
|
+
'Plain CSS value \u2014 required for create/update. Color: hex/rgba/hsl. Font: single Google Font family name only \u2014 no fallback stacks, no generic families. Size: value with unit e.g. "16px", or "auto" (Pro). Do NOT pass JSON.'
|
|
3960
3960
|
)
|
|
3961
3961
|
},
|
|
3962
3962
|
outputSchema: {
|