@elementor/editor-controls 3.32.0-31 → 3.32.0-33

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
@@ -2454,7 +2454,14 @@ var ItemSelector = ({
2454
2454
  sx: { display: "flex", width: "100%", justifyContent: "center" }
2455
2455
  },
2456
2456
  /* @__PURE__ */ React38.createElement("span", null, "\u201C"),
2457
- /* @__PURE__ */ React38.createElement("span", { style: { maxWidth: "80%", overflow: "hidden", textOverflow: "ellipsis" } }, searchValue),
2457
+ /* @__PURE__ */ React38.createElement(
2458
+ Box5,
2459
+ {
2460
+ component: "span",
2461
+ sx: { maxWidth: "80%", overflow: "hidden", textOverflow: "ellipsis" }
2462
+ },
2463
+ searchValue
2464
+ ),
2458
2465
  /* @__PURE__ */ React38.createElement("span", null, "\u201D.")
2459
2466
  )),
2460
2467
  /* @__PURE__ */ React38.createElement(
@@ -4815,7 +4822,7 @@ var ToolTip = /* @__PURE__ */ React78.createElement(React78.Fragment, null, /* @
4815
4822
  // src/controls/transition-control/transition-repeater-control.tsx
4816
4823
  import * as React81 from "react";
4817
4824
  import { selectionSizePropTypeUtil as selectionSizePropTypeUtil2 } from "@elementor/editor-props";
4818
- import { __ as __40 } from "@wordpress/i18n";
4825
+ import { __ as __41 } from "@wordpress/i18n";
4819
4826
 
4820
4827
  // src/controls/selection-size-control.tsx
4821
4828
  import * as React79 from "react";
@@ -4850,11 +4857,12 @@ var SelectionSizeControl = createControl(
4850
4857
  );
4851
4858
 
4852
4859
  // src/controls/transition-control/data.ts
4860
+ import { __ as __39 } from "@wordpress/i18n";
4853
4861
  var initialTransitionValue = {
4854
4862
  selection: {
4855
4863
  $$type: "key-value",
4856
4864
  value: {
4857
- key: { value: "All properties", $$type: "string" },
4865
+ key: { value: __39("All properties", "elementor"), $$type: "string" },
4858
4866
  value: { value: "all", $$type: "string" }
4859
4867
  }
4860
4868
  },
@@ -4862,9 +4870,9 @@ var initialTransitionValue = {
4862
4870
  };
4863
4871
  var transitionProperties = [
4864
4872
  {
4865
- label: "Common",
4873
+ label: __39("Default", "elementor"),
4866
4874
  type: "category",
4867
- properties: [{ label: "All properties", value: "all" }]
4875
+ properties: [{ label: __39("All properties", "elementor"), value: "all" }]
4868
4876
  }
4869
4877
  ];
4870
4878
  var transitionsItemsList = transitionProperties.map((category) => ({
@@ -4878,7 +4886,7 @@ import { useRef as useRef20 } from "react";
4878
4886
  import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
4879
4887
  import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
4880
4888
  import { bindPopover as bindPopover6, bindTrigger as bindTrigger5, Box as Box14, Popover as Popover6, UnstableTag as UnstableTag4, usePopupState as usePopupState7 } from "@elementor/ui";
4881
- import { __ as __39 } from "@wordpress/i18n";
4889
+ import { __ as __40 } from "@wordpress/i18n";
4882
4890
  var toTransitionSelectorValue = (label) => {
4883
4891
  for (const category of transitionProperties) {
4884
4892
  const property = category.properties.find((prop) => prop.label === label);
@@ -4920,7 +4928,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
4920
4928
  }
4921
4929
  return [
4922
4930
  {
4923
- label: __39("Recent", "elementor"),
4931
+ label: __40("Recent", "elementor"),
4924
4932
  items: recentItems
4925
4933
  },
4926
4934
  ...filteredItems
@@ -4972,7 +4980,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
4972
4980
  onItemChange: handleTransitionPropertyChange,
4973
4981
  onClose: popoverState.close,
4974
4982
  sectionWidth: 268,
4975
- title: __39("Transition Property", "elementor"),
4983
+ title: __40("Transition Property", "elementor"),
4976
4984
  icon: VariationsIcon
4977
4985
  }
4978
4986
  )
@@ -4987,8 +4995,8 @@ var DURATION_CONFIG = {
4987
4995
  };
4988
4996
  var getSelectionSizeProps = (recentlyUsedList) => {
4989
4997
  return {
4990
- selectionLabel: __40("Type", "elementor"),
4991
- sizeLabel: __40("Duration", "elementor"),
4998
+ selectionLabel: __41("Type", "elementor"),
4999
+ sizeLabel: __41("Duration", "elementor"),
4992
5000
  selectionConfig: {
4993
5001
  component: TransitionSelector,
4994
5002
  props: {
@@ -5019,10 +5027,10 @@ var TransitionRepeaterControl = createControl((props) => {
5019
5027
  return /* @__PURE__ */ React81.createElement(
5020
5028
  RepeatableControl,
5021
5029
  {
5022
- label: __40("Transitions", "elementor"),
5023
- repeaterLabel: __40("Transitions", "elementor"),
5030
+ label: __41("Transitions", "elementor"),
5031
+ repeaterLabel: __41("Transitions", "elementor"),
5024
5032
  patternLabel: "${value.selection.value.key.value}: ${value.size.value.size}${value.size.value.unit}",
5025
- placeholder: __40("Empty Transition", "elementor"),
5033
+ placeholder: __41("Empty Transition", "elementor"),
5026
5034
  showDuplicate: false,
5027
5035
  showToggle: true,
5028
5036
  initialValues: initialTransitionValue,
@@ -5084,25 +5092,25 @@ var ResizeHandle = styled7(Button5)`
5084
5092
  `;
5085
5093
 
5086
5094
  // src/components/css-code-editor/css-validation.ts
5087
- import { __ as __41 } from "@wordpress/i18n";
5095
+ import { __ as __42 } from "@wordpress/i18n";
5088
5096
  var forbiddenPatterns = [
5089
5097
  {
5090
5098
  pattern: ":hover",
5091
- message: __41(
5099
+ message: __42(
5092
5100
  "The use of pseudo-states is not permitted. Instead, switch to the desired pseudo state and add your custom code there.",
5093
5101
  "elementor"
5094
5102
  )
5095
5103
  },
5096
5104
  {
5097
5105
  pattern: ":active",
5098
- message: __41(
5106
+ message: __42(
5099
5107
  "The use of pseudo-states is not permitted. Instead, switch to the desired pseudo state and add your custom code there.",
5100
5108
  "elementor"
5101
5109
  )
5102
5110
  },
5103
5111
  {
5104
5112
  pattern: "@media",
5105
- message: __41(
5113
+ message: __42(
5106
5114
  "The use of @media is not permitted. Instead, switch to the desired breakpoint and add your custom code there.",
5107
5115
  "elementor"
5108
5116
  )