@elementor/editor-editing-panel 4.2.0-940 → 4.2.0-942
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/components/style-sections/layout-section/layout-section.tsx +4 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-editing-panel",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-942",
|
|
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.2.0-
|
|
43
|
-
"@elementor/editor-canvas": "4.2.0-
|
|
44
|
-
"@elementor/editor-controls": "4.2.0-
|
|
45
|
-
"@elementor/editor-documents": "4.2.0-
|
|
46
|
-
"@elementor/editor-elements": "4.2.0-
|
|
47
|
-
"@elementor/editor-interactions": "4.2.0-
|
|
48
|
-
"@elementor/editor-notifications": "4.2.0-
|
|
49
|
-
"@elementor/editor-panels": "4.2.0-
|
|
50
|
-
"@elementor/editor-props": "4.2.0-
|
|
51
|
-
"@elementor/editor-responsive": "4.2.0-
|
|
52
|
-
"@elementor/editor-styles": "4.2.0-
|
|
53
|
-
"@elementor/editor-styles-repository": "4.2.0-
|
|
54
|
-
"@elementor/editor-ui": "4.2.0-
|
|
55
|
-
"@elementor/editor-v1-adapters": "4.2.0-
|
|
56
|
-
"@elementor/http-client": "4.2.0-
|
|
42
|
+
"@elementor/editor": "4.2.0-942",
|
|
43
|
+
"@elementor/editor-canvas": "4.2.0-942",
|
|
44
|
+
"@elementor/editor-controls": "4.2.0-942",
|
|
45
|
+
"@elementor/editor-documents": "4.2.0-942",
|
|
46
|
+
"@elementor/editor-elements": "4.2.0-942",
|
|
47
|
+
"@elementor/editor-interactions": "4.2.0-942",
|
|
48
|
+
"@elementor/editor-notifications": "4.2.0-942",
|
|
49
|
+
"@elementor/editor-panels": "4.2.0-942",
|
|
50
|
+
"@elementor/editor-props": "4.2.0-942",
|
|
51
|
+
"@elementor/editor-responsive": "4.2.0-942",
|
|
52
|
+
"@elementor/editor-styles": "4.2.0-942",
|
|
53
|
+
"@elementor/editor-styles-repository": "4.2.0-942",
|
|
54
|
+
"@elementor/editor-ui": "4.2.0-942",
|
|
55
|
+
"@elementor/editor-v1-adapters": "4.2.0-942",
|
|
56
|
+
"@elementor/http-client": "4.2.0-942",
|
|
57
57
|
"@elementor/icons": "~1.75.1",
|
|
58
|
-
"@elementor/editor-variables": "4.2.0-
|
|
59
|
-
"@elementor/locations": "4.2.0-
|
|
60
|
-
"@elementor/menus": "4.2.0-
|
|
61
|
-
"@elementor/query": "4.2.0-
|
|
62
|
-
"@elementor/schema": "4.2.0-
|
|
63
|
-
"@elementor/session": "4.2.0-
|
|
58
|
+
"@elementor/editor-variables": "4.2.0-942",
|
|
59
|
+
"@elementor/locations": "4.2.0-942",
|
|
60
|
+
"@elementor/menus": "4.2.0-942",
|
|
61
|
+
"@elementor/query": "4.2.0-942",
|
|
62
|
+
"@elementor/schema": "4.2.0-942",
|
|
63
|
+
"@elementor/session": "4.2.0-942",
|
|
64
64
|
"@elementor/ui": "1.37.5",
|
|
65
|
-
"@elementor/utils": "4.2.0-
|
|
66
|
-
"@elementor/wp-media": "4.2.0-
|
|
65
|
+
"@elementor/utils": "4.2.0-942",
|
|
66
|
+
"@elementor/wp-media": "4.2.0-942",
|
|
67
67
|
"@wordpress/i18n": "^5.13.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { ControlFormLabel } from '@elementor/editor-controls';
|
|
3
3
|
import { useParentElement } from '@elementor/editor-elements';
|
|
4
4
|
import { type StringPropValue } from '@elementor/editor-props';
|
|
5
|
+
import { createLocation } from '@elementor/locations';
|
|
5
6
|
import { __ } from '@wordpress/i18n';
|
|
6
7
|
|
|
7
8
|
import { useElement } from '../../../contexts/element-context';
|
|
@@ -32,6 +33,8 @@ const DISPLAY_LABEL = __( 'Display', 'elementor' );
|
|
|
32
33
|
const FLEX_WRAP_LABEL = __( 'Flex wrap', 'elementor' );
|
|
33
34
|
const DEFAULT_PARENT_FLOW_DIRECTION = 'row';
|
|
34
35
|
|
|
36
|
+
export const { Slot: GridFieldsSlot, inject: injectIntoGridFields } = createLocation();
|
|
37
|
+
|
|
35
38
|
export const LayoutSection = () => {
|
|
36
39
|
const { value: display } = useStylesField< StringPropValue >( 'display', {
|
|
37
40
|
history: { propDisplayName: DISPLAY_LABEL },
|
|
@@ -93,6 +96,7 @@ const GridFields = () => (
|
|
|
93
96
|
<GridOutlineField />
|
|
94
97
|
<GridSizeFields />
|
|
95
98
|
<GridAutoFlowField />
|
|
99
|
+
<GridFieldsSlot />
|
|
96
100
|
<StyleTabCollapsibleContent fields={ [ 'grid-auto-rows', 'grid-auto-columns' ] }>
|
|
97
101
|
<GridAutoTrackFields />
|
|
98
102
|
</StyleTabCollapsibleContent>
|
package/src/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { SettingsControl } from './components/settings-control';
|
|
|
10
10
|
export { SettingsField } from './controls-registry/settings-field';
|
|
11
11
|
export { StyleIndicator } from './components/style-indicator';
|
|
12
12
|
export { injectIntoStyleTab } from './components/style-tab';
|
|
13
|
+
export { injectIntoGridFields } from './components/style-sections/layout-section/layout-section';
|
|
13
14
|
export { StyleTabSection } from './components/style-tab-section';
|
|
14
15
|
export { useClassesProp } from './contexts/classes-prop-context';
|
|
15
16
|
export { ElementProvider, useElement } from './contexts/element-context';
|