@wordpress/editor 14.27.0 → 14.28.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/bindings/api.js +2 -0
- package/build/bindings/api.js.map +1 -1
- package/build/bindings/pattern-overrides.js +4 -0
- package/build/bindings/pattern-overrides.js.map +1 -1
- package/build/bindings/post-data.js +141 -0
- package/build/bindings/post-data.js.map +1 -0
- package/build/bindings/post-meta.js +4 -0
- package/build/bindings/post-meta.js.map +1 -1
- package/build/components/media-categories/index.js +1 -1
- package/build/components/media-categories/index.js.map +1 -1
- package/build/components/post-card-panel/index.js +2 -2
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/post-featured-image/index.js +3 -3
- package/build/components/post-featured-image/index.js.map +1 -1
- package/build/components/post-taxonomies/flat-term-selector.js +1 -1
- package/build/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build/components/post-taxonomies/hierarchical-term-selector.js +2 -2
- package/build/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build/components/provider/index.native.js +4 -1
- package/build/components/provider/index.native.js.map +1 -1
- package/build/components/provider/use-block-editor-settings.js +9 -4
- package/build/components/provider/use-block-editor-settings.js.map +1 -1
- package/build/store/actions.js +0 -15
- package/build/store/actions.js.map +1 -1
- package/build/store/selectors.js +9 -3
- package/build/store/selectors.js.map +1 -1
- package/build/utils/media-upload/index.js +1 -1
- package/build/utils/media-upload/index.js.map +1 -1
- package/build-module/bindings/api.js +2 -0
- package/build-module/bindings/api.js.map +1 -1
- package/build-module/bindings/pattern-overrides.js +4 -0
- package/build-module/bindings/pattern-overrides.js.map +1 -1
- package/build-module/bindings/post-data.js +135 -0
- package/build-module/bindings/post-data.js.map +1 -0
- package/build-module/bindings/post-meta.js +4 -0
- package/build-module/bindings/post-meta.js.map +1 -1
- package/build-module/components/media-categories/index.js +1 -1
- package/build-module/components/media-categories/index.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +2 -2
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/post-featured-image/index.js +3 -3
- package/build-module/components/post-featured-image/index.js.map +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.js +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js +2 -2
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build-module/components/provider/index.native.js +4 -1
- package/build-module/components/provider/index.native.js.map +1 -1
- package/build-module/components/provider/use-block-editor-settings.js +9 -4
- package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
- package/build-module/store/actions.js +0 -15
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/selectors.js +9 -3
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/media-upload/index.js +1 -1
- package/build-module/utils/media-upload/index.js.map +1 -1
- package/build-style/style-rtl.css +41 -15
- package/build-style/style.css +41 -15
- package/build-types/bindings/api.d.ts.map +1 -1
- package/build-types/bindings/pattern-overrides.d.ts +6 -6
- package/build-types/bindings/pattern-overrides.d.ts.map +1 -1
- package/build-types/bindings/post-data.d.ts +24 -0
- package/build-types/bindings/post-data.d.ts.map +1 -0
- package/build-types/bindings/post-meta.d.ts +7 -7
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts +11 -11
- package/build-types/components/media-categories/index.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-homepage.d.ts +1 -1
- package/build-types/components/post-actions/set-as-posts-page.d.ts +1 -1
- package/build-types/components/post-format/index.d.ts +10 -10
- package/build-types/components/post-status/index.d.ts +10 -10
- package/build-types/components/post-visibility/utils.d.ts +6 -6
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +6 -2
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts +1 -1
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -1
- package/package.json +37 -37
- package/src/bindings/api.js +2 -0
- package/src/bindings/pattern-overrides.js +3 -0
- package/src/bindings/post-data.js +128 -0
- package/src/bindings/post-meta.js +3 -0
- package/src/components/collapsible-block-toolbar/style.scss +4 -3
- package/src/components/error-boundary/style.scss +1 -1
- package/src/components/header/style.scss +1 -0
- package/src/components/media-categories/index.js +8 -4
- package/src/components/post-card-panel/index.js +3 -3
- package/src/components/post-featured-image/index.js +7 -3
- package/src/components/post-publish-panel/style.scss +1 -0
- package/src/components/post-taxonomies/flat-term-selector.js +1 -1
- package/src/components/post-taxonomies/hierarchical-term-selector.js +4 -4
- package/src/components/post-taxonomies/test/index.js +6 -6
- package/src/components/provider/index.native.js +5 -1
- package/src/components/provider/use-block-editor-settings.js +8 -3
- package/src/components/sidebar/style.scss +4 -0
- package/src/components/text-editor/style.scss +1 -0
- package/src/store/actions.js +0 -15
- package/src/store/selectors.js +12 -3
- package/src/store/test/selectors.js +30 -0
- package/src/utils/media-upload/index.js +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -714,7 +714,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
714
714
|
overflow: hidden;
|
|
715
715
|
display: flex;
|
|
716
716
|
align-items: center;
|
|
717
|
-
height:
|
|
717
|
+
height: 64px;
|
|
718
718
|
}
|
|
719
719
|
.editor-collapsible-block-toolbar .block-editor-block-contextual-toolbar {
|
|
720
720
|
border-bottom: 0;
|
|
@@ -723,7 +723,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
723
723
|
}
|
|
724
724
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar {
|
|
725
725
|
height: 100%;
|
|
726
|
-
padding-top:
|
|
726
|
+
padding-top: 17px;
|
|
727
727
|
}
|
|
728
728
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar .components-button:not(.block-editor-block-mover-button) {
|
|
729
729
|
height: 32px;
|
|
@@ -762,7 +762,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
762
762
|
.editor-collapsible-block-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
|
|
763
763
|
height: 40px;
|
|
764
764
|
position: relative;
|
|
765
|
-
top: -
|
|
765
|
+
top: -4px;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
.editor-collapsible-block-toolbar.is-collapsed {
|
|
@@ -1048,7 +1048,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
1050
|
.editor-editor-interface .entities-saved-states__panel-header {
|
|
1051
|
-
height:
|
|
1051
|
+
height: 65px;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
.editor-editor-interface .interface-interface-skeleton__content {
|
|
@@ -1072,7 +1072,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1072
1072
|
box-sizing: border-box;
|
|
1073
1073
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
1074
1074
|
padding: 0 12px;
|
|
1075
|
-
min-height:
|
|
1075
|
+
min-height: 64px;
|
|
1076
1076
|
}
|
|
1077
1077
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
|
1078
1078
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
|
@@ -1084,7 +1084,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1084
1084
|
background: #fff;
|
|
1085
1085
|
padding-right: 16px;
|
|
1086
1086
|
padding-left: 16px;
|
|
1087
|
-
height:
|
|
1087
|
+
height: 64px;
|
|
1088
1088
|
border-bottom: 1px solid #ddd;
|
|
1089
1089
|
}
|
|
1090
1090
|
|
|
@@ -1143,7 +1143,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1143
1143
|
margin: auto;
|
|
1144
1144
|
max-width: 780px;
|
|
1145
1145
|
padding: 1em;
|
|
1146
|
-
margin-top:
|
|
1146
|
+
margin-top: 64px;
|
|
1147
1147
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
|
|
1148
1148
|
border: 1px solid #1e1e1e;
|
|
1149
1149
|
border-radius: 2px;
|
|
@@ -1151,21 +1151,27 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
.editor-header {
|
|
1154
|
-
|
|
1154
|
+
box-sizing: border-box;
|
|
1155
|
+
height: 64px;
|
|
1155
1156
|
background: #fff;
|
|
1156
1157
|
display: grid;
|
|
1157
1158
|
grid-auto-flow: row;
|
|
1158
|
-
grid-template: auto/
|
|
1159
|
+
grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
|
|
1159
1160
|
align-items: center;
|
|
1160
1161
|
max-width: 100vw;
|
|
1161
1162
|
justify-content: space-between;
|
|
1162
1163
|
}
|
|
1164
|
+
.editor-header *,
|
|
1165
|
+
.editor-header *::before,
|
|
1166
|
+
.editor-header *::after {
|
|
1167
|
+
box-sizing: inherit;
|
|
1168
|
+
}
|
|
1163
1169
|
.editor-header:has(> .editor-header__center) {
|
|
1164
|
-
grid-template: auto/
|
|
1170
|
+
grid-template: auto/64px min-content 1fr min-content 64px;
|
|
1165
1171
|
}
|
|
1166
1172
|
@media (min-width: 782px) {
|
|
1167
1173
|
.editor-header:has(> .editor-header__center) {
|
|
1168
|
-
grid-template: auto/
|
|
1174
|
+
grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
|
|
1169
1175
|
}
|
|
1170
1176
|
}
|
|
1171
1177
|
@media (min-width: 480px) {
|
|
@@ -1723,8 +1729,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1723
1729
|
}
|
|
1724
1730
|
}
|
|
1725
1731
|
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
|
|
1726
|
-
|
|
1727
|
-
backdrop-filter: blur(16px) saturate(180%);
|
|
1732
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
1728
1733
|
background: rgba(255, 255, 255, 0.75);
|
|
1729
1734
|
}
|
|
1730
1735
|
.editor-post-featured-image__actions .editor-post-featured-image__action {
|
|
@@ -1829,7 +1834,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1829
1834
|
}
|
|
1830
1835
|
|
|
1831
1836
|
.editor-post-publish-panel__content {
|
|
1832
|
-
min-height: calc(100% -
|
|
1837
|
+
min-height: calc(100% - 148px);
|
|
1833
1838
|
}
|
|
1834
1839
|
.editor-post-publish-panel__content > .components-spinner {
|
|
1835
1840
|
display: block;
|
|
@@ -1840,7 +1845,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1840
1845
|
background: #fff;
|
|
1841
1846
|
padding-right: 16px;
|
|
1842
1847
|
padding-left: 16px;
|
|
1843
|
-
height:
|
|
1848
|
+
height: 65px;
|
|
1844
1849
|
border-bottom: 1px solid #ddd;
|
|
1845
1850
|
display: flex;
|
|
1846
1851
|
align-items: center;
|
|
@@ -2008,6 +2013,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2008
2013
|
}
|
|
2009
2014
|
}
|
|
2010
2015
|
.editor-post-publish-panel {
|
|
2016
|
+
box-sizing: border-box;
|
|
2011
2017
|
position: fixed;
|
|
2012
2018
|
z-index: 100001;
|
|
2013
2019
|
background: #fff;
|
|
@@ -2017,6 +2023,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2017
2023
|
right: 0;
|
|
2018
2024
|
overflow: auto;
|
|
2019
2025
|
}
|
|
2026
|
+
.editor-post-publish-panel *,
|
|
2027
|
+
.editor-post-publish-panel *::before,
|
|
2028
|
+
.editor-post-publish-panel *::after {
|
|
2029
|
+
box-sizing: inherit;
|
|
2030
|
+
}
|
|
2020
2031
|
@media (min-width: 782px) {
|
|
2021
2032
|
.editor-post-publish-panel {
|
|
2022
2033
|
z-index: 99998;
|
|
@@ -2509,6 +2520,15 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2509
2520
|
display: none;
|
|
2510
2521
|
}
|
|
2511
2522
|
|
|
2523
|
+
.editor-sidebar {
|
|
2524
|
+
box-sizing: border-box;
|
|
2525
|
+
}
|
|
2526
|
+
.editor-sidebar *,
|
|
2527
|
+
.editor-sidebar *::before,
|
|
2528
|
+
.editor-sidebar *::after {
|
|
2529
|
+
box-sizing: inherit;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2512
2532
|
.editor-site-discussion-dropdown__content .components-popover__content {
|
|
2513
2533
|
min-width: 320px;
|
|
2514
2534
|
padding: 16px;
|
|
@@ -2584,11 +2604,17 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2584
2604
|
}
|
|
2585
2605
|
|
|
2586
2606
|
.editor-text-editor {
|
|
2607
|
+
box-sizing: border-box;
|
|
2587
2608
|
position: relative;
|
|
2588
2609
|
width: 100%;
|
|
2589
2610
|
background-color: #fff;
|
|
2590
2611
|
flex-grow: 1;
|
|
2591
2612
|
}
|
|
2613
|
+
.editor-text-editor *,
|
|
2614
|
+
.editor-text-editor *::before,
|
|
2615
|
+
.editor-text-editor *::after {
|
|
2616
|
+
box-sizing: inherit;
|
|
2617
|
+
}
|
|
2592
2618
|
.editor-text-editor .editor-post-title:not(.is-raw-text),
|
|
2593
2619
|
.editor-text-editor .editor-post-title.is-raw-text textarea {
|
|
2594
2620
|
max-width: none;
|
package/build-style/style.css
CHANGED
|
@@ -714,7 +714,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
714
714
|
overflow: hidden;
|
|
715
715
|
display: flex;
|
|
716
716
|
align-items: center;
|
|
717
|
-
height:
|
|
717
|
+
height: 64px;
|
|
718
718
|
}
|
|
719
719
|
.editor-collapsible-block-toolbar .block-editor-block-contextual-toolbar {
|
|
720
720
|
border-bottom: 0;
|
|
@@ -723,7 +723,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
723
723
|
}
|
|
724
724
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar {
|
|
725
725
|
height: 100%;
|
|
726
|
-
padding-top:
|
|
726
|
+
padding-top: 17px;
|
|
727
727
|
}
|
|
728
728
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar .components-button:not(.block-editor-block-mover-button) {
|
|
729
729
|
height: 32px;
|
|
@@ -762,7 +762,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
762
762
|
.editor-collapsible-block-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
|
|
763
763
|
height: 40px;
|
|
764
764
|
position: relative;
|
|
765
|
-
top: -
|
|
765
|
+
top: -4px;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
.editor-collapsible-block-toolbar.is-collapsed {
|
|
@@ -1048,7 +1048,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
1050
|
.editor-editor-interface .entities-saved-states__panel-header {
|
|
1051
|
-
height:
|
|
1051
|
+
height: 65px;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
.editor-editor-interface .interface-interface-skeleton__content {
|
|
@@ -1072,7 +1072,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1072
1072
|
box-sizing: border-box;
|
|
1073
1073
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
1074
1074
|
padding: 0 12px;
|
|
1075
|
-
min-height:
|
|
1075
|
+
min-height: 64px;
|
|
1076
1076
|
}
|
|
1077
1077
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
|
1078
1078
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
|
@@ -1084,7 +1084,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1084
1084
|
background: #fff;
|
|
1085
1085
|
padding-left: 16px;
|
|
1086
1086
|
padding-right: 16px;
|
|
1087
|
-
height:
|
|
1087
|
+
height: 64px;
|
|
1088
1088
|
border-bottom: 1px solid #ddd;
|
|
1089
1089
|
}
|
|
1090
1090
|
|
|
@@ -1143,7 +1143,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1143
1143
|
margin: auto;
|
|
1144
1144
|
max-width: 780px;
|
|
1145
1145
|
padding: 1em;
|
|
1146
|
-
margin-top:
|
|
1146
|
+
margin-top: 64px;
|
|
1147
1147
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
|
|
1148
1148
|
border: 1px solid #1e1e1e;
|
|
1149
1149
|
border-radius: 2px;
|
|
@@ -1151,21 +1151,27 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
.editor-header {
|
|
1154
|
-
|
|
1154
|
+
box-sizing: border-box;
|
|
1155
|
+
height: 64px;
|
|
1155
1156
|
background: #fff;
|
|
1156
1157
|
display: grid;
|
|
1157
1158
|
grid-auto-flow: row;
|
|
1158
|
-
grid-template: auto/
|
|
1159
|
+
grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
|
|
1159
1160
|
align-items: center;
|
|
1160
1161
|
max-width: 100vw;
|
|
1161
1162
|
justify-content: space-between;
|
|
1162
1163
|
}
|
|
1164
|
+
.editor-header *,
|
|
1165
|
+
.editor-header *::before,
|
|
1166
|
+
.editor-header *::after {
|
|
1167
|
+
box-sizing: inherit;
|
|
1168
|
+
}
|
|
1163
1169
|
.editor-header:has(> .editor-header__center) {
|
|
1164
|
-
grid-template: auto/
|
|
1170
|
+
grid-template: auto/64px min-content 1fr min-content 64px;
|
|
1165
1171
|
}
|
|
1166
1172
|
@media (min-width: 782px) {
|
|
1167
1173
|
.editor-header:has(> .editor-header__center) {
|
|
1168
|
-
grid-template: auto/
|
|
1174
|
+
grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
|
|
1169
1175
|
}
|
|
1170
1176
|
}
|
|
1171
1177
|
@media (min-width: 480px) {
|
|
@@ -1723,8 +1729,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1723
1729
|
}
|
|
1724
1730
|
}
|
|
1725
1731
|
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
|
|
1726
|
-
|
|
1727
|
-
backdrop-filter: blur(16px) saturate(180%);
|
|
1732
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
1728
1733
|
background: rgba(255, 255, 255, 0.75);
|
|
1729
1734
|
}
|
|
1730
1735
|
.editor-post-featured-image__actions .editor-post-featured-image__action {
|
|
@@ -1829,7 +1834,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1829
1834
|
}
|
|
1830
1835
|
|
|
1831
1836
|
.editor-post-publish-panel__content {
|
|
1832
|
-
min-height: calc(100% -
|
|
1837
|
+
min-height: calc(100% - 148px);
|
|
1833
1838
|
}
|
|
1834
1839
|
.editor-post-publish-panel__content > .components-spinner {
|
|
1835
1840
|
display: block;
|
|
@@ -1840,7 +1845,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1840
1845
|
background: #fff;
|
|
1841
1846
|
padding-left: 16px;
|
|
1842
1847
|
padding-right: 16px;
|
|
1843
|
-
height:
|
|
1848
|
+
height: 65px;
|
|
1844
1849
|
border-bottom: 1px solid #ddd;
|
|
1845
1850
|
display: flex;
|
|
1846
1851
|
align-items: center;
|
|
@@ -2008,6 +2013,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2008
2013
|
}
|
|
2009
2014
|
}
|
|
2010
2015
|
.editor-post-publish-panel {
|
|
2016
|
+
box-sizing: border-box;
|
|
2011
2017
|
position: fixed;
|
|
2012
2018
|
z-index: 100001;
|
|
2013
2019
|
background: #fff;
|
|
@@ -2017,6 +2023,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2017
2023
|
left: 0;
|
|
2018
2024
|
overflow: auto;
|
|
2019
2025
|
}
|
|
2026
|
+
.editor-post-publish-panel *,
|
|
2027
|
+
.editor-post-publish-panel *::before,
|
|
2028
|
+
.editor-post-publish-panel *::after {
|
|
2029
|
+
box-sizing: inherit;
|
|
2030
|
+
}
|
|
2020
2031
|
@media (min-width: 782px) {
|
|
2021
2032
|
.editor-post-publish-panel {
|
|
2022
2033
|
z-index: 99998;
|
|
@@ -2513,6 +2524,15 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2513
2524
|
display: none;
|
|
2514
2525
|
}
|
|
2515
2526
|
|
|
2527
|
+
.editor-sidebar {
|
|
2528
|
+
box-sizing: border-box;
|
|
2529
|
+
}
|
|
2530
|
+
.editor-sidebar *,
|
|
2531
|
+
.editor-sidebar *::before,
|
|
2532
|
+
.editor-sidebar *::after {
|
|
2533
|
+
box-sizing: inherit;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2516
2536
|
.editor-site-discussion-dropdown__content .components-popover__content {
|
|
2517
2537
|
min-width: 320px;
|
|
2518
2538
|
padding: 16px;
|
|
@@ -2588,11 +2608,17 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2588
2608
|
}
|
|
2589
2609
|
|
|
2590
2610
|
.editor-text-editor {
|
|
2611
|
+
box-sizing: border-box;
|
|
2591
2612
|
position: relative;
|
|
2592
2613
|
width: 100%;
|
|
2593
2614
|
background-color: #fff;
|
|
2594
2615
|
flex-grow: 1;
|
|
2595
2616
|
}
|
|
2617
|
+
.editor-text-editor *,
|
|
2618
|
+
.editor-text-editor *::before,
|
|
2619
|
+
.editor-text-editor *::after {
|
|
2620
|
+
box-sizing: inherit;
|
|
2621
|
+
}
|
|
2596
2622
|
.editor-text-editor .editor-post-title:not(.is-raw-text),
|
|
2597
2623
|
.editor-text-editor .editor-post-title.is-raw-text textarea {
|
|
2598
2624
|
max-width: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"AAYA;;;;;;;;;GASG;AACH,yDAIC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, clientId, context, bindings }: {
|
|
4
4
|
select: any;
|
|
5
5
|
clientId: any;
|
|
6
6
|
context: any;
|
|
7
7
|
bindings: any;
|
|
8
8
|
}): {};
|
|
9
|
-
|
|
9
|
+
setValues({ select, dispatch, clientId, bindings }: {
|
|
10
10
|
select: any;
|
|
11
11
|
dispatch: any;
|
|
12
12
|
clientId: any;
|
|
13
13
|
bindings: any;
|
|
14
14
|
}): void;
|
|
15
|
-
|
|
16
|
-
}
|
|
15
|
+
canUserEditValue: () => boolean;
|
|
16
|
+
};
|
|
17
17
|
export default _default;
|
|
18
18
|
//# sourceMappingURL=pattern-overrides.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/bindings/pattern-overrides.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/bindings/pattern-overrides.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, context, bindings }: {
|
|
4
|
+
select: any;
|
|
5
|
+
context: any;
|
|
6
|
+
bindings: any;
|
|
7
|
+
}): {};
|
|
8
|
+
setValues({ dispatch, context, bindings }: {
|
|
9
|
+
dispatch: any;
|
|
10
|
+
context: any;
|
|
11
|
+
bindings: any;
|
|
12
|
+
}): void;
|
|
13
|
+
canUserEditValue({ select, context, args }: {
|
|
14
|
+
select: any;
|
|
15
|
+
context: any;
|
|
16
|
+
args: any;
|
|
17
|
+
}): boolean;
|
|
18
|
+
getFieldsList({ select, context }: {
|
|
19
|
+
select: any;
|
|
20
|
+
context: any;
|
|
21
|
+
}): Object;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=post-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-data.d.ts","sourceRoot":"","sources":["../../src/bindings/post-data.js"],"names":[],"mappings":""}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, context, bindings }: {
|
|
4
4
|
select: any;
|
|
5
5
|
context: any;
|
|
6
6
|
bindings: any;
|
|
7
7
|
}): {};
|
|
8
|
-
|
|
8
|
+
setValues({ dispatch, context, bindings }: {
|
|
9
9
|
dispatch: any;
|
|
10
10
|
context: any;
|
|
11
11
|
bindings: any;
|
|
12
12
|
}): void;
|
|
13
|
-
|
|
13
|
+
canUserEditValue({ select, context, args }: {
|
|
14
14
|
select: any;
|
|
15
15
|
context: any;
|
|
16
16
|
args: any;
|
|
17
17
|
}): boolean;
|
|
18
|
-
|
|
18
|
+
getFieldsList({ select, context }: {
|
|
19
19
|
select: any;
|
|
20
20
|
context: any;
|
|
21
21
|
}): Object;
|
|
22
|
-
}
|
|
22
|
+
};
|
|
23
23
|
export default _default;
|
|
24
24
|
//# sourceMappingURL=post-meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":""}
|
|
@@ -3,56 +3,56 @@ export const textFormattingShortcuts: ({
|
|
|
3
3
|
modifier: string;
|
|
4
4
|
character: string;
|
|
5
5
|
};
|
|
6
|
-
description: import("@wordpress/i18n
|
|
6
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text bold.">;
|
|
7
7
|
aliases?: undefined;
|
|
8
8
|
} | {
|
|
9
9
|
keyCombination: {
|
|
10
10
|
modifier: string;
|
|
11
11
|
character: string;
|
|
12
12
|
};
|
|
13
|
-
description: import("@wordpress/i18n
|
|
13
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text italic.">;
|
|
14
14
|
aliases?: undefined;
|
|
15
15
|
} | {
|
|
16
16
|
keyCombination: {
|
|
17
17
|
modifier: string;
|
|
18
18
|
character: string;
|
|
19
19
|
};
|
|
20
|
-
description: import("@wordpress/i18n
|
|
20
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the selected text into a link.">;
|
|
21
21
|
aliases?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
keyCombination: {
|
|
24
24
|
modifier: string;
|
|
25
25
|
character: string;
|
|
26
26
|
};
|
|
27
|
-
description: import("@wordpress/i18n
|
|
27
|
+
description: import("@wordpress/i18n").TranslatableText<"Remove a link.">;
|
|
28
28
|
aliases?: undefined;
|
|
29
29
|
} | {
|
|
30
30
|
keyCombination: {
|
|
31
31
|
character: string;
|
|
32
32
|
modifier?: undefined;
|
|
33
33
|
};
|
|
34
|
-
description: import("@wordpress/i18n
|
|
34
|
+
description: import("@wordpress/i18n").TranslatableText<"Insert a link to a post or page.">;
|
|
35
35
|
aliases?: undefined;
|
|
36
36
|
} | {
|
|
37
37
|
keyCombination: {
|
|
38
38
|
modifier: string;
|
|
39
39
|
character: string;
|
|
40
40
|
};
|
|
41
|
-
description: import("@wordpress/i18n
|
|
41
|
+
description: import("@wordpress/i18n").TranslatableText<"Underline the selected text.">;
|
|
42
42
|
aliases?: undefined;
|
|
43
43
|
} | {
|
|
44
44
|
keyCombination: {
|
|
45
45
|
modifier: string;
|
|
46
46
|
character: string;
|
|
47
47
|
};
|
|
48
|
-
description: import("@wordpress/i18n
|
|
48
|
+
description: import("@wordpress/i18n").TranslatableText<"Strikethrough the selected text.">;
|
|
49
49
|
aliases?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
keyCombination: {
|
|
52
52
|
modifier: string;
|
|
53
53
|
character: string;
|
|
54
54
|
};
|
|
55
|
-
description: import("@wordpress/i18n
|
|
55
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text inline code.">;
|
|
56
56
|
aliases?: undefined;
|
|
57
57
|
} | {
|
|
58
58
|
keyCombination: {
|
|
@@ -63,20 +63,20 @@ export const textFormattingShortcuts: ({
|
|
|
63
63
|
modifier: string;
|
|
64
64
|
character: string;
|
|
65
65
|
}[];
|
|
66
|
-
description: import("@wordpress/i18n
|
|
66
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the current heading to a paragraph.">;
|
|
67
67
|
} | {
|
|
68
68
|
keyCombination: {
|
|
69
69
|
modifier: string;
|
|
70
70
|
character: string;
|
|
71
71
|
};
|
|
72
|
-
description: import("@wordpress/i18n
|
|
72
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the current paragraph or heading to a heading of level 1 to 6.">;
|
|
73
73
|
aliases?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
keyCombination: {
|
|
76
76
|
modifier: string;
|
|
77
77
|
character: string;
|
|
78
78
|
};
|
|
79
|
-
description: import("@wordpress/i18n
|
|
79
|
+
description: import("@wordpress/i18n").TranslatableText<"Add non breaking space.">;
|
|
80
80
|
aliases?: undefined;
|
|
81
81
|
})[];
|
|
82
82
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media-categories/index.js"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media-categories/index.js"],"names":[],"mappings":";;;;AAgJA,sCAAsC;AACtC,uCADW,qBAAqB,EAAE,CAkFhC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function useSetAsHomepageAction(): {
|
|
2
2
|
id: string;
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Set as homepage">;
|
|
4
4
|
isEligible(post: any): boolean;
|
|
5
5
|
modalFocusOnMount: string;
|
|
6
6
|
RenderModal: ({ items, closeModal }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function useSetAsPostsPageAction(): {
|
|
2
2
|
id: string;
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Set as posts page">;
|
|
4
4
|
isEligible(post: any): boolean;
|
|
5
5
|
modalFocusOnMount: string;
|
|
6
6
|
RenderModal: ({ items, closeModal }: {
|
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
export default function PostFormat(): React.ReactNode;
|
|
12
12
|
export const POST_FORMATS: ({
|
|
13
13
|
id: string;
|
|
14
|
-
caption: import("@wordpress/i18n
|
|
14
|
+
caption: import("@wordpress/i18n").TranslatableText<"Aside">;
|
|
15
15
|
} | {
|
|
16
16
|
id: string;
|
|
17
|
-
caption: import("@wordpress/i18n
|
|
17
|
+
caption: import("@wordpress/i18n").TranslatableText<"Audio">;
|
|
18
18
|
} | {
|
|
19
19
|
id: string;
|
|
20
|
-
caption: import("@wordpress/i18n
|
|
20
|
+
caption: import("@wordpress/i18n").TranslatableText<"Chat">;
|
|
21
21
|
} | {
|
|
22
22
|
id: string;
|
|
23
|
-
caption: import("@wordpress/i18n
|
|
23
|
+
caption: import("@wordpress/i18n").TranslatableText<"Gallery">;
|
|
24
24
|
} | {
|
|
25
25
|
id: string;
|
|
26
|
-
caption: import("@wordpress/i18n
|
|
26
|
+
caption: import("@wordpress/i18n").TranslatableText<"Image">;
|
|
27
27
|
} | {
|
|
28
28
|
id: string;
|
|
29
|
-
caption: import("@wordpress/i18n
|
|
29
|
+
caption: import("@wordpress/i18n").TranslatableText<"Link">;
|
|
30
30
|
} | {
|
|
31
31
|
id: string;
|
|
32
|
-
caption: import("@wordpress/i18n
|
|
32
|
+
caption: import("@wordpress/i18n").TranslatableText<"Quote">;
|
|
33
33
|
} | {
|
|
34
34
|
id: string;
|
|
35
|
-
caption: import("@wordpress/i18n
|
|
35
|
+
caption: import("@wordpress/i18n").TranslatableText<"Standard">;
|
|
36
36
|
} | {
|
|
37
37
|
id: string;
|
|
38
|
-
caption: import("@wordpress/i18n
|
|
38
|
+
caption: import("@wordpress/i18n").TranslatableText<"Status">;
|
|
39
39
|
} | {
|
|
40
40
|
id: string;
|
|
41
|
-
caption: import("@wordpress/i18n
|
|
41
|
+
caption: import("@wordpress/i18n").TranslatableText<"Video">;
|
|
42
42
|
})[];
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export default function PostStatus(): import("react").JSX.Element | null;
|
|
2
2
|
export const STATUS_OPTIONS: ({
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Draft">;
|
|
4
4
|
value: string;
|
|
5
|
-
description: import("@wordpress/i18n
|
|
5
|
+
description: import("@wordpress/i18n").TranslatableText<"Not ready to publish.">;
|
|
6
6
|
} | {
|
|
7
|
-
label: import("@wordpress/i18n
|
|
7
|
+
label: import("@wordpress/i18n").TranslatableText<"Pending">;
|
|
8
8
|
value: string;
|
|
9
|
-
description: import("@wordpress/i18n
|
|
9
|
+
description: import("@wordpress/i18n").TranslatableText<"Waiting for review before publishing.">;
|
|
10
10
|
} | {
|
|
11
|
-
label: import("@wordpress/i18n
|
|
11
|
+
label: import("@wordpress/i18n").TranslatableText<"Private">;
|
|
12
12
|
value: string;
|
|
13
|
-
description: import("@wordpress/i18n
|
|
13
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to site admins and editors.">;
|
|
14
14
|
} | {
|
|
15
|
-
label: import("@wordpress/i18n
|
|
15
|
+
label: import("@wordpress/i18n").TranslatableText<"Scheduled">;
|
|
16
16
|
value: string;
|
|
17
|
-
description: import("@wordpress/i18n
|
|
17
|
+
description: import("@wordpress/i18n").TranslatableText<"Publish automatically on a chosen date.">;
|
|
18
18
|
} | {
|
|
19
|
-
label: import("@wordpress/i18n
|
|
19
|
+
label: import("@wordpress/i18n").TranslatableText<"Published">;
|
|
20
20
|
value: string;
|
|
21
|
-
description: import("@wordpress/i18n
|
|
21
|
+
description: import("@wordpress/i18n").TranslatableText<"Visible to everyone.">;
|
|
22
22
|
})[];
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const VISIBILITY_OPTIONS: ({
|
|
2
|
-
label: import("@wordpress/i18n
|
|
2
|
+
label: import("@wordpress/i18n").TranslatableText<"Public">;
|
|
3
3
|
value: string;
|
|
4
|
-
description: import("@wordpress/i18n
|
|
4
|
+
description: import("@wordpress/i18n").TranslatableText<"Visible to everyone.">;
|
|
5
5
|
} | {
|
|
6
|
-
label: import("@wordpress/i18n
|
|
6
|
+
label: import("@wordpress/i18n").TranslatableText<"Private">;
|
|
7
7
|
value: string;
|
|
8
|
-
description: import("@wordpress/i18n
|
|
8
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to site admins and editors.">;
|
|
9
9
|
} | {
|
|
10
|
-
label: import("@wordpress/i18n
|
|
10
|
+
label: import("@wordpress/i18n").TranslatableText<"Password protected">;
|
|
11
11
|
value: string;
|
|
12
|
-
description: import("@wordpress/i18n
|
|
12
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to those who know the password.">;
|
|
13
13
|
})[];
|
|
14
14
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AAmGA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CAwQjB"}
|