@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/dist/index.d.mts +115 -31
- package/dist/index.d.ts +115 -31
- package/dist/index.js +29 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/components/style-tab-section.tsx +2 -2
- package/src/components/style-tab.tsx +4 -0
- package/src/index.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-editing-panel",
|
|
3
|
-
"version": "3.33.0-
|
|
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-
|
|
43
|
-
"@elementor/editor-canvas": "3.33.0-
|
|
44
|
-
"@elementor/editor-controls": "3.33.0-
|
|
45
|
-
"@elementor/editor-documents": "3.33.0-
|
|
46
|
-
"@elementor/editor-elements": "3.33.0-
|
|
47
|
-
"@elementor/editor-panels": "3.33.0-
|
|
48
|
-
"@elementor/editor-props": "3.33.0-
|
|
49
|
-
"@elementor/editor-responsive": "3.33.0-
|
|
50
|
-
"@elementor/editor-styles": "3.33.0-
|
|
51
|
-
"@elementor/editor-styles-repository": "3.33.0-
|
|
52
|
-
"@elementor/editor-ui": "3.33.0-
|
|
53
|
-
"@elementor/editor-v1-adapters": "3.33.0-
|
|
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-
|
|
56
|
-
"@elementor/menus": "3.33.0-
|
|
57
|
-
"@elementor/schema": "3.33.0-
|
|
58
|
-
"@elementor/session": "3.33.0-
|
|
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-
|
|
61
|
-
"@elementor/wp-media": "3.33.0-
|
|
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
|
|
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:
|
|
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';
|