@elementor/editor-controls 3.32.0-32 → 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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/components/item-selector.tsx +5 -2
- package/src/controls/transition-control/data.ts +6 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2499,7 +2499,14 @@ var ItemSelector = ({
|
|
|
2499
2499
|
sx: { display: "flex", width: "100%", justifyContent: "center" }
|
|
2500
2500
|
},
|
|
2501
2501
|
/* @__PURE__ */ React38.createElement("span", null, "\u201C"),
|
|
2502
|
-
/* @__PURE__ */ React38.createElement(
|
|
2502
|
+
/* @__PURE__ */ React38.createElement(
|
|
2503
|
+
import_ui30.Box,
|
|
2504
|
+
{
|
|
2505
|
+
component: "span",
|
|
2506
|
+
sx: { maxWidth: "80%", overflow: "hidden", textOverflow: "ellipsis" }
|
|
2507
|
+
},
|
|
2508
|
+
searchValue
|
|
2509
|
+
),
|
|
2503
2510
|
/* @__PURE__ */ React38.createElement("span", null, "\u201D.")
|
|
2504
2511
|
)),
|
|
2505
2512
|
/* @__PURE__ */ React38.createElement(
|
|
@@ -4802,7 +4809,7 @@ var ToolTip = /* @__PURE__ */ React78.createElement(React78.Fragment, null, /* @
|
|
|
4802
4809
|
// src/controls/transition-control/transition-repeater-control.tsx
|
|
4803
4810
|
var React81 = __toESM(require("react"));
|
|
4804
4811
|
var import_editor_props43 = require("@elementor/editor-props");
|
|
4805
|
-
var
|
|
4812
|
+
var import_i18n41 = require("@wordpress/i18n");
|
|
4806
4813
|
|
|
4807
4814
|
// src/controls/selection-size-control.tsx
|
|
4808
4815
|
var React79 = __toESM(require("react"));
|
|
@@ -4837,11 +4844,12 @@ var SelectionSizeControl = createControl(
|
|
|
4837
4844
|
);
|
|
4838
4845
|
|
|
4839
4846
|
// src/controls/transition-control/data.ts
|
|
4847
|
+
var import_i18n39 = require("@wordpress/i18n");
|
|
4840
4848
|
var initialTransitionValue = {
|
|
4841
4849
|
selection: {
|
|
4842
4850
|
$$type: "key-value",
|
|
4843
4851
|
value: {
|
|
4844
|
-
key: { value: "All properties", $$type: "string" },
|
|
4852
|
+
key: { value: (0, import_i18n39.__)("All properties", "elementor"), $$type: "string" },
|
|
4845
4853
|
value: { value: "all", $$type: "string" }
|
|
4846
4854
|
}
|
|
4847
4855
|
},
|
|
@@ -4849,9 +4857,9 @@ var initialTransitionValue = {
|
|
|
4849
4857
|
};
|
|
4850
4858
|
var transitionProperties = [
|
|
4851
4859
|
{
|
|
4852
|
-
label: "
|
|
4860
|
+
label: (0, import_i18n39.__)("Default", "elementor"),
|
|
4853
4861
|
type: "category",
|
|
4854
|
-
properties: [{ label: "All properties", value: "all" }]
|
|
4862
|
+
properties: [{ label: (0, import_i18n39.__)("All properties", "elementor"), value: "all" }]
|
|
4855
4863
|
}
|
|
4856
4864
|
];
|
|
4857
4865
|
var transitionsItemsList = transitionProperties.map((category) => ({
|
|
@@ -4865,7 +4873,7 @@ var import_react43 = require("react");
|
|
|
4865
4873
|
var import_editor_props42 = require("@elementor/editor-props");
|
|
4866
4874
|
var import_icons30 = require("@elementor/icons");
|
|
4867
4875
|
var import_ui71 = require("@elementor/ui");
|
|
4868
|
-
var
|
|
4876
|
+
var import_i18n40 = require("@wordpress/i18n");
|
|
4869
4877
|
var toTransitionSelectorValue = (label) => {
|
|
4870
4878
|
for (const category of transitionProperties) {
|
|
4871
4879
|
const property = category.properties.find((prop) => prop.label === label);
|
|
@@ -4907,7 +4915,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
|
|
|
4907
4915
|
}
|
|
4908
4916
|
return [
|
|
4909
4917
|
{
|
|
4910
|
-
label: (0,
|
|
4918
|
+
label: (0, import_i18n40.__)("Recent", "elementor"),
|
|
4911
4919
|
items: recentItems
|
|
4912
4920
|
},
|
|
4913
4921
|
...filteredItems
|
|
@@ -4959,7 +4967,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
|
|
|
4959
4967
|
onItemChange: handleTransitionPropertyChange,
|
|
4960
4968
|
onClose: popoverState.close,
|
|
4961
4969
|
sectionWidth: 268,
|
|
4962
|
-
title: (0,
|
|
4970
|
+
title: (0, import_i18n40.__)("Transition Property", "elementor"),
|
|
4963
4971
|
icon: import_icons30.VariationsIcon
|
|
4964
4972
|
}
|
|
4965
4973
|
)
|
|
@@ -4974,8 +4982,8 @@ var DURATION_CONFIG = {
|
|
|
4974
4982
|
};
|
|
4975
4983
|
var getSelectionSizeProps = (recentlyUsedList) => {
|
|
4976
4984
|
return {
|
|
4977
|
-
selectionLabel: (0,
|
|
4978
|
-
sizeLabel: (0,
|
|
4985
|
+
selectionLabel: (0, import_i18n41.__)("Type", "elementor"),
|
|
4986
|
+
sizeLabel: (0, import_i18n41.__)("Duration", "elementor"),
|
|
4979
4987
|
selectionConfig: {
|
|
4980
4988
|
component: TransitionSelector,
|
|
4981
4989
|
props: {
|
|
@@ -5006,10 +5014,10 @@ var TransitionRepeaterControl = createControl((props) => {
|
|
|
5006
5014
|
return /* @__PURE__ */ React81.createElement(
|
|
5007
5015
|
RepeatableControl,
|
|
5008
5016
|
{
|
|
5009
|
-
label: (0,
|
|
5010
|
-
repeaterLabel: (0,
|
|
5017
|
+
label: (0, import_i18n41.__)("Transitions", "elementor"),
|
|
5018
|
+
repeaterLabel: (0, import_i18n41.__)("Transitions", "elementor"),
|
|
5011
5019
|
patternLabel: "${value.selection.value.key.value}: ${value.size.value.size}${value.size.value.unit}",
|
|
5012
|
-
placeholder: (0,
|
|
5020
|
+
placeholder: (0, import_i18n41.__)("Empty Transition", "elementor"),
|
|
5013
5021
|
showDuplicate: false,
|
|
5014
5022
|
showToggle: true,
|
|
5015
5023
|
initialValues: initialTransitionValue,
|
|
@@ -5071,25 +5079,25 @@ var ResizeHandle = (0, import_ui72.styled)(import_ui72.Button)`
|
|
|
5071
5079
|
`;
|
|
5072
5080
|
|
|
5073
5081
|
// src/components/css-code-editor/css-validation.ts
|
|
5074
|
-
var
|
|
5082
|
+
var import_i18n42 = require("@wordpress/i18n");
|
|
5075
5083
|
var forbiddenPatterns = [
|
|
5076
5084
|
{
|
|
5077
5085
|
pattern: ":hover",
|
|
5078
|
-
message: (0,
|
|
5086
|
+
message: (0, import_i18n42.__)(
|
|
5079
5087
|
"The use of pseudo-states is not permitted. Instead, switch to the desired pseudo state and add your custom code there.",
|
|
5080
5088
|
"elementor"
|
|
5081
5089
|
)
|
|
5082
5090
|
},
|
|
5083
5091
|
{
|
|
5084
5092
|
pattern: ":active",
|
|
5085
|
-
message: (0,
|
|
5093
|
+
message: (0, import_i18n42.__)(
|
|
5086
5094
|
"The use of pseudo-states is not permitted. Instead, switch to the desired pseudo state and add your custom code there.",
|
|
5087
5095
|
"elementor"
|
|
5088
5096
|
)
|
|
5089
5097
|
},
|
|
5090
5098
|
{
|
|
5091
5099
|
pattern: "@media",
|
|
5092
|
-
message: (0,
|
|
5100
|
+
message: (0, import_i18n42.__)(
|
|
5093
5101
|
"The use of @media is not permitted. Instead, switch to the desired breakpoint and add your custom code there.",
|
|
5094
5102
|
"elementor"
|
|
5095
5103
|
)
|