@elementor/editor-variables 3.35.0 → 3.35.2
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/utils/tracking.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -57,9 +57,9 @@ var import_ui12 = require("@elementor/ui");
|
|
|
57
57
|
var import_i18n9 = require("@wordpress/i18n");
|
|
58
58
|
|
|
59
59
|
// src/utils/tracking.ts
|
|
60
|
-
var
|
|
60
|
+
var import_events = require("@elementor/events");
|
|
61
61
|
var trackVariableEvent = ({ varType, controlPath, action }) => {
|
|
62
|
-
const { dispatchEvent, config } = (0,
|
|
62
|
+
const { dispatchEvent, config } = (0, import_events.getMixpanel)();
|
|
63
63
|
if (!config?.names?.variables?.[action]) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
@@ -74,7 +74,7 @@ var trackVariableEvent = ({ varType, controlPath, action }) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
var trackVariablesManagerEvent = ({ action, varType, controlPath }) => {
|
|
77
|
-
const { dispatchEvent, config } = (0,
|
|
77
|
+
const { dispatchEvent, config } = (0, import_events.getMixpanel)();
|
|
78
78
|
if (!config?.names?.variables?.[action]) {
|
|
79
79
|
return;
|
|
80
80
|
}
|