@elementor/editor-editing-panel 4.3.0-1019 → 4.3.0-1020
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 +10 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/components/editing-panel-tabs.tsx +4 -10
package/dist/index.mjs
CHANGED
|
@@ -1952,7 +1952,6 @@ var EditingPanelStickyPromotion = () => {
|
|
|
1952
1952
|
import { Fragment as Fragment9 } from "react";
|
|
1953
1953
|
import * as React90 from "react";
|
|
1954
1954
|
import { getWidgetsCache as getWidgetsCache2 } from "@elementor/editor-elements";
|
|
1955
|
-
import { isExperimentActive } from "@elementor/editor-v1-adapters";
|
|
1956
1955
|
import { Divider as Divider6, Stack as Stack14, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
|
|
1957
1956
|
import { __ as __63 } from "@wordpress/i18n";
|
|
1958
1957
|
|
|
@@ -5668,7 +5667,6 @@ var PanelTabContent = () => {
|
|
|
5668
5667
|
const { element } = useElement();
|
|
5669
5668
|
const editorDefaults = useDefaultPanelSettings();
|
|
5670
5669
|
const defaultComponentTab = editorDefaults.defaultTab;
|
|
5671
|
-
const isInteractionsActive = isExperimentActive("e_interactions");
|
|
5672
5670
|
const isPromotedElement = !!getWidgetsCache2()?.[element.type]?.meta?.is_pro_promotion;
|
|
5673
5671
|
const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
|
|
5674
5672
|
const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
|
|
@@ -5687,8 +5685,8 @@ var PanelTabContent = () => {
|
|
|
5687
5685
|
},
|
|
5688
5686
|
!isPromotedElement && /* @__PURE__ */ React90.createElement(Tab, { label: __63("General", "elementor"), ...getTabProps("settings") }),
|
|
5689
5687
|
/* @__PURE__ */ React90.createElement(Tab, { label: __63("Style", "elementor"), ...getTabProps("style") }),
|
|
5690
|
-
|
|
5691
|
-
), /* @__PURE__ */ React90.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React90.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React90.createElement(SettingsTab, null)), /* @__PURE__ */ React90.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React90.createElement(StyleTab, null)),
|
|
5688
|
+
/* @__PURE__ */ React90.createElement(Tab, { label: __63("Interactions", "elementor"), ...getTabProps("interactions") })
|
|
5689
|
+
), /* @__PURE__ */ React90.createElement(Divider6, null)), !isPromotedElement && /* @__PURE__ */ React90.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React90.createElement(SettingsTab, null)), /* @__PURE__ */ React90.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React90.createElement(StyleTab, null)), /* @__PURE__ */ React90.createElement(TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React90.createElement(InteractionsTab, null))));
|
|
5692
5690
|
};
|
|
5693
5691
|
|
|
5694
5692
|
// src/components/editing-panel.tsx
|