@elementor/editor-components 4.0.0-672 → 4.0.0-673
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 +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +224 -130
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +208 -113
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -23
- package/src/components/components-tab/components-list.tsx +47 -4
- package/src/components/components-tab/components-pro-notification.tsx +9 -15
- package/src/components/components-tab/components.tsx +7 -3
- package/src/components/components-tab/loading-components.tsx +26 -14
- package/src/components/components-upgrade-alert.tsx +39 -0
- package/src/components/instance-editing-panel/instance-editing-panel.tsx +13 -1
- package/src/create-component-type.ts +3 -4
- package/src/index.ts +1 -6
package/dist/index.d.mts
CHANGED
|
@@ -178,7 +178,6 @@ type ComponentNameProps = {
|
|
|
178
178
|
declare function ComponentName({ name, editable }: ComponentNameProps): React.JSX.Element;
|
|
179
179
|
|
|
180
180
|
declare function ComponentsList(): React.JSX.Element;
|
|
181
|
-
declare const EmptyState$1: () => React.JSX.Element;
|
|
182
181
|
declare const EmptySearchResult: () => React.JSX.Element;
|
|
183
182
|
declare const useFilteredComponents: () => {
|
|
184
183
|
components: (PublishedComponent | {
|
|
@@ -1410,4 +1409,4 @@ type ComponentEventData = Record<string, unknown> & {
|
|
|
1410
1409
|
declare const trackComponentEvent: ({ action, source, ...data }: ComponentEventData) => void;
|
|
1411
1410
|
declare const onElementDrop: (_args: unknown, element: V1Element) => void;
|
|
1412
1411
|
|
|
1413
|
-
export { COMPONENT_WIDGET_TYPE, type Component, type ComponentFormValues, type ComponentId, type ComponentInstanceOverride, type ComponentInstanceOverrideProp, type ComponentInstanceOverridePropValue, type ComponentInstanceOverridesPropValue, type ComponentInstanceProp, type ComponentInstancePropValue, ComponentInstanceProvider, ComponentItem, type ComponentItemProps, ComponentName, type ComponentOverridableProp, type ComponentOverridablePropValue, ComponentSearch,
|
|
1412
|
+
export { COMPONENT_WIDGET_TYPE, type Component, type ComponentFormValues, type ComponentId, type ComponentInstanceOverride, type ComponentInstanceOverrideProp, type ComponentInstanceOverridePropValue, type ComponentInstanceOverridesPropValue, type ComponentInstanceProp, type ComponentInstancePropValue, ComponentInstanceProvider, ComponentItem, type ComponentItemProps, ComponentName, type ComponentOverridableProp, type ComponentOverridablePropValue, ComponentSearch, ComponentsList, type ComponentsPathItem, type ComponentsSlice, DetachAction, type DocumentSaveStatus, EditComponentAction, EmptySearchResult, type ExtendedWindow, EmptyState as InstanceEmptyState, InstancePanelBody, InstancePanelHeader, LoadingComponents, type OriginPropFields, type OriginalElementData, type OverridableProp, OverridablePropProvider, type OverridableProps, type OverridablePropsGroup, type PublishedComponent, SLICE_NAME, type SanitizeAttributes, SearchProvider, type Source, type StylesDefinition, type UnpublishedComponent, type UpdatedComponentName, apiClient, componentInstanceOverridePropTypeUtil, componentInstanceOverridesPropTypeUtil, componentInstancePropTypeUtil, componentOverridablePropTypeUtil, componentsActions, componentsSelectors, filterValidOverridableProps, getContainerByOriginId, getOverridableProp, getPropTypeForComponentOverride, init, isComponentInstance, loadComponentsAssets, onElementDrop, publishDraftComponentsInPageBeforeSave, resolveOverridePropValue, selectOverridableProps, selectPath, slice, switchToComponent, trackComponentEvent, updateOverridableProp, useComponentInstanceElement, useComponents, useComponentsPermissions, useCurrentComponent, useCurrentComponentId, useFilteredComponents, useInstancePanelData, useIsSanitizedComponent, useOverridablePropValue, useOverridableProps, useSanitizeOverridableProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -178,7 +178,6 @@ type ComponentNameProps = {
|
|
|
178
178
|
declare function ComponentName({ name, editable }: ComponentNameProps): React.JSX.Element;
|
|
179
179
|
|
|
180
180
|
declare function ComponentsList(): React.JSX.Element;
|
|
181
|
-
declare const EmptyState$1: () => React.JSX.Element;
|
|
182
181
|
declare const EmptySearchResult: () => React.JSX.Element;
|
|
183
182
|
declare const useFilteredComponents: () => {
|
|
184
183
|
components: (PublishedComponent | {
|
|
@@ -1410,4 +1409,4 @@ type ComponentEventData = Record<string, unknown> & {
|
|
|
1410
1409
|
declare const trackComponentEvent: ({ action, source, ...data }: ComponentEventData) => void;
|
|
1411
1410
|
declare const onElementDrop: (_args: unknown, element: V1Element) => void;
|
|
1412
1411
|
|
|
1413
|
-
export { COMPONENT_WIDGET_TYPE, type Component, type ComponentFormValues, type ComponentId, type ComponentInstanceOverride, type ComponentInstanceOverrideProp, type ComponentInstanceOverridePropValue, type ComponentInstanceOverridesPropValue, type ComponentInstanceProp, type ComponentInstancePropValue, ComponentInstanceProvider, ComponentItem, type ComponentItemProps, ComponentName, type ComponentOverridableProp, type ComponentOverridablePropValue, ComponentSearch,
|
|
1412
|
+
export { COMPONENT_WIDGET_TYPE, type Component, type ComponentFormValues, type ComponentId, type ComponentInstanceOverride, type ComponentInstanceOverrideProp, type ComponentInstanceOverridePropValue, type ComponentInstanceOverridesPropValue, type ComponentInstanceProp, type ComponentInstancePropValue, ComponentInstanceProvider, ComponentItem, type ComponentItemProps, ComponentName, type ComponentOverridableProp, type ComponentOverridablePropValue, ComponentSearch, ComponentsList, type ComponentsPathItem, type ComponentsSlice, DetachAction, type DocumentSaveStatus, EditComponentAction, EmptySearchResult, type ExtendedWindow, EmptyState as InstanceEmptyState, InstancePanelBody, InstancePanelHeader, LoadingComponents, type OriginPropFields, type OriginalElementData, type OverridableProp, OverridablePropProvider, type OverridableProps, type OverridablePropsGroup, type PublishedComponent, SLICE_NAME, type SanitizeAttributes, SearchProvider, type Source, type StylesDefinition, type UnpublishedComponent, type UpdatedComponentName, apiClient, componentInstanceOverridePropTypeUtil, componentInstanceOverridesPropTypeUtil, componentInstancePropTypeUtil, componentOverridablePropTypeUtil, componentsActions, componentsSelectors, filterValidOverridableProps, getContainerByOriginId, getOverridableProp, getPropTypeForComponentOverride, init, isComponentInstance, loadComponentsAssets, onElementDrop, publishDraftComponentsInPageBeforeSave, resolveOverridePropValue, selectOverridableProps, selectPath, slice, switchToComponent, trackComponentEvent, updateOverridableProp, useComponentInstanceElement, useComponents, useComponentsPermissions, useCurrentComponent, useCurrentComponentId, useFilteredComponents, useInstancePanelData, useIsSanitizedComponent, useOverridablePropValue, useOverridableProps, useSanitizeOverridableProps };
|