@wordpress/block-library 9.19.5 → 9.19.6
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/build/details/edit.js +28 -8
- package/build/details/edit.js.map +1 -1
- package/build/embed/variations.js +0 -10
- package/build/embed/variations.js.map +1 -1
- package/build/image/edit.js +0 -6
- package/build/image/edit.js.map +1 -1
- package/build/navigation-link/edit.js +27 -8
- package/build/navigation-link/edit.js.map +1 -1
- package/build/post-template/edit.js +5 -3
- package/build/post-template/edit.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +30 -19
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/query-content.js +1 -6
- package/build/query/edit/query-content.js.map +1 -1
- package/build-module/details/edit.js +30 -10
- package/build-module/details/edit.js.map +1 -1
- package/build-module/embed/variations.js +0 -10
- package/build-module/embed/variations.js.map +1 -1
- package/build-module/image/edit.js +0 -6
- package/build-module/image/edit.js.map +1 -1
- package/build-module/navigation-link/edit.js +28 -9
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/post-template/edit.js +5 -3
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +31 -20
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/query-content.js +1 -6
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-style/button/style-rtl.css +0 -1
- package/build-style/button/style.css +0 -1
- package/build-style/buttons/style-rtl.css +3 -0
- package/build-style/buttons/style.css +3 -0
- package/build-style/post-comments-form/style-rtl.css +0 -3
- package/build-style/post-comments-form/style.css +0 -3
- package/build-style/style-rtl.css +3 -4
- package/build-style/style.css +3 -4
- package/package.json +18 -18
- package/src/button/style.scss +0 -1
- package/src/buttons/style.scss +5 -0
- package/src/details/edit.js +38 -8
- package/src/embed/variations.js +0 -8
- package/src/image/edit.js +0 -4
- package/src/navigation-link/edit.js +45 -11
- package/src/post-comments-form/style.scss +0 -5
- package/src/post-template/edit.js +4 -3
- package/src/query/edit/inspector-controls/index.js +50 -34
- package/src/query/edit/query-content.js +2 -8
|
@@ -98,21 +98,15 @@ export default function QueryContent( {
|
|
|
98
98
|
} else if ( ! query.perPage && postsPerPage ) {
|
|
99
99
|
newQuery.perPage = postsPerPage;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
// are not inherited when in singular content (e.g. post, page, 404, blank).
|
|
103
|
-
if ( isSingular && query.inherit ) {
|
|
104
|
-
newQuery.inherit = false;
|
|
105
|
-
}
|
|
101
|
+
|
|
106
102
|
if ( !! Object.keys( newQuery ).length ) {
|
|
107
103
|
__unstableMarkNextChangeAsNotPersistent();
|
|
108
104
|
updateQuery( newQuery );
|
|
109
105
|
}
|
|
110
106
|
}, [
|
|
111
107
|
query.perPage,
|
|
112
|
-
query.inherit,
|
|
113
|
-
postsPerPage,
|
|
114
108
|
inherit,
|
|
115
|
-
|
|
109
|
+
postsPerPage,
|
|
116
110
|
__unstableMarkNextChangeAsNotPersistent,
|
|
117
111
|
updateQuery,
|
|
118
112
|
] );
|