@elementor/editor-global-classes 4.4.0-1109 → 4.4.0-1111
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 +1 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/store.ts +1 -6
package/dist/index.mjs
CHANGED
|
@@ -15,6 +15,7 @@ import { __useSelector as useSelector } from "@elementor/store";
|
|
|
15
15
|
|
|
16
16
|
// src/store.ts
|
|
17
17
|
import {
|
|
18
|
+
getNonEmptyVariants,
|
|
18
19
|
getVariantByMeta
|
|
19
20
|
} from "@elementor/editor-styles";
|
|
20
21
|
import {
|
|
@@ -282,11 +283,6 @@ var mergeProps = (current, updates) => {
|
|
|
282
283
|
});
|
|
283
284
|
return props;
|
|
284
285
|
};
|
|
285
|
-
var getNonEmptyVariants = (style) => {
|
|
286
|
-
return style.variants.filter(
|
|
287
|
-
({ props, custom_css: customCss }) => Object.keys(props).length || customCss?.raw
|
|
288
|
-
);
|
|
289
|
-
};
|
|
290
286
|
var placeholderDefinition = (id, label) => ({
|
|
291
287
|
id,
|
|
292
288
|
type: "class",
|