@elementor/editor-editing-panel 4.3.0-1019 → 4.3.0-1020

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-editing-panel",
3
- "version": "4.3.0-1019",
3
+ "version": "4.3.0-1020",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,31 +39,31 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "4.3.0-1019",
43
- "@elementor/editor-canvas": "4.3.0-1019",
44
- "@elementor/editor-controls": "4.3.0-1019",
45
- "@elementor/editor-documents": "4.3.0-1019",
46
- "@elementor/editor-elements": "4.3.0-1019",
47
- "@elementor/editor-interactions": "4.3.0-1019",
48
- "@elementor/editor-notifications": "4.3.0-1019",
49
- "@elementor/editor-panels": "4.3.0-1019",
50
- "@elementor/editor-props": "4.3.0-1019",
51
- "@elementor/editor-responsive": "4.3.0-1019",
52
- "@elementor/editor-styles": "4.3.0-1019",
53
- "@elementor/editor-styles-repository": "4.3.0-1019",
54
- "@elementor/editor-ui": "4.3.0-1019",
55
- "@elementor/editor-v1-adapters": "4.3.0-1019",
56
- "@elementor/http-client": "4.3.0-1019",
42
+ "@elementor/editor": "4.3.0-1020",
43
+ "@elementor/editor-canvas": "4.3.0-1020",
44
+ "@elementor/editor-controls": "4.3.0-1020",
45
+ "@elementor/editor-documents": "4.3.0-1020",
46
+ "@elementor/editor-elements": "4.3.0-1020",
47
+ "@elementor/editor-interactions": "4.3.0-1020",
48
+ "@elementor/editor-notifications": "4.3.0-1020",
49
+ "@elementor/editor-panels": "4.3.0-1020",
50
+ "@elementor/editor-props": "4.3.0-1020",
51
+ "@elementor/editor-responsive": "4.3.0-1020",
52
+ "@elementor/editor-styles": "4.3.0-1020",
53
+ "@elementor/editor-styles-repository": "4.3.0-1020",
54
+ "@elementor/editor-ui": "4.3.0-1020",
55
+ "@elementor/editor-v1-adapters": "4.3.0-1020",
56
+ "@elementor/http-client": "4.3.0-1020",
57
57
  "@elementor/icons": "~1.75.1",
58
- "@elementor/editor-variables": "4.3.0-1019",
59
- "@elementor/locations": "4.3.0-1019",
60
- "@elementor/menus": "4.3.0-1019",
61
- "@elementor/query": "4.3.0-1019",
62
- "@elementor/schema": "4.3.0-1019",
63
- "@elementor/session": "4.3.0-1019",
58
+ "@elementor/editor-variables": "4.3.0-1020",
59
+ "@elementor/locations": "4.3.0-1020",
60
+ "@elementor/menus": "4.3.0-1020",
61
+ "@elementor/query": "4.3.0-1020",
62
+ "@elementor/schema": "4.3.0-1020",
63
+ "@elementor/session": "4.3.0-1020",
64
64
  "@elementor/ui": "1.37.5",
65
- "@elementor/utils": "4.3.0-1019",
66
- "@elementor/wp-media": "4.3.0-1019",
65
+ "@elementor/utils": "4.3.0-1020",
66
+ "@elementor/wp-media": "4.3.0-1020",
67
67
  "@wordpress/i18n": "^5.13.0"
68
68
  },
69
69
  "peerDependencies": {
@@ -1,7 +1,6 @@
1
1
  import { Fragment } from 'react';
2
2
  import * as React from 'react';
3
3
  import { getWidgetsCache } from '@elementor/editor-elements';
4
- import { isExperimentActive } from '@elementor/editor-v1-adapters';
5
4
  import { Divider, Stack, Tab, TabPanel, Tabs, useTabs } from '@elementor/ui';
6
5
  import { __ } from '@wordpress/i18n';
7
6
 
@@ -31,7 +30,6 @@ const PanelTabContent = () => {
31
30
  const { element } = useElement();
32
31
  const editorDefaults = useDefaultPanelSettings();
33
32
  const defaultComponentTab = editorDefaults.defaultTab as TabValue;
34
- const isInteractionsActive = isExperimentActive( 'e_interactions' );
35
33
  const isPromotedElement = !! getWidgetsCache()?.[ element.type ]?.meta?.is_pro_promotion;
36
34
 
37
35
  const [ storedTab, setCurrentTab ] = useStateByElement< TabValue >( 'tab', defaultComponentTab );
@@ -55,9 +53,7 @@ const PanelTabContent = () => {
55
53
  <Tab label={ __( 'General', 'elementor' ) } { ...getTabProps( 'settings' ) } />
56
54
  ) }
57
55
  <Tab label={ __( 'Style', 'elementor' ) } { ...getTabProps( 'style' ) } />
58
- { isInteractionsActive && (
59
- <Tab label={ __( 'Interactions', 'elementor' ) } { ...getTabProps( 'interactions' ) } />
60
- ) }
56
+ <Tab label={ __( 'Interactions', 'elementor' ) } { ...getTabProps( 'interactions' ) } />
61
57
  </Tabs>
62
58
  <Divider />
63
59
  </Stack>
@@ -69,11 +65,9 @@ const PanelTabContent = () => {
69
65
  <TabPanel { ...getTabPanelProps( 'style' ) } disablePadding>
70
66
  <StyleTab />
71
67
  </TabPanel>
72
- { isInteractionsActive && (
73
- <TabPanel { ...getTabPanelProps( 'interactions' ) } disablePadding>
74
- <InteractionsTab />
75
- </TabPanel>
76
- ) }
68
+ <TabPanel { ...getTabPanelProps( 'interactions' ) } disablePadding>
69
+ <InteractionsTab />
70
+ </TabPanel>
77
71
  </Stack>
78
72
  </ScrollProvider>
79
73
  );