@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-global-classes",
3
- "version": "3.35.0-363",
3
+ "version": "3.35.0-364",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,28 +39,28 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "3.35.0-363",
43
- "@elementor/editor-current-user": "3.35.0-363",
44
- "@elementor/editor-documents": "3.35.0-363",
45
- "@elementor/editor-editing-panel": "3.35.0-363",
46
- "@elementor/editor-mcp": "3.35.0-363",
47
- "@elementor/editor-panels": "3.35.0-363",
48
- "@elementor/editor-props": "3.35.0-363",
49
- "@elementor/editor-variables": "3.35.0-363",
50
- "@elementor/editor-styles": "3.35.0-363",
51
- "@elementor/editor-canvas": "3.35.0-363",
52
- "@elementor/editor-styles-repository": "3.35.0-363",
53
- "@elementor/editor-ui": "3.35.0-363",
54
- "@elementor/editor-v1-adapters": "3.35.0-363",
55
- "@elementor/http-client": "3.35.0-363",
42
+ "@elementor/editor": "3.35.0-364",
43
+ "@elementor/editor-current-user": "3.35.0-364",
44
+ "@elementor/editor-documents": "3.35.0-364",
45
+ "@elementor/editor-editing-panel": "3.35.0-364",
46
+ "@elementor/editor-mcp": "3.35.0-364",
47
+ "@elementor/editor-panels": "3.35.0-364",
48
+ "@elementor/editor-props": "3.35.0-364",
49
+ "@elementor/editor-variables": "3.35.0-364",
50
+ "@elementor/editor-styles": "3.35.0-364",
51
+ "@elementor/editor-canvas": "3.35.0-364",
52
+ "@elementor/editor-styles-repository": "3.35.0-364",
53
+ "@elementor/editor-ui": "3.35.0-364",
54
+ "@elementor/editor-v1-adapters": "3.35.0-364",
55
+ "@elementor/http-client": "3.35.0-364",
56
56
  "@elementor/icons": "^1.62.0",
57
- "@elementor/query": "3.35.0-363",
58
- "@elementor/schema": "3.35.0-363",
59
- "@elementor/store": "3.35.0-363",
57
+ "@elementor/query": "3.35.0-364",
58
+ "@elementor/schema": "3.35.0-364",
59
+ "@elementor/store": "3.35.0-364",
60
60
  "@elementor/ui": "1.36.17",
61
- "@elementor/utils": "3.35.0-363",
61
+ "@elementor/utils": "3.35.0-364",
62
62
  "@wordpress/i18n": "^5.13.0",
63
- "@elementor/mixpanel": "3.35.0-363"
63
+ "@elementor/mixpanel": "3.35.0-364"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": "^18.3.1",
@@ -12,6 +12,10 @@ export default function initMcpApplyUnapplyGlobalClasses( server: MCPRegistryEnt
12
12
  result: z.string().describe( 'Result message indicating the success of the apply operation' ),
13
13
  },
14
14
  name: 'apply-global-class',
15
+ modelPreferences: {
16
+ intelligencePriority: 0.7,
17
+ speedPriority: 0.8,
18
+ },
15
19
  description: `Apply a global class to the current element
16
20
 
17
21
  ## When to use this tool:
@@ -43,6 +47,10 @@ export default function initMcpApplyUnapplyGlobalClasses( server: MCPRegistryEnt
43
47
  outputSchema: {
44
48
  result: z.string().describe( 'Result message indicating the success of the unapply operation' ),
45
49
  },
50
+ modelPreferences: {
51
+ intelligencePriority: 0.7,
52
+ speedPriority: 0.8,
53
+ },
46
54
  description: `Unapply a (global) class from the current element
47
55
 
48
56
  ## When to use this tool:
@@ -106,6 +106,10 @@ export const initCreateGlobalClass = ( reg: MCPRegistryEntry ) => {
106
106
  { uri: GLOBAL_CLASSES_URI, description: 'Global classes list' },
107
107
  { uri: STYLE_SCHEMA_URI, description: 'Style schema resources' },
108
108
  ],
109
+ modelPreferences: {
110
+ intelligencePriority: 0.85,
111
+ speedPriority: 0.6,
112
+ },
109
113
  description: `Create a new global class within the Elementor editor, allowing users to define reusable styles and properties for consistent design across their website.
110
114
 
111
115
  # Prequisites: CRITICAL
@@ -28,6 +28,10 @@ export default function initMcpApplyGetGlobalClassUsages( reg: MCPRegistryEntry
28
28
 
29
29
  addTool( {
30
30
  name: 'get-global-class-usages',
31
+ modelPreferences: {
32
+ intelligencePriority: 0.6,
33
+ speedPriority: 0.8,
34
+ },
31
35
  description: `Retreive the usages of global-classes ACCROSS PAGES designed by Elementor editor.
32
36
 
33
37
  ## Prequisites: CRITICAL
@@ -100,6 +100,11 @@ export const initModifyGlobalClass = ( reg: MCPRegistryEntry ) => {
100
100
  uri: GLOBAL_CLASSES_URI,
101
101
  },
102
102
  ],
103
+ modelPreferences: {
104
+ hints: [ { name: 'claude-sonnet' } ],
105
+ intelligencePriority: 0.85,
106
+ speedPriority: 0.6,
107
+ },
103
108
  description: `Modify an existing global class within the Elementor editor, allowing users to update styles and properties for consistent design across their website.
104
109
  # CRITICAL Prequisites:
105
110
  - Read the style schema at [elementor://styles/schema/{category}] to understand the valid properties and values that can be assigned to the global class.