@elementor/editor-global-classes 4.2.0-845 → 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-global-classes",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-846",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -39,29 +39,29 @@
|
|
|
39
39
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elementor/editor": "4.2.0-
|
|
43
|
-
"@elementor/editor-current-user": "4.2.0-
|
|
44
|
-
"@elementor/editor-documents": "4.2.0-
|
|
45
|
-
"@elementor/editor-editing-panel": "4.2.0-
|
|
46
|
-
"@elementor/editor-mcp": "4.2.0-
|
|
47
|
-
"@elementor/editor-panels": "4.2.0-
|
|
48
|
-
"@elementor/editor-props": "4.2.0-
|
|
49
|
-
"@elementor/editor-variables": "4.2.0-
|
|
50
|
-
"@elementor/editor-styles": "4.2.0-
|
|
51
|
-
"@elementor/editor-canvas": "4.2.0-
|
|
52
|
-
"@elementor/editor-styles-repository": "4.2.0-
|
|
53
|
-
"@elementor/editor-ui": "4.2.0-
|
|
54
|
-
"@elementor/editor-v1-adapters": "4.2.0-
|
|
55
|
-
"@elementor/http-client": "4.2.0-
|
|
42
|
+
"@elementor/editor": "4.2.0-846",
|
|
43
|
+
"@elementor/editor-current-user": "4.2.0-846",
|
|
44
|
+
"@elementor/editor-documents": "4.2.0-846",
|
|
45
|
+
"@elementor/editor-editing-panel": "4.2.0-846",
|
|
46
|
+
"@elementor/editor-mcp": "4.2.0-846",
|
|
47
|
+
"@elementor/editor-panels": "4.2.0-846",
|
|
48
|
+
"@elementor/editor-props": "4.2.0-846",
|
|
49
|
+
"@elementor/editor-variables": "4.2.0-846",
|
|
50
|
+
"@elementor/editor-styles": "4.2.0-846",
|
|
51
|
+
"@elementor/editor-canvas": "4.2.0-846",
|
|
52
|
+
"@elementor/editor-styles-repository": "4.2.0-846",
|
|
53
|
+
"@elementor/editor-ui": "4.2.0-846",
|
|
54
|
+
"@elementor/editor-v1-adapters": "4.2.0-846",
|
|
55
|
+
"@elementor/http-client": "4.2.0-846",
|
|
56
56
|
"@elementor/icons": "~1.75.1",
|
|
57
|
-
"@elementor/query": "4.2.0-
|
|
58
|
-
"@elementor/schema": "4.2.0-
|
|
59
|
-
"@elementor/store": "4.2.0-
|
|
57
|
+
"@elementor/query": "4.2.0-846",
|
|
58
|
+
"@elementor/schema": "4.2.0-846",
|
|
59
|
+
"@elementor/store": "4.2.0-846",
|
|
60
60
|
"@elementor/ui": "1.37.5",
|
|
61
|
-
"@elementor/utils": "4.2.0-
|
|
61
|
+
"@elementor/utils": "4.2.0-846",
|
|
62
62
|
"@tanstack/react-virtual": "^3.13.24",
|
|
63
63
|
"@wordpress/i18n": "^5.13.0",
|
|
64
|
-
"@elementor/events": "4.2.0-
|
|
64
|
+
"@elementor/events": "4.2.0-846"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"react": "^18.3.1",
|
|
@@ -34,10 +34,6 @@ export default function initMcpApplyUnapplyGlobalClasses( server: MCPRegistryEnt
|
|
|
34
34
|
.describe( 'Instructions what to do next, Important to follow these instructions!' ),
|
|
35
35
|
},
|
|
36
36
|
name: 'apply-global-class',
|
|
37
|
-
modelPreferences: {
|
|
38
|
-
intelligencePriority: 0.7,
|
|
39
|
-
speedPriority: 0.8,
|
|
40
|
-
},
|
|
41
37
|
description: `Apply a global class to an element for shared design-system styling. Read the full guide at [${ APPLY_GLOBAL_CLASS_GUIDE_URI }].`,
|
|
42
38
|
requiredResources: [
|
|
43
39
|
{ description: 'Apply global class tool guide', uri: APPLY_GLOBAL_CLASS_GUIDE_URI },
|
|
@@ -64,10 +60,6 @@ export default function initMcpApplyUnapplyGlobalClasses( server: MCPRegistryEnt
|
|
|
64
60
|
outputSchema: {
|
|
65
61
|
result: z.string().describe( 'Result message indicating the success of the unapply operation' ),
|
|
66
62
|
},
|
|
67
|
-
modelPreferences: {
|
|
68
|
-
intelligencePriority: 0.7,
|
|
69
|
-
speedPriority: 0.8,
|
|
70
|
-
},
|
|
71
63
|
description: `Unapply a global class from an element by class ID. Resolve class names to IDs via [${ GLOBAL_CLASSES_URI }].`,
|
|
72
64
|
requiredResources: [ { description: 'Global classes list', uri: GLOBAL_CLASSES_URI } ],
|
|
73
65
|
handler: async ( params ) => {
|
|
@@ -29,10 +29,6 @@ export default function initMcpApplyGetGlobalClassUsages( reg: MCPRegistryEntry
|
|
|
29
29
|
|
|
30
30
|
addTool( {
|
|
31
31
|
name: 'get-global-class-usages',
|
|
32
|
-
modelPreferences: {
|
|
33
|
-
intelligencePriority: 0.6,
|
|
34
|
-
speedPriority: 0.8,
|
|
35
|
-
},
|
|
36
32
|
description: `Retrieve usages of global classes across all Elementor pages. Heavy operation — scans every page in the site.
|
|
37
33
|
|
|
38
34
|
## When to use:
|
|
@@ -209,10 +209,6 @@ export const initManageGlobalClasses = ( reg: MCPRegistryEntry ) => {
|
|
|
209
209
|
{ uri: STYLE_SCHEMA_URI, description: 'Style schema resources' },
|
|
210
210
|
{ uri: BREAKPOINTS_SCHEMA_URI, description: 'Breakpoints list' },
|
|
211
211
|
],
|
|
212
|
-
modelPreferences: {
|
|
213
|
-
intelligencePriority: 0.85,
|
|
214
|
-
speedPriority: 0.6,
|
|
215
|
-
},
|
|
216
212
|
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.`,
|
|
217
213
|
schema,
|
|
218
214
|
outputSchema,
|