@elementor/editor-controls 3.35.0-412 → 3.35.0-414
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 +314 -313
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +220 -219
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/restricted-link-infotip.tsx +5 -2
- package/src/controls/image-control.tsx +2 -1
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": "3.35.0-
|
|
4
|
+
"version": "3.35.0-414",
|
|
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": "3.35.0-
|
|
44
|
-
"@elementor/editor-elements": "3.35.0-
|
|
45
|
-
"@elementor/editor-props": "3.35.0-
|
|
46
|
-
"@elementor/editor-responsive": "3.35.0-
|
|
47
|
-
"@elementor/editor-ui": "3.35.0-
|
|
48
|
-
"@elementor/editor-v1-adapters": "3.35.0-
|
|
49
|
-
"@elementor/env": "3.35.0-
|
|
50
|
-
"@elementor/http-client": "3.35.0-
|
|
43
|
+
"@elementor/editor-current-user": "3.35.0-414",
|
|
44
|
+
"@elementor/editor-elements": "3.35.0-414",
|
|
45
|
+
"@elementor/editor-props": "3.35.0-414",
|
|
46
|
+
"@elementor/editor-responsive": "3.35.0-414",
|
|
47
|
+
"@elementor/editor-ui": "3.35.0-414",
|
|
48
|
+
"@elementor/editor-v1-adapters": "3.35.0-414",
|
|
49
|
+
"@elementor/env": "3.35.0-414",
|
|
50
|
+
"@elementor/http-client": "3.35.0-414",
|
|
51
51
|
"@elementor/icons": "^1.63.0",
|
|
52
|
-
"@elementor/locations": "3.35.0-
|
|
53
|
-
"@elementor/mixpanel": "3.35.0-
|
|
54
|
-
"@elementor/query": "3.35.0-
|
|
55
|
-
"@elementor/session": "3.35.0-
|
|
52
|
+
"@elementor/locations": "3.35.0-414",
|
|
53
|
+
"@elementor/mixpanel": "3.35.0-414",
|
|
54
|
+
"@elementor/query": "3.35.0-414",
|
|
55
|
+
"@elementor/session": "3.35.0-414",
|
|
56
56
|
"@elementor/ui": "1.36.17",
|
|
57
|
-
"@elementor/utils": "3.35.0-
|
|
58
|
-
"@elementor/wp-media": "3.35.0-
|
|
57
|
+
"@elementor/utils": "3.35.0-414",
|
|
58
|
+
"@elementor/wp-media": "3.35.0-414",
|
|
59
59
|
"@wordpress/i18n": "^5.13.0",
|
|
60
60
|
"@monaco-editor/react": "^4.7.0",
|
|
61
61
|
"dayjs": "^1.11.18",
|
|
@@ -12,10 +12,13 @@ const learnMoreButton = {
|
|
|
12
12
|
|
|
13
13
|
const INFOTIP_CONTENT = {
|
|
14
14
|
descendant: __(
|
|
15
|
-
'To add a link to this element, first remove the link from the elements inside of it.',
|
|
15
|
+
'To add a link or action to this element, first remove the link or action from the elements inside of it.',
|
|
16
|
+
'elementor'
|
|
17
|
+
),
|
|
18
|
+
ancestor: __(
|
|
19
|
+
'To add a link or action to this container, first remove the link or action from its parent container.',
|
|
16
20
|
'elementor'
|
|
17
21
|
),
|
|
18
|
-
ancestor: __( 'To add a link to this element, first remove the link from its parent container.', 'elementor' ),
|
|
19
22
|
};
|
|
20
23
|
|
|
21
24
|
type RestrictedLinkInfotipProps = PropsWithChildren< {
|
|
@@ -6,6 +6,7 @@ import { __ } from '@wordpress/i18n';
|
|
|
6
6
|
|
|
7
7
|
import { PropKeyProvider, PropProvider, useBoundProp } from '../bound-prop-context';
|
|
8
8
|
import { ControlFormLabel } from '../components/control-form-label';
|
|
9
|
+
import { ControlLabel } from '../components/control-label';
|
|
9
10
|
import { createControl } from '../create-control';
|
|
10
11
|
import { useUnfilteredFilesUpload } from '../hooks/use-unfiltered-files-upload';
|
|
11
12
|
import { ImageMediaControl } from './image-media-control';
|
|
@@ -21,7 +22,7 @@ export const ImageControl = createControl( ( { sizes }: ImageControlProps ) => {
|
|
|
21
22
|
return (
|
|
22
23
|
<PropProvider { ...propContext }>
|
|
23
24
|
<Stack gap={ 1.5 }>
|
|
24
|
-
<
|
|
25
|
+
<ControlLabel>{ __( 'Image', 'elementor' ) }</ControlLabel>
|
|
25
26
|
<ImageSrcControl />
|
|
26
27
|
<Grid container gap={ 1.5 } alignItems="center" flexWrap="nowrap">
|
|
27
28
|
<Grid item xs={ 6 }>
|