@wordpress/edit-widgets 5.35.0 → 6.0.1
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/CHANGELOG.md +7 -0
- package/build/blocks/widget-area/edit/index.js +33 -30
- package/build/blocks/widget-area/edit/index.js.map +1 -1
- package/build/blocks/widget-area/edit/inner-blocks.js +6 -5
- package/build/blocks/widget-area/edit/inner-blocks.js.map +1 -1
- package/build/components/error-boundary/index.js +14 -12
- package/build/components/error-boundary/index.js.map +1 -1
- package/build/components/header/document-tools/index.js +36 -33
- package/build/components/header/document-tools/index.js.map +1 -1
- package/build/components/header/index.js +32 -22
- package/build/components/header/index.js.map +1 -1
- package/build/components/header/undo-redo/redo.js +2 -2
- package/build/components/header/undo-redo/redo.js.map +1 -1
- package/build/components/header/undo-redo/undo.js +2 -2
- package/build/components/header/undo-redo/undo.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +2 -2
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/index.js +53 -48
- package/build/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/shortcut.js +30 -26
- package/build/components/keyboard-shortcut-help-modal/shortcut.js.map +1 -1
- package/build/components/layout/index.js +11 -8
- package/build/components/layout/index.js.map +1 -1
- package/build/components/layout/interface.js +16 -13
- package/build/components/layout/interface.js.map +1 -1
- package/build/components/more-menu/index.js +81 -70
- package/build/components/more-menu/index.js.map +1 -1
- package/build/components/more-menu/tools-more-menu-group.js +5 -4
- package/build/components/more-menu/tools-more-menu-group.js.map +1 -1
- package/build/components/notices/index.js +15 -13
- package/build/components/notices/index.js.map +1 -1
- package/build/components/save-button/index.js +5 -4
- package/build/components/save-button/index.js.map +1 -1
- package/build/components/secondary-sidebar/index.js +3 -3
- package/build/components/secondary-sidebar/index.js.map +1 -1
- package/build/components/secondary-sidebar/inserter-sidebar.js +21 -18
- package/build/components/secondary-sidebar/inserter-sidebar.js.map +1 -1
- package/build/components/secondary-sidebar/list-view-sidebar.js +21 -15
- package/build/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
- package/build/components/sidebar/index.js +49 -37
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar/widget-areas.js +29 -22
- package/build/components/sidebar/widget-areas.js.map +1 -1
- package/build/components/welcome-guide/index.js +80 -53
- package/build/components/welcome-guide/index.js.map +1 -1
- package/build/components/widget-areas-block-editor-content/index.js +18 -11
- package/build/components/widget-areas-block-editor-content/index.js.map +1 -1
- package/build/components/widget-areas-block-editor-provider/index.js +14 -11
- package/build/components/widget-areas-block-editor-provider/index.js.map +1 -1
- package/build/filters/move-to-widget-area.js +14 -10
- package/build/filters/move-to-widget-area.js.map +1 -1
- package/build/index.js +3 -3
- package/build/index.js.map +1 -1
- package/build-module/blocks/widget-area/edit/index.js +32 -28
- package/build-module/blocks/widget-area/edit/index.js.map +1 -1
- package/build-module/blocks/widget-area/edit/inner-blocks.js +6 -5
- package/build-module/blocks/widget-area/edit/inner-blocks.js.map +1 -1
- package/build-module/components/error-boundary/index.js +14 -12
- package/build-module/components/error-boundary/index.js.map +1 -1
- package/build-module/components/header/document-tools/index.js +38 -33
- package/build-module/components/header/document-tools/index.js.map +1 -1
- package/build-module/components/header/index.js +34 -22
- package/build-module/components/header/index.js.map +1 -1
- package/build-module/components/header/undo-redo/redo.js +2 -2
- package/build-module/components/header/undo-redo/redo.js.map +1 -1
- package/build-module/components/header/undo-redo/undo.js +2 -2
- package/build-module/components/header/undo-redo/undo.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +2 -2
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/index.js +54 -48
- package/build-module/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.js +32 -26
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.js.map +1 -1
- package/build-module/components/layout/index.js +12 -8
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/layout/interface.js +17 -13
- package/build-module/components/layout/interface.js.map +1 -1
- package/build-module/components/more-menu/index.js +83 -70
- package/build-module/components/more-menu/index.js.map +1 -1
- package/build-module/components/more-menu/tools-more-menu-group.js +5 -4
- package/build-module/components/more-menu/tools-more-menu-group.js.map +1 -1
- package/build-module/components/notices/index.js +17 -13
- package/build-module/components/notices/index.js.map +1 -1
- package/build-module/components/save-button/index.js +5 -4
- package/build-module/components/save-button/index.js.map +1 -1
- package/build-module/components/secondary-sidebar/index.js +3 -3
- package/build-module/components/secondary-sidebar/index.js.map +1 -1
- package/build-module/components/secondary-sidebar/inserter-sidebar.js +22 -18
- package/build-module/components/secondary-sidebar/inserter-sidebar.js.map +1 -1
- package/build-module/components/secondary-sidebar/list-view-sidebar.js +22 -15
- package/build-module/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
- package/build-module/components/sidebar/index.js +50 -37
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar/widget-areas.js +30 -22
- package/build-module/components/sidebar/widget-areas.js.map +1 -1
- package/build-module/components/welcome-guide/index.js +82 -53
- package/build-module/components/welcome-guide/index.js.map +1 -1
- package/build-module/components/widget-areas-block-editor-content/index.js +19 -11
- package/build-module/components/widget-areas-block-editor-content/index.js.map +1 -1
- package/build-module/components/widget-areas-block-editor-provider/index.js +15 -11
- package/build-module/components/widget-areas-block-editor-provider/index.js.map +1 -1
- package/build-module/filters/move-to-widget-area.js +16 -10
- package/build-module/filters/move-to-widget-area.js.map +1 -1
- package/build-module/index.js +3 -3
- package/build-module/index.js.map +1 -1
- package/build-style/style-rtl.css +9 -8
- package/build-style/style.css +9 -8
- package/package.json +30 -29
- package/src/components/layout/style.scss +1 -1
- package/src/index.js +1 -1
|
@@ -351,36 +351,37 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
351
351
|
.interface-interface-skeleton__sidebar {
|
|
352
352
|
position: relative !important;
|
|
353
353
|
}
|
|
354
|
-
.is-sidebar-opened .interface-interface-skeleton__secondary-sidebar,
|
|
355
|
-
.is-sidebar-opened .interface-interface-skeleton__sidebar {
|
|
356
|
-
z-index: 90;
|
|
357
|
-
}
|
|
358
354
|
}
|
|
359
355
|
|
|
360
356
|
.interface-interface-skeleton__sidebar {
|
|
357
|
+
border-top: 1px solid #e0e0e0;
|
|
361
358
|
overflow: hidden;
|
|
362
359
|
}
|
|
363
360
|
@media (min-width: 782px) {
|
|
364
361
|
.interface-interface-skeleton__sidebar {
|
|
365
|
-
|
|
362
|
+
box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
363
|
+
outline: 1px solid transparent;
|
|
366
364
|
}
|
|
367
365
|
}
|
|
368
366
|
|
|
369
367
|
.interface-interface-skeleton__secondary-sidebar {
|
|
368
|
+
border-top: 1px solid #e0e0e0;
|
|
370
369
|
left: 0;
|
|
371
370
|
}
|
|
372
371
|
@media (min-width: 782px) {
|
|
373
372
|
.interface-interface-skeleton__secondary-sidebar {
|
|
374
|
-
|
|
373
|
+
box-shadow: -1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
374
|
+
outline: 1px solid transparent;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
.interface-interface-skeleton__header {
|
|
379
379
|
flex-shrink: 0;
|
|
380
380
|
height: auto;
|
|
381
|
-
|
|
381
|
+
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
382
382
|
z-index: 30;
|
|
383
383
|
color: #1e1e1e;
|
|
384
|
+
outline: 1px solid transparent;
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
.interface-interface-skeleton__footer {
|
|
@@ -793,7 +794,7 @@ body.is-fullscreen-mode .edit-widgets-notices__snackbar {
|
|
|
793
794
|
.edit-widgets-layout__inserter-panel-content {
|
|
794
795
|
height: calc(100% - 36px - 8px);
|
|
795
796
|
}
|
|
796
|
-
.edit-widgets-layout__inserter-panel-content .block-editor-
|
|
797
|
+
.edit-widgets-layout__inserter-panel-content .block-editor-inserter__tablist-and-close {
|
|
797
798
|
display: none;
|
|
798
799
|
}
|
|
799
800
|
@media (min-width: 782px) {
|
package/build-style/style.css
CHANGED
|
@@ -351,36 +351,37 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
351
351
|
.interface-interface-skeleton__sidebar {
|
|
352
352
|
position: relative !important;
|
|
353
353
|
}
|
|
354
|
-
.is-sidebar-opened .interface-interface-skeleton__secondary-sidebar,
|
|
355
|
-
.is-sidebar-opened .interface-interface-skeleton__sidebar {
|
|
356
|
-
z-index: 90;
|
|
357
|
-
}
|
|
358
354
|
}
|
|
359
355
|
|
|
360
356
|
.interface-interface-skeleton__sidebar {
|
|
357
|
+
border-top: 1px solid #e0e0e0;
|
|
361
358
|
overflow: hidden;
|
|
362
359
|
}
|
|
363
360
|
@media (min-width: 782px) {
|
|
364
361
|
.interface-interface-skeleton__sidebar {
|
|
365
|
-
|
|
362
|
+
box-shadow: -1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
363
|
+
outline: 1px solid transparent;
|
|
366
364
|
}
|
|
367
365
|
}
|
|
368
366
|
|
|
369
367
|
.interface-interface-skeleton__secondary-sidebar {
|
|
368
|
+
border-top: 1px solid #e0e0e0;
|
|
370
369
|
right: 0;
|
|
371
370
|
}
|
|
372
371
|
@media (min-width: 782px) {
|
|
373
372
|
.interface-interface-skeleton__secondary-sidebar {
|
|
374
|
-
|
|
373
|
+
box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
374
|
+
outline: 1px solid transparent;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
.interface-interface-skeleton__header {
|
|
379
379
|
flex-shrink: 0;
|
|
380
380
|
height: auto;
|
|
381
|
-
|
|
381
|
+
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
382
382
|
z-index: 30;
|
|
383
383
|
color: #1e1e1e;
|
|
384
|
+
outline: 1px solid transparent;
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
.interface-interface-skeleton__footer {
|
|
@@ -793,7 +794,7 @@ body.is-fullscreen-mode .edit-widgets-notices__snackbar {
|
|
|
793
794
|
.edit-widgets-layout__inserter-panel-content {
|
|
794
795
|
height: calc(100% - 36px - 8px);
|
|
795
796
|
}
|
|
796
|
-
.edit-widgets-layout__inserter-panel-content .block-editor-
|
|
797
|
+
.edit-widgets-layout__inserter-panel-content .block-editor-inserter__tablist-and-close {
|
|
797
798
|
display: none;
|
|
798
799
|
}
|
|
799
800
|
@media (min-width: 782px) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-widgets",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Widgets Page module for WordPress..",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -20,39 +20,40 @@
|
|
|
20
20
|
"url": "https://github.com/WordPress/gutenberg/issues"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=12"
|
|
23
|
+
"node": ">=18.12.0",
|
|
24
|
+
"npm": ">=8.19.2"
|
|
24
25
|
},
|
|
25
26
|
"main": "build/index.js",
|
|
26
27
|
"module": "build-module/index.js",
|
|
27
28
|
"react-native": "src/index",
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@babel/runtime": "^7.16.0",
|
|
30
|
-
"@wordpress/api-fetch": "^
|
|
31
|
-
"@wordpress/block-editor": "^
|
|
32
|
-
"@wordpress/block-library": "^
|
|
33
|
-
"@wordpress/blocks": "^
|
|
34
|
-
"@wordpress/components": "^
|
|
35
|
-
"@wordpress/compose": "^
|
|
36
|
-
"@wordpress/core-data": "^
|
|
37
|
-
"@wordpress/data": "^
|
|
38
|
-
"@wordpress/deprecated": "^
|
|
39
|
-
"@wordpress/dom": "^
|
|
40
|
-
"@wordpress/element": "^
|
|
41
|
-
"@wordpress/hooks": "^
|
|
42
|
-
"@wordpress/i18n": "^
|
|
43
|
-
"@wordpress/icons": "^
|
|
44
|
-
"@wordpress/interface": "^
|
|
45
|
-
"@wordpress/keyboard-shortcuts": "^
|
|
46
|
-
"@wordpress/keycodes": "^
|
|
47
|
-
"@wordpress/media-utils": "^
|
|
48
|
-
"@wordpress/notices": "^
|
|
49
|
-
"@wordpress/patterns": "^
|
|
50
|
-
"@wordpress/plugins": "^
|
|
51
|
-
"@wordpress/preferences": "^
|
|
52
|
-
"@wordpress/private-apis": "^0.
|
|
53
|
-
"@wordpress/reusable-blocks": "^
|
|
54
|
-
"@wordpress/url": "^
|
|
55
|
-
"@wordpress/widgets": "^
|
|
31
|
+
"@wordpress/api-fetch": "^7.0.1",
|
|
32
|
+
"@wordpress/block-editor": "^13.0.1",
|
|
33
|
+
"@wordpress/block-library": "^9.0.1",
|
|
34
|
+
"@wordpress/blocks": "^13.0.1",
|
|
35
|
+
"@wordpress/components": "^28.0.1",
|
|
36
|
+
"@wordpress/compose": "^7.0.1",
|
|
37
|
+
"@wordpress/core-data": "^7.0.1",
|
|
38
|
+
"@wordpress/data": "^10.0.1",
|
|
39
|
+
"@wordpress/deprecated": "^4.0.1",
|
|
40
|
+
"@wordpress/dom": "^4.0.1",
|
|
41
|
+
"@wordpress/element": "^6.0.1",
|
|
42
|
+
"@wordpress/hooks": "^4.0.1",
|
|
43
|
+
"@wordpress/i18n": "^5.0.1",
|
|
44
|
+
"@wordpress/icons": "^10.0.1",
|
|
45
|
+
"@wordpress/interface": "^6.0.1",
|
|
46
|
+
"@wordpress/keyboard-shortcuts": "^5.0.1",
|
|
47
|
+
"@wordpress/keycodes": "^4.0.1",
|
|
48
|
+
"@wordpress/media-utils": "^5.0.1",
|
|
49
|
+
"@wordpress/notices": "^5.0.1",
|
|
50
|
+
"@wordpress/patterns": "^2.0.1",
|
|
51
|
+
"@wordpress/plugins": "^7.0.1",
|
|
52
|
+
"@wordpress/preferences": "^4.0.1",
|
|
53
|
+
"@wordpress/private-apis": "^1.0.1",
|
|
54
|
+
"@wordpress/reusable-blocks": "^5.0.1",
|
|
55
|
+
"@wordpress/url": "^4.0.1",
|
|
56
|
+
"@wordpress/widgets": "^4.0.1",
|
|
56
57
|
"clsx": "^2.1.1"
|
|
57
58
|
},
|
|
58
59
|
"peerDependencies": {
|
|
@@ -62,5 +63,5 @@
|
|
|
62
63
|
"publishConfig": {
|
|
63
64
|
"access": "public"
|
|
64
65
|
},
|
|
65
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "0e973525f7787401b5a544e0727774d52a78639f"
|
|
66
67
|
}
|
package/src/index.js
CHANGED
|
@@ -73,7 +73,7 @@ export function initializeEditor( id, settings ) {
|
|
|
73
73
|
dispatch( blocksStore ).reapplyBlockTypeFilters();
|
|
74
74
|
registerCoreBlocks( coreBlocks );
|
|
75
75
|
registerLegacyWidgetBlock();
|
|
76
|
-
if (
|
|
76
|
+
if ( globalThis.IS_GUTENBERG_PLUGIN ) {
|
|
77
77
|
__experimentalRegisterExperimentalCoreBlocks( {
|
|
78
78
|
enableFSEBlocks: ENABLE_EXPERIMENTAL_FSE_BLOCKS,
|
|
79
79
|
} );
|