@wordpress/editor 14.22.0 → 14.24.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 (79) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/components/collab-sidebar/comment-form.js +3 -1
  3. package/build/components/collab-sidebar/comment-form.js.map +1 -1
  4. package/build/components/editor-interface/index.js +11 -6
  5. package/build/components/editor-interface/index.js.map +1 -1
  6. package/build/components/post-author/check.js +3 -7
  7. package/build/components/post-author/check.js.map +1 -1
  8. package/build/components/post-author/panel.js +10 -2
  9. package/build/components/post-author/panel.js.map +1 -1
  10. package/build/components/post-publish-panel/postpublish.js +11 -3
  11. package/build/components/post-publish-panel/postpublish.js.map +1 -1
  12. package/build/components/post-template/swap-template-button.js +18 -4
  13. package/build/components/post-template/swap-template-button.js.map +1 -1
  14. package/build/components/template-part-menu-items/convert-to-template-part.js +4 -1
  15. package/build/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
  16. package/build/components/visual-editor/index.js +1 -2
  17. package/build/components/visual-editor/index.js.map +1 -1
  18. package/build/store/private-actions.js +2 -1
  19. package/build/store/private-actions.js.map +1 -1
  20. package/build/store/utils/notice-builder.js +2 -1
  21. package/build/store/utils/notice-builder.js.map +1 -1
  22. package/build/utils/search-templates.js +75 -0
  23. package/build/utils/search-templates.js.map +1 -0
  24. package/build-module/components/collab-sidebar/comment-form.js +4 -2
  25. package/build-module/components/collab-sidebar/comment-form.js.map +1 -1
  26. package/build-module/components/editor-interface/index.js +11 -6
  27. package/build-module/components/editor-interface/index.js.map +1 -1
  28. package/build-module/components/post-author/check.js +3 -7
  29. package/build-module/components/post-author/check.js.map +1 -1
  30. package/build-module/components/post-author/panel.js +10 -2
  31. package/build-module/components/post-author/panel.js.map +1 -1
  32. package/build-module/components/post-publish-panel/postpublish.js +12 -4
  33. package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
  34. package/build-module/components/post-template/swap-template-button.js +19 -5
  35. package/build-module/components/post-template/swap-template-button.js.map +1 -1
  36. package/build-module/components/template-part-menu-items/convert-to-template-part.js +4 -1
  37. package/build-module/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
  38. package/build-module/components/visual-editor/index.js +1 -2
  39. package/build-module/components/visual-editor/index.js.map +1 -1
  40. package/build-module/store/private-actions.js +2 -1
  41. package/build-module/store/private-actions.js.map +1 -1
  42. package/build-module/store/utils/notice-builder.js +2 -1
  43. package/build-module/store/utils/notice-builder.js.map +1 -1
  44. package/build-module/utils/search-templates.js +68 -0
  45. package/build-module/utils/search-templates.js.map +1 -0
  46. package/build-style/style-rtl.css +146 -28
  47. package/build-style/style.css +146 -28
  48. package/build-types/components/collab-sidebar/comment-form.d.ts.map +1 -1
  49. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  50. package/build-types/components/post-author/check.d.ts.map +1 -1
  51. package/build-types/components/post-author/panel.d.ts.map +1 -1
  52. package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
  53. package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
  54. package/build-types/components/template-part-menu-items/convert-to-template-part.d.ts.map +1 -1
  55. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  56. package/build-types/store/private-actions.d.ts.map +1 -1
  57. package/build-types/store/utils/notice-builder.d.ts.map +1 -1
  58. package/build-types/utils/search-templates.d.ts +10 -0
  59. package/build-types/utils/search-templates.d.ts.map +1 -0
  60. package/package.json +37 -37
  61. package/src/components/collab-sidebar/comment-form.js +3 -1
  62. package/src/components/editor-interface/index.js +17 -15
  63. package/src/components/editor-interface/style.scss +1 -2
  64. package/src/components/post-author/check.js +2 -7
  65. package/src/components/post-author/panel.js +10 -2
  66. package/src/components/post-author/test/check.js +3 -11
  67. package/src/components/post-publish-panel/postpublish.js +19 -3
  68. package/src/components/post-publish-panel/style.scss +3 -1
  69. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +82 -12
  70. package/src/components/post-template/style.scss +10 -0
  71. package/src/components/post-template/swap-template-button.js +23 -6
  72. package/src/components/template-part-menu-items/convert-to-template-part.js +5 -2
  73. package/src/components/visual-editor/index.js +0 -1
  74. package/src/components/visual-editor/style.scss +6 -29
  75. package/src/store/private-actions.js +1 -0
  76. package/src/store/utils/notice-builder.js +1 -0
  77. package/src/store/utils/test/notice-builder.js +3 -1
  78. package/src/utils/search-templates.js +77 -0
  79. package/tsconfig.tsbuildinfo +1 -1
@@ -1,16 +1,13 @@
1
1
  @charset "UTF-8";
2
- /**
3
- * Converts a hex value into the rgb equivalent.
4
- *
5
- * @param {string} hex - the hexadecimal value to convert
6
- * @return {string} comma separated rgb values
7
- */
8
2
  /**
9
3
  * Colors
10
4
  */
11
5
  /**
12
6
  * Breakpoints & Media Queries
13
7
  */
8
+ /**
9
+ * Colors
10
+ */
14
11
  /**
15
12
  * SCSS Variables.
16
13
  *
@@ -18,15 +15,136 @@
18
15
  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
19
16
  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
20
17
  */
18
+ /**
19
+ * Fonts & basic variables.
20
+ */
21
+ /**
22
+ * Typography
23
+ */
24
+ /**
25
+ * Grid System.
26
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
27
+ */
28
+ /**
29
+ * Radius scale.
30
+ */
31
+ /**
32
+ * Elevation scale.
33
+ */
34
+ /**
35
+ * Dimensions.
36
+ */
37
+ /**
38
+ * Mobile specific styles
39
+ */
40
+ /**
41
+ * Editor styles.
42
+ */
43
+ /**
44
+ * Block & Editor UI.
45
+ */
46
+ /**
47
+ * Block paddings.
48
+ */
49
+ /**
50
+ * React Native specific.
51
+ * These variables do not appear to be used anywhere else.
52
+ */
53
+ /**
54
+ * Colors
55
+ */
56
+ /**
57
+ * SCSS Variables.
58
+ *
59
+ * Please use variables from this sheet to ensure consistency across the UI.
60
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
61
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
62
+ */
63
+ /**
64
+ * Fonts & basic variables.
65
+ */
66
+ /**
67
+ * Typography
68
+ */
69
+ /**
70
+ * Grid System.
71
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
72
+ */
73
+ /**
74
+ * Radius scale.
75
+ */
76
+ /**
77
+ * Elevation scale.
78
+ */
79
+ /**
80
+ * Dimensions.
81
+ */
82
+ /**
83
+ * Mobile specific styles
84
+ */
85
+ /**
86
+ * Editor styles.
87
+ */
88
+ /**
89
+ * Block & Editor UI.
90
+ */
91
+ /**
92
+ * Block paddings.
93
+ */
94
+ /**
95
+ * React Native specific.
96
+ * These variables do not appear to be used anywhere else.
97
+ */
98
+ /**
99
+ * Breakpoints & Media Queries
100
+ */
21
101
  /**
22
102
  * Converts a hex value into the rgb equivalent.
23
103
  *
24
104
  * @param {string} hex - the hexadecimal value to convert
25
105
  * @return {string} comma separated rgb values
26
106
  */
107
+ /**
108
+ * Long content fade mixin
109
+ *
110
+ * Creates a fading overlay to signify that the content is longer
111
+ * than the space allows.
112
+ */
113
+ /**
114
+ * Typography
115
+ */
116
+ /**
117
+ * Breakpoint mixins
118
+ */
119
+ /**
120
+ * Focus styles.
121
+ */
122
+ /**
123
+ * Applies editor left position to the selector passed as argument
124
+ */
125
+ /**
126
+ * Styles that are reused verbatim in a few places
127
+ */
128
+ /**
129
+ * Allows users to opt-out of animations via OS-level preferences.
130
+ */
131
+ /**
132
+ * Reset default styles for JavaScript UI based pages.
133
+ * This is a WP-admin agnostic reset
134
+ */
135
+ /**
136
+ * Reset the WP Admin page styles for Gutenberg-like pages.
137
+ */
27
138
  /**
28
139
  * Colors
29
140
  */
141
+ /**
142
+ * SCSS Variables.
143
+ *
144
+ * Please use variables from this sheet to ensure consistency across the UI.
145
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
146
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
147
+ */
30
148
  /**
31
149
  * Fonts & basic variables.
32
150
  */
@@ -62,6 +180,9 @@
62
180
  * React Native specific.
63
181
  * These variables do not appear to be used anywhere else.
64
182
  */
183
+ /**
184
+ * Breakpoints & Media Queries
185
+ */
65
186
  /**
66
187
  * Converts a hex value into the rgb equivalent.
67
188
  *
@@ -100,6 +221,9 @@
100
221
  * Reset the WP Admin page styles for Gutenberg-like pages.
101
222
  */
102
223
  :root {
224
+ --wp-block-synced-color: #7a00df;
225
+ --wp-block-synced-color--rgb: 122, 0, 223;
226
+ --wp-bound-block-color: var(--wp-block-synced-color);
103
227
  --wp-admin-theme-color: #007cba;
104
228
  --wp-admin-theme-color--rgb: 0, 124, 186;
105
229
  --wp-admin-theme-color-darker-10: #006ba1;
@@ -107,9 +231,6 @@
107
231
  --wp-admin-theme-color-darker-20: #005a87;
108
232
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
109
233
  --wp-admin-border-width-focus: 2px;
110
- --wp-block-synced-color: #7a00df;
111
- --wp-block-synced-color--rgb: 122, 0, 223;
112
- --wp-bound-block-color: var(--wp-block-synced-color);
113
234
  }
114
235
  @media (min-resolution: 192dpi) {
115
236
  :root {
@@ -935,7 +1056,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
935
1056
  }
936
1057
 
937
1058
  .editor-visual-editor {
938
- flex: 1 1 0%;
1059
+ flex: 1 0 auto;
939
1060
  }
940
1061
 
941
1062
  .components-editor-notices__dismissible,
@@ -1837,9 +1958,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1837
1958
  flex-wrap: wrap;
1838
1959
  gap: 16px;
1839
1960
  }
1840
- .post-publish-panel__postpublish-buttons .components-button {
1961
+ .post-publish-panel__postpublish-buttons .components-button,
1962
+ .post-publish-panel__postpublish-buttons .components-button.has-icon {
1841
1963
  justify-content: center;
1842
1964
  flex: 1;
1965
+ min-width: unset;
1843
1966
  }
1844
1967
  .post-publish-panel__postpublish-buttons .components-clipboard-button {
1845
1968
  width: 100%;
@@ -2042,6 +2165,15 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2042
2165
  .editor-post-template__swap-template-modal {
2043
2166
  z-index: 1000001;
2044
2167
  }
2168
+ .editor-post-template__swap-template-modal .editor-post-template__swap-template-search {
2169
+ background: #fff;
2170
+ position: sticky;
2171
+ top: 0;
2172
+ padding: 16px 0;
2173
+ transform: translateY(-4px);
2174
+ margin-bottom: -4px;
2175
+ z-index: 2;
2176
+ }
2045
2177
 
2046
2178
  .editor-post-template__create-template-modal {
2047
2179
  z-index: 1000001;
@@ -2513,7 +2645,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2513
2645
  position: relative;
2514
2646
  display: flex;
2515
2647
  background-color: #ddd;
2516
- overflow: hidden;
2517
2648
  align-items: center;
2518
2649
  }
2519
2650
  .editor-visual-editor iframe[name=editor-canvas] {
@@ -2525,6 +2656,9 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2525
2656
  .editor-visual-editor.has-padding {
2526
2657
  padding: 24px 24px 0;
2527
2658
  }
2659
+ .editor-visual-editor.is-iframed {
2660
+ overflow: hidden;
2661
+ }
2528
2662
  .editor-visual-editor .components-button {
2529
2663
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2530
2664
  font-size: 13px;
@@ -2533,22 +2667,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2533
2667
  .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
2534
2668
  padding: 6px;
2535
2669
  }
2536
- .editor-visual-editor.is-scrollable .block-editor-block-canvas {
2537
- overflow: auto;
2538
- }
2539
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-writing-flow {
2540
- display: flow-root;
2541
- min-height: 100%;
2542
- box-sizing: border-box;
2543
- }
2544
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container {
2545
- display: flex;
2546
- flex-direction: column;
2547
- }
2548
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container > .block-editor-iframe__scale-container {
2549
- flex: 1 0 fit-content;
2550
- display: flow-root;
2551
- }
2552
2670
 
2553
2671
  .editor-fields-content-preview {
2554
2672
  display: flex;
@@ -1,16 +1,13 @@
1
1
  @charset "UTF-8";
2
- /**
3
- * Converts a hex value into the rgb equivalent.
4
- *
5
- * @param {string} hex - the hexadecimal value to convert
6
- * @return {string} comma separated rgb values
7
- */
8
2
  /**
9
3
  * Colors
10
4
  */
11
5
  /**
12
6
  * Breakpoints & Media Queries
13
7
  */
8
+ /**
9
+ * Colors
10
+ */
14
11
  /**
15
12
  * SCSS Variables.
16
13
  *
@@ -18,15 +15,136 @@
18
15
  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
19
16
  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
20
17
  */
18
+ /**
19
+ * Fonts & basic variables.
20
+ */
21
+ /**
22
+ * Typography
23
+ */
24
+ /**
25
+ * Grid System.
26
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
27
+ */
28
+ /**
29
+ * Radius scale.
30
+ */
31
+ /**
32
+ * Elevation scale.
33
+ */
34
+ /**
35
+ * Dimensions.
36
+ */
37
+ /**
38
+ * Mobile specific styles
39
+ */
40
+ /**
41
+ * Editor styles.
42
+ */
43
+ /**
44
+ * Block & Editor UI.
45
+ */
46
+ /**
47
+ * Block paddings.
48
+ */
49
+ /**
50
+ * React Native specific.
51
+ * These variables do not appear to be used anywhere else.
52
+ */
53
+ /**
54
+ * Colors
55
+ */
56
+ /**
57
+ * SCSS Variables.
58
+ *
59
+ * Please use variables from this sheet to ensure consistency across the UI.
60
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
61
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
62
+ */
63
+ /**
64
+ * Fonts & basic variables.
65
+ */
66
+ /**
67
+ * Typography
68
+ */
69
+ /**
70
+ * Grid System.
71
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
72
+ */
73
+ /**
74
+ * Radius scale.
75
+ */
76
+ /**
77
+ * Elevation scale.
78
+ */
79
+ /**
80
+ * Dimensions.
81
+ */
82
+ /**
83
+ * Mobile specific styles
84
+ */
85
+ /**
86
+ * Editor styles.
87
+ */
88
+ /**
89
+ * Block & Editor UI.
90
+ */
91
+ /**
92
+ * Block paddings.
93
+ */
94
+ /**
95
+ * React Native specific.
96
+ * These variables do not appear to be used anywhere else.
97
+ */
98
+ /**
99
+ * Breakpoints & Media Queries
100
+ */
21
101
  /**
22
102
  * Converts a hex value into the rgb equivalent.
23
103
  *
24
104
  * @param {string} hex - the hexadecimal value to convert
25
105
  * @return {string} comma separated rgb values
26
106
  */
107
+ /**
108
+ * Long content fade mixin
109
+ *
110
+ * Creates a fading overlay to signify that the content is longer
111
+ * than the space allows.
112
+ */
113
+ /**
114
+ * Typography
115
+ */
116
+ /**
117
+ * Breakpoint mixins
118
+ */
119
+ /**
120
+ * Focus styles.
121
+ */
122
+ /**
123
+ * Applies editor left position to the selector passed as argument
124
+ */
125
+ /**
126
+ * Styles that are reused verbatim in a few places
127
+ */
128
+ /**
129
+ * Allows users to opt-out of animations via OS-level preferences.
130
+ */
131
+ /**
132
+ * Reset default styles for JavaScript UI based pages.
133
+ * This is a WP-admin agnostic reset
134
+ */
135
+ /**
136
+ * Reset the WP Admin page styles for Gutenberg-like pages.
137
+ */
27
138
  /**
28
139
  * Colors
29
140
  */
141
+ /**
142
+ * SCSS Variables.
143
+ *
144
+ * Please use variables from this sheet to ensure consistency across the UI.
145
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
146
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
147
+ */
30
148
  /**
31
149
  * Fonts & basic variables.
32
150
  */
@@ -62,6 +180,9 @@
62
180
  * React Native specific.
63
181
  * These variables do not appear to be used anywhere else.
64
182
  */
183
+ /**
184
+ * Breakpoints & Media Queries
185
+ */
65
186
  /**
66
187
  * Converts a hex value into the rgb equivalent.
67
188
  *
@@ -100,6 +221,9 @@
100
221
  * Reset the WP Admin page styles for Gutenberg-like pages.
101
222
  */
102
223
  :root {
224
+ --wp-block-synced-color: #7a00df;
225
+ --wp-block-synced-color--rgb: 122, 0, 223;
226
+ --wp-bound-block-color: var(--wp-block-synced-color);
103
227
  --wp-admin-theme-color: #007cba;
104
228
  --wp-admin-theme-color--rgb: 0, 124, 186;
105
229
  --wp-admin-theme-color-darker-10: #006ba1;
@@ -107,9 +231,6 @@
107
231
  --wp-admin-theme-color-darker-20: #005a87;
108
232
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
109
233
  --wp-admin-border-width-focus: 2px;
110
- --wp-block-synced-color: #7a00df;
111
- --wp-block-synced-color--rgb: 122, 0, 223;
112
- --wp-bound-block-color: var(--wp-block-synced-color);
113
234
  }
114
235
  @media (min-resolution: 192dpi) {
115
236
  :root {
@@ -935,7 +1056,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
935
1056
  }
936
1057
 
937
1058
  .editor-visual-editor {
938
- flex: 1 1 0%;
1059
+ flex: 1 0 auto;
939
1060
  }
940
1061
 
941
1062
  .components-editor-notices__dismissible,
@@ -1837,9 +1958,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1837
1958
  flex-wrap: wrap;
1838
1959
  gap: 16px;
1839
1960
  }
1840
- .post-publish-panel__postpublish-buttons .components-button {
1961
+ .post-publish-panel__postpublish-buttons .components-button,
1962
+ .post-publish-panel__postpublish-buttons .components-button.has-icon {
1841
1963
  justify-content: center;
1842
1964
  flex: 1;
1965
+ min-width: unset;
1843
1966
  }
1844
1967
  .post-publish-panel__postpublish-buttons .components-clipboard-button {
1845
1968
  width: 100%;
@@ -2042,6 +2165,15 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2042
2165
  .editor-post-template__swap-template-modal {
2043
2166
  z-index: 1000001;
2044
2167
  }
2168
+ .editor-post-template__swap-template-modal .editor-post-template__swap-template-search {
2169
+ background: #fff;
2170
+ position: sticky;
2171
+ top: 0;
2172
+ padding: 16px 0;
2173
+ transform: translateY(-4px);
2174
+ margin-bottom: -4px;
2175
+ z-index: 2;
2176
+ }
2045
2177
 
2046
2178
  .editor-post-template__create-template-modal {
2047
2179
  z-index: 1000001;
@@ -2517,7 +2649,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2517
2649
  position: relative;
2518
2650
  display: flex;
2519
2651
  background-color: #ddd;
2520
- overflow: hidden;
2521
2652
  align-items: center;
2522
2653
  }
2523
2654
  .editor-visual-editor iframe[name=editor-canvas] {
@@ -2529,6 +2660,9 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2529
2660
  .editor-visual-editor.has-padding {
2530
2661
  padding: 24px 24px 0;
2531
2662
  }
2663
+ .editor-visual-editor.is-iframed {
2664
+ overflow: hidden;
2665
+ }
2532
2666
  .editor-visual-editor .components-button {
2533
2667
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2534
2668
  font-size: 13px;
@@ -2537,22 +2671,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2537
2671
  .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
2538
2672
  padding: 6px;
2539
2673
  }
2540
- .editor-visual-editor.is-scrollable .block-editor-block-canvas {
2541
- overflow: auto;
2542
- }
2543
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-writing-flow {
2544
- display: flow-root;
2545
- min-height: 100%;
2546
- box-sizing: border-box;
2547
- }
2548
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container {
2549
- display: flex;
2550
- flex-direction: column;
2551
- }
2552
- .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container > .block-editor-iframe__scale-container {
2553
- flex: 1 0 fit-content;
2554
- display: flow-root;
2555
- }
2556
2674
 
2557
2675
  .editor-fields-content-preview {
2558
2676
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"file":"comment-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-form.js"],"names":[],"mappings":";AAgBA;;;;;;;;;GASG;AACH,+EANG;IAAwB,QAAQ;IACR,QAAQ;IACR,MAAM,EAAtB,MAAM;IACU,gBAAgB,EAAhC,MAAM;CACd,GAAS,KAAK,CAAC,SAAS,CAsC1B"}
1
+ {"version":3,"file":"comment-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-form.js"],"names":[],"mappings":";AAgBA;;;;;;;;;GASG;AACH,+EANG;IAAwB,QAAQ;IACR,QAAQ;IACR,MAAM,EAAtB,MAAM;IACU,gBAAgB,EAAhC,MAAM;CACd,GAAS,KAAK,CAAC,SAAS,CAwC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;gCA4KC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;gCA8KC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/check.js"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,sDALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;CAEvB,GAAS,KAAK,CAAC,SAAS,CA0B1B"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/check.js"],"names":[],"mappings":"AAWA;;;;;;;;GAQG;AACH,sDALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;CAEvB,GAAS,KAAK,CAAC,SAAS,CAuB1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/panel.js"],"names":[],"mappings":"AAsCA;;;;GAIG;AACH,8BAFY,KAAK,CAAC,SAAS,CA4C1B"}
1
+ {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/panel.js"],"names":[],"mappings":"AA8CA;;;;GAIG;AACH,8BAFY,KAAK,CAAC,SAAS,CA4C1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":"AAuEA;;;gCAoGC"}
1
+ {"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":"AA8EA;;;gCA6GC"}
@@ -1 +1 @@
1
- {"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAiBA;;gCA2CC"}
1
+ {"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAkBA;;gCA2CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"convert-to-template-part.d.ts","sourceRoot":"","sources":["../../../src/components/template-part-menu-items/convert-to-template-part.js"],"names":[],"mappings":"AAiBA;;;uCAyDC"}
1
+ {"version":3,"file":"convert-to-template-part.d.ts","sourceRoot":"","sources":["../../../src/components/template-part-menu-items/convert-to-template-part.js"],"names":[],"mappings":"AAkBA;;;uCA2DC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA+YC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA8YC"}
@@ -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;AAOK,8CAFI,MAAM;;;WA4Bf"}
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;;WAoGC;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC;;oBA6HC;AAOK;;oBA0HL;AAOK,8CAFI,MAAM;;;WA4Bf"}
@@ -1 +1 @@
1
- {"version":3,"file":"notice-builder.d.ts","sourceRoot":"","sources":["../../../src/store/utils/notice-builder.js"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,6DALW,MAAM,SA8DhB;AAED;;;;;;;GAOG;AACH,0DALW,MAAM,SAsChB;AAED;;;;;;GAMG;AACH,2DAJW,MAAM,SAahB"}
1
+ {"version":3,"file":"notice-builder.d.ts","sourceRoot":"","sources":["../../../src/store/utils/notice-builder.js"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,6DALW,MAAM,SA+DhB;AAED;;;;;;;GAOG;AACH,0DALW,MAAM,SAsChB;AAED;;;;;;GAMG;AACH,2DAJW,MAAM,SAahB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Filters a template list given a search term.
3
+ *
4
+ * @param {Array} templates Item list
5
+ * @param {string} searchValue Search input.
6
+ *
7
+ * @return {Array} Filtered template list.
8
+ */
9
+ export function searchTemplates(templates?: any[], searchValue?: string): any[];
10
+ //# sourceMappingURL=search-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-templates.d.ts","sourceRoot":"","sources":["../../src/utils/search-templates.js"],"names":[],"mappings":"AAuDA;;;;;;;GAOG;AACH,iEAJW,MAAM,SAiBhB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/editor",
3
- "version": "14.22.0",
3
+ "version": "14.24.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.22.0",
38
- "@wordpress/api-fetch": "^7.22.0",
39
- "@wordpress/blob": "^4.22.0",
40
- "@wordpress/block-editor": "^14.17.0",
41
- "@wordpress/blocks": "^14.11.0",
42
- "@wordpress/commands": "^1.22.0",
43
- "@wordpress/components": "^29.8.0",
44
- "@wordpress/compose": "^7.22.0",
45
- "@wordpress/core-data": "^7.22.0",
46
- "@wordpress/data": "^10.22.0",
47
- "@wordpress/dataviews": "^4.18.0",
48
- "@wordpress/date": "^5.22.0",
49
- "@wordpress/deprecated": "^4.22.0",
50
- "@wordpress/dom": "^4.22.0",
51
- "@wordpress/element": "^6.22.0",
52
- "@wordpress/fields": "^0.14.0",
53
- "@wordpress/hooks": "^4.22.0",
54
- "@wordpress/html-entities": "^4.22.0",
55
- "@wordpress/i18n": "^5.22.0",
56
- "@wordpress/icons": "^10.22.0",
57
- "@wordpress/interface": "^9.7.0",
58
- "@wordpress/keyboard-shortcuts": "^5.22.0",
59
- "@wordpress/keycodes": "^4.22.0",
60
- "@wordpress/media-utils": "^5.22.0",
61
- "@wordpress/notices": "^5.22.0",
62
- "@wordpress/patterns": "^2.22.0",
63
- "@wordpress/plugins": "^7.22.0",
64
- "@wordpress/preferences": "^4.22.0",
65
- "@wordpress/private-apis": "^1.22.0",
66
- "@wordpress/reusable-blocks": "^5.22.0",
67
- "@wordpress/rich-text": "^7.22.0",
68
- "@wordpress/server-side-render": "^5.22.0",
69
- "@wordpress/url": "^4.22.0",
70
- "@wordpress/warning": "^3.22.0",
71
- "@wordpress/wordcount": "^4.22.0",
37
+ "@wordpress/a11y": "^4.24.0",
38
+ "@wordpress/api-fetch": "^7.24.0",
39
+ "@wordpress/blob": "^4.24.0",
40
+ "@wordpress/block-editor": "^14.19.0",
41
+ "@wordpress/blocks": "^14.13.0",
42
+ "@wordpress/commands": "^1.24.0",
43
+ "@wordpress/components": "^29.10.0",
44
+ "@wordpress/compose": "^7.24.0",
45
+ "@wordpress/core-data": "^7.24.0",
46
+ "@wordpress/data": "^10.24.0",
47
+ "@wordpress/dataviews": "^4.20.0",
48
+ "@wordpress/date": "^5.24.0",
49
+ "@wordpress/deprecated": "^4.24.0",
50
+ "@wordpress/dom": "^4.24.0",
51
+ "@wordpress/element": "^6.24.0",
52
+ "@wordpress/fields": "^0.16.0",
53
+ "@wordpress/hooks": "^4.24.0",
54
+ "@wordpress/html-entities": "^4.24.0",
55
+ "@wordpress/i18n": "^5.24.0",
56
+ "@wordpress/icons": "^10.24.0",
57
+ "@wordpress/interface": "^9.9.0",
58
+ "@wordpress/keyboard-shortcuts": "^5.24.0",
59
+ "@wordpress/keycodes": "^4.24.0",
60
+ "@wordpress/media-utils": "^5.24.0",
61
+ "@wordpress/notices": "^5.24.0",
62
+ "@wordpress/patterns": "^2.24.0",
63
+ "@wordpress/plugins": "^7.24.0",
64
+ "@wordpress/preferences": "^4.24.0",
65
+ "@wordpress/private-apis": "^1.24.0",
66
+ "@wordpress/reusable-blocks": "^5.24.0",
67
+ "@wordpress/rich-text": "^7.24.0",
68
+ "@wordpress/server-side-render": "^6.0.0",
69
+ "@wordpress/url": "^4.24.0",
70
+ "@wordpress/warning": "^3.24.0",
71
+ "@wordpress/wordcount": "^4.24.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": "01a314d7e46a50101e328fdb11959c441e49372d"
91
+ "gitHead": "9c03d1458cae76792ae15e67b421205836bf4393"
92
92
  }