@wordpress/block-library 6.0.6 → 6.0.10
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 +8 -3
- package/build/cover/edit.js.map +1 -1
- package/build/cover/transforms.js +2 -0
- package/build/cover/transforms.js.map +1 -1
- package/build/gallery/edit.js +1 -1
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/v1/update-gallery-modal.js +1 -1
- package/build/gallery/v1/update-gallery-modal.js.map +1 -1
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/build/navigation/deprecated.js +118 -12
- package/build/navigation/deprecated.js.map +1 -1
- package/build/navigation/edit/index.js +59 -33
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/inner-blocks.js +1 -1
- package/build/navigation/edit/inner-blocks.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +2 -2
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/edit/placeholder/index.js +16 -48
- package/build/navigation/edit/placeholder/index.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +5 -2
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +4 -35
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/navigation/edit/use-create-navigation-menu.js +50 -0
- package/build/navigation/edit/use-create-navigation-menu.js.map +1 -0
- package/build/navigation/edit/use-generate-default-navigation-title.js +73 -0
- package/build/navigation/edit/use-generate-default-navigation-title.js.map +1 -0
- package/build/navigation/index.js +1 -1
- package/build/navigation/save.js +2 -2
- package/build/navigation/save.js.map +1 -1
- package/build/navigation/use-navigation-menu.js +19 -8
- package/build/navigation/use-navigation-menu.js.map +1 -1
- package/build/navigation-area/edit.js +5 -0
- package/build/navigation-area/edit.js.map +1 -1
- package/build/page-list/edit.js +40 -42
- package/build/page-list/edit.js.map +1 -1
- package/build/pattern/index.js +1 -1
- package/build/post-featured-image/edit.js +53 -23
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-terms/index.js +1 -1
- package/build/post-title/edit.js +2 -2
- package/build/post-title/edit.js.map +1 -1
- package/build/query-title/index.js +1 -1
- package/build/site-logo/index.js +1 -1
- package/build/site-tagline/index.js +1 -1
- package/build/site-title/index.js +1 -1
- package/build/template-part/edit/placeholder/index.js +1 -1
- package/build/template-part/edit/placeholder/index.js.map +1 -1
- package/build/template-part/index.js +2 -1
- package/build/template-part/index.js.map +1 -1
- package/build-module/cover/edit.js +8 -3
- package/build-module/cover/edit.js.map +1 -1
- package/build-module/cover/transforms.js +2 -0
- package/build-module/cover/transforms.js.map +1 -1
- package/build-module/gallery/edit.js +1 -1
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/v1/update-gallery-modal.js +1 -1
- package/build-module/gallery/v1/update-gallery-modal.js.map +1 -1
- package/build-module/index.js +4 -3
- package/build-module/index.js.map +1 -1
- package/build-module/navigation/deprecated.js +118 -12
- package/build-module/navigation/deprecated.js.map +1 -1
- package/build-module/navigation/edit/index.js +60 -33
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/inner-blocks.js +1 -1
- package/build-module/navigation/edit/inner-blocks.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +2 -2
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/edit/placeholder/index.js +15 -45
- package/build-module/navigation/edit/placeholder/index.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +5 -2
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +6 -35
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/navigation/edit/use-create-navigation-menu.js +36 -0
- package/build-module/navigation/edit/use-create-navigation-menu.js.map +1 -0
- package/build-module/navigation/edit/use-generate-default-navigation-title.js +57 -0
- package/build-module/navigation/edit/use-generate-default-navigation-title.js.map +1 -0
- package/build-module/navigation/index.js +1 -1
- package/build-module/navigation/save.js +2 -2
- package/build-module/navigation/save.js.map +1 -1
- package/build-module/navigation/use-navigation-menu.js +19 -8
- package/build-module/navigation/use-navigation-menu.js.map +1 -1
- package/build-module/navigation-area/edit.js +4 -0
- package/build-module/navigation-area/edit.js.map +1 -1
- package/build-module/page-list/edit.js +41 -43
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/pattern/index.js +1 -1
- package/build-module/post-featured-image/edit.js +55 -26
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-terms/index.js +1 -1
- package/build-module/post-title/edit.js +2 -2
- package/build-module/post-title/edit.js.map +1 -1
- package/build-module/query-title/index.js +1 -1
- package/build-module/site-logo/index.js +1 -1
- package/build-module/site-tagline/index.js +1 -1
- package/build-module/site-title/index.js +1 -1
- package/build-module/template-part/edit/placeholder/index.js +2 -2
- package/build-module/template-part/edit/placeholder/index.js.map +1 -1
- package/build-module/template-part/index.js +2 -1
- package/build-module/template-part/index.js.map +1 -1
- package/build-style/code/theme-rtl.css +1 -1
- package/build-style/code/theme.css +1 -1
- package/build-style/cover/style-rtl.css +8 -2
- package/build-style/cover/style.css +8 -2
- package/build-style/editor-rtl.css +104 -53
- package/build-style/editor.css +104 -53
- package/build-style/gallery/editor-rtl.css +1 -0
- package/build-style/gallery/editor.css +1 -0
- package/build-style/navigation/style-rtl.css +40 -3
- package/build-style/navigation/style.css +40 -3
- package/build-style/post-comments-form/style-rtl.css +18 -0
- package/build-style/post-comments-form/style.css +18 -0
- package/build-style/post-featured-image/editor-rtl.css +100 -16
- package/build-style/post-featured-image/editor.css +100 -16
- package/build-style/site-logo/editor-rtl.css +2 -2
- package/build-style/site-logo/editor.css +2 -2
- package/build-style/social-links/editor-rtl.css +1 -35
- package/build-style/social-links/editor.css +1 -35
- package/build-style/style-rtl.css +66 -27
- package/build-style/style.css +66 -27
- package/build-style/theme-rtl.css +1 -1
- package/build-style/theme.css +1 -1
- package/package.json +8 -8
- package/src/calendar/index.php +3 -3
- package/src/code/theme.scss +1 -1
- package/src/cover/edit.js +8 -1
- package/src/cover/style.scss +9 -2
- package/src/cover/transforms.js +2 -0
- package/src/gallery/edit.js +1 -1
- package/src/gallery/editor.scss +1 -0
- package/src/gallery/index.php +1 -1
- package/src/gallery/v1/update-gallery-modal.js +1 -1
- package/src/home-link/index.php +1 -1
- package/src/image/index.php +1 -1
- package/src/index.js +28 -26
- package/src/navigation/block.json +1 -1
- package/src/navigation/deprecated.js +105 -4
- package/src/navigation/edit/index.js +68 -36
- package/src/navigation/edit/inner-blocks.js +2 -1
- package/src/navigation/edit/navigation-menu-selector.js +2 -2
- package/src/navigation/edit/placeholder/index.js +16 -62
- package/src/navigation/edit/responsive-wrapper.js +8 -1
- package/src/navigation/edit/unsaved-inner-blocks.js +6 -57
- package/src/navigation/edit/use-create-navigation-menu.js +39 -0
- package/src/navigation/edit/use-generate-default-navigation-title.js +79 -0
- package/src/navigation/index.php +173 -19
- package/src/navigation/save.js +2 -2
- package/src/navigation/style.scss +56 -5
- package/src/navigation/use-navigation-menu.js +20 -9
- package/src/navigation-area/edit.js +5 -0
- package/src/navigation-area/index.php +2 -1
- package/src/navigation-link/index.php +1 -1
- package/src/navigation-submenu/index.php +2 -8
- package/src/page-list/edit.js +35 -44
- package/src/page-list/index.php +10 -5
- package/src/pattern/block.json +1 -1
- package/src/post-comments-form/style.scss +20 -1
- package/src/post-featured-image/edit.js +58 -26
- package/src/post-featured-image/editor.scss +124 -20
- package/src/post-terms/block.json +1 -1
- package/src/post-title/edit.js +2 -2
- package/src/query-title/block.json +1 -1
- package/src/site-logo/block.json +1 -1
- package/src/site-logo/editor.scss +3 -2
- package/src/site-tagline/block.json +1 -1
- package/src/site-title/block.json +1 -1
- package/src/social-links/editor.scss +1 -47
- package/src/style.scss +0 -1
- package/src/table-of-contents/index.php +1 -1
- package/src/template-part/block.json +2 -1
- package/src/template-part/edit/placeholder/index.js +2 -2
- package/src/template-part/index.php +2 -1
- package/build/navigation/edit/navigation-menu-name-modal.js +0 -55
- package/build/navigation/edit/navigation-menu-name-modal.js.map +0 -1
- package/build/navigation/edit/navigation-menu-publish-button.js +0 -53
- package/build/navigation/edit/navigation-menu-publish-button.js.map +0 -1
- package/build-module/navigation/edit/navigation-menu-name-modal.js +0 -47
- package/build-module/navigation/edit/navigation-menu-name-modal.js.map +0 -1
- package/build-module/navigation/edit/navigation-menu-publish-button.js +0 -40
- package/build-module/navigation/edit/navigation-menu-publish-button.js.map +0 -1
- package/build-style/navigation-submenu/style-rtl.css +0 -97
- package/build-style/navigation-submenu/style.css +0 -97
- package/src/navigation/edit/navigation-menu-name-modal.js +0 -69
- package/src/navigation/edit/navigation-menu-publish-button.js +0 -57
- package/src/navigation-submenu/style.scss +0 -25
|
@@ -119,17 +119,23 @@
|
|
|
119
119
|
background-size: auto;
|
|
120
120
|
}
|
|
121
121
|
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
|
|
122
|
-
.wp-block-cover.has-background-dim:not([class*=-background-color])
|
|
122
|
+
.wp-block-cover-image .has-background-dim:not([class*=-background-color]),
|
|
123
|
+
.wp-block-cover.has-background-dim:not([class*=-background-color]),
|
|
124
|
+
.wp-block-cover .has-background-dim:not([class*=-background-color]) {
|
|
123
125
|
background-color: #000;
|
|
124
126
|
}
|
|
125
127
|
.wp-block-cover-image.has-background-dim::before,
|
|
126
|
-
.wp-block-cover.has-background-dim::before
|
|
128
|
+
.wp-block-cover-image .has-background-dim::before,
|
|
129
|
+
.wp-block-cover.has-background-dim::before,
|
|
130
|
+
.wp-block-cover .has-background-dim::before {
|
|
127
131
|
content: "";
|
|
128
132
|
background-color: inherit;
|
|
129
133
|
}
|
|
130
134
|
.wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before,
|
|
135
|
+
.wp-block-cover-image .has-background-dim:not(.has-background-gradient)::before,
|
|
131
136
|
.wp-block-cover-image .wp-block-cover__gradient-background,
|
|
132
137
|
.wp-block-cover.has-background-dim:not(.has-background-gradient)::before,
|
|
138
|
+
.wp-block-cover .has-background-dim:not(.has-background-gradient)::before,
|
|
133
139
|
.wp-block-cover .wp-block-cover__gradient-background {
|
|
134
140
|
position: absolute;
|
|
135
141
|
top: 0;
|
|
@@ -119,17 +119,23 @@
|
|
|
119
119
|
background-size: auto;
|
|
120
120
|
}
|
|
121
121
|
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
|
|
122
|
-
.wp-block-cover.has-background-dim:not([class*=-background-color])
|
|
122
|
+
.wp-block-cover-image .has-background-dim:not([class*=-background-color]),
|
|
123
|
+
.wp-block-cover.has-background-dim:not([class*=-background-color]),
|
|
124
|
+
.wp-block-cover .has-background-dim:not([class*=-background-color]) {
|
|
123
125
|
background-color: #000;
|
|
124
126
|
}
|
|
125
127
|
.wp-block-cover-image.has-background-dim::before,
|
|
126
|
-
.wp-block-cover.has-background-dim::before
|
|
128
|
+
.wp-block-cover-image .has-background-dim::before,
|
|
129
|
+
.wp-block-cover.has-background-dim::before,
|
|
130
|
+
.wp-block-cover .has-background-dim::before {
|
|
127
131
|
content: "";
|
|
128
132
|
background-color: inherit;
|
|
129
133
|
}
|
|
130
134
|
.wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before,
|
|
135
|
+
.wp-block-cover-image .has-background-dim:not(.has-background-gradient)::before,
|
|
131
136
|
.wp-block-cover-image .wp-block-cover__gradient-background,
|
|
132
137
|
.wp-block-cover.has-background-dim:not(.has-background-gradient)::before,
|
|
138
|
+
.wp-block-cover .has-background-dim:not(.has-background-gradient)::before,
|
|
133
139
|
.wp-block-cover .wp-block-cover__gradient-background {
|
|
134
140
|
position: absolute;
|
|
135
141
|
top: 0;
|
|
@@ -820,6 +820,7 @@ figure.wp-block-gallery .components-spinner {
|
|
|
820
820
|
bottom: 0;
|
|
821
821
|
right: 0;
|
|
822
822
|
z-index: 1;
|
|
823
|
+
pointer-events: none;
|
|
823
824
|
}
|
|
824
825
|
.blocks-gallery-item figure.is-transient img {
|
|
825
826
|
opacity: 0.3;
|
|
@@ -1975,7 +1976,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1975
1976
|
bottom: 0;
|
|
1976
1977
|
right: 0;
|
|
1977
1978
|
border: 1px dashed currentColor;
|
|
1978
|
-
opacity: 0.
|
|
1979
|
+
opacity: 0.4;
|
|
1979
1980
|
pointer-events: none;
|
|
1980
1981
|
border-radius: inherit;
|
|
1981
1982
|
}
|
|
@@ -2015,7 +2016,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2015
2016
|
height: 100%;
|
|
2016
2017
|
stroke: currentColor;
|
|
2017
2018
|
stroke-dasharray: 3;
|
|
2018
|
-
opacity: 0.
|
|
2019
|
+
opacity: 0.4;
|
|
2019
2020
|
}
|
|
2020
2021
|
.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button {
|
|
2021
2022
|
background: var(--wp-admin-theme-color);
|
|
@@ -2085,16 +2086,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2085
2086
|
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
2086
2087
|
display: flex;
|
|
2087
2088
|
}
|
|
2088
|
-
.wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2089
2089
|
.wp-block-social-links__social-placeholder .wp-social-link {
|
|
2090
2090
|
padding: 0.25em;
|
|
2091
2091
|
}
|
|
2092
|
-
.is-style-pill-shape .wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2093
2092
|
.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link {
|
|
2094
2093
|
padding-right: calc((2/3) * 1em);
|
|
2095
2094
|
padding-left: calc((2/3) * 1em);
|
|
2096
2095
|
}
|
|
2097
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2098
2096
|
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link {
|
|
2099
2097
|
padding: 0;
|
|
2100
2098
|
}
|
|
@@ -2110,6 +2108,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2110
2108
|
}
|
|
2111
2109
|
|
|
2112
2110
|
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
2111
|
+
min-height: 24px;
|
|
2113
2112
|
list-style: none;
|
|
2114
2113
|
order: 2;
|
|
2115
2114
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
@@ -2120,38 +2119,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2120
2119
|
cursor: default;
|
|
2121
2120
|
padding-left: 8px;
|
|
2122
2121
|
}
|
|
2123
|
-
.wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender {
|
|
2124
|
-
margin-left: 8px;
|
|
2125
|
-
padding: 0.25em;
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
|
-
.wp-block-social-links .block-list-appender {
|
|
2129
|
-
margin: 4px 0 4px auto;
|
|
2130
|
-
border-radius: 9999px;
|
|
2131
|
-
}
|
|
2132
|
-
.wp-block-social-links .block-list-appender .block-editor-inserter {
|
|
2133
|
-
display: flex;
|
|
2134
|
-
align-items: center;
|
|
2135
|
-
justify-content: center;
|
|
2136
|
-
font-size: inherit;
|
|
2137
|
-
width: 1em;
|
|
2138
|
-
height: 1em;
|
|
2139
|
-
}
|
|
2140
|
-
.has-small-icon-size .wp-block-social-links .block-list-appender {
|
|
2141
|
-
font-size: 16px;
|
|
2142
|
-
}
|
|
2143
|
-
.has-normal-icon-size .wp-block-social-links .block-list-appender {
|
|
2144
|
-
font-size: 24px;
|
|
2145
|
-
}
|
|
2146
|
-
.has-large-icon-size .wp-block-social-links .block-list-appender {
|
|
2147
|
-
font-size: 36px;
|
|
2148
|
-
}
|
|
2149
|
-
.has-huge-icon-size .wp-block-social-links .block-list-appender {
|
|
2150
|
-
font-size: 48px;
|
|
2151
|
-
}
|
|
2152
|
-
.wp-block-social-links .block-list-appender::before {
|
|
2153
|
-
content: none;
|
|
2154
|
-
}
|
|
2155
2122
|
|
|
2156
2123
|
.wp-block[data-align=center] > .wp-block-social-links {
|
|
2157
2124
|
justify-content: center;
|
|
@@ -2496,28 +2463,112 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2496
2463
|
margin-right: 0;
|
|
2497
2464
|
}
|
|
2498
2465
|
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2466
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,
|
|
2467
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container {
|
|
2468
|
+
border-radius: inherit;
|
|
2469
|
+
}
|
|
2470
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
2471
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
|
|
2472
|
+
justify-content: center;
|
|
2473
|
+
align-items: center;
|
|
2474
|
+
box-shadow: none;
|
|
2475
|
+
padding: 0;
|
|
2476
|
+
color: currentColor;
|
|
2477
|
+
background: transparent;
|
|
2478
|
+
min-height: 200px;
|
|
2479
|
+
}
|
|
2480
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
2481
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
2482
|
+
display: none;
|
|
2483
|
+
}
|
|
2484
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview,
|
|
2485
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview {
|
|
2486
|
+
position: absolute;
|
|
2487
|
+
top: 4px;
|
|
2488
|
+
left: 4px;
|
|
2489
|
+
bottom: 4px;
|
|
2490
|
+
right: 4px;
|
|
2491
|
+
background: rgba(255, 255, 255, 0.8);
|
|
2492
|
+
display: flex;
|
|
2493
|
+
align-items: center;
|
|
2494
|
+
justify-content: center;
|
|
2495
|
+
}
|
|
2496
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder::before,
|
|
2497
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder::before {
|
|
2498
|
+
content: "";
|
|
2502
2499
|
display: block;
|
|
2500
|
+
position: absolute;
|
|
2501
|
+
top: 0;
|
|
2502
|
+
left: 0;
|
|
2503
|
+
bottom: 0;
|
|
2504
|
+
right: 0;
|
|
2505
|
+
border: 1px dashed currentColor;
|
|
2506
|
+
opacity: 0.4;
|
|
2507
|
+
pointer-events: none;
|
|
2508
|
+
border-radius: inherit;
|
|
2503
2509
|
}
|
|
2504
|
-
|
|
2505
|
-
.
|
|
2510
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset,
|
|
2511
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset {
|
|
2512
|
+
width: auto;
|
|
2513
|
+
}
|
|
2514
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
|
|
2515
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
|
|
2516
|
+
color: inherit;
|
|
2517
|
+
padding: 0;
|
|
2506
2518
|
display: flex;
|
|
2507
|
-
|
|
2519
|
+
justify-content: center;
|
|
2508
2520
|
align-items: center;
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2521
|
+
width: 48px;
|
|
2522
|
+
height: 48px;
|
|
2523
|
+
border-radius: 50%;
|
|
2524
|
+
position: relative;
|
|
2525
|
+
visibility: hidden;
|
|
2526
|
+
background: transparent;
|
|
2527
|
+
transition: all 0.1s linear;
|
|
2513
2528
|
}
|
|
2514
|
-
|
|
2515
|
-
|
|
2529
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2530
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
|
|
2531
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
|
|
2532
|
+
transition-duration: 0s;
|
|
2533
|
+
transition-delay: 0s;
|
|
2534
|
+
}
|
|
2516
2535
|
}
|
|
2517
|
-
.
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2536
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
|
|
2537
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
|
|
2538
|
+
color: #fff;
|
|
2539
|
+
}
|
|
2540
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration,
|
|
2541
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration {
|
|
2542
|
+
position: absolute;
|
|
2543
|
+
top: 0;
|
|
2544
|
+
left: 0;
|
|
2545
|
+
bottom: 0;
|
|
2546
|
+
right: 0;
|
|
2547
|
+
width: 100%;
|
|
2548
|
+
height: 100%;
|
|
2549
|
+
stroke: currentColor;
|
|
2550
|
+
stroke-dasharray: 3;
|
|
2551
|
+
opacity: 0.4;
|
|
2552
|
+
}
|
|
2553
|
+
.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
2554
|
+
min-height: 48px;
|
|
2555
|
+
min-width: 48px;
|
|
2556
|
+
height: 100%;
|
|
2557
|
+
width: 100%;
|
|
2558
|
+
}
|
|
2559
|
+
.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button {
|
|
2560
|
+
background: var(--wp-admin-theme-color);
|
|
2561
|
+
border-color: var(--wp-admin-theme-color);
|
|
2562
|
+
border-style: solid;
|
|
2563
|
+
color: #fff;
|
|
2564
|
+
opacity: 1;
|
|
2565
|
+
visibility: visible;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
div[data-type="core/post-featured-image"] img {
|
|
2569
|
+
max-width: 100%;
|
|
2570
|
+
height: auto;
|
|
2571
|
+
display: block;
|
|
2521
2572
|
}
|
|
2522
2573
|
|
|
2523
2574
|
.block-library-post-featured-image-dimension-controls {
|
package/build-style/editor.css
CHANGED
|
@@ -825,6 +825,7 @@ figure.wp-block-gallery .components-spinner {
|
|
|
825
825
|
bottom: 0;
|
|
826
826
|
left: 0;
|
|
827
827
|
z-index: 1;
|
|
828
|
+
pointer-events: none;
|
|
828
829
|
}
|
|
829
830
|
.blocks-gallery-item figure.is-transient img {
|
|
830
831
|
opacity: 0.3;
|
|
@@ -1980,7 +1981,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1980
1981
|
bottom: 0;
|
|
1981
1982
|
left: 0;
|
|
1982
1983
|
border: 1px dashed currentColor;
|
|
1983
|
-
opacity: 0.
|
|
1984
|
+
opacity: 0.4;
|
|
1984
1985
|
pointer-events: none;
|
|
1985
1986
|
border-radius: inherit;
|
|
1986
1987
|
}
|
|
@@ -2020,7 +2021,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2020
2021
|
height: 100%;
|
|
2021
2022
|
stroke: currentColor;
|
|
2022
2023
|
stroke-dasharray: 3;
|
|
2023
|
-
opacity: 0.
|
|
2024
|
+
opacity: 0.4;
|
|
2024
2025
|
}
|
|
2025
2026
|
.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button {
|
|
2026
2027
|
background: var(--wp-admin-theme-color);
|
|
@@ -2090,16 +2091,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2090
2091
|
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
2091
2092
|
display: flex;
|
|
2092
2093
|
}
|
|
2093
|
-
.wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2094
2094
|
.wp-block-social-links__social-placeholder .wp-social-link {
|
|
2095
2095
|
padding: 0.25em;
|
|
2096
2096
|
}
|
|
2097
|
-
.is-style-pill-shape .wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2098
2097
|
.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link {
|
|
2099
2098
|
padding-left: calc((2/3) * 1em);
|
|
2100
2099
|
padding-right: calc((2/3) * 1em);
|
|
2101
2100
|
}
|
|
2102
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder + .block-list-appender,
|
|
2103
2101
|
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link {
|
|
2104
2102
|
padding: 0;
|
|
2105
2103
|
}
|
|
@@ -2115,6 +2113,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2115
2113
|
}
|
|
2116
2114
|
|
|
2117
2115
|
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
2116
|
+
min-height: 24px;
|
|
2118
2117
|
list-style: none;
|
|
2119
2118
|
order: 2;
|
|
2120
2119
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
@@ -2125,38 +2124,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2125
2124
|
cursor: default;
|
|
2126
2125
|
padding-right: 8px;
|
|
2127
2126
|
}
|
|
2128
|
-
.wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender {
|
|
2129
|
-
margin-right: 8px;
|
|
2130
|
-
padding: 0.25em;
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
.wp-block-social-links .block-list-appender {
|
|
2134
|
-
margin: 4px auto 4px 0;
|
|
2135
|
-
border-radius: 9999px;
|
|
2136
|
-
}
|
|
2137
|
-
.wp-block-social-links .block-list-appender .block-editor-inserter {
|
|
2138
|
-
display: flex;
|
|
2139
|
-
align-items: center;
|
|
2140
|
-
justify-content: center;
|
|
2141
|
-
font-size: inherit;
|
|
2142
|
-
width: 1em;
|
|
2143
|
-
height: 1em;
|
|
2144
|
-
}
|
|
2145
|
-
.has-small-icon-size .wp-block-social-links .block-list-appender {
|
|
2146
|
-
font-size: 16px;
|
|
2147
|
-
}
|
|
2148
|
-
.has-normal-icon-size .wp-block-social-links .block-list-appender {
|
|
2149
|
-
font-size: 24px;
|
|
2150
|
-
}
|
|
2151
|
-
.has-large-icon-size .wp-block-social-links .block-list-appender {
|
|
2152
|
-
font-size: 36px;
|
|
2153
|
-
}
|
|
2154
|
-
.has-huge-icon-size .wp-block-social-links .block-list-appender {
|
|
2155
|
-
font-size: 48px;
|
|
2156
|
-
}
|
|
2157
|
-
.wp-block-social-links .block-list-appender::before {
|
|
2158
|
-
content: none;
|
|
2159
|
-
}
|
|
2160
2127
|
|
|
2161
2128
|
.wp-block[data-align=center] > .wp-block-social-links {
|
|
2162
2129
|
justify-content: center;
|
|
@@ -2504,28 +2471,112 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2504
2471
|
margin-right: 0;
|
|
2505
2472
|
}
|
|
2506
2473
|
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2474
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder,
|
|
2475
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container {
|
|
2476
|
+
border-radius: inherit;
|
|
2477
|
+
}
|
|
2478
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
2479
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
|
|
2480
|
+
justify-content: center;
|
|
2481
|
+
align-items: center;
|
|
2482
|
+
box-shadow: none;
|
|
2483
|
+
padding: 0;
|
|
2484
|
+
color: currentColor;
|
|
2485
|
+
background: transparent;
|
|
2486
|
+
min-height: 200px;
|
|
2487
|
+
}
|
|
2488
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
2489
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
2490
|
+
display: none;
|
|
2491
|
+
}
|
|
2492
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview,
|
|
2493
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview {
|
|
2494
|
+
position: absolute;
|
|
2495
|
+
top: 4px;
|
|
2496
|
+
right: 4px;
|
|
2497
|
+
bottom: 4px;
|
|
2498
|
+
left: 4px;
|
|
2499
|
+
background: rgba(255, 255, 255, 0.8);
|
|
2500
|
+
display: flex;
|
|
2501
|
+
align-items: center;
|
|
2502
|
+
justify-content: center;
|
|
2503
|
+
}
|
|
2504
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder::before,
|
|
2505
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder::before {
|
|
2506
|
+
content: "";
|
|
2510
2507
|
display: block;
|
|
2508
|
+
position: absolute;
|
|
2509
|
+
top: 0;
|
|
2510
|
+
right: 0;
|
|
2511
|
+
bottom: 0;
|
|
2512
|
+
left: 0;
|
|
2513
|
+
border: 1px dashed currentColor;
|
|
2514
|
+
opacity: 0.4;
|
|
2515
|
+
pointer-events: none;
|
|
2516
|
+
border-radius: inherit;
|
|
2511
2517
|
}
|
|
2512
|
-
|
|
2513
|
-
.
|
|
2518
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset,
|
|
2519
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset {
|
|
2520
|
+
width: auto;
|
|
2521
|
+
}
|
|
2522
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
|
|
2523
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
|
|
2524
|
+
color: inherit;
|
|
2525
|
+
padding: 0;
|
|
2514
2526
|
display: flex;
|
|
2515
|
-
|
|
2527
|
+
justify-content: center;
|
|
2516
2528
|
align-items: center;
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2529
|
+
width: 48px;
|
|
2530
|
+
height: 48px;
|
|
2531
|
+
border-radius: 50%;
|
|
2532
|
+
position: relative;
|
|
2533
|
+
visibility: hidden;
|
|
2534
|
+
background: transparent;
|
|
2535
|
+
transition: all 0.1s linear;
|
|
2521
2536
|
}
|
|
2522
|
-
|
|
2523
|
-
|
|
2537
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2538
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
|
|
2539
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
|
|
2540
|
+
transition-duration: 0s;
|
|
2541
|
+
transition-delay: 0s;
|
|
2542
|
+
}
|
|
2524
2543
|
}
|
|
2525
|
-
.
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2544
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
|
|
2545
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
|
|
2546
|
+
color: #fff;
|
|
2547
|
+
}
|
|
2548
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration,
|
|
2549
|
+
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration {
|
|
2550
|
+
position: absolute;
|
|
2551
|
+
top: 0;
|
|
2552
|
+
right: 0;
|
|
2553
|
+
bottom: 0;
|
|
2554
|
+
left: 0;
|
|
2555
|
+
width: 100%;
|
|
2556
|
+
height: 100%;
|
|
2557
|
+
stroke: currentColor;
|
|
2558
|
+
stroke-dasharray: 3;
|
|
2559
|
+
opacity: 0.4;
|
|
2560
|
+
}
|
|
2561
|
+
.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
2562
|
+
min-height: 48px;
|
|
2563
|
+
min-width: 48px;
|
|
2564
|
+
height: 100%;
|
|
2565
|
+
width: 100%;
|
|
2566
|
+
}
|
|
2567
|
+
.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button {
|
|
2568
|
+
background: var(--wp-admin-theme-color);
|
|
2569
|
+
border-color: var(--wp-admin-theme-color);
|
|
2570
|
+
border-style: solid;
|
|
2571
|
+
color: #fff;
|
|
2572
|
+
opacity: 1;
|
|
2573
|
+
visibility: visible;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
div[data-type="core/post-featured-image"] img {
|
|
2577
|
+
max-width: 100%;
|
|
2578
|
+
height: auto;
|
|
2579
|
+
display: block;
|
|
2529
2580
|
}
|
|
2530
2581
|
|
|
2531
2582
|
.block-library-post-featured-image-dimension-controls {
|
|
@@ -119,17 +119,22 @@
|
|
|
119
119
|
}
|
|
120
120
|
.wp-block-navigation .wp-block-navigation__submenu-icon {
|
|
121
121
|
align-self: center;
|
|
122
|
-
height: inherit;
|
|
123
122
|
line-height: 0;
|
|
124
|
-
|
|
123
|
+
display: inline-block;
|
|
124
|
+
vertical-align: middle;
|
|
125
125
|
padding: 0;
|
|
126
126
|
background-color: inherit;
|
|
127
127
|
color: currentColor;
|
|
128
128
|
border: none;
|
|
129
|
+
margin-right: 0.25em;
|
|
130
|
+
width: 0.6em;
|
|
131
|
+
height: 0.6em;
|
|
129
132
|
}
|
|
130
133
|
.wp-block-navigation .wp-block-navigation__submenu-icon svg {
|
|
131
134
|
display: inline-block;
|
|
132
135
|
stroke: currentColor;
|
|
136
|
+
width: inherit;
|
|
137
|
+
height: inherit;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) {
|
|
@@ -214,6 +219,28 @@
|
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
|
|
222
|
+
.wp-block-navigation-submenu {
|
|
223
|
+
position: relative;
|
|
224
|
+
display: flex;
|
|
225
|
+
}
|
|
226
|
+
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
|
|
227
|
+
stroke: currentColor;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
button.wp-block-navigation-item__content {
|
|
231
|
+
background-color: transparent;
|
|
232
|
+
border: none;
|
|
233
|
+
color: currentColor;
|
|
234
|
+
font-size: inherit;
|
|
235
|
+
font-family: inherit;
|
|
236
|
+
line-height: inherit;
|
|
237
|
+
text-align: right;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.wp-block-navigation-submenu__toggle {
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
217
244
|
/**
|
|
218
245
|
* Margins
|
|
219
246
|
*/
|
|
@@ -288,6 +315,11 @@
|
|
|
288
315
|
display: none;
|
|
289
316
|
}
|
|
290
317
|
|
|
318
|
+
.wp-block-navigation__container:only-child,
|
|
319
|
+
.wp-block-page-list:only-child {
|
|
320
|
+
flex-grow: 1;
|
|
321
|
+
}
|
|
322
|
+
|
|
291
323
|
/**
|
|
292
324
|
* Mobile menu.
|
|
293
325
|
*/
|
|
@@ -306,6 +338,10 @@
|
|
|
306
338
|
justify-content: var(--layout-justify, initial);
|
|
307
339
|
align-items: var(--layout-align, initial);
|
|
308
340
|
}
|
|
341
|
+
.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
|
|
342
|
+
color: inherit !important;
|
|
343
|
+
background-color: inherit !important;
|
|
344
|
+
}
|
|
309
345
|
.wp-block-navigation__responsive-container.is-menu-open {
|
|
310
346
|
display: flex;
|
|
311
347
|
flex-direction: column;
|
|
@@ -359,7 +395,8 @@
|
|
|
359
395
|
align-items: var(--layout-justification-setting, initial);
|
|
360
396
|
}
|
|
361
397
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,
|
|
362
|
-
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item
|
|
398
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
|
|
399
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
|
|
363
400
|
color: inherit !important;
|
|
364
401
|
background: transparent !important;
|
|
365
402
|
}
|
|
@@ -119,17 +119,22 @@
|
|
|
119
119
|
}
|
|
120
120
|
.wp-block-navigation .wp-block-navigation__submenu-icon {
|
|
121
121
|
align-self: center;
|
|
122
|
-
height: inherit;
|
|
123
122
|
line-height: 0;
|
|
124
|
-
|
|
123
|
+
display: inline-block;
|
|
124
|
+
vertical-align: middle;
|
|
125
125
|
padding: 0;
|
|
126
126
|
background-color: inherit;
|
|
127
127
|
color: currentColor;
|
|
128
128
|
border: none;
|
|
129
|
+
margin-left: 0.25em;
|
|
130
|
+
width: 0.6em;
|
|
131
|
+
height: 0.6em;
|
|
129
132
|
}
|
|
130
133
|
.wp-block-navigation .wp-block-navigation__submenu-icon svg {
|
|
131
134
|
display: inline-block;
|
|
132
135
|
stroke: currentColor;
|
|
136
|
+
width: inherit;
|
|
137
|
+
height: inherit;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) {
|
|
@@ -214,6 +219,28 @@
|
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
|
|
222
|
+
.wp-block-navigation-submenu {
|
|
223
|
+
position: relative;
|
|
224
|
+
display: flex;
|
|
225
|
+
}
|
|
226
|
+
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
|
|
227
|
+
stroke: currentColor;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
button.wp-block-navigation-item__content {
|
|
231
|
+
background-color: transparent;
|
|
232
|
+
border: none;
|
|
233
|
+
color: currentColor;
|
|
234
|
+
font-size: inherit;
|
|
235
|
+
font-family: inherit;
|
|
236
|
+
line-height: inherit;
|
|
237
|
+
text-align: left;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.wp-block-navigation-submenu__toggle {
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
217
244
|
/**
|
|
218
245
|
* Margins
|
|
219
246
|
*/
|
|
@@ -288,6 +315,11 @@
|
|
|
288
315
|
display: none;
|
|
289
316
|
}
|
|
290
317
|
|
|
318
|
+
.wp-block-navigation__container:only-child,
|
|
319
|
+
.wp-block-page-list:only-child {
|
|
320
|
+
flex-grow: 1;
|
|
321
|
+
}
|
|
322
|
+
|
|
291
323
|
/**
|
|
292
324
|
* Mobile menu.
|
|
293
325
|
*/
|
|
@@ -306,6 +338,10 @@
|
|
|
306
338
|
justify-content: var(--layout-justify, initial);
|
|
307
339
|
align-items: var(--layout-align, initial);
|
|
308
340
|
}
|
|
341
|
+
.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
|
|
342
|
+
color: inherit !important;
|
|
343
|
+
background-color: inherit !important;
|
|
344
|
+
}
|
|
309
345
|
.wp-block-navigation__responsive-container.is-menu-open {
|
|
310
346
|
display: flex;
|
|
311
347
|
flex-direction: column;
|
|
@@ -359,7 +395,8 @@
|
|
|
359
395
|
align-items: var(--layout-justification-setting, initial);
|
|
360
396
|
}
|
|
361
397
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,
|
|
362
|
-
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item
|
|
398
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
|
|
399
|
+
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
|
|
363
400
|
color: inherit !important;
|
|
364
401
|
background: transparent !important;
|
|
365
402
|
}
|