@wordpress/block-library 6.0.11 → 6.0.15
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/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 +1 -1
- package/build/query-pagination-numbers/index.js +1 -1
- package/build/query-pagination-previous/index.js +1 -1
- 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/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 +1 -1
- package/build-module/query-pagination-numbers/index.js +1 -1
- package/build-module/query-pagination-previous/index.js +1 -1
- 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/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 -18
- 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 +36 -45
- package/src/page-list/index.php +10 -9
- package/src/post-comments/block.json +5 -1
- package/src/post-comments/index.php +17 -0
- package/src/post-comments/style.scss +7 -3
- package/src/post-comments-form/index.php +6 -4
- package/src/post-comments-form/style.scss +7 -5
- package/src/query-pagination/block.json +1 -1
- package/src/query-pagination-next/block.json +1 -1
- package/src/query-pagination-numbers/block.json +1 -1
- package/src/query-pagination-previous/block.json +1 -1
- package/src/separator/separator-settings.js +1 -0
- package/src/social-links/edit.js +1 -0
- package/src/template-part/index.php +41 -2
- 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 {
|
|
@@ -1767,10 +1767,14 @@ button.wp-block-navigation-item__content {
|
|
|
1767
1767
|
display: flex;
|
|
1768
1768
|
flex-direction: column;
|
|
1769
1769
|
align-items: var(--layout-justification-setting, inherit);
|
|
1770
|
-
justify-content: flex-start;
|
|
1771
1770
|
overflow: auto;
|
|
1772
1771
|
padding: 0;
|
|
1773
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-page-list,
|
|
1775
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
|
1776
|
+
justify-content: flex-start;
|
|
1777
|
+
}
|
|
1774
1778
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
|
|
1775
1779
|
display: none;
|
|
1776
1780
|
}
|
|
@@ -2052,7 +2056,9 @@ p.has-background {
|
|
|
2052
2056
|
display: block;
|
|
2053
2057
|
margin-bottom: 0.25em;
|
|
2054
2058
|
}
|
|
2055
|
-
.wp-block-post-comments .comment-form
|
|
2059
|
+
.wp-block-post-comments .comment-form textarea,
|
|
2060
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2061
|
+
display: block;
|
|
2056
2062
|
box-sizing: border-box;
|
|
2057
2063
|
width: 100%;
|
|
2058
2064
|
}
|
|
@@ -2117,12 +2123,12 @@ p.has-background {
|
|
|
2117
2123
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
2118
2124
|
padding: calc(0.667em + 2px);
|
|
2119
2125
|
}
|
|
2120
|
-
.wp-block-post-comments-form .comment-form
|
|
2126
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
2127
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2121
2128
|
display: block;
|
|
2122
2129
|
box-sizing: border-box;
|
|
2123
2130
|
width: 100%;
|
|
2124
2131
|
}
|
|
2125
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
2126
2132
|
.wp-block-post-comments-form .comment-form-author label,
|
|
2127
2133
|
.wp-block-post-comments-form .comment-form-email label,
|
|
2128
2134
|
.wp-block-post-comments-form .comment-form-url label {
|
package/build-style/style.css
CHANGED
|
@@ -1789,10 +1789,14 @@ button.wp-block-navigation-item__content {
|
|
|
1789
1789
|
display: flex;
|
|
1790
1790
|
flex-direction: column;
|
|
1791
1791
|
align-items: var(--layout-justification-setting, inherit);
|
|
1792
|
-
justify-content: flex-start;
|
|
1793
1792
|
overflow: auto;
|
|
1794
1793
|
padding: 0;
|
|
1795
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-page-list,
|
|
1797
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
|
1798
|
+
justify-content: flex-start;
|
|
1799
|
+
}
|
|
1796
1800
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
|
|
1797
1801
|
display: none;
|
|
1798
1802
|
}
|
|
@@ -2074,7 +2078,9 @@ p.has-background {
|
|
|
2074
2078
|
display: block;
|
|
2075
2079
|
margin-bottom: 0.25em;
|
|
2076
2080
|
}
|
|
2077
|
-
.wp-block-post-comments .comment-form
|
|
2081
|
+
.wp-block-post-comments .comment-form textarea,
|
|
2082
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2083
|
+
display: block;
|
|
2078
2084
|
box-sizing: border-box;
|
|
2079
2085
|
width: 100%;
|
|
2080
2086
|
}
|
|
@@ -2139,12 +2145,12 @@ p.has-background {
|
|
|
2139
2145
|
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
|
|
2140
2146
|
padding: calc(0.667em + 2px);
|
|
2141
2147
|
}
|
|
2142
|
-
.wp-block-post-comments-form .comment-form
|
|
2148
|
+
.wp-block-post-comments-form .comment-form textarea,
|
|
2149
|
+
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
2143
2150
|
display: block;
|
|
2144
2151
|
box-sizing: border-box;
|
|
2145
2152
|
width: 100%;
|
|
2146
2153
|
}
|
|
2147
|
-
.wp-block-post-comments-form .comment-form-comment label,
|
|
2148
2154
|
.wp-block-post-comments-form .comment-form-author label,
|
|
2149
2155
|
.wp-block-post-comments-form .comment-form-email label,
|
|
2150
2156
|
.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.15",
|
|
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.11",
|
|
41
41
|
"@wordpress/blocks": "^11.1.4",
|
|
42
|
-
"@wordpress/components": "^19.1.
|
|
42
|
+
"@wordpress/components": "^19.1.5",
|
|
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.13",
|
|
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.17",
|
|
61
61
|
"@wordpress/rich-text": "^5.0.6",
|
|
62
|
-
"@wordpress/server-side-render": "^3.0.
|
|
62
|
+
"@wordpress/server-side-render": "^3.0.15",
|
|
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": "3665e3e1b121046300d8b2fa35074d748f16dbc2"
|
|
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
|
}
|