@wordpress/edit-site 6.33.1 → 6.33.3-next.36001005c.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/build/components/dataviews-actions/index.js +1 -1
- package/build/components/dataviews-actions/index.js.map +2 -2
- package/build/components/global-styles-renderer/index.js +2 -4
- package/build/components/global-styles-renderer/index.js.map +3 -3
- package/build/components/page-templates/fields.js +13 -2
- package/build/components/page-templates/fields.js.map +2 -2
- package/build/components/page-templates/index.js +7 -3
- package/build/components/page-templates/index.js.map +2 -2
- package/build/components/revisions/index.js +2 -2
- package/build/components/revisions/index.js.map +2 -2
- package/build/components/style-book/index.js +24 -19
- package/build/components/style-book/index.js.map +2 -2
- package/build/hooks/use-global-styles-output.js +77 -0
- package/build/hooks/use-global-styles-output.js.map +7 -0
- package/build-module/components/dataviews-actions/index.js +1 -1
- package/build-module/components/dataviews-actions/index.js.map +2 -2
- package/build-module/components/global-styles-renderer/index.js +1 -3
- package/build-module/components/global-styles-renderer/index.js.map +2 -2
- package/build-module/components/page-templates/fields.js +14 -3
- package/build-module/components/page-templates/fields.js.map +2 -2
- package/build-module/components/page-templates/index.js +7 -3
- package/build-module/components/page-templates/index.js.map +2 -2
- package/build-module/components/revisions/index.js +1 -1
- package/build-module/components/revisions/index.js.map +2 -2
- package/build-module/components/style-book/index.js +22 -17
- package/build-module/components/style-book/index.js.map +2 -2
- package/build-module/hooks/use-global-styles-output.js +52 -0
- package/build-module/hooks/use-global-styles-output.js.map +7 -0
- package/build-style/posts-rtl.css +15 -16
- package/build-style/posts.css +15 -16
- package/build-style/style-rtl.css +25 -26
- package/build-style/style.css +25 -26
- package/package.json +45 -44
- package/src/components/dataviews-actions/index.js +1 -0
- package/src/components/global-styles/font-library-modal/style.scss +3 -3
- package/src/components/global-styles/style.scss +1 -1
- package/src/components/global-styles-renderer/index.js +1 -4
- package/src/components/global-styles-sidebar/style.scss +2 -2
- package/src/components/page-templates/fields.js +15 -6
- package/src/components/page-templates/index.js +19 -9
- package/src/components/revisions/index.js +1 -1
- package/src/components/sidebar-navigation-screen/style.scss +1 -1
- package/src/components/sidebar-navigation-screen-patterns/style.scss +1 -1
- package/src/components/site-hub/style.scss +1 -1
- package/src/components/style-book/index.js +26 -19
- package/src/hooks/use-global-styles-output.js +80 -0
- package/tsconfig.json +1 -0
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
}
|
|
404
404
|
.dataviews-title-field {
|
|
405
405
|
font-size: 13px;
|
|
406
|
-
font-weight:
|
|
406
|
+
font-weight: 499;
|
|
407
407
|
color: #2f2f2f;
|
|
408
408
|
text-overflow: ellipsis;
|
|
409
409
|
white-space: nowrap;
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
|
|
501
501
|
.dataviews-bulk-actions-footer__item-count {
|
|
502
502
|
color: #1e1e1e;
|
|
503
|
-
font-weight:
|
|
503
|
+
font-weight: 499;
|
|
504
504
|
font-size: 11px;
|
|
505
505
|
text-transform: uppercase;
|
|
506
506
|
}
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
|
|
619
|
-
font-weight:
|
|
619
|
+
font-weight: 499;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
|
|
@@ -1135,14 +1135,14 @@
|
|
|
1135
1135
|
}
|
|
1136
1136
|
.dataviews-pagination__page-select {
|
|
1137
1137
|
font-size: 11px;
|
|
1138
|
-
font-weight:
|
|
1138
|
+
font-weight: 499;
|
|
1139
1139
|
text-transform: uppercase;
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
1142
|
@media (min-width: 600px) {
|
|
1143
1143
|
.dataviews-pagination__page-select .components-select-control__input {
|
|
1144
1144
|
font-size: 11px !important;
|
|
1145
|
-
font-weight:
|
|
1145
|
+
font-weight: 499;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
.dataviews-action-modal {
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
|
|
1475
1475
|
.dataviews-view-grid__group-header {
|
|
1476
1476
|
font-size: 15px;
|
|
1477
|
-
font-weight:
|
|
1477
|
+
font-weight: 499;
|
|
1478
1478
|
color: #1e1e1e;
|
|
1479
1479
|
margin: 0 0 8px 0;
|
|
1480
1480
|
padding: 0 48px;
|
|
@@ -1703,7 +1703,7 @@ div.dataviews-view-list {
|
|
|
1703
1703
|
|
|
1704
1704
|
.dataviews-view-list__group-header {
|
|
1705
1705
|
font-size: 15px;
|
|
1706
|
-
font-weight:
|
|
1706
|
+
font-weight: 499;
|
|
1707
1707
|
color: #1e1e1e;
|
|
1708
1708
|
margin: 0 0 8px 0;
|
|
1709
1709
|
padding: 0 24px;
|
|
@@ -1865,7 +1865,7 @@ div.dataviews-view-list {
|
|
|
1865
1865
|
padding-right: 12px;
|
|
1866
1866
|
font-size: 11px;
|
|
1867
1867
|
text-transform: uppercase;
|
|
1868
|
-
font-weight:
|
|
1868
|
+
font-weight: 499;
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
@@ -1898,7 +1898,7 @@ div.dataviews-view-list {
|
|
|
1898
1898
|
padding: 4px 8px;
|
|
1899
1899
|
font-size: 11px;
|
|
1900
1900
|
text-transform: uppercase;
|
|
1901
|
-
font-weight:
|
|
1901
|
+
font-weight: 499;
|
|
1902
1902
|
}
|
|
1903
1903
|
|
|
1904
1904
|
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
@@ -1918,9 +1918,8 @@ div.dataviews-view-list {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
|
|
1920
1920
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1921
|
-
width:
|
|
1922
|
-
|
|
1923
|
-
min-width: inherit;
|
|
1921
|
+
width: auto;
|
|
1922
|
+
white-space: nowrap;
|
|
1924
1923
|
}
|
|
1925
1924
|
|
|
1926
1925
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
@@ -1999,7 +1998,7 @@ div.dataviews-view-list {
|
|
|
1999
1998
|
}
|
|
2000
1999
|
|
|
2001
2000
|
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
2002
|
-
font-weight:
|
|
2001
|
+
font-weight: 499;
|
|
2003
2002
|
padding: 12px 48px;
|
|
2004
2003
|
color: #1e1e1e;
|
|
2005
2004
|
}
|
|
@@ -2157,7 +2156,7 @@ div.dataviews-view-list {
|
|
|
2157
2156
|
|
|
2158
2157
|
.dataviews-view-picker-grid-group__header {
|
|
2159
2158
|
font-size: 15px;
|
|
2160
|
-
font-weight:
|
|
2159
|
+
font-weight: 499;
|
|
2161
2160
|
color: #1e1e1e;
|
|
2162
2161
|
margin: 0 0 8px 0;
|
|
2163
2162
|
padding: 0 48px;
|
|
@@ -2279,7 +2278,7 @@ div.dataviews-view-list {
|
|
|
2279
2278
|
|
|
2280
2279
|
.dataforms-layouts-card__field-header-label {
|
|
2281
2280
|
font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2282
|
-
font-weight:
|
|
2281
|
+
font-weight: 499;
|
|
2283
2282
|
font-size: 15px;
|
|
2284
2283
|
line-height: 20px;
|
|
2285
2284
|
}
|
|
@@ -2957,7 +2956,7 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2957
2956
|
.edit-site-global-styles-subtitle {
|
|
2958
2957
|
margin-bottom: 0 !important;
|
|
2959
2958
|
text-transform: uppercase;
|
|
2960
|
-
font-weight:
|
|
2959
|
+
font-weight: 499 !important;
|
|
2961
2960
|
font-size: 11px !important;
|
|
2962
2961
|
}
|
|
2963
2962
|
|
|
@@ -3302,11 +3301,11 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
3302
3301
|
|
|
3303
3302
|
.edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
|
|
3304
3303
|
font-size: 15.6px;
|
|
3305
|
-
font-weight:
|
|
3304
|
+
font-weight: 499;
|
|
3306
3305
|
}
|
|
3307
3306
|
|
|
3308
3307
|
.edit-site-global-styles-sidebar .components-navigation__item > button span {
|
|
3309
|
-
font-weight:
|
|
3308
|
+
font-weight: 499;
|
|
3310
3309
|
}
|
|
3311
3310
|
|
|
3312
3311
|
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
|
|
@@ -4038,7 +4037,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4038
4037
|
.edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
4039
4038
|
background: #2f2f2f;
|
|
4040
4039
|
color: #fff;
|
|
4041
|
-
font-weight:
|
|
4040
|
+
font-weight: 499;
|
|
4042
4041
|
}
|
|
4043
4042
|
.edit-site-sidebar-navigation-item.components-item:focus-visible {
|
|
4044
4043
|
transform: translateZ(0);
|
|
@@ -4113,7 +4112,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4113
4112
|
color: #ddd;
|
|
4114
4113
|
font-size: 11px;
|
|
4115
4114
|
text-transform: uppercase;
|
|
4116
|
-
font-weight:
|
|
4115
|
+
font-weight: 499;
|
|
4117
4116
|
}
|
|
4118
4117
|
|
|
4119
4118
|
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-variations_item .edit-site-global-styles-variations_item-preview {
|
|
@@ -4201,7 +4200,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4201
4200
|
}
|
|
4202
4201
|
.edit-site-sidebar-navigation-screen-patterns__group-header h2 {
|
|
4203
4202
|
font-size: 11px;
|
|
4204
|
-
font-weight:
|
|
4203
|
+
font-weight: 499;
|
|
4205
4204
|
text-transform: uppercase;
|
|
4206
4205
|
}
|
|
4207
4206
|
|
|
@@ -4274,7 +4273,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4274
4273
|
}
|
|
4275
4274
|
.edit-site-sidebar-dataviews-dataview-item.is-selected {
|
|
4276
4275
|
background: #2f2f2f;
|
|
4277
|
-
font-weight:
|
|
4276
|
+
font-weight: 499;
|
|
4278
4277
|
color: #fff;
|
|
4279
4278
|
}
|
|
4280
4279
|
|
|
@@ -4305,7 +4304,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4305
4304
|
display: block;
|
|
4306
4305
|
flex-grow: 1;
|
|
4307
4306
|
font-size: 15px;
|
|
4308
|
-
font-weight:
|
|
4307
|
+
font-weight: 499;
|
|
4309
4308
|
overflow: hidden;
|
|
4310
4309
|
padding-left: 16px;
|
|
4311
4310
|
margin-right: -4px;
|
|
@@ -4608,7 +4607,7 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
4608
4607
|
}
|
|
4609
4608
|
.font-library-modal .font-library-modal__subtitle {
|
|
4610
4609
|
text-transform: uppercase;
|
|
4611
|
-
font-weight:
|
|
4610
|
+
font-weight: 499;
|
|
4612
4611
|
font-size: 11px;
|
|
4613
4612
|
}
|
|
4614
4613
|
.font-library-modal .components-navigator-screen {
|
|
@@ -4643,13 +4642,13 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
4643
4642
|
|
|
4644
4643
|
.font-library-modal__page-selection {
|
|
4645
4644
|
font-size: 11px;
|
|
4646
|
-
font-weight:
|
|
4645
|
+
font-weight: 499;
|
|
4647
4646
|
text-transform: uppercase;
|
|
4648
4647
|
}
|
|
4649
4648
|
@media (min-width: 600px) {
|
|
4650
4649
|
.font-library-modal__page-selection .components-select-control__input {
|
|
4651
4650
|
font-size: 11px !important;
|
|
4652
|
-
font-weight:
|
|
4651
|
+
font-weight: 499;
|
|
4653
4652
|
}
|
|
4654
4653
|
}
|
|
4655
4654
|
|
package/build-style/style.css
CHANGED
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
}
|
|
404
404
|
.dataviews-title-field {
|
|
405
405
|
font-size: 13px;
|
|
406
|
-
font-weight:
|
|
406
|
+
font-weight: 499;
|
|
407
407
|
color: #2f2f2f;
|
|
408
408
|
text-overflow: ellipsis;
|
|
409
409
|
white-space: nowrap;
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
|
|
501
501
|
.dataviews-bulk-actions-footer__item-count {
|
|
502
502
|
color: #1e1e1e;
|
|
503
|
-
font-weight:
|
|
503
|
+
font-weight: 499;
|
|
504
504
|
font-size: 11px;
|
|
505
505
|
text-transform: uppercase;
|
|
506
506
|
}
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
|
|
619
|
-
font-weight:
|
|
619
|
+
font-weight: 499;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
|
|
@@ -1135,14 +1135,14 @@
|
|
|
1135
1135
|
}
|
|
1136
1136
|
.dataviews-pagination__page-select {
|
|
1137
1137
|
font-size: 11px;
|
|
1138
|
-
font-weight:
|
|
1138
|
+
font-weight: 499;
|
|
1139
1139
|
text-transform: uppercase;
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
1142
|
@media (min-width: 600px) {
|
|
1143
1143
|
.dataviews-pagination__page-select .components-select-control__input {
|
|
1144
1144
|
font-size: 11px !important;
|
|
1145
|
-
font-weight:
|
|
1145
|
+
font-weight: 499;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
.dataviews-action-modal {
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
|
|
1475
1475
|
.dataviews-view-grid__group-header {
|
|
1476
1476
|
font-size: 15px;
|
|
1477
|
-
font-weight:
|
|
1477
|
+
font-weight: 499;
|
|
1478
1478
|
color: #1e1e1e;
|
|
1479
1479
|
margin: 0 0 8px 0;
|
|
1480
1480
|
padding: 0 48px;
|
|
@@ -1703,7 +1703,7 @@ div.dataviews-view-list {
|
|
|
1703
1703
|
|
|
1704
1704
|
.dataviews-view-list__group-header {
|
|
1705
1705
|
font-size: 15px;
|
|
1706
|
-
font-weight:
|
|
1706
|
+
font-weight: 499;
|
|
1707
1707
|
color: #1e1e1e;
|
|
1708
1708
|
margin: 0 0 8px 0;
|
|
1709
1709
|
padding: 0 24px;
|
|
@@ -1865,7 +1865,7 @@ div.dataviews-view-list {
|
|
|
1865
1865
|
padding-left: 12px;
|
|
1866
1866
|
font-size: 11px;
|
|
1867
1867
|
text-transform: uppercase;
|
|
1868
|
-
font-weight:
|
|
1868
|
+
font-weight: 499;
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
@@ -1898,7 +1898,7 @@ div.dataviews-view-list {
|
|
|
1898
1898
|
padding: 4px 8px;
|
|
1899
1899
|
font-size: 11px;
|
|
1900
1900
|
text-transform: uppercase;
|
|
1901
|
-
font-weight:
|
|
1901
|
+
font-weight: 499;
|
|
1902
1902
|
}
|
|
1903
1903
|
|
|
1904
1904
|
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
@@ -1918,9 +1918,8 @@ div.dataviews-view-list {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
|
|
1920
1920
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1921
|
-
width:
|
|
1922
|
-
|
|
1923
|
-
min-width: inherit;
|
|
1921
|
+
width: auto;
|
|
1922
|
+
white-space: nowrap;
|
|
1924
1923
|
}
|
|
1925
1924
|
|
|
1926
1925
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
@@ -1999,7 +1998,7 @@ div.dataviews-view-list {
|
|
|
1999
1998
|
}
|
|
2000
1999
|
|
|
2001
2000
|
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
2002
|
-
font-weight:
|
|
2001
|
+
font-weight: 499;
|
|
2003
2002
|
padding: 12px 48px;
|
|
2004
2003
|
color: #1e1e1e;
|
|
2005
2004
|
}
|
|
@@ -2157,7 +2156,7 @@ div.dataviews-view-list {
|
|
|
2157
2156
|
|
|
2158
2157
|
.dataviews-view-picker-grid-group__header {
|
|
2159
2158
|
font-size: 15px;
|
|
2160
|
-
font-weight:
|
|
2159
|
+
font-weight: 499;
|
|
2161
2160
|
color: #1e1e1e;
|
|
2162
2161
|
margin: 0 0 8px 0;
|
|
2163
2162
|
padding: 0 48px;
|
|
@@ -2279,7 +2278,7 @@ div.dataviews-view-list {
|
|
|
2279
2278
|
|
|
2280
2279
|
.dataforms-layouts-card__field-header-label {
|
|
2281
2280
|
font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2282
|
-
font-weight:
|
|
2281
|
+
font-weight: 499;
|
|
2283
2282
|
font-size: 15px;
|
|
2284
2283
|
line-height: 20px;
|
|
2285
2284
|
}
|
|
@@ -2957,7 +2956,7 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2957
2956
|
.edit-site-global-styles-subtitle {
|
|
2958
2957
|
margin-bottom: 0 !important;
|
|
2959
2958
|
text-transform: uppercase;
|
|
2960
|
-
font-weight:
|
|
2959
|
+
font-weight: 499 !important;
|
|
2961
2960
|
font-size: 11px !important;
|
|
2962
2961
|
}
|
|
2963
2962
|
|
|
@@ -3303,11 +3302,11 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
3303
3302
|
|
|
3304
3303
|
.edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
|
|
3305
3304
|
font-size: 15.6px;
|
|
3306
|
-
font-weight:
|
|
3305
|
+
font-weight: 499;
|
|
3307
3306
|
}
|
|
3308
3307
|
|
|
3309
3308
|
.edit-site-global-styles-sidebar .components-navigation__item > button span {
|
|
3310
|
-
font-weight:
|
|
3309
|
+
font-weight: 499;
|
|
3311
3310
|
}
|
|
3312
3311
|
|
|
3313
3312
|
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
|
|
@@ -4039,7 +4038,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4039
4038
|
.edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
4040
4039
|
background: #2f2f2f;
|
|
4041
4040
|
color: #fff;
|
|
4042
|
-
font-weight:
|
|
4041
|
+
font-weight: 499;
|
|
4043
4042
|
}
|
|
4044
4043
|
.edit-site-sidebar-navigation-item.components-item:focus-visible {
|
|
4045
4044
|
transform: translateZ(0);
|
|
@@ -4114,7 +4113,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4114
4113
|
color: #ddd;
|
|
4115
4114
|
font-size: 11px;
|
|
4116
4115
|
text-transform: uppercase;
|
|
4117
|
-
font-weight:
|
|
4116
|
+
font-weight: 499;
|
|
4118
4117
|
}
|
|
4119
4118
|
|
|
4120
4119
|
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-variations_item .edit-site-global-styles-variations_item-preview {
|
|
@@ -4202,7 +4201,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4202
4201
|
}
|
|
4203
4202
|
.edit-site-sidebar-navigation-screen-patterns__group-header h2 {
|
|
4204
4203
|
font-size: 11px;
|
|
4205
|
-
font-weight:
|
|
4204
|
+
font-weight: 499;
|
|
4206
4205
|
text-transform: uppercase;
|
|
4207
4206
|
}
|
|
4208
4207
|
|
|
@@ -4275,7 +4274,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4275
4274
|
}
|
|
4276
4275
|
.edit-site-sidebar-dataviews-dataview-item.is-selected {
|
|
4277
4276
|
background: #2f2f2f;
|
|
4278
|
-
font-weight:
|
|
4277
|
+
font-weight: 499;
|
|
4279
4278
|
color: #fff;
|
|
4280
4279
|
}
|
|
4281
4280
|
|
|
@@ -4306,7 +4305,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4306
4305
|
display: block;
|
|
4307
4306
|
flex-grow: 1;
|
|
4308
4307
|
font-size: 15px;
|
|
4309
|
-
font-weight:
|
|
4308
|
+
font-weight: 499;
|
|
4310
4309
|
overflow: hidden;
|
|
4311
4310
|
padding-right: 16px;
|
|
4312
4311
|
margin-left: -4px;
|
|
@@ -4609,7 +4608,7 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
4609
4608
|
}
|
|
4610
4609
|
.font-library-modal .font-library-modal__subtitle {
|
|
4611
4610
|
text-transform: uppercase;
|
|
4612
|
-
font-weight:
|
|
4611
|
+
font-weight: 499;
|
|
4613
4612
|
font-size: 11px;
|
|
4614
4613
|
}
|
|
4615
4614
|
.font-library-modal .components-navigator-screen {
|
|
@@ -4644,13 +4643,13 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
4644
4643
|
|
|
4645
4644
|
.font-library-modal__page-selection {
|
|
4646
4645
|
font-size: 11px;
|
|
4647
|
-
font-weight:
|
|
4646
|
+
font-weight: 499;
|
|
4648
4647
|
text-transform: uppercase;
|
|
4649
4648
|
}
|
|
4650
4649
|
@media (min-width: 600px) {
|
|
4651
4650
|
.font-library-modal__page-selection .components-select-control__input {
|
|
4652
4651
|
font-size: 11px !important;
|
|
4653
|
-
font-weight:
|
|
4652
|
+
font-weight: 499;
|
|
4654
4653
|
}
|
|
4655
4654
|
}
|
|
4656
4655
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.33.
|
|
3
|
+
"version": "6.33.3-next.36001005c.0",
|
|
4
4
|
"description": "Edit Site Page module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -37,48 +37,49 @@
|
|
|
37
37
|
"wpScript": true,
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@react-spring/web": "^9.4.5",
|
|
40
|
-
"@wordpress/a11y": "^4.33.0",
|
|
41
|
-
"@wordpress/admin-ui": "^1.1.0",
|
|
42
|
-
"@wordpress/api-fetch": "^7.33.0",
|
|
43
|
-
"@wordpress/base-styles": "^6.
|
|
44
|
-
"@wordpress/blob": "^4.33.0",
|
|
45
|
-
"@wordpress/block-editor": "^15.6.0",
|
|
46
|
-
"@wordpress/block-library": "^9.33.
|
|
47
|
-
"@wordpress/blocks": "^15.6.0",
|
|
48
|
-
"@wordpress/commands": "^1.33.0",
|
|
49
|
-
"@wordpress/components": "^30.
|
|
50
|
-
"@wordpress/compose": "^7.33.0",
|
|
51
|
-
"@wordpress/core-data": "^7.33.0",
|
|
52
|
-
"@wordpress/data": "^10.33.0",
|
|
53
|
-
"@wordpress/dataviews": "^10.
|
|
54
|
-
"@wordpress/date": "^5.33.0",
|
|
55
|
-
"@wordpress/deprecated": "^4.33.0",
|
|
56
|
-
"@wordpress/dom": "^4.33.0",
|
|
57
|
-
"@wordpress/editor": "^14.33.
|
|
58
|
-
"@wordpress/element": "^6.33.0",
|
|
59
|
-
"@wordpress/escape-html": "^3.33.0",
|
|
60
|
-
"@wordpress/fields": "^0.25.
|
|
61
|
-
"@wordpress/
|
|
62
|
-
"@wordpress/
|
|
63
|
-
"@wordpress/
|
|
64
|
-
"@wordpress/
|
|
65
|
-
"@wordpress/
|
|
66
|
-
"@wordpress/
|
|
67
|
-
"@wordpress/
|
|
68
|
-
"@wordpress/
|
|
69
|
-
"@wordpress/
|
|
70
|
-
"@wordpress/
|
|
71
|
-
"@wordpress/
|
|
72
|
-
"@wordpress/
|
|
73
|
-
"@wordpress/
|
|
74
|
-
"@wordpress/
|
|
75
|
-
"@wordpress/
|
|
76
|
-
"@wordpress/
|
|
77
|
-
"@wordpress/
|
|
78
|
-
"@wordpress/
|
|
79
|
-
"@wordpress/
|
|
80
|
-
"@wordpress/
|
|
81
|
-
"@wordpress/
|
|
40
|
+
"@wordpress/a11y": "^4.33.1-next.36001005c.0",
|
|
41
|
+
"@wordpress/admin-ui": "^1.1.1-next.36001005c.0",
|
|
42
|
+
"@wordpress/api-fetch": "^7.33.1-next.36001005c.0",
|
|
43
|
+
"@wordpress/base-styles": "^6.10.1-next.36001005c.0",
|
|
44
|
+
"@wordpress/blob": "^4.33.1-next.36001005c.0",
|
|
45
|
+
"@wordpress/block-editor": "^15.6.1-next.36001005c.0",
|
|
46
|
+
"@wordpress/block-library": "^9.33.2-next.36001005c.0",
|
|
47
|
+
"@wordpress/blocks": "^15.6.1-next.36001005c.0",
|
|
48
|
+
"@wordpress/commands": "^1.33.1-next.36001005c.0",
|
|
49
|
+
"@wordpress/components": "^30.7.1-next.36001005c.0",
|
|
50
|
+
"@wordpress/compose": "^7.33.1-next.36001005c.0",
|
|
51
|
+
"@wordpress/core-data": "^7.33.1-next.36001005c.0",
|
|
52
|
+
"@wordpress/data": "^10.33.1-next.36001005c.0",
|
|
53
|
+
"@wordpress/dataviews": "^10.1.1-next.36001005c.0",
|
|
54
|
+
"@wordpress/date": "^5.33.1-next.36001005c.0",
|
|
55
|
+
"@wordpress/deprecated": "^4.33.1-next.36001005c.0",
|
|
56
|
+
"@wordpress/dom": "^4.33.1-next.36001005c.0",
|
|
57
|
+
"@wordpress/editor": "^14.33.3-next.36001005c.0",
|
|
58
|
+
"@wordpress/element": "^6.33.1-next.36001005c.0",
|
|
59
|
+
"@wordpress/escape-html": "^3.33.1-next.36001005c.0",
|
|
60
|
+
"@wordpress/fields": "^0.25.3-next.36001005c.0",
|
|
61
|
+
"@wordpress/global-styles-engine": "^1.0.1-next.36001005c.0",
|
|
62
|
+
"@wordpress/hooks": "^4.33.1-next.36001005c.0",
|
|
63
|
+
"@wordpress/html-entities": "^4.33.1-next.36001005c.0",
|
|
64
|
+
"@wordpress/i18n": "^6.6.1-next.36001005c.0",
|
|
65
|
+
"@wordpress/icons": "^11.0.1-next.36001005c.0",
|
|
66
|
+
"@wordpress/keyboard-shortcuts": "^5.33.1-next.36001005c.0",
|
|
67
|
+
"@wordpress/keycodes": "^4.33.1-next.36001005c.0",
|
|
68
|
+
"@wordpress/media-utils": "^5.33.1-next.36001005c.0",
|
|
69
|
+
"@wordpress/notices": "^5.33.1-next.36001005c.0",
|
|
70
|
+
"@wordpress/patterns": "^2.33.1-next.36001005c.0",
|
|
71
|
+
"@wordpress/plugins": "^7.33.1-next.36001005c.0",
|
|
72
|
+
"@wordpress/preferences": "^4.33.1-next.36001005c.0",
|
|
73
|
+
"@wordpress/primitives": "^4.33.1-next.36001005c.0",
|
|
74
|
+
"@wordpress/private-apis": "^1.33.1-next.36001005c.0",
|
|
75
|
+
"@wordpress/reusable-blocks": "^5.33.1-next.36001005c.0",
|
|
76
|
+
"@wordpress/router": "^1.33.1-next.36001005c.0",
|
|
77
|
+
"@wordpress/style-engine": "^2.33.1-next.36001005c.0",
|
|
78
|
+
"@wordpress/url": "^4.33.1-next.36001005c.0",
|
|
79
|
+
"@wordpress/viewport": "^6.33.1-next.36001005c.0",
|
|
80
|
+
"@wordpress/views": "^1.0.2-next.36001005c.0",
|
|
81
|
+
"@wordpress/widgets": "^4.33.1-next.36001005c.0",
|
|
82
|
+
"@wordpress/wordcount": "^4.33.1-next.36001005c.0",
|
|
82
83
|
"change-case": "^4.1.2",
|
|
83
84
|
"clsx": "^2.1.1",
|
|
84
85
|
"colord": "^2.9.2",
|
|
@@ -93,5 +94,5 @@
|
|
|
93
94
|
"publishConfig": {
|
|
94
95
|
"access": "public"
|
|
95
96
|
},
|
|
96
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "b73a8a22e779c59efb8f911e32b681652f237d60"
|
|
97
98
|
}
|
|
@@ -27,7 +27,7 @@ $footer-height: 70px;
|
|
|
27
27
|
|
|
28
28
|
.font-library-modal__subtitle {
|
|
29
29
|
text-transform: uppercase;
|
|
30
|
-
font-weight:
|
|
30
|
+
font-weight: $font-weight-medium;
|
|
31
31
|
font-size: 11px;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -68,13 +68,13 @@ $footer-height: 70px;
|
|
|
68
68
|
|
|
69
69
|
.font-library-modal__page-selection {
|
|
70
70
|
font-size: 11px;
|
|
71
|
-
font-weight:
|
|
71
|
+
font-weight: $font-weight-medium;
|
|
72
72
|
text-transform: uppercase;
|
|
73
73
|
|
|
74
74
|
@include break-small() {
|
|
75
75
|
.components-select-control__input {
|
|
76
76
|
font-size: 11px !important;
|
|
77
|
-
font-weight:
|
|
77
|
+
font-weight: $font-weight-medium;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { useEffect } from '@wordpress/element';
|
|
5
5
|
import { useSelect, useDispatch } from '@wordpress/data';
|
|
6
|
-
import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Internal dependencies
|
|
10
9
|
*/
|
|
11
10
|
import { store as editSiteStore } from '../../store';
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const { useGlobalStylesOutput } = unlock( blockEditorPrivateApis );
|
|
11
|
+
import { useGlobalStylesOutput } from '../../hooks/use-global-styles-output';
|
|
15
12
|
|
|
16
13
|
function useGlobalStylesRenderer( disableRootPadding ) {
|
|
17
14
|
const [ styles, settings ] = useGlobalStylesOutput( disableRootPadding );
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
.edit-site-global-styles-sidebar .components-navigation__menu-title-heading {
|
|
23
23
|
font-size: $default-font-size * 1.2;
|
|
24
|
-
font-weight:
|
|
24
|
+
font-weight: $font-weight-medium;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.edit-site-global-styles-sidebar .components-navigation__item > button span {
|
|
28
|
-
font-weight:
|
|
28
|
+
font-weight: $font-weight-medium;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__experimentalHStack as HStack,
|
|
12
12
|
privateApis as componentsPrivateApis,
|
|
13
13
|
} from '@wordpress/components';
|
|
14
|
-
import { __ } from '@wordpress/i18n';
|
|
14
|
+
import { __, _x } from '@wordpress/i18n';
|
|
15
15
|
import { useState, useMemo } from '@wordpress/element';
|
|
16
16
|
import { decodeEntities } from '@wordpress/html-entities';
|
|
17
17
|
import { parse } from '@wordpress/blocks';
|
|
@@ -155,6 +155,19 @@ export const activeField = {
|
|
|
155
155
|
id: 'active',
|
|
156
156
|
getValue: ( { item } ) => item._isActive,
|
|
157
157
|
render: function Render( { item } ) {
|
|
158
|
+
if ( item._isCustom ) {
|
|
159
|
+
return (
|
|
160
|
+
<Badge
|
|
161
|
+
intent="info"
|
|
162
|
+
title={ __(
|
|
163
|
+
'Custom templates cannot be active nor inactive.'
|
|
164
|
+
) }
|
|
165
|
+
>
|
|
166
|
+
{ __( 'N/A' ) }
|
|
167
|
+
</Badge>
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
158
171
|
const isActive = item._isActive;
|
|
159
172
|
return (
|
|
160
173
|
<Badge intent={ isActive ? 'success' : 'default' }>
|
|
@@ -190,10 +203,6 @@ export const slugField = {
|
|
|
190
203
|
const defaultTemplateType = defaultTemplateTypes.find(
|
|
191
204
|
( type ) => type.slug === item.slug
|
|
192
205
|
);
|
|
193
|
-
return (
|
|
194
|
-
defaultTemplateType?.title ||
|
|
195
|
-
// translators: %s is the slug of a custom template.
|
|
196
|
-
__( 'Custom' )
|
|
197
|
-
);
|
|
206
|
+
return defaultTemplateType?.title || _x( 'Custom', 'template type' );
|
|
198
207
|
},
|
|
199
208
|
};
|
|
@@ -72,14 +72,18 @@ export default function PageTemplates() {
|
|
|
72
72
|
},
|
|
73
73
|
} );
|
|
74
74
|
|
|
75
|
-
const { activeTemplatesOption, activeTheme } =
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
const { activeTemplatesOption, activeTheme, defaultTemplateTypes } =
|
|
76
|
+
useSelect( ( select ) => {
|
|
77
|
+
const { getEntityRecord, getCurrentTheme } = select( coreStore );
|
|
78
|
+
return {
|
|
79
|
+
activeTemplatesOption: getEntityRecord( 'root', 'site' )
|
|
80
|
+
?.active_templates,
|
|
81
|
+
activeTheme: getCurrentTheme(),
|
|
82
|
+
defaultTemplateTypes:
|
|
83
|
+
select( coreStore ).getCurrentTheme()
|
|
84
|
+
?.default_template_types,
|
|
85
|
+
};
|
|
86
|
+
} );
|
|
83
87
|
// Todo: this will have to be better so that we're not fetching all the
|
|
84
88
|
// records all the time. Active templates query will need to move server
|
|
85
89
|
// side.
|
|
@@ -150,8 +154,14 @@ export default function PageTemplates() {
|
|
|
150
154
|
_isActive: activeTemplates.find(
|
|
151
155
|
( template ) => template.id === record.id
|
|
152
156
|
),
|
|
157
|
+
_isCustom:
|
|
158
|
+
record.is_custom ||
|
|
159
|
+
( ! record.meta?.is_wp_suggestion &&
|
|
160
|
+
! defaultTemplateTypes.find(
|
|
161
|
+
( type ) => type.slug === record.slug
|
|
162
|
+
) ),
|
|
153
163
|
} ) );
|
|
154
|
-
}, [ _records, activeTemplates ] );
|
|
164
|
+
}, [ _records, activeTemplates, defaultTemplateTypes ] );
|
|
155
165
|
|
|
156
166
|
const users = useSelect(
|
|
157
167
|
( select ) => {
|