@elementor/editor-global-classes 4.1.0-736 → 4.1.0-738

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.mjs CHANGED
@@ -448,10 +448,12 @@ var getRemovedInfo = (classId) => {
448
448
  // src/global-classes-styles-provider.ts
449
449
  var MAX_CLASSES = 100;
450
450
  var GLOBAL_CLASSES_PROVIDER_KEY = "global-classes";
451
+ var PREGENERATED_LINK_PATTERN = /^global-(preview|frontend)-[a-zA-Z_-]+-css$/;
451
452
  var globalClassesStylesProvider = createStylesProvider({
452
453
  key: GLOBAL_CLASSES_PROVIDER_KEY,
453
454
  priority: 30,
454
455
  limit: MAX_CLASSES,
456
+ isPregeneratedLink: ({ id: id2 }) => PREGENERATED_LINK_PATTERN.test(id2),
455
457
  labels: {
456
458
  singular: __("class", "elementor"),
457
459
  plural: __("classes", "elementor")