@elementor/editor-global-classes 3.35.0-363 → 3.35.0-364
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 +21 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/mcp-integration/mcp-apply-unapply-global-classes.ts +8 -0
- package/src/mcp-integration/mcp-create-global-class.ts +4 -0
- package/src/mcp-integration/mcp-get-global-class-usages.ts +4 -0
- package/src/mcp-integration/mcp-modify-global-class.ts +5 -0
package/dist/index.mjs
CHANGED
|
@@ -2383,6 +2383,10 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2383
2383
|
result: z.string().describe("Result message indicating the success of the apply operation")
|
|
2384
2384
|
},
|
|
2385
2385
|
name: "apply-global-class",
|
|
2386
|
+
modelPreferences: {
|
|
2387
|
+
intelligencePriority: 0.7,
|
|
2388
|
+
speedPriority: 0.8
|
|
2389
|
+
},
|
|
2386
2390
|
description: `Apply a global class to the current element
|
|
2387
2391
|
|
|
2388
2392
|
## When to use this tool:
|
|
@@ -2412,6 +2416,10 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2412
2416
|
outputSchema: {
|
|
2413
2417
|
result: z.string().describe("Result message indicating the success of the unapply operation")
|
|
2414
2418
|
},
|
|
2419
|
+
modelPreferences: {
|
|
2420
|
+
intelligencePriority: 0.7,
|
|
2421
|
+
speedPriority: 0.8
|
|
2422
|
+
},
|
|
2415
2423
|
description: `Unapply a (global) class from the current element
|
|
2416
2424
|
|
|
2417
2425
|
## When to use this tool:
|
|
@@ -2529,6 +2537,10 @@ var initCreateGlobalClass = (reg) => {
|
|
|
2529
2537
|
{ uri: GLOBAL_CLASSES_URI, description: "Global classes list" },
|
|
2530
2538
|
{ uri: STYLE_SCHEMA_URI, description: "Style schema resources" }
|
|
2531
2539
|
],
|
|
2540
|
+
modelPreferences: {
|
|
2541
|
+
intelligencePriority: 0.85,
|
|
2542
|
+
speedPriority: 0.6
|
|
2543
|
+
},
|
|
2532
2544
|
description: `Create a new global class within the Elementor editor, allowing users to define reusable styles and properties for consistent design across their website.
|
|
2533
2545
|
|
|
2534
2546
|
# Prequisites: CRITICAL
|
|
@@ -2605,6 +2617,10 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
2605
2617
|
};
|
|
2606
2618
|
addTool({
|
|
2607
2619
|
name: "get-global-class-usages",
|
|
2620
|
+
modelPreferences: {
|
|
2621
|
+
intelligencePriority: 0.6,
|
|
2622
|
+
speedPriority: 0.8
|
|
2623
|
+
},
|
|
2608
2624
|
description: `Retreive the usages of global-classes ACCROSS PAGES designed by Elementor editor.
|
|
2609
2625
|
|
|
2610
2626
|
## Prequisites: CRITICAL
|
|
@@ -2742,6 +2758,11 @@ var initModifyGlobalClass = (reg) => {
|
|
|
2742
2758
|
uri: GLOBAL_CLASSES_URI
|
|
2743
2759
|
}
|
|
2744
2760
|
],
|
|
2761
|
+
modelPreferences: {
|
|
2762
|
+
hints: [{ name: "claude-sonnet" }],
|
|
2763
|
+
intelligencePriority: 0.85,
|
|
2764
|
+
speedPriority: 0.6
|
|
2765
|
+
},
|
|
2745
2766
|
description: `Modify an existing global class within the Elementor editor, allowing users to update styles and properties for consistent design across their website.
|
|
2746
2767
|
# CRITICAL Prequisites:
|
|
2747
2768
|
- Read the style schema at [elementor://styles/schema/{category}] to understand the valid properties and values that can be assigned to the global class.
|