@elementor/editor-global-classes 4.3.0-1019 → 4.3.0-1021
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 +12 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/capabilities.ts +6 -12
package/dist/index.mjs
CHANGED
|
@@ -2523,19 +2523,14 @@ import {
|
|
|
2523
2523
|
import { __ as __15 } from "@wordpress/i18n";
|
|
2524
2524
|
|
|
2525
2525
|
// src/capabilities.ts
|
|
2526
|
-
import { isExperimentActive } from "@elementor/editor-v1-adapters";
|
|
2527
|
-
var EXPERIMENT_KEY = "global_classes_should_enforce_capabilities";
|
|
2528
2526
|
var UPDATE_CLASS_CAPABILITY_KEY = "elementor_global_classes_update_class";
|
|
2529
2527
|
var getCapabilities = () => {
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
updateProps: UPDATE_CLASS_CAPABILITY_KEY
|
|
2537
|
-
};
|
|
2538
|
-
}
|
|
2528
|
+
return {
|
|
2529
|
+
update: UPDATE_CLASS_CAPABILITY_KEY,
|
|
2530
|
+
create: UPDATE_CLASS_CAPABILITY_KEY,
|
|
2531
|
+
delete: UPDATE_CLASS_CAPABILITY_KEY,
|
|
2532
|
+
updateProps: UPDATE_CLASS_CAPABILITY_KEY
|
|
2533
|
+
};
|
|
2539
2534
|
};
|
|
2540
2535
|
|
|
2541
2536
|
// src/global-classes-styles-provider.ts
|