@elementor/editor-editing-panel 4.4.0-1085 → 4.4.0-1087

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
@@ -2131,6 +2131,40 @@ declare const controlTypes: {
2131
2131
  key: "string";
2132
2132
  };
2133
2133
  };
2134
+ readonly notice: {
2135
+ readonly component: ControlComponent<({ noticeType, heading, content, dismissible, buttonText, buttonUrl }: {
2136
+ noticeType?: "warning" | "info" | "success" | "danger";
2137
+ heading?: string;
2138
+ content?: string;
2139
+ dismissible?: string;
2140
+ buttonText?: string;
2141
+ buttonUrl?: string;
2142
+ }) => react.JSX.Element | null>;
2143
+ readonly layout: "full";
2144
+ readonly propTypeUtil: {
2145
+ extract: (prop: unknown) => string | null;
2146
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string", string | null>;
2147
+ create: {
2148
+ (value: string | null): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2149
+ (value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2150
+ (value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2151
+ };
2152
+ schema: zod.ZodObject<{
2153
+ $$type: zod.ZodLiteral<"string">;
2154
+ value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
2155
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
2156
+ }, "strict", zod.ZodTypeAny, {
2157
+ $$type: "string";
2158
+ value: string | null;
2159
+ disabled?: boolean | undefined;
2160
+ }, {
2161
+ $$type: "string";
2162
+ value: string | null;
2163
+ disabled?: boolean | undefined;
2164
+ }>;
2165
+ key: "string";
2166
+ };
2167
+ };
2134
2168
  };
2135
2169
  type ControlType = keyof typeof controlTypes;
2136
2170
  type ControlTypes = {
package/dist/index.d.ts CHANGED
@@ -2131,6 +2131,40 @@ declare const controlTypes: {
2131
2131
  key: "string";
2132
2132
  };
2133
2133
  };
2134
+ readonly notice: {
2135
+ readonly component: ControlComponent<({ noticeType, heading, content, dismissible, buttonText, buttonUrl }: {
2136
+ noticeType?: "warning" | "info" | "success" | "danger";
2137
+ heading?: string;
2138
+ content?: string;
2139
+ dismissible?: string;
2140
+ buttonText?: string;
2141
+ buttonUrl?: string;
2142
+ }) => react.JSX.Element | null>;
2143
+ readonly layout: "full";
2144
+ readonly propTypeUtil: {
2145
+ extract: (prop: unknown) => string | null;
2146
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string", string | null>;
2147
+ create: {
2148
+ (value: string | null): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2149
+ (value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2150
+ (value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
2151
+ };
2152
+ schema: zod.ZodObject<{
2153
+ $$type: zod.ZodLiteral<"string">;
2154
+ value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
2155
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
2156
+ }, "strict", zod.ZodTypeAny, {
2157
+ $$type: "string";
2158
+ value: string | null;
2159
+ disabled?: boolean | undefined;
2160
+ }, {
2161
+ $$type: "string";
2162
+ value: string | null;
2163
+ disabled?: boolean | undefined;
2164
+ }>;
2165
+ key: "string";
2166
+ };
2167
+ };
2134
2168
  };
2135
2169
  type ControlType = keyof typeof controlTypes;
2136
2170
  type ControlTypes = {
package/dist/index.js CHANGED
@@ -2461,7 +2461,8 @@ var controlTypes = {
2461
2461
  layout: "custom",
2462
2462
  propTypeUtil: import_editor_props6.timeRangePropTypeUtil
2463
2463
  },
2464
- "attachment-type": { component: import_editor_controls2.AttachmentTypeControl, layout: "custom", propTypeUtil: import_editor_props6.stringPropTypeUtil }
2464
+ "attachment-type": { component: import_editor_controls2.AttachmentTypeControl, layout: "custom", propTypeUtil: import_editor_props6.stringPropTypeUtil },
2465
+ notice: { component: import_editor_controls2.NoticeControl, layout: "full", propTypeUtil: import_editor_props6.stringPropTypeUtil }
2465
2466
  };
2466
2467
  var ControlsRegistry = class {
2467
2468
  constructor(controlsRegistry2) {