@elementor/editor-v1-adapters 4.0.0-668 → 4.0.0-670
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 -3
- package/dist/index.d.ts +4 -3
- package/package.json +2 -2
- package/src/config/supported-fonts.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -157,7 +157,8 @@ declare function getCanvasIframeDocument(): Document | null | undefined;
|
|
|
157
157
|
declare const getElementorConfig: () => {
|
|
158
158
|
controls?: {
|
|
159
159
|
font?: {
|
|
160
|
-
|
|
160
|
+
groups?: Record<string, string>;
|
|
161
|
+
options?: Record<string, string>;
|
|
161
162
|
};
|
|
162
163
|
};
|
|
163
164
|
atomicDynamicTags?: {
|
|
@@ -181,6 +182,6 @@ declare const getElementorFrontendConfig: () => {
|
|
|
181
182
|
type EnqueueFont = (fontFamily: string, context?: 'preview' | 'editor') => void;
|
|
182
183
|
declare const enqueueFont: EnqueueFont;
|
|
183
184
|
|
|
184
|
-
type SupportedFonts
|
|
185
|
+
type SupportedFonts = 'system' | 'googlefonts' | 'earlyaccess' | 'custom' | 'local' | (string & {});
|
|
185
186
|
|
|
186
|
-
export { type CommandEvent, type CommandEventDescriptor, EXPERIMENTAL_FEATURES, type EditMode, type EnqueueFont, type EventDescriptor, type ExtendedWindow, type HistoryItem, type HookOptions, type ListenerCallback, type ListenerEvent, type RouteEvent, type RouteEventDescriptor, type SupportedFonts
|
|
187
|
+
export { type CommandEvent, type CommandEventDescriptor, EXPERIMENTAL_FEATURES, type EditMode, type EnqueueFont, type EventDescriptor, type ExtendedWindow, type HistoryItem, type HookOptions, type ListenerCallback, type ListenerEvent, type RouteEvent, type RouteEventDescriptor, type SupportedFonts, type UseRouteStatusOptions, type WindowEvent, type WindowEventDescriptor, type WindowWithHistoryManager, dispatchReadyEvent as __privateDispatchReadyEvent, flushListeners as __privateFlushListeners, isRouteActive as __privateIsRouteActive, listenTo as __privateListenTo, openRoute as __privateOpenRoute, registerRoute as __privateRegisterRoute, runCommand as __privateRunCommand, runCommandSync as __privateRunCommandSync, setReady as __privateSetReady, useIsRouteActive as __privateUseIsRouteActive, useListenTo as __privateUseListenTo, useRouteStatus as __privateUseRouteStatus, ajax, blockCommand, changeEditMode, commandEndEvent, commandStartEvent, dispatchReadyEvent, enqueueFont, flushListeners, getCanvasIframeDocument, getCurrentEditMode, getElementorConfig, getElementorFrontendConfig, isExperimentActive, isReady, listenTo, registerDataHook, routeCloseEvent, routeOpenEvent, setReady, undoable, useEditMode, v1ReadyEvent, windowEvent };
|
package/dist/index.d.ts
CHANGED
|
@@ -157,7 +157,8 @@ declare function getCanvasIframeDocument(): Document | null | undefined;
|
|
|
157
157
|
declare const getElementorConfig: () => {
|
|
158
158
|
controls?: {
|
|
159
159
|
font?: {
|
|
160
|
-
|
|
160
|
+
groups?: Record<string, string>;
|
|
161
|
+
options?: Record<string, string>;
|
|
161
162
|
};
|
|
162
163
|
};
|
|
163
164
|
atomicDynamicTags?: {
|
|
@@ -181,6 +182,6 @@ declare const getElementorFrontendConfig: () => {
|
|
|
181
182
|
type EnqueueFont = (fontFamily: string, context?: 'preview' | 'editor') => void;
|
|
182
183
|
declare const enqueueFont: EnqueueFont;
|
|
183
184
|
|
|
184
|
-
type SupportedFonts
|
|
185
|
+
type SupportedFonts = 'system' | 'googlefonts' | 'earlyaccess' | 'custom' | 'local' | (string & {});
|
|
185
186
|
|
|
186
|
-
export { type CommandEvent, type CommandEventDescriptor, EXPERIMENTAL_FEATURES, type EditMode, type EnqueueFont, type EventDescriptor, type ExtendedWindow, type HistoryItem, type HookOptions, type ListenerCallback, type ListenerEvent, type RouteEvent, type RouteEventDescriptor, type SupportedFonts
|
|
187
|
+
export { type CommandEvent, type CommandEventDescriptor, EXPERIMENTAL_FEATURES, type EditMode, type EnqueueFont, type EventDescriptor, type ExtendedWindow, type HistoryItem, type HookOptions, type ListenerCallback, type ListenerEvent, type RouteEvent, type RouteEventDescriptor, type SupportedFonts, type UseRouteStatusOptions, type WindowEvent, type WindowEventDescriptor, type WindowWithHistoryManager, dispatchReadyEvent as __privateDispatchReadyEvent, flushListeners as __privateFlushListeners, isRouteActive as __privateIsRouteActive, listenTo as __privateListenTo, openRoute as __privateOpenRoute, registerRoute as __privateRegisterRoute, runCommand as __privateRunCommand, runCommandSync as __privateRunCommandSync, setReady as __privateSetReady, useIsRouteActive as __privateUseIsRouteActive, useListenTo as __privateUseListenTo, useRouteStatus as __privateUseRouteStatus, ajax, blockCommand, changeEditMode, commandEndEvent, commandStartEvent, dispatchReadyEvent, enqueueFont, flushListeners, getCanvasIframeDocument, getCurrentEditMode, getElementorConfig, getElementorFrontendConfig, isExperimentActive, isReady, listenTo, registerDataHook, routeCloseEvent, routeOpenEvent, setReady, undoable, useEditMode, v1ReadyEvent, windowEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-v1-adapters",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-670",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elementor/utils": "4.0.0-
|
|
42
|
+
"@elementor/utils": "4.0.0-670"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^18.3.1"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type SupportedFonts = 'system' | 'googlefonts' | 'custom';
|
|
1
|
+
export type SupportedFonts = 'system' | 'googlefonts' | 'earlyaccess' | 'custom' | 'local' | ( string & {} );
|