@elementor/editor-controls 3.35.3 → 3.35.4
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
|
@@ -5578,7 +5578,7 @@ import {
|
|
|
5578
5578
|
selectionSizePropTypeUtil as selectionSizePropTypeUtil2
|
|
5579
5579
|
} from "@elementor/editor-props";
|
|
5580
5580
|
import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
|
|
5581
|
-
import { Alert as
|
|
5581
|
+
import { Alert as Alert2, AlertTitle as AlertTitle3, Box as Box20, Typography as Typography7 } from "@elementor/ui";
|
|
5582
5582
|
import { __ as __49 } from "@wordpress/i18n";
|
|
5583
5583
|
|
|
5584
5584
|
// src/controls/selection-size-control.tsx
|
|
@@ -5635,7 +5635,7 @@ var getIsSiteRtl = () => {
|
|
|
5635
5635
|
var shouldExtendTransitionProperties = () => {
|
|
5636
5636
|
const hasProInstalled = !!window.elementorPro;
|
|
5637
5637
|
if (!hasProInstalled) {
|
|
5638
|
-
return
|
|
5638
|
+
return false;
|
|
5639
5639
|
}
|
|
5640
5640
|
const proVersion = window.elementorPro?.config?.version;
|
|
5641
5641
|
if (!proVersion) {
|
|
@@ -5807,9 +5807,9 @@ function subscribeToTransitionEvent() {
|
|
|
5807
5807
|
import * as React96 from "react";
|
|
5808
5808
|
import { useMemo as useMemo13, useRef as useRef23 } from "react";
|
|
5809
5809
|
import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
|
|
5810
|
-
import { PromotionChip } from "@elementor/editor-ui";
|
|
5811
|
-
import { ChevronDownIcon as ChevronDownIcon3,
|
|
5812
|
-
import {
|
|
5810
|
+
import { PromotionAlert, PromotionChip } from "@elementor/editor-ui";
|
|
5811
|
+
import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
|
|
5812
|
+
import { bindPopover as bindPopover6, bindTrigger as bindTrigger5, Box as Box19, Popover as Popover6, UnstableTag as UnstableTag3, usePopupState as usePopupState7 } from "@elementor/ui";
|
|
5813
5813
|
import { __ as __48 } from "@wordpress/i18n";
|
|
5814
5814
|
var toTransitionSelectorValue = (label) => {
|
|
5815
5815
|
for (const category of transitionProperties) {
|
|
@@ -5942,34 +5942,14 @@ var TransitionSelector = ({
|
|
|
5942
5942
|
showPromotion && disabledCategories.has(item.value) && /* @__PURE__ */ React96.createElement(PromotionChip, null)
|
|
5943
5943
|
),
|
|
5944
5944
|
footer: showPromotion ? /* @__PURE__ */ React96.createElement(
|
|
5945
|
-
|
|
5945
|
+
PromotionAlert,
|
|
5946
5946
|
{
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
sx: { m: 1.5, mt: 0 }
|
|
5954
|
-
},
|
|
5955
|
-
__48("Upgrade to customize transition properties and control effects.", "elementor"),
|
|
5956
|
-
/* @__PURE__ */ React96.createElement(
|
|
5957
|
-
Box19,
|
|
5958
|
-
{
|
|
5959
|
-
component: "a",
|
|
5960
|
-
href: PRO_UPGRADE_URL,
|
|
5961
|
-
target: "_blank",
|
|
5962
|
-
rel: "noopener noreferrer",
|
|
5963
|
-
sx: {
|
|
5964
|
-
display: "flex",
|
|
5965
|
-
alignItems: "center",
|
|
5966
|
-
gap: 0.5,
|
|
5967
|
-
color: "promotion.main"
|
|
5968
|
-
}
|
|
5969
|
-
},
|
|
5970
|
-
/* @__PURE__ */ React96.createElement(CrownFilledIcon, { fontSize: "tiny" }),
|
|
5971
|
-
__48("Upgrade now", "elementor")
|
|
5972
|
-
)
|
|
5947
|
+
message: __48(
|
|
5948
|
+
"Upgrade to customize transition properties and control effects.",
|
|
5949
|
+
"elementor"
|
|
5950
|
+
),
|
|
5951
|
+
upgradeUrl: PRO_UPGRADE_URL
|
|
5952
|
+
}
|
|
5973
5953
|
) : null
|
|
5974
5954
|
}
|
|
5975
5955
|
)
|
|
@@ -6077,7 +6057,7 @@ var getInitialValue = (values = []) => {
|
|
|
6077
6057
|
return initialTransitionValue;
|
|
6078
6058
|
};
|
|
6079
6059
|
var disableAddItemTooltipContent = /* @__PURE__ */ React97.createElement(
|
|
6080
|
-
|
|
6060
|
+
Alert2,
|
|
6081
6061
|
{
|
|
6082
6062
|
sx: {
|
|
6083
6063
|
width: 280,
|