@wordpress/editor 14.36.0 → 14.36.1-next.6deb34194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/components/autocompleters/user.js.map +2 -2
- package/build/components/collab-sidebar/comments.js +4 -12
- package/build/components/collab-sidebar/comments.js.map +2 -2
- package/build/components/collab-sidebar/hooks.js +7 -19
- package/build/components/collab-sidebar/hooks.js.map +2 -2
- package/build/components/document-bar/index.js +19 -8
- package/build/components/document-bar/index.js.map +3 -3
- package/build/components/document-bar/useEditedSectionDetails.js +95 -0
- package/build/components/document-bar/useEditedSectionDetails.js.map +7 -0
- package/build/components/page-attributes/parent.js +1 -0
- package/build/components/page-attributes/parent.js.map +2 -2
- package/build/components/post-card-panel/index.js +1 -1
- package/build/components/post-card-panel/index.js.map +2 -2
- package/build/dataviews/store/private-actions.js +9 -1
- package/build/dataviews/store/private-actions.js.map +2 -2
- package/build/utils/get-template-part-icon.js +9 -4
- package/build/utils/get-template-part-icon.js.map +3 -3
- package/build-module/components/autocompleters/user.js.map +2 -2
- package/build-module/components/collab-sidebar/comments.js +4 -12
- package/build-module/components/collab-sidebar/comments.js.map +2 -2
- package/build-module/components/collab-sidebar/hooks.js +7 -20
- package/build-module/components/collab-sidebar/hooks.js.map +2 -2
- package/build-module/components/document-bar/index.js +20 -9
- package/build-module/components/document-bar/index.js.map +2 -2
- package/build-module/components/document-bar/useEditedSectionDetails.js +74 -0
- package/build-module/components/document-bar/useEditedSectionDetails.js.map +7 -0
- package/build-module/components/page-attributes/parent.js +1 -0
- package/build-module/components/page-attributes/parent.js.map +2 -2
- package/build-module/components/post-card-panel/index.js +1 -1
- package/build-module/components/post-card-panel/index.js.map +2 -2
- package/build-module/dataviews/store/private-actions.js +11 -2
- package/build-module/dataviews/store/private-actions.js.map +2 -2
- package/build-module/utils/get-template-part-icon.js +10 -4
- package/build-module/utils/get-template-part-icon.js.map +2 -2
- package/build-style/style-rtl.css +44 -126
- package/build-style/style.css +44 -126
- package/build-types/components/autocompleters/user.d.ts +8 -2
- package/build-types/components/autocompleters/user.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/comments.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/hooks.d.ts +0 -1
- package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/document-bar/useEditedSectionDetails.d.ts +8 -0
- package/build-types/components/document-bar/useEditedSectionDetails.d.ts.map +1 -0
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/post-template/hooks.d.ts +1 -1
- package/build-types/components/post-template/hooks.d.ts.map +1 -1
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/store/index.d.ts +1 -1
- package/build-types/store/index.d.ts.map +1 -1
- package/build-types/utils/get-template-part-icon.d.ts +3 -3
- package/build-types/utils/get-template-part-icon.d.ts.map +1 -1
- package/package.json +40 -40
- package/src/components/autocompleters/user.js +6 -0
- package/src/components/collab-sidebar/comments.js +16 -23
- package/src/components/collab-sidebar/hooks.js +7 -24
- package/src/components/document-bar/index.js +41 -9
- package/src/components/document-bar/useEditedSectionDetails.js +103 -0
- package/src/components/global-styles-sidebar/style.scss +2 -2
- package/src/components/page-attributes/parent.js +2 -1
- package/src/components/post-card-panel/index.js +1 -1
- package/src/dataviews/store/private-actions.ts +16 -0
- package/src/utils/get-template-part-icon.js +19 -6
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -196,27 +196,20 @@
|
|
|
196
196
|
position: relative;
|
|
197
197
|
z-index: 1;
|
|
198
198
|
flex-flow: column;
|
|
199
|
-
container: admin-ui-page/inline-size;
|
|
200
199
|
}
|
|
201
200
|
|
|
202
|
-
@media not (prefers-reduced-motion) {
|
|
203
|
-
.admin-ui-page {
|
|
204
|
-
transition: width ease-out 0.2s;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
201
|
.admin-ui-page__header {
|
|
208
|
-
padding: 16px
|
|
202
|
+
padding: 16px 24px;
|
|
209
203
|
border-bottom: 1px solid #f0f0f0;
|
|
210
204
|
background: #fff;
|
|
211
205
|
position: sticky;
|
|
212
206
|
top: 0;
|
|
213
207
|
}
|
|
214
208
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
padding: 16px 24px;
|
|
218
|
-
}
|
|
209
|
+
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
210
|
+
display: none;
|
|
219
211
|
}
|
|
212
|
+
|
|
220
213
|
.admin-ui-page__header-subtitle {
|
|
221
214
|
padding-block-end: 8px;
|
|
222
215
|
color: #757575;
|
|
@@ -235,14 +228,9 @@
|
|
|
235
228
|
}
|
|
236
229
|
|
|
237
230
|
.admin-ui-page__content.has-padding {
|
|
238
|
-
padding: 16px
|
|
231
|
+
padding: 16px 24px;
|
|
239
232
|
}
|
|
240
233
|
|
|
241
|
-
@container (max-width: 430px) {
|
|
242
|
-
.admin-ui-page__content.has-padding {
|
|
243
|
-
padding: 16px 24px;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
234
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
247
235
|
width: auto;
|
|
248
236
|
padding: 0 8px;
|
|
@@ -802,7 +790,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
802
790
|
|
|
803
791
|
.font-library-modal .components-modal__content {
|
|
804
792
|
padding-top: 0;
|
|
805
|
-
margin-bottom:
|
|
793
|
+
margin-bottom: 60px !important;
|
|
806
794
|
}
|
|
807
795
|
|
|
808
796
|
.font-library-modal .font-library-modal__subtitle {
|
|
@@ -816,7 +804,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
816
804
|
}
|
|
817
805
|
|
|
818
806
|
.font-library-modal__tabpanel-layout {
|
|
819
|
-
margin-top:
|
|
807
|
+
margin-top: 24px;
|
|
820
808
|
}
|
|
821
809
|
|
|
822
810
|
.font-library-modal__tabpanel-layout .font-library-modal__loading {
|
|
@@ -833,19 +821,15 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
833
821
|
|
|
834
822
|
.font-library-modal__footer {
|
|
835
823
|
border-top: 1px solid #ddd;
|
|
836
|
-
margin: 0 -
|
|
837
|
-
padding: 16px
|
|
824
|
+
margin: 0 -24px -24px;
|
|
825
|
+
padding: 16px 24px;
|
|
838
826
|
position: absolute;
|
|
839
|
-
bottom:
|
|
827
|
+
bottom: 24px;
|
|
840
828
|
width: 100%;
|
|
841
|
-
height:
|
|
829
|
+
height: 60px;
|
|
842
830
|
background-color: #fff;
|
|
843
831
|
}
|
|
844
832
|
|
|
845
|
-
.font-library-modal__category-select {
|
|
846
|
-
min-width: 40%;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
833
|
.font-library-modal__page-selection {
|
|
850
834
|
font-size: 11px;
|
|
851
835
|
font-weight: 499;
|
|
@@ -883,13 +867,16 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
883
867
|
height: auto !important;
|
|
884
868
|
padding: 16px;
|
|
885
869
|
margin-top: -1px; /* To collapse the margin with the previous element */
|
|
886
|
-
background-color: #f0f0f0;
|
|
887
870
|
}
|
|
888
871
|
|
|
889
872
|
.font-library-modal__font-card:hover {
|
|
890
873
|
background-color: #f0f0f0;
|
|
891
874
|
}
|
|
892
875
|
|
|
876
|
+
.font-library-modal__font-card:focus {
|
|
877
|
+
position: relative;
|
|
878
|
+
}
|
|
879
|
+
|
|
893
880
|
.font-library-modal__font-card .font-library-modal__font-card__name {
|
|
894
881
|
font-weight: bold;
|
|
895
882
|
}
|
|
@@ -919,7 +906,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
919
906
|
top: 0;
|
|
920
907
|
border-bottom: 1px solid #ddd;
|
|
921
908
|
background: #fff;
|
|
922
|
-
margin: 0 -
|
|
909
|
+
margin: 0 -24px;
|
|
923
910
|
padding: 0 16px;
|
|
924
911
|
z-index: 1;
|
|
925
912
|
}
|
|
@@ -1227,7 +1214,6 @@ button.font-library-modal__upload-area {
|
|
|
1227
1214
|
max-width: 100%;
|
|
1228
1215
|
display: block;
|
|
1229
1216
|
width: 100%;
|
|
1230
|
-
clip-path: border-box;
|
|
1231
1217
|
}
|
|
1232
1218
|
|
|
1233
1219
|
.global-styles-ui-typography-preview {
|
|
@@ -1252,10 +1238,6 @@ button.font-library-modal__upload-area {
|
|
|
1252
1238
|
color: #757575;
|
|
1253
1239
|
}
|
|
1254
1240
|
|
|
1255
|
-
.global-styles-ui-screen {
|
|
1256
|
-
margin: 12px 16px 16px;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
1241
|
.global-styles-ui-screen-typography__indicator {
|
|
1260
1242
|
height: 24px;
|
|
1261
1243
|
width: 24px;
|
|
@@ -1287,14 +1269,18 @@ button.font-library-modal__upload-area {
|
|
|
1287
1269
|
row-gap: 12px;
|
|
1288
1270
|
}
|
|
1289
1271
|
|
|
1290
|
-
.global-styles-ui-
|
|
1291
|
-
|
|
1272
|
+
.global-styles-ui-screen-header {
|
|
1273
|
+
margin-bottom: 12px;
|
|
1292
1274
|
}
|
|
1293
1275
|
|
|
1294
1276
|
.global-styles-ui-header {
|
|
1295
1277
|
margin-bottom: 0 !important;
|
|
1296
1278
|
}
|
|
1297
1279
|
|
|
1280
|
+
.global-styles-ui-header__description {
|
|
1281
|
+
margin: 12px 0 !important;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1298
1284
|
.global-styles-ui-subtitle {
|
|
1299
1285
|
margin-bottom: 0 !important;
|
|
1300
1286
|
text-transform: uppercase;
|
|
@@ -1444,10 +1430,12 @@ button.font-library-modal__upload-area {
|
|
|
1444
1430
|
height: 100%;
|
|
1445
1431
|
}
|
|
1446
1432
|
|
|
1447
|
-
.global-styles-ui-sidebar__navigator-screen {
|
|
1433
|
+
.global-styles-ui-sidebar__navigator-screen.components-navigator-screen {
|
|
1448
1434
|
display: flex;
|
|
1449
1435
|
flex-direction: column;
|
|
1450
1436
|
height: 100%;
|
|
1437
|
+
padding: 24px;
|
|
1438
|
+
outline: none;
|
|
1451
1439
|
}
|
|
1452
1440
|
|
|
1453
1441
|
.global-styles-ui-sidebar__navigator-screen .single-column {
|
|
@@ -1468,15 +1456,15 @@ button.font-library-modal__upload-area {
|
|
|
1468
1456
|
border-radius: 2px;
|
|
1469
1457
|
}
|
|
1470
1458
|
|
|
1459
|
+
.global-styles-ui-screen-root__active-style-tile-preview {
|
|
1460
|
+
clip-path: border-box;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1471
1463
|
.global-styles-ui-color-palette-panel,
|
|
1472
1464
|
.global-styles-ui-gradient-palette-panel {
|
|
1473
1465
|
padding: 16px;
|
|
1474
1466
|
}
|
|
1475
1467
|
|
|
1476
|
-
.components-navigator-screen {
|
|
1477
|
-
padding: 12px;
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
1468
|
/**
|
|
1481
1469
|
* Colors
|
|
1482
1470
|
*/
|
|
@@ -1580,7 +1568,7 @@ button.font-library-modal__upload-area {
|
|
|
1580
1568
|
.dataviews__view-actions,
|
|
1581
1569
|
.dataviews-filters__container {
|
|
1582
1570
|
box-sizing: border-box;
|
|
1583
|
-
padding: 16px
|
|
1571
|
+
padding: 16px 24px;
|
|
1584
1572
|
flex-shrink: 0;
|
|
1585
1573
|
position: sticky;
|
|
1586
1574
|
left: 0;
|
|
@@ -1595,7 +1583,7 @@ button.font-library-modal__upload-area {
|
|
|
1595
1583
|
}
|
|
1596
1584
|
.dataviews-no-results,
|
|
1597
1585
|
.dataviews-loading {
|
|
1598
|
-
padding: 0
|
|
1586
|
+
padding: 0 24px;
|
|
1599
1587
|
flex-grow: 1;
|
|
1600
1588
|
display: flex;
|
|
1601
1589
|
align-items: center;
|
|
@@ -1617,11 +1605,6 @@ button.font-library-modal__upload-area {
|
|
|
1617
1605
|
.dataviews-filters__container {
|
|
1618
1606
|
padding: 12px 24px;
|
|
1619
1607
|
}
|
|
1620
|
-
.dataviews-no-results,
|
|
1621
|
-
.dataviews-loading {
|
|
1622
|
-
padding-left: 24px;
|
|
1623
|
-
padding-right: 24px;
|
|
1624
|
-
}
|
|
1625
1608
|
}
|
|
1626
1609
|
.dataviews-title-field {
|
|
1627
1610
|
font-size: 13px;
|
|
@@ -1683,7 +1666,7 @@ button.font-library-modal__upload-area {
|
|
|
1683
1666
|
}
|
|
1684
1667
|
|
|
1685
1668
|
/**
|
|
1686
|
-
*
|
|
1669
|
+
* When DataViews are placed within cards, apply a consistent top padding.
|
|
1687
1670
|
*/
|
|
1688
1671
|
.components-card__body:has(> .dataviews-wrapper),
|
|
1689
1672
|
.components-card__body:has(> .dataviews-picker-wrapper) {
|
|
@@ -1691,35 +1674,6 @@ button.font-library-modal__upload-area {
|
|
|
1691
1674
|
overflow: hidden;
|
|
1692
1675
|
}
|
|
1693
1676
|
|
|
1694
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions,
|
|
1695
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-filters__container,
|
|
1696
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-footer,
|
|
1697
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-grid,
|
|
1698
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-loading,
|
|
1699
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results,
|
|
1700
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews__view-actions,
|
|
1701
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-filters__container,
|
|
1702
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-footer,
|
|
1703
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-grid,
|
|
1704
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-loading,
|
|
1705
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-no-results {
|
|
1706
|
-
padding-inline: 24px;
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:first-child,
|
|
1710
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:first-child,
|
|
1711
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:first-child,
|
|
1712
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:first-child {
|
|
1713
|
-
padding-inline-start: 24px;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:last-child,
|
|
1717
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:last-child,
|
|
1718
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:last-child,
|
|
1719
|
-
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:last-child {
|
|
1720
|
-
padding-inline-end: 24px;
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
1677
|
.dataviews-bulk-actions-footer__item-count {
|
|
1724
1678
|
color: #1e1e1e;
|
|
1725
1679
|
font-weight: 499;
|
|
@@ -2321,7 +2275,7 @@ button.font-library-modal__upload-area {
|
|
|
2321
2275
|
bottom: 0;
|
|
2322
2276
|
left: 0;
|
|
2323
2277
|
background-color: inherit;
|
|
2324
|
-
padding: 12px
|
|
2278
|
+
padding: 12px 24px;
|
|
2325
2279
|
border-top: 1px solid #f0f0f0;
|
|
2326
2280
|
flex-shrink: 0;
|
|
2327
2281
|
}
|
|
@@ -2335,11 +2289,6 @@ button.font-library-modal__upload-area {
|
|
|
2335
2289
|
z-index: 2;
|
|
2336
2290
|
}
|
|
2337
2291
|
|
|
2338
|
-
@container (max-width: 430px) {
|
|
2339
|
-
.dataviews-footer {
|
|
2340
|
-
padding: 12px 24px;
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
2292
|
@container (max-width: 560px) {
|
|
2344
2293
|
.dataviews-footer {
|
|
2345
2294
|
flex-direction: column !important;
|
|
@@ -2466,31 +2415,22 @@ button.font-library-modal__upload-area {
|
|
|
2466
2415
|
gap: 32px;
|
|
2467
2416
|
grid-template-rows: max-content;
|
|
2468
2417
|
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
2469
|
-
padding: 0
|
|
2418
|
+
padding: 0 24px 24px;
|
|
2470
2419
|
container-type: inline-size;
|
|
2471
|
-
/**
|
|
2472
|
-
* Breakpoints were adjusted from media queries breakpoints to account for
|
|
2473
|
-
* the sidebar width. This was done to match the existing styles we had.
|
|
2474
|
-
*/
|
|
2475
2420
|
}
|
|
2476
2421
|
|
|
2477
|
-
@container (max-width: 430px) {
|
|
2478
|
-
.dataviews-view-grid-items {
|
|
2479
|
-
padding-left: 24px;
|
|
2480
|
-
padding-right: 24px;
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
2422
|
@media not (prefers-reduced-motion) {
|
|
2484
2423
|
.dataviews-view-grid-items {
|
|
2485
2424
|
transition: padding ease-out 0.1s;
|
|
2486
2425
|
}
|
|
2487
2426
|
}
|
|
2488
2427
|
.dataviews-view-grid {
|
|
2489
|
-
padding: 0
|
|
2428
|
+
padding: 0 24px 24px;
|
|
2490
2429
|
display: flex;
|
|
2491
2430
|
flex-direction: column;
|
|
2492
2431
|
gap: 32px;
|
|
2493
2432
|
container-type: inline-size;
|
|
2433
|
+
margin-bottom: auto;
|
|
2494
2434
|
}
|
|
2495
2435
|
|
|
2496
2436
|
@media not (prefers-reduced-motion) {
|
|
@@ -2498,12 +2438,6 @@ button.font-library-modal__upload-area {
|
|
|
2498
2438
|
transition: padding ease-out 0.1s;
|
|
2499
2439
|
}
|
|
2500
2440
|
}
|
|
2501
|
-
@container (max-width: 430px) {
|
|
2502
|
-
.dataviews-view-grid {
|
|
2503
|
-
padding-left: 24px;
|
|
2504
|
-
padding-right: 24px;
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
2441
|
.dataviews-view-grid .dataviews-view-grid__row {
|
|
2508
2442
|
display: grid;
|
|
2509
2443
|
gap: 32px;
|
|
@@ -2704,16 +2638,10 @@ button.font-library-modal__upload-area {
|
|
|
2704
2638
|
font-weight: 499;
|
|
2705
2639
|
color: #1e1e1e;
|
|
2706
2640
|
margin: 0 0 8px 0;
|
|
2707
|
-
padding: 0
|
|
2641
|
+
padding: 0 24px;
|
|
2708
2642
|
container-type: inline-size;
|
|
2709
2643
|
}
|
|
2710
2644
|
|
|
2711
|
-
@container (max-width: 430px) {
|
|
2712
|
-
.dataviews-view-grid__group-header {
|
|
2713
|
-
padding-left: 24px;
|
|
2714
|
-
padding-right: 24px;
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
2645
|
div.dataviews-view-list {
|
|
2718
2646
|
list-style-type: none;
|
|
2719
2647
|
}
|
|
@@ -3002,12 +2930,12 @@ div.dataviews-view-list {
|
|
|
3002
2930
|
|
|
3003
2931
|
.dataviews-view-table tr td:first-child,
|
|
3004
2932
|
.dataviews-view-table tr th:first-child {
|
|
3005
|
-
padding-left:
|
|
2933
|
+
padding-left: 24px;
|
|
3006
2934
|
}
|
|
3007
2935
|
|
|
3008
2936
|
.dataviews-view-table tr td:last-child,
|
|
3009
2937
|
.dataviews-view-table tr th:last-child {
|
|
3010
|
-
padding-right:
|
|
2938
|
+
padding-right: 24px;
|
|
3011
2939
|
}
|
|
3012
2940
|
|
|
3013
2941
|
.dataviews-view-table tr:last-child {
|
|
@@ -3171,16 +3099,6 @@ div.dataviews-view-list {
|
|
|
3171
3099
|
padding-right: 0;
|
|
3172
3100
|
}
|
|
3173
3101
|
|
|
3174
|
-
@container (max-width: 430px) {
|
|
3175
|
-
.dataviews-view-table tr td:first-child,
|
|
3176
|
-
.dataviews-view-table tr th:first-child {
|
|
3177
|
-
padding-left: 24px;
|
|
3178
|
-
}
|
|
3179
|
-
.dataviews-view-table tr td:last-child,
|
|
3180
|
-
.dataviews-view-table tr th:last-child {
|
|
3181
|
-
padding-right: 24px;
|
|
3182
|
-
}
|
|
3183
|
-
}
|
|
3184
3102
|
.dataviews-view-table-selection-checkbox {
|
|
3185
3103
|
--checkbox-input-size: 24px;
|
|
3186
3104
|
}
|
|
@@ -3224,12 +3142,12 @@ div.dataviews-view-list {
|
|
|
3224
3142
|
|
|
3225
3143
|
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
3226
3144
|
font-weight: 499;
|
|
3227
|
-
padding: 12px
|
|
3145
|
+
padding: 12px 24px;
|
|
3228
3146
|
color: #1e1e1e;
|
|
3229
3147
|
}
|
|
3230
3148
|
|
|
3231
3149
|
/* Column width intents via colgroup: make non-primary columns shrink-to-fit */
|
|
3232
|
-
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-
|
|
3150
|
+
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data) {
|
|
3233
3151
|
width: 1%;
|
|
3234
3152
|
}
|
|
3235
3153
|
|
|
@@ -3427,7 +3345,7 @@ div.dataviews-view-list {
|
|
|
3427
3345
|
|
|
3428
3346
|
.dataviews-view-activity {
|
|
3429
3347
|
margin: 0 0 auto;
|
|
3430
|
-
padding: 8px
|
|
3348
|
+
padding: 8px 24px;
|
|
3431
3349
|
}
|
|
3432
3350
|
|
|
3433
3351
|
.dataviews-view-activity .dataviews-view-activity__group-header {
|
|
@@ -4482,8 +4400,8 @@ div.dataviews-view-list {
|
|
|
4482
4400
|
.editor-global-styles-sidebar__panel {
|
|
4483
4401
|
flex: 1;
|
|
4484
4402
|
}
|
|
4485
|
-
.editor-global-styles-sidebar .components-navigator-screen {
|
|
4486
|
-
padding:
|
|
4403
|
+
.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-screen.components-navigator-screen {
|
|
4404
|
+
padding: 12px;
|
|
4487
4405
|
}
|
|
4488
4406
|
|
|
4489
4407
|
.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Renders a user label for the autocompleter.
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} user User object.
|
|
5
|
+
* @return {JSX.Element} User label component.
|
|
6
|
+
*/
|
|
7
|
+
export function getUserLabel(user: Object): JSX.Element;
|
|
2
8
|
declare const _default: {
|
|
3
9
|
name: string;
|
|
4
10
|
className: string;
|
|
@@ -6,7 +12,7 @@ declare const _default: {
|
|
|
6
12
|
useItems(filterValue: any): {
|
|
7
13
|
key: string;
|
|
8
14
|
value: import("@wordpress/core-data").User<"edit">;
|
|
9
|
-
label:
|
|
15
|
+
label: JSX.Element;
|
|
10
16
|
}[][];
|
|
11
17
|
getOptionCompletion(user: any): string;
|
|
12
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,mCAHW,MAAM,GACL,GAAG,CAAC,OAAO,CAyBtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAkDA;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAkDA;;;;;;;;;;;gCAkYC"}
|
|
@@ -25,7 +25,6 @@ export function useFloatingThread({ thread, calculatedOffset, setHeights, select
|
|
|
25
25
|
setBlockRef: any;
|
|
26
26
|
commentLastUpdated: any;
|
|
27
27
|
}): {
|
|
28
|
-
blockRef: import("react").MutableRefObject<undefined>;
|
|
29
28
|
y: number;
|
|
30
29
|
refs: {
|
|
31
30
|
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AAuCA;;;;;EA6HC;AAED;;;;;;;;;;;EAoKC;AAED,kEA0BC;AAED;;;;;;;;;;;;;;;EAgEC;qBArYoB,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAyCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CANG;IAAwB,KAAK,EAArB,MAAM;IACU,IAAI,EAApB,QAAQ;CAGhB,GAAS,KAAK,CAAC,SAAS,CA4N1B;uBA/Oa,OAAO,uBAAuB,EAAE,QAAQ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook to get details about the currently edited content-only section.
|
|
3
|
+
* Only returns information when the content only pattern insertion experiment is enabled.
|
|
4
|
+
*
|
|
5
|
+
* @return {Object|null} Object with patternName, patternTitle, and type, or null if no section is being edited or experiment is disabled.
|
|
6
|
+
*/
|
|
7
|
+
export default function useEditedSectionDetails(): Object | null;
|
|
8
|
+
//# sourceMappingURL=useEditedSectionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEditedSectionDetails.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/useEditedSectionDetails.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AACH,mDAFY,MAAM,GAAC,IAAI,CAqFtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,KAAK,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,KAAK,CAAC,SAAS,CAuJ1B;AAkCD,yDA4EC;AAvRM,qEAYN"}
|
|
@@ -3,6 +3,6 @@ export function useEditedPostContext(): {
|
|
|
3
3
|
postType: string;
|
|
4
4
|
};
|
|
5
5
|
export function useAllowSwitchingTemplates(): boolean;
|
|
6
|
-
export function useAvailableTemplates(postType: any): false | (import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any> | Partial<import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any>>)[] | undefined;
|
|
6
|
+
export function useAvailableTemplates(postType: any): false | (import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").FontCollection<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpFontFamily<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any> | Partial<import("@wordpress/core-data").UnstableBase<any> | import("@wordpress/core-data").Attachment<any> | import("@wordpress/core-data").Comment<any> | import("@wordpress/core-data").FontCollection<any> | import("@wordpress/core-data").GlobalStylesRevision<any> | import("@wordpress/core-data").MenuLocation<any> | import("@wordpress/core-data").NavMenu<any> | import("@wordpress/core-data").NavMenuItem<any> | import("@wordpress/core-data").Page<any> | import("@wordpress/core-data").Plugin<any> | import("@wordpress/core-data").Post<any> | import("@wordpress/core-data").PostStatusObject<any> | import("@wordpress/core-data").PostRevision<any> | import("@wordpress/core-data").Settings<any> | import("@wordpress/core-data").Sidebar<any> | import("@wordpress/core-data").Taxonomy<any> | import("@wordpress/core-data").Term<any> | import("@wordpress/core-data").Theme<any> | import("@wordpress/core-data").User<any> | import("@wordpress/core-data").Type<any> | import("@wordpress/core-data").Widget<any> | import("@wordpress/core-data").WidgetType<any> | import("@wordpress/core-data").WpFontFamily<any> | import("@wordpress/core-data").WpTemplate<any> | import("@wordpress/core-data").WpTemplatePart<any>>)[] | undefined;
|
|
7
7
|
export function useCurrentTemplateSlug(): any;
|
|
8
8
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA8BC;AAeD,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAYA;;;EAQC;AACD,sDA8BC;AAeD,y7EAeC;AAED,8CAuBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AA2C1D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,8BAA8B,CAAC,EAAE,OAAO,CAAC;KACzC;CACD;AAgBD,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;;;;;EAQrB;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;;;;;EAQf;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,sBAAsB,GAChC,UAAU,MAAM,MACV,cAAc;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBAoItC,CAAC"}
|
|
@@ -8,7 +8,7 @@ export namespace storeConfig {
|
|
|
8
8
|
*
|
|
9
9
|
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
|
10
10
|
*/
|
|
11
|
-
export const store: import("@wordpress/data
|
|
11
|
+
export const store: import("@wordpress/data").StoreDescriptor<import("@wordpress/data").ReduxStoreConfig<any, typeof actions, typeof selectors>>;
|
|
12
12
|
import reducer from './reducer';
|
|
13
13
|
import * as selectors from './selectors';
|
|
14
14
|
import * as actions from './actions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.js"],"names":[],"mappings":";;;;;AA2BA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.js"],"names":[],"mappings":";;;;;AA2BA;;;;GAIG;AACH,iJAEI;oBA1BgB,WAAW;2BACJ,aAAa;yBACf,WAAW"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Helper function to retrieve the corresponding icon by name.
|
|
2
|
+
* Helper function to retrieve the corresponding icon by area name or icon name.
|
|
3
3
|
*
|
|
4
|
-
* @param {string}
|
|
4
|
+
* @param {string} areaOrIconName The area name (e.g., 'header', 'overlay') or icon name (e.g., 'menu').
|
|
5
5
|
*
|
|
6
6
|
* @return {Object} The corresponding icon.
|
|
7
7
|
*/
|
|
8
|
-
export function getTemplatePartIcon(
|
|
8
|
+
export function getTemplatePartIcon(areaOrIconName: string): Object;
|
|
9
9
|
//# sourceMappingURL=get-template-part-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template-part-icon.d.ts","sourceRoot":"","sources":["../../src/utils/get-template-part-icon.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template-part-icon.d.ts","sourceRoot":"","sources":["../../src/utils/get-template-part-icon.js"],"names":[],"mappings":"AAWA;;;;;;GAMG;AACH,oDAJW,MAAM,GAEL,MAAM,CAsBjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.36.0",
|
|
3
|
+
"version": "14.36.1-next.6deb34194.0",
|
|
4
4
|
"description": "Enhanced block editor for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -53,44 +53,44 @@
|
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@floating-ui/react-dom": "2.0.8",
|
|
56
|
-
"@wordpress/a11y": "^4.36.0",
|
|
57
|
-
"@wordpress/api-fetch": "^7.36.0",
|
|
58
|
-
"@wordpress/base-styles": "^6.12.0",
|
|
59
|
-
"@wordpress/blob": "^4.36.0",
|
|
60
|
-
"@wordpress/block-editor": "^15.9.0",
|
|
61
|
-
"@wordpress/blocks": "^15.9.0",
|
|
62
|
-
"@wordpress/commands": "^1.36.0",
|
|
63
|
-
"@wordpress/components": "^
|
|
64
|
-
"@wordpress/compose": "^7.36.0",
|
|
65
|
-
"@wordpress/core-data": "^7.36.0",
|
|
66
|
-
"@wordpress/data": "^10.36.0",
|
|
67
|
-
"@wordpress/dataviews": "^11.
|
|
68
|
-
"@wordpress/date": "^5.36.0",
|
|
69
|
-
"@wordpress/deprecated": "^4.36.0",
|
|
70
|
-
"@wordpress/dom": "^4.36.0",
|
|
71
|
-
"@wordpress/element": "^6.36.0",
|
|
72
|
-
"@wordpress/fields": "^0.28.0",
|
|
73
|
-
"@wordpress/global-styles-engine": "^1.3.0",
|
|
74
|
-
"@wordpress/global-styles-ui": "^1.3.0",
|
|
75
|
-
"@wordpress/hooks": "^4.36.0",
|
|
76
|
-
"@wordpress/html-entities": "^4.36.0",
|
|
77
|
-
"@wordpress/i18n": "^6.9.0",
|
|
78
|
-
"@wordpress/icons": "^11.3.0",
|
|
79
|
-
"@wordpress/interface": "^9.21.0",
|
|
80
|
-
"@wordpress/keyboard-shortcuts": "^5.36.0",
|
|
81
|
-
"@wordpress/keycodes": "^4.36.0",
|
|
82
|
-
"@wordpress/media-utils": "^5.36.0",
|
|
83
|
-
"@wordpress/notices": "^5.36.0",
|
|
84
|
-
"@wordpress/patterns": "^2.36.0",
|
|
85
|
-
"@wordpress/plugins": "^7.36.0",
|
|
86
|
-
"@wordpress/preferences": "^4.36.0",
|
|
87
|
-
"@wordpress/private-apis": "^1.36.0",
|
|
88
|
-
"@wordpress/reusable-blocks": "^5.36.0",
|
|
89
|
-
"@wordpress/rich-text": "^7.36.0",
|
|
90
|
-
"@wordpress/server-side-render": "^6.12.0",
|
|
91
|
-
"@wordpress/url": "^4.36.0",
|
|
92
|
-
"@wordpress/warning": "^3.36.0",
|
|
93
|
-
"@wordpress/wordcount": "^4.36.0",
|
|
56
|
+
"@wordpress/a11y": "^4.36.1-next.6deb34194.0",
|
|
57
|
+
"@wordpress/api-fetch": "^7.36.1-next.6deb34194.0",
|
|
58
|
+
"@wordpress/base-styles": "^6.12.1-next.6deb34194.0",
|
|
59
|
+
"@wordpress/blob": "^4.36.1-next.6deb34194.0",
|
|
60
|
+
"@wordpress/block-editor": "^15.9.1-next.6deb34194.0",
|
|
61
|
+
"@wordpress/blocks": "^15.9.1-next.6deb34194.0",
|
|
62
|
+
"@wordpress/commands": "^1.36.1-next.6deb34194.0",
|
|
63
|
+
"@wordpress/components": "^31.0.1-next.6deb34194.0",
|
|
64
|
+
"@wordpress/compose": "^7.36.1-next.6deb34194.0",
|
|
65
|
+
"@wordpress/core-data": "^7.36.1-next.6deb34194.0",
|
|
66
|
+
"@wordpress/data": "^10.36.1-next.6deb34194.0",
|
|
67
|
+
"@wordpress/dataviews": "^11.1.1-next.6deb34194.0",
|
|
68
|
+
"@wordpress/date": "^5.36.1-next.6deb34194.0",
|
|
69
|
+
"@wordpress/deprecated": "^4.36.1-next.6deb34194.0",
|
|
70
|
+
"@wordpress/dom": "^4.36.1-next.6deb34194.0",
|
|
71
|
+
"@wordpress/element": "^6.36.1-next.6deb34194.0",
|
|
72
|
+
"@wordpress/fields": "^0.28.1-next.6deb34194.0",
|
|
73
|
+
"@wordpress/global-styles-engine": "^1.3.1-next.6deb34194.0",
|
|
74
|
+
"@wordpress/global-styles-ui": "^1.3.1-next.6deb34194.0",
|
|
75
|
+
"@wordpress/hooks": "^4.36.1-next.6deb34194.0",
|
|
76
|
+
"@wordpress/html-entities": "^4.36.1-next.6deb34194.0",
|
|
77
|
+
"@wordpress/i18n": "^6.9.1-next.6deb34194.0",
|
|
78
|
+
"@wordpress/icons": "^11.3.1-next.6deb34194.0",
|
|
79
|
+
"@wordpress/interface": "^9.21.1-next.6deb34194.0",
|
|
80
|
+
"@wordpress/keyboard-shortcuts": "^5.36.1-next.6deb34194.0",
|
|
81
|
+
"@wordpress/keycodes": "^4.36.1-next.6deb34194.0",
|
|
82
|
+
"@wordpress/media-utils": "^5.36.1-next.6deb34194.0",
|
|
83
|
+
"@wordpress/notices": "^5.36.1-next.6deb34194.0",
|
|
84
|
+
"@wordpress/patterns": "^2.36.1-next.6deb34194.0",
|
|
85
|
+
"@wordpress/plugins": "^7.36.1-next.6deb34194.0",
|
|
86
|
+
"@wordpress/preferences": "^4.36.1-next.6deb34194.0",
|
|
87
|
+
"@wordpress/private-apis": "^1.36.1-next.6deb34194.0",
|
|
88
|
+
"@wordpress/reusable-blocks": "^5.36.1-next.6deb34194.0",
|
|
89
|
+
"@wordpress/rich-text": "^7.36.1-next.6deb34194.0",
|
|
90
|
+
"@wordpress/server-side-render": "^6.12.1-next.6deb34194.0",
|
|
91
|
+
"@wordpress/url": "^4.36.1-next.6deb34194.0",
|
|
92
|
+
"@wordpress/warning": "^3.36.1-next.6deb34194.0",
|
|
93
|
+
"@wordpress/wordcount": "^4.36.1-next.6deb34194.0",
|
|
94
94
|
"change-case": "^4.1.2",
|
|
95
95
|
"client-zip": "^2.4.5",
|
|
96
96
|
"clsx": "^2.1.1",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"publishConfig": {
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "457096e9e9b3896d2d4fe54fc19d7fb571ee9a44"
|
|
112
112
|
}
|
|
@@ -5,6 +5,12 @@ import { useMemo } from '@wordpress/element';
|
|
|
5
5
|
import { useSelect } from '@wordpress/data';
|
|
6
6
|
import { store as coreStore } from '@wordpress/core-data';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Renders a user label for the autocompleter.
|
|
10
|
+
*
|
|
11
|
+
* @param {Object} user User object.
|
|
12
|
+
* @return {JSX.Element} User label component.
|
|
13
|
+
*/
|
|
8
14
|
export function getUserLabel( user ) {
|
|
9
15
|
const avatar =
|
|
10
16
|
user.avatar_urls && user.avatar_urls[ 24 ] ? (
|