@elementor/editor-editing-panel 4.0.0-547 → 4.0.0-549

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
@@ -663,6 +663,38 @@ declare const controlTypes: {
663
663
  key: "string";
664
664
  };
665
665
  };
666
+ readonly chips: {
667
+ readonly component: ControlComponent<({ options }: {
668
+ options: {
669
+ label: string;
670
+ value: string;
671
+ }[];
672
+ }) => react.JSX.Element>;
673
+ readonly layout: "full";
674
+ readonly propTypeUtil: {
675
+ extract: (prop: unknown) => string[] | null;
676
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
677
+ create: {
678
+ (value: string[]): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
679
+ (value: string[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
680
+ (value: (prev?: string[] | undefined) => string[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
681
+ };
682
+ schema: zod.ZodObject<{
683
+ $$type: zod.ZodLiteral<"string-array">;
684
+ value: zod.ZodType<string[], zod.ZodTypeDef, string[]>;
685
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
686
+ }, "strict", zod.ZodTypeAny, {
687
+ $$type: "string-array";
688
+ value: string[];
689
+ disabled?: boolean | undefined;
690
+ }, {
691
+ $$type: "string-array";
692
+ value: string[];
693
+ disabled?: boolean | undefined;
694
+ }>;
695
+ key: "string-array";
696
+ };
697
+ };
666
698
  readonly link: {
667
699
  readonly component: ControlComponent<(props: {
668
700
  queryOptions: {
package/dist/index.d.ts CHANGED
@@ -663,6 +663,38 @@ declare const controlTypes: {
663
663
  key: "string";
664
664
  };
665
665
  };
666
+ readonly chips: {
667
+ readonly component: ControlComponent<({ options }: {
668
+ options: {
669
+ label: string;
670
+ value: string;
671
+ }[];
672
+ }) => react.JSX.Element>;
673
+ readonly layout: "full";
674
+ readonly propTypeUtil: {
675
+ extract: (prop: unknown) => string[] | null;
676
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
677
+ create: {
678
+ (value: string[]): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
679
+ (value: string[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
680
+ (value: (prev?: string[] | undefined) => string[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string-array", string[]>;
681
+ };
682
+ schema: zod.ZodObject<{
683
+ $$type: zod.ZodLiteral<"string-array">;
684
+ value: zod.ZodType<string[], zod.ZodTypeDef, string[]>;
685
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
686
+ }, "strict", zod.ZodTypeAny, {
687
+ $$type: "string-array";
688
+ value: string[];
689
+ disabled?: boolean | undefined;
690
+ }, {
691
+ $$type: "string-array";
692
+ value: string[];
693
+ disabled?: boolean | undefined;
694
+ }>;
695
+ key: "string-array";
696
+ };
697
+ };
666
698
  readonly link: {
667
699
  readonly component: ControlComponent<(props: {
668
700
  queryOptions: {
package/dist/index.js CHANGED
@@ -1989,6 +1989,7 @@ var controlTypes = {
1989
1989
  textarea: { component: import_editor_controls.TextAreaControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
1990
1990
  size: { component: import_editor_controls.SizeControl, layout: "two-columns", propTypeUtil: import_editor_props4.sizePropTypeUtil },
1991
1991
  select: { component: import_editor_controls.SelectControlWrapper, layout: "two-columns", propTypeUtil: import_editor_props4.stringPropTypeUtil },
1992
+ chips: { component: import_editor_controls.ChipsControl, layout: "full", propTypeUtil: import_editor_props4.stringArrayPropTypeUtil },
1992
1993
  link: { component: import_editor_controls.LinkControl, layout: "custom", propTypeUtil: import_editor_props4.linkPropTypeUtil },
1993
1994
  query: { component: import_editor_controls.QueryControl, layout: "full", propTypeUtil: import_editor_props4.queryPropTypeUtil },
1994
1995
  url: { component: import_editor_controls.UrlControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },