PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/editor/style-rtl.css +1115 -962 23.4.0 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -186,8 +192,14 @@
186 192 /**
187 193 * Focus styles.
188 194 */
189 195 /**
196 + * Standard focus rings for the WordPress Design System.
197 + *
198 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
199 + * e.g. `&:focus { @include outset-ring__focus(); }`.
200 + */
201 +/**
190 202 * Applies editor left position to the selector passed as argument
191 203 */
192 204 /**
193 205 * Styles that are reused verbatim in a few places
@@ -210,8 +222,9 @@
210 222 background: #fff;
211 223 color: #1e1e1e;
212 224 height: 100%;
213 225 overflow: auto;
226 + width: 100vw;
214 227 }
215 228
216 229 @media (min-width: 782px) {
217 230 .interface-complementary-area {
@@ -239,9 +252,9 @@
239 252 }
240 253
241 254 .interface-complementary-area h2 {
242 255 font-size: 13px;
243 - font-weight: 499;
256 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
244 257 color: #1e1e1e;
245 258 margin-bottom: 1.5em;
246 259 }
247 260
@@ -247,9 +260,9 @@
247 260
248 261 .interface-complementary-area h3 {
249 262 font-size: 11px;
250 263 text-transform: uppercase;
251 - font-weight: 499;
264 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
252 265 color: #1e1e1e;
253 266 margin-bottom: 1.5em;
254 267 }
255 268
@@ -281,14 +294,9 @@
281 294 height: 100%;
282 295 }
283 296
284 297 @media (min-width: 782px) {
285 - body.js.is-fullscreen-mode {
286 - margin-top: -32px;
287 - height: calc(100% + 32px);
288 - }
289 - body.js.is-fullscreen-mode #adminmenumain,
290 - body.js.is-fullscreen-mode #wpadminbar {
298 + body.js.is-fullscreen-mode #adminmenumain {
291 299 display: none;
292 300 }
293 301 body.js.is-fullscreen-mode #wpcontent,
294 302 body.js.is-fullscreen-mode #wpfooter {
@@ -322,9 +330,9 @@
322 330 .interface-interface-skeleton {
323 331 top: 32px;
324 332 }
325 333 .is-fullscreen-mode .interface-interface-skeleton {
326 - top: 0;
334 + top: var(--wp-admin--admin-bar--height, 0);
327 335 }
328 336 }
329 337 .interface-interface-skeleton__editor {
330 338 display: flex;
@@ -377,9 +385,9 @@
377 385 }
378 386
379 387 @media (min-width: 782px) {
380 388 .has-footer .interface-interface-skeleton__body {
381 - padding-bottom: 25px;
389 + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px);
382 390 }
383 391 }
384 392 .interface-interface-skeleton__content {
385 393 flex-grow: 1;
@@ -466,9 +474,9 @@
466 474 .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
467 475 z-index: 30;
468 476 display: flex;
469 477 background: #fff;
470 - height: 24px;
478 + height: var(--wpds-dimension-size-md, 32px);
471 479 align-items: center;
472 480 font-size: 13px;
473 481 padding: 0 18px;
474 482 }
@@ -504,9 +512,9 @@
504 512 border-right: 1px solid #ddd;
505 513 top: 32px;
506 514 }
507 515 .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
508 - top: 0;
516 + top: var(--wp-admin--admin-bar--height, 0);
509 517 }
510 518 }
511 519 .interface-pinned-items {
512 520 display: flex;
@@ -604,8 +612,14 @@
604 612 /**
605 613 * Focus styles.
606 614 */
607 615 /**
616 + * Standard focus rings for the WordPress Design System.
617 + *
618 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
619 + * e.g. `&:focus { @include outset-ring__focus(); }`.
620 + */
621 +/**
608 622 * Applies editor left position to the selector passed as argument
609 623 */
610 624 /**
611 625 * Styles that are reused verbatim in a few places
@@ -639,9 +653,9 @@
639 653 }
640 654
641 655 .font-library-modal .font-library__subtitle {
642 656 text-transform: uppercase;
643 - font-weight: 499;
657 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
644 658 font-size: 11px;
645 659 }
646 660
647 661 .font-library-modal__tab-panel {
@@ -679,9 +693,9 @@
679 693 .font-library__footer {
680 694 position: absolute;
681 695 width: 100%;
682 696 bottom: 0;
683 - border-top: 1px solid #ddd;
697 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
684 698 padding: 24px;
685 699 background-color: #fff;
686 700 box-sizing: border-box;
687 701 flex-grow: 0 !important;
@@ -690,22 +704,26 @@
690 704 }
691 705
692 706 .font-library__page-selection {
693 707 font-size: 11px;
694 - font-weight: 499;
708 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
695 709 text-transform: uppercase;
696 710 }
697 711
698 712 @media (min-width: 600px) {
699 - .font-library__page-selection .font-library__page-selection-trigger {
713 + .font-library__page-selection .components-select-control__input {
700 714 font-size: 11px !important;
701 - font-weight: 499;
715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
702 716 }
703 717 }
718 +.font-library__search {
719 + width: 240px;
720 +}
721 +
704 722 .font-library__fonts-title {
705 723 text-transform: uppercase;
706 724 font-size: 11px;
707 - font-weight: 600;
725 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
708 726 margin-top: 0;
709 727 margin-bottom: 0;
710 728 }
711 729
@@ -719,11 +737,15 @@
719 737 .font-library__fonts-list-item {
720 738 margin-bottom: 0;
721 739 }
722 740
741 +.font-library__font-demo {
742 + position: relative;
743 +}
744 +
723 745 .font-library__font-card {
724 746 box-sizing: border-box;
725 - border: 1px solid #ddd;
747 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
726 748 width: 100%;
727 749 height: auto !important;
728 750 padding: 16px;
729 751 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -737,13 +759,13 @@
737 759 position: relative;
738 760 }
739 761
740 762 .font-library__font-card .font-library__font-card__name {
741 - font-weight: bold;
763 + font-weight: 700;
742 764 }
743 765
744 766 .font-library__font-card .font-library__font-card__count {
745 - color: #757575;
767 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
746 768 }
747 769
748 770 .font-library__font-card .font-library__font-variant_demo-image {
749 771 display: block;
@@ -750,8 +772,25 @@
750 772 height: 24px;
751 773 width: auto;
752 774 }
753 775
776 +@media not (prefers-reduced-motion) {
777 + .font-library__font-card .font-library__font-variant_demo-image {
778 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
779 + }
780 +}
781 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
782 + position: absolute;
783 + top: 0;
784 + right: 0;
785 + opacity: 0;
786 +}
787 +
788 +.font-library__font-card .font-library__font-variant-demo-skeleton {
789 + height: 24px;
790 + border-radius: var(--wpds-border-radius-sm, 2px);
791 +}
792 +
754 793 .font-library__font-card .font-library__font-variant_demo-text {
755 794 white-space: nowrap;
756 795 flex-shrink: 0;
757 796 }
@@ -763,9 +802,9 @@
763 802 }
764 803 .font-library-modal__tablist-container {
765 804 position: sticky;
766 805 top: 0;
767 - border-bottom: 1px solid #ddd;
806 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
768 807 background: #fff;
769 808 z-index: 1;
770 809 }
771 810
@@ -786,9 +825,9 @@
786 825 width: 80%;
787 826 }
788 827
789 828 .font-library__local-fonts .font-library__upload-area__text {
790 - color: #757575;
829 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
791 830 }
792 831
793 832 .font-library__google-fonts-confirm {
794 833 display: flex;
@@ -823,115 +862,22 @@
823 862 .font-library__select-all .components-checkbox-control__label {
824 863 padding-right: 16px;
825 864 }
826 865
827 -.global-styles-ui-pagination .components-button.is-tertiary {
828 - width: 32px;
829 - height: 32px;
830 - justify-content: center;
831 -}
832 -
833 -.global-styles-ui-screen-revisions__revisions-list {
834 - list-style: none;
835 - margin: 0 16px 16px 16px;
836 - flex-grow: 1;
837 -}
838 -
839 -.global-styles-ui-screen-revisions__revisions-list li {
840 - margin-bottom: 0;
841 -}
842 -
843 -.global-styles-ui-screen-revisions__revision-item {
844 - position: relative;
845 - cursor: var(--wpds-cursor-control, pointer);
866 +.global-styles-ui-screen-revisions {
846 867 display: flex;
847 868 flex-direction: column;
869 + flex-grow: 1;
870 + min-height: 0;
848 871 }
849 872
850 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
851 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
852 - outline: 2px solid transparent;
873 +.global-styles-ui-screen-revisions__actions {
874 + margin-inline-start: auto;
853 875 }
854 876
855 -.global-styles-ui-screen-revisions__revision-item:hover {
856 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
857 -}
858 -
859 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
860 - color: var(--wp-admin-theme-color);
861 -}
862 -
863 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
864 - position: absolute;
865 - content: "\a";
866 - display: block;
867 -}
868 -
869 -.global-styles-ui-screen-revisions__revision-item::before {
870 - background: #ddd;
871 - border-radius: 50%;
872 - height: 8px;
873 - width: 8px;
874 - top: 18px;
875 - right: 17px;
876 - transform: translate(50%, -50%);
877 - z-index: 1;
878 - border: 4px solid transparent;
879 -}
880 -
881 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
882 - border-radius: 2px;
883 - outline: 3px solid transparent;
884 - outline-offset: -2px;
885 - color: var(--wp-admin-theme-color);
886 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
887 -}
888 -
889 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
890 - color: var(--wp-admin-theme-color);
891 -}
892 -
893 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
894 - background: var(--wp-admin-theme-color);
895 -}
896 -
897 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
898 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
899 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
900 - color: #1e1e1e;
901 -}
902 -
903 -.global-styles-ui-screen-revisions__revision-item::after {
904 - height: 100%;
905 - right: 16px;
906 - top: 0;
907 - width: 0;
908 - border: 0.5px solid #ddd;
909 -}
910 -
911 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
912 - top: 18px;
913 -}
914 -
915 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
916 - height: 18px;
917 -}
918 -
919 -.global-styles-ui-screen-revisions__revision-item-wrapper {
920 - display: block;
921 - padding: 12px 40px 4px 12px;
922 -}
923 -
924 -.global-styles-ui-screen-revisions__apply-button.is-primary,
925 -.global-styles-ui-screen-revisions__applied-text {
926 - align-self: flex-start;
927 - margin: 4px 40px 12px 12px;
928 -}
929 -
930 -.global-styles-ui-screen-revisions__changes,
931 -.global-styles-ui-screen-revisions__meta,
932 -.global-styles-ui-screen-revisions__applied-text {
933 - color: #757575;
877 +.global-styles-ui-screen-revisions__date {
878 + text-transform: uppercase;
879 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
934 880 font-size: 12px;
935 881 }
936 882
937 883 .global-styles-ui-screen-revisions__description {
@@ -940,11 +886,11 @@
940 886 align-items: flex-start;
941 887 gap: 8px;
942 888 }
943 889
944 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
945 - text-transform: uppercase;
946 - font-weight: 600;
890 +.global-styles-ui-screen-revisions__changes,
891 +.global-styles-ui-screen-revisions__meta {
892 + color: #2f2f2f;
947 893 font-size: 12px;
948 894 }
949 895
950 896 .global-styles-ui-screen-revisions__meta {
@@ -950,11 +896,10 @@
950 896 .global-styles-ui-screen-revisions__meta {
951 897 display: flex;
952 898 justify-content: start;
953 899 width: 100%;
954 - align-items: flex-start;
900 + align-items: center;
955 901 text-align: right;
956 - margin-bottom: 4px;
957 902 }
958 903
959 904 .global-styles-ui-screen-revisions__meta img {
960 905 width: 16px;
@@ -962,16 +907,12 @@
962 907 border-radius: 100%;
963 908 margin-left: 8px;
964 909 }
965 910
966 -.global-styles-ui-screen-revisions__loading {
967 - margin: 24px auto !important;
968 -}
969 -
970 911 .global-styles-ui-screen-revisions__changes {
971 912 text-align: right;
972 913 line-height: 1.4;
973 - margin-right: 12px;
914 + margin: 0 12px 0 0;
974 915 list-style: disc;
975 916 }
976 917
977 918 .global-styles-ui-screen-revisions__changes li {
@@ -977,47 +918,8 @@
977 918 .global-styles-ui-screen-revisions__changes li {
978 919 margin-bottom: 4px;
979 920 }
980 921
981 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
982 - justify-content: space-between;
983 - gap: 2px;
984 -}
985 -
986 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
987 - position: absolute;
988 - right: -1000px;
989 - height: 1px;
990 - margin: -1px;
991 - overflow: hidden;
992 -}
993 -
994 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
995 - font-size: 12px;
996 - will-change: opacity;
997 -}
998 -
999 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
1000 - color: #1e1e1e;
1001 -}
1002 -
1003 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1004 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1005 - color: #949494;
1006 -}
1007 -
1008 -.global-styles-ui-screen-revisions__footer {
1009 - height: 56px;
1010 - z-index: 1;
1011 - position: sticky;
1012 - min-width: 100%;
1013 - bottom: 0;
1014 - background: #fff;
1015 - padding: 12px;
1016 - border-top: 1px solid #ddd;
1017 - box-sizing: border-box;
1018 -}
1019 -
1020 922 .global-styles-ui-variations_item {
1021 923 box-sizing: border-box;
1022 924 cursor: var(--wpds-cursor-control, pointer);
1023 925 }
@@ -1098,13 +1000,34 @@
1098 1000 justify-content: center;
1099 1001 border-radius: 2px;
1100 1002 }
1101 1003
1004 +.global-styles-ui-block-types-filter {
1005 + margin-bottom: 12px;
1006 + padding: 0 16px;
1007 +}
1008 +
1102 1009 .global-styles-ui-block-types-search {
1103 - margin-bottom: 10px;
1104 - padding: 0 16px;
1010 + flex-grow: 1;
1105 1011 }
1106 1012
1013 +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
1014 + min-width: 24px;
1015 +}
1016 +
1017 +.global-styles-ui-block-types-item-list__no-results {
1018 + padding-top: 16px;
1019 +}
1020 +
1021 +.global-styles-ui-block-types-item__indicator {
1022 + background: var(--wp-admin-theme-color);
1023 + border-radius: 50%;
1024 + flex: none;
1025 + height: 6px;
1026 + margin-right: auto;
1027 + width: 6px;
1028 +}
1029 +
1107 1030 .global-styles-ui-screen-typography__font-variants-count {
1108 1031 color: #757575;
1109 1032 }
1110 1033
@@ -1127,15 +1050,15 @@
1127 1050
1128 1051 .global-styles-ui-subtitle {
1129 1052 margin-bottom: 0 !important;
1130 1053 text-transform: uppercase;
1131 - font-weight: 499 !important;
1054 + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
1132 1055 font-size: 11px !important;
1133 1056 }
1134 1057
1135 1058 .global-styles-ui-section-title {
1136 1059 color: #2f2f2f;
1137 - font-weight: 600;
1060 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1138 1061 line-height: 1.2;
1139 1062 padding: 16px 16px 0;
1140 1063 margin: 0;
1141 1064 }
@@ -1146,10 +1069,20 @@
1146 1069
1147 1070 .global-styles-ui__color-indicator-wrapper {
1148 1071 height: 24px;
1149 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1150 1075 }
1151 1076
1077 +.global-styles-ui__palette-preview {
1078 + display: inline-flex;
1079 +}
1080 +
1081 +.global-styles-ui__palette-preview > * + * {
1082 + margin-inline-start: -8px;
1083 +}
1084 +
1152 1085 .global-styles-ui__shadows-panel__options-container,
1153 1086 .global-styles-ui__typography-panel__options-container {
1154 1087 height: 24px;
1155 1088 }
@@ -1161,9 +1094,10 @@
1161 1094 border-radius: 2px;
1162 1095 overflow: hidden;
1163 1096 }
1164 1097
1165 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1166 1100 height: 144px;
1167 1101 border: #ddd 1px solid;
1168 1102 border-radius: 2px;
1169 1103 overflow: auto;
@@ -1171,9 +1105,9 @@
1171 1105 background-position: 0 0, 8px 8px;
1172 1106 background-size: 16px 16px;
1173 1107 }
1174 1108
1175 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1109 +.global-styles-ui__shadow-preview-block {
1176 1110 border: #ddd 1px solid;
1177 1111 border-radius: 2px;
1178 1112 background-color: #fff;
1179 1113 width: 60%;
@@ -1179,22 +1113,44 @@
1179 1113 width: 60%;
1180 1114 height: 60px;
1181 1115 }
1182 1116
1183 -.global-styles-ui__shadow-editor__dropdown-content {
1117 +.global-styles-ui__text-shadow-preview-panel {
1118 + margin-block: -8px 16px;
1119 +}
1120 +
1121 +.global-styles-ui__text-shadow-preview-text {
1122 + font-size: 24px;
1123 +}
1124 +
1125 +.global-styles-ui__text-shadow-editor__header {
1126 + margin-block-end: 8px;
1127 +}
1128 +
1129 +.global-styles-ui__text-shadow-editor__inputs {
1130 + display: grid;
1131 + grid-template-columns: repeat(2, 1fr);
1132 + gap: 16px;
1133 +}
1134 +
1135 +.global-styles-ui__shadow-editor__dropdown-content,
1136 +.global-styles-ui__text-shadow-editor__dropdown-content {
1184 1137 width: 280px;
1185 1138 }
1186 1139
1187 -.global-styles-ui__shadow-editor-panel {
1140 +.global-styles-ui__shadow-editor-panel,
1141 +.global-styles-ui__text-shadow-editor-panel {
1188 1142 margin-bottom: 4px;
1189 1143 }
1190 1144
1191 -.global-styles-ui__shadow-editor__dropdown {
1145 +.global-styles-ui__shadow-editor__dropdown,
1146 +.global-styles-ui__text-shadow-editor__dropdown {
1192 1147 width: 100%;
1193 1148 position: relative;
1194 1149 }
1195 1150
1196 -.global-styles-ui__shadow-editor__dropdown-toggle {
1151 +.global-styles-ui__shadow-editor__dropdown-toggle,
1152 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1197 1153 width: 100%;
1198 1154 height: auto;
1199 1155 padding-top: 8px;
1200 1156 padding-bottom: 8px;
@@ -1201,14 +1157,16 @@
1201 1157 text-align: right;
1202 1158 border-radius: inherit;
1203 1159 }
1204 1160
1205 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1161 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1162 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1206 1163 background: #f0f0f0;
1207 1164 color: var(--wp-admin-theme-color);
1208 1165 }
1209 1166
1210 -.global-styles-ui__shadow-editor__remove-button {
1167 +.global-styles-ui__shadow-editor__remove-button,
1168 +.global-styles-ui__text-shadow-editor__remove-button {
1211 1169 position: absolute;
1212 1170 left: 8px;
1213 1171 top: 8px;
1214 1172 opacity: 0;
@@ -1213,18 +1171,19 @@
1213 1171 top: 8px;
1214 1172 opacity: 0;
1215 1173 }
1216 1174
1217 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1218 - border: none;
1219 -}
1220 -
1221 -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
1175 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover,
1176 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1177 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1178 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1179 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1222 1180 opacity: 1;
1223 1181 }
1224 1182
1225 1183 @media (hover: none) {
1226 - .global-styles-ui__shadow-editor__remove-button {
1184 + .global-styles-ui__shadow-editor__remove-button,
1185 + .global-styles-ui__text-shadow-editor__remove-button {
1227 1186 opacity: 1;
1228 1187 }
1229 1188 }
1230 1189 .global-styles-ui-screen-css {
@@ -1277,8 +1236,16 @@
1277 1236 flex-direction: column;
1278 1237 height: 100%;
1279 1238 }
1280 1239
1240 +.global-styles-ui-color-palette__tablist-container {
1241 + border-bottom: 1px solid #ddd;
1242 +}
1243 +
1244 +.global-styles-ui-color-palette__tablist {
1245 + margin-bottom: -1px;
1246 +}
1247 +
1281 1248 .global-styles-ui-sidebar__navigator-screen .single-column {
1282 1249 grid-column: span 1;
1283 1250 }
1284 1251
@@ -1300,9 +1267,10 @@
1300 1267 clip-path: border-box;
1301 1268 }
1302 1269
1303 1270 .global-styles-ui-color-palette-panel,
1304 -.global-styles-ui-gradient-palette-panel {
1271 +.global-styles-ui-gradient-palette-panel,
1272 +.global-styles-ui-duotone-palette-panel {
1305 1273 padding: 16px;
1306 1274 }
1307 1275
1308 1276 /**
@@ -1374,8 +1342,14 @@
1374 1342 /**
1375 1343 * Focus styles.
1376 1344 */
1377 1345 /**
1346 + * Standard focus rings for the WordPress Design System.
1347 + *
1348 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
1349 + * e.g. `&:focus { @include outset-ring__focus(); }`.
1350 + */
1351 +/**
1378 1352 * Applies editor left position to the selector passed as argument
1379 1353 */
1380 1354 /**
1381 1355 * Styles that are reused verbatim in a few places
@@ -1399,16 +1373,15 @@
1399 1373 height: 100%;
1400 1374 flex-grow: 1;
1401 1375 min-height: 0;
1402 1376 box-sizing: border-box;
1403 - scroll-padding-bottom: calc(var(--wpds-dimension-base, 4px) * 16);
1404 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1377 + scroll-padding-bottom: 64px;
1405 1378 container: dataviews-wrapper/inline-size;
1406 1379 display: flex;
1407 1380 flex-direction: column;
1408 1381 font-size: var(--wpds-typography-font-size-md, 13px);
1409 1382 line-height: var(--wpds-typography-line-height-sm, 20px);
1410 - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
1383 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
1411 1384 }
1412 1385
1413 1386 .dataviews__view-actions,
1414 1387 .dataviews-filters__container {
@@ -1425,8 +1398,16 @@
1425 1398 .dataviews-filters__container {
1426 1399 transition: padding ease-out 0.1s;
1427 1400 }
1428 1401 }
1402 +.dataviews__search {
1403 + flex-grow: 1;
1404 +}
1405 +
1406 +.dataviews__search .dataviews-search {
1407 + flex-basis: 210px;
1408 +}
1409 +
1429 1410 .dataviews-no-results,
1430 1411 .dataviews-loading {
1431 1412 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1432 1413 flex-grow: 1;
@@ -1463,8 +1444,12 @@
1463 1444 .dataviews-loading-more {
1464 1445 text-align: center;
1465 1446 }
1466 1447
1448 +.dataviews-loading-more[aria-hidden=true] {
1449 + visibility: hidden;
1450 +}
1451 +
1467 1452 @container (max-width: 430px) {
1468 1453 .dataviews__view-actions,
1469 1454 .dataviews-filters__container {
1470 1455 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
@@ -1471,10 +1456,10 @@
1471 1456 }
1472 1457 }
1473 1458 .dataviews-title-field {
1474 1459 font-size: var(--wpds-typography-font-size-md, 13px);
1475 - font-weight: var(--wpds-typography-font-weight-medium, 499);
1476 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1460 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1461 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1477 1462 text-overflow: ellipsis;
1478 1463 white-space: nowrap;
1479 1464 width: 100%;
1480 1465 }
@@ -1485,13 +1470,13 @@
1485 1470 white-space: nowrap;
1486 1471 overflow: hidden;
1487 1472 display: block;
1488 1473 flex-grow: 0;
1489 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1474 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1490 1475 }
1491 1476
1492 1477 .dataviews-title-field a:hover {
1493 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1478 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1494 1479 }
1495 1480
1496 1481 .dataviews-title-field a:focus {
1497 1482 color: var(--wp-admin-theme-color--rgb);
@@ -1506,22 +1491,22 @@
1506 1491 white-space: nowrap;
1507 1492 overflow: hidden;
1508 1493 display: block;
1509 1494 width: 100%;
1510 - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
1495 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1511 1496 }
1512 1497
1513 1498 .dataviews-title-field button.components-button.is-link:hover {
1514 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1499 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1515 1500 }
1516 1501
1517 1502 .dataviews-title-field--clickable {
1518 1503 cursor: var(--wpds-cursor-control, pointer);
1519 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1504 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1520 1505 }
1521 1506
1522 1507 .dataviews-title-field--clickable:hover {
1523 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1508 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1524 1509 }
1525 1510
1526 1511 .dataviews-title-field--clickable:focus {
1527 1512 color: var(--wp-admin-theme-color--rgb);
@@ -1545,14 +1530,14 @@
1545 1530 overflow: hidden;
1546 1531 }
1547 1532
1548 1533 .dataviews-bulk-actions-footer__item-count {
1549 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1534 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1550 1535 }
1551 1536
1552 1537 .dataviews-bulk-actions-footer__container {
1553 1538 margin-left: auto;
1554 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1539 + min-height: var(--wpds-dimension-size-md, 32px);
1555 1540 }
1556 1541
1557 1542 .dataviews-layout__container {
1558 1543 flex: 1;
@@ -1607,9 +1592,9 @@
1607 1592 display: none;
1608 1593 }
1609 1594
1610 1595 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1611 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
1596 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1612 1597 white-space: nowrap;
1613 1598 overflow: hidden;
1614 1599 text-overflow: ellipsis;
1615 1600 flex-shrink: 0; /* Prevents this element from shrinking */
@@ -1617,10 +1602,10 @@
1617 1602 }
1618 1603
1619 1604 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1620 1605 width: 100%;
1606 + min-width: 0;
1621 1607 white-space: nowrap;
1622 - overflow: hidden;
1623 1608 }
1624 1609
1625 1610 .dataviews-filters__summary-chip-container {
1626 1611 position: relative;
@@ -1631,10 +1616,10 @@
1631 1616 border-radius: var(--wpds-border-radius-lg, 8px);
1632 1617 border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1633 1618 cursor: var(--wpds-cursor-control, pointer);
1634 1619 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1635 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1636 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1620 + min-height: var(--wpds-dimension-size-md, 32px);
1621 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1637 1622 position: relative;
1638 1623 display: flex;
1639 1624 align-items: center;
1640 1625 box-sizing: border-box;
@@ -1644,41 +1629,41 @@
1644 1629 cursor: default;
1645 1630 }
1646 1631
1647 1632 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1648 - padding-inline-end: calc(24px + var(--wpds-dimension-padding-xs, 4px));
1633 + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px));
1649 1634 }
1650 1635
1651 1636 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
1652 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1637 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1653 1638 border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1654 - background-color: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed);
1639 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1655 1640 }
1656 1641
1657 1642 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1658 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1659 - background: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0));
1643 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1644 + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1660 1645 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1661 1646 }
1662 1647
1663 1648 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1664 - color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9));
1665 - background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1649 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1650 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1666 1651 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1667 1652 }
1668 1653
1669 1654 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1670 1655 outline: none;
1671 - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1656 + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1672 1657 }
1673 1658
1674 1659 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1675 - font-weight: var(--wpds-typography-font-weight-medium, 499);
1660 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1676 1661 }
1677 1662
1678 1663 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1679 - width: 24px;
1680 - height: 24px;
1664 + width: var(--wpds-dimension-size-sm, 24px);
1665 + height: var(--wpds-dimension-size-sm, 24px);
1681 1666 border-radius: var(--wpds-border-radius-md, 4px);
1682 1667 border: 0;
1683 1668 padding: 0;
1684 1669 position: absolute;
@@ -1692,34 +1677,34 @@
1692 1677 cursor: var(--wpds-cursor-control, pointer);
1693 1678 }
1694 1679
1695 1680 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1696 - fill: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1681 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1697 1682 }
1698 1683
1699 1684 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1700 - background: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed);
1685 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1701 1686 }
1702 1687
1703 1688 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1704 - fill: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
1689 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1705 1690 }
1706 1691
1707 1692 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1708 - fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1693 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1709 1694 }
1710 1695
1711 1696 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1712 - background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1697 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1713 1698 }
1714 1699
1715 1700 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1716 1701 outline: none;
1717 - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1702 + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1718 1703 }
1719 1704
1720 1705 .dataviews-filters__search-widget-filter-combobox-list {
1721 - max-height: calc(var(--wpds-dimension-base, 4px) * 46);
1706 + max-height: 184px;
1722 1707 padding: var(--wpds-dimension-padding-xs, 4px);
1723 1708 overflow: auto;
1724 1709 border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1725 1710 }
@@ -1724,9 +1709,9 @@
1724 1709 border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1725 1710 }
1726 1711
1727 1712 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1728 - font-weight: 600;
1713 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1729 1714 }
1730 1715
1731 1716 .dataviews-filters__search-widget-listbox {
1732 1717 padding: var(--wpds-dimension-padding-xs, 4px);
@@ -1740,13 +1725,14 @@
1740 1725 border-radius: var(--wpds-border-radius-sm, 2px);
1741 1726 box-sizing: border-box;
1742 1727 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1743 1728 cursor: default;
1744 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1745 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1746 - font-weight: 400;
1729 + min-height: var(--wpds-dimension-size-md, 32px);
1730 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1731 + font-weight: var(--wpds-typography-font-weight-default, 400);
1747 1732 font-size: 13px;
1748 1733 line-height: 20px;
1734 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1749 1735 }
1750 1736
1751 1737 .dataviews-filters__search-widget-listitem:last-child {
1752 1738 margin-block-end: 0;
@@ -1752,31 +1738,37 @@
1752 1738 margin-block-end: 0;
1753 1739 }
1754 1740
1755 1741 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1756 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1742 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1743 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1757 1744 }
1758 1745
1759 1746 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
1760 1747 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1761 - background: var(--wpds-color-bg-surface-neutral-strong, #fff);
1748 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
1762 1749 }
1763 1750
1764 1751 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1765 1752 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1766 - background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1753 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1767 1754 }
1768 1755
1769 1756 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
1757 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1758 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1770 1759 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1771 - background: var(--wpds-color-bg-surface-neutral-strong, #fff);
1772 1760 }
1773 1761
1774 1762 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1775 1763 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1776 - background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1764 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1777 1765 }
1778 1766
1767 +.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
1768 + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
1769 +}
1770 +
1779 1771 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1780 1772 overflow: hidden;
1781 1773 text-overflow: ellipsis;
1782 1774 white-space: nowrap;
@@ -1788,9 +1780,9 @@
1788 1780 overflow: hidden;
1789 1781 text-overflow: ellipsis;
1790 1782 font-size: var(--wpds-typography-font-size-sm, 12px);
1791 1783 line-height: 16px;
1792 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
1784 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1793 1785 }
1794 1786
1795 1787 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1796 1788 border: 1px solid #1e1e1e;
@@ -1851,9 +1843,9 @@
1851 1843 padding: 0;
1852 1844 }
1853 1845
1854 1846 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1855 - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1847 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1856 1848 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1857 1849 }
1858 1850
1859 1851 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -1866,10 +1858,10 @@
1866 1858 top: 50%;
1867 1859 right: 50%;
1868 1860 transform: translate(50%, -50%);
1869 1861 margin: 0;
1870 - background-color: var(--wpds-color-fg-interactive-brand-strong, #fff);
1871 - border: 4px solid var(--wpds-color-fg-interactive-brand-strong, #fff);
1862 + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
1863 + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff);
1872 1864 }
1873 1865
1874 1866 @media (min-width: 600px) {
1875 1867 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -1879,28 +1871,22 @@
1879 1871 }
1880 1872 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1881 1873 --checkbox-size: 24px;
1882 1874 flex-shrink: 0;
1883 - border: 1px solid #1e1e1e;
1875 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1884 1876 margin-left: 12px;
1885 1877 transition: none;
1886 1878 border-radius: 2px;
1887 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1879 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1888 1880 padding: 6px 8px;
1889 1881 /* Fonts smaller than 16px causes mobile safari to zoom. */
1890 1882 font-size: 16px;
1891 1883 /* Override core line-height. To be reviewed. */
1892 1884 line-height: normal;
1893 - box-shadow: 0 0 0 transparent;
1894 - border-radius: 2px;
1895 - border: 1px solid #949494;
1885 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1886 + border-radius: var(--wpds-border-radius-sm, 2px);
1896 1887 }
1897 1888
1898 -@media not (prefers-reduced-motion) {
1899 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1900 - transition: box-shadow 0.1s linear;
1901 - }
1902 -}
1903 1889 @media (min-width: 600px) {
1904 1890 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1905 1891 font-size: 13px;
1906 1892 /* Override core line-height. To be reviewed. */
@@ -1906,20 +1892,25 @@
1906 1892 /* Override core line-height. To be reviewed. */
1907 1893 line-height: normal;
1908 1894 }
1909 1895 }
1896 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1897 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1898 +}
1899 +
1910 1900 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1911 - border-color: var(--wp-admin-theme-color);
1912 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1913 - outline: 2px solid transparent;
1901 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1902 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1903 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1904 + box-shadow: none;
1914 1905 }
1915 1906
1916 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
1907 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1917 1908 color: rgba(30, 30, 30, 0.62);
1918 1909 }
1919 1910
1920 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1921 - color: rgba(30, 30, 30, 0.62);
1911 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1912 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1922 1913 }
1923 1914
1924 1915 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1925 1916 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
@@ -1952,9 +1943,9 @@
1952 1943 display: inline-block;
1953 1944 vertical-align: middle;
1954 1945 width: 16px;
1955 1946 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1956 - font: normal 30px/1 dashicons;
1947 + font: 400 30px/1 dashicons;
1957 1948 speak: none;
1958 1949 -webkit-font-smoothing: antialiased;
1959 1950 -moz-osx-font-smoothing: grayscale;
1960 1951 }
@@ -1965,18 +1956,24 @@
1965 1956 font-size: 21px;
1966 1957 }
1967 1958 }
1968 1959 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
1969 - background: #f0f0f0;
1970 - border-color: #ddd;
1960 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1961 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1962 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1971 1963 cursor: default;
1972 1964 opacity: 1;
1973 1965 }
1974 1966
1967 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true]:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true][aria-checked=mixed]::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled[aria-checked=mixed]::before {
1968 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1969 +}
1970 +
1975 1971 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1976 1972 position: relative;
1977 - background: var(--wpds-color-bg-interactive-neutral-weak, rgba(0, 0, 0, 0));
1978 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1973 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1974 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1975 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1979 1976 margin: 0;
1980 1977 padding: 0;
1981 1978 width: var(--checkbox-size);
1982 1979 height: var(--checkbox-size);
@@ -1992,15 +1989,15 @@
1992 1989 transition: 0.1s border-color ease-in-out;
1993 1990 }
1994 1991 }
1995 1992 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1996 - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1993 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1997 1994 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1998 1995 }
1999 1996
2000 1997 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2001 1998 --checkmark-size: var(--checkbox-size);
2002 - fill: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0);
1999 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2003 2000 position: absolute;
2004 2001 right: 50%;
2005 2002 top: 50%;
2006 2003 transform: translate(50%, -50%);
@@ -2018,24 +2015,18 @@
2018 2015 padding: var(--wpds-dimension-padding-sm, 8px);
2019 2016 }
2020 2017
2021 2018 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2022 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2019 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2023 2020 padding: 6px 8px;
2024 2021 /* Fonts smaller than 16px causes mobile safari to zoom. */
2025 2022 font-size: 16px;
2026 2023 /* Override core line-height. To be reviewed. */
2027 2024 line-height: normal;
2028 - box-shadow: 0 0 0 transparent;
2029 - border-radius: 2px;
2030 - border: 1px solid #949494;
2025 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2026 + border-radius: var(--wpds-border-radius-sm, 2px);
2031 2027 }
2032 2028
2033 -@media not (prefers-reduced-motion) {
2034 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2035 - transition: box-shadow 0.1s linear;
2036 - }
2037 -}
2038 2029 @media (min-width: 600px) {
2039 2030 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2040 2031 font-size: 13px;
2041 2032 /* Override core line-height. To be reviewed. */
@@ -2041,16 +2032,17 @@
2041 2032 /* Override core line-height. To be reviewed. */
2042 2033 line-height: normal;
2043 2034 }
2044 2035 }
2045 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2046 - border-color: var(--wp-admin-theme-color);
2047 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2048 - outline: 2px solid transparent;
2036 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2037 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2049 2038 }
2050 2039
2051 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2052 - color: rgba(30, 30, 30, 0.62);
2040 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2041 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2042 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2043 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2044 + box-shadow: none;
2053 2045 }
2054 2046
2055 2047 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2056 2048 color: rgba(30, 30, 30, 0.62);
@@ -2057,11 +2049,11 @@
2057 2049 }
2058 2050
2059 2051 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2060 2052 display: block;
2061 - padding: 0 calc(var(--wpds-dimension-base, 4px) * 8) 0 var(--wpds-dimension-padding-sm, 8px);
2053 + padding: 0 var(--wpds-dimension-size-md, 32px) 0 var(--wpds-dimension-padding-sm, 8px);
2062 2054 width: 100%;
2063 - height: calc(var(--wpds-dimension-base, 4px) * 8);
2055 + height: var(--wpds-dimension-size-md, 32px);
2064 2056 margin-right: 0;
2065 2057 margin-left: 0;
2066 2058 /* Fonts smaller than 16px causes mobile safari to zoom. */
2067 2059 font-size: 16px;
@@ -2072,18 +2064,13 @@
2072 2064 font-size: var(--wpds-typography-font-size-md, 13px);
2073 2065 }
2074 2066 }
2075 2067 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2076 - background: var(--wpds-color-bg-surface-neutral-strong, #fff);
2077 - box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2068 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
2078 2069 }
2079 2070
2080 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2081 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
2082 -}
2083 -
2084 2071 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2085 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
2072 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2086 2073 }
2087 2074
2088 2075 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
2089 2076 -webkit-appearance: none;
@@ -2096,9 +2083,9 @@
2096 2083 bottom: 0;
2097 2084 display: flex;
2098 2085 align-items: center;
2099 2086 justify-content: center;
2100 - width: 24px;
2087 + width: var(--wpds-dimension-size-sm, 24px);
2101 2088 }
2102 2089
2103 2090 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2104 2091 transform: scaleX(-1);
@@ -2113,26 +2100,21 @@
2113 2100 position: absolute;
2114 2101 top: 0;
2115 2102 left: 0;
2116 2103 transform: translate(-50%, -50%);
2117 - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2118 - height: calc(var(--wpds-dimension-base, 4px) * 4);
2119 - min-width: calc(var(--wpds-dimension-base, 4px) * 4);
2104 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2105 + height: var(--wpds-dimension-size-2xs, 16px);
2106 + min-width: var(--wpds-dimension-size-2xs, 16px);
2120 2107 line-height: var(--wpds-typography-line-height-xs, 16px);
2121 2108 padding: 0 var(--wpds-dimension-padding-xs, 4px);
2122 2109 text-align: center;
2123 2110 border-radius: var(--wpds-border-radius-lg, 8px);
2124 2111 font-size: 11px;
2125 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-bg-surface-neutral-strong, #fff);
2126 - color: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0);
2112 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff);
2113 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2127 2114 box-sizing: border-box;
2128 2115 }
2129 2116
2130 -.dataviews-search {
2131 - width: -moz-fit-content;
2132 - width: fit-content;
2133 -}
2134 -
2135 2117 .dataviews-filters__user-input-widget {
2136 2118 padding: var(--wpds-dimension-padding-lg, 16px);
2137 2119 }
2138 2120
@@ -2193,9 +2175,9 @@
2193 2175 }
2194 2176 }
2195 2177 .dataviews-pagination__page-select {
2196 2178 font-size: 11px;
2197 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2179 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2198 2180 text-transform: uppercase;
2199 2181 }
2200 2182
2201 2183 @media (min-width: 600px) {
@@ -2200,9 +2182,9 @@
2200 2182
2201 2183 @media (min-width: 600px) {
2202 2184 .dataviews-pagination__page-select .components-select-control__input {
2203 2185 font-size: 11px !important;
2204 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2205 2187 }
2206 2188 }
2207 2189 .dataviews-action-modal {
2208 2190 z-index: 1000001;
@@ -2231,9 +2213,8 @@
2231 2213 }
2232 2214
2233 2215 .dataviews-view-config {
2234 2216 width: 320px;
2235 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2236 2217 container-type: inline-size;
2237 2218 font-size: var(--wpds-typography-font-size-md, 13px);
2238 2219 line-height: var(--wpds-typography-line-height-sm, 20px);
2239 2220 }
@@ -2306,9 +2287,9 @@
2306 2287 top: var(--wpds-dimension-gap-xs, 4px);
2307 2288 left: var(--wpds-dimension-gap-xs, 4px);
2308 2289 width: var(--wpds-dimension-gap-xs, 4px);
2309 2290 height: var(--wpds-dimension-gap-xs, 4px);
2310 - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2291 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2311 2292 border-radius: 50%;
2312 2293 pointer-events: none;
2313 2294 }
2314 2295
@@ -2381,9 +2362,9 @@
2381 2362 top: 0;
2382 2363 right: 0;
2383 2364 width: 100%;
2384 2365 height: 100%;
2385 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2366 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2386 2367 border-radius: var(--wpds-border-radius-md, 4px);
2387 2368 pointer-events: none;
2388 2369 outline: 2px solid transparent;
2389 2370 }
@@ -2402,9 +2383,9 @@
2402 2383 }
2403 2384
2404 2385 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
2405 2386 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
2406 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2387 + min-height: var(--wpds-dimension-size-sm, 24px);
2407 2388 overflow: hidden;
2408 2389 align-content: center;
2409 2390 text-align: start;
2410 2391 }
@@ -2410,32 +2391,31 @@
2410 2391 }
2411 2392
2412 2393 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
2413 2394 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
2414 - width: -moz-fit-content;
2415 2395 width: fit-content;
2416 2396 }
2417 2397
2418 2398 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
2419 2399 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2420 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2400 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2421 2401 }
2422 2402
2423 2403 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2424 2404 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2425 - box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff);
2405 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
2426 2406 }
2427 2407
2428 2408 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2429 2409 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2430 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2410 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2431 2411 }
2432 2412
2433 2413 .dataviews-view-grid .dataviews-view-grid__media,
2434 2414 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2435 2415 width: 100%;
2436 - aspect-ratio: 1/1;
2437 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
2416 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2417 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2438 2418 border-radius: var(--wpds-border-radius-md, 4px);
2439 2419 overflow: hidden;
2440 2420 position: relative;
2441 2421 }
@@ -2446,9 +2426,8 @@
2446 2426 }
2447 2427
2448 2428 .dataviews-view-grid .dataviews-view-grid__media img,
2449 2429 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
2450 - -o-object-fit: cover;
2451 2430 object-fit: cover;
2452 2431 width: 100%;
2453 2432 height: 100%;
2454 2433 }
@@ -2472,11 +2451,21 @@
2472 2451 height: 100%;
2473 2452 display: block;
2474 2453 border-radius: var(--wpds-border-radius-md, 4px);
2475 2454 box-shadow: none;
2476 - background: var(--wpds-color-bg-surface-neutral, #fcfcfc);
2455 + background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2477 2456 }
2478 2457
2458 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2459 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2460 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2461 +}
2462 +
2463 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2464 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2465 + object-fit: contain;
2466 +}
2467 +
2479 2468 .dataviews-view-grid .dataviews-view-grid__fields,
2480 2469 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2481 2470 position: relative;
2482 2471 font-size: 12px;
@@ -2489,16 +2478,16 @@
2489 2478 }
2490 2479
2491 2480 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
2492 2481 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2493 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2482 + min-height: var(--wpds-dimension-size-sm, 24px);
2494 2483 line-height: var(--wpds-typography-line-height-sm, 20px);
2495 - padding-top: calc(var(--wpds-dimension-base, 4px) / 2);
2484 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
2496 2485 }
2497 2486
2498 2487 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
2499 2488 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
2500 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2489 + min-height: var(--wpds-dimension-size-sm, 24px);
2501 2490 align-items: center;
2502 2491 }
2503 2492
2504 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
@@ -2503,9 +2492,9 @@
2503 2492
2504 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
2505 2494 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2506 2495 width: 35%;
2507 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
2496 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2508 2497 overflow: hidden;
2509 2498 text-overflow: ellipsis;
2510 2499 white-space: nowrap;
2511 2500 }
@@ -2580,9 +2569,9 @@
2580 2569 left: var(--wpds-dimension-padding-xs, 4px);
2581 2570 }
2582 2571
2583 2572 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2584 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
2573 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2585 2574 }
2586 2575
2587 2576 @media not (prefers-reduced-motion) {
2588 2577 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
@@ -2606,10 +2595,10 @@
2606 2595 }
2607 2596
2608 2597 .dataviews-view-grid__group-header {
2609 2598 font-size: var(--wpds-typography-font-size-lg, 15px);
2610 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2611 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2600 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2612 2601 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2613 2602 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2614 2603 container-type: inline-size;
2615 2604 }
@@ -2637,9 +2626,8 @@
2637 2626
2638 2627 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
2639 2628 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2640 2629 display: flex;
2641 - width: -moz-max-content;
2642 2630 width: max-content;
2643 2631 flex: 0 0 auto;
2644 2632 gap: var(--wpds-dimension-gap-xs, 4px);
2645 2633 white-space: nowrap;
@@ -2652,9 +2640,9 @@
2652 2640 }
2653 2641
2654 2642 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2655 2643 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2656 - height: 24px;
2644 + height: var(--wpds-dimension-size-sm, 24px);
2657 2645 }
2658 2646
2659 2647 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2660 2648 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
@@ -2692,10 +2680,9 @@
2692 2680 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
2693 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2694 2682 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2695 2683 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2696 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2697 - background-color: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0));
2684 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2698 2685 }
2699 2686
2700 2687 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2701 2688 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field,
@@ -2706,9 +2693,9 @@
2706 2693 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2707 2694 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2708 2695 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2709 2696 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2710 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2697 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2711 2698 }
2712 2699
2713 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2714 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2713,10 +2700,10 @@
2713 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2714 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2715 2702 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2716 2703 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2717 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2718 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
2704 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2705 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2719 2706 }
2720 2707
2721 2708 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2722 2709 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2725,9 +2712,9 @@
2725 2712 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2726 2713 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2727 2714 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2728 2715 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2729 - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
2716 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2730 2717 }
2731 2718
2732 2719 .dataviews-view-list .dataviews-view-list__item {
2733 2720 position: absolute;
@@ -2733,10 +2720,8 @@
2733 2720 position: absolute;
2734 2721 z-index: 1;
2735 2722 inset: 0;
2736 2723 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2737 - -webkit-appearance: none;
2738 - -moz-appearance: none;
2739 2724 appearance: none;
2740 2725 border: none;
2741 2726 background: none;
2742 2727 padding: 0;
@@ -2750,9 +2735,9 @@
2750 2735 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2751 2736 position: absolute;
2752 2737 content: "";
2753 2738 inset: var(--wp-admin-border-width-focus);
2754 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2739 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2755 2740 border-radius: var(--wpds-border-radius-sm, 2px);
2756 2741 outline: 2px solid transparent;
2757 2742 }
2758 2743
@@ -2757,9 +2742,9 @@
2757 2742 }
2758 2743
2759 2744 .dataviews-view-list .dataviews-view-list__title-field {
2760 2745 flex: 1;
2761 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2746 + min-height: var(--wpds-dimension-size-sm, 24px);
2762 2747 line-height: var(--wpds-typography-line-height-md, 24px);
2763 2748 overflow: hidden;
2764 2749 }
2765 2750
@@ -2767,14 +2752,14 @@
2767 2752 z-index: 1;
2768 2753 }
2769 2754
2770 2755 .dataviews-view-list .dataviews-view-list__media-wrapper {
2771 - width: calc(var(--wpds-dimension-base, 4px) * 13);
2772 - height: calc(var(--wpds-dimension-base, 4px) * 13);
2756 + width: 48px;
2757 + height: 48px;
2773 2758 overflow: hidden;
2774 2759 position: relative;
2775 2760 flex-shrink: 0;
2776 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
2761 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2777 2762 border-radius: var(--wpds-border-radius-md, 4px);
2778 2763 }
2779 2764
2780 2765 .dataviews-view-list .dataviews-view-list__media-wrapper img {
@@ -2779,9 +2764,8 @@
2779 2764
2780 2765 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2781 2766 width: 100%;
2782 2767 height: 100%;
2783 - -o-object-fit: cover;
2784 2768 object-fit: cover;
2785 2769 }
2786 2770
2787 2771 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
@@ -2795,15 +2779,15 @@
2795 2779 border-radius: var(--wpds-border-radius-md, 4px);
2796 2780 }
2797 2781
2798 2782 .dataviews-view-list .dataviews-view-list__field-wrapper {
2799 - min-height: calc(var(--wpds-dimension-base, 4px) * 13);
2783 + min-height: 48px;
2800 2784 flex-grow: 1;
2801 2785 min-width: 0;
2802 2786 }
2803 2787
2804 2788 .dataviews-view-list .dataviews-view-list__field {
2805 - color: var(--wpds-color-fg-interactive-neutral-weak, #707070);
2789 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2806 2790 }
2807 2791
2808 2792 .dataviews-view-list .dataviews-view-list__fields {
2809 2793 display: flex;
@@ -2821,9 +2805,9 @@
2821 2805 display: none;
2822 2806 }
2823 2807
2824 2808 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2825 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2809 + min-height: var(--wpds-dimension-size-sm, 24px);
2826 2810 line-height: var(--wpds-typography-line-height-sm, 20px);
2827 2811 display: flex;
2828 2812 align-items: center;
2829 2813 }
@@ -2836,19 +2820,19 @@
2836 2820 padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
2837 2821 }
2838 2822
2839 2823 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
2840 - min-height: calc(var(--wpds-dimension-base, 4px) * 4);
2824 + min-height: var(--wpds-dimension-size-2xs, 16px);
2841 2825 line-height: var(--wpds-typography-line-height-xs, 16px);
2842 2826 }
2843 2827
2844 2828 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
2845 - width: calc(var(--wpds-dimension-base, 4px) * 8);
2846 - height: calc(var(--wpds-dimension-base, 4px) * 8);
2829 + width: var(--wpds-dimension-size-md, 32px);
2830 + height: var(--wpds-dimension-size-md, 32px);
2847 2831 }
2848 2832
2849 2833 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
2850 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2834 + min-height: var(--wpds-dimension-size-md, 32px);
2851 2835 }
2852 2836
2853 2837 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
2854 2838 gap: var(--wpds-dimension-gap-sm, 8px);
@@ -2855,9 +2839,9 @@
2855 2839 row-gap: var(--wpds-dimension-gap-xs, 4px);
2856 2840 }
2857 2841
2858 2842 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2859 - min-height: calc(var(--wpds-dimension-base, 4px) * 4);
2843 + min-height: var(--wpds-dimension-size-2xs, 16px);
2860 2844 line-height: var(--wpds-typography-line-height-xs, 16px);
2861 2845 }
2862 2846
2863 2847 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
@@ -2864,19 +2848,19 @@
2864 2848 padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2865 2849 }
2866 2850
2867 2851 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
2868 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2852 + min-height: var(--wpds-dimension-size-md, 32px);
2869 2853 line-height: var(--wpds-typography-line-height-xl, 32px);
2870 2854 }
2871 2855
2872 2856 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
2873 - width: calc(var(--wpds-dimension-base, 4px) * 16);
2874 - height: calc(var(--wpds-dimension-base, 4px) * 16);
2857 + width: 64px;
2858 + height: 64px;
2875 2859 }
2876 2860
2877 2861 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
2878 - min-height: calc(var(--wpds-dimension-base, 4px) * 16);
2862 + min-height: 64px;
2879 2863 }
2880 2864
2881 2865 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
2882 2866 gap: var(--wpds-dimension-gap-lg, 16px);
@@ -2883,9 +2867,9 @@
2883 2867 row-gap: var(--wpds-dimension-gap-sm, 8px);
2884 2868 }
2885 2869
2886 2870 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2887 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2871 + min-height: var(--wpds-dimension-size-md, 32px);
2888 2872 line-height: var(--wpds-typography-line-height-md, 24px);
2889 2873 }
2890 2874
2891 2875 .dataviews-view-list.is-refreshing {
@@ -2900,11 +2884,11 @@
2900 2884 }
2901 2885 }
2902 2886 .dataviews-view-list__group-header {
2903 2887 font-size: var(--wpds-typography-font-size-lg, 15px);
2904 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2905 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2906 - margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2888 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2889 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2890 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2907 2891 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2908 2892 }
2909 2893
2910 2894 .dataviews-view-table {
@@ -2912,9 +2896,9 @@
2912 2896 text-indent: 0;
2913 2897 border-color: inherit;
2914 2898 border-collapse: collapse;
2915 2899 position: relative;
2916 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
2900 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2917 2901 margin-bottom: auto;
2918 2902 background-color: inherit;
2919 2903 }
2920 2904
@@ -2919,10 +2903,10 @@
2919 2903 }
2920 2904
2921 2905 .dataviews-view-table th {
2922 2906 text-align: right;
2923 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2924 - font-weight: normal;
2907 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2908 + font-weight: 400;
2925 2909 font-size: var(--wpds-typography-font-size-md, 13px);
2926 2910 }
2927 2911
2928 2912 .dataviews-view-table td,
@@ -2938,9 +2922,9 @@
2938 2922 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
2939 2923 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
2940 2924 position: sticky;
2941 2925 left: 0;
2942 - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
2926 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2943 2927 }
2944 2928
2945 2929 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
2946 2930 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
@@ -2950,9 +2934,9 @@
2950 2934 top: 0;
2951 2935 bottom: 0;
2952 2936 right: 0;
2953 2937 width: 1px;
2954 - background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
2938 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2955 2939 }
2956 2940
2957 2941 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2958 2942 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -2993,10 +2977,10 @@
2993 2977 opacity: 1;
2994 2978 }
2995 2979 }
2996 2980 .dataviews-view-table tr.is-selected {
2997 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2998 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2981 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2982 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2999 2983 }
3000 2984
3001 2985 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
3002 2986 border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
@@ -3002,9 +2986,9 @@
3002 2986 border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
3003 2987 }
3004 2988
3005 2989 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
3006 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2990 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3007 2991 }
3008 2992
3009 2993 .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
3010 2994 opacity: 1;
@@ -3010,13 +2994,13 @@
3010 2994 opacity: 1;
3011 2995 }
3012 2996
3013 2997 .dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
3014 - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
2998 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3015 2999 }
3016 3000
3017 3001 .dataviews-view-table.has-bulk-actions tr.is-selected .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr.is-selected:hover .dataviews-view-table__actions-column--sticky {
3018 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3002 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3019 3003 }
3020 3004
3021 3005 .dataviews-view-table thead {
3022 3006 position: sticky;
@@ -3045,9 +3029,9 @@
3045 3029 padding-top: var(--wpds-dimension-padding-sm, 8px);
3046 3030 padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3047 3031 font-size: 11px;
3048 3032 text-transform: uppercase;
3049 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3033 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3050 3034 }
3051 3035
3052 3036 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3053 3037 padding-right: var(--wpds-dimension-padding-xs, 4px);
@@ -3070,9 +3054,9 @@
3070 3054 vertical-align: top;
3071 3055 }
3072 3056
3073 3057 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3074 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
3058 + min-height: var(--wpds-dimension-size-md, 32px);
3075 3059 display: flex;
3076 3060 align-items: center;
3077 3061 white-space: nowrap;
3078 3062 }
@@ -3093,13 +3077,13 @@
3093 3077 .dataviews-view-table .dataviews-view-table-header-button {
3094 3078 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3095 3079 font-size: 11px;
3096 3080 text-transform: uppercase;
3097 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3081 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3098 3082 }
3099 3083
3100 3084 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3101 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
3085 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3102 3086 }
3103 3087
3104 3088 .dataviews-view-table .dataviews-view-table-header-button span {
3105 3089 speak: none;
@@ -3152,21 +3136,20 @@
3152 3136 }
3153 3137 }
3154 3138 .dataviews-column-primary__media {
3155 3139 max-width: 60px;
3156 - min-width: calc(var(--wpds-dimension-base, 4px) * 8);
3157 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
3140 + min-width: var(--wpds-dimension-size-md, 32px);
3141 + min-height: var(--wpds-dimension-size-md, 32px);
3158 3142 overflow: hidden;
3159 3143 position: relative;
3160 3144 flex-shrink: 0;
3161 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
3145 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3162 3146 border-radius: var(--wpds-border-radius-md, 4px);
3163 3147 }
3164 3148
3165 3149 .dataviews-column-primary__media img {
3166 - width: calc(var(--wpds-dimension-base, 4px) * 8);
3167 - height: calc(var(--wpds-dimension-base, 4px) * 8);
3168 - -o-object-fit: cover;
3150 + width: var(--wpds-dimension-size-md, 32px);
3151 + height: var(--wpds-dimension-size-md, 32px);
3169 3152 object-fit: cover;
3170 3153 }
3171 3154
3172 3155 .dataviews-column-primary__media::after {
@@ -3179,8 +3162,19 @@
3179 3162 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3180 3163 border-radius: var(--wpds-border-radius-md, 4px);
3181 3164 }
3182 3165
3166 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3167 + height: var(--wpds-dimension-size-md, 32px);
3168 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3169 + min-width: 0;
3170 +}
3171 +
3172 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3173 + width: 100%;
3174 + height: 100%;
3175 +}
3176 +
3183 3177 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3184 3178 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3185 3179 min-width: 15ch;
3186 3180 max-width: 80ch;
@@ -3186,11 +3180,11 @@
3186 3180 max-width: 80ch;
3187 3181 }
3188 3182
3189 3183 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3190 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3184 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3191 3185 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3192 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
3186 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3193 3187 }
3194 3188
3195 3189 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3196 3190 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
@@ -3227,9 +3221,9 @@
3227 3221 padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
3228 3222 }
3229 3223
3230 3224 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3231 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
3225 + min-height: var(--wpds-dimension-size-sm, 24px);
3232 3226 overflow: hidden;
3233 3227 align-content: center;
3234 3228 text-align: start;
3235 3229 }
@@ -3234,22 +3228,21 @@
3234 3228 text-align: start;
3235 3229 }
3236 3230
3237 3231 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
3238 - width: -moz-fit-content;
3239 3232 width: fit-content;
3240 3233 }
3241 3234
3242 3235 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
3243 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
3236 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3244 3237 }
3245 3238
3246 3239 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3247 - box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff);
3240 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
3248 3241 }
3249 3242
3250 3243 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3251 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3244 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3252 3245 }
3253 3246
3254 3247 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3255 3248 outline: none;
@@ -3255,9 +3248,9 @@
3255 3248 outline: none;
3256 3249 }
3257 3250
3258 3251 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3259 - outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3252 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3260 3253 }
3261 3254
3262 3255 .dataviews-view-picker-grid .dataviews-selection-checkbox {
3263 3256 top: var(--wpds-dimension-padding-sm, 8px) !important;
@@ -3270,15 +3263,15 @@
3270 3263 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3271 3264 width: 100%;
3272 3265 aspect-ratio: 1/1;
3273 3266 min-height: 0;
3274 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
3267 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3275 3268 border-radius: var(--wpds-border-radius-md, 4px);
3269 + overflow: hidden;
3276 3270 position: relative;
3277 3271 }
3278 3272
3279 3273 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
3280 - -o-object-fit: cover;
3281 3274 object-fit: cover;
3282 3275 width: 100%;
3283 3276 height: 100%;
3284 3277 }
@@ -3294,8 +3287,16 @@
3294 3287 border-radius: var(--wpds-border-radius-md, 4px);
3295 3288 pointer-events: none;
3296 3289 }
3297 3290
3291 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3292 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3293 +}
3294 +
3295 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3296 + object-fit: contain;
3297 +}
3298 +
3298 3299 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3299 3300 position: relative;
3300 3301 font-size: 12px;
3301 3302 line-height: 16px;
@@ -3305,21 +3306,21 @@
3305 3306 padding: 0 0 var(--wpds-dimension-padding-md, 12px);
3306 3307 }
3307 3308
3308 3309 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3309 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
3310 + min-height: var(--wpds-dimension-size-sm, 24px);
3310 3311 line-height: var(--wpds-typography-line-height-sm, 20px);
3311 - padding-top: calc(var(--wpds-dimension-base, 4px) / 2);
3312 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
3312 3313 }
3313 3314
3314 3315 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3315 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
3316 + min-height: var(--wpds-dimension-size-sm, 24px);
3316 3317 align-items: center;
3317 3318 }
3318 3319
3319 3320 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3320 3321 width: 35%;
3321 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3322 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3322 3323 overflow: hidden;
3323 3324 text-overflow: ellipsis;
3324 3325 white-space: nowrap;
3325 3326 }
@@ -3367,12 +3368,12 @@
3367 3368 }
3368 3369
3369 3370 .dataviews-view-picker-grid-group__header {
3370 3371 font-size: var(--wpds-typography-font-size-lg, 15px);
3371 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3372 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
3372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3373 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3373 3374 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3374 - padding: 0 calc(var(--wpds-dimension-base, 4px) * 12);
3375 + padding: 0 48px;
3375 3376 }
3376 3377
3377 3378 .dataviews-view-picker-table {
3378 3379 background-color: inherit;
@@ -3378,9 +3379,9 @@
3378 3379 background-color: inherit;
3379 3380 }
3380 3381
3381 3382 .dataviews-view-picker-table .dataviews-view-table__checkbox-column {
3382 - width: calc(var(--wpds-dimension-base, 4px) * 12);
3383 + width: 48px;
3383 3384 }
3384 3385
3385 3386 .dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] {
3386 3387 outline: none;
@@ -3386,9 +3387,9 @@
3386 3387 outline: none;
3387 3388 }
3388 3389
3389 3390 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
3390 - outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3391 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3391 3392 }
3392 3393
3393 3394 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
3394 3395 pointer-events: none;
@@ -3399,17 +3400,17 @@
3399 3400 cursor: var(--wpds-cursor-control, pointer);
3400 3401 }
3401 3402
3402 3403 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
3403 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3404 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3404 3405 }
3405 3406
3406 3407 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
3407 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3408 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3408 3409 }
3409 3410
3410 3411 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
3411 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3412 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3412 3413 }
3413 3414
3414 3415 .dataviews-view-activity {
3415 3416 margin: 0 0 auto;
@@ -3417,16 +3418,16 @@
3417 3418 }
3418 3419
3419 3420 .dataviews-view-activity .dataviews-view-activity__group-header {
3420 3421 font-size: var(--wpds-typography-font-size-lg, 15px);
3421 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3422 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3422 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3423 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3423 3424 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3424 3425 padding: 0;
3425 3426 }
3426 3427
3427 3428 .dataviews-view-activity .dataviews-view-activity__item-actions {
3428 - min-width: calc(var(--wpds-dimension-base, 4px) * 6);
3429 + min-width: var(--wpds-dimension-size-sm, 24px);
3429 3430 }
3430 3431
3431 3432 .dataviews-view-activity .dataviews-view-activity__item-content {
3432 3433 flex-grow: 1;
@@ -3434,9 +3435,9 @@
3434 3435
3435 3436 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
3436 3437 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
3437 3438 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3438 - min-height: calc(var(--wpds-dimension-base, 4px) * 4);
3439 + min-height: var(--wpds-dimension-size-2xs, 16px);
3439 3440 }
3440 3441
3441 3442 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
3442 3443 position: relative;
@@ -3450,9 +3451,9 @@
3450 3451 cursor: var(--wpds-cursor-control, pointer);
3451 3452 }
3452 3453
3453 3454 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
3454 - outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3455 + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3455 3456 outline-offset: var(--wp-admin-border-width-focus);
3456 3457 border-radius: var(--wpds-border-radius-sm, 2px);
3457 3458 }
3458 3459
@@ -3457,9 +3458,8 @@
3457 3458 }
3458 3459
3459 3460 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3460 3461 display: flex;
3461 - width: -moz-max-content;
3462 3462 width: max-content;
3463 3463 flex: 0 0 auto;
3464 3464 }
3465 3465
@@ -3468,9 +3468,9 @@
3468 3468 z-index: 1;
3469 3469 }
3470 3470
3471 3471 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3472 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3472 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3473 3473 display: flex;
3474 3474 gap: var(--wpds-dimension-gap-md, 12px);
3475 3475 row-gap: var(--wpds-dimension-gap-xs, 4px);
3476 3476 flex-wrap: wrap;
@@ -3514,14 +3514,14 @@
3514 3514 width: var(--wpds-dimension-padding-md, 12px);
3515 3515 }
3516 3516
3517 3517 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
3518 - height: calc(var(--wpds-dimension-base, 4px) * 3);
3518 + height: var(--wpds-dimension-size-3xs, 12px);
3519 3519 }
3520 3520
3521 3521 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
3522 - width: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
3523 - height: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
3522 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3523 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3524 3524 }
3525 3525
3526 3526 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
3527 3527 margin: var(--wpds-dimension-gap-md, 12px) 0;
@@ -3527,18 +3527,18 @@
3527 3527 margin: var(--wpds-dimension-gap-md, 12px) 0;
3528 3528 }
3529 3529
3530 3530 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
3531 - width: calc(var(--wpds-dimension-base, 4px) * 6);
3531 + width: var(--wpds-dimension-size-sm, 24px);
3532 3532 }
3533 3533
3534 3534 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
3535 - height: calc(var(--wpds-dimension-base, 4px) * 3);
3535 + height: var(--wpds-dimension-size-3xs, 12px);
3536 3536 }
3537 3537
3538 3538 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
3539 - width: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
3540 - height: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
3539 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3540 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3541 3541 }
3542 3542
3543 3543 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
3544 3544 margin: var(--wpds-dimension-gap-md, 12px) 0;
@@ -3545,18 +3545,18 @@
3545 3545 padding-top: var(--wpds-dimension-padding-sm, 8px);
3546 3546 }
3547 3547
3548 3548 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
3549 - width: calc(var(--wpds-dimension-base, 4px) * 8);
3549 + width: var(--wpds-dimension-size-md, 32px);
3550 3550 }
3551 3551
3552 3552 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
3553 - height: calc(var(--wpds-dimension-base, 4px) * 2);
3553 + height: var(--wpds-dimension-size-4xs, 8px);
3554 3554 }
3555 3555
3556 3556 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
3557 - width: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
3558 - height: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
3557 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3558 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3559 3559 }
3560 3560
3561 3561 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
3562 3562 margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
@@ -3563,10 +3563,10 @@
3563 3563 padding-top: var(--wpds-dimension-padding-md, 12px);
3564 3564 }
3565 3565
3566 3566 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
3567 - width: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
3568 - height: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
3567 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3568 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3569 3569 position: relative;
3570 3570 top: 50%;
3571 3571 transform: translateY(-50%);
3572 3572 }
@@ -3581,9 +3581,9 @@
3581 3581
3582 3582 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
3583 3583 overflow: hidden;
3584 3584 flex-shrink: 0;
3585 - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
3585 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3586 3586 }
3587 3587
3588 3588 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
3589 3589 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
@@ -3591,9 +3591,8 @@
3591 3591 display: block;
3592 3592 width: 100%;
3593 3593 height: 100%;
3594 3594 margin: 0 auto;
3595 - -o-object-fit: cover;
3596 3595 object-fit: cover;
3597 3596 border-radius: 50%;
3598 3597 box-sizing: border-box;
3599 3598 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3633,9 +3632,9 @@
3633 3632 outline: none;
3634 3633 }
3635 3634
3636 3635 .dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] {
3637 - outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3636 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3638 3637 outline-offset: -2px;
3639 3638 }
3640 3639
3641 3640 .dataviews-view-picker-activity .dataviews-view-picker-activity__item {
@@ -3645,9 +3644,9 @@
3645 3644 transition: background-color 0.1s ease;
3646 3645 }
3647 3646
3648 3647 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover {
3649 - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3648 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3650 3649 }
3651 3650
3652 3651 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected {
3653 3652 outline: 3px solid transparent;
@@ -3658,14 +3657,14 @@
3658 3657 width: var(--wpds-dimension-padding-md, 12px);
3659 3658 }
3660 3659
3661 3660 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before {
3662 - height: calc(var(--wpds-dimension-base, 4px) * 3);
3661 + height: var(--wpds-dimension-size-3xs, 12px);
3663 3662 }
3664 3663
3665 3664 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
3666 - width: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
3667 - height: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
3665 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3666 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3668 3667 }
3669 3668
3670 3669 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
3671 3670 margin: var(--wpds-dimension-gap-md, 12px) 0;
@@ -3671,18 +3670,18 @@
3671 3670 margin: var(--wpds-dimension-gap-md, 12px) 0;
3672 3671 }
3673 3672
3674 3673 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type {
3675 - width: calc(var(--wpds-dimension-base, 4px) * 6);
3674 + width: var(--wpds-dimension-size-sm, 24px);
3676 3675 }
3677 3676
3678 3677 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before {
3679 - height: calc(var(--wpds-dimension-base, 4px) * 3);
3678 + height: var(--wpds-dimension-size-3xs, 12px);
3680 3679 }
3681 3680
3682 3681 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
3683 - width: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
3684 - height: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
3682 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3683 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3685 3684 }
3686 3685
3687 3686 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
3688 3687 margin: var(--wpds-dimension-gap-md, 12px) 0;
@@ -3689,18 +3688,18 @@
3689 3688 padding-top: var(--wpds-dimension-padding-sm, 8px);
3690 3689 }
3691 3690
3692 3691 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type {
3693 - width: calc(var(--wpds-dimension-base, 4px) * 8);
3692 + width: var(--wpds-dimension-size-md, 32px);
3694 3693 }
3695 3694
3696 3695 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before {
3697 - height: calc(var(--wpds-dimension-base, 4px) * 2);
3696 + height: var(--wpds-dimension-size-4xs, 8px);
3698 3697 }
3699 3698
3700 3699 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
3701 - width: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
3702 - height: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
3700 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3701 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3703 3702 }
3704 3703
3705 3704 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
3706 3705 margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
@@ -3707,10 +3706,10 @@
3707 3706 padding-top: var(--wpds-dimension-padding-md, 12px);
3708 3707 }
3709 3708
3710 3709 .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet {
3711 - width: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
3712 - height: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
3710 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3711 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3713 3712 position: relative;
3714 3713 top: 50%;
3715 3714 transform: translateY(-50%);
3716 3715 }
@@ -3721,9 +3720,9 @@
3721 3720
3722 3721 .dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title,
3723 3722 .dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description,
3724 3723 .dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3725 - min-height: calc(var(--wpds-dimension-base, 4px) * 4);
3724 + min-height: var(--wpds-dimension-size-2xs, 16px);
3726 3725 }
3727 3726
3728 3727 .dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title {
3729 3728 position: relative;
@@ -3737,9 +3736,9 @@
3737 3736 display: none;
3738 3737 }
3739 3738
3740 3739 .dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3741 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3740 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3742 3741 display: flex;
3743 3742 gap: var(--wpds-dimension-gap-md, 12px);
3744 3743 row-gap: var(--wpds-dimension-gap-xs, 4px);
3745 3744 flex-wrap: wrap;
@@ -3788,10 +3787,10 @@
3788 3787 }
3789 3788
3790 3789 .dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3791 3790 font-size: var(--wpds-typography-font-size-lg, 15px);
3792 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3793 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3791 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3792 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3794 3793 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3795 3794 padding: 0;
3796 3795 padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
3797 3796 }
@@ -3808,9 +3807,8 @@
3808 3807 display: block;
3809 3808 width: 100%;
3810 3809 height: 100%;
3811 3810 margin: 0 auto;
3812 - -o-object-fit: cover;
3813 3811 object-fit: cover;
3814 3812 border-radius: 50%;
3815 3813 box-sizing: border-box;
3816 3814 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3825,9 +3823,9 @@
3825 3823 }
3826 3824
3827 3825 .dataviews-picker-footer__bulk-selection {
3828 3826 align-self: flex-start;
3829 - height: calc(var(--wpds-dimension-base, 4px) * 8);
3827 + height: var(--wpds-dimension-size-md, 32px);
3830 3828 }
3831 3829
3832 3830 .dataviews-picker-footer__actions {
3833 3831 align-self: flex-end;
@@ -3861,17 +3859,38 @@
3861 3859 border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3862 3860 }
3863 3861
3864 3862 .dataviews-controls__date-preset:active {
3865 - background-color: var(--wpds-color-bg-interactive-neutral-strong-active, #1e1e1e);
3863 + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3866 3864 }
3867 3865
3866 +.dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3867 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3868 +}
3869 +
3870 +.dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3871 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3872 +}
3873 +
3874 +.dataviews-validated-control__wrapper-with-error-delegate {
3875 + position: relative;
3876 +}
3877 +
3878 +.dataviews-validated-control__error-delegate {
3879 + position: absolute;
3880 + top: 0;
3881 + height: 100%;
3882 + width: 100%;
3883 + opacity: 0;
3884 + pointer-events: none;
3885 +}
3886 +
3868 3887 .dataforms-layouts-panel__field-trigger {
3869 3888 position: relative;
3870 3889 color: inherit;
3871 3890 display: flex;
3872 3891 width: 100%;
3873 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
3892 + min-height: var(--wpds-dimension-size-sm, 24px);
3874 3893 cursor: var(--wpds-cursor-control, pointer);
3875 3894 align-items: flex-start;
3876 3895 border-radius: var(--wpds-border-radius-sm, 2px);
3877 3896 isolation: isolate;
@@ -3878,9 +3897,9 @@
3878 3897 }
3879 3898
3880 3899 .dataforms-layouts-panel__field-trigger--label-side {
3881 3900 flex-direction: row;
3882 - gap: var(--wpds-dimension-gap-md, 12px);
3901 + gap: var(--wpds-dimension-gap-sm, 8px);
3883 3902 }
3884 3903
3885 3904 .dataforms-layouts-panel__field-trigger--label-top {
3886 3905 display: grid;
@@ -3891,9 +3910,9 @@
3891 3910 align-items: center;
3892 3911 }
3893 3912
3894 3913 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
3895 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3914 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3896 3915 }
3897 3916
3898 3917 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
3899 3918 opacity: 1;
@@ -3899,9 +3918,9 @@
3899 3918 opacity: 1;
3900 3919 }
3901 3920
3902 3921 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
3903 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3922 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3904 3923 }
3905 3924
3906 3925 .dataforms-layouts-panel__field-trigger.is-disabled {
3907 3926 cursor: default;
@@ -3907,10 +3926,10 @@
3907 3926 cursor: default;
3908 3927 }
3909 3928
3910 3929 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3911 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3912 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3930 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3931 + font-weight: var(--wpds-typography-font-weight-default, 400);
3913 3932 }
3914 3933
3915 3934 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3916 3935 opacity: 1;
@@ -3917,22 +3936,28 @@
3917 3936 fill: currentColor;
3918 3937 }
3919 3938
3920 3939 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3921 - fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3940 + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3922 3941 }
3923 3942
3924 3943 .dataforms-layouts-panel__field-trigger-icon {
3925 3944 padding: 0;
3926 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3945 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3927 3946 flex: 0 0 auto;
3928 3947 opacity: 0;
3929 3948 border-radius: var(--wpds-border-radius-xs, 1px);
3930 3949 }
3931 3950
3951 +.dataforms-layouts-panel__field-trigger-icon::after {
3952 + content: "";
3953 + position: absolute;
3954 + inset: 0;
3955 +}
3956 +
3932 3957 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3933 3958 opacity: 1;
3934 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3959 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3935 3960 }
3936 3961
3937 3962 .dataforms-layouts-panel__field-dropdown-anchor {
3938 3963 width: 100%;
@@ -3944,14 +3969,14 @@
3944 3969
3945 3970 .dataforms-layouts-panel__field-label {
3946 3971 width: 38%;
3947 3972 flex-shrink: 0;
3948 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
3973 + min-height: var(--wpds-dimension-size-sm, 24px);
3949 3974 display: flex;
3950 3975 align-items: center;
3951 3976 line-height: var(--wpds-typography-line-height-sm, 20px);
3952 3977 hyphens: auto;
3953 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
3978 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3954 3979 }
3955 3980
3956 3981 .dataforms-layouts-panel__field-label .components-base-control__label {
3957 3982 display: inline;
@@ -3959,16 +3984,14 @@
3959 3984 line-height: inherit;
3960 3985 }
3961 3986
3962 3987 .dataforms-layouts-panel__field-label.has-error {
3963 - color: var(--wpds-color-fg-content-error-weak, #cc1818);
3988 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3964 3989 }
3965 3990
3966 3991 .dataforms-layouts-panel__field-label-error-content {
3967 - position: relative;
3968 - z-index: 1;
3969 - cursor: help;
3970 - fill: var(--wpds-color-fg-content-error-weak, #cc1818);
3992 + pointer-events: none;
3993 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3971 3994 display: inline-flex;
3972 3995 flex-direction: row;
3973 3996 align-items: center;
3974 3997 gap: var(--wpds-dimension-gap-xs, 4px);
@@ -3973,45 +3996,31 @@
3973 3996 align-items: center;
3974 3997 gap: var(--wpds-dimension-gap-xs, 4px);
3975 3998 }
3976 3999
3977 -.dataforms-layouts-panel__field-label-error-content svg {
3978 - fill: currentColor;
3979 -}
3980 -
3981 4000 .dataforms-layouts-panel__field-control {
3982 4001 flex-grow: 1;
3983 4002 min-width: 0;
3984 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
4003 + min-height: var(--wpds-dimension-size-sm, 24px);
3985 4004 line-height: var(--wpds-typography-line-height-md, 24px);
3986 4005 display: flex;
3987 4006 align-items: center;
3988 - overflow: hidden;
3989 - word-break: break-word;
3990 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4007 + overflow: clip;
4008 + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4009 + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4010 + word-break: normal;
4011 + overflow-wrap: anywhere;
4012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3991 4013 }
3992 4014
4015 +.dataforms-layouts-panel__field-control:has(a, button) {
4016 + z-index: 1;
4017 +}
4018 +
3993 4019 .dataforms-layouts-panel__field-control > * {
3994 4020 min-width: 0;
3995 4021 }
3996 4022
3997 -.dataforms-layouts-panel__field-control .components-button {
3998 - max-width: 100%;
3999 - text-align: right;
4000 - white-space: normal;
4001 - text-wrap: balance;
4002 - text-wrap: pretty;
4003 - min-height: 32px;
4004 -}
4005 -
4006 -.dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] {
4007 - text-decoration: none;
4008 -}
4009 -
4010 -.dataforms-layouts-panel__field-control .components-dropdown {
4011 - max-width: 100%;
4012 -}
4013 -
4014 4023 .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-label {
4015 4024 width: 100%;
4016 4025 }
4017 4026
@@ -4040,15 +4049,11 @@
4040 4049 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
4041 4050 z-index: 159990;
4042 4051 }
4043 4052
4044 -.dataforms-layouts-panel__summary-button:empty {
4045 - min-width: 160px;
4046 -}
4047 -
4048 4053 .dataforms-layouts-regular__field {
4049 4054 width: 100%;
4050 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
4055 + min-height: var(--wpds-dimension-size-md, 32px);
4051 4056 justify-content: flex-start !important;
4052 4057 align-items: flex-start !important;
4053 4058 }
4054 4059
@@ -4054,15 +4059,15 @@
4054 4059
4055 4060 .dataforms-layouts-regular__field .components-base-control__label,
4056 4061 .dataforms-layouts-regular__field .components-input-control__label,
4057 4062 .dataforms-layouts-regular__field .components-form-token-field__label {
4058 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
4063 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
4059 4064 }
4060 4065
4061 4066 .dataforms-layouts-regular__field-label {
4062 4067 width: 38%;
4063 4068 flex-shrink: 0;
4064 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
4069 + min-height: var(--wpds-dimension-size-md, 32px);
4065 4070 display: flex;
4066 4071 align-items: center;
4067 4072 line-height: var(--wpds-typography-line-height-sm, 20px);
4068 4073 hyphens: auto;
@@ -4077,9 +4082,9 @@
4077 4082 }
4078 4083
4079 4084 .dataforms-layouts-regular__field-control {
4080 4085 flex-grow: 1;
4081 - min-height: calc(var(--wpds-dimension-base, 4px) * 8);
4086 + min-height: var(--wpds-dimension-size-md, 32px);
4082 4087 display: flex;
4083 4088 align-items: center;
4084 4089 }
4085 4090
@@ -4095,9 +4100,9 @@
4095 4100 display: contents;
4096 4101 }
4097 4102
4098 4103 .dataforms-layouts-card__field-description {
4099 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
4104 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
4100 4105 display: block;
4101 4106 font-size: var(--wpds-typography-font-size-md, 13px);
4102 4107 margin-bottom: var(--wpds-dimension-gap-lg, 16px);
4103 4108 }
@@ -4110,9 +4115,9 @@
4110 4115 }
4111 4116
4112 4117 .dataforms-layouts-details__summary-content {
4113 4118 display: inline-flex;
4114 - min-height: calc(var(--wpds-dimension-base, 4px) * 6);
4119 + min-height: var(--wpds-dimension-size-sm, 24px);
4115 4120 }
4116 4121
4117 4122 .dataforms-layouts-details__content {
4118 4123 padding-top: var(--wpds-dimension-padding-md, 12px);
@@ -4122,10 +4127,10 @@
4122 4127 width: 100%;
4123 4128 }
4124 4129
4125 4130 .dataforms-layouts__wrapper {
4126 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4127 - font-weight: 400;
4131 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4132 + font-weight: var(--wpds-typography-font-weight-default, 400);
4128 4133 font-size: 13px;
4129 4134 line-height: 20px;
4130 4135 }
4131 4136
@@ -4198,8 +4203,14 @@
4198 4203 /**
4199 4204 * Focus styles.
4200 4205 */
4201 4206 /**
4207 + * Standard focus rings for the WordPress Design System.
4208 + *
4209 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
4210 + * e.g. `&:focus { @include outset-ring__focus(); }`.
4211 + */
4212 +/**
4202 4213 * Applies editor left position to the selector passed as argument
4203 4214 */
4204 4215 /**
4205 4216 * Styles that are reused verbatim in a few places
@@ -4257,9 +4268,9 @@
4257 4268 padding: 12px;
4258 4269 display: grid;
4259 4270 align-items: center;
4260 4271 grid-template-columns: min-content 1fr min-content;
4261 - grid-gap: 4px 8px;
4272 + gap: 4px 8px;
4262 4273 color: #1e1e1e;
4263 4274 }
4264 4275
4265 4276 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4336,9 +4347,8 @@
4336 4347 line-height: 1.5;
4337 4348 }
4338 4349
4339 4350 fieldset.fields__media-edit {
4340 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4341 4351 container-type: inline-size;
4342 4352 }
4343 4353
4344 4354 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4543,11 +4553,9 @@
4543 4553
4544 4554 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
4545 4555 width: 100%;
4546 4556 height: 100%;
4547 - -o-object-fit: cover;
4548 4557 object-fit: cover;
4549 - -o-object-position: 50% 50%;
4550 4558 object-position: 50% 50%;
4551 4559 }
4552 4560
4553 4561 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
@@ -4576,9 +4584,8 @@
4576 4584 }
4577 4585
4578 4586 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4579 4587 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4580 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4581 4588 }
4582 4589
4583 4590 @container (max-width: 500px) {
4584 4591 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4608,9 +4615,8 @@
4608 4615
4609 4616 .fields-controls__author-avatar img {
4610 4617 width: 16px;
4611 4618 height: 16px;
4612 - -o-object-fit: cover;
4613 4619 object-fit: cover;
4614 4620 opacity: 0;
4615 4621 border-radius: 100%;
4616 4622 }
@@ -4646,18 +4652,15 @@
4646 4652 padding: 0;
4647 4653 margin: 0;
4648 4654 }
4649 4655
4650 -.fields-controls__slug .fields-controls__slug-external-icon {
4651 - margin-right: 5ch;
4652 -}
4653 -
4654 4656 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4655 4657 padding-inline-start: 0 !important;
4656 4658 }
4657 4659
4658 4660 .fields-controls__slug .fields-controls__slug-help-link {
4659 - word-break: break-word;
4661 + word-break: normal;
4662 + overflow-wrap: anywhere;
4660 4663 }
4661 4664
4662 4665 .fields-controls__slug .fields-controls__slug-help {
4663 4666 display: flex;
@@ -4664,9 +4667,9 @@
4664 4667 flex-direction: column;
4665 4668 }
4666 4669
4667 4670 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4668 - font-weight: 600;
4671 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4669 4672 }
4670 4673
4671 4674 .fields-controls__featured-image-image,
4672 4675 .fields-controls__featured-image-placeholder {
@@ -4785,9 +4788,8 @@
4785 4788
4786 4789 .media-editor-preview--image img {
4787 4790 max-width: 100%;
4788 4791 max-height: 100%;
4789 - -o-object-fit: contain;
4790 4792 object-fit: contain;
4791 4793 width: auto;
4792 4794 height: auto;
4793 4795 opacity: 0;
@@ -4809,9 +4811,8 @@
4809 4811 }
4810 4812 .media-editor-preview--video video {
4811 4813 max-width: 100%;
4812 4814 max-height: 100%;
4813 - -o-object-fit: contain;
4814 4815 object-fit: contain;
4815 4816 width: auto;
4816 4817 height: auto;
4817 4818 }
@@ -4830,9 +4831,9 @@
4830 4831 border-radius: 2px;
4831 4832 }
4832 4833
4833 4834 .media-editor-preview__file-name {
4834 - font-weight: 600;
4835 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4835 4836 margin-bottom: 8px;
4836 4837 }
4837 4838
4838 4839 .media-editor-preview__mime-type {
@@ -4856,9 +4857,8 @@
4856 4857 color: #949494;
4857 4858 word-break: break-all;
4858 4859 margin-top: 8px;
4859 4860 }
4860 -
4861 4861 .wp-media-editor-image-editor {
4862 4862 position: relative;
4863 4863 overflow: hidden;
4864 4864 width: 100%;
@@ -4864,9 +4864,8 @@
4864 4864 width: 100%;
4865 4865 height: 100%;
4866 4866 touch-action: none;
4867 4867 -webkit-user-select: none;
4868 - -moz-user-select: none;
4869 4868 user-select: none;
4870 4869 cursor: grab;
4871 4870 }
4872 4871
@@ -4892,9 +4891,9 @@
4892 4891
4893 4892 .wp-media-editor-image-editor__image {
4894 4893 position: absolute;
4895 4894 top: 0;
4896 - right: 0;
4895 + left: 0;
4897 4896 will-change: transform;
4898 4897 transform-origin: center center;
4899 4898 }
4900 4899
@@ -4945,9 +4944,9 @@
4945 4944 background: rgba(255, 255, 255, 0.4);
4946 4945 }
4947 4946
4948 4947 .wp-media-editor-image-editor__grid-line--horizontal {
4949 - right: 0;
4948 + left: 0;
4950 4949 width: 100%;
4951 4950 height: 1px;
4952 4951 }
4953 4952
@@ -4984,10 +4983,8 @@
4984 4983 box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4985 4984 }
4986 4985
4987 4986 .wp-media-editor-image-editor__handle {
4988 - -webkit-appearance: none;
4989 - -moz-appearance: none;
4990 4987 appearance: none;
4991 4988 margin: 0;
4992 4989 padding: 0;
4993 4990 font: inherit;
@@ -5016,12 +5013,12 @@
5016 5013 .wp-media-editor-image-editor__handle::before {
5017 5014 content: "";
5018 5015 position: absolute;
5019 5016 top: 50%;
5020 - right: 50%;
5017 + left: 50%;
5021 5018 width: 44px;
5022 5019 height: 44px;
5023 - transform: translate(50%, -50%);
5020 + transform: translate(-50%, -50%);
5024 5021 }
5025 5022
5026 5023 .wp-media-editor-image-editor__handle {
5027 5024 /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
@@ -5028,23 +5025,23 @@
5028 5025 }
5029 5026
5030 5027 .wp-media-editor-image-editor__handle--n {
5031 5028 top: -6px;
5032 - right: 50%;
5033 - margin-right: -6px;
5029 + left: 50%;
5030 + margin-left: -6px;
5034 5031 cursor: ns-resize;
5035 5032 }
5036 5033
5037 5034 .wp-media-editor-image-editor__handle--s {
5038 5035 bottom: -6px;
5039 - right: 50%;
5040 - margin-right: -6px;
5036 + left: 50%;
5037 + margin-left: -6px;
5041 5038 cursor: ns-resize;
5042 5039 }
5043 5040
5044 5041 .wp-media-editor-image-editor__handle--e {
5045 5042 top: 50%;
5046 - left: -6px;
5043 + right: -6px;
5047 5044 margin-top: -6px;
5048 5045 cursor: ew-resize;
5049 5046 }
5050 5047
@@ -5049,9 +5046,9 @@
5049 5046 }
5050 5047
5051 5048 .wp-media-editor-image-editor__handle--w {
5052 5049 top: 50%;
5053 - right: -6px;
5050 + left: -6px;
5054 5051 margin-top: -6px;
5055 5052 cursor: ew-resize;
5056 5053 }
5057 5054
@@ -5056,30 +5053,29 @@
5056 5053 }
5057 5054
5058 5055 .wp-media-editor-image-editor__handle--nw {
5059 5056 top: -6px;
5060 - right: -6px;
5061 - cursor: nesw-resize;
5057 + left: -6px;
5058 + cursor: nwse-resize;
5062 5059 }
5063 5060
5064 5061 .wp-media-editor-image-editor__handle--ne {
5065 5062 top: -6px;
5066 - left: -6px;
5067 - cursor: nwse-resize;
5063 + right: -6px;
5064 + cursor: nesw-resize;
5068 5065 }
5069 5066
5070 5067 .wp-media-editor-image-editor__handle--sw {
5071 5068 bottom: -6px;
5072 - right: -6px;
5073 - cursor: nwse-resize;
5069 + left: -6px;
5070 + cursor: nesw-resize;
5074 5071 }
5075 5072
5076 5073 .wp-media-editor-image-editor__handle--se {
5077 5074 bottom: -6px;
5078 - left: -6px;
5079 - cursor: nesw-resize;
5075 + right: -6px;
5076 + cursor: nwse-resize;
5080 5077 }
5081 -
5082 5078 /**
5083 5079 * Breakpoints & Media Queries
5084 5080 */
5085 5081 /**
@@ -5103,8 +5099,14 @@
5103 5099 /**
5104 5100 * Focus styles.
5105 5101 */
5106 5102 /**
5103 + * Standard focus rings for the WordPress Design System.
5104 + *
5105 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
5106 + * e.g. `&:focus { @include outset-ring__focus(); }`.
5107 + */
5108 +/**
5107 5109 * Applies editor left position to the selector passed as argument
5108 5110 */
5109 5111 /**
5110 5112 * Styles that are reused verbatim in a few places
@@ -5137,44 +5139,53 @@
5137 5139 align-items: center;
5138 5140 justify-content: center;
5139 5141 }
5140 5142
5141 -.media-editor .interface-interface-skeleton {
5142 - position: relative;
5143 - top: auto;
5144 - left: auto;
5145 - bottom: auto;
5146 - right: auto;
5147 - height: 100%;
5148 - max-height: none;
5143 +.media-editor .media-editor__body {
5144 + container-type: inline-size;
5145 + container-name: media-editor-body;
5146 + display: flex;
5149 5147 flex: 1;
5150 - flex-direction: column;
5148 + min-height: 0;
5151 5149 }
5152 5150
5153 -.media-editor .interface-interface-skeleton__editor {
5154 - min-width: 0;
5155 - flex: 1;
5156 -}
5157 -
5158 5151 .media-editor .media-editor__content {
5159 5152 display: flex;
5160 5153 flex: 1;
5161 5154 flex-direction: column;
5155 + min-width: 0;
5162 5156 min-height: 0;
5163 - margin: 0 24px;
5164 - border-radius: 8px;
5165 - overflow: hidden;
5157 + margin: 24px 24px 8px 24px;
5166 5158 }
5167 5159
5160 +@media (min-width: 600px) {
5161 + .media-editor .media-editor__content {
5162 + margin: 0 24px;
5163 + }
5164 +}
5165 +@container media-editor-body (min-width: 864px) {
5166 + .media-editor .media-editor__content {
5167 + min-width: 520px;
5168 + }
5169 +}
5168 5170 .media-editor .media-editor__canvas-toolbar {
5169 5171 display: flex;
5170 - flex-shrink: 0;
5172 + flex: 0 0 auto;
5173 + flex-direction: column;
5174 + align-items: center;
5175 + gap: 12px;
5176 +}
5177 +
5178 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5179 + display: flex;
5171 5180 justify-content: center;
5181 + align-self: stretch;
5172 5182 background: #e0e0e0;
5183 + border-radius: 0 0 8px 8px;
5173 5184 padding: 8px 16px;
5174 5185 }
5175 5186
5176 -.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5187 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5177 5188 flex: 0 1 360px;
5178 5189 min-width: 0;
5179 5190 }
5180 5191
@@ -5182,8 +5193,9 @@
5182 5193 display: flex;
5183 5194 align-items: center;
5184 5195 justify-content: center;
5185 5196 background: #e0e0e0;
5197 + border-radius: 8px;
5186 5198 overflow: auto;
5187 5199 flex: 1;
5188 5200 min-height: 0;
5189 5201 }
@@ -5195,88 +5207,66 @@
5195 5207 .media-editor .media-editor__canvas-area img,
5196 5208 .media-editor .media-editor__canvas-area video {
5197 5209 max-width: 100%;
5198 5210 max-height: 100%;
5199 - -o-object-fit: contain;
5200 5211 object-fit: contain;
5201 5212 }
5202 5213
5203 5214 .media-editor .media-editor__sidebar {
5204 - box-sizing: border-box;
5215 + display: flex;
5216 + flex: 1;
5217 + flex-direction: column;
5218 + min-width: 0;
5219 + min-height: 0;
5220 + overflow: hidden;
5205 5221 }
5206 5222
5207 -.media-editor .media-editor__sidebar *,
5208 -.media-editor .media-editor__sidebar *::before,
5209 -.media-editor .media-editor__sidebar *::after {
5210 - box-sizing: inherit;
5211 -}
5212 -
5213 5223 @media (min-width: 600px) {
5214 5224 .media-editor .media-editor__sidebar {
5215 - padding-right: 1px;
5225 + flex: none;
5226 + width: var(--wpds-dimension-surface-width-sm, 320px);
5216 5227 }
5217 5228 }
5218 -.media-editor .media-editor__sidebar-panel {
5219 - padding-bottom: 24px;
5229 +.media-editor .media-editor__tabs {
5230 + display: flex;
5231 + flex: 1;
5232 + flex-direction: column;
5233 + min-height: 0;
5220 5234 }
5221 5235
5222 -.media-editor .interface-interface-skeleton__sidebar {
5223 - border-top: 0;
5224 - box-shadow: none;
5225 - outline: 1px solid transparent;
5236 +.media-editor .media-editor__tablist {
5237 + flex-shrink: 0;
5238 + margin-inline: 24px;
5239 + background: #fff;
5240 + border-bottom: 1px solid #ddd;
5226 5241 }
5227 5242
5228 5243 .media-editor .media-editor__panel {
5229 - padding: 16px;
5244 + flex: 1;
5245 + min-height: 0;
5246 + overflow-y: auto;
5247 + padding-block: 24px;
5248 + padding-inline: 24px;
5230 5249 }
5231 5250
5232 -@media (min-width: 600px) {
5233 - .media-editor .media-editor__panel {
5234 - padding: 16px 0 0 24px;
5235 - }
5251 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5252 + border-end-start-radius: 0;
5253 + border-end-end-radius: 0;
5236 5254 }
5237 -.media-editor .components-panel__header.media-editor__sidebar-header {
5238 - padding-right: 0;
5239 - padding-left: 8px;
5240 - margin-left: 24px;
5241 - margin-left: 0;
5242 -}
5243 5255
5244 -@media (min-width: 600px) {
5245 - .media-editor .components-panel__header.media-editor__sidebar-header {
5246 - margin-left: 24px;
5247 - }
5256 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5257 + display: none;
5248 5258 }
5249 -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5250 - padding: 0;
5251 -}
5252 5259
5253 5260 @media (min-width: 600px) {
5254 - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5261 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
5255 5262 display: flex;
5263 + margin: 0 24px 0 0;
5256 5264 }
5257 5265 }
5258 -@media (min-width: 600px) and (max-width: 781px) {
5259 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5260 - position: relative !important;
5261 - }
5262 - .media-editor .interface-complementary-area__fill,
5263 - .media-editor .interface-complementary-area {
5264 - width: 280px !important;
5265 - }
5266 -}
5267 -@media (max-width: 599px) {
5268 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5269 - width: 100%;
5270 - }
5271 - .media-editor .interface-complementary-area__fill,
5272 - .media-editor .interface-complementary-area {
5273 - width: 100% !important;
5274 - }
5275 -}
5276 5266 .media-editor__snackbar {
5277 5267 position: fixed;
5278 - bottom: 24px;
5268 + bottom: var(--wpds-dimension-size-md, 32px);
5279 5269 right: 0;
5280 5270 left: 0;
5281 5271 padding-inline: 16px;
5282 5272 box-sizing: border-box;
@@ -5310,44 +5300,20 @@
5310 5300
5311 5301 .media-editor-modal.components-modal__frame .media-editor-modal__footer {
5312 5302 flex-shrink: 0;
5313 5303 display: flex;
5314 - gap: 16px;
5315 - padding: 16px 32px 24px;
5316 - background: #fff;
5317 - z-index: 1000001;
5318 -}
5319 -
5320 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide {
5321 5304 flex-direction: row;
5322 5305 align-items: center;
5323 -}
5324 -
5325 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions {
5326 - margin-right: auto;
5327 -}
5328 -
5329 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow {
5330 - flex-direction: column;
5331 -}
5332 -
5333 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-image-controls {
5334 - align-self: center;
5335 -}
5336 -
5337 -.media-editor-modal__footer-row {
5338 - display: flex;
5339 - flex-wrap: wrap;
5340 - align-items: center;
5341 5306 gap: 16px;
5307 + padding: 24px;
5308 + background: #fff;
5342 5309 }
5343 5310
5344 -.media-editor-modal__footer-row .media-editor-image-controls,
5345 -.media-editor-modal__footer-row .media-editor__footer-actions {
5311 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5346 5312 margin-right: auto;
5347 5313 }
5348 5314
5349 -.media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5315 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5350 5316 color: var(--wp-admin-theme-color);
5351 5317 }
5352 5318
5353 5319 .media-editor-modal {
@@ -5356,9 +5322,9 @@
5356 5322 }
5357 5323
5358 5324 .media-editor-modal__snackbar {
5359 5325 position: fixed;
5360 - bottom: 24px;
5326 + bottom: var(--wpds-dimension-size-md, 32px);
5361 5327 right: 0;
5362 5328 left: 0;
5363 5329 padding-inline: 16px;
5364 5330 box-sizing: border-box;
@@ -5380,8 +5346,51 @@
5380 5346 width: 100%;
5381 5347 height: 100%;
5382 5348 }
5383 5349
5350 +.media-editor-canvas__cropper {
5351 + width: 100%;
5352 + height: 100%;
5353 + opacity: 0;
5354 + pointer-events: none;
5355 +}
5356 +
5357 +.media-editor-canvas__cropper.is-loaded {
5358 + opacity: 1;
5359 + pointer-events: auto;
5360 +}
5361 +
5362 +@keyframes __wp-base-styles-fade-in {
5363 + from {
5364 + opacity: 0;
5365 + }
5366 + to {
5367 + opacity: 1;
5368 + }
5369 +}
5370 +@media not (prefers-reduced-motion) {
5371 + .media-editor-canvas__cropper.is-loaded {
5372 + animation: __wp-base-styles-fade-in 0.2s linear 0s;
5373 + animation-fill-mode: forwards;
5374 + }
5375 +}
5376 +.media-editor-canvas__spinner {
5377 + position: absolute;
5378 + top: 50%;
5379 + right: 50%;
5380 + transform: translate(50%, -50%);
5381 +}
5382 +
5383 +.media-editor-canvas__error {
5384 + display: flex;
5385 + align-items: center;
5386 + justify-content: center;
5387 + width: 100%;
5388 + height: 100%;
5389 + color: #757575;
5390 + text-align: center;
5391 +}
5392 +
5384 5393 .media-editor-image-controls {
5385 5394 display: flex;
5386 5395 flex-wrap: nowrap;
5387 5396 align-items: center;
@@ -5406,9 +5415,9 @@
5406 5415 }
5407 5416
5408 5417 .media-editor-image-controls__label {
5409 5418 font-size: 11px;
5410 - font-weight: 500;
5419 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5411 5420 line-height: 1.4;
5412 5421 text-transform: uppercase;
5413 5422 }
5414 5423
@@ -5452,9 +5461,9 @@
5452 5461 }
5453 5462
5454 5463 .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5455 5464 background: none;
5456 - font-weight: 600;
5465 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5457 5466 margin: 0 1rem 0 0;
5458 5467 padding: 0;
5459 5468 text-align: left;
5460 5469 }
@@ -5475,14 +5484,14 @@
5475 5484 height: 32px;
5476 5485 padding: 0 8px;
5477 5486 box-sizing: border-box;
5478 5487 color: #1e1e1e;
5479 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5488 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5480 5489 -webkit-user-select: none;
5481 - -moz-user-select: none;
5482 5490 user-select: none;
5483 5491 touch-action: none;
5484 5492 cursor: ew-resize;
5493 + direction: ltr;
5485 5494 container-type: inline-size;
5486 5495 }
5487 5496
5488 5497 .rotation-ruler[data-disabled] {
@@ -5503,9 +5512,9 @@
5503 5512 height: 1px;
5504 5513 margin: -1px;
5505 5514 padding: 0;
5506 5515 border: 0;
5507 - clip: rect(0 0 0 0);
5516 + clip-path: inset(50%);
5508 5517 overflow: hidden;
5509 5518 white-space: nowrap;
5510 5519 }
5511 5520
@@ -5567,9 +5576,9 @@
5567 5576 right: 50%;
5568 5577 height: 14px;
5569 5578 transform: translateX(50%);
5570 5579 font-size: 12px;
5571 - font-weight: 600;
5580 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5572 5581 line-height: 14px;
5573 5582 color: #1e1e1e;
5574 5583 pointer-events: none;
5575 5584 }
@@ -5592,15 +5601,15 @@
5592 5601
5593 5602 .rotation-ruler__active-label-sign {
5594 5603 position: absolute;
5595 5604 top: 0;
5596 - left: 100%;
5605 + right: 100%;
5597 5606 }
5598 5607
5599 5608 .rotation-ruler__active-label-unit {
5600 5609 position: absolute;
5601 5610 top: 0;
5602 - right: 100%;
5611 + left: 100%;
5603 5612 }
5604 5613
5605 5614 @container (max-width: 220px) {
5606 5615 .rotation-ruler__tick--minor {
@@ -5618,9 +5627,9 @@
5618 5627 }
5619 5628
5620 5629 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
5621 5630 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
5622 - font: normal 20px/1 dashicons;
5631 + font: 400 20px/1 dashicons;
5623 5632 content: "\f110";
5624 5633 margin-left: 5px;
5625 5634 vertical-align: middle;
5626 5635 }
@@ -5643,9 +5652,9 @@
5643 5652 .editor-autocompleters__user .editor-autocompleters__user-slug {
5644 5653 margin-right: 8px;
5645 5654 white-space: nowrap;
5646 5655 text-overflow: ellipsis;
5647 - overflow: none;
5656 + overflow: hidden;
5648 5657 max-width: 100px;
5649 5658 flex-grow: 0;
5650 5659 flex-shrink: 0;
5651 5660 }
@@ -5655,9 +5664,10 @@
5655 5664
5656 5665 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5657 5666 box-shadow: none;
5658 5667 }
5659 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5668 +
5669 +.editor-collab-sidebar__header {
5660 5670 display: none;
5661 5671 }
5662 5672
5663 5673 .editor-collab-sidebar {
@@ -5669,11 +5679,13 @@
5669 5679 position: relative;
5670 5680 padding: 16px 16px 24px;
5671 5681 height: 100%;
5672 5682 overflow: hidden;
5683 + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5673 5684 }
5674 5685
5675 -.editor-collab-sidebar-panel__thread {
5686 +.editor-collab-sidebar-panel__thread,
5687 +.editor-collab-sidebar-panel__add-note {
5676 5688 position: relative;
5677 5689 padding: 16px;
5678 5690 border-radius: 8px;
5679 5691 border: 1px solid #ddd;
@@ -5680,18 +5692,21 @@
5680 5692 background-color: #f0f0f0;
5681 5693 overflow: hidden;
5682 5694 width: auto;
5683 5695 }
5684 -.editor-collab-sidebar-panel__thread.is-selected {
5696 +.editor-collab-sidebar-panel__thread.is-selected,
5697 +.editor-collab-sidebar-panel__add-note.is-selected {
5685 5698 background-color: #fff;
5686 5699 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02);
5687 5700 z-index: 1;
5688 5701 }
5689 -.editor-collab-sidebar-panel__thread:focus {
5702 +.editor-collab-sidebar-panel__thread:focus,
5703 +.editor-collab-sidebar-panel__add-note:focus {
5690 5704 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
5691 5705 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
5692 5706 }
5693 -.editor-collab-sidebar-panel__thread.is-floating {
5707 +.editor-collab-sidebar-panel__thread.is-floating,
5708 +.editor-collab-sidebar-panel__add-note.is-floating {
5694 5709 right: 16px;
5695 5710 left: 16px;
5696 5711 position: absolute;
5697 5712 margin-top: 16px;
@@ -5700,8 +5715,12 @@
5700 5715 max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5701 5716 overflow-y: auto;
5702 5717 }
5703 5718
5719 +.editor-collab-sidebar-panel__user-info {
5720 + flex: 1;
5721 +}
5722 +
5704 5723 .editor-collab-sidebar-panel__user-name {
5705 5724 font-size: 12px;
5706 5725 font-weight: 400;
5707 5726 line-height: 16px;
@@ -5706,9 +5725,9 @@
5706 5725 font-weight: 400;
5707 5726 line-height: 16px;
5708 5727 text-align: right;
5709 5728 color: #757575;
5710 - text-transform: capitalize;
5729 + overflow-wrap: anywhere;
5711 5730 }
5712 5731
5713 5732 .editor-collab-sidebar-panel__user-time {
5714 5733 font-size: 12px;
@@ -5717,11 +5736,30 @@
5717 5736 text-align: right;
5718 5737 color: #757575;
5719 5738 }
5720 5739
5740 +.editor-collab-sidebar-panel__show-more-button {
5741 + width: fit-content;
5742 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5743 + cursor: var(--wpds-cursor-control, pointer);
5744 +}
5745 +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5746 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5747 +}
5748 +
5749 +.editor-collab-sidebar-panel__note-content {
5750 + overflow-wrap: break-word;
5751 +}
5721 5752 .editor-collab-sidebar-panel__note-content p:last-child {
5722 5753 margin-bottom: 0;
5723 5754 }
5755 +.editor-collab-sidebar-panel__note-content.is-collapsed {
5756 + -webkit-line-clamp: 3;
5757 + line-clamp: 3;
5758 + display: -webkit-box;
5759 + -webkit-box-orient: vertical;
5760 + overflow: hidden;
5761 +}
5724 5762
5725 5763 .editor-collab-sidebar-panel__user-avatar {
5726 5764 border-radius: 50%;
5727 5765 flex-shrink: 0;
@@ -5741,23 +5779,23 @@
5741 5779 height: 24px;
5742 5780 flex-shrink: 0;
5743 5781 }
5744 5782
5745 -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
5783 +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after,
5784 +.editor-collab-sidebar-panel__status-separator::before,
5785 +.editor-collab-sidebar-panel__status-separator::after {
5746 5786 content: "";
5747 - display: block;
5748 - width: 100%;
5787 + flex: 1;
5749 5788 height: 1px;
5750 5789 background-color: #ddd;
5751 - flex: 1;
5752 5790 }
5753 5791
5754 5792 .editor-collab-sidebar-panel__more-reply-button {
5755 - font-weight: 499;
5793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5756 5794 }
5757 5795
5758 5796 .editor-collab-sidebar-panel__deleted-block-notice {
5759 - font-weight: 499;
5797 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5760 5798 color: #757575;
5761 5799 }
5762 5800
5763 5801 .editor-collab-sidebar-panel__resolution-text {
@@ -5763,47 +5801,26 @@
5763 5801 .editor-collab-sidebar-panel__resolution-text {
5764 5802 font-style: italic;
5765 5803 }
5766 5804
5767 -.editor-collab-sidebar-panel__note-form textarea {
5768 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5769 - padding: 6px 8px;
5770 - /* Fonts smaller than 16px causes mobile safari to zoom. */
5771 - font-size: 16px;
5772 - /* Override core line-height. To be reviewed. */
5773 - line-height: normal;
5774 - box-shadow: 0 0 0 transparent;
5805 +.editor-collab-sidebar-panel__note-form [role=textbox] {
5806 + line-height: 20px;
5807 + max-height: 418px;
5808 + overflow-y: auto;
5809 + white-space: pre-wrap;
5810 + overflow-wrap: break-word;
5811 +}
5812 +.editor-collab-sidebar-panel__note-form [role=textbox] code {
5813 + font-family: Menlo, Consolas, monaco, monospace;
5814 + font-size: 0.9em;
5815 + padding: 0 2px;
5816 + background: #f0f0f0;
5775 5817 border-radius: 2px;
5776 - border: 1px solid #949494;
5777 5818 }
5778 -@media not (prefers-reduced-motion) {
5779 - .editor-collab-sidebar-panel__note-form textarea {
5780 - transition: box-shadow 0.1s linear;
5781 - }
5819 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5820 + color: var(--wp-admin-theme-color);
5821 + text-decoration: underline;
5782 5822 }
5783 -@media (min-width: 600px) {
5784 - .editor-collab-sidebar-panel__note-form textarea {
5785 - font-size: 13px;
5786 - /* Override core line-height. To be reviewed. */
5787 - line-height: normal;
5788 - }
5789 -}
5790 -.editor-collab-sidebar-panel__note-form textarea:focus {
5791 - border-color: var(--wp-admin-theme-color);
5792 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
5793 - outline: 2px solid transparent;
5794 -}
5795 -.editor-collab-sidebar-panel__note-form textarea::-moz-placeholder {
5796 - color: rgba(30, 30, 30, 0.62);
5797 -}
5798 -.editor-collab-sidebar-panel__note-form textarea::placeholder {
5799 - color: rgba(30, 30, 30, 0.62);
5800 -}
5801 -.editor-collab-sidebar-panel__note-form textarea {
5802 - padding: 9px 11px;
5803 - line-height: 20px !important;
5804 - display: block;
5805 -}
5806 5823
5807 5824 .editor-collab-sidebar-panel__skip-to-note,
5808 5825 .editor-collab-sidebar-panel__skip-to-block {
5809 5826 position: absolute;
@@ -5845,9 +5862,9 @@
5845 5862 margin-right: 0;
5846 5863 }
5847 5864
5848 5865 .editor-note-indicator__overflow {
5849 - font-weight: 499;
5866 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5850 5867 }
5851 5868
5852 5869 .show-icon-labels .editor-note-indicator {
5853 5870 width: auto;
@@ -5859,8 +5876,36 @@
5859 5876 content: attr(aria-label);
5860 5877 font-size: 12px;
5861 5878 }
5862 5879
5880 +mark.wp-note {
5881 + border-radius: 1px;
5882 + transition: background-color 0.1s ease-in-out;
5883 +}
5884 +
5885 +.wp-note-mention {
5886 + display: inline;
5887 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
5888 + border-radius: var(--wpds-border-radius-sm, 2px);
5889 + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5890 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5891 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5892 +}
5893 +@media (forced-colors: active) {
5894 + .wp-note-mention {
5895 + border: 1px solid;
5896 + }
5897 +}
5898 +
5899 +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5900 + border-radius: 50%;
5901 +}
5902 +
5903 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5904 + content: attr(data-rich-text-placeholder);
5905 + color: color-mix(in srgb, currentColor, transparent 38%);
5906 +}
5907 +
5863 5908 .editor-avatar {
5864 5909 position: relative;
5865 5910 display: inline-flex;
5866 5911 align-items: center;
@@ -5905,10 +5950,9 @@
5905 5950 position: absolute;
5906 5951 inset: 0;
5907 5952 width: 100%;
5908 5953 height: 100%;
5909 - -o-object-fit: cover;
5910 - object-fit: cover;
5954 + object-fit: cover;
5911 5955 border-radius: inherit;
5912 5956 opacity: 0;
5913 5957 }
5914 5958 .has-src > .editor-avatar__image > .editor-avatar__img {
@@ -5919,9 +5963,9 @@
5919 5963 display: flex;
5920 5964 align-items: center;
5921 5965 justify-content: center;
5922 5966 font-size: 11px;
5923 - font-weight: 499;
5967 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5924 5968 border: 0;
5925 5969 background-clip: border-box;
5926 5970 }
5927 5971 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5933,9 +5977,9 @@
5933 5977 }
5934 5978
5935 5979 .editor-avatar__name {
5936 5980 font-size: 13px;
5937 - font-weight: 499;
5981 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5938 5982 line-height: 20px;
5939 5983 color: var(--editor-avatar-name-color, #fff);
5940 5984 min-width: 0;
5941 5985 padding-bottom: 2px;
@@ -5947,19 +5991,16 @@
5947 5991
5948 5992 .editor-avatar.is-badge {
5949 5993 display: inline-grid;
5950 5994 grid-template-columns: min-content 0fr;
5951 - -moz-column-gap: 0;
5952 - column-gap: 0;
5995 + column-gap: 0;
5953 5996 padding-inline-end: 0;
5954 5997 background-color: var(--wp-admin-theme-color, #3858e9);
5955 5998 transition: grid-template-columns 0.3s cubic-bezier(0.15, 0, 0.15, 1), column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1), padding-inline-end 0.3s cubic-bezier(0.15, 0, 0.15, 1);
5956 - transition: grid-template-columns 0.3s cubic-bezier(0.15, 0, 0.15, 1), column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1), padding-inline-end 0.3s cubic-bezier(0.15, 0, 0.15, 1), -moz-column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1);
5957 5999 }
5958 6000 .editor-avatar.is-badge:hover {
5959 6001 grid-template-columns: min-content 1fr;
5960 - -moz-column-gap: 4px;
5961 - column-gap: 4px;
6002 + column-gap: 4px;
5962 6003 padding-inline-end: 8px;
5963 6004 transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1);
5964 6005 }
5965 6006 .editor-avatar.is-badge:hover .editor-avatar__name {
@@ -6079,9 +6120,9 @@
6079 6120 padding: 8px 16px;
6080 6121 }
6081 6122 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
6082 6123 font-size: 13px;
6083 - font-weight: 499;
6124 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6084 6125 line-height: 20px;
6085 6126 display: flex;
6086 6127 gap: 4px;
6087 6128 }
@@ -6133,9 +6174,9 @@
6133 6174 min-width: 0;
6134 6175 }
6135 6176 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
6136 6177 font-size: 13px;
6137 - font-weight: 499;
6178 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6138 6179 line-height: 20px;
6139 6180 color: #1e1e1e;
6140 6181 overflow: hidden;
6141 6182 text-overflow: ellipsis;
@@ -6149,43 +6190,24 @@
6149 6190 height: 32px;
6150 6191 background: #f0f0f0;
6151 6192 border-radius: 4px;
6152 6193 }
6153 -.editor-collaborators-presence:hover {
6194 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
6154 6195 background-color: #e0e0e0;
6155 6196 }
6156 -.editor-collaborators-presence:has(.is-pressed) {
6157 - background-color: #e0e0e0;
6158 -}
6159 6197
6160 6198 .editor-header__center .editor-collaborators-presence {
6161 6199 margin-left: 8px;
6162 6200 }
6163 6201
6164 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button {
6165 - display: flex;
6166 - align-items: center;
6167 - cursor: var(--wpds-cursor-control, pointer);
6202 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
6168 6203 position: relative;
6169 6204 padding: 4px;
6170 - border-radius: 4px;
6171 - height: 100%;
6172 - box-sizing: border-box;
6173 - color: #2f2f2f;
6174 - background: transparent;
6175 6205 }
6176 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover {
6206 +.editor-collaborators-presence__button.editor-collaborators-presence__button, .editor-collaborators-presence__button.editor-collaborators-presence__button:hover, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed:hover {
6177 6207 background: transparent;
6178 6208 color: #2f2f2f;
6179 6209 }
6180 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed:hover {
6181 - background: transparent;
6182 - color: #2f2f2f;
6183 -}
6184 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) {
6185 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba);
6186 - outline: none;
6187 -}
6188 6210
6189 6211 .editor-collapsible-block-toolbar {
6190 6212 overflow: hidden;
6191 6213 display: flex;
@@ -6280,11 +6302,8 @@
6280 6302 }
6281 6303 .editor-document-bar:hover {
6282 6304 background-color: #e0e0e0;
6283 6305 }
6284 -.editor-document-bar .components-button {
6285 - border-radius: 4px;
6286 -}
6287 6306 @media not (prefers-reduced-motion) {
6288 6307 .editor-document-bar .components-button {
6289 6308 transition: background-color 0.1s ease-out;
6290 6309 }
@@ -6309,13 +6328,8 @@
6309 6328 color: #1e1e1e;
6310 6329 margin: 0 auto;
6311 6330 max-width: 70%;
6312 6331 }
6313 -@media (min-width: 782px) {
6314 - .editor-document-bar__title {
6315 - padding-right: 24px;
6316 - }
6317 -}
6318 6332 .editor-document-bar__title h1 {
6319 6333 display: flex;
6320 6334 align-items: center;
6321 6335 justify-content: center;
@@ -6341,19 +6355,8 @@
6341 6355 display: none;
6342 6356 }
6343 6357 }
6344 6358
6345 -.editor-document-bar__shortcut {
6346 - color: #2f2f2f;
6347 - min-width: 24px;
6348 - display: none;
6349 -}
6350 -@media (min-width: 782px) {
6351 - .editor-document-bar__shortcut {
6352 - display: initial;
6353 - }
6354 -}
6355 -
6356 6359 .editor-document-bar__back.components-button.has-icon.has-text {
6357 6360 min-width: 36px;
6358 6361 flex-shrink: 0;
6359 6362 color: #757575;
@@ -6372,9 +6375,9 @@
6372 6375 display: none;
6373 6376 pointer-events: none;
6374 6377 }
6375 6378 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
6376 - fill: #949494;
6379 + color: #949494;
6377 6380 }
6378 6381 @media (min-width: 600px) {
6379 6382 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
6380 6383 display: flex;
@@ -6504,12 +6507,12 @@
6504 6507 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
6505 6508 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
6506 6509 background: #1e1e1e;
6507 6510 }
6508 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
6509 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
6510 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
6511 - outline: 1px solid transparent;
6511 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6512 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6513 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
6514 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
6512 6515 }
6513 6516 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
6514 6517 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
6515 6518 display: none;
@@ -6540,12 +6543,18 @@
6540 6543 .editor-editor-interface .interface-interface-skeleton__content {
6541 6544 isolation: isolate;
6542 6545 }
6543 6546
6544 -.editor-editor-interface .editor-notices {
6545 - padding: var(--wpds-dimension-padding-md, 12px);
6547 +.editor-notices.notices-inline-notices-wrapper,
6548 +.editor-notices .components-notice-list {
6549 + gap: 0;
6546 6550 }
6547 6551
6552 +.editor-notices .components-notice {
6553 + border-top-width: 0;
6554 + border-inline-width: 0;
6555 +}
6556 +
6548 6557 .editor-visual-editor {
6549 6558 flex: 1 0 auto;
6550 6559 }
6551 6560
@@ -6556,79 +6565,29 @@
6556 6565 top: 0;
6557 6566 left: 0;
6558 6567 }
6559 6568
6560 -.entities-saved-states__panel-header {
6561 - box-sizing: border-box;
6562 - background: #fff;
6563 - padding-right: 16px;
6564 - padding-left: 16px;
6565 - height: 64px;
6566 - border-bottom: 1px solid #ddd;
6569 +.editor-error-boundary {
6570 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6571 + margin: auto;
6572 + width: 100%;
6573 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6574 + padding: var(--wpds-dimension-padding-xl, 20px);
6575 + margin-top: 64px;
6567 6576 }
6568 6577
6569 -.entities-saved-states__text-prompt {
6570 - padding: 16px;
6571 - padding-bottom: 4px;
6578 +.editor-error-boundary__report {
6579 + max-height: 420px;
6580 + overflow: auto;
6581 + overflow-anchor: none;
6572 6582 }
6573 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
6574 - display: block;
6575 - margin-bottom: 12px;
6576 -}
6577 6583
6578 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
6579 - padding: 0;
6584 +.editor-error-boundary__report-section {
6585 + margin: 0;
6586 + white-space: pre-wrap;
6587 + overflow-wrap: break-word;
6580 6588 }
6581 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
6582 - padding-right: 0;
6583 - padding-left: 0;
6584 - border: 0;
6585 -}
6586 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
6587 - margin-right: -16px;
6588 - margin-left: -16px;
6589 - margin-bottom: 0;
6590 -}
6591 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
6592 - font-size: 11px;
6593 - text-transform: uppercase;
6594 -}
6595 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
6596 - display: none;
6597 -}
6598 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
6599 - margin-top: 0;
6600 - margin-bottom: 8px;
6601 -}
6602 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
6603 - margin-top: 16px;
6604 -}
6605 6589
6606 -.entities-saved-states__change-control {
6607 - flex: 1;
6608 -}
6609 -
6610 -.entities-saved-states__changes {
6611 - font-size: 13px;
6612 - margin: 4px 24px 0 16px;
6613 - list-style: disc;
6614 -}
6615 -.entities-saved-states__changes li {
6616 - margin-bottom: 4px;
6617 -}
6618 -
6619 -.editor-error-boundary {
6620 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6621 - margin: auto;
6622 - max-width: 780px;
6623 - padding: 1em;
6624 - margin-top: 64px;
6625 - box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
6626 - border: 1px solid #1e1e1e;
6627 - border-radius: 2px;
6628 - background-color: #fff;
6629 -}
6630 -
6631 6590 .editor-global-styles-header__description {
6632 6591 padding: 0 16px;
6633 6592 }
6634 6593
@@ -6644,8 +6603,27 @@
6644 6603 .editor-global-styles-sidebar__panel {
6645 6604 flex: 1;
6646 6605 }
6647 6606
6607 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6608 + flex-grow: 1;
6609 +}
6610 +
6611 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6612 + overflow: hidden;
6613 +}
6614 +
6615 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6616 + display: flex;
6617 + flex-direction: column;
6618 + min-height: 0;
6619 +}
6620 +
6621 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
6622 + flex: 1;
6623 + min-height: 0;
6624 +}
6625 +
6648 6626 .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6649 6627 margin: 0;
6650 6628 }
6651 6629
@@ -6705,13 +6683,12 @@
6705 6683 }
6706 6684 .editor-welcome-guide__image > img {
6707 6685 display: block;
6708 6686 max-width: 100%;
6709 - -o-object-fit: cover;
6710 - object-fit: cover;
6687 + object-fit: cover;
6711 6688 }
6712 6689 .editor-welcome-guide__heading {
6713 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6690 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6714 6691 font-size: 24px;
6715 6692 line-height: 1.4;
6716 6693 margin: 16px 0 16px 0;
6717 6694 padding: 0 32px;
@@ -6725,9 +6702,9 @@
6725 6702 .editor-welcome-guide__text img {
6726 6703 vertical-align: bottom;
6727 6704 }
6728 6705 .editor-welcome-guide .components-button:hover svg {
6729 - fill: #fff;
6706 + color: #fff;
6730 6707 }
6731 6708
6732 6709 .editor-header {
6733 6710 box-sizing: border-box;
@@ -6741,16 +6718,16 @@
6741 6718 height: 64px;
6742 6719 background: #fff;
6743 6720 display: grid;
6744 6721 grid-auto-flow: row;
6745 - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6722 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
6746 6723 }
6747 6724 .editor-header:has(> .editor-header__center) {
6748 - grid-template: auto/64px min-content 1fr min-content 64px;
6725 + grid-template: auto/auto min-content 1fr min-content 64px;
6749 6726 }
6750 6727 @media (min-width: 782px) {
6751 6728 .editor-header:has(> .editor-header__center) {
6752 - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6729 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6753 6730 }
6754 6731 }
6755 6732 @media (min-width: 480px) {
6756 6733 .editor-header {
@@ -6767,8 +6744,15 @@
6767 6744 flex-wrap: nowrap;
6768 6745 }
6769 6746 }
6770 6747
6748 +.editor-header__back-button {
6749 + margin: 0 8px 0 -8px;
6750 +}
6751 +.show-icon-labels .editor-header__back-button {
6752 + margin-left: 0;
6753 +}
6754 +
6771 6755 .editor-header__toolbar {
6772 6756 grid-column: 1/3;
6773 6757 }
6774 6758 .editor-header__toolbar > :first-child {
@@ -6813,9 +6797,8 @@
6813 6797 display: flex;
6814 6798 justify-content: center;
6815 6799 align-items: center;
6816 6800 min-width: 0;
6817 - clip-path: inset(-2px);
6818 6801 }
6819 6802 @media (max-width: 479px) {
6820 6803 .editor-header__center > :first-child {
6821 6804 margin-inline-start: 8px;
@@ -6823,11 +6806,8 @@
6823 6806 .editor-header__center > :last-child {
6824 6807 margin-inline-end: 8px;
6825 6808 }
6826 6809 }
6827 -.editor-revisions-header .editor-header__center {
6828 - clip-path: none;
6829 -}
6830 6810
6831 6811 /**
6832 6812 * Buttons on the right side
6833 6813 */
@@ -6977,9 +6957,9 @@
6977 6957 }
6978 6958 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
6979 6959 visibility: hidden;
6980 6960 }
6981 -.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6961 +.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown__toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6982 6962 display: none;
6983 6963 }
6984 6964 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6985 6965 opacity: 1 !important;
@@ -6986,15 +6966,15 @@
6986 6966 }
6987 6967 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
6988 6968 transform: translateX(0) translateZ(0) !important;
6989 6969 }
6990 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6970 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
6991 6971 position: absolute;
6992 6972 z-index: 35;
6993 6973 }
6994 -
6995 -.components-popover.more-menu-dropdown__content {
6996 - z-index: 99998;
6974 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6975 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6976 + z-index: 36;
6997 6977 }
6998 6978
6999 6979 .editor-inserter-sidebar {
7000 6980 box-sizing: border-box;
@@ -7018,9 +6998,9 @@
7018 6998 margin: 0 0 2rem 0;
7019 6999 }
7020 7000 .editor-keyboard-shortcut-help-modal__section-title {
7021 7001 font-size: 0.9rem;
7022 - font-weight: 600;
7002 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7023 7003 }
7024 7004 .editor-keyboard-shortcut-help-modal__shortcut {
7025 7005 display: flex;
7026 7006 align-items: baseline;
@@ -7034,9 +7014,9 @@
7034 7014 .editor-keyboard-shortcut-help-modal__shortcut:empty {
7035 7015 display: none;
7036 7016 }
7037 7017 .editor-keyboard-shortcut-help-modal__shortcut-term {
7038 - font-weight: 600;
7018 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7039 7019 margin: 0 1rem 0 0;
7040 7020 text-align: left;
7041 7021 }
7042 7022 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -7124,9 +7104,9 @@
7124 7104 scrollbar-gutter: auto;
7125 7105 }
7126 7106
7127 7107 .editor-list-view-sidebar__list-view-panel-content {
7128 - padding: 4px;
7108 + padding: 8px;
7129 7109 }
7130 7110
7131 7111 .editor-list-view-sidebar__list-view-container {
7132 7112 display: flex;
@@ -7157,8 +7137,13 @@
7157 7137 line-height: 1.4;
7158 7138 color: #757575;
7159 7139 }
7160 7140
7141 +.editor-more-menu__popup {
7142 + max-height: var(--available-height);
7143 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7144 +}
7145 +
7161 7146 .editor-post-parent__panel,
7162 7147 .editor-post-order__panel {
7163 7148 padding-top: 8px;
7164 7149 }
@@ -7201,10 +7186,10 @@
7201 7186 .editor-post-card-panel__title {
7202 7187 width: 100%;
7203 7188 }
7204 7189 .editor-post-card-panel__title.editor-post-card-panel__title {
7205 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7206 - font-weight: 499;
7190 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7191 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7207 7192 font-size: 13px;
7208 7193 line-height: 20px;
7209 7194 margin: 0;
7210 7195 display: flex;
@@ -7209,12 +7194,12 @@
7209 7194 margin: 0;
7210 7195 display: flex;
7211 7196 align-items: center;
7212 7197 flex-wrap: wrap;
7213 - -moz-column-gap: 8px;
7214 - column-gap: 8px;
7198 + column-gap: 8px;
7215 7199 row-gap: 4px;
7216 - word-break: break-word;
7200 + word-break: normal;
7201 + overflow-wrap: anywhere;
7217 7202 }
7218 7203 .editor-post-card-panel__icon {
7219 7204 flex: 0 0 24px;
7220 7205 width: 24px;
@@ -7303,9 +7288,9 @@
7303 7288 .editor-post-featured-image__toggle,
7304 7289 .editor-post-featured-image__preview {
7305 7290 width: 100%;
7306 7291 padding: 0;
7307 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7292 + border-color: #ccc;
7308 7293 overflow: hidden;
7309 7294 outline-offset: -1px;
7310 7295 min-height: 40px;
7311 7296 display: flex;
@@ -7319,23 +7304,14 @@
7319 7304 background-position: 0 0, 12px 12px;
7320 7305 background-size: 24px 24px;
7321 7306 }
7322 7307 .editor-post-featured-image__preview .editor-post-featured-image__preview-image {
7323 - -o-object-fit: cover;
7324 - object-fit: cover;
7308 + object-fit: cover;
7325 7309 width: 100%;
7326 - -o-object-position: 50% 50%;
7327 - object-position: 50% 50%;
7310 + object-position: 50% 50%;
7328 7311 aspect-ratio: 2/1;
7329 7312 }
7330 7313
7331 -.editor-post-featured-image__toggle {
7332 - box-shadow: inset 0 0 0 1px #ccc;
7333 -}
7334 -.editor-post-featured-image__toggle:focus:not(:disabled) {
7335 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7336 -}
7337 -
7338 7314 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
7339 7315 bottom: 0;
7340 7316 opacity: 0;
7341 7317 padding: 8px;
@@ -7372,9 +7348,9 @@
7372 7348 }
7373 7349
7374 7350 .editor-post-last-revision__title {
7375 7351 width: 100%;
7376 - font-weight: 499;
7352 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7377 7353 }
7378 7354
7379 7355 .editor-post-last-revision__title.components-button.has-icon {
7380 7356 height: 100%;
@@ -7383,9 +7359,9 @@
7383 7359 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
7384 7360 background: #f0f0f0;
7385 7361 }
7386 7362 .editor-post-last-revision__title.components-button.has-icon:focus {
7387 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7363 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
7388 7364 border-radius: 0;
7389 7365 }
7390 7366
7391 7367 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -7421,9 +7397,10 @@
7421 7397 align-items: center;
7422 7398 padding: 6px 0;
7423 7399 line-height: 20px;
7424 7400 hyphens: auto;
7425 - word-break: break-word;
7401 + word-break: normal;
7402 + overflow-wrap: anywhere;
7426 7403 }
7427 7404
7428 7405 .editor-post-panel__row-control {
7429 7406 flex-grow: 1;
@@ -7438,9 +7415,9 @@
7438 7415 text-wrap: balance;
7439 7416 text-wrap: pretty;
7440 7417 height: auto;
7441 7418 min-height: 32px;
7442 - font-weight: 400;
7419 + font-weight: var(--wpds-typography-font-weight-default, 400);
7443 7420 }
7444 7421 .editor-post-panel__row-control .components-dropdown {
7445 7422 max-width: 100%;
7446 7423 }
@@ -7499,9 +7476,10 @@
7499 7476 .components-site-home {
7500 7477 display: block;
7501 7478 color: #757575;
7502 7479 font-size: 12px;
7503 - word-break: break-word;
7480 + word-break: normal;
7481 + overflow-wrap: anywhere;
7504 7482 }
7505 7483
7506 7484 .editor-post-publish-panel__header-publish-button,
7507 7485 .editor-post-publish-panel__header-cancel-button {
@@ -7522,12 +7500,8 @@
7522 7500 .editor-post-publish-panel__header-cancel-button {
7523 7501 padding-left: 4px;
7524 7502 }
7525 7503
7526 -.editor-post-publish-panel__header-published {
7527 - flex-grow: 1;
7528 -}
7529 -
7530 7504 .editor-post-publish-panel__footer {
7531 7505 padding: 16px;
7532 7506 }
7533 7507
@@ -7557,11 +7531,8 @@
7557 7531 background: #fff;
7558 7532 margin-right: -16px;
7559 7533 margin-left: -16px;
7560 7534 }
7561 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
7562 - display: none;
7563 -}
7564 7535 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
7565 7536 align-items: flex-start;
7566 7537 text-wrap: balance;
7567 7538 text-wrap: pretty;
@@ -7569,9 +7540,10 @@
7569 7540
7570 7541 .post-publish-panel__postpublish .components-panel__body {
7571 7542 border-bottom: 1px solid #e0e0e0;
7572 7543 border-top: none;
7573 - word-break: break-word;
7544 + word-break: normal;
7545 + overflow-wrap: anywhere;
7574 7546 }
7575 7547
7576 7548 .post-publish-panel__postpublish-buttons {
7577 7549 display: flex;
@@ -7611,9 +7583,9 @@
7611 7583 margin-right: 16px;
7612 7584 }
7613 7585
7614 7586 .post-publish-panel__postpublish-header {
7615 - font-weight: 499;
7587 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7616 7588 }
7617 7589
7618 7590 .post-publish-panel__postpublish-subheader {
7619 7591 margin: 0 0 8px;
@@ -7618,17 +7590,8 @@
7618 7590 .post-publish-panel__postpublish-subheader {
7619 7591 margin: 0 0 8px;
7620 7592 }
7621 7593
7622 -.post-publish-panel__tip {
7623 - color: #f0b849;
7624 -}
7625 -
7626 -@media screen and (max-width: 782px) {
7627 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
7628 - height: 40px;
7629 - }
7630 -}
7631 7594 .editor-post-publish-panel {
7632 7595 box-sizing: border-box;
7633 7596 }
7634 7597 .editor-post-publish-panel *,
@@ -7662,9 +7625,9 @@
7662 7625 }
7663 7626 }
7664 7627 @media (min-width: 782px) {
7665 7628 body.is-fullscreen-mode .editor-post-publish-panel {
7666 - top: 0;
7629 + top: var(--wp-admin--admin-bar--height, 0);
7667 7630 }
7668 7631 [role=region]:focus .editor-post-publish-panel {
7669 7632 transform: translateX(0%);
7670 7633 }
@@ -7674,22 +7637,8 @@
7674 7637 100% {
7675 7638 transform: translateX(0%);
7676 7639 }
7677 7640 }
7678 -.editor-post-revisions-panel .editor-post-revisions-panel__view-all {
7679 - justify-content: center;
7680 -}
7681 -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date {
7682 - text-transform: uppercase;
7683 - font-weight: 600;
7684 - font-size: 12px;
7685 -}
7686 -
7687 -.editor-post-revisions-panel__revisions-count {
7688 - margin-top: -4.5px;
7689 - margin-bottom: -4.5px;
7690 -}
7691 -
7692 7641 .editor-revisions-header__slider {
7693 7642 width: 100%;
7694 7643 }
7695 7644 .editor-revisions-header__slider .components-range-control__tooltip {
@@ -7716,8 +7665,103 @@
7716 7665 flex: 1;
7717 7666 min-width: 0;
7718 7667 }
7719 7668
7669 +.editor-revisions-code-diff {
7670 + height: 100%;
7671 + overflow: auto;
7672 + background: #fff;
7673 + color: #1e1e1e;
7674 +}
7675 +.editor-revisions-code-diff:focus-visible {
7676 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7677 + outline: none;
7678 +}
7679 +
7680 +.editor-revisions-code-diff__table {
7681 + width: 100%;
7682 + min-width: max-content;
7683 + border: 0;
7684 + border-collapse: separate;
7685 + border-spacing: 0;
7686 + font-family: Menlo, Consolas, monaco, monospace;
7687 + font-size: 15px;
7688 + line-height: 1.6;
7689 +}
7690 +
7691 +.editor-revisions-code-diff__line.is-added {
7692 + background: rgba(0, 163, 42, 0.12);
7693 +}
7694 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7695 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7696 + background: color-mix(in srgb, #00a32a 12%, #fff);
7697 +}
7698 +.editor-revisions-code-diff__line.is-removed {
7699 + background: rgba(214, 54, 56, 0.12);
7700 +}
7701 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7702 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7703 + background: color-mix(in srgb, #d63638 12%, #fff);
7704 +}
7705 +
7706 +.editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__marker {
7708 + position: sticky;
7709 + z-index: 1;
7710 + box-sizing: border-box;
7711 + padding: 0 8px;
7712 + background: #fff;
7713 + color: #757575;
7714 + text-align: left;
7715 + white-space: nowrap;
7716 + -webkit-user-select: none;
7717 + user-select: none;
7718 +}
7719 +
7720 +.editor-revisions-code-diff__line-number {
7721 + right: 0;
7722 + width: 6ch;
7723 + min-width: 6ch;
7724 + max-width: 6ch;
7725 + border-left: 1px solid #e0e0e0;
7726 + background: #f0f0f0;
7727 +}
7728 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7729 + right: 6ch;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__marker {
7733 + right: 12ch;
7734 + width: 3ch;
7735 + min-width: 3ch;
7736 + max-width: 3ch;
7737 + border-left: 1px solid #e0e0e0;
7738 + padding: 0;
7739 + font-weight: 600;
7740 + text-align: center;
7741 +}
7742 +
7743 +.editor-revisions-code-diff__code {
7744 + width: 100%;
7745 + padding: 0 8px 0 16px;
7746 + direction: ltr;
7747 + unicode-bidi: isolate;
7748 + white-space: pre;
7749 +}
7750 +.editor-revisions-code-diff__code code {
7751 + margin: 0;
7752 + padding: 0;
7753 + background: none;
7754 + color: inherit;
7755 + font: inherit;
7756 +}
7757 +
7758 +.editor-revisions-code-diff__empty {
7759 + margin: 0;
7760 + padding: 24px;
7761 + color: #757575;
7762 +}
7763 +
7720 7764 .revision-diff-markers {
7721 7765 position: relative;
7722 7766 flex-shrink: 0;
7723 7767 width: max(16px, 1rem);
@@ -7748,10 +7792,45 @@
7748 7792 outline: 2px solid #1e1e1e;
7749 7793 outline-offset: -2px;
7750 7794 }
7751 7795
7796 +.interface-complementary-area:has(.editor-post-revisions-timeline) {
7797 + display: flex;
7798 + flex-direction: column;
7799 + overflow: hidden;
7800 +}
7801 +
7802 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7803 + flex-shrink: 0;
7804 +}
7805 +
7806 +.editor-sidebar__panel:has(.editor-post-revisions-timeline) {
7807 + display: flex;
7808 + flex-direction: column;
7809 + flex: 1;
7810 + min-height: 0;
7811 +}
7812 +
7813 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7814 + display: flex;
7815 + flex-direction: column;
7816 + flex: 1;
7817 + min-height: 0;
7818 +}
7819 +
7820 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7821 + max-height: 80px;
7822 + overflow-y: auto;
7823 +}
7824 +
7825 +.editor-sidebar__panel .editor-post-revisions-timeline {
7826 + flex: 1;
7827 + min-height: 0;
7828 +}
7829 +
7752 7830 .editor-revision-fields-diff__value {
7753 - word-break: break-word;
7831 + word-break: normal;
7832 + overflow-wrap: anywhere;
7754 7833 }
7755 7834
7756 7835 .editor-revision-fields-diff__added {
7757 7836 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7805,8 +7884,14 @@
7805 7884 min-width: 320px;
7806 7885 padding: 16px;
7807 7886 }
7808 7887
7888 +.editor-post-schedule__reset {
7889 + justify-content: center;
7890 + margin-top: 16px;
7891 + width: 100%;
7892 +}
7893 +
7809 7894 .editor-post-status {
7810 7895 max-width: 100%;
7811 7896 }
7812 7897 .editor-post-status.is-read-only {
@@ -7859,8 +7944,13 @@
7859 7944 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7860 7945 margin-bottom: 4px;
7861 7946 }
7862 7947
7948 +.editor-post-taxonomies__hierarchical-terms-add,
7949 +.editor-post-taxonomies__hierarchical-terms-submit {
7950 + align-self: flex-start;
7951 +}
7952 +
7863 7953 .editor-post-taxonomies__hierarchical-terms-subchoices {
7864 7954 margin-top: 8px;
7865 7955 margin-right: 16px;
7866 7956 }
@@ -7906,29 +7996,24 @@
7906 7996 z-index: 1000001;
7907 7997 }
7908 7998
7909 7999 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7910 - -moz-column-count: 2;
7911 - column-count: 2;
7912 - -moz-column-gap: 24px;
7913 - column-gap: 24px;
8000 + column-count: 2;
8001 + column-gap: 24px;
7914 8002 padding-top: 2px;
7915 8003 }
7916 8004 @media (min-width: 782px) {
7917 8005 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7918 - -moz-column-count: 3;
7919 - column-count: 3;
8006 + column-count: 3;
7920 8007 }
7921 8008 }
7922 8009 @media (min-width: 1280px) {
7923 8010 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7924 - -moz-column-count: 4;
7925 - column-count: 4;
8011 + column-count: 4;
7926 8012 }
7927 8013 }
7928 8014 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7929 - -moz-column-break-inside: avoid;
7930 - break-inside: avoid-column;
8015 + break-inside: avoid-column;
7931 8016 }
7932 8017
7933 8018 .editor-post-template__dropdown .components-popover__content {
7934 8019 min-width: 240px;
@@ -7983,9 +8068,10 @@
7983 8068 margin: 0;
7984 8069 width: 100%;
7985 8070 box-shadow: none;
7986 8071 resize: none;
7987 - overflow: hidden;
8072 + field-sizing: content;
8073 + overflow: auto;
7988 8074 font-family: Menlo, Consolas, monaco, monospace;
7989 8075 line-height: 2.4;
7990 8076 min-height: 200px;
7991 8077 }
@@ -8015,11 +8101,8 @@
8015 8101 border-color: var(--wp-admin-theme-color);
8016 8102 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
8017 8103 position: relative;
8018 8104 }
8019 -textarea.editor-post-text-editor::-moz-placeholder {
8020 - color: rgba(30, 30, 30, 0.62);
8021 -}
8022 8105 textarea.editor-post-text-editor::placeholder {
8023 8106 color: rgba(30, 30, 30, 0.62);
8024 8107 }
8025 8108
@@ -8039,9 +8122,10 @@
8039 8122 }
8040 8123 .editor-post-url__link,
8041 8124 .editor-post-url__front-page-link {
8042 8125 direction: ltr;
8043 - word-break: break-word;
8126 + word-break: normal;
8127 + overflow-wrap: anywhere;
8044 8128 }
8045 8129 .editor-post-url__front-page-link {
8046 8130 padding: 6px 12px;
8047 8131 border-radius: 2px;
@@ -8057,9 +8141,9 @@
8057 8141 outline: 3px solid rgba(0, 0, 0, 0);
8058 8142 }
8059 8143
8060 8144 .editor-post-url__link-slug {
8061 - font-weight: 600;
8145 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8062 8146 }
8063 8147
8064 8148 .editor-post-url__input input.components-input-control__input {
8065 8149 padding-inline-start: 0 !important;
@@ -8066,9 +8150,10 @@
8066 8150 }
8067 8151
8068 8152 .editor-post-url__panel-toggle,
8069 8153 .editor-post-parent__panel-toggle {
8070 - word-break: break-word;
8154 + word-break: normal;
8155 + overflow-wrap: anywhere;
8071 8156 }
8072 8157
8073 8158 .editor-post-url__intro {
8074 8159 margin: 0;
@@ -8091,19 +8176,27 @@
8091 8176 flex-grow: 1;
8092 8177 justify-content: center;
8093 8178 }
8094 8179
8095 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8180 +.editor-preview-dropdown__popup {
8181 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8182 +}
8183 +
8184 +.editor-preview-dropdown__toggle.has-icon.has-text {
8096 8185 padding-left: 4px;
8097 8186 padding-right: 6px;
8098 8187 }
8099 8188
8100 -.editor-preview-dropdown__button-external {
8101 - width: 100%;
8102 - display: flex;
8103 - justify-content: space-between;
8189 +.editor-preview-dropdown__toggle.is-responsive-editing {
8190 + color: var(--wp-block-synced-color);
8104 8191 }
8105 8192
8193 +@media (prefers-reduced-motion: no-preference) {
8194 + .editor-resizable-editor:not(.is-resizing) {
8195 + transition: width 0.2s ease-out;
8196 + }
8197 +}
8198 +
8106 8199 .editor-resizable-editor.is-resizable {
8107 8200 overflow: visible;
8108 8201 margin: 0 auto;
8109 8202 }
@@ -8114,11 +8207,9 @@
8114 8207 bottom: 0;
8115 8208 padding: 0;
8116 8209 margin: auto 0;
8117 8210 width: 12px;
8118 - -webkit-appearance: none;
8119 - -moz-appearance: none;
8120 - appearance: none;
8211 + appearance: none;
8121 8212 cursor: ew-resize;
8122 8213 outline: none;
8123 8214 background: none;
8124 8215 border-radius: 9999px;
@@ -8148,8 +8239,22 @@
8148 8239 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
8149 8240 background-color: var(--wp-admin-theme-color);
8150 8241 }
8151 8242
8243 +.editor-save-error-details {
8244 + display: inline;
8245 +}
8246 +
8247 +.editor-save-error-details summary {
8248 + display: inline;
8249 + cursor: var(--wpds-cursor-control, pointer);
8250 + margin-right: 0.35em;
8251 +}
8252 +
8253 +.editor-save-error-details__message {
8254 + white-space: break-spaces;
8255 +}
8256 +
8152 8257 .editor-layout__toggle-publish-panel,
8153 8258 .editor-layout__toggle-sidebar-panel,
8154 8259 .editor-layout__toggle-entities-saved-states-panel {
8155 8260 z-index: 100000;
@@ -8180,12 +8285,12 @@
8180 8285 bottom: 0;
8181 8286 width: 100%;
8182 8287 height: 72px;
8183 8288 background-color: #fff;
8184 - margin-right: -32px;
8185 - margin-left: -32px;
8186 - padding-right: 32px;
8187 - padding-left: 32px;
8289 + margin-right: -24px;
8290 + margin-left: -24px;
8291 + padding-right: 24px;
8292 + padding-left: 24px;
8188 8293 border-top: 1px solid #ddd;
8189 8294 z-index: 1;
8190 8295 }
8191 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -8190,30 +8295,51 @@
8190 8295 }
8191 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
8192 8297 padding-bottom: 72px;
8193 8298 }
8299 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8300 + display: none;
8301 +}
8302 +@media (min-width: 782px) {
8303 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8304 + display: flex;
8305 + position: absolute;
8306 + top: 72px;
8307 + right: 0;
8308 + bottom: 72px;
8309 + width: 280px;
8310 + padding: 24px;
8311 + overflow-x: visible;
8312 + overflow-y: auto;
8313 + }
8314 +}
8194 8315
8195 -.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8196 - -moz-column-count: 2;
8197 - column-count: 2;
8198 - -moz-column-gap: 24px;
8199 - column-gap: 24px;
8316 +.editor-start-page-options__modal-content {
8317 + container-type: inline-size;
8200 8318 }
8319 +
8201 8320 @media (min-width: 782px) {
8202 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8203 - -moz-column-count: 3;
8204 - column-count: 3;
8321 + .editor-start-page-options__modal-content.has-pattern-categories {
8322 + margin-right: 280px;
8205 8323 }
8206 8324 }
8207 -@media (min-width: 1280px) {
8325 +
8326 +.editor-start-page-options__no-results {
8327 + padding: 32px;
8328 + text-align: center;
8329 +}
8330 +
8331 +.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8332 + column-count: 2;
8333 + column-gap: 24px;
8334 +}
8335 +@container (min-width: 464px) {
8208 8336 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8209 - -moz-column-count: 4;
8210 - column-count: 4;
8337 + columns: 4 220px;
8211 8338 }
8212 8339 }
8213 8340 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8214 - -moz-column-break-inside: avoid;
8215 - break-inside: avoid-column;
8341 + break-inside: avoid-column;
8216 8342 margin-bottom: 24px;
8217 8343 }
8218 8344 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
8219 8345 min-height: 100px;
@@ -8227,12 +8353,12 @@
8227 8353 bottom: 0;
8228 8354 width: 100%;
8229 8355 height: 92px;
8230 8356 background-color: #fff;
8231 - margin-right: -32px;
8232 - margin-left: -32px;
8233 - padding-right: 32px;
8234 - padding-left: 32px;
8357 + margin-right: -24px;
8358 + margin-left: -24px;
8359 + padding-right: 24px;
8360 + padding-left: 24px;
8235 8361 border-top: 1px solid #ddd;
8236 8362 z-index: 1;
8237 8363 }
8238 8364 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -8239,28 +8365,18 @@
8239 8365 padding-bottom: 92px;
8240 8366 }
8241 8367
8242 8368 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8243 - -moz-column-count: 2;
8244 - column-count: 2;
8245 - -moz-column-gap: 24px;
8246 - column-gap: 24px;
8369 + column-count: 2;
8370 + column-gap: 24px;
8247 8371 }
8248 8372 @media (min-width: 782px) {
8249 8373 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8250 - -moz-column-count: 3;
8251 - column-count: 3;
8374 + columns: 4 220px;
8252 8375 }
8253 8376 }
8254 -@media (min-width: 1280px) {
8255 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8256 - -moz-column-count: 4;
8257 - column-count: 4;
8258 - }
8259 -}
8260 8377 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8261 - -moz-column-break-inside: avoid;
8262 - break-inside: avoid-column;
8378 + break-inside: avoid-column;
8263 8379 }
8264 8380 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title {
8265 8381 display: none;
8266 8382 }
@@ -8311,13 +8427,8 @@
8311 8427 }
8312 8428 .editor-style-book.is-button {
8313 8429 border-radius: 8px;
8314 8430 }
8315 -.editor-style-book {
8316 - display: flex;
8317 - flex-direction: column;
8318 - align-items: stretch;
8319 -}
8320 8431
8321 8432 .editor-style-book__iframe {
8322 8433 display: block;
8323 8434 height: 100%;
@@ -8330,8 +8441,14 @@
8330 8441 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
8331 8442 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
8332 8443 }
8333 8444
8445 +.editor-style-book__tabs {
8446 + height: 100%;
8447 + display: flex;
8448 + flex-direction: column;
8449 +}
8450 +
8334 8451 .editor-style-book__tablist-container {
8335 8452 flex: none;
8336 8453 display: flex;
8337 8454 width: 100%;
@@ -8345,9 +8462,9 @@
8345 8462 }
8346 8463
8347 8464 .editor-styles-canvas {
8348 8465 height: 100%;
8349 - padding: 16px;
8466 + padding: 24px;
8350 8467 background-color: var(--wp-editor-canvas-background);
8351 8468 }
8352 8469 .editor-styles-canvas iframe {
8353 8470 display: block;
@@ -8353,12 +8470,14 @@
8353 8470 display: block;
8354 8471 width: 100%;
8355 8472 height: 100%;
8356 8473 }
8474 +.editor-styles-canvas.is-preview-mode {
8475 + padding: 0;
8476 +}
8357 8477
8358 8478 .editor-styles-canvas__section {
8359 8479 background: #fff;
8360 - border-radius: 8px;
8361 8480 bottom: 0;
8362 8481 right: 0;
8363 8482 overflow: hidden;
8364 8483 position: absolute;
@@ -8444,9 +8563,9 @@
8444 8563 .table-of-contents__title {
8445 8564 display: block;
8446 8565 margin-top: 20px;
8447 8566 font-size: 15px;
8448 - font-weight: 600;
8567 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8449 8568 }
8450 8569
8451 8570 .editor-text-editor {
8452 8571 box-sizing: border-box;
@@ -8468,9 +8587,9 @@
8468 8587 max-width: none;
8469 8588 line-height: 1.4;
8470 8589 font-family: Menlo, Consolas, monaco, monospace;
8471 8590 font-size: 2.5em;
8472 - font-weight: normal;
8591 + font-weight: 400;
8473 8592 border: 1px solid #949494;
8474 8593 border-radius: 0;
8475 8594 padding: 16px;
8476 8595 }
@@ -8547,8 +8666,9 @@
8547 8666
8548 8667 .editor-visual-editor {
8549 8668 position: relative;
8550 8669 display: flex;
8670 + max-height: 100%;
8551 8671 background-color: var(--wp-editor-canvas-background);
8552 8672 }
8553 8673 .editor-visual-editor iframe[name=editor-canvas] {
8554 8674 background-color: transparent;
@@ -8553,21 +8673,30 @@
8553 8673 .editor-visual-editor iframe[name=editor-canvas] {
8554 8674 background-color: transparent;
8555 8675 }
8556 8676 .editor-visual-editor {
8677 + flex-direction: column;
8557 8678 align-items: center;
8679 + justify-content: center;
8558 8680 }
8559 -.editor-visual-editor.is-resizable {
8560 - max-height: 100%;
8681 +@media (prefers-reduced-motion: no-preference) {
8682 + .editor-visual-editor {
8683 + transition: padding 0.2s ease-out;
8684 + }
8561 8685 }
8562 -.editor-visual-editor.has-padding {
8563 - padding: 24px 24px 0;
8686 +.editor-visual-editor.has-vertical-padding {
8687 + padding-top: 24px;
8688 + padding-bottom: 24px;
8564 8689 }
8565 -.editor-visual-editor.is-iframed {
8690 +.editor-visual-editor.has-horizontal-padding {
8691 + padding-right: 24px;
8692 + padding-left: 24px;
8693 +}
8694 +.editor-visual-editor {
8566 8695 overflow: hidden;
8567 8696 }
8568 8697 .editor-visual-editor .components-button {
8569 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8698 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8570 8699 font-size: 13px;
8571 8700 padding: 6px 12px;
8572 8701 }
8573 8702 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -8596,5 +8725,29 @@
8596 8725
8597 8726 .editor-push-changes-to-global-styles-control .components-button {
8598 8727 justify-content: center;
8599 8728 width: 100%;
8729 +}
8730 +
8731 +.editor-push-changes-to-global-styles-modal p {
8732 + margin-top: 0;
8733 +}
8734 +
8735 +.editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8736 + overflow-x: hidden;
8737 +}
8738 +@media (max-width: 600px) {
8739 + .editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8740 + overflow-x: auto;
8741 + }
8742 +}
8743 +.editor-push-changes-to-global-styles-modal .components-modal__content {
8744 + padding-bottom: 0;
8745 +}
8746 +.editor-push-changes-to-global-styles-modal .dataviews-footer {
8747 + padding-bottom: 24px;
8748 +}
8749 +
8750 +.editor-push-changes-to-global-styles-modal__value {
8751 + color: #1e1e1e;
8752 + overflow-wrap: anywhere;
8600 8753 }