@elementor/editor-editing-panel 3.33.0-113 → 3.33.0-115

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": "3.33.0-113",
3
+ "version": "3.33.0-115",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,26 +39,26 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "3.33.0-113",
43
- "@elementor/editor-canvas": "3.33.0-113",
44
- "@elementor/editor-controls": "3.33.0-113",
45
- "@elementor/editor-documents": "3.33.0-113",
46
- "@elementor/editor-elements": "3.33.0-113",
47
- "@elementor/editor-panels": "3.33.0-113",
48
- "@elementor/editor-props": "3.33.0-113",
49
- "@elementor/editor-responsive": "3.33.0-113",
50
- "@elementor/editor-styles": "3.33.0-113",
51
- "@elementor/editor-styles-repository": "3.33.0-113",
52
- "@elementor/editor-ui": "3.33.0-113",
53
- "@elementor/editor-v1-adapters": "3.33.0-113",
42
+ "@elementor/editor": "3.33.0-115",
43
+ "@elementor/editor-canvas": "3.33.0-115",
44
+ "@elementor/editor-controls": "3.33.0-115",
45
+ "@elementor/editor-documents": "3.33.0-115",
46
+ "@elementor/editor-elements": "3.33.0-115",
47
+ "@elementor/editor-panels": "3.33.0-115",
48
+ "@elementor/editor-props": "3.33.0-115",
49
+ "@elementor/editor-responsive": "3.33.0-115",
50
+ "@elementor/editor-styles": "3.33.0-115",
51
+ "@elementor/editor-styles-repository": "3.33.0-115",
52
+ "@elementor/editor-ui": "3.33.0-115",
53
+ "@elementor/editor-v1-adapters": "3.33.0-115",
54
54
  "@elementor/icons": "1.46.0",
55
- "@elementor/locations": "3.33.0-113",
56
- "@elementor/menus": "3.33.0-113",
57
- "@elementor/schema": "3.33.0-113",
58
- "@elementor/session": "3.33.0-113",
55
+ "@elementor/locations": "3.33.0-115",
56
+ "@elementor/menus": "3.33.0-115",
57
+ "@elementor/schema": "3.33.0-115",
58
+ "@elementor/session": "3.33.0-115",
59
59
  "@elementor/ui": "1.36.12",
60
- "@elementor/utils": "3.33.0-113",
61
- "@elementor/wp-media": "3.33.0-113",
60
+ "@elementor/utils": "3.33.0-115",
61
+ "@elementor/wp-media": "3.33.0-115",
62
62
  "@wordpress/i18n": "^5.13.0"
63
63
  },
64
64
  "peerDependencies": {
@@ -4,13 +4,13 @@ import { useDefaultPanelSettings } from '../hooks/use-default-panel-settings';
4
4
  import { Section } from './section';
5
5
  import { getStylesInheritanceIndicators } from './style-tab-collapsible-content';
6
6
 
7
- type Section = {
7
+ type SectionType = {
8
8
  component: () => React.JSX.Element;
9
9
  name: string;
10
10
  title: string;
11
11
  };
12
12
 
13
- type Props = { section: Section; fields?: string[]; unmountOnExit?: boolean };
13
+ type Props = { section: SectionType; fields?: string[]; unmountOnExit?: boolean };
14
14
 
15
15
  export const StyleTabSection = ( { section, fields = [], unmountOnExit = true }: Props ) => {
16
16
  const { component, name, title } = section;
@@ -4,6 +4,7 @@ import { CLASSES_PROP_KEY } from '@elementor/editor-props';
4
4
  import { useActiveBreakpoint } from '@elementor/editor-responsive';
5
5
  import { type StyleDefinitionID, type StyleDefinitionState } from '@elementor/editor-styles';
6
6
  import { EXPERIMENTAL_FEATURES, isExperimentActive } from '@elementor/editor-v1-adapters';
7
+ import { createLocation } from '@elementor/locations';
7
8
  import { SessionStorageProvider } from '@elementor/session';
8
9
  import { Box, Divider, Stack } from '@elementor/ui';
9
10
  import { __ } from '@wordpress/i18n';
@@ -29,6 +30,8 @@ import { StyleTabSection } from './style-tab-section';
29
30
 
30
31
  const TABS_HEADER_HEIGHT = '37px';
31
32
 
33
+ export const { Slot: StyleTabSlot, inject: injectIntoStyleTab } = createLocation();
34
+
32
35
  export const stickyHeaderStyles = {
33
36
  position: 'sticky',
34
37
  zIndex: 1100,
@@ -179,6 +182,7 @@ export const StyleTab = () => {
179
182
  unmountOnExit={ false }
180
183
  />
181
184
  ) }
185
+ <StyleTabSlot />
182
186
  </SectionsList>
183
187
  <Box sx={ { height: '150px' } } />
184
188
  </StyleInheritanceProvider>
package/src/index.ts CHANGED
@@ -16,3 +16,13 @@ export type { PopoverActionProps } from './popover-action';
16
16
  export { registerStyleProviderToColors } from './provider-colors-registry';
17
17
  export { stylesInheritanceTransformersRegistry } from './styles-inheritance/styles-inheritance-transformers-registry';
18
18
  export { controlsRegistry } from './controls-registry/controls-registry';
19
+ export { StyleTabSection } from './components/style-tab-section';
20
+ export { injectIntoStyleTab } from './components/style-tab';
21
+ export { StyleIndicator } from './components/style-indicator';
22
+ export { useClassesProp } from './contexts/classes-prop-context';
23
+ export { useElement } from './contexts/element-context';
24
+ export { useStyle } from './contexts/style-context';
25
+ export { StylesProviderCannotUpdatePropsError } from './errors';
26
+ export { useStylesRerender } from './hooks/use-styles-rerender';
27
+ export { getSubtitle, getTitle, HISTORY_DEBOUNCE_WAIT } from './hooks/use-styles-fields';
28
+ export { CustomCssIndicator } from './components/custom-css-indicator';