@elementor/editor-controls 4.2.0-878 → 4.2.0-880
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 +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -16
- package/src/controls/grid-span-control.tsx +4 -1
- package/src/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -8411,7 +8411,10 @@ var GridSpanControl = createControl(
|
|
|
8411
8411
|
ariaLabel
|
|
8412
8412
|
}) => {
|
|
8413
8413
|
const { value, setValue, disabled, placeholder: boundPlaceholder } = useBoundProp(spanPropTypeUtil);
|
|
8414
|
-
const handleChange = (event) =>
|
|
8414
|
+
const handleChange = (event) => {
|
|
8415
|
+
const next = event.target.value;
|
|
8416
|
+
setValue(next === "" ? null : next);
|
|
8417
|
+
};
|
|
8415
8418
|
const placeholder = propPlaceholder ?? boundPlaceholder ?? `e.g: 'span 2' or '1 / 3'`;
|
|
8416
8419
|
return /* @__PURE__ */ React121.createElement(ControlActions, null, /* @__PURE__ */ React121.createElement(
|
|
8417
8420
|
TextField12,
|
|
@@ -9283,6 +9286,7 @@ export {
|
|
|
9283
9286
|
ChipsControl,
|
|
9284
9287
|
ClearIconButton,
|
|
9285
9288
|
ColorControl,
|
|
9289
|
+
ControlActions,
|
|
9286
9290
|
ControlActionsProvider,
|
|
9287
9291
|
ControlAdornments,
|
|
9288
9292
|
ControlAdornmentsProvider,
|