@elementor/editor-editing-panel 3.33.0-184 → 3.33.0-186

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 CHANGED
@@ -379,7 +379,7 @@ declare const controlTypes: {
379
379
  };
380
380
  };
381
381
  readonly size: {
382
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<({
382
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, ariaLabel, }: Omit<({
383
383
  placeholder?: string;
384
384
  startIcon?: react.ReactNode;
385
385
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
@@ -388,6 +388,7 @@ declare const controlTypes: {
388
388
  min?: number;
389
389
  enablePropTypeUnits?: boolean;
390
390
  id?: string;
391
+ ariaLabel?: string;
391
392
  } & {
392
393
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
393
394
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -402,6 +403,7 @@ declare const controlTypes: {
402
403
  min?: number;
403
404
  enablePropTypeUnits?: boolean;
404
405
  id?: string;
406
+ ariaLabel?: string;
405
407
  } & {
406
408
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
407
409
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -416,6 +418,7 @@ declare const controlTypes: {
416
418
  min?: number;
417
419
  enablePropTypeUnits?: boolean;
418
420
  id?: string;
421
+ ariaLabel?: string;
419
422
  } & {
420
423
  units?: ("s" | "ms")[] | undefined;
421
424
  defaultUnit?: "s" | "ms" | undefined;
package/dist/index.d.ts CHANGED
@@ -379,7 +379,7 @@ declare const controlTypes: {
379
379
  };
380
380
  };
381
381
  readonly size: {
382
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<({
382
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, ariaLabel, }: Omit<({
383
383
  placeholder?: string;
384
384
  startIcon?: react.ReactNode;
385
385
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
@@ -388,6 +388,7 @@ declare const controlTypes: {
388
388
  min?: number;
389
389
  enablePropTypeUnits?: boolean;
390
390
  id?: string;
391
+ ariaLabel?: string;
391
392
  } & {
392
393
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
393
394
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -402,6 +403,7 @@ declare const controlTypes: {
402
403
  min?: number;
403
404
  enablePropTypeUnits?: boolean;
404
405
  id?: string;
406
+ ariaLabel?: string;
405
407
  } & {
406
408
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
407
409
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -416,6 +418,7 @@ declare const controlTypes: {
416
418
  min?: number;
417
419
  enablePropTypeUnits?: boolean;
418
420
  id?: string;
421
+ ariaLabel?: string;
419
422
  } & {
420
423
  units?: ("s" | "ms")[] | undefined;
421
424
  defaultUnit?: "s" | "ms" | undefined;
package/dist/index.js CHANGED
@@ -4066,7 +4066,14 @@ var FontFamilyField = () => {
4066
4066
  if (fontFamilies.length === 0) {
4067
4067
  return null;
4068
4068
  }
4069
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls35.FontFamilyControl, { fontFamilies, sectionWidth })));
4069
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React65.createElement(
4070
+ import_editor_controls35.FontFamilyControl,
4071
+ {
4072
+ fontFamilies,
4073
+ sectionWidth,
4074
+ ariaLabel: FONT_FAMILY_LABEL
4075
+ }
4076
+ )));
4070
4077
  };
4071
4078
 
4072
4079
  // src/components/style-sections/typography-section/font-size-field.tsx
@@ -4077,7 +4084,7 @@ var import_i18n47 = require("@wordpress/i18n");
4077
4084
  var FONT_SIZE_LABEL = (0, import_i18n47.__)("Font size", "elementor");
4078
4085
  var FontSizeField = () => {
4079
4086
  const rowRef = (0, import_react30.useRef)(null);
4080
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React66.createElement(import_editor_controls36.SizeControl, { anchorRef: rowRef })));
4087
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React66.createElement(import_editor_controls36.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4081
4088
  };
4082
4089
 
4083
4090
  // src/components/style-sections/typography-section/font-style-field.tsx