@elementor/editor-controls 4.4.0-1139 → 4.4.0-1140

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
@@ -4,11 +4,11 @@ import { SxProps, SelectProps, UnstableColorFieldProps, StackProps, ToggleButton
4
4
  import { SizePropValue, StringPropValue, PropTypeUtil, PropValue, PropKey, LinkPropValue, QueryFilterKeyConfig, TransformablePropValue, PropType, CreateOptions } from '@elementor/editor-props';
5
5
  import * as _emotion_styled from '@emotion/styled';
6
6
  import { StyleDefinitionState } from '@elementor/editor-styles';
7
+ import * as _elementor_locations from '@elementor/locations';
7
8
  import { EditorProps, EditorView } from '@tiptap/pm/view';
8
9
  import { Editor } from '@tiptap/react';
9
10
  import { ElementID } from '@elementor/editor-elements';
10
11
  import * as _mui_material from '@mui/material';
11
- import * as _elementor_locations from '@elementor/locations';
12
12
 
13
13
  type ImagePromotion = {
14
14
  label?: string;
@@ -485,6 +485,21 @@ declare function resolveProviderIconSvg(library: string, iconValue: string, sign
485
485
 
486
486
  declare function enqueueIconFonts(library: string): void;
487
487
 
488
+ declare const injectIntoIconLibraryUploadAction: (args: _elementor_locations.ReplaceableInjectArgs<object>) => void;
489
+ type IconLibraryUploadButtonProps = {
490
+ onClick: () => void;
491
+ 'aria-haspopup'?: 'dialog';
492
+ 'aria-expanded'?: boolean;
493
+ };
494
+ declare const IconLibraryUploadButton: React$1.ForwardRefExoticComponent<IconLibraryUploadButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
495
+ type IconLibraryUploadPromotionProps = {
496
+ ctaUrl?: string;
497
+ ctaText?: string;
498
+ title?: string;
499
+ content?: string;
500
+ };
501
+ declare const IconLibraryUploadPromotion: ({ ctaUrl, ctaText, title, content, }: IconLibraryUploadPromotionProps) => React$1.JSX.Element | null;
502
+
488
503
  type TransitionProperty = {
489
504
  label: string;
490
505
  value: string;
@@ -951,4 +966,4 @@ declare function useTypingBuffer(options?: UseTypingBufferOptions): {
951
966
  startsWith: (haystack: string, needle: string) => boolean;
952
967
  };
953
968
 
954
- export { type AdornmentComponent, type AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, ControlActions, 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 FontAwesome7Icon, type FontAwesome7IconDefinition, type FontCategory, FontFamilyControl, GapControl, GridSpanControl, HtmlTagControl, type IconLibraryProvider, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NoticeControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryChipsControl, QueryControl, QueryFilterRepeaterControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, TimeRangeControl, TimeStringControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, enqueueIconFonts, getControlReplacements, getFontAwesome7IconName, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, registerIconLibraryProvider, resetFontAwesome7IconsCache, resolveFontAwesome7Icon, resolveProviderIconSvg, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, unregisterIconLibraryProvider, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
969
+ export { type AdornmentComponent, type AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, ControlActions, 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 FontAwesome7Icon, type FontAwesome7IconDefinition, type FontCategory, FontFamilyControl, GapControl, GridSpanControl, HtmlTagControl, type IconLibraryProvider, IconLibraryUploadButton, IconLibraryUploadPromotion, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NoticeControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryChipsControl, QueryControl, QueryFilterRepeaterControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, TimeRangeControl, TimeStringControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, enqueueIconFonts, getControlReplacements, getFontAwesome7IconName, injectIntoIconLibraryUploadAction, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, registerIconLibraryProvider, resetFontAwesome7IconsCache, resolveFontAwesome7Icon, resolveProviderIconSvg, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, unregisterIconLibraryProvider, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
package/dist/index.d.ts CHANGED
@@ -4,11 +4,11 @@ import { SxProps, SelectProps, UnstableColorFieldProps, StackProps, ToggleButton
4
4
  import { SizePropValue, StringPropValue, PropTypeUtil, PropValue, PropKey, LinkPropValue, QueryFilterKeyConfig, TransformablePropValue, PropType, CreateOptions } from '@elementor/editor-props';
5
5
  import * as _emotion_styled from '@emotion/styled';
6
6
  import { StyleDefinitionState } from '@elementor/editor-styles';
7
+ import * as _elementor_locations from '@elementor/locations';
7
8
  import { EditorProps, EditorView } from '@tiptap/pm/view';
8
9
  import { Editor } from '@tiptap/react';
9
10
  import { ElementID } from '@elementor/editor-elements';
10
11
  import * as _mui_material from '@mui/material';
11
- import * as _elementor_locations from '@elementor/locations';
12
12
 
13
13
  type ImagePromotion = {
14
14
  label?: string;
@@ -485,6 +485,21 @@ declare function resolveProviderIconSvg(library: string, iconValue: string, sign
485
485
 
486
486
  declare function enqueueIconFonts(library: string): void;
487
487
 
488
+ declare const injectIntoIconLibraryUploadAction: (args: _elementor_locations.ReplaceableInjectArgs<object>) => void;
489
+ type IconLibraryUploadButtonProps = {
490
+ onClick: () => void;
491
+ 'aria-haspopup'?: 'dialog';
492
+ 'aria-expanded'?: boolean;
493
+ };
494
+ declare const IconLibraryUploadButton: React$1.ForwardRefExoticComponent<IconLibraryUploadButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
495
+ type IconLibraryUploadPromotionProps = {
496
+ ctaUrl?: string;
497
+ ctaText?: string;
498
+ title?: string;
499
+ content?: string;
500
+ };
501
+ declare const IconLibraryUploadPromotion: ({ ctaUrl, ctaText, title, content, }: IconLibraryUploadPromotionProps) => React$1.JSX.Element | null;
502
+
488
503
  type TransitionProperty = {
489
504
  label: string;
490
505
  value: string;
@@ -951,4 +966,4 @@ declare function useTypingBuffer(options?: UseTypingBufferOptions): {
951
966
  startsWith: (haystack: string, needle: string) => boolean;
952
967
  };
953
968
 
954
- export { type AdornmentComponent, type AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, ControlActions, 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 FontAwesome7Icon, type FontAwesome7IconDefinition, type FontCategory, FontFamilyControl, GapControl, GridSpanControl, HtmlTagControl, type IconLibraryProvider, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NoticeControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryChipsControl, QueryControl, QueryFilterRepeaterControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, TimeRangeControl, TimeStringControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, enqueueIconFonts, getControlReplacements, getFontAwesome7IconName, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, registerIconLibraryProvider, resetFontAwesome7IconsCache, resolveFontAwesome7Icon, resolveProviderIconSvg, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, unregisterIconLibraryProvider, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };
969
+ export { type AdornmentComponent, type AngleUnit, AspectRatioControl, AttachmentTypeControl, AttributesControl, BackgroundControl, BoxShadowRepeaterControl, ChipsControl, ClearIconButton, ColorControl, ControlActions, 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 FontAwesome7Icon, type FontAwesome7IconDefinition, type FontCategory, FontFamilyControl, GapControl, GridSpanControl, HtmlTagControl, type IconLibraryProvider, IconLibraryUploadButton, IconLibraryUploadPromotion, ImageControl, InlineEditingControl, InlineEditor, InlineEditorToolbar, type InlineEditorToolbarProps, ItemSelector, type ItemsActionPayload, KeyValueControl, type LengthUnit, LinkControl, LinkedDimensionsControl, MentionTextAreaControl, NoticeControl, NumberControl, NumberInput, PopoverContent, PopoverGridContainer, PositionControl, type PromotionTrackingData, PromotionTrigger, type PromotionTriggerRef, PropKeyProvider, PropProvider, type PropProviderProps, QueryChipsControl, QueryControl, QueryFilterRepeaterControl, RepeatableControl, Repeater, type RepeaterItem, SelectControl, SelectControlWrapper, type SetRepeaterValuesMeta, type SetValue, type SetValueMeta, SizeComponent, SizeControl, StrokeControl, StyledToggleButton, StyledToggleButtonGroup, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, TimeRangeControl, TimeStringControl, type TimeUnit, type ToggleButtonGroupItem, ToggleButtonGroupUi, ToggleControl, type ToggleControlProps, TransformRepeaterControl, TransformSettingsControl, TransitionRepeaterControl, type Unit, UnstableSizeControl, UnstableSizeField, UrlControl, type UseTypingBufferOptions, type V4PromotionData, type V4PromotionKey, VideoMediaControl, createControl, createControlReplacementsRegistry, enqueueFont, enqueueIconFonts, getControlReplacements, getFontAwesome7IconName, injectIntoIconLibraryUploadAction, injectIntoRepeaterItemActions, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, isUnitExtendedOption, registerControlReplacement, registerIconLibraryProvider, resetFontAwesome7IconsCache, resolveFontAwesome7Icon, resolveProviderIconSvg, trackUpgradePromotionClick, trackViewPromotion, transitionProperties, transitionsItemsList, unregisterIconLibraryProvider, useBoundProp, useControlActions, useControlReplacement, useFontFamilies, useSyncExternalState, useTypingBuffer };