@elementor/editor-editing-panel 3.32.0-62 → 3.32.0-63

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
@@ -1723,7 +1723,7 @@ function EditorPanelErrorFallback() {
1723
1723
 
1724
1724
  // src/components/editing-panel-tabs.tsx
1725
1725
  import * as React88 from "react";
1726
- import { Fragment as Fragment10 } from "react";
1726
+ import { Fragment as Fragment9 } from "react";
1727
1727
  import { Divider as Divider6, Stack as Stack15, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
1728
1728
  import { __ as __60 } from "@wordpress/i18n";
1729
1729
 
@@ -2269,7 +2269,7 @@ import * as React87 from "react";
2269
2269
  import { useState as useState12 } from "react";
2270
2270
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
2271
2271
  import { useActiveBreakpoint } from "@elementor/editor-responsive";
2272
- import { EXPERIMENTAL_FEATURES as EXPERIMENTAL_FEATURES2, isExperimentActive as isExperimentActive2 } from "@elementor/editor-v1-adapters";
2272
+ import { EXPERIMENTAL_FEATURES, isExperimentActive } from "@elementor/editor-v1-adapters";
2273
2273
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
2274
2274
  import { Box as Box7, Divider as Divider5, Stack as Stack14 } from "@elementor/ui";
2275
2275
  import { __ as __59 } from "@wordpress/i18n";
@@ -3339,7 +3339,6 @@ import {
3339
3339
  TransitionRepeaterControl
3340
3340
  } from "@elementor/editor-controls";
3341
3341
  import { useSelectedElement } from "@elementor/editor-elements";
3342
- import { EXPERIMENTAL_FEATURES, isExperimentActive } from "@elementor/editor-v1-adapters";
3343
3342
  import { __ as __21 } from "@wordpress/i18n";
3344
3343
 
3345
3344
  // src/utils/get-recently-used-styles.ts
@@ -3387,9 +3386,8 @@ var TRANSFORM_LABEL = __21("Transform", "elementor");
3387
3386
  var BACKDROP_FILTER_LABEL = __21("Backdrop filters", "elementor");
3388
3387
  var TRANSITIONS_LABEL = __21("Transitions", "elementor");
3389
3388
  var EffectsSection = () => {
3390
- const shouldShowTransition = isExperimentActive(EXPERIMENTAL_FEATURES.TRANSITIONS);
3391
3389
  const { element } = useSelectedElement();
3392
- return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(OpacityControlField, null), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React46.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React46.createElement(TransformRepeaterControl, null)), shouldShowTransition && /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React46.createElement(TransitionRepeaterControl, { recentlyUsedList: getRecentlyUsedList(element?.id) }))), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React46.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React46.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3390
+ return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(OpacityControlField, null), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React46.createElement(BoxShadowRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React46.createElement(TransformRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React46.createElement(TransitionRepeaterControl, { recentlyUsedList: getRecentlyUsedList(element?.id) })), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React46.createElement(FilterRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React46.createElement(FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3393
3391
  };
3394
3392
 
3395
3393
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -4815,7 +4813,7 @@ var StyleTab = () => {
4815
4813
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
4816
4814
  const [activeStyleState, setActiveStyleState] = useState12(null);
4817
4815
  const breakpoint = useActiveBreakpoint();
4818
- const shouldRenderCustomCss = isExperimentActive2(EXPERIMENTAL_FEATURES2.CUSTOM_CSS);
4816
+ const shouldRenderCustomCss = isExperimentActive(EXPERIMENTAL_FEATURES.CUSTOM_CSS);
4819
4817
  return /* @__PURE__ */ React87.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React87.createElement(
4820
4818
  StyleProvider,
4821
4819
  {
@@ -4982,7 +4980,7 @@ var EditingPanelTabs = () => {
4982
4980
  return (
4983
4981
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4984
4982
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4985
- /* @__PURE__ */ React88.createElement(Fragment10, { key: element.id }, /* @__PURE__ */ React88.createElement(PanelTabContent, null))
4983
+ /* @__PURE__ */ React88.createElement(Fragment9, { key: element.id }, /* @__PURE__ */ React88.createElement(PanelTabContent, null))
4986
4984
  );
4987
4985
  };
4988
4986
  var PanelTabContent = () => {
@@ -5220,7 +5218,7 @@ var DynamicControl = ({ bind, children }) => {
5220
5218
  };
5221
5219
 
5222
5220
  // src/dynamics/components/dynamic-selection.tsx
5223
- import { Fragment as Fragment12, useState as useState13 } from "react";
5221
+ import { Fragment as Fragment11, useState as useState13 } from "react";
5224
5222
  import * as React92 from "react";
5225
5223
  import { useBoundProp as useBoundProp8 } from "@elementor/editor-controls";
5226
5224
  import { PopoverHeader as PopoverHeader2, PopoverMenuList, PopoverSearch } from "@elementor/editor-ui";
@@ -5268,7 +5266,7 @@ var DynamicSelection = ({ close: closePopover }) => {
5268
5266
  onClose: closePopover,
5269
5267
  icon: /* @__PURE__ */ React92.createElement(DatabaseIcon2, { fontSize: SIZE6 })
5270
5268
  }
5271
- ), hasNoDynamicTags ? /* @__PURE__ */ React92.createElement(NoDynamicTags, null) : /* @__PURE__ */ React92.createElement(Fragment12, null, /* @__PURE__ */ React92.createElement(
5269
+ ), hasNoDynamicTags ? /* @__PURE__ */ React92.createElement(NoDynamicTags, null) : /* @__PURE__ */ React92.createElement(Fragment11, null, /* @__PURE__ */ React92.createElement(
5272
5270
  PopoverSearch,
5273
5271
  {
5274
5272
  value: searchValue,