@wordpress/editor 14.19.0 → 14.20.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.
Files changed (121) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/commands/index.js +1 -1
  3. package/build/components/commands/index.js.map +1 -1
  4. package/build/components/document-bar/index.js +3 -2
  5. package/build/components/document-bar/index.js.map +1 -1
  6. package/build/components/document-outline/index.js +21 -1
  7. package/build/components/document-outline/index.js.map +1 -1
  8. package/build/components/document-outline/item.js +32 -20
  9. package/build/components/document-outline/item.js.map +1 -1
  10. package/build/components/entities-saved-states/entity-record-item.js +2 -2
  11. package/build/components/entities-saved-states/entity-record-item.js.map +1 -1
  12. package/build/components/post-actions/actions.js +10 -8
  13. package/build/components/post-actions/actions.js.map +1 -1
  14. package/build/components/post-card-panel/index.js +3 -3
  15. package/build/components/post-card-panel/index.js.map +1 -1
  16. package/build/components/post-publish-panel/maybe-category-panel.js +19 -3
  17. package/build/components/post-publish-panel/maybe-category-panel.js.map +1 -1
  18. package/build/components/post-publish-panel/maybe-tags-panel.js +16 -6
  19. package/build/components/post-publish-panel/maybe-tags-panel.js.map +1 -1
  20. package/build/components/post-status/index.js +1 -1
  21. package/build/components/post-status/index.js.map +1 -1
  22. package/build/components/post-sticky/index.js +1 -1
  23. package/build/components/post-sticky/index.js.map +1 -1
  24. package/build/components/post-template/hooks.js +6 -5
  25. package/build/components/post-template/hooks.js.map +1 -1
  26. package/build/components/post-template/swap-template-button.js +2 -3
  27. package/build/components/post-template/swap-template-button.js.map +1 -1
  28. package/build/components/post-visibility/index.js +39 -109
  29. package/build/components/post-visibility/index.js.map +1 -1
  30. package/build/components/post-visibility/label.js +2 -2
  31. package/build/components/post-visibility/label.js.map +1 -1
  32. package/build/components/post-visibility/utils.js +14 -15
  33. package/build/components/post-visibility/utils.js.map +1 -1
  34. package/build/components/provider/index.js +7 -4
  35. package/build/components/provider/index.js.map +1 -1
  36. package/build/store/private-selectors.js +1 -1
  37. package/build/store/private-selectors.js.map +1 -1
  38. package/build/store/selectors.js +8 -7
  39. package/build/store/selectors.js.map +1 -1
  40. package/build-module/components/commands/index.js +1 -1
  41. package/build-module/components/commands/index.js.map +1 -1
  42. package/build-module/components/document-bar/index.js +3 -2
  43. package/build-module/components/document-bar/index.js.map +1 -1
  44. package/build-module/components/document-outline/index.js +21 -1
  45. package/build-module/components/document-outline/index.js.map +1 -1
  46. package/build-module/components/document-outline/item.js +32 -20
  47. package/build-module/components/document-outline/item.js.map +1 -1
  48. package/build-module/components/entities-saved-states/entity-record-item.js +2 -2
  49. package/build-module/components/entities-saved-states/entity-record-item.js.map +1 -1
  50. package/build-module/components/post-actions/actions.js +10 -8
  51. package/build-module/components/post-actions/actions.js.map +1 -1
  52. package/build-module/components/post-card-panel/index.js +3 -3
  53. package/build-module/components/post-card-panel/index.js.map +1 -1
  54. package/build-module/components/post-publish-panel/maybe-category-panel.js +19 -3
  55. package/build-module/components/post-publish-panel/maybe-category-panel.js.map +1 -1
  56. package/build-module/components/post-publish-panel/maybe-tags-panel.js +16 -6
  57. package/build-module/components/post-publish-panel/maybe-tags-panel.js.map +1 -1
  58. package/build-module/components/post-status/index.js +1 -1
  59. package/build-module/components/post-status/index.js.map +1 -1
  60. package/build-module/components/post-sticky/index.js +1 -1
  61. package/build-module/components/post-sticky/index.js.map +1 -1
  62. package/build-module/components/post-template/hooks.js +6 -5
  63. package/build-module/components/post-template/hooks.js.map +1 -1
  64. package/build-module/components/post-template/swap-template-button.js +2 -3
  65. package/build-module/components/post-template/swap-template-button.js.map +1 -1
  66. package/build-module/components/post-visibility/index.js +41 -111
  67. package/build-module/components/post-visibility/index.js.map +1 -1
  68. package/build-module/components/post-visibility/label.js +3 -3
  69. package/build-module/components/post-visibility/label.js.map +1 -1
  70. package/build-module/components/post-visibility/utils.js +13 -14
  71. package/build-module/components/post-visibility/utils.js.map +1 -1
  72. package/build-module/components/provider/index.js +7 -4
  73. package/build-module/components/provider/index.js.map +1 -1
  74. package/build-module/store/private-selectors.js +1 -1
  75. package/build-module/store/private-selectors.js.map +1 -1
  76. package/build-module/store/selectors.js +8 -7
  77. package/build-module/store/selectors.js.map +1 -1
  78. package/build-style/style-rtl.css +4 -138
  79. package/build-style/style.css +4 -138
  80. package/build-types/components/document-outline/index.d.ts.map +1 -1
  81. package/build-types/components/document-outline/item.d.ts +2 -1
  82. package/build-types/components/document-outline/item.d.ts.map +1 -1
  83. package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
  84. package/build-types/components/post-actions/actions.d.ts.map +1 -1
  85. package/build-types/components/post-publish-panel/maybe-category-panel.d.ts.map +1 -1
  86. package/build-types/components/post-publish-panel/maybe-tags-panel.d.ts.map +1 -1
  87. package/build-types/components/post-template/hooks.d.ts.map +1 -1
  88. package/build-types/components/post-template/swap-template-button.d.ts +1 -1
  89. package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
  90. package/build-types/components/post-visibility/index.d.ts.map +1 -1
  91. package/build-types/components/post-visibility/label.d.ts.map +1 -1
  92. package/build-types/components/post-visibility/utils.d.ts +5 -20
  93. package/build-types/components/post-visibility/utils.d.ts.map +1 -1
  94. package/build-types/components/provider/index.d.ts.map +1 -1
  95. package/build-types/store/private-selectors.d.ts.map +1 -1
  96. package/build-types/store/selectors.d.ts.map +1 -1
  97. package/package.json +37 -37
  98. package/src/components/autocompleters/style.scss +2 -3
  99. package/src/components/commands/index.js +1 -1
  100. package/src/components/document-bar/index.js +2 -2
  101. package/src/components/document-outline/index.js +27 -1
  102. package/src/components/document-outline/item.js +38 -23
  103. package/src/components/document-outline/style.scss +2 -0
  104. package/src/components/entities-saved-states/entity-record-item.js +1 -4
  105. package/src/components/post-actions/actions.js +13 -8
  106. package/src/components/post-card-panel/index.js +2 -2
  107. package/src/components/post-publish-panel/maybe-category-panel.js +20 -5
  108. package/src/components/post-publish-panel/maybe-tags-panel.js +39 -22
  109. package/src/components/post-status/index.js +1 -1
  110. package/src/components/post-sticky/index.js +1 -1
  111. package/src/components/post-template/hooks.js +12 -8
  112. package/src/components/post-template/swap-template-button.js +6 -4
  113. package/src/components/post-visibility/index.js +41 -118
  114. package/src/components/post-visibility/label.js +7 -4
  115. package/src/components/post-visibility/utils.js +11 -8
  116. package/src/components/provider/index.js +9 -4
  117. package/src/store/private-selectors.js +2 -4
  118. package/src/store/selectors.js +9 -14
  119. package/src/style.scss +0 -1
  120. package/tsconfig.tsbuildinfo +1 -1
  121. package/src/components/post-visibility/style.scss +0 -27
@@ -467,7 +467,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
467
467
  }
468
468
  .editor-autocompleters__user .editor-autocompleters__user-slug {
469
469
  margin-left: 8px;
470
- color: #757575;
471
470
  white-space: nowrap;
472
471
  text-overflow: ellipsis;
473
472
  overflow: none;
@@ -475,8 +474,8 @@ body.is-fullscreen-mode .interface-interface-skeleton {
475
474
  flex-grow: 0;
476
475
  flex-shrink: 0;
477
476
  }
478
- .editor-autocompleters__user:hover .editor-autocompleters__user-slug {
479
- color: var(--wp-admin-theme-color);
477
+ .editor-autocompleters__user:not(.is-primary) .editor-autocompleters__user-slug {
478
+ color: #757575;
480
479
  }
481
480
 
482
481
  .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
@@ -819,8 +818,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
819
818
  text-align: left;
820
819
  border-radius: 2px;
821
820
  }
822
- .document-outline__button:disabled {
821
+ .document-outline__button[aria-disabled=true], .document-outline__button:disabled {
823
822
  cursor: default;
823
+ color: #757575;
824
824
  }
825
825
  .document-outline__button:focus {
826
826
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -2177,140 +2177,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2177
2177
  display: block;
2178
2178
  }
2179
2179
 
2180
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
2181
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2182
- padding: 6px 8px;
2183
- box-shadow: 0 0 0 transparent;
2184
- border-radius: 2px;
2185
- border: 1px solid #949494;
2186
- /* Fonts smaller than 16px causes mobile safari to zoom. */
2187
- font-size: 16px;
2188
- /* Override core line-height. To be reviewed. */
2189
- line-height: normal;
2190
- border: 1px solid #1e1e1e;
2191
- margin-right: 12px;
2192
- transition: none;
2193
- border-radius: 50%;
2194
- width: 24px;
2195
- height: 24px;
2196
- min-width: 24px;
2197
- max-width: 24px;
2198
- position: relative;
2199
- margin-top: 2px;
2200
- }
2201
- @media not (prefers-reduced-motion) {
2202
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
2203
- transition: box-shadow 0.1s linear;
2204
- }
2205
- }
2206
- @media (min-width: 600px) {
2207
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
2208
- font-size: 13px;
2209
- /* Override core line-height. To be reviewed. */
2210
- line-height: normal;
2211
- }
2212
- }
2213
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:focus {
2214
- border-color: var(--wp-admin-theme-color);
2215
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2216
- outline: 2px solid transparent;
2217
- }
2218
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-webkit-input-placeholder {
2219
- color: rgba(30, 30, 30, 0.62);
2220
- }
2221
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-moz-placeholder {
2222
- color: rgba(30, 30, 30, 0.62);
2223
- }
2224
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:-ms-input-placeholder {
2225
- color: rgba(30, 30, 30, 0.62);
2226
- }
2227
- @media (min-width: 600px) {
2228
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
2229
- height: 16px;
2230
- width: 16px;
2231
- min-width: 16px;
2232
- max-width: 16px;
2233
- }
2234
- }
2235
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked::before {
2236
- box-sizing: inherit;
2237
- width: 12px;
2238
- height: 12px;
2239
- position: absolute;
2240
- top: 50%;
2241
- left: 50%;
2242
- transform: translate(-50%, -50%);
2243
- margin: 0;
2244
- background-color: #fff;
2245
- border: 4px solid #fff;
2246
- }
2247
- @media (min-width: 600px) {
2248
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked::before {
2249
- width: 8px;
2250
- height: 8px;
2251
- }
2252
- }
2253
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:focus {
2254
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
2255
- outline: 2px solid transparent;
2256
- }
2257
- .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked {
2258
- background: var(--wp-admin-theme-color);
2259
- border: none;
2260
- }
2261
- .editor-post-visibility__fieldset .editor-post-visibility__info {
2262
- color: #757575;
2263
- margin-left: 36px;
2264
- margin-top: 0.5em;
2265
- }
2266
- @media (min-width: 600px) {
2267
- .editor-post-visibility__fieldset .editor-post-visibility__info {
2268
- margin-left: 28px;
2269
- }
2270
- }
2271
- .editor-post-visibility__fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__info {
2272
- margin-bottom: 0;
2273
- }
2274
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text] {
2275
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2276
- padding: 6px 8px;
2277
- box-shadow: 0 0 0 transparent;
2278
- border-radius: 2px;
2279
- border: 1px solid #949494;
2280
- /* Fonts smaller than 16px causes mobile safari to zoom. */
2281
- font-size: 16px;
2282
- /* Override core line-height. To be reviewed. */
2283
- line-height: normal;
2284
- margin-left: 32px;
2285
- width: calc(100% - 32px);
2286
- }
2287
- @media not (prefers-reduced-motion) {
2288
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text] {
2289
- transition: box-shadow 0.1s linear;
2290
- }
2291
- }
2292
- @media (min-width: 600px) {
2293
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text] {
2294
- font-size: 13px;
2295
- /* Override core line-height. To be reviewed. */
2296
- line-height: normal;
2297
- }
2298
- }
2299
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:focus {
2300
- border-color: var(--wp-admin-theme-color);
2301
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2302
- outline: 2px solid transparent;
2303
- }
2304
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-webkit-input-placeholder {
2305
- color: rgba(30, 30, 30, 0.62);
2306
- }
2307
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-moz-placeholder {
2308
- color: rgba(30, 30, 30, 0.62);
2309
- }
2310
- .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:-ms-input-placeholder {
2311
- color: rgba(30, 30, 30, 0.62);
2312
- }
2313
-
2314
2180
  .editor-posts-per-page-dropdown__content .components-popover__content {
2315
2181
  min-width: 320px;
2316
2182
  padding: 16px;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAkGA;;;;;;;;GAQG;AACH,gFALG;IAAwB,QAAQ;IACR,uBAAuB,EAAvC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAsH1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAkGA;;;;;;;;GAQG;AACH,gFALG;IAAwB,QAAQ;IACR,uBAAuB,EAAvC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAgJ1B"}
@@ -1,7 +1,8 @@
1
1
  export default TableOfContentsItem;
2
- declare function TableOfContentsItem({ children, isValid, level, href, onSelect, }: {
2
+ declare function TableOfContentsItem({ children, isValid, isDisabled, level, href, onSelect, }: {
3
3
  children: any;
4
4
  isValid: any;
5
+ isDisabled: any;
5
6
  level: any;
6
7
  href: any;
7
8
  onSelect: any;
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/item.js"],"names":[],"mappings":";AAKA;;;;;;gCA6BC"}
1
+ {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/item.js"],"names":[],"mappings":";AAKA;;;;;;;gCA4CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"entity-record-item.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-record-item.js"],"names":[],"mappings":"AAgBA;;;;gCA4DC"}
1
+ {"version":3,"file":"entity-record-item.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-record-item.js"],"names":[],"mappings":"AAgBA;;;;gCAyDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AAeA;;;;UAwHC"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AAeA;;;;UA6HC"}
@@ -1 +1 @@
1
- {"version":3,"file":"maybe-category-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-category-panel.js"],"names":[],"mappings":";AAeA,0EAqEC"}
1
+ {"version":3,"file":"maybe-category-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-category-panel.js"],"names":[],"mappings":";AAeA,0EAoFC"}
@@ -1 +1 @@
1
- {"version":3,"file":"maybe-tags-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-tags-panel.js"],"names":[],"mappings":";AAmCA,sEAyCC"}
1
+ {"version":3,"file":"maybe-tags-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-tags-panel.js"],"names":[],"mappings":";AAmCA,sEA0DC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA0BC;AAaD,yuEAeC;AAED,8CAuBC"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA8BC;AAaD,yuEAeC;AAED,8CAuBC"}
@@ -1,4 +1,4 @@
1
1
  export default function SwapTemplateButton({ onClick }: {
2
2
  onClick: any;
3
- }): import("react").JSX.Element | null;
3
+ }): import("react").JSX.Element;
4
4
  //# sourceMappingURL=swap-template-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAiBA;;uCAyCC"}
1
+ {"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAiBA;;gCA2CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/index.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,oDAHG;IAAwB,OAAO;CAC/B,GAAS,KAAK,CAAC,SAAS,CAqH1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/index.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,oDAHG;IAAwB,OAAO;CAC/B,GAAS,KAAK,CAAC,SAAS,CAmE1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/label.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,+CAFY,MAAM,CAIjB;AAED;;;;GAIG;AACH,0CAFY,MAAM,CAOjB"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/label.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,+CAFY,MAAM,CAIjB;AAED;;;;GAIG;AACH,0CAFY,MAAM,CAUjB"}
@@ -1,21 +1,6 @@
1
- export namespace visibilityOptions {
2
- export namespace _public {
3
- let label: string;
4
- let info: string;
5
- }
6
- export { _public as public };
7
- export namespace _private {
8
- let label_1: string;
9
- export { label_1 as label };
10
- let info_1: string;
11
- export { info_1 as info };
12
- }
13
- export { _private as private };
14
- export namespace password {
15
- let label_2: string;
16
- export { label_2 as label };
17
- let info_2: string;
18
- export { info_2 as info };
19
- }
20
- }
1
+ export const VISIBILITY_OPTIONS: {
2
+ label: string;
3
+ value: string;
4
+ description: string;
5
+ }[];
21
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/utils.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/utils.js"],"names":[],"mappings":"AAKA;;;;IAgBE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAoYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AA1SD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAuOE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAyYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AA/SD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GA4OE"}
@@ -1 +1 @@
1
- {"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAsFA,sDAEC;AACD,6DAEC;AAwFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAnJD;;;;;;GAMG;AACH;;;;EAmCE;AAeF;;;;EAuCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAyCE"}
1
+ {"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAsFA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAjJD;;;;;;GAMG;AACH;;;;EAmCE;AAeF;;;;EAqCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAyCE"}
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0CATW,MAAM,GAOL,MAAM,CAIjB;AAED;;;;;;;GAOG;AACH,wCAJW,MAAM,GAEJ,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,GAEJ,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,oDAJW,MAAM,GAEL,MAAM,CAMjB;AAED;;;;;;;GAOG;AACH,o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;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAAuE;AAEvE;;GAEG;AACH;;;;EAAuE;AAEvE;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAA+E;AAE/E;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EACgD;AAEhD;;GAEG;AACH;;;;EAAqE;AAErE;;GAEG;AACH;;;;EAA6D;AAE7D;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EAAmE;AAEnE;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EACgD;AAEhD;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAEE;AAEF;;;;EAaE;AAEF;;;;;;GAMG;AACH;;;;EAoBE;AAEF;;;;;;;GAOG;AACH;;;;EAwBE;AAEF;;;;;;;GAOG;AACH;;;;EAyBE;AAEF;;;;;;GAMG;AACH;;;;EAQE;;;;;;;;cA3mBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0CATW,MAAM,GAOL,MAAM,CAIjB;AAED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EF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAAuE;AAEvE;;GAEG;AACH;;;;EAAuE;AAEvE;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAA+E;AAE/E;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EACgD;AAEhD;;GAEG;AACH;;;;EAAqE;AAErE;;GAEG;AACH;;;;EAA6D;AAE7D;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EAAmE;AAEnE;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EACgD;AAEhD;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAEE;AAEF;;;;EAYE;AAEF;;;;;;GAMG;AACH;;;;EAoBE;AAEF;;;;;;;GAOG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAuBE;AAEF;;;;;;GAMG;AACH;;;;EAQE;;;;;;;;cAtmBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/editor",
3
- "version": "14.19.0",
3
+ "version": "14.20.0",
4
4
  "description": "Enhanced block editor for WordPress posts.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -34,41 +34,41 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@babel/runtime": "7.25.7",
37
- "@wordpress/a11y": "^4.19.0",
38
- "@wordpress/api-fetch": "^7.19.0",
39
- "@wordpress/blob": "^4.19.0",
40
- "@wordpress/block-editor": "^14.14.0",
41
- "@wordpress/blocks": "^14.8.0",
42
- "@wordpress/commands": "^1.19.0",
43
- "@wordpress/components": "^29.5.0",
44
- "@wordpress/compose": "^7.19.0",
45
- "@wordpress/core-data": "^7.19.0",
46
- "@wordpress/data": "^10.19.0",
47
- "@wordpress/dataviews": "^4.15.0",
48
- "@wordpress/date": "^5.19.0",
49
- "@wordpress/deprecated": "^4.19.0",
50
- "@wordpress/dom": "^4.19.0",
51
- "@wordpress/element": "^6.19.0",
52
- "@wordpress/fields": "^0.11.0",
53
- "@wordpress/hooks": "^4.19.0",
54
- "@wordpress/html-entities": "^4.19.0",
55
- "@wordpress/i18n": "^5.19.0",
56
- "@wordpress/icons": "^10.19.0",
57
- "@wordpress/interface": "^9.4.0",
58
- "@wordpress/keyboard-shortcuts": "^5.19.0",
59
- "@wordpress/keycodes": "^4.19.0",
60
- "@wordpress/media-utils": "^5.19.0",
61
- "@wordpress/notices": "^5.19.0",
62
- "@wordpress/patterns": "^2.19.0",
63
- "@wordpress/plugins": "^7.19.0",
64
- "@wordpress/preferences": "^4.19.0",
65
- "@wordpress/private-apis": "^1.19.0",
66
- "@wordpress/reusable-blocks": "^5.19.0",
67
- "@wordpress/rich-text": "^7.19.0",
68
- "@wordpress/server-side-render": "^5.19.0",
69
- "@wordpress/url": "^4.19.0",
70
- "@wordpress/warning": "^3.19.0",
71
- "@wordpress/wordcount": "^4.19.0",
37
+ "@wordpress/a11y": "^4.20.0",
38
+ "@wordpress/api-fetch": "^7.20.0",
39
+ "@wordpress/blob": "^4.20.0",
40
+ "@wordpress/block-editor": "^14.15.0",
41
+ "@wordpress/blocks": "^14.9.0",
42
+ "@wordpress/commands": "^1.20.0",
43
+ "@wordpress/components": "^29.6.0",
44
+ "@wordpress/compose": "^7.20.0",
45
+ "@wordpress/core-data": "^7.20.0",
46
+ "@wordpress/data": "^10.20.0",
47
+ "@wordpress/dataviews": "^4.16.0",
48
+ "@wordpress/date": "^5.20.0",
49
+ "@wordpress/deprecated": "^4.20.0",
50
+ "@wordpress/dom": "^4.20.0",
51
+ "@wordpress/element": "^6.20.0",
52
+ "@wordpress/fields": "^0.12.0",
53
+ "@wordpress/hooks": "^4.20.0",
54
+ "@wordpress/html-entities": "^4.20.0",
55
+ "@wordpress/i18n": "^5.20.0",
56
+ "@wordpress/icons": "^10.20.0",
57
+ "@wordpress/interface": "^9.5.0",
58
+ "@wordpress/keyboard-shortcuts": "^5.20.0",
59
+ "@wordpress/keycodes": "^4.20.0",
60
+ "@wordpress/media-utils": "^5.20.0",
61
+ "@wordpress/notices": "^5.20.0",
62
+ "@wordpress/patterns": "^2.20.0",
63
+ "@wordpress/plugins": "^7.20.0",
64
+ "@wordpress/preferences": "^4.20.0",
65
+ "@wordpress/private-apis": "^1.20.0",
66
+ "@wordpress/reusable-blocks": "^5.20.0",
67
+ "@wordpress/rich-text": "^7.20.0",
68
+ "@wordpress/server-side-render": "^5.20.0",
69
+ "@wordpress/url": "^4.20.0",
70
+ "@wordpress/warning": "^3.20.0",
71
+ "@wordpress/wordcount": "^4.20.0",
72
72
  "change-case": "^4.1.2",
73
73
  "client-zip": "^2.4.5",
74
74
  "clsx": "^2.1.1",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "gitHead": "d6b0b20fa927b110140dc7fdd906a7e0bf662004"
91
+ "gitHead": "72476970386146d450c375e5c71a96dda7c9aaa8"
92
92
  }
@@ -24,7 +24,6 @@
24
24
  }
25
25
  .editor-autocompleters__user-slug {
26
26
  margin-left: 8px;
27
- color: $gray-700;
28
27
  white-space: nowrap;
29
28
  text-overflow: ellipsis;
30
29
  overflow: none;
@@ -32,7 +31,7 @@
32
31
  flex-grow: 0;
33
32
  flex-shrink: 0;
34
33
  }
35
- &:hover .editor-autocompleters__user-slug {
36
- color: var(--wp-admin-theme-color);
34
+ &:not(.is-primary) .editor-autocompleters__user-slug {
35
+ color: $gray-700;
37
36
  }
38
37
  }
@@ -223,7 +223,7 @@ const getEditorCommandLoader = () =>
223
223
 
224
224
  commands.push( {
225
225
  name: 'core/open-settings-sidebar',
226
- label: __( 'Show or hide the Settings panel.' ),
226
+ label: __( 'Show or hide the Settings panel' ),
227
227
  icon: isRTL() ? drawerLeft : drawerRight,
228
228
  callback: ( { close } ) => {
229
229
  const activeSidebar = getActiveComplementaryArea( 'core' );
@@ -74,6 +74,7 @@ export default function DocumentBar( props ) {
74
74
  const {
75
75
  getEditedEntityRecord,
76
76
  getPostType,
77
+ getCurrentTheme,
77
78
  isResolving: isResolvingSelector,
78
79
  } = select( coreStore );
79
80
  const _postType = getCurrentPostType();
@@ -85,8 +86,7 @@ export default function DocumentBar( props ) {
85
86
  );
86
87
 
87
88
  const { default_template_types: templateTypes = [] } =
88
- select( coreStore ).getEntityRecord( 'root', '__unstableBase' ) ??
89
- {};
89
+ getCurrentTheme() ?? {};
90
90
 
91
91
  const _templateInfo = getTemplateInfo( {
92
92
  templateTypes,
@@ -127,6 +127,23 @@ export default function DocumentOutline( {
127
127
  // all compulations should happen in `computeOutlineHeadings`.
128
128
  return clientIds.map( ( id ) => getBlock( id ) );
129
129
  } );
130
+ const contentBlocks = useSelect( ( select ) => {
131
+ // When rendering in `post-only` mode all blocks are considered content blocks.
132
+ if ( select( editorStore ).getRenderingMode() === 'post-only' ) {
133
+ return undefined;
134
+ }
135
+
136
+ const { getBlocksByName, getClientIdsOfDescendants } =
137
+ select( blockEditorStore );
138
+ const [ postContentClientId ] = getBlocksByName( 'core/post-content' );
139
+
140
+ // Do nothing if there's no post content block.
141
+ if ( ! postContentClientId ) {
142
+ return undefined;
143
+ }
144
+
145
+ return getClientIdsOfDescendants( postContentClientId );
146
+ }, [] );
130
147
 
131
148
  const prevHeadingLevelRef = useRef( 1 );
132
149
 
@@ -160,6 +177,12 @@ export default function DocumentOutline( {
160
177
  );
161
178
  const hasMultipleH1 = countByLevel[ 1 ] > 1;
162
179
 
180
+ function isContentBlock( clientId ) {
181
+ return Array.isArray( contentBlocks )
182
+ ? contentBlocks.includes( clientId )
183
+ : true;
184
+ }
185
+
163
186
  return (
164
187
  <div className="document-outline">
165
188
  <ul>
@@ -193,7 +216,10 @@ export default function DocumentOutline( {
193
216
  key={ item.clientId }
194
217
  level={ `H${ item.level }` }
195
218
  isValid={ isValid }
196
- isDisabled={ hasOutlineItemsDisabled }
219
+ isDisabled={
220
+ hasOutlineItemsDisabled ||
221
+ ! isContentBlock( item.clientId )
222
+ }
197
223
  href={ `#block-${ item.clientId }` }
198
224
  onSelect={ () => {
199
225
  selectBlock( item.clientId );
@@ -6,32 +6,47 @@ import clsx from 'clsx';
6
6
  const TableOfContentsItem = ( {
7
7
  children,
8
8
  isValid,
9
+ isDisabled,
9
10
  level,
10
11
  href,
11
12
  onSelect,
12
- } ) => (
13
- <li
14
- className={ clsx(
15
- 'document-outline__item',
16
- `is-${ level.toLowerCase() }`,
17
- {
18
- 'is-invalid': ! isValid,
19
- }
20
- ) }
21
- >
22
- <a
23
- href={ href }
24
- className="document-outline__button"
25
- onClick={ onSelect }
13
+ } ) => {
14
+ function handleClick( event ) {
15
+ if ( isDisabled ) {
16
+ event.preventDefault();
17
+ return;
18
+ }
19
+ onSelect();
20
+ }
21
+
22
+ return (
23
+ <li
24
+ className={ clsx(
25
+ 'document-outline__item',
26
+ `is-${ level.toLowerCase() }`,
27
+ {
28
+ 'is-invalid': ! isValid,
29
+ 'is-disabled': isDisabled,
30
+ }
31
+ ) }
26
32
  >
27
- <span
28
- className="document-outline__emdash"
29
- aria-hidden="true"
30
- ></span>
31
- <strong className="document-outline__level">{ level }</strong>
32
- <span className="document-outline__item-content">{ children }</span>
33
- </a>
34
- </li>
35
- );
33
+ <a
34
+ href={ href }
35
+ className="document-outline__button"
36
+ aria-disabled={ isDisabled }
37
+ onClick={ handleClick }
38
+ >
39
+ <span
40
+ className="document-outline__emdash"
41
+ aria-hidden="true"
42
+ ></span>
43
+ <strong className="document-outline__level">{ level }</strong>
44
+ <span className="document-outline__item-content">
45
+ { children }
46
+ </span>
47
+ </a>
48
+ </li>
49
+ );
50
+ };
36
51
 
37
52
  export default TableOfContentsItem;
@@ -53,8 +53,10 @@
53
53
  text-align: left;
54
54
  border-radius: $radius-small;
55
55
 
56
+ &[aria-disabled="true"],
56
57
  &:disabled {
57
58
  cursor: default;
59
+ color: $gray-700;
58
60
  }
59
61
 
60
62
  &:focus {
@@ -36,10 +36,7 @@ export default function EntityRecordItem( { record, checked, onChange } ) {
36
36
  );
37
37
 
38
38
  const { default_template_types: templateTypes = [] } =
39
- select( coreStore ).getEntityRecord(
40
- 'root',
41
- '__unstableBase'
42
- ) ?? {};
39
+ select( coreStore ).getCurrentTheme() ?? {};
43
40
 
44
41
  return {
45
42
  entityRecordTitle: getTemplateInfo( {
@@ -26,21 +26,26 @@ export function usePostActions( { postType, onActionPerformed, context } ) {
26
26
 
27
27
  const { canManageOptions, hasFrontPageTemplate } = useSelect(
28
28
  ( select ) => {
29
- const { getEntityRecords } = select( coreStore );
30
- const templates = getEntityRecords( 'postType', 'wp_template', {
31
- per_page: -1,
29
+ const { getEntityRecords, canUser } = select( coreStore );
30
+ const canUpdateSettings = canUser( 'update', {
31
+ kind: 'root',
32
+ name: 'site',
32
33
  } );
34
+ const templates =
35
+ 'page' === postType && canUpdateSettings
36
+ ? getEntityRecords( 'postType', 'wp_template', {
37
+ per_page: -1,
38
+ } )
39
+ : [];
33
40
 
34
41
  return {
35
- canManageOptions: select( coreStore ).canUser( 'update', {
36
- kind: 'root',
37
- name: 'site',
38
- } ),
42
+ canManageOptions: canUpdateSettings,
39
43
  hasFrontPageTemplate: !! templates?.find(
40
44
  ( template ) => template?.slug === 'front-page'
41
45
  ),
42
46
  };
43
- }
47
+ },
48
+ [ postType ]
44
49
  );
45
50
 
46
51
  const setAsHomepageAction = useSetAsHomepageAction();
@@ -48,7 +48,7 @@ export default function PostCardPanel( {
48
48
  );
49
49
  const { postTitle, icon, labels } = useSelect(
50
50
  ( select ) => {
51
- const { getEditedEntityRecord, getEntityRecord, getPostType } =
51
+ const { getEditedEntityRecord, getCurrentTheme, getPostType } =
52
52
  select( coreStore );
53
53
  const { getPostIcon } = unlock( select( editorStore ) );
54
54
  let _title = '';
@@ -59,7 +59,7 @@ export default function PostCardPanel( {
59
59
  );
60
60
  if ( postIds.length === 1 ) {
61
61
  const { default_template_types: templateTypes = [] } =
62
- getEntityRecord( 'root', '__unstableBase' ) ?? {};
62
+ getCurrentTheme() ?? {};
63
63
 
64
64
  const _templateInfo = [
65
65
  TEMPLATE_POST_TYPE,