@elementor/editor-global-classes 4.1.0-827 → 4.1.0-829
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-global-classes",
|
|
3
|
-
"version": "4.1.0-
|
|
3
|
+
"version": "4.1.0-829",
|
|
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.1.0-
|
|
43
|
-
"@elementor/editor-current-user": "4.1.0-
|
|
44
|
-
"@elementor/editor-documents": "4.1.0-
|
|
45
|
-
"@elementor/editor-editing-panel": "4.1.0-
|
|
46
|
-
"@elementor/editor-mcp": "4.1.0-
|
|
47
|
-
"@elementor/editor-panels": "4.1.0-
|
|
48
|
-
"@elementor/editor-props": "4.1.0-
|
|
49
|
-
"@elementor/editor-variables": "4.1.0-
|
|
50
|
-
"@elementor/editor-styles": "4.1.0-
|
|
51
|
-
"@elementor/editor-canvas": "4.1.0-
|
|
52
|
-
"@elementor/editor-styles-repository": "4.1.0-
|
|
53
|
-
"@elementor/editor-ui": "4.1.0-
|
|
54
|
-
"@elementor/editor-v1-adapters": "4.1.0-
|
|
55
|
-
"@elementor/http-client": "4.1.0-
|
|
42
|
+
"@elementor/editor": "4.1.0-829",
|
|
43
|
+
"@elementor/editor-current-user": "4.1.0-829",
|
|
44
|
+
"@elementor/editor-documents": "4.1.0-829",
|
|
45
|
+
"@elementor/editor-editing-panel": "4.1.0-829",
|
|
46
|
+
"@elementor/editor-mcp": "4.1.0-829",
|
|
47
|
+
"@elementor/editor-panels": "4.1.0-829",
|
|
48
|
+
"@elementor/editor-props": "4.1.0-829",
|
|
49
|
+
"@elementor/editor-variables": "4.1.0-829",
|
|
50
|
+
"@elementor/editor-styles": "4.1.0-829",
|
|
51
|
+
"@elementor/editor-canvas": "4.1.0-829",
|
|
52
|
+
"@elementor/editor-styles-repository": "4.1.0-829",
|
|
53
|
+
"@elementor/editor-ui": "4.1.0-829",
|
|
54
|
+
"@elementor/editor-v1-adapters": "4.1.0-829",
|
|
55
|
+
"@elementor/http-client": "4.1.0-829",
|
|
56
56
|
"@elementor/icons": "^1.68.0",
|
|
57
|
-
"@elementor/query": "4.1.0-
|
|
58
|
-
"@elementor/schema": "4.1.0-
|
|
59
|
-
"@elementor/store": "4.1.0-
|
|
57
|
+
"@elementor/query": "4.1.0-829",
|
|
58
|
+
"@elementor/schema": "4.1.0-829",
|
|
59
|
+
"@elementor/store": "4.1.0-829",
|
|
60
60
|
"@elementor/ui": "1.37.5",
|
|
61
|
-
"@elementor/utils": "4.1.0-
|
|
61
|
+
"@elementor/utils": "4.1.0-829",
|
|
62
62
|
"@tanstack/react-virtual": "^3.13.24",
|
|
63
63
|
"@wordpress/i18n": "^5.13.0",
|
|
64
|
-
"@elementor/events": "4.1.0-
|
|
64
|
+
"@elementor/events": "4.1.0-829"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"react": "^18.3.1",
|
|
@@ -79,7 +79,7 @@ export default function initMcpApplyUnapplyGlobalClasses( server: MCPRegistryEnt
|
|
|
79
79
|
- Make sure you have the correct class ID that you want to unapply.
|
|
80
80
|
|
|
81
81
|
<note>
|
|
82
|
-
If the user want to unapply a class by it's name and not ID,
|
|
82
|
+
If the user want to unapply a class by it's name and not ID, retrieve the id from the list, available at uri elementor://global-classes
|
|
83
83
|
</note>
|
|
84
84
|
`,
|
|
85
85
|
handler: async ( params ) => {
|
|
@@ -12,7 +12,7 @@ export default function initMcpApplyGetGlobalClassUsages( reg: MCPRegistryEntry
|
|
|
12
12
|
classId: z
|
|
13
13
|
.string()
|
|
14
14
|
.describe(
|
|
15
|
-
'The ID of the class, not visible to the user. To
|
|
15
|
+
'The ID of the class, not visible to the user. To retrieve the name of the class, use the "list-global-classes" tool'
|
|
16
16
|
),
|
|
17
17
|
usages: z.array(
|
|
18
18
|
z.object( {
|
|
@@ -32,13 +32,13 @@ export default function initMcpApplyGetGlobalClassUsages( reg: MCPRegistryEntry
|
|
|
32
32
|
intelligencePriority: 0.6,
|
|
33
33
|
speedPriority: 0.8,
|
|
34
34
|
},
|
|
35
|
-
description: `
|
|
35
|
+
description: `Retrieve the usages of global-classes ACROSS PAGES designed by Elementor editor.
|
|
36
36
|
|
|
37
|
-
##
|
|
37
|
+
## Prerequisites: CRITICAL
|
|
38
38
|
- The list of global classes and their applid values is available at resource uri elementor://global-classes
|
|
39
39
|
|
|
40
40
|
## When to use this tool:
|
|
41
|
-
- When a user requests to see where a specific global class is being used
|
|
41
|
+
- When a user requests to see where a specific global class is being used across the site.
|
|
42
42
|
- When you need to manage or clean up unused global classes.
|
|
43
43
|
- Before deleting a global class, to ensure it is not in use in any other pages.
|
|
44
44
|
|