@elementor/editor-controls 4.1.0-770 → 4.1.0-771
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/controls/stroke-control.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -1471,7 +1471,7 @@ var units = ["px", "em", "rem"];
|
|
|
1471
1471
|
var StrokeControl = createControl(() => {
|
|
1472
1472
|
const propContext = useBoundProp(import_editor_props10.strokePropTypeUtil);
|
|
1473
1473
|
const rowRef = (0, import_react15.useRef)(null);
|
|
1474
|
-
return /* @__PURE__ */ React24.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React24.createElement(SectionContent,
|
|
1474
|
+
return /* @__PURE__ */ React24.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React24.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React24.createElement(Control, { bind: "width", label: (0, import_i18n4.__)("Stroke width", "elementor"), ref: rowRef }, /* @__PURE__ */ React24.createElement(SizeControl, { units, anchorRef: rowRef })), /* @__PURE__ */ React24.createElement(Control, { bind: "color", label: (0, import_i18n4.__)("Stroke color", "elementor") }, /* @__PURE__ */ React24.createElement(ColorControl, null))));
|
|
1475
1475
|
});
|
|
1476
1476
|
var Control = (0, import_react15.forwardRef)(({ bind, label, children }, ref) => /* @__PURE__ */ React24.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React24.createElement(import_ui17.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref }, /* @__PURE__ */ React24.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React24.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React24.createElement(import_ui17.Grid, { item: true, xs: 6 }, children))));
|
|
1477
1477
|
|