@elementor/editor-editing-panel 4.2.0-928 → 4.2.0-930
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 +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +444 -430
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +444 -430
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/components/editing-panel-sticky-promotion.tsx +24 -0
- package/src/components/editing-panel.tsx +3 -1
- package/src/dynamics/dynamic-transformer.ts +12 -9
- package/src/dynamics/types.ts +2 -5
package/dist/index.d.mts
CHANGED
|
@@ -2290,13 +2290,10 @@ type DynamicPropValue = TransformablePropValue<'dynamic', {
|
|
|
2290
2290
|
name: string;
|
|
2291
2291
|
settings?: Record<string, unknown>;
|
|
2292
2292
|
}>;
|
|
2293
|
-
type RefreshCacheFromServerOptions = {
|
|
2294
|
-
disableCache?: boolean;
|
|
2295
|
-
};
|
|
2296
2293
|
type DynamicTagsManager = {
|
|
2297
2294
|
createTag: (id: string, name: string, settings: Record<string, unknown>) => TagInstance;
|
|
2298
2295
|
loadTagDataFromCache: (tag: TagInstance) => unknown;
|
|
2299
|
-
refreshCacheFromServer: (callback: () => void
|
|
2296
|
+
refreshCacheFromServer: (callback: () => void) => void;
|
|
2300
2297
|
};
|
|
2301
2298
|
type TagInstance = {
|
|
2302
2299
|
options: {
|
|
@@ -2306,6 +2303,7 @@ type TagInstance = {
|
|
|
2306
2303
|
model: {
|
|
2307
2304
|
toJSON: () => Record<string, unknown>;
|
|
2308
2305
|
};
|
|
2306
|
+
editorRenderPostId?: number;
|
|
2309
2307
|
};
|
|
2310
2308
|
|
|
2311
2309
|
declare const isDynamicPropValue: (prop: PropValue) => prop is DynamicPropValue;
|
package/dist/index.d.ts
CHANGED
|
@@ -2290,13 +2290,10 @@ type DynamicPropValue = TransformablePropValue<'dynamic', {
|
|
|
2290
2290
|
name: string;
|
|
2291
2291
|
settings?: Record<string, unknown>;
|
|
2292
2292
|
}>;
|
|
2293
|
-
type RefreshCacheFromServerOptions = {
|
|
2294
|
-
disableCache?: boolean;
|
|
2295
|
-
};
|
|
2296
2293
|
type DynamicTagsManager = {
|
|
2297
2294
|
createTag: (id: string, name: string, settings: Record<string, unknown>) => TagInstance;
|
|
2298
2295
|
loadTagDataFromCache: (tag: TagInstance) => unknown;
|
|
2299
|
-
refreshCacheFromServer: (callback: () => void
|
|
2296
|
+
refreshCacheFromServer: (callback: () => void) => void;
|
|
2300
2297
|
};
|
|
2301
2298
|
type TagInstance = {
|
|
2302
2299
|
options: {
|
|
@@ -2306,6 +2303,7 @@ type TagInstance = {
|
|
|
2306
2303
|
model: {
|
|
2307
2304
|
toJSON: () => Record<string, unknown>;
|
|
2308
2305
|
};
|
|
2306
|
+
editorRenderPostId?: number;
|
|
2309
2307
|
};
|
|
2310
2308
|
|
|
2311
2309
|
declare const isDynamicPropValue: (prop: PropValue) => prop is DynamicPropValue;
|