@elementor/editor-editing-panel 4.2.0-898 → 4.2.0-900
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 +512 -503
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +439 -430
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/components/style-sections/layout-section/grid-outline-field.tsx +18 -0
- package/src/components/style-sections/layout-section/layout-section.tsx +2 -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-900",
|
|
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-900",
|
|
43
|
+
"@elementor/editor-canvas": "4.2.0-900",
|
|
44
|
+
"@elementor/editor-controls": "4.2.0-900",
|
|
45
|
+
"@elementor/editor-documents": "4.2.0-900",
|
|
46
|
+
"@elementor/editor-elements": "4.2.0-900",
|
|
47
|
+
"@elementor/editor-interactions": "4.2.0-900",
|
|
48
|
+
"@elementor/editor-notifications": "4.2.0-900",
|
|
49
|
+
"@elementor/editor-panels": "4.2.0-900",
|
|
50
|
+
"@elementor/editor-props": "4.2.0-900",
|
|
51
|
+
"@elementor/editor-responsive": "4.2.0-900",
|
|
52
|
+
"@elementor/editor-styles": "4.2.0-900",
|
|
53
|
+
"@elementor/editor-styles-repository": "4.2.0-900",
|
|
54
|
+
"@elementor/editor-ui": "4.2.0-900",
|
|
55
|
+
"@elementor/editor-v1-adapters": "4.2.0-900",
|
|
56
|
+
"@elementor/http-client": "4.2.0-900",
|
|
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-900",
|
|
59
|
+
"@elementor/locations": "4.2.0-900",
|
|
60
|
+
"@elementor/menus": "4.2.0-900",
|
|
61
|
+
"@elementor/query": "4.2.0-900",
|
|
62
|
+
"@elementor/schema": "4.2.0-900",
|
|
63
|
+
"@elementor/session": "4.2.0-900",
|
|
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-900",
|
|
66
|
+
"@elementor/wp-media": "4.2.0-900",
|
|
67
67
|
"@wordpress/i18n": "^5.13.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SwitchControl } from '@elementor/editor-controls';
|
|
3
|
+
import { __ } from '@wordpress/i18n';
|
|
4
|
+
|
|
5
|
+
import { SettingsField } from '../../../controls-registry/settings-field';
|
|
6
|
+
import { StylesFieldLayout } from '../../styles-field-layout';
|
|
7
|
+
|
|
8
|
+
const GRID_OUTLINE_LABEL = __( 'Show Grid Outline', 'elementor' );
|
|
9
|
+
|
|
10
|
+
export const GridOutlineField = () => {
|
|
11
|
+
return (
|
|
12
|
+
<SettingsField bind="grid_outline" propDisplayName={ GRID_OUTLINE_LABEL }>
|
|
13
|
+
<StylesFieldLayout label={ GRID_OUTLINE_LABEL }>
|
|
14
|
+
<SwitchControl />
|
|
15
|
+
</StylesFieldLayout>
|
|
16
|
+
</SettingsField>
|
|
17
|
+
);
|
|
18
|
+
};
|
|
@@ -21,6 +21,7 @@ import { FlexSizeField } from './flex-size-field';
|
|
|
21
21
|
import { GapControlField } from './gap-control-field';
|
|
22
22
|
import { GridAutoFlowField } from './grid-auto-flow-field';
|
|
23
23
|
import { GridJustifyItemsField } from './grid-justify-items-field';
|
|
24
|
+
import { GridOutlineField } from './grid-outline-field';
|
|
24
25
|
import { GridSizeFields } from './grid-size-field';
|
|
25
26
|
import { GridSpanFields } from './grid-span-field';
|
|
26
27
|
import { JustifyContentField } from './justify-content-field';
|
|
@@ -89,6 +90,7 @@ const FlexFields = () => {
|
|
|
89
90
|
|
|
90
91
|
const GridFields = () => (
|
|
91
92
|
<>
|
|
93
|
+
<GridOutlineField />
|
|
92
94
|
<GridSizeFields />
|
|
93
95
|
<GridAutoFlowField />
|
|
94
96
|
<PanelDivider />
|