@elementor/editor-controls 4.2.0-869 → 4.2.0-870
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 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +283 -187
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +231 -135
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -15
- package/src/controls/chips-control.tsx +16 -9
- package/src/controls/email-form-action-control/email-chips-field.tsx +104 -0
- package/src/controls/email-form-action-control/email-field.tsx +25 -0
- package/src/controls/email-form-action-control/fields.tsx +138 -0
- package/src/controls/email-form-action-control/index.tsx +60 -0
- package/src/controls/email-form-action-control/utils.ts +24 -0
- package/src/controls/email-form-action-control.tsx +0 -194
package/dist/index.d.mts
CHANGED
|
@@ -128,8 +128,9 @@ type ChipsOption = {
|
|
|
128
128
|
};
|
|
129
129
|
type ChipsControlProps = {
|
|
130
130
|
options: ChipsOption[];
|
|
131
|
+
freeChips?: boolean;
|
|
131
132
|
};
|
|
132
|
-
declare const ChipsControl: ControlComponent$1<({ options }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
|
+
declare const ChipsControl: ControlComponent$1<({ options, freeChips }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
134
|
|
|
134
135
|
type Props$b = Partial<Omit<UnstableColorFieldProps, 'value' | 'onChange'>> & {
|
|
135
136
|
propTypeUtil?: PropTypeUtil<string, string>;
|
|
@@ -460,8 +461,9 @@ declare const InlineEditingControl: ControlComponent$1<({ sx, attributes, props,
|
|
|
460
461
|
props?: ComponentProps<"div">;
|
|
461
462
|
}) => React$1.JSX.Element>;
|
|
462
463
|
|
|
463
|
-
declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder }: {
|
|
464
|
+
declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder, label }: {
|
|
464
465
|
toPlaceholder?: string;
|
|
466
|
+
label?: string;
|
|
465
467
|
}) => React$1.JSX.Element>;
|
|
466
468
|
|
|
467
469
|
type Props$4 = {
|
package/dist/index.d.ts
CHANGED
|
@@ -128,8 +128,9 @@ type ChipsOption = {
|
|
|
128
128
|
};
|
|
129
129
|
type ChipsControlProps = {
|
|
130
130
|
options: ChipsOption[];
|
|
131
|
+
freeChips?: boolean;
|
|
131
132
|
};
|
|
132
|
-
declare const ChipsControl: ControlComponent$1<({ options }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
|
+
declare const ChipsControl: ControlComponent$1<({ options, freeChips }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
134
|
|
|
134
135
|
type Props$b = Partial<Omit<UnstableColorFieldProps, 'value' | 'onChange'>> & {
|
|
135
136
|
propTypeUtil?: PropTypeUtil<string, string>;
|
|
@@ -460,8 +461,9 @@ declare const InlineEditingControl: ControlComponent$1<({ sx, attributes, props,
|
|
|
460
461
|
props?: ComponentProps<"div">;
|
|
461
462
|
}) => React$1.JSX.Element>;
|
|
462
463
|
|
|
463
|
-
declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder }: {
|
|
464
|
+
declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder, label }: {
|
|
464
465
|
toPlaceholder?: string;
|
|
466
|
+
label?: string;
|
|
465
467
|
}) => React$1.JSX.Element>;
|
|
466
468
|
|
|
467
469
|
type Props$4 = {
|