@wordpress/block-library 6.0.10 → 6.0.14
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/cover/edit.js +1 -0
- package/build/cover/edit.js.map +1 -1
- package/build/gallery/deprecated.js +314 -26
- package/build/gallery/deprecated.js.map +1 -1
- package/build/gallery/edit-wrapper.js +10 -27
- package/build/gallery/edit-wrapper.js.map +1 -1
- package/build/gallery/edit.js +10 -12
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/save.js +3 -3
- package/build/gallery/save.js.map +1 -1
- package/build/gallery/shared.js +24 -0
- package/build/gallery/shared.js.map +1 -1
- package/build/gallery/transforms.js +8 -22
- package/build/gallery/transforms.js.map +1 -1
- package/build/gallery/use-mobile-warning.js +1 -1
- package/build/gallery/use-mobile-warning.js.map +1 -1
- package/build/gallery/v1/edit.js +2 -21
- package/build/gallery/v1/edit.js.map +1 -1
- package/build/image/image.js +30 -6
- package/build/image/image.js.map +1 -1
- package/build/navigation/deprecated.js +9 -7
- package/build/navigation/deprecated.js.map +1 -1
- package/build/navigation/edit/index.js +12 -1
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/inner-blocks.js +0 -4
- package/build/navigation/edit/inner-blocks.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +7 -1
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/menu-items-to-blocks.js +4 -1
- package/build/navigation/menu-items-to-blocks.js.map +1 -1
- package/build/navigation/view.js +2 -2
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-submenu/edit.js +5 -1
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/post-comments/index.js +1 -1
- package/build/query-pagination/index.js +1 -1
- package/build/query-pagination-next/index.js +2 -2
- package/build/query-pagination-numbers/index.js +1 -1
- package/build/query-pagination-previous/index.js +2 -2
- package/build/separator/separator-settings.js +1 -0
- package/build/separator/separator-settings.js.map +1 -1
- package/build/social-links/edit.js +1 -0
- package/build/social-links/edit.js.map +1 -1
- package/build-module/cover/edit.js +1 -0
- package/build-module/cover/edit.js.map +1 -1
- package/build-module/gallery/deprecated.js +309 -27
- package/build-module/gallery/deprecated.js.map +1 -1
- package/build-module/gallery/edit-wrapper.js +7 -27
- package/build-module/gallery/edit-wrapper.js.map +1 -1
- package/build-module/gallery/edit.js +10 -12
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/save.js +2 -3
- package/build-module/gallery/save.js.map +1 -1
- package/build-module/gallery/shared.js +22 -0
- package/build-module/gallery/shared.js.map +1 -1
- package/build-module/gallery/transforms.js +9 -21
- package/build-module/gallery/transforms.js.map +1 -1
- package/build-module/gallery/use-mobile-warning.js +1 -1
- package/build-module/gallery/use-mobile-warning.js.map +1 -1
- package/build-module/gallery/v1/edit.js +4 -22
- package/build-module/gallery/v1/edit.js.map +1 -1
- package/build-module/image/image.js +31 -7
- package/build-module/image/image.js.map +1 -1
- package/build-module/navigation/deprecated.js +9 -7
- package/build-module/navigation/deprecated.js.map +1 -1
- package/build-module/navigation/edit/index.js +11 -1
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/inner-blocks.js +0 -4
- package/build-module/navigation/edit/inner-blocks.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +6 -1
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/menu-items-to-blocks.js +3 -1
- package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
- package/build-module/navigation/view.js +2 -2
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +5 -1
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/post-comments/index.js +1 -1
- package/build-module/query-pagination/index.js +1 -1
- package/build-module/query-pagination-next/index.js +2 -2
- package/build-module/query-pagination-numbers/index.js +1 -1
- package/build-module/query-pagination-previous/index.js +2 -2
- package/build-module/separator/separator-settings.js +1 -0
- package/build-module/separator/separator-settings.js.map +1 -1
- package/build-module/social-links/edit.js +1 -0
- package/build-module/social-links/edit.js.map +1 -1
- package/build-style/columns/editor-rtl.css +1 -1
- package/build-style/columns/editor.css +1 -1
- package/build-style/editor-rtl.css +26 -1
- package/build-style/editor.css +26 -1
- package/build-style/image/editor-rtl.css +16 -0
- package/build-style/image/editor.css +16 -0
- package/build-style/navigation/editor-rtl.css +9 -0
- package/build-style/navigation/editor.css +9 -0
- package/build-style/navigation/style-rtl.css +5 -1
- package/build-style/navigation/style.css +5 -1
- package/build-style/post-comments/style-rtl.css +3 -1
- package/build-style/post-comments/style.css +3 -1
- package/build-style/post-comments-form/style-rtl.css +2 -2
- package/build-style/post-comments-form/style.css +2 -2
- package/build-style/style-rtl.css +10 -4
- package/build-style/style.css +10 -4
- package/package.json +8 -8
- package/src/columns/editor.scss +3 -2
- package/src/cover/edit.js +1 -0
- package/src/gallery/deprecated.js +831 -559
- package/src/gallery/edit-wrapper.js +7 -27
- package/src/gallery/edit.js +10 -12
- package/src/gallery/index.php +7 -8
- package/src/gallery/save.js +2 -1
- package/src/gallery/shared.js +24 -0
- package/src/gallery/transforms.js +9 -27
- package/src/gallery/use-mobile-warning.js +1 -1
- package/src/gallery/v1/edit.js +1 -28
- package/src/image/editor.scss +18 -0
- package/src/image/image.js +32 -8
- package/src/image/index.php +1 -1
- package/src/navigation/deprecated.js +10 -9
- package/src/navigation/edit/index.js +15 -6
- package/src/navigation/edit/inner-blocks.js +0 -5
- package/src/navigation/edit/navigation-menu-selector.js +8 -0
- package/src/navigation/editor.scss +12 -0
- package/src/navigation/index.php +149 -26
- package/src/navigation/menu-items-to-blocks.js +7 -1
- package/src/navigation/style.scss +5 -1
- package/src/navigation/view.js +2 -2
- package/src/navigation-submenu/edit.js +7 -1
- package/src/navigation-submenu/index.php +30 -45
- package/src/page-list/index.php +5 -9
- package/src/post-comments/block.json +5 -1
- package/src/post-comments/index.php +15 -0
- package/src/post-comments/style.scss +7 -3
- package/src/post-comments-form/style.scss +7 -5
- package/src/query-pagination/block.json +1 -1
- package/src/query-pagination-next/block.json +2 -2
- package/src/query-pagination-numbers/block.json +1 -1
- package/src/query-pagination-previous/block.json +2 -2
- package/src/separator/separator-settings.js +1 -0
- package/src/social-links/edit.js +1 -0
- package/src/template-part/index.php +36 -0
- package/build/gallery/v1/update-gallery-modal.js +0 -114
- package/build/gallery/v1/update-gallery-modal.js.map +0 -1
- package/build-module/gallery/v1/update-gallery-modal.js +0 -97
- package/build-module/gallery/v1/update-gallery-modal.js.map +0 -1
- package/src/gallery/v1/update-gallery-modal.js +0 -97
|
@@ -110,12 +110,12 @@
|
|
|
110
110
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
111
111
|
padding: calc(0.667em + 2px);
|
|
112
112
|
}
|
|
113
|
-
.wp-block-post-comments-form .comment-form
|
|
113
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
114
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
114
115
|
display: block;
|
|
115
116
|
box-sizing: border-box;
|
|
116
117
|
width: 100%;
|
|
117
118
|
}
|
|
118
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
119
119
|
.wp-block-post-comments-form .comment-form-author label,
|
|
120
120
|
.wp-block-post-comments-form .comment-form-email label,
|
|
121
121
|
.wp-block-post-comments-form .comment-form-url label {
|
|
@@ -110,12 +110,12 @@
|
|
|
110
110
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
111
111
|
padding: calc(0.667em + 2px);
|
|
112
112
|
}
|
|
113
|
-
.wp-block-post-comments-form .comment-form
|
|
113
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
114
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
114
115
|
display: block;
|
|
115
116
|
box-sizing: border-box;
|
|
116
117
|
width: 100%;
|
|
117
118
|
}
|
|
118
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
119
119
|
.wp-block-post-comments-form .comment-form-author label,
|
|
120
120
|
.wp-block-post-comments-form .comment-form-email label,
|
|
121
121
|
.wp-block-post-comments-form .comment-form-url label {
|
|
@@ -1534,6 +1534,7 @@ ul.has-background {
|
|
|
1534
1534
|
line-height: 0;
|
|
1535
1535
|
display: inline-block;
|
|
1536
1536
|
vertical-align: middle;
|
|
1537
|
+
font-size: inherit;
|
|
1537
1538
|
padding: 0;
|
|
1538
1539
|
background-color: inherit;
|
|
1539
1540
|
color: currentColor;
|
|
@@ -1766,10 +1767,13 @@ button.wp-block-navigation-item__content {
|
|
|
1766
1767
|
display: flex;
|
|
1767
1768
|
flex-direction: column;
|
|
1768
1769
|
align-items: var(--layout-justification-setting, inherit);
|
|
1769
|
-
justify-content: flex-start;
|
|
1770
1770
|
overflow: auto;
|
|
1771
1771
|
padding: 0;
|
|
1772
1772
|
}
|
|
1773
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
|
|
1774
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
|
1775
|
+
justify-content: flex-start;
|
|
1776
|
+
}
|
|
1773
1777
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
|
|
1774
1778
|
display: none;
|
|
1775
1779
|
}
|
|
@@ -2051,7 +2055,9 @@ p.has-background {
|
|
|
2051
2055
|
display: block;
|
|
2052
2056
|
margin-bottom: 0.25em;
|
|
2053
2057
|
}
|
|
2054
|
-
.wp-block-post-comments .comment-form
|
|
2058
|
+
.wp-block-post-comments .comment-form textarea,
|
|
2059
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2060
|
+
display: block;
|
|
2055
2061
|
box-sizing: border-box;
|
|
2056
2062
|
width: 100%;
|
|
2057
2063
|
}
|
|
@@ -2116,12 +2122,12 @@ p.has-background {
|
|
|
2116
2122
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
2117
2123
|
padding: calc(0.667em + 2px);
|
|
2118
2124
|
}
|
|
2119
|
-
.wp-block-post-comments-form .comment-form
|
|
2125
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
2126
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2120
2127
|
display: block;
|
|
2121
2128
|
box-sizing: border-box;
|
|
2122
2129
|
width: 100%;
|
|
2123
2130
|
}
|
|
2124
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
2125
2131
|
.wp-block-post-comments-form .comment-form-author label,
|
|
2126
2132
|
.wp-block-post-comments-form .comment-form-email label,
|
|
2127
2133
|
.wp-block-post-comments-form .comment-form-url label {
|
package/build-style/style.css
CHANGED
|
@@ -1556,6 +1556,7 @@ ul.has-background {
|
|
|
1556
1556
|
line-height: 0;
|
|
1557
1557
|
display: inline-block;
|
|
1558
1558
|
vertical-align: middle;
|
|
1559
|
+
font-size: inherit;
|
|
1559
1560
|
padding: 0;
|
|
1560
1561
|
background-color: inherit;
|
|
1561
1562
|
color: currentColor;
|
|
@@ -1788,10 +1789,13 @@ button.wp-block-navigation-item__content {
|
|
|
1788
1789
|
display: flex;
|
|
1789
1790
|
flex-direction: column;
|
|
1790
1791
|
align-items: var(--layout-justification-setting, inherit);
|
|
1791
|
-
justify-content: flex-start;
|
|
1792
1792
|
overflow: auto;
|
|
1793
1793
|
padding: 0;
|
|
1794
1794
|
}
|
|
1795
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
|
|
1796
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
|
1797
|
+
justify-content: flex-start;
|
|
1798
|
+
}
|
|
1795
1799
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
|
|
1796
1800
|
display: none;
|
|
1797
1801
|
}
|
|
@@ -2073,7 +2077,9 @@ p.has-background {
|
|
|
2073
2077
|
display: block;
|
|
2074
2078
|
margin-bottom: 0.25em;
|
|
2075
2079
|
}
|
|
2076
|
-
.wp-block-post-comments .comment-form
|
|
2080
|
+
.wp-block-post-comments .comment-form textarea,
|
|
2081
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2082
|
+
display: block;
|
|
2077
2083
|
box-sizing: border-box;
|
|
2078
2084
|
width: 100%;
|
|
2079
2085
|
}
|
|
@@ -2138,12 +2144,12 @@ p.has-background {
|
|
|
2138
2144
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
2139
2145
|
padding: calc(0.667em + 2px);
|
|
2140
2146
|
}
|
|
2141
|
-
.wp-block-post-comments-form .comment-form
|
|
2147
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
2148
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2142
2149
|
display: block;
|
|
2143
2150
|
box-sizing: border-box;
|
|
2144
2151
|
width: 100%;
|
|
2145
2152
|
}
|
|
2146
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
2147
2153
|
.wp-block-post-comments-form .comment-form-author label,
|
|
2148
2154
|
.wp-block-post-comments-form .comment-form-email label,
|
|
2149
2155
|
.wp-block-post-comments-form .comment-form-url label {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@wordpress/api-fetch": "^5.2.6",
|
|
38
38
|
"@wordpress/autop": "^3.2.3",
|
|
39
39
|
"@wordpress/blob": "^3.2.2",
|
|
40
|
-
"@wordpress/block-editor": "^8.0.
|
|
40
|
+
"@wordpress/block-editor": "^8.0.10",
|
|
41
41
|
"@wordpress/blocks": "^11.1.4",
|
|
42
|
-
"@wordpress/components": "^19.1.
|
|
42
|
+
"@wordpress/components": "^19.1.4",
|
|
43
43
|
"@wordpress/compose": "^5.0.6",
|
|
44
44
|
"@wordpress/core-data": "^4.0.8",
|
|
45
45
|
"@wordpress/data": "^6.1.4",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"@wordpress/html-entities": "^3.2.3",
|
|
53
53
|
"@wordpress/i18n": "^4.2.4",
|
|
54
54
|
"@wordpress/icons": "^6.1.1",
|
|
55
|
-
"@wordpress/interface": "^4.1.
|
|
55
|
+
"@wordpress/interface": "^4.1.12",
|
|
56
56
|
"@wordpress/is-shallow-equal": "^4.2.1",
|
|
57
57
|
"@wordpress/keycodes": "^3.2.4",
|
|
58
58
|
"@wordpress/notices": "^3.2.7",
|
|
59
59
|
"@wordpress/primitives": "^3.0.4",
|
|
60
|
-
"@wordpress/reusable-blocks": "^3.0.
|
|
60
|
+
"@wordpress/reusable-blocks": "^3.0.16",
|
|
61
61
|
"@wordpress/rich-text": "^5.0.6",
|
|
62
|
-
"@wordpress/server-side-render": "^3.0.
|
|
62
|
+
"@wordpress/server-side-render": "^3.0.14",
|
|
63
63
|
"@wordpress/url": "^3.3.1",
|
|
64
64
|
"@wordpress/viewport": "^4.0.6",
|
|
65
65
|
"classnames": "^2.3.1",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"fast-average-color": "4.3.0",
|
|
68
68
|
"lodash": "^4.17.21",
|
|
69
69
|
"memize": "^1.1.0",
|
|
70
|
-
"micromodal": "^0.4.
|
|
70
|
+
"micromodal": "^0.4.9",
|
|
71
71
|
"moment": "^2.22.1"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "3826b68f8c5b5026b318463af647f6fb19b534d2"
|
|
77
77
|
}
|
package/src/columns/editor.scss
CHANGED
|
@@ -25,8 +25,9 @@
|
|
|
25
25
|
|
|
26
26
|
// Individual columns do not have top and bottom margins on the frontend.
|
|
27
27
|
// So we make the editor match that.
|
|
28
|
-
//
|
|
29
|
-
.
|
|
28
|
+
// We use :where to provide minimum specificity, so that intentional margins,
|
|
29
|
+
// such as those configured in theme.json, override and win on specificity.
|
|
30
|
+
html :where(.wp-block-column) {
|
|
30
31
|
margin-top: 0;
|
|
31
32
|
margin-bottom: 0;
|
|
32
33
|
}
|