@elementor/editor-global-classes 4.2.0-844 → 4.2.0-846
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 +0 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/mcp-integration/mcp-apply-unapply-global-classes.ts +0 -8
- package/src/mcp-integration/mcp-get-global-class-usages.ts +0 -4
- package/src/mcp-integration/mcp-manage-global-classes.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -2946,10 +2946,6 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2946
2946
|
llm_instructions: import_schema.z.string().describe("Instructions what to do next, Important to follow these instructions!")
|
|
2947
2947
|
},
|
|
2948
2948
|
name: "apply-global-class",
|
|
2949
|
-
modelPreferences: {
|
|
2950
|
-
intelligencePriority: 0.7,
|
|
2951
|
-
speedPriority: 0.8
|
|
2952
|
-
},
|
|
2953
2949
|
description: `Apply a global class to an element for shared design-system styling. Read the full guide at [${APPLY_GLOBAL_CLASS_GUIDE_URI}].`,
|
|
2954
2950
|
requiredResources: [
|
|
2955
2951
|
{ description: "Apply global class tool guide", uri: APPLY_GLOBAL_CLASS_GUIDE_URI },
|
|
@@ -2974,10 +2970,6 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2974
2970
|
outputSchema: {
|
|
2975
2971
|
result: import_schema.z.string().describe("Result message indicating the success of the unapply operation")
|
|
2976
2972
|
},
|
|
2977
|
-
modelPreferences: {
|
|
2978
|
-
intelligencePriority: 0.7,
|
|
2979
|
-
speedPriority: 0.8
|
|
2980
|
-
},
|
|
2981
2973
|
description: `Unapply a global class from an element by class ID. Resolve class names to IDs via [${GLOBAL_CLASSES_URI}].`,
|
|
2982
2974
|
requiredResources: [{ description: "Global classes list", uri: GLOBAL_CLASSES_URI }],
|
|
2983
2975
|
handler: async (params) => {
|
|
@@ -3016,10 +3008,6 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
3016
3008
|
};
|
|
3017
3009
|
addTool({
|
|
3018
3010
|
name: "get-global-class-usages",
|
|
3019
|
-
modelPreferences: {
|
|
3020
|
-
intelligencePriority: 0.6,
|
|
3021
|
-
speedPriority: 0.8
|
|
3022
|
-
},
|
|
3023
3011
|
description: `Retrieve usages of global classes across all Elementor pages. Heavy operation \u2014 scans every page in the site.
|
|
3024
3012
|
|
|
3025
3013
|
## When to use:
|
|
@@ -3224,10 +3212,6 @@ var initManageGlobalClasses = (reg) => {
|
|
|
3224
3212
|
{ uri: import_editor_canvas2.STYLE_SCHEMA_URI, description: "Style schema resources" },
|
|
3225
3213
|
{ uri: import_editor_canvas2.BREAKPOINTS_SCHEMA_URI, description: "Breakpoints list" }
|
|
3226
3214
|
],
|
|
3227
|
-
modelPreferences: {
|
|
3228
|
-
intelligencePriority: 0.85,
|
|
3229
|
-
speedPriority: 0.6
|
|
3230
|
-
},
|
|
3231
3215
|
description: `Create or modify global classes for reusable design-system styling. Class names must reflect purpose (e.g. heading-primary, button-cta). Create classes BEFORE compositions. Do NOT create classes for one-off styles or layout-specific properties.`,
|
|
3232
3216
|
schema,
|
|
3233
3217
|
outputSchema,
|