@elementor/editor-controls 4.0.0-539 → 4.0.0-540

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
@@ -5563,7 +5563,7 @@ import {
5563
5563
  selectionSizePropTypeUtil as selectionSizePropTypeUtil2
5564
5564
  } from "@elementor/editor-props";
5565
5565
  import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
5566
- import { Alert as Alert3, AlertTitle as AlertTitle3, Box as Box20, Typography as Typography7 } from "@elementor/ui";
5566
+ import { Alert as Alert2, AlertTitle as AlertTitle3, Box as Box20, Typography as Typography7 } from "@elementor/ui";
5567
5567
  import { __ as __49 } from "@wordpress/i18n";
5568
5568
 
5569
5569
  // src/controls/selection-size-control.tsx
@@ -5792,9 +5792,9 @@ function subscribeToTransitionEvent() {
5792
5792
  import * as React95 from "react";
5793
5793
  import { useMemo as useMemo13, useRef as useRef23 } from "react";
5794
5794
  import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
5795
- import { PromotionChip } from "@elementor/editor-ui";
5796
- import { ChevronDownIcon as ChevronDownIcon3, CrownFilledIcon, VariationsIcon } from "@elementor/icons";
5797
- import { Alert as Alert2, bindPopover as bindPopover6, bindTrigger as bindTrigger5, Box as Box19, Popover as Popover6, UnstableTag as UnstableTag3, usePopupState as usePopupState7 } from "@elementor/ui";
5795
+ import { PromotionAlert, PromotionChip } from "@elementor/editor-ui";
5796
+ import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
5797
+ import { bindPopover as bindPopover6, bindTrigger as bindTrigger5, Box as Box19, Popover as Popover6, UnstableTag as UnstableTag3, usePopupState as usePopupState7 } from "@elementor/ui";
5798
5798
  import { __ as __48 } from "@wordpress/i18n";
5799
5799
  var toTransitionSelectorValue = (label) => {
5800
5800
  for (const category of transitionProperties) {
@@ -5927,34 +5927,14 @@ var TransitionSelector = ({
5927
5927
  showPromotion && disabledCategories.has(item.value) && /* @__PURE__ */ React95.createElement(PromotionChip, null)
5928
5928
  ),
5929
5929
  footer: showPromotion ? /* @__PURE__ */ React95.createElement(
5930
- Alert2,
5930
+ PromotionAlert,
5931
5931
  {
5932
- variant: "standard",
5933
- color: "promotion",
5934
- icon: false,
5935
- role: "dialog",
5936
- "aria-label": "promotion-alert",
5937
- size: "small",
5938
- sx: { m: 1.5, mt: 0 }
5939
- },
5940
- __48("Upgrade to customize transition properties and control effects.", "elementor"),
5941
- /* @__PURE__ */ React95.createElement(
5942
- Box19,
5943
- {
5944
- component: "a",
5945
- href: PRO_UPGRADE_URL,
5946
- target: "_blank",
5947
- rel: "noopener noreferrer",
5948
- sx: {
5949
- display: "flex",
5950
- alignItems: "center",
5951
- gap: 0.5,
5952
- color: "promotion.main"
5953
- }
5954
- },
5955
- /* @__PURE__ */ React95.createElement(CrownFilledIcon, { fontSize: "tiny" }),
5956
- __48("Upgrade now", "elementor")
5957
- )
5932
+ message: __48(
5933
+ "Upgrade to customize transition properties and control effects.",
5934
+ "elementor"
5935
+ ),
5936
+ upgradeUrl: PRO_UPGRADE_URL
5937
+ }
5958
5938
  ) : null
5959
5939
  }
5960
5940
  )
@@ -6062,7 +6042,7 @@ var getInitialValue = (values = []) => {
6062
6042
  return initialTransitionValue;
6063
6043
  };
6064
6044
  var disableAddItemTooltipContent = /* @__PURE__ */ React96.createElement(
6065
- Alert3,
6045
+ Alert2,
6066
6046
  {
6067
6047
  sx: {
6068
6048
  width: 280,