@elementor/editor-variables 4.2.0-879 → 4.2.0-881
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 +0 -10
- package/dist/index.d.ts +0 -10
- package/dist/index.js +270 -428
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +265 -445
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/variable-selection-popover.tsx +3 -9
- package/src/components/variables-manager/variables-manager-panel.tsx +158 -295
- package/src/init.ts +6 -24
- package/src/components/open-panel-from-event.tsx +0 -46
- package/src/components/open-panel-from-url.tsx +0 -40
package/dist/index.d.mts
CHANGED
|
@@ -11,18 +11,8 @@ import * as _mui_material from '@mui/material';
|
|
|
11
11
|
|
|
12
12
|
type VariablesManagerPanelEmbeddedProps = {
|
|
13
13
|
onRequestClose: () => void | Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Registers the variables manager close handler (dirty check + save dialog) so parent panel chrome
|
|
16
|
-
* can invoke the same flow as the standalone panel close control.
|
|
17
|
-
*/
|
|
18
14
|
onExposeCloseAttempt?: (attemptClose: (() => void) | null) => void;
|
|
19
15
|
};
|
|
20
|
-
/**
|
|
21
|
-
* Variables UI without standalone panel chrome — use inside Design System panel when experiment is active.
|
|
22
|
-
* @param root0
|
|
23
|
-
* @param root0.onRequestClose
|
|
24
|
-
* @param root0.onExposeCloseAttempt
|
|
25
|
-
*/
|
|
26
16
|
declare function VariablesManagerPanelEmbedded({ onRequestClose, onExposeCloseAttempt, }: VariablesManagerPanelEmbeddedProps): react.JSX.Element;
|
|
27
17
|
|
|
28
18
|
declare function init(): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,18 +11,8 @@ import * as _mui_material from '@mui/material';
|
|
|
11
11
|
|
|
12
12
|
type VariablesManagerPanelEmbeddedProps = {
|
|
13
13
|
onRequestClose: () => void | Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Registers the variables manager close handler (dirty check + save dialog) so parent panel chrome
|
|
16
|
-
* can invoke the same flow as the standalone panel close control.
|
|
17
|
-
*/
|
|
18
14
|
onExposeCloseAttempt?: (attemptClose: (() => void) | null) => void;
|
|
19
15
|
};
|
|
20
|
-
/**
|
|
21
|
-
* Variables UI without standalone panel chrome — use inside Design System panel when experiment is active.
|
|
22
|
-
* @param root0
|
|
23
|
-
* @param root0.onRequestClose
|
|
24
|
-
* @param root0.onExposeCloseAttempt
|
|
25
|
-
*/
|
|
26
16
|
declare function VariablesManagerPanelEmbedded({ onRequestClose, onExposeCloseAttempt, }: VariablesManagerPanelEmbeddedProps): react.JSX.Element;
|
|
27
17
|
|
|
28
18
|
declare function init(): void;
|