@elementor/editor-editing-panel 3.32.0-68 → 3.32.0-69
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/components/style-sections/position-section/dimensions-field.tsx +6 -1
- package/src/components/style-sections/spacing-section/spacing-section.tsx +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -382,12 +382,13 @@ declare const controlTypes: {
|
|
|
382
382
|
};
|
|
383
383
|
};
|
|
384
384
|
readonly size: {
|
|
385
|
-
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, }: Omit<({
|
|
385
|
+
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, }: Omit<({
|
|
386
386
|
placeholder?: string;
|
|
387
387
|
startIcon?: react.ReactNode;
|
|
388
388
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
389
389
|
disableCustom?: boolean;
|
|
390
390
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
391
|
+
min?: number;
|
|
391
392
|
} & {
|
|
392
393
|
units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
|
|
393
394
|
defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
|
|
@@ -399,6 +400,7 @@ declare const controlTypes: {
|
|
|
399
400
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
400
401
|
disableCustom?: boolean;
|
|
401
402
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
403
|
+
min?: number;
|
|
402
404
|
} & {
|
|
403
405
|
units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
|
|
404
406
|
defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
|
|
@@ -410,6 +412,7 @@ declare const controlTypes: {
|
|
|
410
412
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
411
413
|
disableCustom?: boolean;
|
|
412
414
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
415
|
+
min?: number;
|
|
413
416
|
} & {
|
|
414
417
|
units?: ("s" | "ms")[] | undefined;
|
|
415
418
|
defaultUnit?: "s" | "ms" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -382,12 +382,13 @@ declare const controlTypes: {
|
|
|
382
382
|
};
|
|
383
383
|
};
|
|
384
384
|
readonly size: {
|
|
385
|
-
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, }: Omit<({
|
|
385
|
+
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, }: Omit<({
|
|
386
386
|
placeholder?: string;
|
|
387
387
|
startIcon?: react.ReactNode;
|
|
388
388
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
389
389
|
disableCustom?: boolean;
|
|
390
390
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
391
|
+
min?: number;
|
|
391
392
|
} & {
|
|
392
393
|
units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
|
|
393
394
|
defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
|
|
@@ -399,6 +400,7 @@ declare const controlTypes: {
|
|
|
399
400
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
400
401
|
disableCustom?: boolean;
|
|
401
402
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
403
|
+
min?: number;
|
|
402
404
|
} & {
|
|
403
405
|
units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
|
|
404
406
|
defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
|
|
@@ -410,6 +412,7 @@ declare const controlTypes: {
|
|
|
410
412
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
411
413
|
disableCustom?: boolean;
|
|
412
414
|
anchorRef?: react.RefObject<HTMLDivElement | null>;
|
|
415
|
+
min?: number;
|
|
413
416
|
} & {
|
|
414
417
|
units?: ("s" | "ms")[] | undefined;
|
|
415
418
|
defaultUnit?: "s" | "ms" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -4101,7 +4101,15 @@ var DimensionField = ({
|
|
|
4101
4101
|
side,
|
|
4102
4102
|
label,
|
|
4103
4103
|
rowRef
|
|
4104
|
-
}) => /* @__PURE__ */ React59.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(
|
|
4104
|
+
}) => /* @__PURE__ */ React59.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(
|
|
4105
|
+
import_editor_controls30.SizeControl,
|
|
4106
|
+
{
|
|
4107
|
+
startIcon: sideIcons[side],
|
|
4108
|
+
extendedOptions: ["auto"],
|
|
4109
|
+
anchorRef: rowRef,
|
|
4110
|
+
min: -Number.MAX_SAFE_INTEGER
|
|
4111
|
+
}
|
|
4112
|
+
))));
|
|
4105
4113
|
|
|
4106
4114
|
// src/components/style-sections/position-section/offset-field.tsx
|
|
4107
4115
|
var React60 = __toESM(require("react"));
|
|
@@ -4371,7 +4379,8 @@ var SpacingSection = () => {
|
|
|
4371
4379
|
{
|
|
4372
4380
|
label: MARGIN_LABEL,
|
|
4373
4381
|
isSiteRtl,
|
|
4374
|
-
extendedOptions: ["auto"]
|
|
4382
|
+
extendedOptions: ["auto"],
|
|
4383
|
+
min: -Number.MAX_SAFE_INTEGER
|
|
4375
4384
|
}
|
|
4376
4385
|
)), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls37.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
|
|
4377
4386
|
};
|