@wordpress/block-library 8.33.0 → 8.34.0
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 +2 -0
- package/build/block/edit.js +15 -8
- package/build/block/edit.js.map +1 -1
- package/build/block-keyboard-shortcuts/index.js +95 -0
- package/build/block-keyboard-shortcuts/index.js.map +1 -0
- package/build/column/edit.js +28 -19
- package/build/column/edit.js.map +1 -1
- package/build/column/edit.native.js +3 -1
- package/build/column/edit.native.js.map +1 -1
- package/build/columns/edit.js +69 -53
- package/build/columns/edit.js.map +1 -1
- package/build/columns/variations.js +18 -28
- package/build/columns/variations.js.map +1 -1
- package/build/comment-template/util.js +3 -1
- package/build/comment-template/util.js.map +1 -1
- package/build/cover/shared.js +3 -1
- package/build/cover/shared.js.map +1 -1
- package/build/embed/embed-placeholder.js +8 -3
- package/build/embed/embed-placeholder.js.map +1 -1
- package/build/embed/util.js +3 -1
- package/build/embed/util.js.map +1 -1
- package/build/embed/variations.js +3 -1
- package/build/embed/variations.js.map +1 -1
- package/build/embed/wp-embed-preview.js +6 -2
- package/build/embed/wp-embed-preview.js.map +1 -1
- package/build/group/index.js +0 -8
- package/build/group/index.js.map +1 -1
- package/build/group/placeholder.js +18 -19
- package/build/group/placeholder.js.map +1 -1
- package/build/image/image.js +3 -1
- package/build/image/image.js.map +1 -1
- package/build/image/view.js +3 -1
- package/build/image/view.js.map +1 -1
- package/build/index.js +9 -1
- package/build/index.js.map +1 -1
- package/build/list-item/hooks/use-merge.js +12 -4
- package/build/list-item/hooks/use-merge.js.map +1 -1
- package/build/list-item/hooks/use-outdent-list-item.js +15 -5
- package/build/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build/navigation/edit/are-blocks-dirty.js +9 -3
- package/build/navigation/edit/are-blocks-dirty.js.map +1 -1
- package/build/navigation/edit/deleted-navigation-warning.js +1 -1
- package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build/navigation/edit/menu-inspector-controls.js +3 -1
- package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +1 -1
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/index.js +0 -9
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/view.js +3 -1
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-link/edit.js +94 -85
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/link-ui.js +2 -7
- package/build/navigation-link/link-ui.js.map +1 -1
- package/build/paragraph/index.js +0 -1
- package/build/paragraph/index.js.map +1 -1
- package/build/paragraph/transforms.js +0 -1
- package/build/paragraph/transforms.js.map +1 -1
- package/build/post-excerpt/edit.js +3 -1
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +3 -1
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-navigation-link/variations.js +3 -1
- package/build/post-navigation-link/variations.js.map +1 -1
- package/build/post-template/edit.js +18 -8
- package/build/post-template/edit.js.map +1 -1
- package/build/post-terms/edit.js +3 -1
- package/build/post-terms/edit.js.map +1 -1
- package/build/private-apis.js +21 -0
- package/build/private-apis.js.map +1 -0
- package/build/query/edit/enhanced-pagination-modal.js +1 -1
- package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build/query/edit/inspector-controls/author-control.js +6 -2
- package/build/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build/query/edit/inspector-controls/create-new-post-link.js +3 -1
- package/build/query/edit/inspector-controls/create-new-post-link.js.map +1 -1
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js +6 -3
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build/query/edit/inspector-controls/parent-control.js +18 -6
- package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js +9 -3
- package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build/query/utils.js +3 -1
- package/build/query/utils.js.map +1 -1
- package/build/query-title/variations.js +3 -1
- package/build/query-title/variations.js.map +1 -1
- package/build/social-link/edit.js +1 -1
- package/build/social-link/edit.js.map +1 -1
- package/build/social-link/variations.js +3 -1
- package/build/social-link/variations.js.map +1 -1
- package/build/template-part/variations.js +6 -2
- package/build/template-part/variations.js.map +1 -1
- package/build-module/block/edit.js +15 -8
- package/build-module/block/edit.js.map +1 -1
- package/build-module/block-keyboard-shortcuts/index.js +88 -0
- package/build-module/block-keyboard-shortcuts/index.js.map +1 -0
- package/build-module/column/edit.js +28 -19
- package/build-module/column/edit.js.map +1 -1
- package/build-module/column/edit.native.js +3 -1
- package/build-module/column/edit.native.js.map +1 -1
- package/build-module/columns/edit.js +69 -53
- package/build-module/columns/edit.js.map +1 -1
- package/build-module/columns/variations.js +18 -28
- package/build-module/columns/variations.js.map +1 -1
- package/build-module/comment-template/util.js +3 -1
- package/build-module/comment-template/util.js.map +1 -1
- package/build-module/cover/shared.js +3 -1
- package/build-module/cover/shared.js.map +1 -1
- package/build-module/embed/embed-placeholder.js +9 -4
- package/build-module/embed/embed-placeholder.js.map +1 -1
- package/build-module/embed/util.js +3 -1
- package/build-module/embed/util.js.map +1 -1
- package/build-module/embed/variations.js +3 -1
- package/build-module/embed/variations.js.map +1 -1
- package/build-module/embed/wp-embed-preview.js +6 -2
- package/build-module/embed/wp-embed-preview.js.map +1 -1
- package/build-module/group/index.js +0 -8
- package/build-module/group/index.js.map +1 -1
- package/build-module/group/placeholder.js +18 -19
- package/build-module/group/placeholder.js.map +1 -1
- package/build-module/image/image.js +3 -1
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/view.js +3 -1
- package/build-module/image/view.js.map +1 -1
- package/build-module/index.js +1 -0
- package/build-module/index.js.map +1 -1
- package/build-module/list-item/hooks/use-merge.js +12 -4
- package/build-module/list-item/hooks/use-merge.js.map +1 -1
- package/build-module/list-item/hooks/use-outdent-list-item.js +15 -5
- package/build-module/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build-module/navigation/edit/are-blocks-dirty.js +9 -3
- package/build-module/navigation/edit/are-blocks-dirty.js.map +1 -1
- package/build-module/navigation/edit/deleted-navigation-warning.js +1 -1
- package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build-module/navigation/edit/menu-inspector-controls.js +3 -1
- package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/index.js +0 -9
- package/build-module/navigation/index.js.map +1 -1
- package/build-module/navigation/view.js +3 -1
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-link/edit.js +94 -85
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/link-ui.js +3 -8
- package/build-module/navigation-link/link-ui.js.map +1 -1
- package/build-module/paragraph/index.js +0 -1
- package/build-module/paragraph/index.js.map +1 -1
- package/build-module/paragraph/transforms.js +0 -1
- package/build-module/paragraph/transforms.js.map +1 -1
- package/build-module/post-excerpt/edit.js +3 -1
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +3 -1
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-navigation-link/variations.js +3 -1
- package/build-module/post-navigation-link/variations.js.map +1 -1
- package/build-module/post-template/edit.js +18 -8
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/post-terms/edit.js +3 -1
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/private-apis.js +14 -0
- package/build-module/private-apis.js.map +1 -0
- package/build-module/query/edit/enhanced-pagination-modal.js +1 -1
- package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build-module/query/edit/inspector-controls/author-control.js +6 -2
- package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/create-new-post-link.js +3 -1
- package/build-module/query/edit/inspector-controls/create-new-post-link.js.map +1 -1
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +6 -3
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/parent-control.js +18 -6
- package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js +9 -3
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build-module/query/utils.js +3 -1
- package/build-module/query/utils.js.map +1 -1
- package/build-module/query-title/variations.js +3 -1
- package/build-module/query-title/variations.js.map +1 -1
- package/build-module/social-link/edit.js +1 -1
- package/build-module/social-link/edit.js.map +1 -1
- package/build-module/social-link/variations.js +3 -1
- package/build-module/social-link/variations.js.map +1 -1
- package/build-module/template-part/variations.js +6 -2
- package/build-module/template-part/variations.js.map +1 -1
- package/build-style/editor-rtl.css +15 -49
- package/build-style/editor.css +15 -49
- package/build-style/embed/editor-rtl.css +0 -3
- package/build-style/embed/editor.css +0 -3
- package/build-style/group/editor-rtl.css +0 -44
- package/build-style/group/editor.css +0 -44
- package/build-style/group/style-rtl.css +4 -0
- package/build-style/group/style.css +4 -0
- package/build-style/navigation-link/style-rtl.css +0 -8
- package/build-style/navigation-link/style.css +0 -8
- package/build-style/post-featured-image/editor-rtl.css +1 -0
- package/build-style/post-featured-image/editor.css +1 -0
- package/build-style/site-logo/editor-rtl.css +1 -0
- package/build-style/site-logo/editor.css +1 -0
- package/build-style/social-link/editor-rtl.css +13 -2
- package/build-style/social-link/editor.css +13 -2
- package/build-style/style-rtl.css +4 -8
- package/build-style/style.css +4 -8
- package/package.json +35 -34
- package/src/block/edit.js +19 -12
- package/src/block-keyboard-shortcuts/index.js +113 -0
- package/src/column/edit.js +26 -20
- package/src/column/edit.native.js +3 -1
- package/src/columns/edit.js +93 -83
- package/src/columns/variations.js +12 -34
- package/src/comment-template/util.js +3 -1
- package/src/cover/shared.js +3 -1
- package/src/embed/editor.scss +0 -2
- package/src/embed/embed-placeholder.js +21 -9
- package/src/embed/util.js +3 -1
- package/src/embed/variations.js +3 -1
- package/src/embed/wp-embed-preview.js +6 -2
- package/src/gallery/test/helpers.native.js +3 -3
- package/src/group/editor.scss +0 -47
- package/src/group/index.js +0 -8
- package/src/group/placeholder.js +18 -18
- package/src/group/style.scss +5 -0
- package/src/image/image.js +3 -1
- package/src/image/view.js +3 -1
- package/src/index.js +2 -0
- package/src/list-item/hooks/use-merge.js +12 -4
- package/src/list-item/hooks/use-outdent-list-item.js +15 -5
- package/src/navigation/block.json +0 -9
- package/src/navigation/edit/are-blocks-dirty.js +8 -3
- package/src/navigation/edit/deleted-navigation-warning.js +1 -1
- package/src/navigation/edit/menu-inspector-controls.js +3 -1
- package/src/navigation/edit/navigation-menu-selector.js +1 -1
- package/src/navigation/edit/test/navigation-menu-selector.js +5 -5
- package/src/navigation/view.js +3 -1
- package/src/navigation-link/edit.js +91 -91
- package/src/navigation-link/link-ui.js +74 -89
- package/src/navigation-link/style.scss +0 -12
- package/src/paragraph/block.json +0 -1
- package/src/post-excerpt/edit.js +3 -1
- package/src/post-featured-image/dimension-controls.js +3 -1
- package/src/post-featured-image/editor.scss +1 -0
- package/src/post-navigation-link/variations.js +3 -1
- package/src/post-template/edit.js +9 -4
- package/src/post-terms/edit.js +3 -1
- package/src/private-apis.js +13 -0
- package/src/query/edit/enhanced-pagination-modal.js +5 -1
- package/src/query/edit/inspector-controls/author-control.js +6 -2
- package/src/query/edit/inspector-controls/create-new-post-link.js +3 -1
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +13 -3
- package/src/query/edit/inspector-controls/parent-control.js +18 -6
- package/src/query/edit/inspector-controls/taxonomy-controls.js +9 -3
- package/src/query/index.php +1 -1
- package/src/query/utils.js +3 -1
- package/src/query-title/variations.js +3 -1
- package/src/site-logo/editor.scss +1 -0
- package/src/social-link/edit.js +2 -2
- package/src/social-link/editor.scss +25 -11
- package/src/social-link/variations.js +3 -1
- package/src/template-part/variations.js +6 -2
|
@@ -562,9 +562,6 @@ html :where(.wp-block-column) {
|
|
|
562
562
|
word-break: break-word;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
.wp-block-embed__learn-more {
|
|
566
|
-
margin-top: 1em;
|
|
567
|
-
}
|
|
568
565
|
.wp-block-post-content .wp-block-embed__learn-more a {
|
|
569
566
|
color: var(--wp-admin-theme-color);
|
|
570
567
|
}
|
|
@@ -1248,50 +1245,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1248
1245
|
pointer-events: all;
|
|
1249
1246
|
}
|
|
1250
1247
|
|
|
1251
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
1252
|
-
list-style: none;
|
|
1253
|
-
display: flex;
|
|
1254
|
-
justify-content: center;
|
|
1255
|
-
flex-direction: row;
|
|
1256
|
-
flex-wrap: wrap;
|
|
1257
|
-
width: 100%;
|
|
1258
|
-
padding: 0;
|
|
1259
|
-
margin: 0;
|
|
1260
|
-
}
|
|
1261
|
-
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
1262
|
-
margin-bottom: 18px;
|
|
1263
|
-
}
|
|
1264
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
1265
|
-
fill: #ccc !important;
|
|
1266
|
-
}
|
|
1267
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
1268
|
-
fill: var(--wp-admin-theme-color) !important;
|
|
1269
|
-
}
|
|
1270
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
1271
|
-
margin: 0 12px 12px 12px;
|
|
1272
|
-
width: auto;
|
|
1273
|
-
display: flex;
|
|
1274
|
-
flex-direction: column;
|
|
1275
|
-
align-items: center;
|
|
1276
|
-
}
|
|
1277
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
1278
|
-
width: 44px;
|
|
1279
|
-
height: 32px;
|
|
1280
|
-
padding: 0;
|
|
1281
|
-
}
|
|
1282
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
1283
|
-
box-shadow: none;
|
|
1284
|
-
}
|
|
1285
|
-
.wp-block-group__placeholder .components-placeholder {
|
|
1286
|
-
min-height: auto;
|
|
1287
|
-
padding: 24px;
|
|
1288
|
-
align-items: center;
|
|
1289
|
-
}
|
|
1290
|
-
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
1291
|
-
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
1292
|
-
margin: 12px;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
1248
|
.block-library-html__edit .block-library-html__preview-overlay {
|
|
1296
1249
|
position: absolute;
|
|
1297
1250
|
width: 100%;
|
|
@@ -2472,6 +2425,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2472
2425
|
}
|
|
2473
2426
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button {
|
|
2474
2427
|
padding: 0;
|
|
2428
|
+
margin: auto;
|
|
2475
2429
|
display: flex;
|
|
2476
2430
|
justify-content: center;
|
|
2477
2431
|
align-items: center;
|
|
@@ -2552,14 +2506,25 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2552
2506
|
.wp-block-social-links .wp-social-link {
|
|
2553
2507
|
line-height: 0;
|
|
2554
2508
|
}
|
|
2555
|
-
|
|
2509
|
+
|
|
2510
|
+
.wp-block-social-link-anchor {
|
|
2511
|
+
align-items: center;
|
|
2512
|
+
background: none;
|
|
2513
|
+
border: 0;
|
|
2514
|
+
box-sizing: border-box;
|
|
2515
|
+
cursor: pointer;
|
|
2516
|
+
display: inline-flex;
|
|
2556
2517
|
font-size: inherit;
|
|
2557
2518
|
color: currentColor;
|
|
2558
2519
|
height: auto;
|
|
2559
|
-
line-height: 0;
|
|
2560
2520
|
opacity: 1;
|
|
2561
2521
|
padding: 0.25em;
|
|
2562
2522
|
}
|
|
2523
|
+
.wp-block-social-link-anchor:focus:not(:disabled) {
|
|
2524
|
+
border-radius: 2px;
|
|
2525
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2526
|
+
outline: 3px solid transparent;
|
|
2527
|
+
}
|
|
2563
2528
|
|
|
2564
2529
|
.wp-block-social-links.is-style-pill-shape .wp-social-link button {
|
|
2565
2530
|
padding-right: calc((2/3) * 1em);
|
|
@@ -3001,6 +2966,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
3001
2966
|
}
|
|
3002
2967
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
3003
2968
|
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
2969
|
+
margin: auto;
|
|
3004
2970
|
padding: 0;
|
|
3005
2971
|
display: flex;
|
|
3006
2972
|
justify-content: center;
|
package/build-style/editor.css
CHANGED
|
@@ -566,9 +566,6 @@ html :where(.wp-block-column) {
|
|
|
566
566
|
word-break: break-word;
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
.wp-block-embed__learn-more {
|
|
570
|
-
margin-top: 1em;
|
|
571
|
-
}
|
|
572
569
|
.wp-block-post-content .wp-block-embed__learn-more a {
|
|
573
570
|
color: var(--wp-admin-theme-color);
|
|
574
571
|
}
|
|
@@ -1256,50 +1253,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1256
1253
|
pointer-events: all;
|
|
1257
1254
|
}
|
|
1258
1255
|
|
|
1259
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
1260
|
-
list-style: none;
|
|
1261
|
-
display: flex;
|
|
1262
|
-
justify-content: center;
|
|
1263
|
-
flex-direction: row;
|
|
1264
|
-
flex-wrap: wrap;
|
|
1265
|
-
width: 100%;
|
|
1266
|
-
padding: 0;
|
|
1267
|
-
margin: 0;
|
|
1268
|
-
}
|
|
1269
|
-
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
1270
|
-
margin-bottom: 18px;
|
|
1271
|
-
}
|
|
1272
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
1273
|
-
fill: #ccc !important;
|
|
1274
|
-
}
|
|
1275
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
1276
|
-
fill: var(--wp-admin-theme-color) !important;
|
|
1277
|
-
}
|
|
1278
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
1279
|
-
margin: 0 12px 12px 12px;
|
|
1280
|
-
width: auto;
|
|
1281
|
-
display: flex;
|
|
1282
|
-
flex-direction: column;
|
|
1283
|
-
align-items: center;
|
|
1284
|
-
}
|
|
1285
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
1286
|
-
width: 44px;
|
|
1287
|
-
height: 32px;
|
|
1288
|
-
padding: 0;
|
|
1289
|
-
}
|
|
1290
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
1291
|
-
box-shadow: none;
|
|
1292
|
-
}
|
|
1293
|
-
.wp-block-group__placeholder .components-placeholder {
|
|
1294
|
-
min-height: auto;
|
|
1295
|
-
padding: 24px;
|
|
1296
|
-
align-items: center;
|
|
1297
|
-
}
|
|
1298
|
-
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
1299
|
-
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
1300
|
-
margin: 12px;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
1256
|
.block-library-html__edit .block-library-html__preview-overlay {
|
|
1304
1257
|
position: absolute;
|
|
1305
1258
|
width: 100%;
|
|
@@ -2480,6 +2433,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2480
2433
|
}
|
|
2481
2434
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button {
|
|
2482
2435
|
padding: 0;
|
|
2436
|
+
margin: auto;
|
|
2483
2437
|
display: flex;
|
|
2484
2438
|
justify-content: center;
|
|
2485
2439
|
align-items: center;
|
|
@@ -2560,14 +2514,25 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2560
2514
|
.wp-block-social-links .wp-social-link {
|
|
2561
2515
|
line-height: 0;
|
|
2562
2516
|
}
|
|
2563
|
-
|
|
2517
|
+
|
|
2518
|
+
.wp-block-social-link-anchor {
|
|
2519
|
+
align-items: center;
|
|
2520
|
+
background: none;
|
|
2521
|
+
border: 0;
|
|
2522
|
+
box-sizing: border-box;
|
|
2523
|
+
cursor: pointer;
|
|
2524
|
+
display: inline-flex;
|
|
2564
2525
|
font-size: inherit;
|
|
2565
2526
|
color: currentColor;
|
|
2566
2527
|
height: auto;
|
|
2567
|
-
line-height: 0;
|
|
2568
2528
|
opacity: 1;
|
|
2569
2529
|
padding: 0.25em;
|
|
2570
2530
|
}
|
|
2531
|
+
.wp-block-social-link-anchor:focus:not(:disabled) {
|
|
2532
|
+
border-radius: 2px;
|
|
2533
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2534
|
+
outline: 3px solid transparent;
|
|
2535
|
+
}
|
|
2571
2536
|
|
|
2572
2537
|
.wp-block-social-links.is-style-pill-shape .wp-social-link button {
|
|
2573
2538
|
padding-left: calc((2/3) * 1em);
|
|
@@ -3012,6 +2977,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
3012
2977
|
}
|
|
3013
2978
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
3014
2979
|
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
2980
|
+
margin: auto;
|
|
3015
2981
|
padding: 0;
|
|
3016
2982
|
display: flex;
|
|
3017
2983
|
justify-content: center;
|
|
@@ -137,48 +137,4 @@
|
|
|
137
137
|
}
|
|
138
138
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
139
139
|
pointer-events: all;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
143
|
-
list-style: none;
|
|
144
|
-
display: flex;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
flex-direction: row;
|
|
147
|
-
flex-wrap: wrap;
|
|
148
|
-
width: 100%;
|
|
149
|
-
padding: 0;
|
|
150
|
-
margin: 0;
|
|
151
|
-
}
|
|
152
|
-
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
153
|
-
margin-bottom: 18px;
|
|
154
|
-
}
|
|
155
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
156
|
-
fill: #ccc !important;
|
|
157
|
-
}
|
|
158
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
159
|
-
fill: var(--wp-admin-theme-color) !important;
|
|
160
|
-
}
|
|
161
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
162
|
-
margin: 0 12px 12px 12px;
|
|
163
|
-
width: auto;
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: column;
|
|
166
|
-
align-items: center;
|
|
167
|
-
}
|
|
168
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
169
|
-
width: 44px;
|
|
170
|
-
height: 32px;
|
|
171
|
-
padding: 0;
|
|
172
|
-
}
|
|
173
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
174
|
-
box-shadow: none;
|
|
175
|
-
}
|
|
176
|
-
.wp-block-group__placeholder .components-placeholder {
|
|
177
|
-
min-height: auto;
|
|
178
|
-
padding: 24px;
|
|
179
|
-
align-items: center;
|
|
180
|
-
}
|
|
181
|
-
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
182
|
-
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
183
|
-
margin: 12px;
|
|
184
140
|
}
|
|
@@ -137,48 +137,4 @@
|
|
|
137
137
|
}
|
|
138
138
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
139
139
|
pointer-events: all;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
143
|
-
list-style: none;
|
|
144
|
-
display: flex;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
flex-direction: row;
|
|
147
|
-
flex-wrap: wrap;
|
|
148
|
-
width: 100%;
|
|
149
|
-
padding: 0;
|
|
150
|
-
margin: 0;
|
|
151
|
-
}
|
|
152
|
-
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
153
|
-
margin-bottom: 18px;
|
|
154
|
-
}
|
|
155
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
156
|
-
fill: #ccc !important;
|
|
157
|
-
}
|
|
158
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
159
|
-
fill: var(--wp-admin-theme-color) !important;
|
|
160
|
-
}
|
|
161
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
162
|
-
margin: 0 12px 12px 12px;
|
|
163
|
-
width: auto;
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: column;
|
|
166
|
-
align-items: center;
|
|
167
|
-
}
|
|
168
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
169
|
-
width: 44px;
|
|
170
|
-
height: 32px;
|
|
171
|
-
padding: 0;
|
|
172
|
-
}
|
|
173
|
-
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
174
|
-
box-shadow: none;
|
|
175
|
-
}
|
|
176
|
-
.wp-block-group__placeholder .components-placeholder {
|
|
177
|
-
min-height: auto;
|
|
178
|
-
padding: 24px;
|
|
179
|
-
align-items: center;
|
|
180
|
-
}
|
|
181
|
-
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
182
|
-
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
183
|
-
margin: 12px;
|
|
184
140
|
}
|
|
@@ -105,12 +105,4 @@
|
|
|
105
105
|
.link-ui-block-inserter__back {
|
|
106
106
|
margin-right: 8px;
|
|
107
107
|
text-transform: uppercase;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.components-popover-pointer-events-trap {
|
|
111
|
-
z-index: 1000000;
|
|
112
|
-
position: fixed;
|
|
113
|
-
inset: 0;
|
|
114
|
-
background-color: transparent;
|
|
115
|
-
cursor: pointer;
|
|
116
108
|
}
|
|
@@ -105,12 +105,4 @@
|
|
|
105
105
|
.link-ui-block-inserter__back {
|
|
106
106
|
margin-left: 8px;
|
|
107
107
|
text-transform: uppercase;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.components-popover-pointer-events-trap {
|
|
111
|
-
z-index: 1000000;
|
|
112
|
-
position: fixed;
|
|
113
|
-
inset: 0;
|
|
114
|
-
background-color: transparent;
|
|
115
|
-
cursor: pointer;
|
|
116
108
|
}
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
107
107
|
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
108
|
+
margin: auto;
|
|
108
109
|
padding: 0;
|
|
109
110
|
display: flex;
|
|
110
111
|
justify-content: center;
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
107
107
|
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
108
|
+
margin: auto;
|
|
108
109
|
padding: 0;
|
|
109
110
|
display: flex;
|
|
110
111
|
justify-content: center;
|
|
@@ -89,14 +89,25 @@
|
|
|
89
89
|
.wp-block-social-links .wp-social-link {
|
|
90
90
|
line-height: 0;
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
|
|
93
|
+
.wp-block-social-link-anchor {
|
|
94
|
+
align-items: center;
|
|
95
|
+
background: none;
|
|
96
|
+
border: 0;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
display: inline-flex;
|
|
93
100
|
font-size: inherit;
|
|
94
101
|
color: currentColor;
|
|
95
102
|
height: auto;
|
|
96
|
-
line-height: 0;
|
|
97
103
|
opacity: 1;
|
|
98
104
|
padding: 0.25em;
|
|
99
105
|
}
|
|
106
|
+
.wp-block-social-link-anchor:focus:not(:disabled) {
|
|
107
|
+
border-radius: 2px;
|
|
108
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
109
|
+
outline: 3px solid transparent;
|
|
110
|
+
}
|
|
100
111
|
|
|
101
112
|
.wp-block-social-links.is-style-pill-shape .wp-social-link button {
|
|
102
113
|
padding-right: calc((2/3) * 1em);
|
|
@@ -89,14 +89,25 @@
|
|
|
89
89
|
.wp-block-social-links .wp-social-link {
|
|
90
90
|
line-height: 0;
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
|
|
93
|
+
.wp-block-social-link-anchor {
|
|
94
|
+
align-items: center;
|
|
95
|
+
background: none;
|
|
96
|
+
border: 0;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
display: inline-flex;
|
|
93
100
|
font-size: inherit;
|
|
94
101
|
color: currentColor;
|
|
95
102
|
height: auto;
|
|
96
|
-
line-height: 0;
|
|
97
103
|
opacity: 1;
|
|
98
104
|
padding: 0.25em;
|
|
99
105
|
}
|
|
106
|
+
.wp-block-social-link-anchor:focus:not(:disabled) {
|
|
107
|
+
border-radius: 2px;
|
|
108
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
109
|
+
outline: 3px solid transparent;
|
|
110
|
+
}
|
|
100
111
|
|
|
101
112
|
.wp-block-social-links.is-style-pill-shape .wp-social-link button {
|
|
102
113
|
padding-left: calc((2/3) * 1em);
|
|
@@ -1550,6 +1550,10 @@ figure.wp-block-gallery.has-nested-images {
|
|
|
1550
1550
|
box-sizing: border-box;
|
|
1551
1551
|
}
|
|
1552
1552
|
|
|
1553
|
+
:where(.wp-block-group.wp-block-group-is-layout-constrained) {
|
|
1554
|
+
position: relative;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1553
1557
|
h1.has-background,
|
|
1554
1558
|
h2.has-background,
|
|
1555
1559
|
h3.has-background,
|
|
@@ -2702,14 +2706,6 @@ html.has-modal-open {
|
|
|
2702
2706
|
text-transform: uppercase;
|
|
2703
2707
|
}
|
|
2704
2708
|
|
|
2705
|
-
.components-popover-pointer-events-trap {
|
|
2706
|
-
z-index: 1000000;
|
|
2707
|
-
position: fixed;
|
|
2708
|
-
inset: 0;
|
|
2709
|
-
background-color: transparent;
|
|
2710
|
-
cursor: pointer;
|
|
2711
|
-
}
|
|
2712
|
-
|
|
2713
2709
|
.wp-block-navigation .wp-block-page-list {
|
|
2714
2710
|
display: flex;
|
|
2715
2711
|
flex-direction: var(--navigation-layout-direction, initial);
|
package/build-style/style.css
CHANGED
|
@@ -1558,6 +1558,10 @@ figure.wp-block-gallery.has-nested-images {
|
|
|
1558
1558
|
box-sizing: border-box;
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
+
:where(.wp-block-group.wp-block-group-is-layout-constrained) {
|
|
1562
|
+
position: relative;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1561
1565
|
h1.has-background,
|
|
1562
1566
|
h2.has-background,
|
|
1563
1567
|
h3.has-background,
|
|
@@ -2732,14 +2736,6 @@ html.has-modal-open {
|
|
|
2732
2736
|
text-transform: uppercase;
|
|
2733
2737
|
}
|
|
2734
2738
|
|
|
2735
|
-
.components-popover-pointer-events-trap {
|
|
2736
|
-
z-index: 1000000;
|
|
2737
|
-
position: fixed;
|
|
2738
|
-
inset: 0;
|
|
2739
|
-
background-color: transparent;
|
|
2740
|
-
cursor: pointer;
|
|
2741
|
-
}
|
|
2742
|
-
|
|
2743
2739
|
.wp-block-navigation .wp-block-page-list {
|
|
2744
2740
|
display: flex;
|
|
2745
2741
|
flex-direction: var(--navigation-layout-direction, initial);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.34.0",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,38 +31,39 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.16.0",
|
|
34
|
-
"@wordpress/a11y": "^3.
|
|
35
|
-
"@wordpress/api-fetch": "^6.
|
|
36
|
-
"@wordpress/autop": "^3.
|
|
37
|
-
"@wordpress/blob": "^3.
|
|
38
|
-
"@wordpress/block-editor": "^12.
|
|
39
|
-
"@wordpress/blocks": "^12.
|
|
40
|
-
"@wordpress/components": "^27.
|
|
41
|
-
"@wordpress/compose": "^6.
|
|
42
|
-
"@wordpress/core-data": "^6.
|
|
43
|
-
"@wordpress/data": "^9.
|
|
44
|
-
"@wordpress/date": "^4.
|
|
45
|
-
"@wordpress/deprecated": "^3.
|
|
46
|
-
"@wordpress/dom": "^3.
|
|
47
|
-
"@wordpress/element": "^5.
|
|
48
|
-
"@wordpress/escape-html": "^2.
|
|
49
|
-
"@wordpress/hooks": "^3.
|
|
50
|
-
"@wordpress/html-entities": "^3.
|
|
51
|
-
"@wordpress/i18n": "^4.
|
|
52
|
-
"@wordpress/icons": "^9.
|
|
53
|
-
"@wordpress/interactivity": "^5.
|
|
54
|
-
"@wordpress/interactivity-router": "^1.
|
|
55
|
-
"@wordpress/
|
|
56
|
-
"@wordpress/
|
|
57
|
-
"@wordpress/
|
|
58
|
-
"@wordpress/
|
|
59
|
-
"@wordpress/
|
|
60
|
-
"@wordpress/
|
|
61
|
-
"@wordpress/
|
|
62
|
-
"@wordpress/
|
|
63
|
-
"@wordpress/
|
|
64
|
-
"@wordpress/
|
|
65
|
-
"@wordpress/
|
|
34
|
+
"@wordpress/a11y": "^3.57.0",
|
|
35
|
+
"@wordpress/api-fetch": "^6.54.0",
|
|
36
|
+
"@wordpress/autop": "^3.57.0",
|
|
37
|
+
"@wordpress/blob": "^3.57.0",
|
|
38
|
+
"@wordpress/block-editor": "^12.25.0",
|
|
39
|
+
"@wordpress/blocks": "^12.34.0",
|
|
40
|
+
"@wordpress/components": "^27.5.0",
|
|
41
|
+
"@wordpress/compose": "^6.34.0",
|
|
42
|
+
"@wordpress/core-data": "^6.34.0",
|
|
43
|
+
"@wordpress/data": "^9.27.0",
|
|
44
|
+
"@wordpress/date": "^4.57.0",
|
|
45
|
+
"@wordpress/deprecated": "^3.57.0",
|
|
46
|
+
"@wordpress/dom": "^3.57.0",
|
|
47
|
+
"@wordpress/element": "^5.34.0",
|
|
48
|
+
"@wordpress/escape-html": "^2.57.0",
|
|
49
|
+
"@wordpress/hooks": "^3.57.0",
|
|
50
|
+
"@wordpress/html-entities": "^3.57.0",
|
|
51
|
+
"@wordpress/i18n": "^4.57.0",
|
|
52
|
+
"@wordpress/icons": "^9.48.0",
|
|
53
|
+
"@wordpress/interactivity": "^5.6.0",
|
|
54
|
+
"@wordpress/interactivity-router": "^1.7.0",
|
|
55
|
+
"@wordpress/keyboard-shortcuts": "^4.34.0",
|
|
56
|
+
"@wordpress/keycodes": "^3.57.0",
|
|
57
|
+
"@wordpress/notices": "^4.25.0",
|
|
58
|
+
"@wordpress/patterns": "^1.18.0",
|
|
59
|
+
"@wordpress/primitives": "^3.55.0",
|
|
60
|
+
"@wordpress/private-apis": "^0.39.0",
|
|
61
|
+
"@wordpress/reusable-blocks": "^4.34.0",
|
|
62
|
+
"@wordpress/rich-text": "^6.34.0",
|
|
63
|
+
"@wordpress/server-side-render": "^4.34.0",
|
|
64
|
+
"@wordpress/url": "^3.58.0",
|
|
65
|
+
"@wordpress/viewport": "^5.34.0",
|
|
66
|
+
"@wordpress/wordcount": "^3.57.0",
|
|
66
67
|
"change-case": "^4.1.2",
|
|
67
68
|
"classnames": "^2.3.1",
|
|
68
69
|
"colord": "^2.7.0",
|
|
@@ -80,5 +81,5 @@
|
|
|
80
81
|
"publishConfig": {
|
|
81
82
|
"access": "public"
|
|
82
83
|
},
|
|
83
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "581d8a5580dba8f600b7268d51eb554771ae482c"
|
|
84
85
|
}
|