@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-global-classes",
3
- "version": "4.2.0-844",
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-844",
43
- "@elementor/editor-current-user": "4.2.0-844",
44
- "@elementor/editor-documents": "4.2.0-844",
45
- "@elementor/editor-editing-panel": "4.2.0-844",
46
- "@elementor/editor-mcp": "4.2.0-844",
47
- "@elementor/editor-panels": "4.2.0-844",
48
- "@elementor/editor-props": "4.2.0-844",
49
- "@elementor/editor-variables": "4.2.0-844",
50
- "@elementor/editor-styles": "4.2.0-844",
51
- "@elementor/editor-canvas": "4.2.0-844",
52
- "@elementor/editor-styles-repository": "4.2.0-844",
53
- "@elementor/editor-ui": "4.2.0-844",
54
- "@elementor/editor-v1-adapters": "4.2.0-844",
55
- "@elementor/http-client": "4.2.0-844",
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-844",
58
- "@elementor/schema": "4.2.0-844",
59
- "@elementor/store": "4.2.0-844",
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-844",
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-844"
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,