@elementor/editor-global-classes 4.3.0-1017 → 4.3.0-1019

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.3.0-1017",
3
+ "version": "4.3.0-1019",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,30 +39,30 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "4.3.0-1017",
43
- "@elementor/editor-current-user": "4.3.0-1017",
44
- "@elementor/editor-documents": "4.3.0-1017",
45
- "@elementor/editor-embedded-documents-manager": "4.3.0-1017",
46
- "@elementor/editor-editing-panel": "4.3.0-1017",
47
- "@elementor/editor-mcp": "4.3.0-1017",
48
- "@elementor/editor-panels": "4.3.0-1017",
49
- "@elementor/editor-props": "4.3.0-1017",
50
- "@elementor/editor-variables": "4.3.0-1017",
51
- "@elementor/editor-styles": "4.3.0-1017",
52
- "@elementor/editor-canvas": "4.3.0-1017",
53
- "@elementor/editor-styles-repository": "4.3.0-1017",
54
- "@elementor/editor-ui": "4.3.0-1017",
55
- "@elementor/editor-v1-adapters": "4.3.0-1017",
56
- "@elementor/http-client": "4.3.0-1017",
42
+ "@elementor/editor": "4.3.0-1019",
43
+ "@elementor/editor-current-user": "4.3.0-1019",
44
+ "@elementor/editor-documents": "4.3.0-1019",
45
+ "@elementor/editor-embedded-documents-manager": "4.3.0-1019",
46
+ "@elementor/editor-editing-panel": "4.3.0-1019",
47
+ "@elementor/editor-mcp": "4.3.0-1019",
48
+ "@elementor/editor-panels": "4.3.0-1019",
49
+ "@elementor/editor-props": "4.3.0-1019",
50
+ "@elementor/editor-variables": "4.3.0-1019",
51
+ "@elementor/editor-styles": "4.3.0-1019",
52
+ "@elementor/editor-canvas": "4.3.0-1019",
53
+ "@elementor/editor-styles-repository": "4.3.0-1019",
54
+ "@elementor/editor-ui": "4.3.0-1019",
55
+ "@elementor/editor-v1-adapters": "4.3.0-1019",
56
+ "@elementor/http-client": "4.3.0-1019",
57
57
  "@elementor/icons": "~1.75.1",
58
- "@elementor/query": "4.3.0-1017",
59
- "@elementor/schema": "4.3.0-1017",
60
- "@elementor/store": "4.3.0-1017",
58
+ "@elementor/query": "4.3.0-1019",
59
+ "@elementor/schema": "4.3.0-1019",
60
+ "@elementor/store": "4.3.0-1019",
61
61
  "@elementor/ui": "1.37.5",
62
- "@elementor/utils": "4.3.0-1017",
62
+ "@elementor/utils": "4.3.0-1019",
63
63
  "@tanstack/react-virtual": "^3.13.24",
64
64
  "@wordpress/i18n": "^5.13.0",
65
- "@elementor/events": "4.3.0-1017"
65
+ "@elementor/events": "4.3.0-1019"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.3.1",
@@ -9,8 +9,8 @@ export const generateApplyGlobalClassGuidePrompt = () => {
9
9
 
10
10
  prompt.instruction(
11
11
  `## When to use this tool:
12
- **ALWAYS use this IMMEDIATELY AFTER building compositions** to apply the global classes you created beforehand:
13
- - After using "build-compositions" tool, apply semantic classes to the created elements
12
+ **ALWAYS use this IMMEDIATELY AFTER creating or updating elements** to apply the global classes you created beforehand:
13
+ - After adding elements to the canvas, apply semantic classes to them
14
14
  - When applying consistent typography styles (heading-primary, text-body, etc.)
15
15
  - When applying theme colors or brand styles (bg-brand, button-cta, etc.)
16
16
  - When ensuring spacing consistency (spacing-section-large, etc.)
@@ -23,7 +23,7 @@ export const generateApplyGlobalClassGuidePrompt = () => {
23
23
  prompt.instruction(
24
24
  `## Prerequisites:
25
25
  - **REQUIRED**: Get the list of available global classes from 'elementor://global-classes' resource
26
- - **REQUIRED**: Get element IDs from the composition XML returned by "build-compositions" tool
26
+ - **REQUIRED**: Get element IDs from the page structure or selected element resources
27
27
  - Ensure you have the most up-to-date list of classes applied to the element to avoid duplicates
28
28
  - Make sure you have the correct class ID that you want to apply`
29
29
  );