@elementor/editor-editing-panel 4.0.0-521 → 4.0.0-523
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.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +41 -38
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/components/promotions/custom-css.tsx +1 -4
- package/src/components/promotions/init.tsx +5 -0
- package/src/components/promotions/types.ts +3 -9
- package/src/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -4849,14 +4849,16 @@ var EditingPanelHooks = () => {
|
|
|
4849
4849
|
return null;
|
|
4850
4850
|
};
|
|
4851
4851
|
|
|
4852
|
+
// src/components/promotions/init.tsx
|
|
4853
|
+
import { DisplayConditionsControl } from "@elementor/editor-controls";
|
|
4854
|
+
|
|
4852
4855
|
// src/components/promotions/custom-css.tsx
|
|
4853
4856
|
import * as React83 from "react";
|
|
4854
4857
|
import { useState as useState11 } from "react";
|
|
4855
4858
|
import { PromotionChip, PromotionInfotip } from "@elementor/editor-ui";
|
|
4856
4859
|
import { __ as __57 } from "@wordpress/i18n";
|
|
4857
4860
|
function getCustomCssPromotion() {
|
|
4858
|
-
|
|
4859
|
-
return extendedWindow.elementor?.config?.v4Promotions?.customCss;
|
|
4861
|
+
return window.elementor?.config?.v4Promotions?.customCss;
|
|
4860
4862
|
}
|
|
4861
4863
|
var CustomCssSection = () => {
|
|
4862
4864
|
const [showInfoTip, setShowInfoTip] = useState11(false);
|
|
@@ -4901,6 +4903,7 @@ var init = () => {
|
|
|
4901
4903
|
component: CustomCssSection,
|
|
4902
4904
|
options: { overwrite: true }
|
|
4903
4905
|
});
|
|
4906
|
+
controlsRegistry.register("display-conditions", DisplayConditionsControl, "two-columns");
|
|
4904
4907
|
}
|
|
4905
4908
|
};
|
|
4906
4909
|
|