@wordpress/editor 14.18.0 → 14.19.1

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 (160) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +2 -0
  3. package/build/components/document-bar/index.js +3 -2
  4. package/build/components/document-bar/index.js.map +1 -1
  5. package/build/components/document-outline/index.js +37 -17
  6. package/build/components/document-outline/index.js.map +1 -1
  7. package/build/components/document-outline/item.js +32 -20
  8. package/build/components/document-outline/item.js.map +1 -1
  9. package/build/components/entities-saved-states/entity-record-item.js +4 -3
  10. package/build/components/entities-saved-states/entity-record-item.js.map +1 -1
  11. package/build/components/entities-saved-states/entity-type-list.js +2 -1
  12. package/build/components/entities-saved-states/entity-type-list.js.map +1 -1
  13. package/build/components/entities-saved-states/index.js +66 -42
  14. package/build/components/entities-saved-states/index.js.map +1 -1
  15. package/build/components/post-actions/index.js +19 -28
  16. package/build/components/post-actions/index.js.map +1 -1
  17. package/build/components/post-card-panel/index.js +5 -5
  18. package/build/components/post-card-panel/index.js.map +1 -1
  19. package/build/components/post-featured-image/index.js +4 -2
  20. package/build/components/post-featured-image/index.js.map +1 -1
  21. package/build/components/post-template/block-theme.js +68 -48
  22. package/build/components/post-template/block-theme.js.map +1 -1
  23. package/build/components/post-template/classic-theme.js +30 -18
  24. package/build/components/post-template/classic-theme.js.map +1 -1
  25. package/build/components/post-template/create-new-template-modal.js +3 -1
  26. package/build/components/post-template/create-new-template-modal.js.map +1 -1
  27. package/build/components/post-template/panel.js +3 -11
  28. package/build/components/post-template/panel.js.map +1 -1
  29. package/build/components/preferences-modal/block-visibility.js +2 -1
  30. package/build/components/preferences-modal/block-visibility.js.map +1 -1
  31. package/build/components/preferences-modal/index.js +1 -1
  32. package/build/components/preferences-modal/index.js.map +1 -1
  33. package/build/components/preview-dropdown/index.js +6 -3
  34. package/build/components/preview-dropdown/index.js.map +1 -1
  35. package/build/components/provider/index.js +19 -18
  36. package/build/components/provider/index.js.map +1 -1
  37. package/build/components/sidebar/header.js +1 -1
  38. package/build/components/sidebar/header.js.map +1 -1
  39. package/build/components/sidebar/index.js +1 -1
  40. package/build/components/sidebar/index.js.map +1 -1
  41. package/build/components/start-page-options/index.js +148 -23
  42. package/build/components/start-page-options/index.js.map +1 -1
  43. package/build/components/visual-editor/edit-template-blocks-notification.js +1 -1
  44. package/build/components/visual-editor/edit-template-blocks-notification.js.map +1 -1
  45. package/build/store/private-actions.js +29 -2
  46. package/build/store/private-actions.js.map +1 -1
  47. package/build/store/private-selectors.js +45 -1
  48. package/build/store/private-selectors.js.map +1 -1
  49. package/build/store/selectors.js +8 -7
  50. package/build/store/selectors.js.map +1 -1
  51. package/build/utils/media-upload/index.js +5 -2
  52. package/build/utils/media-upload/index.js.map +1 -1
  53. package/build-module/components/document-bar/index.js +3 -2
  54. package/build-module/components/document-bar/index.js.map +1 -1
  55. package/build-module/components/document-outline/index.js +38 -18
  56. package/build-module/components/document-outline/index.js.map +1 -1
  57. package/build-module/components/document-outline/item.js +32 -20
  58. package/build-module/components/document-outline/item.js.map +1 -1
  59. package/build-module/components/entities-saved-states/entity-record-item.js +4 -3
  60. package/build-module/components/entities-saved-states/entity-record-item.js.map +1 -1
  61. package/build-module/components/entities-saved-states/entity-type-list.js +2 -1
  62. package/build-module/components/entities-saved-states/entity-type-list.js.map +1 -1
  63. package/build-module/components/entities-saved-states/index.js +67 -43
  64. package/build-module/components/entities-saved-states/index.js.map +1 -1
  65. package/build-module/components/post-actions/index.js +19 -28
  66. package/build-module/components/post-actions/index.js.map +1 -1
  67. package/build-module/components/post-card-panel/index.js +5 -5
  68. package/build-module/components/post-card-panel/index.js.map +1 -1
  69. package/build-module/components/post-featured-image/index.js +4 -2
  70. package/build-module/components/post-featured-image/index.js.map +1 -1
  71. package/build-module/components/post-template/block-theme.js +68 -48
  72. package/build-module/components/post-template/block-theme.js.map +1 -1
  73. package/build-module/components/post-template/classic-theme.js +30 -18
  74. package/build-module/components/post-template/classic-theme.js.map +1 -1
  75. package/build-module/components/post-template/create-new-template-modal.js +3 -1
  76. package/build-module/components/post-template/create-new-template-modal.js.map +1 -1
  77. package/build-module/components/post-template/panel.js +3 -11
  78. package/build-module/components/post-template/panel.js.map +1 -1
  79. package/build-module/components/preferences-modal/block-visibility.js +2 -1
  80. package/build-module/components/preferences-modal/block-visibility.js.map +1 -1
  81. package/build-module/components/preferences-modal/index.js +1 -1
  82. package/build-module/components/preferences-modal/index.js.map +1 -1
  83. package/build-module/components/preview-dropdown/index.js +6 -3
  84. package/build-module/components/preview-dropdown/index.js.map +1 -1
  85. package/build-module/components/provider/index.js +19 -18
  86. package/build-module/components/provider/index.js.map +1 -1
  87. package/build-module/components/sidebar/header.js +1 -1
  88. package/build-module/components/sidebar/header.js.map +1 -1
  89. package/build-module/components/sidebar/index.js +1 -1
  90. package/build-module/components/sidebar/index.js.map +1 -1
  91. package/build-module/components/start-page-options/index.js +148 -24
  92. package/build-module/components/start-page-options/index.js.map +1 -1
  93. package/build-module/components/visual-editor/edit-template-blocks-notification.js +1 -1
  94. package/build-module/components/visual-editor/edit-template-blocks-notification.js.map +1 -1
  95. package/build-module/store/private-actions.js +25 -0
  96. package/build-module/store/private-actions.js.map +1 -1
  97. package/build-module/store/private-selectors.js +44 -1
  98. package/build-module/store/private-selectors.js.map +1 -1
  99. package/build-module/store/selectors.js +8 -7
  100. package/build-module/store/selectors.js.map +1 -1
  101. package/build-module/utils/media-upload/index.js +5 -2
  102. package/build-module/utils/media-upload/index.js.map +1 -1
  103. package/build-style/style-rtl.css +51 -9
  104. package/build-style/style.css +51 -9
  105. package/build-types/components/document-outline/index.d.ts.map +1 -1
  106. package/build-types/components/document-outline/item.d.ts +2 -1
  107. package/build-types/components/document-outline/item.d.ts.map +1 -1
  108. package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
  109. package/build-types/components/entities-saved-states/entity-type-list.d.ts.map +1 -1
  110. package/build-types/components/entities-saved-states/index.d.ts +6 -2
  111. package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
  112. package/build-types/components/post-actions/index.d.ts.map +1 -1
  113. package/build-types/components/post-card-panel/index.d.ts.map +1 -1
  114. package/build-types/components/post-template/block-theme.d.ts.map +1 -1
  115. package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
  116. package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
  117. package/build-types/components/post-template/panel.d.ts.map +1 -1
  118. package/build-types/components/preferences-modal/block-visibility.d.ts.map +1 -1
  119. package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
  120. package/build-types/components/provider/index.d.ts.map +1 -1
  121. package/build-types/components/start-page-options/index.d.ts +2 -1
  122. package/build-types/components/start-page-options/index.d.ts.map +1 -1
  123. package/build-types/store/private-actions.d.ts +4 -0
  124. package/build-types/store/private-actions.d.ts.map +1 -1
  125. package/build-types/store/private-selectors.d.ts +13 -0
  126. package/build-types/store/private-selectors.d.ts.map +1 -1
  127. package/build-types/store/selectors.d.ts.map +1 -1
  128. package/build-types/utils/media-upload/index.d.ts +3 -1
  129. package/build-types/utils/media-upload/index.d.ts.map +1 -1
  130. package/package.json +37 -37
  131. package/src/components/document-bar/index.js +2 -2
  132. package/src/components/document-outline/index.js +49 -17
  133. package/src/components/document-outline/item.js +38 -23
  134. package/src/components/document-outline/style.scss +2 -0
  135. package/src/components/entities-saved-states/entity-record-item.js +2 -4
  136. package/src/components/entities-saved-states/entity-type-list.js +6 -2
  137. package/src/components/entities-saved-states/index.js +98 -58
  138. package/src/components/entities-saved-states/style.scss +40 -5
  139. package/src/components/post-actions/index.js +19 -37
  140. package/src/components/post-card-panel/index.js +9 -7
  141. package/src/components/post-featured-image/index.js +2 -0
  142. package/src/components/post-template/block-theme.js +76 -56
  143. package/src/components/post-template/classic-theme.js +31 -15
  144. package/src/components/post-template/create-new-template-modal.js +1 -0
  145. package/src/components/post-template/panel.js +2 -12
  146. package/src/components/post-text-editor/style.scss +0 -2
  147. package/src/components/preferences-modal/block-visibility.js +2 -1
  148. package/src/components/preferences-modal/index.js +1 -1
  149. package/src/components/preview-dropdown/index.js +8 -6
  150. package/src/components/provider/index.js +21 -30
  151. package/src/components/sidebar/header.js +1 -1
  152. package/src/components/sidebar/index.js +1 -1
  153. package/src/components/start-page-options/index.js +149 -23
  154. package/src/components/start-page-options/style.scss +27 -0
  155. package/src/components/visual-editor/edit-template-blocks-notification.js +1 -1
  156. package/src/store/private-actions.js +33 -0
  157. package/src/store/private-selectors.js +59 -4
  158. package/src/store/selectors.js +9 -14
  159. package/src/utils/media-upload/index.js +3 -0
  160. package/tsconfig.tsbuildinfo +1 -1
@@ -819,8 +819,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
819
819
  text-align: right;
820
820
  border-radius: 2px;
821
821
  }
822
- .document-outline__button:disabled {
822
+ .document-outline__button[aria-disabled=true], .document-outline__button:disabled {
823
823
  cursor: default;
824
+ color: #757575;
824
825
  }
825
826
  .document-outline__button:focus {
826
827
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -976,14 +977,41 @@ body.is-fullscreen-mode .interface-interface-skeleton {
976
977
  margin-bottom: 12px;
977
978
  }
978
979
 
979
- .entities-saved-states__description-heading {
980
- font-size: 13px;
980
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
981
+ padding: 0;
982
+ }
983
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
984
+ padding-right: 0;
985
+ padding-left: 0;
986
+ border: 0;
987
+ }
988
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
989
+ margin-right: -16px;
990
+ margin-left: -16px;
991
+ margin-bottom: 0;
992
+ }
993
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
994
+ font-size: 11px;
995
+ text-transform: uppercase;
996
+ }
997
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
998
+ display: none;
999
+ }
1000
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
1001
+ margin-top: 0;
1002
+ margin-bottom: 8px;
1003
+ }
1004
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
1005
+ margin-top: 16px;
1006
+ }
1007
+
1008
+ .entities-saved-states__change-control {
1009
+ flex: 1;
981
1010
  }
982
1011
 
983
1012
  .entities-saved-states__changes {
984
- color: #757575;
985
- font-size: 12px;
986
- margin: 8px 16px 0 16px;
1013
+ font-size: 13px;
1014
+ margin: 4px 24px 0 16px;
987
1015
  list-style: disc;
988
1016
  }
989
1017
  .entities-saved-states__changes li {
@@ -2094,7 +2122,6 @@ textarea.editor-post-text-editor::-webkit-input-placeholder {
2094
2122
  }
2095
2123
  textarea.editor-post-text-editor::-moz-placeholder {
2096
2124
  color: rgba(30, 30, 30, 0.62);
2097
- opacity: 1;
2098
2125
  }
2099
2126
  textarea.editor-post-text-editor:-ms-input-placeholder {
2100
2127
  color: rgba(30, 30, 30, 0.62);
@@ -2189,7 +2216,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2189
2216
  color: rgba(30, 30, 30, 0.62);
2190
2217
  }
2191
2218
  .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-moz-placeholder {
2192
- opacity: 1;
2193
2219
  color: rgba(30, 30, 30, 0.62);
2194
2220
  }
2195
2221
  .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:-ms-input-placeholder {
@@ -2276,7 +2302,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2276
2302
  color: rgba(30, 30, 30, 0.62);
2277
2303
  }
2278
2304
  .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-moz-placeholder {
2279
- opacity: 1;
2280
2305
  color: rgba(30, 30, 30, 0.62);
2281
2306
  }
2282
2307
  .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:-ms-input-placeholder {
@@ -2374,6 +2399,23 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2374
2399
  bottom: 0;
2375
2400
  }
2376
2401
 
2402
+ .editor-start-page-options__modal .editor-start-page-options__modal__actions {
2403
+ position: absolute;
2404
+ bottom: 0;
2405
+ width: 100%;
2406
+ height: 92px;
2407
+ background-color: #fff;
2408
+ margin-right: -32px;
2409
+ margin-left: -32px;
2410
+ padding-right: 32px;
2411
+ padding-left: 32px;
2412
+ border-top: 1px solid #ddd;
2413
+ z-index: 1;
2414
+ }
2415
+ .editor-start-page-options__modal .block-editor-block-patterns-list {
2416
+ padding-bottom: 92px;
2417
+ }
2418
+
2377
2419
  .editor-start-page-options__modal-content .block-editor-block-patterns-list {
2378
2420
  column-count: 2;
2379
2421
  column-gap: 24px;
@@ -819,8 +819,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
819
819
  text-align: left;
820
820
  border-radius: 2px;
821
821
  }
822
- .document-outline__button:disabled {
822
+ .document-outline__button[aria-disabled=true], .document-outline__button:disabled {
823
823
  cursor: default;
824
+ color: #757575;
824
825
  }
825
826
  .document-outline__button:focus {
826
827
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -976,14 +977,41 @@ body.is-fullscreen-mode .interface-interface-skeleton {
976
977
  margin-bottom: 12px;
977
978
  }
978
979
 
979
- .entities-saved-states__description-heading {
980
- font-size: 13px;
980
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
981
+ padding: 0;
982
+ }
983
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
984
+ padding-left: 0;
985
+ padding-right: 0;
986
+ border: 0;
987
+ }
988
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
989
+ margin-left: -16px;
990
+ margin-right: -16px;
991
+ margin-bottom: 0;
992
+ }
993
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
994
+ font-size: 11px;
995
+ text-transform: uppercase;
996
+ }
997
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
998
+ display: none;
999
+ }
1000
+ .entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
1001
+ margin-top: 0;
1002
+ margin-bottom: 8px;
1003
+ }
1004
+ .entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
1005
+ margin-top: 16px;
1006
+ }
1007
+
1008
+ .entities-saved-states__change-control {
1009
+ flex: 1;
981
1010
  }
982
1011
 
983
1012
  .entities-saved-states__changes {
984
- color: #757575;
985
- font-size: 12px;
986
- margin: 8px 16px 0 16px;
1013
+ font-size: 13px;
1014
+ margin: 4px 16px 0 24px;
987
1015
  list-style: disc;
988
1016
  }
989
1017
  .entities-saved-states__changes li {
@@ -2094,7 +2122,6 @@ textarea.editor-post-text-editor::-webkit-input-placeholder {
2094
2122
  }
2095
2123
  textarea.editor-post-text-editor::-moz-placeholder {
2096
2124
  color: rgba(30, 30, 30, 0.62);
2097
- opacity: 1;
2098
2125
  }
2099
2126
  textarea.editor-post-text-editor:-ms-input-placeholder {
2100
2127
  color: rgba(30, 30, 30, 0.62);
@@ -2193,7 +2220,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2193
2220
  color: rgba(30, 30, 30, 0.62);
2194
2221
  }
2195
2222
  .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-moz-placeholder {
2196
- opacity: 1;
2197
2223
  color: rgba(30, 30, 30, 0.62);
2198
2224
  }
2199
2225
  .editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:-ms-input-placeholder {
@@ -2280,7 +2306,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2280
2306
  color: rgba(30, 30, 30, 0.62);
2281
2307
  }
2282
2308
  .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-moz-placeholder {
2283
- opacity: 1;
2284
2309
  color: rgba(30, 30, 30, 0.62);
2285
2310
  }
2286
2311
  .editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:-ms-input-placeholder {
@@ -2378,6 +2403,23 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2378
2403
  bottom: 0;
2379
2404
  }
2380
2405
 
2406
+ .editor-start-page-options__modal .editor-start-page-options__modal__actions {
2407
+ position: absolute;
2408
+ bottom: 0;
2409
+ width: 100%;
2410
+ height: 92px;
2411
+ background-color: #fff;
2412
+ margin-left: -32px;
2413
+ margin-right: -32px;
2414
+ padding-left: 32px;
2415
+ padding-right: 32px;
2416
+ border-top: 1px solid #ddd;
2417
+ z-index: 1;
2418
+ }
2419
+ .editor-start-page-options__modal .block-editor-block-patterns-list {
2420
+ padding-bottom: 92px;
2421
+ }
2422
+
2381
2423
  .editor-start-page-options__modal-content .block-editor-block-patterns-list {
2382
2424
  column-count: 2;
2383
2425
  column-gap: 24px;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAqGA;;;;;;;;GAQG;AACH,gFALG;IAAwB,QAAQ;IACR,uBAAuB,EAAvC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CA6G1B"}
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;;;;gCA2DC"}
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":"entity-type-list.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-type-list.js"],"names":[],"mappings":"AAyEA;;;;gCAkDC"}
1
+ {"version":3,"file":"entity-type-list.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-type-list.js"],"names":[],"mappings":"AAyEA;;;;gCAsDC"}
@@ -4,12 +4,14 @@
4
4
  * @param {Object} props The component props.
5
5
  * @param {Function} props.close The function to close the dialog.
6
6
  * @param {boolean} props.renderDialog Whether to render the component with modal dialog behavior.
7
+ * @param {string} props.variant Changes the layout of the component. When an `inline` value is provided, the action buttons are rendered at the end of the component instead of at the start.
7
8
  *
8
9
  * @return {React.ReactNode} The rendered component.
9
10
  */
10
- export default function EntitiesSavedStates({ close, renderDialog }: {
11
+ export default function EntitiesSavedStates({ close, renderDialog, variant, }: {
11
12
  close: Function;
12
13
  renderDialog: boolean;
14
+ variant: string;
13
15
  }): React.ReactNode;
14
16
  /**
15
17
  * Renders a panel for saving entities with dirty records.
@@ -25,10 +27,11 @@ export default function EntitiesSavedStates({ close, renderDialog }: {
25
27
  * @param {boolean} props.isDirty Flag indicating if there are dirty entities.
26
28
  * @param {Function} props.setUnselectedEntities Function to set unselected entities.
27
29
  * @param {Array} props.unselectedEntities Array of unselected entities.
30
+ * @param {string} props.variant Changes the layout of the component. When an `inline` value is provided, the action buttons are rendered at the end of the component instead of at the start.
28
31
  *
29
32
  * @return {React.ReactNode} The rendered component.
30
33
  */
31
- export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave, saveEnabled: saveEnabledProp, saveLabel, renderDialog, dirtyEntityRecords, isDirty, setUnselectedEntities, unselectedEntities, }: {
34
+ export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave, saveEnabled: saveEnabledProp, saveLabel, renderDialog, dirtyEntityRecords, isDirty, setUnselectedEntities, unselectedEntities, variant, }: {
32
35
  additionalPrompt: string;
33
36
  close: Function;
34
37
  onSave: Function;
@@ -39,5 +42,6 @@ export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave,
39
42
  isDirty: boolean;
40
43
  setUnselectedEntities: Function;
41
44
  unselectedEntities: any[];
45
+ variant: string;
42
46
  }): React.ReactNode;
43
47
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AA4BA;;;;;;;;GAQG;AACH,qEALG;IAAwB,KAAK;IACL,YAAY,EAA5B,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAW1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,mNAbG;IAAwB,gBAAgB,EAAhC,MAAM;IACU,KAAK;IACL,MAAM;IACN,WAAW,EAA3B,OAAO;IACS,SAAS,EAAzB,MAAM;IACU,YAAY,EAA5B,OAAO;IACS,kBAAkB;IAClB,OAAO,EAAvB,OAAO;IACS,qBAAqB;IACrB,kBAAkB;CAE1C,GAAS,KAAK,CAAC,SAAS,CA2I1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AAiCA;;;;;;;;;GASG;AACH,+EANG;IAAwB,KAAK;IACL,YAAY,EAA5B,OAAO;IACS,OAAO,EAAvB,MAAM;CAEd,GAAS,KAAK,CAAC,SAAS,CAgB1B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,4NAdG;IAAwB,gBAAgB,EAAhC,MAAM;IACU,KAAK;IACL,MAAM;IACN,WAAW,EAA3B,OAAO;IACS,SAAS,EAAzB,MAAM;IACU,YAAY,EAA5B,OAAO;IACS,kBAAkB;IAClB,OAAO,EAAvB,OAAO;IACS,qBAAqB;IACrB,kBAAkB;IAClB,OAAO,EAAvB,MAAM;CAEd,GAAS,KAAK,CAAC,SAAS,CAuK1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AA+CA;;;;gCA2DC;AAiBD;;;;gCAiBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AAsBA;;;;gCAkEC;AAiBD;;;;gCAiBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AA8BA;;;;;;;;GAQG;AACH,gFALG;IAAgC,QAAQ;IACR,MAAM;IACN,iBAAiB;CACjD,GAAS,KAAK,CAAC,SAAS,CAoG1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AA8BA;;;;;;;;GAQG;AACH,gFALG;IAAgC,QAAQ;IACR,MAAM;IACN,iBAAiB;CACjD,GAAS,KAAK,CAAC,SAAS,CAsG1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"AA0BA;;uCA0HC"}
1
+ {"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"AA2BA;;uCA6IC"}
@@ -1 +1 @@
1
- {"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";AAyNA,oEAaC"}
1
+ {"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";AAqNA,oEAiCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AAwBA;;gCAkIC"}
1
+ {"version":3,"file":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AAwBA;;gCAmIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/panel.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,6CAFY,KAAK,CAAC,SAAS,CAgE1B"}
1
+ {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/panel.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,6CAFY,KAAK,CAAC,SAAS,CAwD1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"block-visibility.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/block-visibility.js"],"names":[],"mappings":"AAiBA,uEA8EC"}
1
+ {"version":3,"file":"block-visibility.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/block-visibility.js"],"names":[],"mappings":"AAkBA,uEA8EC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCAsKC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCAwKC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA6YA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AA9SD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GA2OE"}
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,2 +1,3 @@
1
- export default function StartPageOptions(): null;
1
+ export function useStartPatterns(): any;
2
+ export default function StartPageOptions(): import("react").JSX.Element | null;
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-page-options/index.js"],"names":[],"mappings":"AAaA,iDA4CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-page-options/index.js"],"names":[],"mappings":"AAqBA,wCA0CC;AA8ED,+EA0CC"}
@@ -34,4 +34,8 @@ export function revertTemplate(template: Object, { allowUndo }?: {
34
34
  export function removeTemplates(items: any[]): ({ registry }: {
35
35
  registry: any;
36
36
  }) => Promise<void>;
37
+ export function setDefaultRenderingMode(mode: string): ({ select, registry }: {
38
+ select: any;
39
+ registry: any;
40
+ }) => void;
37
41
  //# sourceMappingURL=private-actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;;AAOM,yCAFK,MAAM,OAAA;;;;mBAqChB;AAOK,2CAFI,MAAM,EAAE;;WAoBjB;AAOK,2CAFI,MAAM,EAAE;;WAkBjB;AAWK,0FALJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;CAClC;;WAmGC;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC;;oBA6HC;AAOK;;oBA0HL"}
1
+ {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;;AAOM,yCAFK,MAAM,OAAA;;;;mBAqChB;AAOK,2CAFI,MAAM,EAAE;;WAoBjB;AAOK,2CAFI,MAAM,EAAE;;WAkBjB;AAWK,0FALJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;CAClC;;WAmGC;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC;;oBA6HC;AAOK;;oBA0HL;AAOK,8CAFI,MAAM;;;WA4Bf"}
@@ -49,4 +49,17 @@ export const getPostBlocksByName: {
49
49
  isRegistrySelector?: boolean;
50
50
  registry?: any;
51
51
  };
52
+ /**
53
+ * Returns the default rendering mode for a post type by user preference or post type configuration.
54
+ *
55
+ * @param {Object} state Global application state.
56
+ * @param {string} postType The post type.
57
+ *
58
+ * @return {string} The default rendering mode. Returns `undefined` while resolving value.
59
+ */
60
+ export const getDefaultRenderingMode: {
61
+ (state?: any, postType?: any): any;
62
+ isRegistrySelector?: boolean;
63
+ registry?: any;
64
+ };
52
65
  //# sourceMappingURL=private-selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAgFA,sDAEC;AACD,6DAEC;AAwFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAnJD;;;;;;GAMG;AACH;;;;EAmCE;AAeF;;;;EAuCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAsBE"}
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,oDAJW,MAAM,GAEJ,MAAM,OAAA,CAOlB;AAsBD;;;;;;;GAOG;AACH,+CALW,MAAM,iBACN,MAAM,GAEL,GAAC,CAkBZ;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,8CArBW,MAAM,iBACN,MAAM,GAkBL,GAAC,CAsBZ;AA6CD;;;;;;;;GAQG;AACH,+CAJW,MAAM,GAEL,MAAM,CAcjB;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;;GAOG;AACH,8CALW,MAAM,gBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;GAMG;AACH,8CAJW,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;GAMG;AACH,+CAJ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H;;;;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"}
@@ -10,8 +10,9 @@
10
10
  * @param {Function} $0.onError Function called when an error happens.
11
11
  * @param {Function} $0.onFileChange Function called each time a file or a temporary representation of the file is available.
12
12
  * @param {Function} $0.onSuccess Function called after the final representation of the file is available.
13
+ * @param {boolean} $0.multiple Whether to allow multiple files to be uploaded.
13
14
  */
14
- export default function mediaUpload({ additionalData, allowedTypes, filesList, maxUploadFileSize, onError, onFileChange, onSuccess, }: {
15
+ export default function mediaUpload({ additionalData, allowedTypes, filesList, maxUploadFileSize, onError, onFileChange, onSuccess, multiple, }: {
15
16
  additionalData: Object | null;
16
17
  allowedTypes: string;
17
18
  filesList: any[];
@@ -19,5 +20,6 @@ export default function mediaUpload({ additionalData, allowedTypes, filesList, m
19
20
  onError: Function;
20
21
  onFileChange: Function;
21
22
  onSuccess: Function;
23
+ multiple: boolean;
22
24
  }): void;
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;GAYG;AACH,uIARG;IAAqB,cAAc,EAA1B,MAAM,OAAA;IACM,YAAY,EAAzB,MAAM;IACO,SAAS;IACT,iBAAiB,EAA7B,MAAM,OAAA;IACM,OAAO;IACP,YAAY;IACZ,SAAS;CAChC,QAiEA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;GAaG;AACH,iJATG;IAAqB,cAAc,EAA1B,MAAM,OAAA;IACM,YAAY,EAAzB,MAAM;IACO,SAAS;IACT,iBAAiB,EAA7B,MAAM,OAAA;IACM,OAAO;IACP,YAAY;IACZ,SAAS;IACT,QAAQ,EAArB,OAAO;CACjB,QAmEA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/editor",
3
- "version": "14.18.0",
3
+ "version": "14.19.1",
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.18.0",
38
- "@wordpress/api-fetch": "^7.18.0",
39
- "@wordpress/blob": "^4.18.0",
40
- "@wordpress/block-editor": "^14.13.0",
41
- "@wordpress/blocks": "^14.7.0",
42
- "@wordpress/commands": "^1.18.0",
43
- "@wordpress/components": "^29.4.0",
44
- "@wordpress/compose": "^7.18.0",
45
- "@wordpress/core-data": "^7.18.0",
46
- "@wordpress/data": "^10.18.0",
47
- "@wordpress/dataviews": "^4.14.0",
48
- "@wordpress/date": "^5.18.0",
49
- "@wordpress/deprecated": "^4.18.0",
50
- "@wordpress/dom": "^4.18.0",
51
- "@wordpress/element": "^6.18.0",
52
- "@wordpress/fields": "^0.10.0",
53
- "@wordpress/hooks": "^4.18.0",
54
- "@wordpress/html-entities": "^4.18.0",
55
- "@wordpress/i18n": "^5.18.0",
56
- "@wordpress/icons": "^10.18.0",
57
- "@wordpress/interface": "^9.3.0",
58
- "@wordpress/keyboard-shortcuts": "^5.18.0",
59
- "@wordpress/keycodes": "^4.18.0",
60
- "@wordpress/media-utils": "^5.18.0",
61
- "@wordpress/notices": "^5.18.0",
62
- "@wordpress/patterns": "^2.18.0",
63
- "@wordpress/plugins": "^7.18.0",
64
- "@wordpress/preferences": "^4.18.0",
65
- "@wordpress/private-apis": "^1.18.0",
66
- "@wordpress/reusable-blocks": "^5.18.0",
67
- "@wordpress/rich-text": "^7.18.0",
68
- "@wordpress/server-side-render": "^5.18.0",
69
- "@wordpress/url": "^4.18.0",
70
- "@wordpress/warning": "^3.18.0",
71
- "@wordpress/wordcount": "^4.18.0",
37
+ "@wordpress/a11y": "^4.19.1",
38
+ "@wordpress/api-fetch": "^7.19.1",
39
+ "@wordpress/blob": "^4.19.1",
40
+ "@wordpress/block-editor": "^14.14.1",
41
+ "@wordpress/blocks": "^14.8.1",
42
+ "@wordpress/commands": "^1.19.1",
43
+ "@wordpress/components": "^29.5.1",
44
+ "@wordpress/compose": "^7.19.1",
45
+ "@wordpress/core-data": "^7.19.1",
46
+ "@wordpress/data": "^10.19.1",
47
+ "@wordpress/dataviews": "^4.15.1",
48
+ "@wordpress/date": "^5.19.1",
49
+ "@wordpress/deprecated": "^4.19.1",
50
+ "@wordpress/dom": "^4.19.1",
51
+ "@wordpress/element": "^6.19.1",
52
+ "@wordpress/fields": "^0.11.1",
53
+ "@wordpress/hooks": "^4.19.1",
54
+ "@wordpress/html-entities": "^4.19.1",
55
+ "@wordpress/i18n": "^5.19.1",
56
+ "@wordpress/icons": "^10.19.1",
57
+ "@wordpress/interface": "^9.4.1",
58
+ "@wordpress/keyboard-shortcuts": "^5.19.1",
59
+ "@wordpress/keycodes": "^4.19.1",
60
+ "@wordpress/media-utils": "^5.19.1",
61
+ "@wordpress/notices": "^5.19.1",
62
+ "@wordpress/patterns": "^2.19.1",
63
+ "@wordpress/plugins": "^7.19.1",
64
+ "@wordpress/preferences": "^4.19.1",
65
+ "@wordpress/private-apis": "^1.19.1",
66
+ "@wordpress/reusable-blocks": "^5.19.1",
67
+ "@wordpress/rich-text": "^7.19.1",
68
+ "@wordpress/server-side-render": "^5.19.1",
69
+ "@wordpress/url": "^4.19.1",
70
+ "@wordpress/warning": "^3.19.1",
71
+ "@wordpress/wordcount": "^4.19.1",
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": "afe4fb333177642180ac020f1030c5685eab7183"
91
+ "gitHead": "6f49fee89f840761f7fedf662713cbd4a71723e9"
92
92
  }
@@ -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,