@elementor/editor-controls 4.1.0-829 → 4.1.0-831
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 +26 -20
- package/dist/index.d.ts +26 -20
- package/dist/index.js +125 -111
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +90 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/controls/attachment-type-control.tsx +36 -0
- package/src/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -29,11 +29,11 @@ declare const TextControl: ControlComponent$1<({ placeholder: propPlaceholder, e
|
|
|
29
29
|
ariaLabel?: string;
|
|
30
30
|
}) => React$1.JSX.Element>;
|
|
31
31
|
|
|
32
|
-
type Props$
|
|
32
|
+
type Props$d = {
|
|
33
33
|
placeholder?: string;
|
|
34
34
|
ariaLabel?: string;
|
|
35
35
|
};
|
|
36
|
-
declare const TextAreaControl: ControlComponent$1<({ placeholder: propPlaceholder, ariaLabel }: Props$
|
|
36
|
+
declare const TextAreaControl: ControlComponent$1<({ placeholder: propPlaceholder, ariaLabel }: Props$d) => React$1.JSX.Element>;
|
|
37
37
|
|
|
38
38
|
type Suggestion = {
|
|
39
39
|
label: string;
|
|
@@ -41,14 +41,14 @@ type Suggestion = {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
type TriggerPosition = 'start' | 'auto';
|
|
44
|
-
type Props$
|
|
44
|
+
type Props$c = {
|
|
45
45
|
placeholder?: string;
|
|
46
46
|
ariaLabel?: string;
|
|
47
47
|
suggestions: Suggestion[];
|
|
48
48
|
rows?: number;
|
|
49
49
|
triggerPosition?: TriggerPosition;
|
|
50
50
|
};
|
|
51
|
-
declare const MentionTextAreaControl: ControlComponent$1<({ placeholder, ariaLabel, suggestions: allSuggestions, rows, triggerPosition }: Props$
|
|
51
|
+
declare const MentionTextAreaControl: ControlComponent$1<({ placeholder, ariaLabel, suggestions: allSuggestions, rows, triggerPosition }: Props$c) => React$1.JSX.Element>;
|
|
52
52
|
|
|
53
53
|
declare const lengthUnits: readonly ["px", "%", "em", "rem", "vw", "vh", "ch"];
|
|
54
54
|
declare const angleUnits: readonly ["deg", "rad", "grad", "turn"];
|
|
@@ -131,12 +131,12 @@ type ChipsControlProps = {
|
|
|
131
131
|
};
|
|
132
132
|
declare const ChipsControl: ControlComponent$1<({ options }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
133
|
|
|
134
|
-
type Props$
|
|
134
|
+
type Props$b = Partial<Omit<UnstableColorFieldProps, 'value' | 'onChange'>> & {
|
|
135
135
|
propTypeUtil?: PropTypeUtil<string, string>;
|
|
136
136
|
anchorEl?: HTMLElement | null;
|
|
137
137
|
id?: string;
|
|
138
138
|
};
|
|
139
|
-
declare const ColorControl: ControlComponent$1<({ propTypeUtil, anchorEl, slotProps, id, ...props }: Props$
|
|
139
|
+
declare const ColorControl: ControlComponent$1<({ propTypeUtil, anchorEl, slotProps, id, ...props }: Props$b) => React$1.JSX.Element>;
|
|
140
140
|
|
|
141
141
|
type RenderContentProps = {
|
|
142
142
|
size: ToggleButtonProps['size'];
|
|
@@ -156,7 +156,7 @@ declare const StyledToggleButton: _emotion_styled.StyledComponent<any, {}, {
|
|
|
156
156
|
}>;
|
|
157
157
|
type ExclusiveValue<TValue> = TValue;
|
|
158
158
|
type NonExclusiveValue<TValue> = TValue[];
|
|
159
|
-
type Props$
|
|
159
|
+
type Props$a<TValue> = {
|
|
160
160
|
disabled?: boolean;
|
|
161
161
|
justify?: StackProps['justifyContent'];
|
|
162
162
|
size?: ToggleButtonProps['size'];
|
|
@@ -173,10 +173,10 @@ type Props$9<TValue> = {
|
|
|
173
173
|
value: ExclusiveValue<TValue>;
|
|
174
174
|
onChange: (value: ExclusiveValue<TValue>) => void;
|
|
175
175
|
});
|
|
176
|
-
declare const ToggleButtonGroupUi: <TValue>(props: Props$
|
|
176
|
+
declare const ToggleButtonGroupUi: <TValue>(props: Props$a<TValue> & {
|
|
177
177
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
178
178
|
}) => React$1.ReactElement;
|
|
179
|
-
declare const ControlToggleButtonGroup: <TValue>(props: Props$
|
|
179
|
+
declare const ControlToggleButtonGroup: <TValue>(props: Props$a<TValue>) => React$1.JSX.Element;
|
|
180
180
|
|
|
181
181
|
type ToggleControlProps<T extends PropValue> = {
|
|
182
182
|
options: Array<ToggleButtonGroupItem<T> & {
|
|
@@ -208,22 +208,22 @@ type Item$1 = {
|
|
|
208
208
|
bind: PropKey;
|
|
209
209
|
};
|
|
210
210
|
type EqualUnequalItems = [Item$1, Item$1, Item$1, Item$1];
|
|
211
|
-
type Props$
|
|
211
|
+
type Props$9<TMultiPropType extends string, TPropValue extends MultiSizePropValue> = {
|
|
212
212
|
label: string;
|
|
213
213
|
icon: ReactNode;
|
|
214
214
|
tooltipLabel: string;
|
|
215
215
|
items: EqualUnequalItems;
|
|
216
216
|
multiSizePropTypeUtil: PropTypeUtil<TMultiPropType, TPropValue>;
|
|
217
217
|
};
|
|
218
|
-
declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$
|
|
218
|
+
declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$9<TMultiPropType, TPropValue>): React$1.JSX.Element;
|
|
219
219
|
|
|
220
|
-
type Props$
|
|
220
|
+
type Props$8 = {
|
|
221
221
|
label: string;
|
|
222
222
|
isSiteRtl?: boolean;
|
|
223
223
|
extendedOptions?: ExtendedOption[];
|
|
224
224
|
min?: number;
|
|
225
225
|
};
|
|
226
|
-
declare const LinkedDimensionsControl: ({ label, isSiteRtl, min }: Props$
|
|
226
|
+
declare const LinkedDimensionsControl: ({ label, isSiteRtl, min }: Props$8) => React$1.JSX.Element;
|
|
227
227
|
|
|
228
228
|
type FontCategory = {
|
|
229
229
|
label: string;
|
|
@@ -276,7 +276,7 @@ type ControlProps<TControlProps = unknown> = TControlProps & {
|
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
type Props$
|
|
279
|
+
type Props$7 = ControlProps<{
|
|
280
280
|
queryOptions: {
|
|
281
281
|
params: Record<string, unknown>;
|
|
282
282
|
url: string;
|
|
@@ -288,21 +288,21 @@ type Props$6 = ControlProps<{
|
|
|
288
288
|
ariaLabel?: string;
|
|
289
289
|
}>;
|
|
290
290
|
type DestinationProp = LinkPropValue['value']['destination'];
|
|
291
|
-
declare const LinkControl: ControlComponent$1<(props: Props$
|
|
291
|
+
declare const LinkControl: ControlComponent$1<(props: Props$7) => React$1.JSX.Element>;
|
|
292
292
|
|
|
293
293
|
type SelectOption = {
|
|
294
294
|
label: string;
|
|
295
295
|
value: StringPropValue['value'];
|
|
296
296
|
disabled?: boolean;
|
|
297
297
|
};
|
|
298
|
-
type Props$
|
|
298
|
+
type Props$6 = ControlProps<{
|
|
299
299
|
options: SelectOption[];
|
|
300
300
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
301
301
|
fallbackLabels?: Record<string, string>;
|
|
302
302
|
}>;
|
|
303
|
-
declare const HtmlTagControl: ControlComponent$1<(props: Props$
|
|
303
|
+
declare const HtmlTagControl: ControlComponent$1<(props: Props$6) => React$1.JSX.Element>;
|
|
304
304
|
|
|
305
|
-
type Props$
|
|
305
|
+
type Props$5 = {
|
|
306
306
|
queryOptions: {
|
|
307
307
|
params: Record<string, unknown>;
|
|
308
308
|
url: string;
|
|
@@ -313,7 +313,7 @@ type Props$4 = {
|
|
|
313
313
|
onSetValue?: (value: DestinationProp | null) => void;
|
|
314
314
|
ariaLabel?: string;
|
|
315
315
|
};
|
|
316
|
-
declare const QueryControl: ControlComponent$1<(props: Props$
|
|
316
|
+
declare const QueryControl: ControlComponent$1<(props: Props$5) => React$1.JSX.Element>;
|
|
317
317
|
|
|
318
318
|
declare const GapControl: ({ label }: {
|
|
319
319
|
label: string;
|
|
@@ -436,6 +436,12 @@ declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder }: {
|
|
|
436
436
|
toPlaceholder?: string;
|
|
437
437
|
}) => React$1.JSX.Element>;
|
|
438
438
|
|
|
439
|
+
type Props$4 = {
|
|
440
|
+
label?: string;
|
|
441
|
+
options: SelectOption$1[];
|
|
442
|
+
};
|
|
443
|
+
declare const AttachmentTypeControl: ControlComponent$1<({ label, options }: Props$4) => React$1.JSX.Element>;
|
|
444
|
+
|
|
439
445
|
type Action = {
|
|
440
446
|
type: string;
|
|
441
447
|
payload?: object;
|
|
@@ -835,4 +841,4 @@ declare function useTypingBuffer(options?: UseTypingBufferOptions): {
|
|
|
835
841
|
startsWith: (haystack: string, needle: string) => boolean;
|
|
836
842
|
};
|
|
837
843
|
|
|
838
|
-
export { type AdornmentComponent, type AngleUnit$1 as AngleUnit, AspectRatioControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent$1 as ControlComponent, ControlFormLabel, type ControlReplacement, ControlReplacementsProvider, ControlToggleButtonGroup, DateRangeControl, DateTimeControl, DisplayConditionsControl, EmailFormActionControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit$1 as LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit$1 as TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit$1 as Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, getControlReplacements, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
|
|
844
|
+
export { type AdornmentComponent, type AngleUnit$1 as AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent$1 as ControlComponent, ControlFormLabel, type ControlReplacement, ControlReplacementsProvider, ControlToggleButtonGroup, DateRangeControl, DateTimeControl, DisplayConditionsControl, EmailFormActionControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit$1 as LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit$1 as TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit$1 as Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, getControlReplacements, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
|
package/dist/index.d.ts
CHANGED
|
@@ -29,11 +29,11 @@ declare const TextControl: ControlComponent$1<({ placeholder: propPlaceholder, e
|
|
|
29
29
|
ariaLabel?: string;
|
|
30
30
|
}) => React$1.JSX.Element>;
|
|
31
31
|
|
|
32
|
-
type Props$
|
|
32
|
+
type Props$d = {
|
|
33
33
|
placeholder?: string;
|
|
34
34
|
ariaLabel?: string;
|
|
35
35
|
};
|
|
36
|
-
declare const TextAreaControl: ControlComponent$1<({ placeholder: propPlaceholder, ariaLabel }: Props$
|
|
36
|
+
declare const TextAreaControl: ControlComponent$1<({ placeholder: propPlaceholder, ariaLabel }: Props$d) => React$1.JSX.Element>;
|
|
37
37
|
|
|
38
38
|
type Suggestion = {
|
|
39
39
|
label: string;
|
|
@@ -41,14 +41,14 @@ type Suggestion = {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
type TriggerPosition = 'start' | 'auto';
|
|
44
|
-
type Props$
|
|
44
|
+
type Props$c = {
|
|
45
45
|
placeholder?: string;
|
|
46
46
|
ariaLabel?: string;
|
|
47
47
|
suggestions: Suggestion[];
|
|
48
48
|
rows?: number;
|
|
49
49
|
triggerPosition?: TriggerPosition;
|
|
50
50
|
};
|
|
51
|
-
declare const MentionTextAreaControl: ControlComponent$1<({ placeholder, ariaLabel, suggestions: allSuggestions, rows, triggerPosition }: Props$
|
|
51
|
+
declare const MentionTextAreaControl: ControlComponent$1<({ placeholder, ariaLabel, suggestions: allSuggestions, rows, triggerPosition }: Props$c) => React$1.JSX.Element>;
|
|
52
52
|
|
|
53
53
|
declare const lengthUnits: readonly ["px", "%", "em", "rem", "vw", "vh", "ch"];
|
|
54
54
|
declare const angleUnits: readonly ["deg", "rad", "grad", "turn"];
|
|
@@ -131,12 +131,12 @@ type ChipsControlProps = {
|
|
|
131
131
|
};
|
|
132
132
|
declare const ChipsControl: ControlComponent$1<({ options }: ChipsControlProps) => React$1.JSX.Element>;
|
|
133
133
|
|
|
134
|
-
type Props$
|
|
134
|
+
type Props$b = Partial<Omit<UnstableColorFieldProps, 'value' | 'onChange'>> & {
|
|
135
135
|
propTypeUtil?: PropTypeUtil<string, string>;
|
|
136
136
|
anchorEl?: HTMLElement | null;
|
|
137
137
|
id?: string;
|
|
138
138
|
};
|
|
139
|
-
declare const ColorControl: ControlComponent$1<({ propTypeUtil, anchorEl, slotProps, id, ...props }: Props$
|
|
139
|
+
declare const ColorControl: ControlComponent$1<({ propTypeUtil, anchorEl, slotProps, id, ...props }: Props$b) => React$1.JSX.Element>;
|
|
140
140
|
|
|
141
141
|
type RenderContentProps = {
|
|
142
142
|
size: ToggleButtonProps['size'];
|
|
@@ -156,7 +156,7 @@ declare const StyledToggleButton: _emotion_styled.StyledComponent<any, {}, {
|
|
|
156
156
|
}>;
|
|
157
157
|
type ExclusiveValue<TValue> = TValue;
|
|
158
158
|
type NonExclusiveValue<TValue> = TValue[];
|
|
159
|
-
type Props$
|
|
159
|
+
type Props$a<TValue> = {
|
|
160
160
|
disabled?: boolean;
|
|
161
161
|
justify?: StackProps['justifyContent'];
|
|
162
162
|
size?: ToggleButtonProps['size'];
|
|
@@ -173,10 +173,10 @@ type Props$9<TValue> = {
|
|
|
173
173
|
value: ExclusiveValue<TValue>;
|
|
174
174
|
onChange: (value: ExclusiveValue<TValue>) => void;
|
|
175
175
|
});
|
|
176
|
-
declare const ToggleButtonGroupUi: <TValue>(props: Props$
|
|
176
|
+
declare const ToggleButtonGroupUi: <TValue>(props: Props$a<TValue> & {
|
|
177
177
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
178
178
|
}) => React$1.ReactElement;
|
|
179
|
-
declare const ControlToggleButtonGroup: <TValue>(props: Props$
|
|
179
|
+
declare const ControlToggleButtonGroup: <TValue>(props: Props$a<TValue>) => React$1.JSX.Element;
|
|
180
180
|
|
|
181
181
|
type ToggleControlProps<T extends PropValue> = {
|
|
182
182
|
options: Array<ToggleButtonGroupItem<T> & {
|
|
@@ -208,22 +208,22 @@ type Item$1 = {
|
|
|
208
208
|
bind: PropKey;
|
|
209
209
|
};
|
|
210
210
|
type EqualUnequalItems = [Item$1, Item$1, Item$1, Item$1];
|
|
211
|
-
type Props$
|
|
211
|
+
type Props$9<TMultiPropType extends string, TPropValue extends MultiSizePropValue> = {
|
|
212
212
|
label: string;
|
|
213
213
|
icon: ReactNode;
|
|
214
214
|
tooltipLabel: string;
|
|
215
215
|
items: EqualUnequalItems;
|
|
216
216
|
multiSizePropTypeUtil: PropTypeUtil<TMultiPropType, TPropValue>;
|
|
217
217
|
};
|
|
218
|
-
declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$
|
|
218
|
+
declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$9<TMultiPropType, TPropValue>): React$1.JSX.Element;
|
|
219
219
|
|
|
220
|
-
type Props$
|
|
220
|
+
type Props$8 = {
|
|
221
221
|
label: string;
|
|
222
222
|
isSiteRtl?: boolean;
|
|
223
223
|
extendedOptions?: ExtendedOption[];
|
|
224
224
|
min?: number;
|
|
225
225
|
};
|
|
226
|
-
declare const LinkedDimensionsControl: ({ label, isSiteRtl, min }: Props$
|
|
226
|
+
declare const LinkedDimensionsControl: ({ label, isSiteRtl, min }: Props$8) => React$1.JSX.Element;
|
|
227
227
|
|
|
228
228
|
type FontCategory = {
|
|
229
229
|
label: string;
|
|
@@ -276,7 +276,7 @@ type ControlProps<TControlProps = unknown> = TControlProps & {
|
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
type Props$
|
|
279
|
+
type Props$7 = ControlProps<{
|
|
280
280
|
queryOptions: {
|
|
281
281
|
params: Record<string, unknown>;
|
|
282
282
|
url: string;
|
|
@@ -288,21 +288,21 @@ type Props$6 = ControlProps<{
|
|
|
288
288
|
ariaLabel?: string;
|
|
289
289
|
}>;
|
|
290
290
|
type DestinationProp = LinkPropValue['value']['destination'];
|
|
291
|
-
declare const LinkControl: ControlComponent$1<(props: Props$
|
|
291
|
+
declare const LinkControl: ControlComponent$1<(props: Props$7) => React$1.JSX.Element>;
|
|
292
292
|
|
|
293
293
|
type SelectOption = {
|
|
294
294
|
label: string;
|
|
295
295
|
value: StringPropValue['value'];
|
|
296
296
|
disabled?: boolean;
|
|
297
297
|
};
|
|
298
|
-
type Props$
|
|
298
|
+
type Props$6 = ControlProps<{
|
|
299
299
|
options: SelectOption[];
|
|
300
300
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
301
301
|
fallbackLabels?: Record<string, string>;
|
|
302
302
|
}>;
|
|
303
|
-
declare const HtmlTagControl: ControlComponent$1<(props: Props$
|
|
303
|
+
declare const HtmlTagControl: ControlComponent$1<(props: Props$6) => React$1.JSX.Element>;
|
|
304
304
|
|
|
305
|
-
type Props$
|
|
305
|
+
type Props$5 = {
|
|
306
306
|
queryOptions: {
|
|
307
307
|
params: Record<string, unknown>;
|
|
308
308
|
url: string;
|
|
@@ -313,7 +313,7 @@ type Props$4 = {
|
|
|
313
313
|
onSetValue?: (value: DestinationProp | null) => void;
|
|
314
314
|
ariaLabel?: string;
|
|
315
315
|
};
|
|
316
|
-
declare const QueryControl: ControlComponent$1<(props: Props$
|
|
316
|
+
declare const QueryControl: ControlComponent$1<(props: Props$5) => React$1.JSX.Element>;
|
|
317
317
|
|
|
318
318
|
declare const GapControl: ({ label }: {
|
|
319
319
|
label: string;
|
|
@@ -436,6 +436,12 @@ declare const EmailFormActionControl: ControlComponent$1<({ toPlaceholder }: {
|
|
|
436
436
|
toPlaceholder?: string;
|
|
437
437
|
}) => React$1.JSX.Element>;
|
|
438
438
|
|
|
439
|
+
type Props$4 = {
|
|
440
|
+
label?: string;
|
|
441
|
+
options: SelectOption$1[];
|
|
442
|
+
};
|
|
443
|
+
declare const AttachmentTypeControl: ControlComponent$1<({ label, options }: Props$4) => React$1.JSX.Element>;
|
|
444
|
+
|
|
439
445
|
type Action = {
|
|
440
446
|
type: string;
|
|
441
447
|
payload?: object;
|
|
@@ -835,4 +841,4 @@ declare function useTypingBuffer(options?: UseTypingBufferOptions): {
|
|
|
835
841
|
startsWith: (haystack: string, needle: string) => boolean;
|
|
836
842
|
};
|
|
837
843
|
|
|
838
|
-
export { type AdornmentComponent, type AngleUnit$1 as AngleUnit, AspectRatioControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent$1 as ControlComponent, ControlFormLabel, type ControlReplacement, ControlReplacementsProvider, ControlToggleButtonGroup, DateRangeControl, DateTimeControl, DisplayConditionsControl, EmailFormActionControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit$1 as LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit$1 as TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit$1 as Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, getControlReplacements, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
|
|
844
|
+
export { type AdornmentComponent, type AngleUnit$1 as AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent$1 as ControlComponent, ControlFormLabel, type ControlReplacement, ControlReplacementsProvider, ControlToggleButtonGroup, DateRangeControl, DateTimeControl, DisplayConditionsControl, EmailFormActionControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit$1 as LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit$1 as TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit$1 as Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, getControlReplacements, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
|