@elementor/editor-controls 3.33.0-288 → 3.33.0-290
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 +17 -16
- package/dist/index.d.ts +17 -16
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/repeater/repeater-popover.tsx +1 -1
- package/src/control-adornments/control-adornments-context.tsx +5 -4
- package/src/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -569,6 +569,22 @@ type ControlActionsProviderProps = PropsWithChildren<ControlActionsContext>;
|
|
|
569
569
|
declare const ControlActionsProvider: ({ children, items }: ControlActionsProviderProps) => React$1.JSX.Element;
|
|
570
570
|
declare const useControlActions: () => ControlActionsContext;
|
|
571
571
|
|
|
572
|
+
type AdornmentComponent = ComponentType<{
|
|
573
|
+
customContext?: {
|
|
574
|
+
path: string[];
|
|
575
|
+
propType: PropType;
|
|
576
|
+
};
|
|
577
|
+
}>;
|
|
578
|
+
type ControlAdornmentsItem = {
|
|
579
|
+
id: string;
|
|
580
|
+
Adornment: AdornmentComponent;
|
|
581
|
+
};
|
|
582
|
+
type ControlAdornmentsContext = {
|
|
583
|
+
items?: ControlAdornmentsItem[];
|
|
584
|
+
};
|
|
585
|
+
type ControlAdornmentsProviderProps = PropsWithChildren<ControlAdornmentsContext>;
|
|
586
|
+
declare const ControlAdornmentsProvider: ({ children, items }: ControlAdornmentsProviderProps) => React$1.JSX.Element;
|
|
587
|
+
|
|
572
588
|
type ControlReplacement = {
|
|
573
589
|
component: ComponentType;
|
|
574
590
|
condition: ({ value }: ConditionArgs) => boolean;
|
|
@@ -586,21 +602,6 @@ declare const createControlReplacementsRegistry: () => {
|
|
|
586
602
|
getControlReplacements: () => ControlReplacement[];
|
|
587
603
|
};
|
|
588
604
|
|
|
589
|
-
type ControlAdornmentsItems = Array<{
|
|
590
|
-
id: string;
|
|
591
|
-
Adornment: ComponentType<{
|
|
592
|
-
customContext?: {
|
|
593
|
-
path: string[];
|
|
594
|
-
propType: PropType;
|
|
595
|
-
};
|
|
596
|
-
}>;
|
|
597
|
-
}>;
|
|
598
|
-
type ControlAdornmentsContext = {
|
|
599
|
-
items?: ControlAdornmentsItems;
|
|
600
|
-
};
|
|
601
|
-
type ControlAdornmentsProviderProps = PropsWithChildren<ControlAdornmentsContext>;
|
|
602
|
-
declare const ControlAdornmentsProvider: ({ children, items }: ControlAdornmentsProviderProps) => React$1.JSX.Element;
|
|
603
|
-
|
|
604
605
|
declare function ControlAdornments({ customContext, }: {
|
|
605
606
|
customContext?: {
|
|
606
607
|
path: string[];
|
|
@@ -626,4 +627,4 @@ type UseInternalStateOptions<TValue> = {
|
|
|
626
627
|
};
|
|
627
628
|
declare const useSyncExternalState: <TValue>({ external, setExternal, persistWhen, fallback, }: UseInternalStateOptions<TValue>) => readonly [TValue, (setter: ((value: TValue) => TValue) | TValue, options?: CreateOptions, meta?: SetValueMeta) => void];
|
|
628
629
|
|
|
629
|
-
export { type AngleUnit, AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, DateTimeControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, FloatingActionsBar, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, NumberControl, PopoverContent, PopoverGridContainer, PositionControl, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UrlControl, createControl, createControlReplacementsRegistry, enqueueFont, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useFloatingActionsBar, useSyncExternalState };
|
|
630
|
+
export { type AdornmentComponent, type AngleUnit, AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, DateTimeControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, FloatingActionsBar, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, NumberControl, PopoverContent, PopoverGridContainer, PositionControl, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UrlControl, createControl, createControlReplacementsRegistry, enqueueFont, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useFloatingActionsBar, useSyncExternalState };
|
package/dist/index.d.ts
CHANGED
|
@@ -569,6 +569,22 @@ type ControlActionsProviderProps = PropsWithChildren<ControlActionsContext>;
|
|
|
569
569
|
declare const ControlActionsProvider: ({ children, items }: ControlActionsProviderProps) => React$1.JSX.Element;
|
|
570
570
|
declare const useControlActions: () => ControlActionsContext;
|
|
571
571
|
|
|
572
|
+
type AdornmentComponent = ComponentType<{
|
|
573
|
+
customContext?: {
|
|
574
|
+
path: string[];
|
|
575
|
+
propType: PropType;
|
|
576
|
+
};
|
|
577
|
+
}>;
|
|
578
|
+
type ControlAdornmentsItem = {
|
|
579
|
+
id: string;
|
|
580
|
+
Adornment: AdornmentComponent;
|
|
581
|
+
};
|
|
582
|
+
type ControlAdornmentsContext = {
|
|
583
|
+
items?: ControlAdornmentsItem[];
|
|
584
|
+
};
|
|
585
|
+
type ControlAdornmentsProviderProps = PropsWithChildren<ControlAdornmentsContext>;
|
|
586
|
+
declare const ControlAdornmentsProvider: ({ children, items }: ControlAdornmentsProviderProps) => React$1.JSX.Element;
|
|
587
|
+
|
|
572
588
|
type ControlReplacement = {
|
|
573
589
|
component: ComponentType;
|
|
574
590
|
condition: ({ value }: ConditionArgs) => boolean;
|
|
@@ -586,21 +602,6 @@ declare const createControlReplacementsRegistry: () => {
|
|
|
586
602
|
getControlReplacements: () => ControlReplacement[];
|
|
587
603
|
};
|
|
588
604
|
|
|
589
|
-
type ControlAdornmentsItems = Array<{
|
|
590
|
-
id: string;
|
|
591
|
-
Adornment: ComponentType<{
|
|
592
|
-
customContext?: {
|
|
593
|
-
path: string[];
|
|
594
|
-
propType: PropType;
|
|
595
|
-
};
|
|
596
|
-
}>;
|
|
597
|
-
}>;
|
|
598
|
-
type ControlAdornmentsContext = {
|
|
599
|
-
items?: ControlAdornmentsItems;
|
|
600
|
-
};
|
|
601
|
-
type ControlAdornmentsProviderProps = PropsWithChildren<ControlAdornmentsContext>;
|
|
602
|
-
declare const ControlAdornmentsProvider: ({ children, items }: ControlAdornmentsProviderProps) => React$1.JSX.Element;
|
|
603
|
-
|
|
604
605
|
declare function ControlAdornments({ customContext, }: {
|
|
605
606
|
customContext?: {
|
|
606
607
|
path: string[];
|
|
@@ -626,4 +627,4 @@ type UseInternalStateOptions<TValue> = {
|
|
|
626
627
|
};
|
|
627
628
|
declare const useSyncExternalState: <TValue>({ external, setExternal, persistWhen, fallback, }: UseInternalStateOptions<TValue>) => readonly [TValue, (setter: ((value: TValue) => TValue) | TValue, options?: CreateOptions, meta?: SetValueMeta) => void];
|
|
628
629
|
|
|
629
|
-
export { type AngleUnit, AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, DateTimeControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, FloatingActionsBar, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, NumberControl, PopoverContent, PopoverGridContainer, PositionControl, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UrlControl, createControl, createControlReplacementsRegistry, enqueueFont, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useFloatingActionsBar, useSyncExternalState };
|
|
630
|
+
export { type AdornmentComponent, type AngleUnit, AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ClearIconButton, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, DateTimeControl, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedOption, FilterRepeaterControl, FloatingActionsBar, type FontCategory, FontFamilyControl, GapControl, HtmlTagControl, ImageControl, InlineEditingControl, InlineEditor, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, NumberControl, PopoverContent, PopoverGridContainer, PositionControl, PropKeyProvider, PropProvider, type PropProviderProps, QueryControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UrlControl, createControl, createControlReplacementsRegistry, enqueueFont, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, transitionProperties, transitionsItemsList, useBoundProp, useControlActions, useFloatingActionsBar, useSyncExternalState };
|
package/dist/index.js
CHANGED
|
@@ -1753,7 +1753,7 @@ var RepeaterPopover = ({ children, width, ...props }) => {
|
|
|
1753
1753
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
1754
1754
|
slotProps: {
|
|
1755
1755
|
paper: {
|
|
1756
|
-
sx: {
|
|
1756
|
+
sx: { marginBlockStart: 0.5, width, overflow: "visible" }
|
|
1757
1757
|
}
|
|
1758
1758
|
},
|
|
1759
1759
|
...props
|