@elementor/editor-variables 4.3.0-1059 → 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.js
CHANGED
|
@@ -3969,14 +3969,14 @@ var initManageVariableTool = (reg) => {
|
|
|
3969
3969
|
);
|
|
3970
3970
|
addTool({
|
|
3971
3971
|
name: TOOL_NAME,
|
|
3972
|
-
description: "Manage V4 global variables (color, font, size, custom-size). Read the guide resource before use. font =
|
|
3972
|
+
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",
|
|
3973
3973
|
schema: {
|
|
3974
3974
|
action: import_schema3.z.enum(["create", "update", "delete"]),
|
|
3975
3975
|
id: import_schema3.z.string().optional().describe("Variable id \u2014 required for update/delete. Get from the global-variables resource."),
|
|
3976
3976
|
type: import_schema3.z.enum(RUNTIME_ALLOWED_VARIABLE_TYPES),
|
|
3977
3977
|
label: import_schema3.z.string().describe("Variable label (lowercase, dash-separated) \u2014 required for create/update."),
|
|
3978
3978
|
value: import_schema3.z.string().optional().describe(
|
|
3979
|
-
'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.'
|
|
3979
|
+
'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.'
|
|
3980
3980
|
)
|
|
3981
3981
|
},
|
|
3982
3982
|
outputSchema: {
|