@elementor/editor-controls 4.0.0-680 → 4.0.0-682
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 +46 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -42
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/controls/transition-control/transition-selector.tsx +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-controls",
|
|
3
3
|
"description": "This package contains the controls model and utils for the Elementor editor",
|
|
4
|
-
"version": "4.0.0-
|
|
4
|
+
"version": "4.0.0-682",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Elementor Team",
|
|
7
7
|
"homepage": "https://elementor.com/",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elementor/editor-current-user": "4.0.0-
|
|
44
|
-
"@elementor/editor-elements": "4.0.0-
|
|
45
|
-
"@elementor/editor-props": "4.0.0-
|
|
46
|
-
"@elementor/editor-responsive": "4.0.0-
|
|
47
|
-
"@elementor/editor-ui": "4.0.0-
|
|
48
|
-
"@elementor/editor-v1-adapters": "4.0.0-
|
|
49
|
-
"@elementor/env": "4.0.0-
|
|
50
|
-
"@elementor/http-client": "4.0.0-
|
|
43
|
+
"@elementor/editor-current-user": "4.0.0-682",
|
|
44
|
+
"@elementor/editor-elements": "4.0.0-682",
|
|
45
|
+
"@elementor/editor-props": "4.0.0-682",
|
|
46
|
+
"@elementor/editor-responsive": "4.0.0-682",
|
|
47
|
+
"@elementor/editor-ui": "4.0.0-682",
|
|
48
|
+
"@elementor/editor-v1-adapters": "4.0.0-682",
|
|
49
|
+
"@elementor/env": "4.0.0-682",
|
|
50
|
+
"@elementor/http-client": "4.0.0-682",
|
|
51
51
|
"@elementor/icons": "^1.68.0",
|
|
52
|
-
"@elementor/locations": "4.0.0-
|
|
53
|
-
"@elementor/events": "4.0.0-
|
|
54
|
-
"@elementor/query": "4.0.0-
|
|
55
|
-
"@elementor/session": "4.0.0-
|
|
52
|
+
"@elementor/locations": "4.0.0-682",
|
|
53
|
+
"@elementor/events": "4.0.0-682",
|
|
54
|
+
"@elementor/query": "4.0.0-682",
|
|
55
|
+
"@elementor/session": "4.0.0-682",
|
|
56
56
|
"@elementor/ui": "1.36.17",
|
|
57
|
-
"@elementor/utils": "4.0.0-
|
|
58
|
-
"@elementor/wp-media": "4.0.0-
|
|
57
|
+
"@elementor/utils": "4.0.0-682",
|
|
58
|
+
"@elementor/wp-media": "4.0.0-682",
|
|
59
59
|
"@wordpress/i18n": "^5.13.0",
|
|
60
60
|
"@monaco-editor/react": "^4.7.0",
|
|
61
61
|
"dayjs": "^1.11.18",
|
|
@@ -9,6 +9,7 @@ import { __ } from '@wordpress/i18n';
|
|
|
9
9
|
import { useBoundProp } from '../../bound-prop-context';
|
|
10
10
|
import { ItemSelector } from '../../components/item-selector';
|
|
11
11
|
import ControlActions from '../../control-actions/control-actions';
|
|
12
|
+
import { trackUpgradePromotionClick } from '../../utils/tracking';
|
|
12
13
|
import { transitionProperties, transitionsItemsList } from './data';
|
|
13
14
|
|
|
14
15
|
const toTransitionSelectorValue = ( label: string ) => {
|
|
@@ -170,6 +171,12 @@ export const TransitionSelector = ( {
|
|
|
170
171
|
'elementor'
|
|
171
172
|
) }
|
|
172
173
|
upgradeUrl={ PRO_UPGRADE_URL }
|
|
174
|
+
onCtaClick={ () =>
|
|
175
|
+
trackUpgradePromotionClick( {
|
|
176
|
+
target_name: 'transition_property',
|
|
177
|
+
location_l2: 'style',
|
|
178
|
+
} )
|
|
179
|
+
}
|
|
173
180
|
/>
|
|
174
181
|
) : null
|
|
175
182
|
}
|