@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/dist/index.js CHANGED
@@ -2863,8 +2863,8 @@ var generateApplyGlobalClassGuidePrompt = () => {
2863
2863
  prompt.description("Apply a global class to an element, enabling consistent styling through your design system.");
2864
2864
  prompt.instruction(
2865
2865
  `## When to use this tool:
2866
- **ALWAYS use this IMMEDIATELY AFTER building compositions** to apply the global classes you created beforehand:
2867
- - After using "build-compositions" tool, apply semantic classes to the created elements
2866
+ **ALWAYS use this IMMEDIATELY AFTER creating or updating elements** to apply the global classes you created beforehand:
2867
+ - After adding elements to the canvas, apply semantic classes to them
2868
2868
  - When applying consistent typography styles (heading-primary, text-body, etc.)
2869
2869
  - When applying theme colors or brand styles (bg-brand, button-cta, etc.)
2870
2870
  - When ensuring spacing consistency (spacing-section-large, etc.)
@@ -2876,7 +2876,7 @@ var generateApplyGlobalClassGuidePrompt = () => {
2876
2876
  prompt.instruction(
2877
2877
  `## Prerequisites:
2878
2878
  - **REQUIRED**: Get the list of available global classes from 'elementor://global-classes' resource
2879
- - **REQUIRED**: Get element IDs from the composition XML returned by "build-compositions" tool
2879
+ - **REQUIRED**: Get element IDs from the page structure or selected element resources
2880
2880
  - Ensure you have the most up-to-date list of classes applied to the element to avoid duplicates
2881
2881
  - Make sure you have the correct class ID that you want to apply`
2882
2882
  );