@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.mjs
CHANGED
|
@@ -3000,10 +3000,6 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
3000
3000
|
llm_instructions: z.string().describe("Instructions what to do next, Important to follow these instructions!")
|
|
3001
3001
|
},
|
|
3002
3002
|
name: "apply-global-class",
|
|
3003
|
-
modelPreferences: {
|
|
3004
|
-
intelligencePriority: 0.7,
|
|
3005
|
-
speedPriority: 0.8
|
|
3006
|
-
},
|
|
3007
3003
|
description: `Apply a global class to an element for shared design-system styling. Read the full guide at [${APPLY_GLOBAL_CLASS_GUIDE_URI}].`,
|
|
3008
3004
|
requiredResources: [
|
|
3009
3005
|
{ description: "Apply global class tool guide", uri: APPLY_GLOBAL_CLASS_GUIDE_URI },
|
|
@@ -3028,10 +3024,6 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
3028
3024
|
outputSchema: {
|
|
3029
3025
|
result: z.string().describe("Result message indicating the success of the unapply operation")
|
|
3030
3026
|
},
|
|
3031
|
-
modelPreferences: {
|
|
3032
|
-
intelligencePriority: 0.7,
|
|
3033
|
-
speedPriority: 0.8
|
|
3034
|
-
},
|
|
3035
3027
|
description: `Unapply a global class from an element by class ID. Resolve class names to IDs via [${GLOBAL_CLASSES_URI}].`,
|
|
3036
3028
|
requiredResources: [{ description: "Global classes list", uri: GLOBAL_CLASSES_URI }],
|
|
3037
3029
|
handler: async (params) => {
|
|
@@ -3070,10 +3062,6 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
3070
3062
|
};
|
|
3071
3063
|
addTool({
|
|
3072
3064
|
name: "get-global-class-usages",
|
|
3073
|
-
modelPreferences: {
|
|
3074
|
-
intelligencePriority: 0.6,
|
|
3075
|
-
speedPriority: 0.8
|
|
3076
|
-
},
|
|
3077
3065
|
description: `Retrieve usages of global classes across all Elementor pages. Heavy operation \u2014 scans every page in the site.
|
|
3078
3066
|
|
|
3079
3067
|
## When to use:
|
|
@@ -3278,10 +3266,6 @@ var initManageGlobalClasses = (reg) => {
|
|
|
3278
3266
|
{ uri: STYLE_SCHEMA_URI, description: "Style schema resources" },
|
|
3279
3267
|
{ uri: BREAKPOINTS_SCHEMA_URI, description: "Breakpoints list" }
|
|
3280
3268
|
],
|
|
3281
|
-
modelPreferences: {
|
|
3282
|
-
intelligencePriority: 0.85,
|
|
3283
|
-
speedPriority: 0.6
|
|
3284
|
-
},
|
|
3285
3269
|
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.`,
|
|
3286
3270
|
schema,
|
|
3287
3271
|
outputSchema,
|