PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
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.css +1623 -1012 23.2.1 → trunk 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-left: 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 + left: 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-left: 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 - left: 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 - left: 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 12px 4px 40px;
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 12px 12px 40px;
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: left;
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-right: 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: left;
972 913 line-height: 1.4;
973 - margin-left: 12px;
914 + margin: 0 0 0 12px;
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 - left: -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-left: 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;
@@ -1173,9 +1107,9 @@
1173 1107 /*rtl:end:ignore*/
1174 1108 background-size: 16px 16px;
1175 1109 }
1176 1110
1177 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1111 +.global-styles-ui__shadow-preview-block {
1178 1112 border: #ddd 1px solid;
1179 1113 border-radius: 2px;
1180 1114 background-color: #fff;
1181 1115 width: 60%;
@@ -1181,22 +1115,44 @@
1181 1115 width: 60%;
1182 1116 height: 60px;
1183 1117 }
1184 1118
1185 -.global-styles-ui__shadow-editor__dropdown-content {
1119 +.global-styles-ui__text-shadow-preview-panel {
1120 + margin-block: -8px 16px;
1121 +}
1122 +
1123 +.global-styles-ui__text-shadow-preview-text {
1124 + font-size: 24px;
1125 +}
1126 +
1127 +.global-styles-ui__text-shadow-editor__header {
1128 + margin-block-end: 8px;
1129 +}
1130 +
1131 +.global-styles-ui__text-shadow-editor__inputs {
1132 + display: grid;
1133 + grid-template-columns: repeat(2, 1fr);
1134 + gap: 16px;
1135 +}
1136 +
1137 +.global-styles-ui__shadow-editor__dropdown-content,
1138 +.global-styles-ui__text-shadow-editor__dropdown-content {
1186 1139 width: 280px;
1187 1140 }
1188 1141
1189 -.global-styles-ui__shadow-editor-panel {
1142 +.global-styles-ui__shadow-editor-panel,
1143 +.global-styles-ui__text-shadow-editor-panel {
1190 1144 margin-bottom: 4px;
1191 1145 }
1192 1146
1193 -.global-styles-ui__shadow-editor__dropdown {
1147 +.global-styles-ui__shadow-editor__dropdown,
1148 +.global-styles-ui__text-shadow-editor__dropdown {
1194 1149 width: 100%;
1195 1150 position: relative;
1196 1151 }
1197 1152
1198 -.global-styles-ui__shadow-editor__dropdown-toggle {
1153 +.global-styles-ui__shadow-editor__dropdown-toggle,
1154 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1199 1155 width: 100%;
1200 1156 height: auto;
1201 1157 padding-top: 8px;
1202 1158 padding-bottom: 8px;
@@ -1203,14 +1159,16 @@
1203 1159 text-align: left;
1204 1160 border-radius: inherit;
1205 1161 }
1206 1162
1207 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1163 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1164 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1208 1165 background: #f0f0f0;
1209 1166 color: var(--wp-admin-theme-color);
1210 1167 }
1211 1168
1212 -.global-styles-ui__shadow-editor__remove-button {
1169 +.global-styles-ui__shadow-editor__remove-button,
1170 +.global-styles-ui__text-shadow-editor__remove-button {
1213 1171 position: absolute;
1214 1172 right: 8px;
1215 1173 top: 8px;
1216 1174 opacity: 0;
@@ -1215,18 +1173,19 @@
1215 1173 top: 8px;
1216 1174 opacity: 0;
1217 1175 }
1218 1176
1219 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1220 - border: none;
1221 -}
1222 -
1223 -.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 {
1177 +.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,
1178 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1179 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1180 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1181 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1224 1182 opacity: 1;
1225 1183 }
1226 1184
1227 1185 @media (hover: none) {
1228 - .global-styles-ui__shadow-editor__remove-button {
1186 + .global-styles-ui__shadow-editor__remove-button,
1187 + .global-styles-ui__text-shadow-editor__remove-button {
1229 1188 opacity: 1;
1230 1189 }
1231 1190 }
1232 1191 .global-styles-ui-screen-css {
@@ -1235,28 +1194,26 @@
1235 1194 flex-direction: column;
1236 1195 margin: 16px;
1237 1196 }
1238 1197
1239 -.global-styles-ui-screen-css .components-v-stack {
1198 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel {
1240 1199 flex: 1 1 auto;
1241 1200 }
1242 1201
1243 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
1202 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input {
1244 1203 flex: 1 1 auto;
1245 1204 display: flex;
1246 1205 flex-direction: column;
1247 1206 }
1248 1207
1249 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1208 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1250 1209 flex: 1 1 auto;
1251 1210 display: flex;
1252 1211 flex-direction: column;
1253 1212 }
1254 1213
1255 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
1214 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea {
1256 1215 flex: 1 1 auto;
1257 - /*rtl:ignore*/
1258 - direction: ltr;
1259 1216 }
1260 1217
1261 1218 .global-styles-ui-screen-css-help-link {
1262 1219 display: inline-block;
@@ -1281,8 +1238,16 @@
1281 1238 flex-direction: column;
1282 1239 height: 100%;
1283 1240 }
1284 1241
1242 +.global-styles-ui-color-palette__tablist-container {
1243 + border-bottom: 1px solid #ddd;
1244 +}
1245 +
1246 +.global-styles-ui-color-palette__tablist {
1247 + margin-bottom: -1px;
1248 +}
1249 +
1285 1250 .global-styles-ui-sidebar__navigator-screen .single-column {
1286 1251 grid-column: span 1;
1287 1252 }
1288 1253
@@ -1304,14 +1269,15 @@
1304 1269 clip-path: border-box;
1305 1270 }
1306 1271
1307 1272 .global-styles-ui-color-palette-panel,
1308 -.global-styles-ui-gradient-palette-panel {
1273 +.global-styles-ui-gradient-palette-panel,
1274 +.global-styles-ui-duotone-palette-panel {
1309 1275 padding: 16px;
1310 1276 }
1311 1277
1312 1278 /**
1313 - * Colors
1279 + * Typography
1314 1280 */
1315 1281 /**
1316 1282 * SCSS Variables.
1317 1283 *
@@ -1319,8 +1285,11 @@
1319 1285 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
1320 1286 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
1321 1287 */
1322 1288 /**
1289 + * Colors
1290 + */
1291 +/**
1323 1292 * Fonts & basic variables.
1324 1293 */
1325 1294 /**
1326 1295 * Typography
@@ -1354,11 +1323,8 @@
1354 1323 * React Native specific.
1355 1324 * These variables do not appear to be used anywhere else.
1356 1325 */
1357 1326 /**
1358 - * Typography
1359 - */
1360 -/**
1361 1327 * Breakpoints & Media Queries
1362 1328 */
1363 1329 /**
1364 1330 * Converts a hex value into the rgb equivalent.
@@ -1378,8 +1344,14 @@
1378 1344 /**
1379 1345 * Focus styles.
1380 1346 */
1381 1347 /**
1348 + * Standard focus rings for the WordPress Design System.
1349 + *
1350 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
1351 + * e.g. `&:focus { @include outset-ring__focus(); }`.
1352 + */
1353 +/**
1382 1354 * Applies editor left position to the selector passed as argument
1383 1355 */
1384 1356 /**
1385 1357 * Styles that are reused verbatim in a few places
@@ -1400,23 +1372,24 @@
1400 1372 */
1401 1373 .dataviews-wrapper,
1402 1374 .dataviews-picker-wrapper {
1403 1375 height: 100%;
1376 + flex-grow: 1;
1377 + min-height: 0;
1404 1378 box-sizing: border-box;
1405 1379 scroll-padding-bottom: 64px;
1406 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1407 1380 container: dataviews-wrapper/inline-size;
1408 1381 display: flex;
1409 1382 flex-direction: column;
1410 - font-size: 13px;
1411 - line-height: 1.4;
1412 - background-color: var(--wp-dataviews-color-background, #fff);
1383 + font-size: var(--wpds-typography-font-size-md, 13px);
1384 + line-height: var(--wpds-typography-line-height-sm, 20px);
1385 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
1413 1386 }
1414 1387
1415 1388 .dataviews__view-actions,
1416 1389 .dataviews-filters__container {
1417 1390 box-sizing: border-box;
1418 - padding: 16px 24px;
1391 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
1419 1392 flex-shrink: 0;
1420 1393 position: sticky;
1421 1394 left: 0;
1422 1395 background-color: inherit;
@@ -1427,11 +1400,19 @@
1427 1400 .dataviews-filters__container {
1428 1401 transition: padding ease-out 0.1s;
1429 1402 }
1430 1403 }
1404 +.dataviews__search {
1405 + flex-grow: 1;
1406 +}
1407 +
1408 +.dataviews__search .dataviews-search {
1409 + flex-basis: 210px;
1410 +}
1411 +
1431 1412 .dataviews-no-results,
1432 1413 .dataviews-loading {
1433 - padding: 0 24px;
1414 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1434 1415 flex-grow: 1;
1435 1416 display: flex;
1436 1417 align-items: center;
1437 1418 justify-content: center;
@@ -1465,18 +1446,22 @@
1465 1446 .dataviews-loading-more {
1466 1447 text-align: center;
1467 1448 }
1468 1449
1450 +.dataviews-loading-more[aria-hidden=true] {
1451 + visibility: hidden;
1452 +}
1453 +
1469 1454 @container (max-width: 430px) {
1470 1455 .dataviews__view-actions,
1471 1456 .dataviews-filters__container {
1472 - padding: 12px 24px;
1457 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1473 1458 }
1474 1459 }
1475 1460 .dataviews-title-field {
1476 - font-size: 13px;
1477 - font-weight: 499;
1478 - color: #2f2f2f;
1461 + font-size: var(--wpds-typography-font-size-md, 13px);
1462 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1463 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1479 1464 text-overflow: ellipsis;
1480 1465 white-space: nowrap;
1481 1466 width: 100%;
1482 1467 }
@@ -1487,13 +1472,13 @@
1487 1472 white-space: nowrap;
1488 1473 overflow: hidden;
1489 1474 display: block;
1490 1475 flex-grow: 0;
1491 - color: #2f2f2f;
1476 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1492 1477 }
1493 1478
1494 1479 .dataviews-title-field a:hover {
1495 - color: var(--wp-admin-theme-color);
1480 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1496 1481 }
1497 1482
1498 1483 .dataviews-title-field a:focus {
1499 1484 color: var(--wp-admin-theme-color--rgb);
@@ -1508,22 +1493,22 @@
1508 1493 white-space: nowrap;
1509 1494 overflow: hidden;
1510 1495 display: block;
1511 1496 width: 100%;
1512 - color: #1e1e1e;
1497 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1513 1498 }
1514 1499
1515 1500 .dataviews-title-field button.components-button.is-link:hover {
1516 - color: var(--wp-admin-theme-color);
1501 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1517 1502 }
1518 1503
1519 1504 .dataviews-title-field--clickable {
1520 1505 cursor: var(--wpds-cursor-control, pointer);
1521 - color: #2f2f2f;
1506 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1522 1507 }
1523 1508
1524 1509 .dataviews-title-field--clickable:hover {
1525 - color: var(--wp-admin-theme-color);
1510 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1526 1511 }
1527 1512
1528 1513 .dataviews-title-field--clickable:focus {
1529 1514 color: var(--wp-admin-theme-color--rgb);
@@ -1537,15 +1522,24 @@
1537 1522 z-index: 2;
1538 1523 background-color: #fff;
1539 1524 }
1540 1525
1526 +/**
1527 + * When DataViews are placed within cards, apply a consistent top padding.
1528 + */
1529 +.components-card__body:has(> .dataviews-wrapper),
1530 +.components-card__body:has(> .dataviews-picker-wrapper) {
1531 + padding: var(--wpds-dimension-padding-sm, 8px) 0 0;
1532 + overflow: hidden;
1533 +}
1534 +
1541 1535 .dataviews-bulk-actions-footer__item-count {
1542 - color: #1e1e1e;
1536 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1543 1537 }
1544 1538
1545 1539 .dataviews-bulk-actions-footer__container {
1546 1540 margin-right: auto;
1547 - min-height: 32px;
1541 + min-height: var(--wpds-dimension-size-md, 32px);
1548 1542 }
1549 1543
1550 1544 .dataviews-layout__container {
1551 1545 flex: 1;
@@ -1572,10 +1566,10 @@
1572 1566 opacity: 1;
1573 1567 }
1574 1568
1575 1569 .dataviews-filters__summary-popover {
1576 - font-size: 13px;
1577 - line-height: 1.4;
1570 + font-size: var(--wpds-typography-font-size-md, 13px);
1571 + line-height: var(--wpds-typography-line-height-sm, 20px);
1578 1572 }
1579 1573
1580 1574 .dataviews-filters__summary-popover .components-popover__content {
1581 1575 width: 100%;
@@ -1580,9 +1574,9 @@
1580 1574 .dataviews-filters__summary-popover .components-popover__content {
1581 1575 width: 100%;
1582 1576 min-width: 230px;
1583 1577 max-width: 250px;
1584 - border-radius: 4px;
1578 + border-radius: var(--wpds-border-radius-md, 4px);
1585 1579 }
1586 1580
1587 1581 .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
1588 1582 padding: 0;
@@ -1588,13 +1582,13 @@
1588 1582 padding: 0;
1589 1583 }
1590 1584
1591 1585 .dataviews-filters__summary-operators-container {
1592 - padding: 8px 16px;
1586 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-lg, 16px);
1593 1587 }
1594 1588
1595 1589 .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-no-elements), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__user-input-widget) {
1596 - border-bottom: 1px solid #e0e0e0;
1590 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1597 1591 }
1598 1592
1599 1593 .dataviews-filters__summary-operators-container:empty {
1600 1594 display: none;
@@ -1600,9 +1594,9 @@
1600 1594 display: none;
1601 1595 }
1602 1596
1603 1597 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1604 - color: #757575;
1598 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1605 1599 white-space: nowrap;
1606 1600 overflow: hidden;
1607 1601 text-overflow: ellipsis;
1608 1602 flex-shrink: 0; /* Prevents this element from shrinking */
@@ -1610,10 +1604,10 @@
1610 1604 }
1611 1605
1612 1606 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1613 1607 width: 100%;
1608 + min-width: 0;
1614 1609 white-space: nowrap;
1615 - overflow: hidden;
1616 1610 }
1617 1611
1618 1612 .dataviews-filters__summary-chip-container {
1619 1613 position: relative;
@@ -1620,15 +1614,14 @@
1620 1614 white-space: pre-wrap;
1621 1615 }
1622 1616
1623 1617 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
1624 - border-radius: 16px;
1625 - border: 1px solid transparent;
1618 + border-radius: var(--wpds-border-radius-lg, 8px);
1619 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1626 1620 cursor: var(--wpds-cursor-control, pointer);
1627 - padding: 4px 12px;
1628 - min-height: 32px;
1629 - background: #f0f0f0;
1630 - color: #2f2f2f;
1621 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1622 + min-height: var(--wpds-dimension-size-md, 32px);
1623 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1631 1624 position: relative;
1632 1625 display: flex;
1633 1626 align-items: center;
1634 1627 box-sizing: border-box;
@@ -1638,42 +1631,46 @@
1638 1631 cursor: default;
1639 1632 }
1640 1633
1641 1634 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1642 - padding-inline-end: 28px;
1635 + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px));
1643 1636 }
1644 1637
1645 1638 .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] {
1646 - background: #e0e0e0;
1647 - color: #1e1e1e;
1639 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1640 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1641 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1648 1642 }
1649 1643
1650 1644 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1651 - color: var(--wp-admin-theme-color);
1652 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1645 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1646 + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1647 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1653 1648 }
1654 1649
1655 -.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1656 - background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
1650 +.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] {
1651 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1652 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1653 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1657 1654 }
1658 1655
1659 1656 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1660 1657 outline: none;
1661 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1658 + 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));
1662 1659 }
1663 1660
1664 1661 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1665 - font-weight: 499;
1662 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1666 1663 }
1667 1664
1668 1665 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1669 - width: 24px;
1670 - height: 24px;
1671 - border-radius: 50%;
1666 + width: var(--wpds-dimension-size-sm, 24px);
1667 + height: var(--wpds-dimension-size-sm, 24px);
1668 + border-radius: var(--wpds-border-radius-md, 4px);
1672 1669 border: 0;
1673 1670 padding: 0;
1674 1671 position: absolute;
1675 - right: 4px;
1672 + right: var(--wpds-dimension-padding-xs, 4px);
1676 1673 top: 50%;
1677 1674 transform: translateY(-50%);
1678 1675 display: flex;
1679 1676 align-items: center;
@@ -1682,45 +1679,45 @@
1682 1679 cursor: var(--wpds-cursor-control, pointer);
1683 1680 }
1684 1681
1685 1682 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1686 - fill: #757575;
1683 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1687 1684 }
1688 1685
1689 1686 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1690 - background: #e0e0e0;
1687 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1691 1688 }
1692 1689
1693 1690 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1694 - fill: #1e1e1e;
1691 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1695 1692 }
1696 1693
1697 1694 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1698 - fill: var(--wp-admin-theme-color);
1695 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1699 1696 }
1700 1697
1701 1698 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1702 - background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
1699 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1703 1700 }
1704 1701
1705 1702 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1706 1703 outline: none;
1707 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1704 + 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));
1708 1705 }
1709 1706
1710 1707 .dataviews-filters__search-widget-filter-combobox-list {
1711 1708 max-height: 184px;
1712 - padding: 4px;
1709 + padding: var(--wpds-dimension-padding-xs, 4px);
1713 1710 overflow: auto;
1714 - border-top: 1px solid #e0e0e0;
1711 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1715 1712 }
1716 1713
1717 1714 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1718 - font-weight: 600;
1715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1719 1716 }
1720 1717
1721 1718 .dataviews-filters__search-widget-listbox {
1722 - padding: 4px;
1719 + padding: var(--wpds-dimension-padding-xs, 4px);
1723 1720 overflow: auto;
1724 1721 }
1725 1722
1726 1723 .dataviews-filters__search-widget-listitem {
@@ -1725,18 +1722,19 @@
1725 1722
1726 1723 .dataviews-filters__search-widget-listitem {
1727 1724 display: flex;
1728 1725 align-items: center;
1729 - gap: 8px;
1730 - border-radius: 2px;
1726 + gap: var(--wpds-dimension-gap-md, 12px);
1727 + border-radius: var(--wpds-border-radius-sm, 2px);
1731 1728 box-sizing: border-box;
1732 - padding: 4px 12px;
1729 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1733 1730 cursor: default;
1734 - min-height: 32px;
1735 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1736 - font-weight: 400;
1731 + min-height: var(--wpds-dimension-size-md, 32px);
1732 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1733 + font-weight: var(--wpds-typography-font-weight-default, 400);
1737 1734 font-size: 13px;
1738 1735 line-height: 20px;
1736 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1739 1737 }
1740 1738
1741 1739 .dataviews-filters__search-widget-listitem:last-child {
1742 1740 margin-block-end: 0;
@@ -1742,35 +1740,37 @@
1742 1740 margin-block-end: 0;
1743 1741 }
1744 1742
1745 1743 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1746 - background-color: var(--wp-admin-theme-color);
1747 - color: #fff;
1744 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1745 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1748 1746 }
1749 1747
1750 -.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 {
1751 - color: #fff;
1752 -}
1753 -
1754 1748 .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 {
1755 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1756 - background: #fff;
1749 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1750 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
1757 1751 }
1758 1752
1759 1753 .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 {
1760 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1761 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1754 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1755 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1762 1756 }
1763 1757
1764 1758 .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 {
1765 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1759 + /* 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. */
1760 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1761 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1766 1762 }
1767 1763
1768 1764 .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 {
1769 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1770 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1765 + 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-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1771 1767 }
1772 1768
1769 +.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 {
1770 + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
1771 +}
1772 +
1773 1773 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1774 1774 overflow: hidden;
1775 1775 text-overflow: ellipsis;
1776 1776 white-space: nowrap;
@@ -1780,11 +1780,11 @@
1780 1780 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
1781 1781 display: block;
1782 1782 overflow: hidden;
1783 1783 text-overflow: ellipsis;
1784 - font-size: 12px;
1784 + font-size: var(--wpds-typography-font-size-sm, 12px);
1785 1785 line-height: 16px;
1786 - color: #757575;
1786 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1787 1787 }
1788 1788
1789 1789 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1790 1790 border: 1px solid #1e1e1e;
@@ -1845,10 +1845,10 @@
1845 1845 padding: 0;
1846 1846 }
1847 1847
1848 1848 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1849 - background: var(--wp-admin-theme-color, #3858e9);
1850 - border-color: var(--wp-admin-theme-color, #3858e9);
1849 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1850 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1851 1851 }
1852 1852
1853 1853 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
1854 1854 content: "";
@@ -1860,10 +1860,10 @@
1860 1860 top: 50%;
1861 1861 left: 50%;
1862 1862 transform: translate(-50%, -50%);
1863 1863 margin: 0;
1864 - background-color: #fff;
1865 - border: 4px solid #fff;
1864 + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
1865 + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff);
1866 1866 }
1867 1867
1868 1868 @media (min-width: 600px) {
1869 1869 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -1873,28 +1873,22 @@
1873 1873 }
1874 1874 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1875 1875 --checkbox-size: 24px;
1876 1876 flex-shrink: 0;
1877 - border: 1px solid #1e1e1e;
1877 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1878 1878 margin-right: 12px;
1879 1879 transition: none;
1880 1880 border-radius: 2px;
1881 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1881 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1882 1882 padding: 6px 8px;
1883 1883 /* Fonts smaller than 16px causes mobile safari to zoom. */
1884 1884 font-size: 16px;
1885 1885 /* Override core line-height. To be reviewed. */
1886 1886 line-height: normal;
1887 - box-shadow: 0 0 0 transparent;
1888 - border-radius: 2px;
1889 - border: 1px solid #949494;
1887 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1888 + border-radius: var(--wpds-border-radius-sm, 2px);
1890 1889 }
1891 1890
1892 -@media not (prefers-reduced-motion) {
1893 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1894 - transition: box-shadow 0.1s linear;
1895 - }
1896 -}
1897 1891 @media (min-width: 600px) {
1898 1892 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1899 1893 font-size: 13px;
1900 1894 /* Override core line-height. To be reviewed. */
@@ -1900,12 +1894,17 @@
1900 1894 /* Override core line-height. To be reviewed. */
1901 1895 line-height: normal;
1902 1896 }
1903 1897 }
1898 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1899 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1900 +}
1901 +
1904 1902 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1905 - border-color: var(--wp-admin-theme-color);
1906 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1907 - outline: 2px solid transparent;
1903 + 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)));
1904 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1905 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1906 + box-shadow: none;
1908 1907 }
1909 1908
1910 1909 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1911 1910 color: rgba(30, 30, 30, 0.62);
@@ -1910,8 +1909,12 @@
1910 1909 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1911 1910 color: rgba(30, 30, 30, 0.62);
1912 1911 }
1913 1912
1913 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1914 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1915 +}
1916 +
1914 1917 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1915 1918 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
1916 1919 outline: 2px solid transparent;
1917 1920 }
@@ -1942,9 +1945,9 @@
1942 1945 display: inline-block;
1943 1946 vertical-align: middle;
1944 1947 width: 16px;
1945 1948 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1946 - font: normal 30px/1 dashicons;
1949 + font: 400 30px/1 dashicons;
1947 1950 speak: none;
1948 1951 -webkit-font-smoothing: antialiased;
1949 1952 -moz-osx-font-smoothing: grayscale;
1950 1953 }
@@ -1955,18 +1958,24 @@
1955 1958 font-size: 21px;
1956 1959 }
1957 1960 }
1958 1961 .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 {
1959 - background: #f0f0f0;
1960 - border-color: #ddd;
1962 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1963 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1964 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1961 1965 cursor: default;
1962 1966 opacity: 1;
1963 1967 }
1964 1968
1969 +.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 {
1970 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1971 +}
1972 +
1965 1973 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1966 1974 position: relative;
1967 - background: #fff;
1968 - color: #1e1e1e;
1975 + /* 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. */
1976 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1977 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1969 1978 margin: 0;
1970 1979 padding: 0;
1971 1980 width: var(--checkbox-size);
1972 1981 height: var(--checkbox-size);
@@ -1982,15 +1991,15 @@
1982 1991 transition: 0.1s border-color ease-in-out;
1983 1992 }
1984 1993 }
1985 1994 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1986 - background: var(--wp-admin-theme-color, #3858e9);
1987 - border-color: var(--wp-admin-theme-color, #3858e9);
1995 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1996 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1988 1997 }
1989 1998
1990 1999 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
1991 2000 --checkmark-size: var(--checkbox-size);
1992 - fill: #fff;
2001 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
1993 2002 position: absolute;
1994 2003 left: 50%;
1995 2004 top: 50%;
1996 2005 transform: translate(-50%, -50%);
@@ -2004,28 +2013,22 @@
2004 2013 }
2005 2014 }
2006 2015 .dataviews-filters__search-widget-filter-combobox__wrapper {
2007 2016 position: relative;
2008 - padding: 8px;
2017 + padding: var(--wpds-dimension-padding-sm, 8px);
2009 2018 }
2010 2019
2011 2020 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2012 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2021 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2013 2022 padding: 6px 8px;
2014 2023 /* Fonts smaller than 16px causes mobile safari to zoom. */
2015 2024 font-size: 16px;
2016 2025 /* Override core line-height. To be reviewed. */
2017 2026 line-height: normal;
2018 - box-shadow: 0 0 0 transparent;
2019 - border-radius: 2px;
2020 - border: 1px solid #949494;
2027 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2028 + border-radius: var(--wpds-border-radius-sm, 2px);
2021 2029 }
2022 2030
2023 -@media not (prefers-reduced-motion) {
2024 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2025 - transition: box-shadow 0.1s linear;
2026 - }
2027 -}
2028 2031 @media (min-width: 600px) {
2029 2032 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2030 2033 font-size: 13px;
2031 2034 /* Override core line-height. To be reviewed. */
@@ -2031,12 +2034,17 @@
2031 2034 /* Override core line-height. To be reviewed. */
2032 2035 line-height: normal;
2033 2036 }
2034 2037 }
2038 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2039 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2040 +}
2041 +
2035 2042 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2036 - border-color: var(--wp-admin-theme-color);
2037 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2038 - outline: 2px solid transparent;
2043 + 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)));
2044 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2045 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2046 + box-shadow: none;
2039 2047 }
2040 2048
2041 2049 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2042 2050 color: rgba(30, 30, 30, 0.62);
@@ -2043,11 +2051,11 @@
2043 2051 }
2044 2052
2045 2053 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2046 2054 display: block;
2047 - padding: 0 8px 0 32px;
2055 + padding: 0 var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-size-md, 32px);
2048 2056 width: 100%;
2049 - height: 32px;
2057 + height: var(--wpds-dimension-size-md, 32px);
2050 2058 margin-left: 0;
2051 2059 margin-right: 0;
2052 2060 /* Fonts smaller than 16px causes mobile safari to zoom. */
2053 2061 font-size: 16px;
@@ -2054,18 +2062,17 @@
2054 2062 }
2055 2063
2056 2064 @media (min-width: 600px) {
2057 2065 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2058 - font-size: 13px;
2066 + font-size: var(--wpds-typography-font-size-md, 13px);
2059 2067 }
2060 2068 }
2061 2069 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2062 - background: #fff;
2063 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2070 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
2064 2071 }
2065 2072
2066 2073 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2067 - color: #757575;
2074 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2068 2075 }
2069 2076
2070 2077 .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 {
2071 2078 -webkit-appearance: none;
@@ -2072,15 +2079,15 @@
2072 2079 }
2073 2080
2074 2081 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
2075 2082 position: absolute;
2076 - inset-inline-start: 12px;
2083 + inset-inline-start: var(--wpds-dimension-gap-md, 12px);
2077 2084 top: 0;
2078 2085 bottom: 0;
2079 2086 display: flex;
2080 2087 align-items: center;
2081 2088 justify-content: center;
2082 - width: 24px;
2089 + width: var(--wpds-dimension-size-sm, 24px);
2083 2090 }
2084 2091
2085 2092 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2086 2093 transform: scaleX(-1);
@@ -2095,31 +2102,27 @@
2095 2102 position: absolute;
2096 2103 top: 0;
2097 2104 right: 0;
2098 2105 transform: translate(50%, -50%);
2099 - background: var(--wp-admin-theme-color, #3858e9);
2100 - height: 16px;
2101 - min-width: 16px;
2102 - line-height: 16px;
2103 - padding: 0 4px;
2106 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2107 + height: var(--wpds-dimension-size-2xs, 16px);
2108 + min-width: var(--wpds-dimension-size-2xs, 16px);
2109 + line-height: var(--wpds-typography-line-height-xs, 16px);
2110 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2104 2111 text-align: center;
2105 - border-radius: 8px;
2112 + border-radius: var(--wpds-border-radius-lg, 8px);
2106 2113 font-size: 11px;
2107 - outline: var(--wp-admin-border-width-focus) solid #fff;
2108 - color: #fff;
2114 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff);
2115 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2109 2116 box-sizing: border-box;
2110 2117 }
2111 2118
2112 -.dataviews-search {
2113 - width: fit-content;
2114 -}
2115 -
2116 2119 .dataviews-filters__user-input-widget {
2117 - padding: 16px;
2120 + padding: var(--wpds-dimension-padding-lg, 16px);
2118 2121 }
2119 2122
2120 2123 .dataviews-filters__user-input-widget .components-input-control__prefix {
2121 - padding-left: 8px;
2124 + padding-left: var(--wpds-dimension-padding-sm, 8px);
2122 2125 }
2123 2126
2124 2127 .dataviews-filters__search-widget-no-elements {
2125 2128 display: flex;
@@ -2124,9 +2127,9 @@
2124 2127 .dataviews-filters__search-widget-no-elements {
2125 2128 display: flex;
2126 2129 align-items: center;
2127 2130 justify-content: center;
2128 - padding: 16px;
2131 + padding: var(--wpds-dimension-padding-lg, 16px);
2129 2132 }
2130 2133
2131 2134 .dataviews-footer {
2132 2135 position: sticky;
@@ -2132,10 +2135,10 @@
2132 2135 position: sticky;
2133 2136 bottom: 0;
2134 2137 left: 0;
2135 2138 background-color: inherit;
2136 - padding: 12px 24px;
2137 - border-top: 1px solid #f0f0f0;
2139 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
2140 + border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2138 2141 flex-shrink: 0;
2139 2142 }
2140 2143
2141 2144 @media not (prefers-reduced-motion) {
@@ -2143,9 +2146,9 @@
2143 2146 transition: padding ease-out 0.1s;
2144 2147 }
2145 2148 }
2146 2149 .dataviews-footer {
2147 - z-index: 2;
2150 + z-index: 1;
2148 2151 }
2149 2152
2150 2153 .dataviews-footer .is-refreshing {
2151 2154 opacity: 0.5;
@@ -2174,9 +2177,9 @@
2174 2177 }
2175 2178 }
2176 2179 .dataviews-pagination__page-select {
2177 2180 font-size: 11px;
2178 - font-weight: 499;
2181 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2179 2182 text-transform: uppercase;
2180 2183 }
2181 2184
2182 2185 @media (min-width: 600px) {
@@ -2181,9 +2184,9 @@
2181 2184
2182 2185 @media (min-width: 600px) {
2183 2186 .dataviews-pagination__page-select .components-select-control__input {
2184 2187 font-size: 11px !important;
2185 - font-weight: 499;
2188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2186 2189 }
2187 2190 }
2188 2191 .dataviews-action-modal {
2189 2192 z-index: 1000001;
@@ -2189,9 +2192,9 @@
2189 2192 z-index: 1000001;
2190 2193 }
2191 2194
2192 2195 .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2193 - padding: 0 4px;
2196 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2194 2197 }
2195 2198
2196 2199 .dataviews-selection-checkbox {
2197 2200 --checkbox-input-size: 24px;
@@ -2212,12 +2215,11 @@
2212 2215 }
2213 2216
2214 2217 .dataviews-view-config {
2215 2218 width: 320px;
2216 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2217 2219 container-type: inline-size;
2218 - font-size: 13px;
2219 - line-height: 1.4;
2220 + font-size: var(--wpds-typography-font-size-md, 13px);
2221 + line-height: var(--wpds-typography-line-height-sm, 20px);
2220 2222 }
2221 2223
2222 2224 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
2223 2225 overflow-y: scroll;
@@ -2232,9 +2234,9 @@
2232 2234 text-transform: uppercase;
2233 2235 }
2234 2236
2235 2237 .dataviews-settings-section__title.dataviews-settings-section__title {
2236 - line-height: 24px;
2238 + line-height: var(--wpds-typography-line-height-md, 24px);
2237 2239 font-size: 15px;
2238 2240 }
2239 2241
2240 2242 .dataviews-settings-section__sidebar {
@@ -2283,13 +2285,13 @@
2283 2285 }
2284 2286
2285 2287 .dataviews-view-config__modified-indicator {
2286 2288 position: absolute;
2287 - top: 4px;
2288 - right: 4px;
2289 - width: 4px;
2290 - height: 4px;
2291 - background: var(--wp-admin-theme-color, #3858e9);
2289 + top: var(--wpds-dimension-gap-xs, 4px);
2290 + right: var(--wpds-dimension-gap-xs, 4px);
2291 + width: var(--wpds-dimension-gap-xs, 4px);
2292 + height: var(--wpds-dimension-gap-xs, 4px);
2293 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2292 2294 border-radius: 50%;
2293 2295 pointer-events: none;
2294 2296 }
2295 2297
@@ -2295,12 +2297,12 @@
2295 2297
2296 2298 .dataviews-view-grid-items {
2297 2299 margin-bottom: auto;
2298 2300 display: grid;
2299 - gap: 24px;
2301 + gap: var(--wpds-dimension-gap-xl, 24px);
2300 2302 grid-template-rows: max-content;
2301 2303 grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
2302 - padding: 0 24px 24px;
2304 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2303 2305 container-type: inline-size;
2304 2306 }
2305 2307
2306 2308 @media not (prefers-reduced-motion) {
@@ -2308,20 +2310,20 @@
2308 2310 transition: padding ease-out 0.1s;
2309 2311 }
2310 2312 }
2311 2313 .dataviews-view-grid-items.has-compact-density {
2312 - gap: 16px;
2314 + gap: var(--wpds-dimension-gap-lg, 16px);
2313 2315 }
2314 2316
2315 2317 .dataviews-view-grid-items.has-comfortable-density {
2316 - gap: 32px;
2318 + gap: var(--wpds-dimension-gap-2xl, 32px);
2317 2319 }
2318 2320
2319 2321 .dataviews-view-grid {
2320 - padding: 0 24px 24px;
2322 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2321 2323 display: flex;
2322 2324 flex-direction: column;
2323 - gap: 24px;
2325 + gap: var(--wpds-dimension-gap-xl, 24px);
2324 2326 container-type: inline-size;
2325 2327 margin-bottom: auto;
2326 2328 }
2327 2329
@@ -2330,30 +2332,30 @@
2330 2332 transition: padding ease-out 0.1s;
2331 2333 }
2332 2334 }
2333 2335 .dataviews-view-grid.has-compact-density {
2334 - gap: 16px;
2336 + gap: var(--wpds-dimension-gap-lg, 16px);
2335 2337 }
2336 2338
2337 2339 .dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
2338 - gap: 16px;
2340 + gap: var(--wpds-dimension-gap-lg, 16px);
2339 2341 }
2340 2342
2341 2343 .dataviews-view-grid.has-comfortable-density {
2342 - gap: 32px;
2344 + gap: var(--wpds-dimension-gap-2xl, 32px);
2343 2345 }
2344 2346
2345 2347 .dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
2346 - gap: 32px;
2348 + gap: var(--wpds-dimension-gap-2xl, 32px);
2347 2349 }
2348 2350
2349 2351 .dataviews-view-grid .dataviews-view-grid__row {
2350 2352 display: grid;
2351 - gap: 24px;
2353 + gap: var(--wpds-dimension-gap-xl, 24px);
2352 2354 }
2353 2355
2354 2356 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
2355 - border-radius: 4px;
2357 + border-radius: var(--wpds-border-radius-md, 4px);
2356 2358 position: relative;
2357 2359 }
2358 2360
2359 2361 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
@@ -2362,10 +2364,10 @@
2362 2364 top: 0;
2363 2365 left: 0;
2364 2366 width: 100%;
2365 2367 height: 100%;
2366 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2367 - border-radius: 4px;
2368 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2369 + border-radius: var(--wpds-border-radius-md, 4px);
2368 2370 pointer-events: none;
2369 2371 outline: 2px solid transparent;
2370 2372 }
2371 2373
@@ -2373,18 +2375,19 @@
2373 2375 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card {
2374 2376 height: 100%;
2375 2377 justify-content: flex-start;
2376 2378 position: relative;
2379 + isolation: isolate;
2377 2380 }
2378 2381
2379 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title,
2380 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title {
2381 - padding: 8px 0 4px;
2382 +.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions,
2383 +.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-actions {
2384 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
2382 2385 }
2383 2386
2384 2387 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
2385 2388 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
2386 - min-height: 24px;
2389 + min-height: var(--wpds-dimension-size-sm, 24px);
2387 2390 overflow: hidden;
2388 2391 align-content: center;
2389 2392 text-align: start;
2390 2393 }
@@ -2395,34 +2398,27 @@
2395 2398 }
2396 2399
2397 2400 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
2398 2401 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2399 - color: #1e1e1e;
2402 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2400 2403 }
2401 2404
2402 2405 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2403 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2404 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2405 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2406 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2407 -}
2408 -
2409 -.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2410 2406 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2411 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
2407 + 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);
2412 2408 }
2413 2409
2414 2410 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2415 2411 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2416 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2412 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2417 2413 }
2418 2414
2419 2415 .dataviews-view-grid .dataviews-view-grid__media,
2420 2416 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2421 2417 width: 100%;
2422 - aspect-ratio: 1/1;
2423 - background-color: #fff;
2424 - border-radius: 4px;
2418 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2419 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2420 + border-radius: var(--wpds-border-radius-md, 4px);
2425 2421 overflow: hidden;
2426 2422 position: relative;
2427 2423 }
2428 2424
@@ -2445,10 +2441,10 @@
2445 2441 top: 0;
2446 2442 left: 0;
2447 2443 width: 100%;
2448 2444 height: 100%;
2449 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2450 - border-radius: 4px;
2445 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2446 + border-radius: var(--wpds-border-radius-md, 4px);
2451 2447 pointer-events: none;
2452 2448 }
2453 2449
2454 2450 .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder,
@@ -2455,13 +2451,23 @@
2455 2451 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
2456 2452 width: 100%;
2457 2453 height: 100%;
2458 2454 display: block;
2459 - border-radius: 4px;
2455 + border-radius: var(--wpds-border-radius-md, 4px);
2460 2456 box-shadow: none;
2461 - background: #f0f0f0;
2457 + background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2462 2458 }
2463 2459
2460 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2461 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2462 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2463 +}
2464 +
2465 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2466 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2467 + object-fit: contain;
2468 +}
2469 +
2464 2470 .dataviews-view-grid .dataviews-view-grid__fields,
2465 2471 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2466 2472 position: relative;
2467 2473 font-size: 12px;
@@ -2469,21 +2475,21 @@
2469 2475 }
2470 2476
2471 2477 .dataviews-view-grid .dataviews-view-grid__fields:not(:empty),
2472 2478 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields:not(:empty) {
2473 - padding: 0 0 12px;
2479 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
2474 2480 }
2475 2481
2476 2482 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
2477 2483 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2478 - min-height: 24px;
2479 - line-height: 20px;
2480 - padding-top: 2px;
2484 + min-height: var(--wpds-dimension-size-sm, 24px);
2485 + line-height: var(--wpds-typography-line-height-sm, 20px);
2486 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
2481 2487 }
2482 2488
2483 2489 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
2484 2490 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
2485 - min-height: 24px;
2491 + min-height: var(--wpds-dimension-size-sm, 24px);
2486 2492 align-items: center;
2487 2493 }
2488 2494
2489 2495 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
@@ -2488,9 +2494,9 @@
2488 2494
2489 2495 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
2490 2496 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2491 2497 width: 35%;
2492 - color: #757575;
2498 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2493 2499 overflow: hidden;
2494 2500 text-overflow: ellipsis;
2495 2501 white-space: nowrap;
2496 2502 }
@@ -2509,9 +2515,9 @@
2509 2515 }
2510 2516
2511 2517 .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty),
2512 2518 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__badge-fields:not(:empty) {
2513 - padding-bottom: 12px;
2519 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
2514 2520 }
2515 2521
2516 2522 .dataviews-view-grid.is-refreshing,
2517 2523 .dataviews-view-grid-infinite-scroll.is-refreshing {
@@ -2533,9 +2539,9 @@
2533 2539
2534 2540 .dataviews-view-grid__card .dataviews-selection-checkbox {
2535 2541 position: absolute;
2536 2542 top: -9999em;
2537 - left: 8px;
2543 + left: var(--wpds-dimension-padding-sm, 8px);
2538 2544 z-index: 1;
2539 2545 opacity: 0;
2540 2546 }
2541 2547
@@ -2546,9 +2552,9 @@
2546 2552 }
2547 2553 @media (hover: none) {
2548 2554 .dataviews-view-grid__card .dataviews-selection-checkbox {
2549 2555 opacity: 1;
2550 - top: 8px;
2556 + top: var(--wpds-dimension-padding-sm, 8px);
2551 2557 }
2552 2558 }
2553 2559 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2554 2560 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
@@ -2553,21 +2559,21 @@
2553 2559 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2554 2560 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
2555 2561 .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
2556 2562 opacity: 1;
2557 - top: 8px;
2563 + top: var(--wpds-dimension-padding-sm, 8px);
2558 2564 }
2559 2565
2560 2566 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2561 2567 position: absolute;
2562 2568 z-index: 1;
2563 - top: 4px;
2569 + top: var(--wpds-dimension-padding-xs, 4px);
2564 2570 opacity: 0;
2565 - right: 4px;
2571 + right: var(--wpds-dimension-padding-xs, 4px);
2566 2572 }
2567 2573
2568 2574 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2569 - background-color: #fff;
2575 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2570 2576 }
2571 2577
2572 2578 @media not (prefers-reduced-motion) {
2573 2579 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
@@ -2576,9 +2582,9 @@
2576 2582 }
2577 2583 @media (hover: none) {
2578 2584 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2579 2585 opacity: 1;
2580 - top: 4px;
2586 + top: var(--wpds-dimension-padding-xs, 4px);
2581 2587 }
2582 2588 }
2583 2589 .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
2584 2590 .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
@@ -2590,13 +2596,13 @@
2590 2596 cursor: var(--wpds-cursor-control, pointer);
2591 2597 }
2592 2598
2593 2599 .dataviews-view-grid__group-header {
2594 - font-size: 15px;
2595 - font-weight: 499;
2596 - color: #1e1e1e;
2597 - margin: 0 0 8px 0;
2598 - padding: 0 24px;
2600 + font-size: var(--wpds-typography-font-size-lg, 15px);
2601 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2602 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2603 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2604 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2599 2605 container-type: inline-size;
2600 2606 }
2601 2607
2602 2608 div.dataviews-view-list {
@@ -2609,15 +2615,15 @@
2609 2615
2610 2616 .dataviews-view-list div[role=row],
2611 2617 .dataviews-view-list div[role=article] {
2612 2618 margin: 0;
2613 - border-top: 1px solid #f0f0f0;
2619 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2614 2620 }
2615 2621
2616 2622 .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
2617 2623 .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
2618 2624 position: relative;
2619 - padding: 16px 24px;
2625 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
2620 2626 box-sizing: border-box;
2621 2627 }
2622 2628
2623 2629 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
@@ -2624,9 +2630,9 @@
2624 2630 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2625 2631 display: flex;
2626 2632 width: max-content;
2627 2633 flex: 0 0 auto;
2628 - gap: 4px;
2634 + gap: var(--wpds-dimension-gap-xs, 4px);
2629 2635 white-space: nowrap;
2630 2636 }
2631 2637
2632 2638 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
@@ -2636,9 +2642,9 @@
2636 2642 }
2637 2643
2638 2644 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2639 2645 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2640 - height: 24px;
2646 + height: var(--wpds-dimension-size-sm, 24px);
2641 2647 }
2642 2648
2643 2649 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2644 2650 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
@@ -2663,15 +2669,15 @@
2663 2669 }
2664 2670 }
2665 2671 .dataviews-view-list div[role=row].is-selected.is-selected,
2666 2672 .dataviews-view-list div[role=article].is-selected.is-selected {
2667 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2673 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2668 2674 }
2669 2675
2670 2676 .dataviews-view-list div[role=row].is-selected.is-selected + div[role=row], .dataviews-view-list div[role=row].is-selected.is-selected + div[role=article],
2671 2677 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
2672 2678 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
2673 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2679 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2674 2680 }
2675 2681
2676 2682 .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,
2677 2683 .dataviews-view-list div[role=article]:not(.is-selected):hover,
@@ -2676,23 +2682,11 @@
2676 2682 .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,
2677 2683 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2678 2684 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2679 2685 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2680 - color: var(--wp-admin-theme-color);
2681 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2682 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2686 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2683 2687 }
2684 2688
2685 -.dataviews-view-list div[role=row]:not(.is-selected):hover + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected):hover + div[role=article], .dataviews-view-list div[role=row]:not(.is-selected).is-hovered + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected).is-hovered + div[role=article], .dataviews-view-list div[role=row]:not(.is-selected):focus-within + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected):focus-within + div[role=article],
2686 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=row],
2687 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=article],
2688 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=row],
2689 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=article],
2690 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=row],
2691 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=article] {
2692 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2693 -}
2694 -
2695 2689 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2696 2690 .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,
2697 2691 .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-title-field,
2698 2692 .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__field,
@@ -2701,9 +2695,9 @@
2701 2695 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2702 2696 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2703 2697 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2704 2698 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2705 - color: var(--wp-admin-theme-color);
2699 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2706 2700 }
2707 2701
2708 2702 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2709 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2708,10 +2702,10 @@
2708 2702 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2709 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2710 2704 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2711 2705 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2712 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2713 - color: #1e1e1e;
2706 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2707 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2714 2708 }
2715 2709
2716 2710 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2717 2711 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2720,9 +2714,9 @@
2720 2714 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2721 2715 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2722 2716 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2723 2717 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2724 - color: #1e1e1e;
2718 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2725 2719 }
2726 2720
2727 2721 .dataviews-view-list .dataviews-view-list__item {
2728 2722 position: absolute;
@@ -2727,9 +2721,9 @@
2727 2721 .dataviews-view-list .dataviews-view-list__item {
2728 2722 position: absolute;
2729 2723 z-index: 1;
2730 2724 inset: 0;
2731 - scroll-margin: 8px 0;
2725 + scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2732 2726 appearance: none;
2733 2727 border: none;
2734 2728 background: none;
2735 2729 padding: 0;
@@ -2743,17 +2737,17 @@
2743 2737 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2744 2738 position: absolute;
2745 2739 content: "";
2746 2740 inset: var(--wp-admin-border-width-focus);
2747 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2748 - border-radius: 2px;
2741 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2742 + border-radius: var(--wpds-border-radius-sm, 2px);
2749 2743 outline: 2px solid transparent;
2750 2744 }
2751 2745
2752 2746 .dataviews-view-list .dataviews-view-list__title-field {
2753 2747 flex: 1;
2754 - min-height: 24px;
2755 - line-height: 24px;
2748 + min-height: var(--wpds-dimension-size-sm, 24px);
2749 + line-height: var(--wpds-typography-line-height-md, 24px);
2756 2750 overflow: hidden;
2757 2751 }
2758 2752
2759 2753 .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
@@ -2760,15 +2754,15 @@
2760 2754 z-index: 1;
2761 2755 }
2762 2756
2763 2757 .dataviews-view-list .dataviews-view-list__media-wrapper {
2764 - width: 52px;
2765 - height: 52px;
2758 + width: 48px;
2759 + height: 48px;
2766 2760 overflow: hidden;
2767 2761 position: relative;
2768 2762 flex-shrink: 0;
2769 - background-color: #fff;
2770 - border-radius: 4px;
2763 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2764 + border-radius: var(--wpds-border-radius-md, 4px);
2771 2765 }
2772 2766
2773 2767 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2774 2768 width: 100%;
@@ -2782,25 +2776,26 @@
2782 2776 top: 0;
2783 2777 left: 0;
2784 2778 width: 100%;
2785 2779 height: 100%;
2786 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2787 - border-radius: 4px;
2780 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2781 + border-radius: var(--wpds-border-radius-md, 4px);
2788 2782 }
2789 2783
2790 2784 .dataviews-view-list .dataviews-view-list__field-wrapper {
2785 + min-height: 48px;
2791 2786 flex-grow: 1;
2792 2787 min-width: 0;
2793 2788 }
2794 2789
2795 2790 .dataviews-view-list .dataviews-view-list__field {
2796 - color: #757575;
2791 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2797 2792 }
2798 2793
2799 2794 .dataviews-view-list .dataviews-view-list__fields {
2800 2795 display: flex;
2801 - gap: 12px;
2802 - row-gap: 4px;
2796 + gap: var(--wpds-dimension-gap-md, 12px);
2797 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2803 2798 flex-wrap: wrap;
2804 2799 font-size: 12px;
2805 2800 }
2806 2801
@@ -2812,10 +2807,10 @@
2812 2807 display: none;
2813 2808 }
2814 2809
2815 2810 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2816 - min-height: 24px;
2817 - line-height: 20px;
2811 + min-height: var(--wpds-dimension-size-sm, 24px);
2812 + line-height: var(--wpds-typography-line-height-sm, 20px);
2818 2813 display: flex;
2819 2814 align-items: center;
2820 2815 }
2821 2816
@@ -2823,38 +2818,42 @@
2823 2818 justify-content: space-between;
2824 2819 }
2825 2820
2826 2821 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__item-wrapper {
2827 - padding: 8px 24px;
2822 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
2828 2823 }
2829 2824
2830 2825 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
2831 - min-height: 16px;
2832 - line-height: 16px;
2826 + min-height: var(--wpds-dimension-size-2xs, 16px);
2827 + line-height: var(--wpds-typography-line-height-xs, 16px);
2833 2828 }
2834 2829
2835 2830 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
2836 - width: 32px;
2837 - height: 32px;
2831 + width: var(--wpds-dimension-size-md, 32px);
2832 + height: var(--wpds-dimension-size-md, 32px);
2838 2833 }
2839 2834
2835 +.dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
2836 + min-height: var(--wpds-dimension-size-md, 32px);
2837 +}
2838 +
2840 2839 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
2841 - gap: 8px;
2842 - row-gap: 4px;
2840 + gap: var(--wpds-dimension-gap-sm, 8px);
2841 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2843 2842 }
2844 2843
2845 2844 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2846 - min-height: 16px;
2847 - line-height: 16px;
2845 + min-height: var(--wpds-dimension-size-2xs, 16px);
2846 + line-height: var(--wpds-typography-line-height-xs, 16px);
2848 2847 }
2849 2848
2850 2849 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
2851 - padding: 24px 24px;
2850 + padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2852 2851 }
2853 2852
2854 2853 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
2855 - min-height: 32px;
2856 - line-height: 32px;
2854 + min-height: var(--wpds-dimension-size-md, 32px);
2855 + line-height: var(--wpds-typography-line-height-xl, 32px);
2857 2856 }
2858 2857
2859 2858 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
2860 2859 width: 64px;
@@ -2860,16 +2859,20 @@
2860 2859 width: 64px;
2861 2860 height: 64px;
2862 2861 }
2863 2862
2863 +.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
2864 + min-height: 64px;
2865 +}
2866 +
2864 2867 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
2865 - gap: 16px;
2866 - row-gap: 8px;
2868 + gap: var(--wpds-dimension-gap-lg, 16px);
2869 + row-gap: var(--wpds-dimension-gap-sm, 8px);
2867 2870 }
2868 2871
2869 2872 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2870 - min-height: 32px;
2871 - line-height: 24px;
2873 + min-height: var(--wpds-dimension-size-md, 32px);
2874 + line-height: var(--wpds-typography-line-height-md, 24px);
2872 2875 }
2873 2876
2874 2877 .dataviews-view-list.is-refreshing {
2875 2878 opacity: 0.5;
@@ -2882,13 +2885,13 @@
2882 2885 animation: dataviews-pulse 1s ease-in-out infinite;
2883 2886 }
2884 2887 }
2885 2888 .dataviews-view-list__group-header {
2886 - font-size: 15px;
2887 - font-weight: 499;
2888 - color: #1e1e1e;
2889 - margin: 0 0 8px 0;
2890 - padding: 0 24px;
2889 + font-size: var(--wpds-typography-font-size-lg, 15px);
2890 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2891 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2892 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2893 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2891 2894 }
2892 2895
2893 2896 .dataviews-view-table {
2894 2897 width: 100%;
@@ -2895,9 +2898,9 @@
2895 2898 text-indent: 0;
2896 2899 border-color: inherit;
2897 2900 border-collapse: collapse;
2898 2901 position: relative;
2899 - color: #757575;
2902 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2900 2903 margin-bottom: auto;
2901 2904 background-color: inherit;
2902 2905 }
2903 2906
@@ -2902,16 +2905,16 @@
2902 2905 }
2903 2906
2904 2907 .dataviews-view-table th {
2905 2908 text-align: left;
2906 - color: #1e1e1e;
2907 - font-weight: normal;
2908 - font-size: 13px;
2909 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2910 + font-weight: 400;
2911 + font-size: var(--wpds-typography-font-size-md, 13px);
2909 2912 }
2910 2913
2911 2914 .dataviews-view-table td,
2912 2915 .dataviews-view-table th {
2913 - padding: 12px;
2916 + padding: var(--wpds-dimension-padding-md, 12px);
2914 2917 }
2915 2918
2916 2919 .dataviews-view-table td.dataviews-view-table__actions-column,
2917 2920 .dataviews-view-table th.dataviews-view-table__actions-column {
@@ -2921,9 +2924,9 @@
2921 2924 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
2922 2925 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
2923 2926 position: sticky;
2924 2927 right: 0;
2925 - background-color: var(--wp-dataviews-color-background, #fff);
2928 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2926 2929 }
2927 2930
2928 2931 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
2929 2932 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
@@ -2933,9 +2936,9 @@
2933 2936 top: 0;
2934 2937 bottom: 0;
2935 2938 left: 0;
2936 2939 width: 1px;
2937 - background-color: #f0f0f0;
2940 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2938 2941 }
2939 2942
2940 2943 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2941 2944 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -2948,20 +2951,20 @@
2948 2951 min-width: auto;
2949 2952 }
2950 2953
2951 2954 .dataviews-view-table tr {
2952 - border-top: 1px solid #f0f0f0;
2955 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2953 2956 background-color: inherit;
2954 2957 }
2955 2958
2956 2959 .dataviews-view-table tr td:first-child,
2957 2960 .dataviews-view-table tr th:first-child {
2958 - padding-left: 24px;
2961 + padding-left: var(--wpds-dimension-padding-2xl, 24px);
2959 2962 }
2960 2963
2961 2964 .dataviews-view-table tr td:last-child,
2962 2965 .dataviews-view-table tr th:last-child {
2963 - padding-right: 24px;
2966 + padding-right: var(--wpds-dimension-padding-2xl, 24px);
2964 2967 }
2965 2968
2966 2969 .dataviews-view-table tr:last-child {
2967 2970 border-bottom: 0;
@@ -2976,18 +2979,18 @@
2976 2979 opacity: 1;
2977 2980 }
2978 2981 }
2979 2982 .dataviews-view-table tr.is-selected {
2980 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2981 - color: #757575;
2983 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2984 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2982 2985 }
2983 2986
2984 2987 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
2985 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2988 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2986 2989 }
2987 2990
2988 2991 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
2989 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2992 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2990 2993 }
2991 2994
2992 2995 .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) {
2993 2996 opacity: 1;
@@ -2993,13 +2996,13 @@
2993 2996 opacity: 1;
2994 2997 }
2995 2998
2996 2999 .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 {
2997 - background-color: var(--wp-dataviews-color-background, #fff);
3000 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2998 3001 }
2999 3002
3000 3003 .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 {
3001 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3004 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3002 3005 }
3003 3006
3004 3007 .dataviews-view-table thead {
3005 3008 position: sticky;
@@ -3015,9 +3018,9 @@
3015 3018 bottom: 0;
3016 3019 left: 0;
3017 3020 right: 0;
3018 3021 height: 1px;
3019 - background-color: #f0f0f0;
3022 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3020 3023 }
3021 3024
3022 3025 .dataviews-view-table thead tr {
3023 3026 border: 0;
@@ -3024,30 +3027,30 @@
3024 3027 }
3025 3028
3026 3029 .dataviews-view-table thead th {
3027 3030 background-color: inherit;
3028 - padding-top: 8px;
3029 - padding-bottom: 8px;
3031 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3032 + padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3030 3033 font-size: 11px;
3031 3034 text-transform: uppercase;
3032 - font-weight: 499;
3035 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3033 3036 }
3034 3037
3035 3038 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3036 - padding-left: 4px;
3037 - padding-right: 4px;
3039 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3040 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3038 3041 }
3039 3042
3040 3043 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
3041 - gap: 4px;
3044 + gap: var(--wpds-dimension-gap-xs, 4px);
3042 3045 }
3043 3046
3044 3047 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
3045 - padding-left: 16px;
3048 + padding-left: var(--wpds-dimension-padding-lg, 16px);
3046 3049 }
3047 3050
3048 3051 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
3049 - padding-right: 16px;
3052 + padding-right: var(--wpds-dimension-padding-lg, 16px);
3050 3053 }
3051 3054
3052 3055 .dataviews-view-table tbody td {
3053 3056 vertical-align: top;
@@ -3053,9 +3056,9 @@
3053 3056 vertical-align: top;
3054 3057 }
3055 3058
3056 3059 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3057 - min-height: 32px;
3060 + min-height: var(--wpds-dimension-size-md, 32px);
3058 3061 display: flex;
3059 3062 align-items: center;
3060 3063 white-space: nowrap;
3061 3064 }
@@ -3073,16 +3076,16 @@
3073 3076 min-height: 0;
3074 3077 }
3075 3078
3076 3079 .dataviews-view-table .dataviews-view-table-header-button {
3077 - padding: 4px 8px;
3080 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3078 3081 font-size: 11px;
3079 3082 text-transform: uppercase;
3080 - font-weight: 499;
3083 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3081 3084 }
3082 3085
3083 3086 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3084 - color: #1e1e1e;
3087 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3085 3088 }
3086 3089
3087 3090 .dataviews-view-table .dataviews-view-table-header-button span {
3088 3091 speak: none;
@@ -3092,9 +3095,9 @@
3092 3095 display: none;
3093 3096 }
3094 3097
3095 3098 .dataviews-view-table .dataviews-view-table-header {
3096 - padding-left: 4px;
3099 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3097 3100 }
3098 3101
3099 3102 .dataviews-view-table .dataviews-view-table__actions-column {
3100 3103 width: auto;
@@ -3110,14 +3113,14 @@
3110 3113 }
3111 3114
3112 3115 .dataviews-view-table.has-compact-density td,
3113 3116 .dataviews-view-table.has-compact-density th {
3114 - padding: 4px 8px;
3117 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3115 3118 }
3116 3119
3117 3120 .dataviews-view-table.has-comfortable-density td,
3118 3121 .dataviews-view-table.has-comfortable-density th {
3119 - padding: 16px 12px;
3122 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-md, 12px);
3120 3123 }
3121 3124
3122 3125 .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
3123 3126 .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
@@ -3135,20 +3138,20 @@
3135 3138 }
3136 3139 }
3137 3140 .dataviews-column-primary__media {
3138 3141 max-width: 60px;
3139 - min-width: 32px;
3140 - min-height: 32px;
3142 + min-width: var(--wpds-dimension-size-md, 32px);
3143 + min-height: var(--wpds-dimension-size-md, 32px);
3141 3144 overflow: hidden;
3142 3145 position: relative;
3143 3146 flex-shrink: 0;
3144 - background-color: #fff;
3145 - border-radius: 4px;
3147 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3148 + border-radius: var(--wpds-border-radius-md, 4px);
3146 3149 }
3147 3150
3148 3151 .dataviews-column-primary__media img {
3149 - width: 32px;
3150 - height: 32px;
3152 + width: var(--wpds-dimension-size-md, 32px);
3153 + height: var(--wpds-dimension-size-md, 32px);
3151 3154 object-fit: cover;
3152 3155 }
3153 3156
3154 3157 .dataviews-column-primary__media::after {
@@ -3157,12 +3160,23 @@
3157 3160 top: 0;
3158 3161 left: 0;
3159 3162 width: 100%;
3160 3163 height: 100%;
3161 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3162 - border-radius: 4px;
3164 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3165 + border-radius: var(--wpds-border-radius-md, 4px);
3163 3166 }
3164 3167
3168 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3169 + height: var(--wpds-dimension-size-md, 32px);
3170 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3171 + min-width: 0;
3172 +}
3173 +
3174 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3175 + width: 100%;
3176 + height: 100%;
3177 +}
3178 +
3165 3179 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3166 3180 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3167 3181 min-width: 15ch;
3168 3182 max-width: 80ch;
@@ -3168,11 +3182,11 @@
3168 3182 max-width: 80ch;
3169 3183 }
3170 3184
3171 3185 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3172 - font-weight: 499;
3173 - padding: 12px 24px;
3174 - color: #1e1e1e;
3186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3187 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3188 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3175 3189 }
3176 3190
3177 3191 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3178 3192 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
@@ -3190,13 +3204,13 @@
3190 3204 animation: dataviews-pulse 1s ease-in-out infinite;
3191 3205 }
3192 3206 }
3193 3207 .dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
3194 - gap: 16px;
3208 + gap: var(--wpds-dimension-gap-lg, 16px);
3195 3209 }
3196 3210
3197 3211 .dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
3198 - gap: 32px;
3212 + gap: var(--wpds-dimension-gap-2xl, 32px);
3199 3213 }
3200 3214
3201 3215 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3202 3216 height: 100%;
@@ -3201,16 +3215,17 @@
3201 3215 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3202 3216 height: 100%;
3203 3217 justify-content: flex-start;
3204 3218 position: relative;
3219 + isolation: isolate;
3205 3220 }
3206 3221
3207 3222 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
3208 - padding: 8px 0 4px;
3223 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
3209 3224 }
3210 3225
3211 3226 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3212 - min-height: 24px;
3227 + min-height: var(--wpds-dimension-size-sm, 24px);
3213 3228 overflow: hidden;
3214 3229 align-content: center;
3215 3230 text-align: start;
3216 3231 }
@@ -3219,22 +3234,17 @@
3219 3234 width: fit-content;
3220 3235 }
3221 3236
3222 3237 .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 {
3223 - color: #1e1e1e;
3238 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3224 3239 }
3225 3240
3226 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
3227 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3228 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3229 -}
3230 -
3231 3241 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3232 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
3242 + 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);
3233 3243 }
3234 3244
3235 3245 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3236 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3246 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3237 3247 }
3238 3248
3239 3249 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3240 3250 outline: none;
@@ -3240,13 +3250,13 @@
3240 3250 outline: none;
3241 3251 }
3242 3252
3243 3253 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3244 - outline: 2px solid var(--wp-admin-theme-color);
3254 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3245 3255 }
3246 3256
3247 3257 .dataviews-view-picker-grid .dataviews-selection-checkbox {
3248 - top: 8px !important;
3258 + top: var(--wpds-dimension-padding-sm, 8px) !important;
3249 3259 }
3250 3260
3251 3261 .dataviews-view-picker-grid .dataviews-selection-checkbox input {
3252 3262 pointer-events: none;
@@ -3255,10 +3265,11 @@
3255 3265 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3256 3266 width: 100%;
3257 3267 aspect-ratio: 1/1;
3258 3268 min-height: 0;
3259 - background-color: #fff;
3260 - border-radius: 4px;
3269 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3270 + border-radius: var(--wpds-border-radius-md, 4px);
3271 + overflow: hidden;
3261 3272 position: relative;
3262 3273 }
3263 3274
3264 3275 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
@@ -3273,13 +3284,21 @@
3273 3284 top: 0;
3274 3285 left: 0;
3275 3286 width: 100%;
3276 3287 height: 100%;
3277 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3278 - border-radius: 4px;
3288 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3289 + border-radius: var(--wpds-border-radius-md, 4px);
3279 3290 pointer-events: none;
3280 3291 }
3281 3292
3293 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3294 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3295 +}
3296 +
3297 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3298 + object-fit: contain;
3299 +}
3300 +
3282 3301 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3283 3302 position: relative;
3284 3303 font-size: 12px;
3285 3304 line-height: 16px;
@@ -3285,25 +3304,25 @@
3285 3304 line-height: 16px;
3286 3305 }
3287 3306
3288 3307 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
3289 - padding: 0 0 12px;
3308 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
3290 3309 }
3291 3310
3292 3311 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3293 - min-height: 24px;
3294 - line-height: 20px;
3295 - padding-top: 2px;
3312 + min-height: var(--wpds-dimension-size-sm, 24px);
3313 + line-height: var(--wpds-typography-line-height-sm, 20px);
3314 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
3296 3315 }
3297 3316
3298 3317 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3299 - min-height: 24px;
3318 + min-height: var(--wpds-dimension-size-sm, 24px);
3300 3319 align-items: center;
3301 3320 }
3302 3321
3303 3322 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3304 3323 width: 35%;
3305 - color: #757575;
3324 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3306 3325 overflow: hidden;
3307 3326 text-overflow: ellipsis;
3308 3327 white-space: nowrap;
3309 3328 }
@@ -3319,9 +3338,9 @@
3319 3338 display: none;
3320 3339 }
3321 3340
3322 3341 .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
3323 - padding-bottom: 12px;
3342 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
3324 3343 }
3325 3344
3326 3345 .dataviews-view-picker-grid__field-value:empty,
3327 3346 .dataviews-view-picker-grid__field:empty {
@@ -3330,21 +3349,21 @@
3330 3349
3331 3350 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3332 3351 position: absolute;
3333 3352 top: -9999em;
3334 - left: 8px;
3353 + left: var(--wpds-dimension-padding-sm, 8px);
3335 3354 z-index: 1;
3336 3355 }
3337 3356
3338 3357 @media (hover: none) {
3339 3358 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3340 - top: 8px;
3359 + top: var(--wpds-dimension-padding-sm, 8px);
3341 3360 }
3342 3361 }
3343 3362 .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
3344 3363 .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
3345 3364 .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
3346 - top: 8px;
3365 + top: var(--wpds-dimension-padding-sm, 8px);
3347 3366 }
3348 3367
3349 3368 .dataviews-view-picker-grid__media--clickable {
3350 3369 cursor: var(--wpds-cursor-control, pointer);
@@ -3350,12 +3369,12 @@
3350 3369 cursor: var(--wpds-cursor-control, pointer);
3351 3370 }
3352 3371
3353 3372 .dataviews-view-picker-grid-group__header {
3354 - font-size: 15px;
3355 - font-weight: 499;
3356 - color: #1e1e1e;
3357 - margin: 0 0 8px 0;
3373 + font-size: var(--wpds-typography-font-size-lg, 15px);
3374 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3375 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3376 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3358 3377 padding: 0 48px;
3359 3378 }
3360 3379
3361 3380 .dataviews-view-picker-table {
@@ -3370,9 +3389,9 @@
3370 3389 outline: none;
3371 3390 }
3372 3391
3373 3392 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
3374 - outline: 2px solid var(--wp-admin-theme-color);
3393 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3375 3394 }
3376 3395
3377 3396 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
3378 3397 pointer-events: none;
@@ -3383,34 +3402,34 @@
3383 3402 cursor: var(--wpds-cursor-control, pointer);
3384 3403 }
3385 3404
3386 3405 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
3387 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3406 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3388 3407 }
3389 3408
3390 3409 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
3391 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3410 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3392 3411 }
3393 3412
3394 3413 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
3395 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.12);
3414 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3396 3415 }
3397 3416
3398 3417 .dataviews-view-activity {
3399 3418 margin: 0 0 auto;
3400 - padding: 0 24px;
3419 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
3401 3420 }
3402 3421
3403 3422 .dataviews-view-activity .dataviews-view-activity__group-header {
3404 - font-size: 15px;
3405 - font-weight: 499;
3406 - color: #949494;
3407 - margin: 0 0 8px 0;
3423 + font-size: var(--wpds-typography-font-size-lg, 15px);
3424 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3425 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3426 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3408 3427 padding: 0;
3409 3428 }
3410 3429
3411 3430 .dataviews-view-activity .dataviews-view-activity__item-actions {
3412 - min-width: 24px;
3431 + min-width: var(--wpds-dimension-size-sm, 24px);
3413 3432 }
3414 3433
3415 3434 .dataviews-view-activity .dataviews-view-activity__item-content {
3416 3435 flex-grow: 1;
@@ -3418,9 +3437,9 @@
3418 3437
3419 3438 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
3420 3439 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
3421 3440 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3422 - min-height: 16px;
3441 + min-height: var(--wpds-dimension-size-2xs, 16px);
3423 3442 }
3424 3443
3425 3444 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
3426 3445 position: relative;
@@ -3434,11 +3453,11 @@
3434 3453 cursor: var(--wpds-cursor-control, pointer);
3435 3454 }
3436 3455
3437 3456 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
3438 - outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
3457 + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3439 3458 outline-offset: var(--wp-admin-border-width-focus);
3440 - border-radius: 2px;
3459 + border-radius: var(--wpds-border-radius-sm, 2px);
3441 3460 }
3442 3461
3443 3462 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3444 3463 display: flex;
@@ -3451,12 +3470,12 @@
3451 3470 z-index: 1;
3452 3471 }
3453 3472
3454 3473 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3455 - color: #757575;
3474 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3456 3475 display: flex;
3457 - gap: 12px;
3458 - row-gap: 4px;
3476 + gap: var(--wpds-dimension-gap-md, 12px);
3477 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3459 3478 flex-wrap: wrap;
3460 3479 }
3461 3480
3462 3481 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
@@ -3481,9 +3500,9 @@
3481 3500 content: "";
3482 3501 flex: 1 1 auto;
3483 3502 width: 1px;
3484 3503 margin: 0 auto;
3485 - background-color: #ddd;
3504 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3486 3505 }
3487 3506
3488 3507 .dataviews-view-activity .dataviews-view-activity__item-type::before {
3489 3508 content: "";
@@ -3489,67 +3508,67 @@
3489 3508 content: "";
3490 3509 flex: 0 0 auto;
3491 3510 width: 1px;
3492 3511 margin: 0 auto;
3493 - background-color: #ddd;
3512 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3494 3513 }
3495 3514
3496 3515 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
3497 - width: 12px;
3516 + width: var(--wpds-dimension-padding-md, 12px);
3498 3517 }
3499 3518
3500 3519 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
3501 - height: 12px;
3520 + height: var(--wpds-dimension-size-3xs, 12px);
3502 3521 }
3503 3522
3504 3523 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
3505 - width: 11px;
3506 - height: 11px;
3524 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3525 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3507 3526 }
3508 3527
3509 3528 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
3510 - margin: 12px 0;
3529 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3511 3530 }
3512 3531
3513 3532 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
3514 - width: 24px;
3533 + width: var(--wpds-dimension-size-sm, 24px);
3515 3534 }
3516 3535
3517 3536 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
3518 - height: 12px;
3537 + height: var(--wpds-dimension-size-3xs, 12px);
3519 3538 }
3520 3539
3521 3540 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
3522 - width: 25px;
3523 - height: 25px;
3541 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3542 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3524 3543 }
3525 3544
3526 3545 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
3527 - margin: 12px 0;
3528 - padding-top: 8px;
3546 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3547 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3529 3548 }
3530 3549
3531 3550 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
3532 - width: 32px;
3551 + width: var(--wpds-dimension-size-md, 32px);
3533 3552 }
3534 3553
3535 3554 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
3536 - height: 8px;
3555 + height: var(--wpds-dimension-size-4xs, 8px);
3537 3556 }
3538 3557
3539 3558 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
3540 - width: 33px;
3541 - height: 33px;
3559 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3560 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3542 3561 }
3543 3562
3544 3563 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
3545 - margin: 8px 0 16px;
3546 - padding-top: 12px;
3564 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3565 + padding-top: var(--wpds-dimension-padding-md, 12px);
3547 3566 }
3548 3567
3549 3568 .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 {
3550 - width: 9px;
3551 - height: 9px;
3569 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3570 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3552 3571 position: relative;
3553 3572 top: 50%;
3554 3573 transform: translateY(-50%);
3555 3574 }
@@ -3558,15 +3577,15 @@
3558 3577 visibility: hidden;
3559 3578 }
3560 3579
3561 3580 .dataviews-view-activity .dataviews-view-activity__group:last-of-type > .dataviews-view-activity__item:last-of-type .dataviews-view-activity__item-type::after, .dataviews-view-activity > .dataviews-view-activity__item:last-child .dataviews-view-activity__item-type::after {
3562 - background: linear-gradient(to bottom, #ddd 0%, rgba(221, 221, 221, 0.2) 60%, rgba(221, 221, 221, 0) 100%);
3581 + background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%);
3563 3582 }
3564 3583
3565 3584 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
3566 3585 overflow: hidden;
3567 3586 flex-shrink: 0;
3568 - background-color: #fff;
3587 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3569 3588 }
3570 3589
3571 3590 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
3572 3591 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
@@ -3577,18 +3596,18 @@
3577 3596 margin: 0 auto;
3578 3597 object-fit: cover;
3579 3598 border-radius: 50%;
3580 3599 box-sizing: border-box;
3581 - box-shadow: inset 0 0 0 1px #ddd;
3600 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3582 3601 }
3583 3602
3584 3603 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
3585 - padding: 4px;
3604 + padding: var(--wpds-dimension-padding-xs, 4px);
3586 3605 }
3587 3606
3588 3607 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
3589 3608 content: "";
3590 - background-color: #ddd;
3609 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3591 3610 }
3592 3611
3593 3612 .dataviews-view-activity.is-refreshing {
3594 3613 opacity: 0.5;
@@ -3604,11 +3623,211 @@
3604 3623 .dataviews-view-activity + .dataviews-pagination {
3605 3624 justify-content: space-between;
3606 3625 }
3607 3626
3627 +.dataviews-view-picker-activity {
3628 + margin: 0;
3629 + padding: 0;
3630 + flex-grow: 1;
3631 +}
3632 +
3633 +.dataviews-view-picker-activity:focus-visible[aria-activedescendant] {
3634 + outline: none;
3635 +}
3636 +
3637 +.dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] {
3638 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3639 + outline-offset: -2px;
3640 +}
3641 +
3642 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item {
3643 + cursor: var(--wpds-cursor-control, pointer);
3644 + border-radius: var(--wpds-border-radius-sm, 2px);
3645 + padding-inline: var(--wpds-dimension-padding-2xl, 24px);
3646 + transition: background-color 0.1s ease;
3647 +}
3648 +
3649 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover {
3650 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3651 +}
3652 +
3653 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected {
3654 + outline: 3px solid transparent;
3655 + outline-offset: -2px;
3656 +}
3657 +
3658 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type {
3659 + width: var(--wpds-dimension-padding-md, 12px);
3660 +}
3661 +
3662 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before {
3663 + height: var(--wpds-dimension-size-3xs, 12px);
3664 +}
3665 +
3666 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
3667 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3668 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3669 +}
3670 +
3671 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
3672 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3673 +}
3674 +
3675 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type {
3676 + width: var(--wpds-dimension-size-sm, 24px);
3677 +}
3678 +
3679 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before {
3680 + height: var(--wpds-dimension-size-3xs, 12px);
3681 +}
3682 +
3683 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
3684 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3685 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3686 +}
3687 +
3688 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
3689 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3690 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3691 +}
3692 +
3693 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type {
3694 + width: var(--wpds-dimension-size-md, 32px);
3695 +}
3696 +
3697 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before {
3698 + height: var(--wpds-dimension-size-4xs, 8px);
3699 +}
3700 +
3701 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
3702 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3703 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3704 +}
3705 +
3706 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
3707 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3708 + padding-top: var(--wpds-dimension-padding-md, 12px);
3709 +}
3710 +
3711 +.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 {
3712 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3713 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3714 + position: relative;
3715 + top: 50%;
3716 + transform: translateY(-50%);
3717 +}
3718 +
3719 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content {
3720 + flex-grow: 1;
3721 +}
3722 +
3723 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title,
3724 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description,
3725 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3726 + min-height: var(--wpds-dimension-size-2xs, 16px);
3727 +}
3728 +
3729 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title {
3730 + position: relative;
3731 + display: flex;
3732 + align-items: center;
3733 + flex: 1;
3734 + overflow: hidden;
3735 +}
3736 +
3737 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description:empty {
3738 + display: none;
3739 +}
3740 +
3741 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3742 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3743 + display: flex;
3744 + gap: var(--wpds-dimension-gap-md, 12px);
3745 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3746 + flex-wrap: wrap;
3747 +}
3748 +
3749 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields:empty {
3750 + display: none;
3751 +}
3752 +
3753 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field:has(.dataviews-view-picker-activity__item-field-value:empty) {
3754 + display: none;
3755 +}
3756 +
3757 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field-value {
3758 + display: flex;
3759 + align-items: center;
3760 +}
3761 +
3762 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type {
3763 + align-self: stretch;
3764 + flex-shrink: 0;
3765 +}
3766 +
3767 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::after {
3768 + content: "";
3769 + flex: 1 1 auto;
3770 + width: 1px;
3771 + margin: 0 auto;
3772 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3773 +}
3774 +
3775 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::before {
3776 + content: "";
3777 + flex: 0 0 auto;
3778 + width: 1px;
3779 + margin: 0 auto;
3780 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3781 +}
3782 +
3783 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item:first-child .dataviews-view-picker-activity__item-type::before {
3784 + visibility: hidden;
3785 +}
3786 +
3787 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group:last-of-type > .dataviews-view-picker-activity__item:last-of-type .dataviews-view-picker-activity__item-type::after, .dataviews-view-picker-activity > .dataviews-view-picker-activity__item:last-child .dataviews-view-picker-activity__item-type::after {
3788 + background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%);
3789 +}
3790 +
3791 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3792 + font-size: var(--wpds-typography-font-size-lg, 15px);
3793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3794 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3795 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3796 + padding: 0;
3797 + padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
3798 +}
3799 +
3800 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon {
3801 + overflow: hidden;
3802 + flex-shrink: 0;
3803 + background-color: transparent;
3804 +}
3805 +
3806 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon img,
3807 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg,
3808 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3809 + display: block;
3810 + width: 100%;
3811 + height: 100%;
3812 + margin: 0 auto;
3813 + object-fit: cover;
3814 + border-radius: 50%;
3815 + box-sizing: border-box;
3816 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3817 +}
3818 +
3819 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg {
3820 + padding: var(--wpds-dimension-padding-xs, 4px);
3821 +}
3822 +
3823 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3824 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3825 +}
3826 +
3608 3827 .dataviews-picker-footer__bulk-selection {
3609 3828 align-self: flex-start;
3610 - height: 32px;
3829 + height: var(--wpds-dimension-size-md, 32px);
3611 3830 }
3612 3831
3613 3832 .dataviews-picker-footer__actions {
3614 3833 align-self: flex-end;
@@ -3638,30 +3857,51 @@
3638 3857 display: flex;
3639 3858 }
3640 3859
3641 3860 .dataviews-controls__date-preset {
3642 - border: 1px solid #ddd;
3861 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3643 3862 }
3644 3863
3645 3864 .dataviews-controls__date-preset:active {
3646 - background-color: #000;
3865 + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3647 3866 }
3648 3867
3868 +.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 {
3869 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3870 +}
3871 +
3872 +.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 {
3873 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3874 +}
3875 +
3876 +.dataviews-validated-control__wrapper-with-error-delegate {
3877 + position: relative;
3878 +}
3879 +
3880 +.dataviews-validated-control__error-delegate {
3881 + position: absolute;
3882 + top: 0;
3883 + height: 100%;
3884 + width: 100%;
3885 + opacity: 0;
3886 + pointer-events: none;
3887 +}
3888 +
3649 3889 .dataforms-layouts-panel__field-trigger {
3650 3890 position: relative;
3651 3891 color: inherit;
3652 3892 display: flex;
3653 3893 width: 100%;
3654 - min-height: 24px;
3894 + min-height: var(--wpds-dimension-size-sm, 24px);
3655 3895 cursor: var(--wpds-cursor-control, pointer);
3656 3896 align-items: flex-start;
3657 - border-radius: 2px;
3897 + border-radius: var(--wpds-border-radius-sm, 2px);
3658 3898 isolation: isolate;
3659 3899 }
3660 3900
3661 3901 .dataforms-layouts-panel__field-trigger--label-side {
3662 3902 flex-direction: row;
3663 - gap: var(--wpds-dimension-gap-md, 12px);
3903 + gap: var(--wpds-dimension-gap-sm, 8px);
3664 3904 }
3665 3905
3666 3906 .dataforms-layouts-panel__field-trigger--label-top {
3667 3907 display: grid;
@@ -3672,9 +3912,9 @@
3672 3912 align-items: center;
3673 3913 }
3674 3914
3675 3915 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
3676 - color: var(--wp-admin-theme-color);
3916 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3677 3917 }
3678 3918
3679 3919 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
3680 3920 opacity: 1;
@@ -3680,9 +3920,9 @@
3680 3920 opacity: 1;
3681 3921 }
3682 3922
3683 3923 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
3684 - color: var(--wp-admin-theme-color);
3924 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3685 3925 }
3686 3926
3687 3927 .dataforms-layouts-panel__field-trigger.is-disabled {
3688 3928 cursor: default;
@@ -3688,10 +3928,10 @@
3688 3928 cursor: default;
3689 3929 }
3690 3930
3691 3931 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3692 - color: #757575;
3693 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3932 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3933 + font-weight: var(--wpds-typography-font-weight-default, 400);
3694 3934 }
3695 3935
3696 3936 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3697 3937 opacity: 1;
@@ -3698,22 +3938,28 @@
3698 3938 fill: currentColor;
3699 3939 }
3700 3940
3701 3941 .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 {
3702 - fill: var(--wp-admin-theme-color);
3942 + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3703 3943 }
3704 3944
3705 3945 .dataforms-layouts-panel__field-trigger-icon {
3706 3946 padding: 0;
3707 - color: var(--wp-admin-theme-color);
3947 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3708 3948 flex: 0 0 auto;
3709 3949 opacity: 0;
3710 3950 border-radius: var(--wpds-border-radius-xs, 1px);
3711 3951 }
3712 3952
3953 +.dataforms-layouts-panel__field-trigger-icon::after {
3954 + content: "";
3955 + position: absolute;
3956 + inset: 0;
3957 +}
3958 +
3713 3959 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3714 3960 opacity: 1;
3715 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
3961 + 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));
3716 3962 }
3717 3963
3718 3964 .dataforms-layouts-panel__field-dropdown-anchor {
3719 3965 width: 100%;
@@ -3725,14 +3971,14 @@
3725 3971
3726 3972 .dataforms-layouts-panel__field-label {
3727 3973 width: 38%;
3728 3974 flex-shrink: 0;
3729 - min-height: 24px;
3975 + min-height: var(--wpds-dimension-size-sm, 24px);
3730 3976 display: flex;
3731 3977 align-items: center;
3732 - line-height: 20px;
3978 + line-height: var(--wpds-typography-line-height-sm, 20px);
3733 3979 hyphens: auto;
3734 - color: #757575;
3980 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3735 3981 }
3736 3982
3737 3983 .dataforms-layouts-panel__field-label .components-base-control__label {
3738 3984 display: inline;
@@ -3740,38 +3986,39 @@
3740 3986 line-height: inherit;
3741 3987 }
3742 3988
3743 3989 .dataforms-layouts-panel__field-label.has-error {
3744 - color: #cc1818;
3990 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3745 3991 }
3746 3992
3747 3993 .dataforms-layouts-panel__field-label-error-content {
3748 - position: relative;
3749 - z-index: 1;
3750 - cursor: help;
3751 - fill: #cc1818;
3994 + pointer-events: none;
3995 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3752 3996 display: inline-flex;
3753 3997 flex-direction: row;
3754 3998 align-items: center;
3755 - gap: 4px;
3999 + gap: var(--wpds-dimension-gap-xs, 4px);
3756 4000 }
3757 4001
3758 -.dataforms-layouts-panel__field-label-error-content svg {
3759 - fill: currentColor;
3760 -}
3761 -
3762 4002 .dataforms-layouts-panel__field-control {
3763 4003 flex-grow: 1;
3764 4004 min-width: 0;
3765 - min-height: 24px;
4005 + min-height: var(--wpds-dimension-size-sm, 24px);
3766 4006 line-height: var(--wpds-typography-line-height-md, 24px);
3767 4007 display: flex;
3768 4008 align-items: center;
3769 - overflow: hidden;
3770 - word-break: break-word;
3771 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4009 + overflow: clip;
4010 + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4011 + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4012 + word-break: normal;
4013 + overflow-wrap: anywhere;
4014 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3772 4015 }
3773 4016
4017 +.dataforms-layouts-panel__field-control:has(a, button) {
4018 + z-index: 1;
4019 +}
4020 +
3774 4021 .dataforms-layouts-panel__field-control > * {
3775 4022 min-width: 0;
3776 4023 }
3777 4024
@@ -3788,18 +4035,18 @@
3788 4035 grid-column: 2;
3789 4036 }
3790 4037
3791 4038 .dataforms-layouts-panel__field-dropdown .components-popover__content {
3792 - min-width: 256px;
3793 - padding: 16px;
4039 + min-width: 320px;
4040 + padding: var(--wpds-dimension-padding-lg, 16px);
3794 4041 }
3795 4042
3796 4043 .dataforms-layouts-panel__dropdown-header {
3797 - margin-bottom: 16px;
4044 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3798 4045 }
3799 4046
3800 4047 .dataforms-layouts-panel__modal-footer {
3801 - margin-top: 16px;
4048 + margin-top: var(--wpds-dimension-gap-lg, 16px);
3802 4049 }
3803 4050
3804 4051 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
3805 4052 z-index: 159990;
@@ -3806,9 +4053,9 @@
3806 4053 }
3807 4054
3808 4055 .dataforms-layouts-regular__field {
3809 4056 width: 100%;
3810 - min-height: 32px;
4057 + min-height: var(--wpds-dimension-size-md, 32px);
3811 4058 justify-content: flex-start !important;
3812 4059 align-items: flex-start !important;
3813 4060 }
3814 4061
@@ -3814,18 +4061,18 @@
3814 4061
3815 4062 .dataforms-layouts-regular__field .components-base-control__label,
3816 4063 .dataforms-layouts-regular__field .components-input-control__label,
3817 4064 .dataforms-layouts-regular__field .components-form-token-field__label {
3818 - color: #1e1e1e;
4065 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3819 4066 }
3820 4067
3821 4068 .dataforms-layouts-regular__field-label {
3822 4069 width: 38%;
3823 4070 flex-shrink: 0;
3824 - min-height: 32px;
4071 + min-height: var(--wpds-dimension-size-md, 32px);
3825 4072 display: flex;
3826 4073 align-items: center;
3827 - line-height: 20px;
4074 + line-height: var(--wpds-typography-line-height-sm, 20px);
3828 4075 hyphens: auto;
3829 4076 }
3830 4077
3831 4078 .dataforms-layouts-regular__field-label--label-position-side {
@@ -3837,9 +4084,9 @@
3837 4084 }
3838 4085
3839 4086 .dataforms-layouts-regular__field-control {
3840 4087 flex-grow: 1;
3841 - min-height: 32px;
4088 + min-height: var(--wpds-dimension-size-md, 32px);
3842 4089 display: flex;
3843 4090 align-items: center;
3844 4091 }
3845 4092
@@ -3855,28 +4102,28 @@
3855 4102 display: contents;
3856 4103 }
3857 4104
3858 4105 .dataforms-layouts-card__field-description {
3859 - color: #757575;
4106 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3860 4107 display: block;
3861 - font-size: 13px;
3862 - margin-bottom: 16px;
4108 + font-size: var(--wpds-typography-font-size-md, 13px);
4109 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3863 4110 }
3864 4111
3865 4112 .dataforms-layouts-card__field-summary {
3866 4113 display: flex;
3867 4114 flex-direction: row;
3868 - gap: 16px;
4115 + gap: var(--wpds-dimension-gap-lg, 16px);
3869 4116 align-items: center;
3870 4117 }
3871 4118
3872 4119 .dataforms-layouts-details__summary-content {
3873 4120 display: inline-flex;
3874 - min-height: 24px;
4121 + min-height: var(--wpds-dimension-size-sm, 24px);
3875 4122 }
3876 4123
3877 4124 .dataforms-layouts-details__content {
3878 - padding-top: 12px;
4125 + padding-top: var(--wpds-dimension-padding-md, 12px);
3879 4126 }
3880 4127
3881 4128 .dataforms-layouts-row__field-control {
3882 4129 width: 100%;
@@ -3882,10 +4129,10 @@
3882 4129 width: 100%;
3883 4130 }
3884 4131
3885 4132 .dataforms-layouts__wrapper {
3886 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3887 - font-weight: 400;
4133 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4134 + font-weight: var(--wpds-typography-font-weight-default, 400);
3888 4135 font-size: 13px;
3889 4136 line-height: 20px;
3890 4137 }
3891 4138
@@ -3958,8 +4205,14 @@
3958 4205 /**
3959 4206 * Focus styles.
3960 4207 */
3961 4208 /**
4209 + * Standard focus rings for the WordPress Design System.
4210 + *
4211 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
4212 + * e.g. `&:focus { @include outset-ring__focus(); }`.
4213 + */
4214 +/**
3962 4215 * Applies editor left position to the selector passed as argument
3963 4216 */
3964 4217 /**
3965 4218 * Styles that are reused verbatim in a few places
@@ -4017,9 +4270,9 @@
4017 4270 padding: 12px;
4018 4271 display: grid;
4019 4272 align-items: center;
4020 4273 grid-template-columns: min-content 1fr min-content;
4021 - grid-gap: 4px 8px;
4274 + gap: 4px 8px;
4022 4275 color: #1e1e1e;
4023 4276 }
4024 4277
4025 4278 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4096,9 +4349,8 @@
4096 4349 line-height: 1.5;
4097 4350 }
4098 4351
4099 4352 fieldset.fields__media-edit {
4100 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4101 4353 container-type: inline-size;
4102 4354 }
4103 4355
4104 4356 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4334,9 +4586,8 @@
4334 4586 }
4335 4587
4336 4588 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4337 4589 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4338 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4339 4590 }
4340 4591
4341 4592 @container (max-width: 500px) {
4342 4593 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4403,18 +4654,15 @@
4403 4654 padding: 0;
4404 4655 margin: 0;
4405 4656 }
4406 4657
4407 -.fields-controls__slug .fields-controls__slug-external-icon {
4408 - margin-left: 5ch;
4409 -}
4410 -
4411 4658 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4412 4659 padding-inline-start: 0 !important;
4413 4660 }
4414 4661
4415 4662 .fields-controls__slug .fields-controls__slug-help-link {
4416 - word-break: break-word;
4663 + word-break: normal;
4664 + overflow-wrap: anywhere;
4417 4665 }
4418 4666
4419 4667 .fields-controls__slug .fields-controls__slug-help {
4420 4668 display: flex;
@@ -4421,9 +4669,9 @@
4421 4669 flex-direction: column;
4422 4670 }
4423 4671
4424 4672 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4425 - font-weight: 600;
4673 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4426 4674 }
4427 4675
4428 4676 .fields-controls__featured-image-image,
4429 4677 .fields-controls__featured-image-placeholder {
@@ -4585,9 +4833,9 @@
4585 4833 border-radius: 2px;
4586 4834 }
4587 4835
4588 4836 .media-editor-preview__file-name {
4589 - font-weight: 600;
4837 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4590 4838 margin-bottom: 8px;
4591 4839 }
4592 4840
4593 4841 .media-editor-preview__mime-type {
@@ -4612,8 +4860,9 @@
4612 4860 word-break: break-all;
4613 4861 margin-top: 8px;
4614 4862 }
4615 4863
4864 +/*!rtl:begin:ignore*/
4616 4865 .wp-media-editor-image-editor {
4617 4866 position: relative;
4618 4867 overflow: hidden;
4619 4868 width: 100%;
@@ -4625,9 +4874,11 @@
4625 4874 }
4626 4875
4627 4876 .wp-media-editor-image-editor__canvas {
4628 4877 position: absolute;
4629 - inset: 22px;
4878 + inset: 24px;
4879 + min-height: 100px;
4880 + min-width: 100px;
4630 4881 }
4631 4882
4632 4883 .wp-media-editor-image-editor__canvas:focus {
4633 4884 outline: none;
@@ -4657,17 +4908,18 @@
4657 4908
4658 4909 .wp-media-editor-image-editor__dimming {
4659 4910 position: absolute;
4660 4911 pointer-events: none;
4661 - /* Large shadow spread dims everything outside the crop area.
4662 - Darker at rest for clear crop framing, lighter during drag
4663 - so the user can see where they're panning. */
4664 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
4912 + /* Large shadow spread washes everything outside the crop area
4913 + toward the canvas grey ($gray-200). Slightly stronger at rest
4914 + for clear crop framing, lighter during drag so the user can see
4915 + where they're panning. */
4916 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.6);
4665 4917 transition: box-shadow 0.15s ease;
4666 4918 }
4667 4919
4668 4920 .wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
4669 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
4921 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.4);
4670 4922 }
4671 4923
4672 4924 .wp-media-editor-image-editor__grid {
4673 4925 position: absolute;
@@ -4707,17 +4959,31 @@
4707 4959 height: 100%;
4708 4960 width: 1px;
4709 4961 }
4710 4962
4963 +.wp-media-editor-image-editor__dimensions-tooltip {
4964 + position: absolute;
4965 + padding: 2px 6px;
4966 + background: #fff;
4967 + color: #1e1e1e;
4968 + font-size: 11px;
4969 + line-height: 1.4;
4970 + font-variant-numeric: tabular-nums;
4971 + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
4972 + pointer-events: none;
4973 + white-space: nowrap;
4974 + z-index: 2;
4975 +}
4976 +
4711 4977 .wp-media-editor-image-editor__stencil-rect {
4712 4978 position: absolute;
4713 - border: 1px solid rgba(255, 255, 255, 0.7);
4979 + border: 1px solid #1e1e1e;
4714 4980 box-sizing: border-box;
4715 4981 pointer-events: none;
4716 4982 transition: border-color 0.15s ease, box-shadow 0.15s ease;
4717 4983 }
4718 4984
4719 -.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__stencil-rect {
4985 +.wp-media-editor-image-editor__canvas--focus-visible:focus .wp-media-editor-image-editor__stencil-rect {
4720 4986 border-color: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4721 4987 box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4722 4988 }
4723 4989
@@ -4729,10 +4995,10 @@
4729 4995 cursor: default;
4730 4996 position: absolute;
4731 4997 width: 12px;
4732 4998 height: 12px;
4733 - background: rgba(255, 255, 255, 0.6);
4734 - border: 1px solid rgba(255, 255, 255, 0.9);
4999 + background: #fff;
5000 + border: 1px solid var(--wp-admin-theme-color, #007cba);
4735 5001 border-radius: 50%;
4736 5002 box-sizing: border-box;
4737 5003 pointer-events: auto;
4738 5004 transition: background-color 0.15s ease, box-shadow 0.15s ease;
@@ -4741,9 +5007,9 @@
4741 5007 .wp-media-editor-image-editor__handle:focus {
4742 5008 outline: none;
4743 5009 }
4744 5010
4745 -.wp-media-editor-image-editor__handle:focus-visible {
5011 +.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__handle:focus {
4746 5012 background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4747 5013 border-color: transparent;
4748 5014 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4749 5015 }
@@ -4813,13 +5079,14 @@
4813 5079 right: -6px;
4814 5080 cursor: nwse-resize;
4815 5081 }
4816 5082
5083 +/*!rtl:end:ignore*/
4817 5084 /**
4818 - * Typography
5085 + * Breakpoints & Media Queries
4819 5086 */
4820 5087 /**
4821 - * Breakpoints & Media Queries
5088 + * Typography
4822 5089 */
4823 5090 /**
4824 5091 * Converts a hex value into the rgb equivalent.
4825 5092 *
@@ -4838,8 +5105,14 @@
4838 5105 /**
4839 5106 * Focus styles.
4840 5107 */
4841 5108 /**
5109 + * Standard focus rings for the WordPress Design System.
5110 + *
5111 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
5112 + * e.g. `&:focus { @include outset-ring__focus(); }`.
5113 + */
5114 +/**
4842 5115 * Applies editor left position to the selector passed as argument
4843 5116 */
4844 5117 /**
4845 5118 * Styles that are reused verbatim in a few places
@@ -4872,49 +5145,74 @@
4872 5145 align-items: center;
4873 5146 justify-content: center;
4874 5147 }
4875 5148
4876 -.media-editor .interface-interface-skeleton {
4877 - position: relative;
4878 - top: auto;
4879 - right: auto;
4880 - bottom: auto;
4881 - left: auto;
4882 - height: 100%;
4883 - max-height: none;
5149 +.media-editor .media-editor__body {
5150 + container-type: inline-size;
5151 + container-name: media-editor-body;
5152 + display: flex;
4884 5153 flex: 1;
5154 + min-height: 0;
5155 +}
5156 +
5157 +.media-editor .media-editor__content {
5158 + display: flex;
5159 + flex: 1;
4885 5160 flex-direction: column;
5161 + min-width: 0;
5162 + min-height: 0;
5163 + margin: 24px 24px 8px 24px;
4886 5164 }
4887 5165
4888 -.media-editor .interface-interface-skeleton__editor {
4889 - min-width: 0;
4890 - flex: 1;
5166 +@media (min-width: 600px) {
5167 + .media-editor .media-editor__content {
5168 + margin: 0 24px;
5169 + }
4891 5170 }
5171 +@container media-editor-body (min-width: 864px) {
5172 + .media-editor .media-editor__content {
5173 + min-width: 520px;
5174 + }
5175 +}
5176 +.media-editor .media-editor__canvas-toolbar {
5177 + display: flex;
5178 + flex: 0 0 auto;
5179 + flex-direction: column;
5180 + align-items: center;
5181 + gap: 12px;
5182 +}
4892 5183
4893 -.media-editor .interface-interface-skeleton__footer {
4894 - position: relative;
5184 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
4895 5185 display: flex;
5186 + justify-content: center;
5187 + align-self: stretch;
5188 + background: #e0e0e0;
5189 + border-radius: 0 0 8px 8px;
5190 + padding: 8px 16px;
4896 5191 }
4897 5192
4898 -.media-editor .interface-interface-skeleton.has-footer .interface-interface-skeleton__body {
4899 - padding-bottom: 0;
5193 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5194 + flex: 0 1 360px;
5195 + min-width: 0;
4900 5196 }
4901 5197
4902 -.media-editor .media-editor__canvas {
5198 +.media-editor .media-editor__canvas-area {
4903 5199 display: flex;
4904 5200 align-items: center;
4905 5201 justify-content: center;
4906 - background: #f0f0f0;
5202 + background: #e0e0e0;
5203 + border-radius: 8px;
4907 5204 overflow: auto;
4908 - height: 100%;
5205 + flex: 1;
5206 + min-height: 0;
4909 5207 }
4910 5208
4911 -.media-editor .media-editor__canvas .media-editor-preview {
5209 +.media-editor .media-editor__canvas-area .media-editor-preview {
4912 5210 height: 100%;
4913 5211 }
4914 5212
4915 -.media-editor .media-editor__canvas img,
4916 -.media-editor .media-editor__canvas video {
5213 +.media-editor .media-editor__canvas-area img,
5214 +.media-editor .media-editor__canvas-area video {
4917 5215 max-width: 100%;
4918 5216 max-height: 100%;
4919 5217 object-fit: contain;
4920 5218 }
@@ -4919,38 +5217,62 @@
4919 5217 object-fit: contain;
4920 5218 }
4921 5219
4922 5220 .media-editor .media-editor__sidebar {
4923 - box-sizing: border-box;
5221 + display: flex;
5222 + flex: 1;
5223 + flex-direction: column;
5224 + min-width: 0;
5225 + min-height: 0;
5226 + overflow: hidden;
4924 5227 }
4925 5228
4926 -.media-editor .media-editor__sidebar *,
4927 -.media-editor .media-editor__sidebar *::before,
4928 -.media-editor .media-editor__sidebar *::after {
4929 - box-sizing: inherit;
5229 +@media (min-width: 600px) {
5230 + .media-editor .media-editor__sidebar {
5231 + flex: none;
5232 + width: var(--wpds-dimension-surface-width-sm, 320px);
5233 + }
4930 5234 }
5235 +.media-editor .media-editor__tabs {
5236 + display: flex;
5237 + flex: 1;
5238 + flex-direction: column;
5239 + min-height: 0;
5240 +}
4931 5241
5242 +.media-editor .media-editor__tablist {
5243 + flex-shrink: 0;
5244 + margin-inline: 24px;
5245 + background: #fff;
5246 + border-bottom: 1px solid #ddd;
5247 +}
5248 +
4932 5249 .media-editor .media-editor__panel {
4933 - padding: 16px;
5250 + flex: 1;
5251 + min-height: 0;
5252 + overflow-y: auto;
5253 + padding-block: 24px;
5254 + padding-inline: 24px;
4934 5255 }
4935 5256
4936 -.media-editor .components-panel__header.media-editor__sidebar-header {
4937 - padding-left: 0;
4938 - padding-right: 8px;
5257 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5258 + border-end-start-radius: 0;
5259 + border-end-end-radius: 0;
4939 5260 }
4940 5261
4941 -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
4942 - padding: 0;
5262 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5263 + display: none;
4943 5264 }
4944 5265
4945 -@media (min-width: 782px) {
4946 - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5266 +@media (min-width: 600px) {
5267 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
4947 5268 display: flex;
5269 + margin: 0 0 0 24px;
4948 5270 }
4949 5271 }
4950 5272 .media-editor__snackbar {
4951 5273 position: fixed;
4952 - bottom: 24px;
5274 + bottom: var(--wpds-dimension-size-md, 32px);
4953 5275 left: 0;
4954 5276 right: 0;
4955 5277 padding-inline: 16px;
4956 5278 box-sizing: border-box;
@@ -4962,8 +5284,12 @@
4962 5284 .media-editor__snackbar .components-snackbar {
4963 5285 margin-inline: auto;
4964 5286 }
4965 5287
5288 +.media-editor-form .dataforms-layouts-panel__field-control {
5289 + text-wrap: pretty;
5290 +}
5291 +
4966 5292 .media-editor-modal.components-modal__frame .components-modal__content {
4967 5293 padding: 0;
4968 5294 margin-bottom: 0;
4969 5295 display: flex;
@@ -4977,8 +5303,26 @@
4977 5303 flex-direction: column;
4978 5304 min-height: 0;
4979 5305 }
4980 5306
5307 +.media-editor-modal.components-modal__frame .media-editor-modal__footer {
5308 + flex-shrink: 0;
5309 + display: flex;
5310 + flex-direction: row;
5311 + align-items: center;
5312 + gap: 16px;
5313 + padding: 24px;
5314 + background: #fff;
5315 +}
5316 +
5317 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5318 + margin-left: auto;
5319 +}
5320 +
5321 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5322 + color: var(--wp-admin-theme-color);
5323 +}
5324 +
4981 5325 .media-editor-modal {
4982 5326 display: flex;
4983 5327 flex-direction: column;
4984 5328 }
@@ -4984,9 +5328,9 @@
4984 5328 }
4985 5329
4986 5330 .media-editor-modal__snackbar {
4987 5331 position: fixed;
4988 - bottom: 24px;
5332 + bottom: var(--wpds-dimension-size-md, 32px);
4989 5333 left: 0;
4990 5334 right: 0;
4991 5335 padding-inline: 16px;
4992 5336 box-sizing: border-box;
@@ -5008,42 +5352,88 @@
5008 5352 width: 100%;
5009 5353 height: 100%;
5010 5354 }
5011 5355
5012 -.media-editor-toolbar {
5356 +.media-editor-canvas__cropper {
5013 5357 width: 100%;
5014 - padding: 8px 16px;
5358 + height: 100%;
5359 + opacity: 0;
5360 + pointer-events: none;
5015 5361 }
5016 5362
5017 -.media-editor-toolbar__rotation-slider {
5018 - flex: 1 1 280px;
5019 - min-width: 0;
5020 - max-width: 360px;
5363 +.media-editor-canvas__cropper.is-loaded {
5364 + opacity: 1;
5365 + pointer-events: auto;
5021 5366 }
5022 5367
5023 -.media-editor-toolbar__action-cluster {
5368 +@keyframes __wp-base-styles-fade-in {
5369 + from {
5370 + opacity: 0;
5371 + }
5372 + to {
5373 + opacity: 1;
5374 + }
5375 +}
5376 +@media not (prefers-reduced-motion) {
5377 + .media-editor-canvas__cropper.is-loaded {
5378 + animation: __wp-base-styles-fade-in 0.2s linear 0s;
5379 + animation-fill-mode: forwards;
5380 + }
5381 +}
5382 +.media-editor-canvas__spinner {
5383 + position: absolute;
5384 + top: 50%;
5385 + left: 50%;
5386 + transform: translate(-50%, -50%);
5387 +}
5388 +
5389 +.media-editor-canvas__error {
5024 5390 display: flex;
5391 + align-items: center;
5392 + justify-content: center;
5393 + width: 100%;
5394 + height: 100%;
5395 + color: #757575;
5396 + text-align: center;
5397 +}
5398 +
5399 +.media-editor-image-controls {
5400 + display: flex;
5025 5401 flex-wrap: nowrap;
5026 5402 align-items: center;
5027 5403 gap: 8px;
5028 5404 }
5029 5405
5030 -@media (min-width: 782px) {
5031 - .media-editor-toolbar__action-cluster {
5032 - border-left: 1px solid #ddd;
5033 - padding-left: 12px;
5034 - }
5406 +.media-editor-image-controls.is-stacked {
5407 + flex-direction: column;
5408 + align-items: flex-start;
5409 + gap: 24px;
5035 5410 }
5036 -@media (max-width: 781px) {
5037 - .media-editor-toolbar__rotation-slider {
5038 - flex-basis: 100%;
5039 - max-width: none;
5040 - }
5041 - .media-editor-toolbar__action-cluster {
5042 - flex-basis: 100%;
5043 - justify-content: center;
5044 - }
5411 +
5412 +.media-editor-image-controls__transforms {
5413 + display: flex;
5414 + gap: 48px;
5045 5415 }
5416 +
5417 +.media-editor-image-controls__group {
5418 + display: flex;
5419 + flex-direction: column;
5420 + gap: 4px;
5421 +}
5422 +
5423 +.media-editor-image-controls__label {
5424 + font-size: 11px;
5425 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5426 + line-height: 1.4;
5427 + text-transform: uppercase;
5428 +}
5429 +
5430 +.media-editor-image-controls__buttons {
5431 + display: flex;
5432 + gap: 8px;
5433 + padding-inline: 2px 0;
5434 +}
5435 +
5046 5436 .media-editor-keyboard-shortcuts-modal {
5047 5437 min-width: 280px;
5048 5438 }
5049 5439
@@ -5077,9 +5467,9 @@
5077 5467 }
5078 5468
5079 5469 .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5080 5470 background: none;
5081 - font-weight: 600;
5471 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5082 5472 margin: 0 0 0 1rem;
5083 5473 padding: 0;
5084 5474 text-align: right;
5085 5475 }
@@ -5100,13 +5490,15 @@
5100 5490 height: 32px;
5101 5491 padding: 0 8px;
5102 5492 box-sizing: border-box;
5103 5493 color: #1e1e1e;
5104 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5494 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5105 5495 -webkit-user-select: none;
5106 5496 user-select: none;
5107 5497 touch-action: none;
5108 5498 cursor: ew-resize;
5499 + /*rtl:ignore*/
5500 + direction: ltr;
5109 5501 container-type: inline-size;
5110 5502 }
5111 5503
5112 5504 .rotation-ruler[data-disabled] {
@@ -5127,9 +5519,9 @@
5127 5519 height: 1px;
5128 5520 margin: -1px;
5129 5521 padding: 0;
5130 5522 border: 0;
5131 - clip: rect(0 0 0 0);
5523 + clip-path: inset(50%);
5132 5524 overflow: hidden;
5133 5525 white-space: nowrap;
5134 5526 }
5135 5527
@@ -5136,13 +5528,12 @@
5136 5528 .rotation-ruler__pointer {
5137 5529 position: absolute;
5138 5530 bottom: 0;
5139 5531 left: 50%;
5140 - width: 0;
5141 - height: 0;
5142 - border-left: 6px solid transparent;
5143 - border-right: 6px solid transparent;
5144 - border-bottom: 9px solid var(--wp-admin-theme-color, #3858e9);
5532 + width: 2px;
5533 + height: 18px;
5534 + background: var(--wp-admin-theme-color, #3858e9);
5535 + border-radius: 1px;
5145 5536 transform: translateX(-50%);
5146 5537 pointer-events: none;
5147 5538 }
5148 5539
@@ -5155,8 +5546,9 @@
5155 5546 }
5156 5547
5157 5548 .rotation-ruler__ticks {
5158 5549 position: absolute;
5550 + /*rtl:ignore*/
5159 5551 left: 50%;
5160 5552 top: 0;
5161 5553 display: block;
5162 5554 overflow: visible;
@@ -5191,17 +5583,45 @@
5191 5583 top: 0;
5192 5584 left: 50%;
5193 5585 height: 14px;
5194 5586 transform: translateX(-50%);
5195 - padding: 0 12px;
5196 5587 font-size: 12px;
5197 - font-weight: 600;
5588 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5198 5589 line-height: 14px;
5199 5590 color: #1e1e1e;
5200 - background: linear-gradient(to right, transparent 0, #fff 12px, #fff calc(100% - 12px), transparent 100%);
5201 5591 pointer-events: none;
5202 5592 }
5203 5593
5594 +.rotation-ruler__active-label::before {
5595 + content: "";
5596 + position: absolute;
5597 + top: 0;
5598 + left: 50%;
5599 + width: 60px;
5600 + height: 100%;
5601 + transform: translateX(-50%);
5602 + background: linear-gradient(to right, transparent 0, #e0e0e0 12px, #e0e0e0 calc(100% - 12px), transparent 100%);
5603 +}
5604 +
5605 +.rotation-ruler__active-label-number {
5606 + position: relative;
5607 + display: inline-block;
5608 +}
5609 +
5610 +.rotation-ruler__active-label-sign {
5611 + position: absolute;
5612 + top: 0;
5613 + /*rtl:ignore*/
5614 + right: 100%;
5615 +}
5616 +
5617 +.rotation-ruler__active-label-unit {
5618 + position: absolute;
5619 + top: 0;
5620 + /*rtl:ignore*/
5621 + left: 100%;
5622 +}
5623 +
5204 5624 @container (max-width: 220px) {
5205 5625 .rotation-ruler__tick--minor {
5206 5626 opacity: 0;
5207 5627 }
@@ -5217,9 +5637,9 @@
5217 5637 }
5218 5638
5219 5639 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
5220 5640 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
5221 - font: normal 20px/1 dashicons;
5641 + font: 400 20px/1 dashicons;
5222 5642 content: "\f110";
5223 5643 margin-right: 5px;
5224 5644 vertical-align: middle;
5225 5645 }
@@ -5242,9 +5662,9 @@
5242 5662 .editor-autocompleters__user .editor-autocompleters__user-slug {
5243 5663 margin-left: 8px;
5244 5664 white-space: nowrap;
5245 5665 text-overflow: ellipsis;
5246 - overflow: none;
5666 + overflow: hidden;
5247 5667 max-width: 100px;
5248 5668 flex-grow: 0;
5249 5669 flex-shrink: 0;
5250 5670 }
@@ -5254,9 +5674,10 @@
5254 5674
5255 5675 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5256 5676 box-shadow: none;
5257 5677 }
5258 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5678 +
5679 +.editor-collab-sidebar__header {
5259 5680 display: none;
5260 5681 }
5261 5682
5262 5683 .editor-collab-sidebar {
@@ -5268,11 +5689,13 @@
5268 5689 position: relative;
5269 5690 padding: 16px 16px 24px;
5270 5691 height: 100%;
5271 5692 overflow: hidden;
5693 + border-left: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5272 5694 }
5273 5695
5274 -.editor-collab-sidebar-panel__thread {
5696 +.editor-collab-sidebar-panel__thread,
5697 +.editor-collab-sidebar-panel__add-note {
5275 5698 position: relative;
5276 5699 padding: 16px;
5277 5700 border-radius: 8px;
5278 5701 border: 1px solid #ddd;
@@ -5279,18 +5702,21 @@
5279 5702 background-color: #f0f0f0;
5280 5703 overflow: hidden;
5281 5704 width: auto;
5282 5705 }
5283 -.editor-collab-sidebar-panel__thread.is-selected {
5706 +.editor-collab-sidebar-panel__thread.is-selected,
5707 +.editor-collab-sidebar-panel__add-note.is-selected {
5284 5708 background-color: #fff;
5285 5709 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);
5286 5710 z-index: 1;
5287 5711 }
5288 -.editor-collab-sidebar-panel__thread:focus {
5712 +.editor-collab-sidebar-panel__thread:focus,
5713 +.editor-collab-sidebar-panel__add-note:focus {
5289 5714 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
5290 5715 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
5291 5716 }
5292 -.editor-collab-sidebar-panel__thread.is-floating {
5717 +.editor-collab-sidebar-panel__thread.is-floating,
5718 +.editor-collab-sidebar-panel__add-note.is-floating {
5293 5719 left: 16px;
5294 5720 right: 16px;
5295 5721 position: absolute;
5296 5722 margin-top: 16px;
@@ -5299,8 +5725,12 @@
5299 5725 max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5300 5726 overflow-y: auto;
5301 5727 }
5302 5728
5729 +.editor-collab-sidebar-panel__user-info {
5730 + flex: 1;
5731 +}
5732 +
5303 5733 .editor-collab-sidebar-panel__user-name {
5304 5734 font-size: 12px;
5305 5735 font-weight: 400;
5306 5736 line-height: 16px;
@@ -5305,9 +5735,9 @@
5305 5735 font-weight: 400;
5306 5736 line-height: 16px;
5307 5737 text-align: left;
5308 5738 color: #757575;
5309 - text-transform: capitalize;
5739 + overflow-wrap: anywhere;
5310 5740 }
5311 5741
5312 5742 .editor-collab-sidebar-panel__user-time {
5313 5743 font-size: 12px;
@@ -5316,11 +5746,30 @@
5316 5746 text-align: left;
5317 5747 color: #757575;
5318 5748 }
5319 5749
5750 +.editor-collab-sidebar-panel__show-more-button {
5751 + width: fit-content;
5752 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5753 + cursor: var(--wpds-cursor-control, pointer);
5754 +}
5755 +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5756 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5757 +}
5758 +
5759 +.editor-collab-sidebar-panel__note-content {
5760 + overflow-wrap: break-word;
5761 +}
5320 5762 .editor-collab-sidebar-panel__note-content p:last-child {
5321 5763 margin-bottom: 0;
5322 5764 }
5765 +.editor-collab-sidebar-panel__note-content.is-collapsed {
5766 + -webkit-line-clamp: 3;
5767 + line-clamp: 3;
5768 + display: -webkit-box;
5769 + -webkit-box-orient: vertical;
5770 + overflow: hidden;
5771 +}
5323 5772
5324 5773 .editor-collab-sidebar-panel__user-avatar {
5325 5774 border-radius: 50%;
5326 5775 flex-shrink: 0;
@@ -5340,23 +5789,23 @@
5340 5789 height: 24px;
5341 5790 flex-shrink: 0;
5342 5791 }
5343 5792
5344 -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
5793 +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after,
5794 +.editor-collab-sidebar-panel__status-separator::before,
5795 +.editor-collab-sidebar-panel__status-separator::after {
5345 5796 content: "";
5346 - display: block;
5347 - width: 100%;
5797 + flex: 1;
5348 5798 height: 1px;
5349 5799 background-color: #ddd;
5350 - flex: 1;
5351 5800 }
5352 5801
5353 5802 .editor-collab-sidebar-panel__more-reply-button {
5354 - font-weight: 499;
5803 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5355 5804 }
5356 5805
5357 5806 .editor-collab-sidebar-panel__deleted-block-notice {
5358 - font-weight: 499;
5807 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5359 5808 color: #757575;
5360 5809 }
5361 5810
5362 5811 .editor-collab-sidebar-panel__resolution-text {
@@ -5362,44 +5811,26 @@
5362 5811 .editor-collab-sidebar-panel__resolution-text {
5363 5812 font-style: italic;
5364 5813 }
5365 5814
5366 -.editor-collab-sidebar-panel__note-form textarea {
5367 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5368 - padding: 6px 8px;
5369 - /* Fonts smaller than 16px causes mobile safari to zoom. */
5370 - font-size: 16px;
5371 - /* Override core line-height. To be reviewed. */
5372 - line-height: normal;
5373 - box-shadow: 0 0 0 transparent;
5815 +.editor-collab-sidebar-panel__note-form [role=textbox] {
5816 + line-height: 20px;
5817 + max-height: 418px;
5818 + overflow-y: auto;
5819 + white-space: pre-wrap;
5820 + overflow-wrap: break-word;
5821 +}
5822 +.editor-collab-sidebar-panel__note-form [role=textbox] code {
5823 + font-family: Menlo, Consolas, monaco, monospace;
5824 + font-size: 0.9em;
5825 + padding: 0 2px;
5826 + background: #f0f0f0;
5374 5827 border-radius: 2px;
5375 - border: 1px solid #949494;
5376 5828 }
5377 -@media not (prefers-reduced-motion) {
5378 - .editor-collab-sidebar-panel__note-form textarea {
5379 - transition: box-shadow 0.1s linear;
5380 - }
5829 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5830 + color: var(--wp-admin-theme-color);
5831 + text-decoration: underline;
5381 5832 }
5382 -@media (min-width: 600px) {
5383 - .editor-collab-sidebar-panel__note-form textarea {
5384 - font-size: 13px;
5385 - /* Override core line-height. To be reviewed. */
5386 - line-height: normal;
5387 - }
5388 -}
5389 -.editor-collab-sidebar-panel__note-form textarea:focus {
5390 - border-color: var(--wp-admin-theme-color);
5391 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
5392 - outline: 2px solid transparent;
5393 -}
5394 -.editor-collab-sidebar-panel__note-form textarea::placeholder {
5395 - color: rgba(30, 30, 30, 0.62);
5396 -}
5397 -.editor-collab-sidebar-panel__note-form textarea {
5398 - padding: 9px 11px;
5399 - line-height: 20px !important;
5400 - display: block;
5401 -}
5402 5833
5403 5834 .editor-collab-sidebar-panel__skip-to-note,
5404 5835 .editor-collab-sidebar-panel__skip-to-block {
5405 5836 position: absolute;
@@ -5441,9 +5872,9 @@
5441 5872 margin-left: 0;
5442 5873 }
5443 5874
5444 5875 .editor-note-indicator__overflow {
5445 - font-weight: 499;
5876 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5446 5877 }
5447 5878
5448 5879 .show-icon-labels .editor-note-indicator {
5449 5880 width: auto;
@@ -5455,8 +5886,36 @@
5455 5886 content: attr(aria-label);
5456 5887 font-size: 12px;
5457 5888 }
5458 5889
5890 +mark.wp-note {
5891 + border-radius: 1px;
5892 + transition: background-color 0.1s ease-in-out;
5893 +}
5894 +
5895 +.wp-note-mention {
5896 + display: inline;
5897 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
5898 + border-radius: var(--wpds-border-radius-sm, 2px);
5899 + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5900 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5901 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5902 +}
5903 +@media (forced-colors: active) {
5904 + .wp-note-mention {
5905 + border: 1px solid;
5906 + }
5907 +}
5908 +
5909 +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5910 + border-radius: 50%;
5911 +}
5912 +
5913 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5914 + content: attr(data-rich-text-placeholder);
5915 + color: color-mix(in srgb, currentColor, transparent 38%);
5916 +}
5917 +
5459 5918 .editor-avatar {
5460 5919 position: relative;
5461 5920 display: inline-flex;
5462 5921 align-items: center;
@@ -5514,9 +5973,9 @@
5514 5973 display: flex;
5515 5974 align-items: center;
5516 5975 justify-content: center;
5517 5976 font-size: 11px;
5518 - font-weight: 499;
5977 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5519 5978 border: 0;
5520 5979 background-clip: border-box;
5521 5980 }
5522 5981 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5528,9 +5987,9 @@
5528 5987 }
5529 5988
5530 5989 .editor-avatar__name {
5531 5990 font-size: 13px;
5532 - font-weight: 499;
5991 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5533 5992 line-height: 20px;
5534 5993 color: var(--editor-avatar-name-color, #fff);
5535 5994 min-width: 0;
5536 5995 padding-bottom: 2px;
@@ -5671,9 +6130,9 @@
5671 6130 padding: 8px 16px;
5672 6131 }
5673 6132 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
5674 6133 font-size: 13px;
5675 - font-weight: 499;
6134 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5676 6135 line-height: 20px;
5677 6136 display: flex;
5678 6137 gap: 4px;
5679 6138 }
@@ -5725,9 +6184,9 @@
5725 6184 min-width: 0;
5726 6185 }
5727 6186 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
5728 6187 font-size: 13px;
5729 - font-weight: 499;
6188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5730 6189 line-height: 20px;
5731 6190 color: #1e1e1e;
5732 6191 overflow: hidden;
5733 6192 text-overflow: ellipsis;
@@ -5740,41 +6199,25 @@
5740 6199 flex-shrink: 0;
5741 6200 height: 32px;
5742 6201 background: #f0f0f0;
5743 6202 border-radius: 4px;
5744 - margin-right: 8px;
5745 6203 }
5746 -.editor-collaborators-presence:hover {
6204 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
5747 6205 background-color: #e0e0e0;
5748 6206 }
5749 -.editor-collaborators-presence:has(.is-pressed) {
5750 - background-color: #e0e0e0;
6207 +
6208 +.editor-header__center .editor-collaborators-presence {
6209 + margin-right: 8px;
5751 6210 }
5752 6211
5753 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button {
5754 - display: flex;
5755 - align-items: center;
5756 - cursor: var(--wpds-cursor-control, pointer);
6212 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
5757 6213 position: relative;
5758 6214 padding: 4px;
5759 - border-radius: 4px;
5760 - height: 100%;
5761 - box-sizing: border-box;
5762 - color: #2f2f2f;
5763 - background: transparent;
5764 6215 }
5765 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover {
6216 +.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 {
5766 6217 background: transparent;
5767 6218 color: #2f2f2f;
5768 6219 }
5769 -.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 {
5770 - background: transparent;
5771 - color: #2f2f2f;
5772 -}
5773 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) {
5774 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba);
5775 - outline: none;
5776 -}
5777 6220
5778 6221 .editor-collapsible-block-toolbar {
5779 6222 overflow: hidden;
5780 6223 display: flex;
@@ -5869,11 +6312,8 @@
5869 6312 }
5870 6313 .editor-document-bar:hover {
5871 6314 background-color: #e0e0e0;
5872 6315 }
5873 -.editor-document-bar .components-button {
5874 - border-radius: 4px;
5875 -}
5876 6316 @media not (prefers-reduced-motion) {
5877 6317 .editor-document-bar .components-button {
5878 6318 transition: background-color 0.1s ease-out;
5879 6319 }
@@ -5898,13 +6338,8 @@
5898 6338 color: #1e1e1e;
5899 6339 margin: 0 auto;
5900 6340 max-width: 70%;
5901 6341 }
5902 -@media (min-width: 782px) {
5903 - .editor-document-bar__title {
5904 - padding-left: 24px;
5905 - }
5906 -}
5907 6342 .editor-document-bar__title h1 {
5908 6343 display: flex;
5909 6344 align-items: center;
5910 6345 justify-content: center;
@@ -5930,19 +6365,8 @@
5930 6365 display: none;
5931 6366 }
5932 6367 }
5933 6368
5934 -.editor-document-bar__shortcut {
5935 - color: #2f2f2f;
5936 - min-width: 24px;
5937 - display: none;
5938 -}
5939 -@media (min-width: 782px) {
5940 - .editor-document-bar__shortcut {
5941 - display: initial;
5942 - }
5943 -}
5944 -
5945 6369 .editor-document-bar__back.components-button.has-icon.has-text {
5946 6370 min-width: 36px;
5947 6371 flex-shrink: 0;
5948 6372 color: #757575;
@@ -5961,9 +6385,9 @@
5961 6385 display: none;
5962 6386 pointer-events: none;
5963 6387 }
5964 6388 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
5965 - fill: #949494;
6389 + color: #949494;
5966 6390 }
5967 6391 @media (min-width: 600px) {
5968 6392 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
5969 6393 display: flex;
@@ -6093,12 +6517,12 @@
6093 6517 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
6094 6518 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
6095 6519 background: #1e1e1e;
6096 6520 }
6097 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
6098 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
6099 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
6100 - outline: 1px solid transparent;
6521 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6522 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6523 + 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)));
6524 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
6101 6525 }
6102 6526 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
6103 6527 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
6104 6528 display: none;
@@ -6129,8 +6553,18 @@
6129 6553 .editor-editor-interface .interface-interface-skeleton__content {
6130 6554 isolation: isolate;
6131 6555 }
6132 6556
6557 +.editor-notices.notices-inline-notices-wrapper,
6558 +.editor-notices .components-notice-list {
6559 + gap: 0;
6560 +}
6561 +
6562 +.editor-notices .components-notice {
6563 + border-top-width: 0;
6564 + border-inline-width: 0;
6565 +}
6566 +
6133 6567 .editor-visual-editor {
6134 6568 flex: 1 0 auto;
6135 6569 }
6136 6570
@@ -6141,79 +6575,29 @@
6141 6575 top: 0;
6142 6576 right: 0;
6143 6577 }
6144 6578
6145 -.entities-saved-states__panel-header {
6146 - box-sizing: border-box;
6147 - background: #fff;
6148 - padding-left: 16px;
6149 - padding-right: 16px;
6150 - height: 64px;
6151 - border-bottom: 1px solid #ddd;
6579 +.editor-error-boundary {
6580 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6581 + margin: auto;
6582 + width: 100%;
6583 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6584 + padding: var(--wpds-dimension-padding-xl, 20px);
6585 + margin-top: 64px;
6152 6586 }
6153 6587
6154 -.entities-saved-states__text-prompt {
6155 - padding: 16px;
6156 - padding-bottom: 4px;
6588 +.editor-error-boundary__report {
6589 + max-height: 420px;
6590 + overflow: auto;
6591 + overflow-anchor: none;
6157 6592 }
6158 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
6159 - display: block;
6160 - margin-bottom: 12px;
6161 -}
6162 6593
6163 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
6164 - padding: 0;
6594 +.editor-error-boundary__report-section {
6595 + margin: 0;
6596 + white-space: pre-wrap;
6597 + overflow-wrap: break-word;
6165 6598 }
6166 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
6167 - padding-left: 0;
6168 - padding-right: 0;
6169 - border: 0;
6170 -}
6171 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
6172 - margin-left: -16px;
6173 - margin-right: -16px;
6174 - margin-bottom: 0;
6175 -}
6176 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
6177 - font-size: 11px;
6178 - text-transform: uppercase;
6179 -}
6180 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
6181 - display: none;
6182 -}
6183 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
6184 - margin-top: 0;
6185 - margin-bottom: 8px;
6186 -}
6187 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
6188 - margin-top: 16px;
6189 -}
6190 6599
6191 -.entities-saved-states__change-control {
6192 - flex: 1;
6193 -}
6194 -
6195 -.entities-saved-states__changes {
6196 - font-size: 13px;
6197 - margin: 4px 16px 0 24px;
6198 - list-style: disc;
6199 -}
6200 -.entities-saved-states__changes li {
6201 - margin-bottom: 4px;
6202 -}
6203 -
6204 -.editor-error-boundary {
6205 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6206 - margin: auto;
6207 - max-width: 780px;
6208 - padding: 1em;
6209 - margin-top: 64px;
6210 - 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);
6211 - border: 1px solid #1e1e1e;
6212 - border-radius: 2px;
6213 - background-color: #fff;
6214 -}
6215 -
6216 6600 .editor-global-styles-header__description {
6217 6601 padding: 0 16px;
6218 6602 }
6219 6603
@@ -6229,23 +6613,33 @@
6229 6613 .editor-global-styles-sidebar__panel {
6230 6614 flex: 1;
6231 6615 }
6232 6616
6233 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6234 - margin: 0;
6617 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6618 + flex-grow: 1;
6235 6619 }
6236 6620
6237 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6621 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6622 + overflow: hidden;
6623 +}
6624 +
6625 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6626 + display: flex;
6627 + flex-direction: column;
6628 + min-height: 0;
6629 +}
6630 +
6631 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
6238 6632 flex: 1;
6633 + min-height: 0;
6239 6634 }
6240 6635
6241 -.editor-global-styles-sidebar .components-navigation__menu-title-heading {
6242 - font-size: 15.6px;
6243 - font-weight: 499;
6636 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6637 + margin: 0;
6244 6638 }
6245 6639
6246 -.editor-global-styles-sidebar .components-navigation__item > button span {
6247 - font-weight: 499;
6640 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6641 + flex: 1;
6248 6642 }
6249 6643
6250 6644 .editor-global-styles-sidebar .block-editor-panel-color-gradient-settings {
6251 6645 border: 0;
@@ -6302,9 +6696,9 @@
6302 6696 max-width: 100%;
6303 6697 object-fit: cover;
6304 6698 }
6305 6699 .editor-welcome-guide__heading {
6306 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6700 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6307 6701 font-size: 24px;
6308 6702 line-height: 1.4;
6309 6703 margin: 16px 0 16px 0;
6310 6704 padding: 0 32px;
@@ -6318,9 +6712,9 @@
6318 6712 .editor-welcome-guide__text img {
6319 6713 vertical-align: bottom;
6320 6714 }
6321 6715 .editor-welcome-guide .components-button:hover svg {
6322 - fill: #fff;
6716 + color: #fff;
6323 6717 }
6324 6718
6325 6719 .editor-header {
6326 6720 box-sizing: border-box;
@@ -6334,16 +6728,16 @@
6334 6728 height: 64px;
6335 6729 background: #fff;
6336 6730 display: grid;
6337 6731 grid-auto-flow: row;
6338 - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6732 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
6339 6733 }
6340 6734 .editor-header:has(> .editor-header__center) {
6341 - grid-template: auto/64px min-content 1fr min-content 64px;
6735 + grid-template: auto/auto min-content 1fr min-content 64px;
6342 6736 }
6343 6737 @media (min-width: 782px) {
6344 6738 .editor-header:has(> .editor-header__center) {
6345 - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6739 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6346 6740 }
6347 6741 }
6348 6742 @media (min-width: 480px) {
6349 6743 .editor-header {
@@ -6360,8 +6754,15 @@
6360 6754 flex-wrap: nowrap;
6361 6755 }
6362 6756 }
6363 6757
6758 +.editor-header__back-button {
6759 + margin: 0 -8px 0 8px;
6760 +}
6761 +.show-icon-labels .editor-header__back-button {
6762 + margin-right: 0;
6763 +}
6764 +
6364 6765 .editor-header__toolbar {
6365 6766 grid-column: 1/3;
6366 6767 }
6367 6768 .editor-header__toolbar > :first-child {
@@ -6406,9 +6807,8 @@
6406 6807 display: flex;
6407 6808 justify-content: center;
6408 6809 align-items: center;
6409 6810 min-width: 0;
6410 - clip-path: inset(-2px);
6411 6811 }
6412 6812 @media (max-width: 479px) {
6413 6813 .editor-header__center > :first-child {
6414 6814 margin-inline-start: 8px;
@@ -6416,11 +6816,8 @@
6416 6816 .editor-header__center > :last-child {
6417 6817 margin-inline-end: 8px;
6418 6818 }
6419 6819 }
6420 -.editor-revisions-header .editor-header__center {
6421 - clip-path: none;
6422 -}
6423 6820
6424 6821 /**
6425 6822 * Buttons on the right side
6426 6823 */
@@ -6570,9 +6967,9 @@
6570 6967 }
6571 6968 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
6572 6969 visibility: hidden;
6573 6970 }
6574 -.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 {
6971 +.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 {
6575 6972 display: none;
6576 6973 }
6577 6974 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6578 6975 opacity: 1 !important;
@@ -6579,15 +6976,15 @@
6579 6976 }
6580 6977 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
6581 6978 transform: translateX(0) translateZ(0) !important;
6582 6979 }
6583 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6980 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
6584 6981 position: absolute;
6585 6982 z-index: 35;
6586 6983 }
6587 -
6588 -.components-popover.more-menu-dropdown__content {
6589 - z-index: 99998;
6984 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6985 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6986 + z-index: 36;
6590 6987 }
6591 6988
6592 6989 .editor-inserter-sidebar {
6593 6990 box-sizing: border-box;
@@ -6611,9 +7008,9 @@
6611 7008 margin: 0 0 2rem 0;
6612 7009 }
6613 7010 .editor-keyboard-shortcut-help-modal__section-title {
6614 7011 font-size: 0.9rem;
6615 - font-weight: 600;
7012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6616 7013 }
6617 7014 .editor-keyboard-shortcut-help-modal__shortcut {
6618 7015 display: flex;
6619 7016 align-items: baseline;
@@ -6627,9 +7024,9 @@
6627 7024 .editor-keyboard-shortcut-help-modal__shortcut:empty {
6628 7025 display: none;
6629 7026 }
6630 7027 .editor-keyboard-shortcut-help-modal__shortcut-term {
6631 - font-weight: 600;
7028 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6632 7029 margin: 0 0 0 1rem;
6633 7030 text-align: right;
6634 7031 }
6635 7032 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -6717,9 +7114,9 @@
6717 7114 scrollbar-gutter: auto;
6718 7115 }
6719 7116
6720 7117 .editor-list-view-sidebar__list-view-panel-content {
6721 - padding: 4px;
7118 + padding: 8px;
6722 7119 }
6723 7120
6724 7121 .editor-list-view-sidebar__list-view-container {
6725 7122 display: flex;
@@ -6750,8 +7147,13 @@
6750 7147 line-height: 1.4;
6751 7148 color: #757575;
6752 7149 }
6753 7150
7151 +.editor-more-menu__popup {
7152 + max-height: var(--available-height);
7153 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7154 +}
7155 +
6754 7156 .editor-post-parent__panel,
6755 7157 .editor-post-order__panel {
6756 7158 padding-top: 8px;
6757 7159 }
@@ -6794,10 +7196,10 @@
6794 7196 .editor-post-card-panel__title {
6795 7197 width: 100%;
6796 7198 }
6797 7199 .editor-post-card-panel__title.editor-post-card-panel__title {
6798 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6799 - font-weight: 499;
7200 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7201 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6800 7202 font-size: 13px;
6801 7203 line-height: 20px;
6802 7204 margin: 0;
6803 7205 display: flex;
@@ -6804,9 +7206,10 @@
6804 7206 align-items: center;
6805 7207 flex-wrap: wrap;
6806 7208 column-gap: 8px;
6807 7209 row-gap: 4px;
6808 - word-break: break-word;
7210 + word-break: normal;
7211 + overflow-wrap: anywhere;
6809 7212 }
6810 7213 .editor-post-card-panel__icon {
6811 7214 flex: 0 0 24px;
6812 7215 width: 24px;
@@ -6895,9 +7298,9 @@
6895 7298 .editor-post-featured-image__toggle,
6896 7299 .editor-post-featured-image__preview {
6897 7300 width: 100%;
6898 7301 padding: 0;
6899 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7302 + border-color: #ccc;
6900 7303 overflow: hidden;
6901 7304 outline-offset: -1px;
6902 7305 min-height: 40px;
6903 7306 display: flex;
@@ -6919,15 +7322,8 @@
6919 7322 object-position: 50% 50%;
6920 7323 aspect-ratio: 2/1;
6921 7324 }
6922 7325
6923 -.editor-post-featured-image__toggle {
6924 - box-shadow: inset 0 0 0 1px #ccc;
6925 -}
6926 -.editor-post-featured-image__toggle:focus:not(:disabled) {
6927 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
6928 -}
6929 -
6930 7326 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
6931 7327 bottom: 0;
6932 7328 opacity: 0;
6933 7329 padding: 8px;
@@ -6964,9 +7360,9 @@
6964 7360 }
6965 7361
6966 7362 .editor-post-last-revision__title {
6967 7363 width: 100%;
6968 - font-weight: 499;
7364 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6969 7365 }
6970 7366
6971 7367 .editor-post-last-revision__title.components-button.has-icon {
6972 7368 height: 100%;
@@ -6975,9 +7371,9 @@
6975 7371 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
6976 7372 background: #f0f0f0;
6977 7373 }
6978 7374 .editor-post-last-revision__title.components-button.has-icon:focus {
6979 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7375 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
6980 7376 border-radius: 0;
6981 7377 }
6982 7378
6983 7379 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -6987,12 +7383,8 @@
6987 7383 .components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
6988 7384 padding: 16px;
6989 7385 }
6990 7386
6991 -.editor-private-post-last-revision__button {
6992 - display: inline-block;
6993 -}
6994 -
6995 7387 .editor-post-locked-modal__buttons {
6996 7388 margin-top: 24px;
6997 7389 }
6998 7390
@@ -7017,8 +7409,10 @@
7017 7409 align-items: center;
7018 7410 padding: 6px 0;
7019 7411 line-height: 20px;
7020 7412 hyphens: auto;
7413 + word-break: normal;
7414 + overflow-wrap: anywhere;
7021 7415 }
7022 7416
7023 7417 .editor-post-panel__row-control {
7024 7418 flex-grow: 1;
@@ -7033,9 +7427,9 @@
7033 7427 text-wrap: balance;
7034 7428 text-wrap: pretty;
7035 7429 height: auto;
7036 7430 min-height: 32px;
7037 - font-weight: 400;
7431 + font-weight: var(--wpds-typography-font-weight-default, 400);
7038 7432 }
7039 7433 .editor-post-panel__row-control .components-dropdown {
7040 7434 max-width: 100%;
7041 7435 }
@@ -7094,9 +7488,10 @@
7094 7488 .components-site-home {
7095 7489 display: block;
7096 7490 color: #757575;
7097 7491 font-size: 12px;
7098 - word-break: break-word;
7492 + word-break: normal;
7493 + overflow-wrap: anywhere;
7099 7494 }
7100 7495
7101 7496 .editor-post-publish-panel__header-publish-button,
7102 7497 .editor-post-publish-panel__header-cancel-button {
@@ -7117,12 +7512,8 @@
7117 7512 .editor-post-publish-panel__header-cancel-button {
7118 7513 padding-right: 4px;
7119 7514 }
7120 7515
7121 -.editor-post-publish-panel__header-published {
7122 - flex-grow: 1;
7123 -}
7124 -
7125 7516 .editor-post-publish-panel__footer {
7126 7517 padding: 16px;
7127 7518 }
7128 7519
@@ -7152,11 +7543,8 @@
7152 7543 background: #fff;
7153 7544 margin-left: -16px;
7154 7545 margin-right: -16px;
7155 7546 }
7156 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
7157 - display: none;
7158 -}
7159 7547 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
7160 7548 align-items: flex-start;
7161 7549 text-wrap: balance;
7162 7550 text-wrap: pretty;
@@ -7164,9 +7552,10 @@
7164 7552
7165 7553 .post-publish-panel__postpublish .components-panel__body {
7166 7554 border-bottom: 1px solid #e0e0e0;
7167 7555 border-top: none;
7168 - word-break: break-word;
7556 + word-break: normal;
7557 + overflow-wrap: anywhere;
7169 7558 }
7170 7559
7171 7560 .post-publish-panel__postpublish-buttons {
7172 7561 display: flex;
@@ -7206,9 +7595,9 @@
7206 7595 margin-left: 16px;
7207 7596 }
7208 7597
7209 7598 .post-publish-panel__postpublish-header {
7210 - font-weight: 499;
7599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7211 7600 }
7212 7601
7213 7602 .post-publish-panel__postpublish-subheader {
7214 7603 margin: 0 0 8px;
@@ -7213,17 +7602,8 @@
7213 7602 .post-publish-panel__postpublish-subheader {
7214 7603 margin: 0 0 8px;
7215 7604 }
7216 7605
7217 -.post-publish-panel__tip {
7218 - color: #f0b849;
7219 -}
7220 -
7221 -@media screen and (max-width: 782px) {
7222 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
7223 - height: 40px;
7224 - }
7225 -}
7226 7606 .editor-post-publish-panel {
7227 7607 box-sizing: border-box;
7228 7608 }
7229 7609 .editor-post-publish-panel *,
@@ -7257,9 +7637,9 @@
7257 7637 }
7258 7638 }
7259 7639 @media (min-width: 782px) {
7260 7640 body.is-fullscreen-mode .editor-post-publish-panel {
7261 - top: 0;
7641 + top: var(--wp-admin--admin-bar--height, 0);
7262 7642 }
7263 7643 [role=region]:focus .editor-post-publish-panel {
7264 7644 transform: translateX(0%);
7265 7645 }
@@ -7269,22 +7649,8 @@
7269 7649 100% {
7270 7650 transform: translateX(0%);
7271 7651 }
7272 7652 }
7273 -.editor-post-revisions-panel .editor-post-revisions-panel__view-all {
7274 - justify-content: center;
7275 -}
7276 -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date {
7277 - text-transform: uppercase;
7278 - font-weight: 600;
7279 - font-size: 12px;
7280 -}
7281 -
7282 -.editor-post-revisions-panel__revisions-count {
7283 - margin-top: -4.5px;
7284 - margin-bottom: -4.5px;
7285 -}
7286 -
7287 7653 .editor-revisions-header__slider {
7288 7654 width: 100%;
7289 7655 }
7290 7656 .editor-revisions-header__slider .components-range-control__tooltip {
@@ -7311,12 +7677,108 @@
7311 7677 flex: 1;
7312 7678 min-width: 0;
7313 7679 }
7314 7680
7681 +.editor-revisions-code-diff {
7682 + height: 100%;
7683 + overflow: auto;
7684 + background: #fff;
7685 + color: #1e1e1e;
7686 +}
7687 +.editor-revisions-code-diff:focus-visible {
7688 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7689 + outline: none;
7690 +}
7691 +
7692 +.editor-revisions-code-diff__table {
7693 + width: 100%;
7694 + min-width: max-content;
7695 + border: 0;
7696 + border-collapse: separate;
7697 + border-spacing: 0;
7698 + font-family: Menlo, Consolas, monaco, monospace;
7699 + font-size: 15px;
7700 + line-height: 1.6;
7701 +}
7702 +
7703 +.editor-revisions-code-diff__line.is-added {
7704 + background: rgba(0, 163, 42, 0.12);
7705 +}
7706 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7708 + background: color-mix(in srgb, #00a32a 12%, #fff);
7709 +}
7710 +.editor-revisions-code-diff__line.is-removed {
7711 + background: rgba(214, 54, 56, 0.12);
7712 +}
7713 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7714 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7715 + background: color-mix(in srgb, #d63638 12%, #fff);
7716 +}
7717 +
7718 +.editor-revisions-code-diff__line-number,
7719 +.editor-revisions-code-diff__marker {
7720 + position: sticky;
7721 + z-index: 1;
7722 + box-sizing: border-box;
7723 + padding: 0 8px;
7724 + background: #fff;
7725 + color: #757575;
7726 + text-align: right;
7727 + white-space: nowrap;
7728 + -webkit-user-select: none;
7729 + user-select: none;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__line-number {
7733 + left: 0;
7734 + width: 6ch;
7735 + min-width: 6ch;
7736 + max-width: 6ch;
7737 + border-right: 1px solid #e0e0e0;
7738 + background: #f0f0f0;
7739 +}
7740 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7741 + left: 6ch;
7742 +}
7743 +
7744 +.editor-revisions-code-diff__marker {
7745 + left: 12ch;
7746 + width: 3ch;
7747 + min-width: 3ch;
7748 + max-width: 3ch;
7749 + border-right: 1px solid #e0e0e0;
7750 + padding: 0;
7751 + font-weight: 600;
7752 + text-align: center;
7753 +}
7754 +
7755 +.editor-revisions-code-diff__code {
7756 + width: 100%;
7757 + padding: 0 16px 0 8px;
7758 + /*rtl:ignore*/
7759 + direction: ltr;
7760 + unicode-bidi: isolate;
7761 + white-space: pre;
7762 +}
7763 +.editor-revisions-code-diff__code code {
7764 + margin: 0;
7765 + padding: 0;
7766 + background: none;
7767 + color: inherit;
7768 + font: inherit;
7769 +}
7770 +
7771 +.editor-revisions-code-diff__empty {
7772 + margin: 0;
7773 + padding: 24px;
7774 + color: #757575;
7775 +}
7776 +
7315 7777 .revision-diff-markers {
7316 7778 position: relative;
7317 7779 flex-shrink: 0;
7318 - width: 24px;
7780 + width: max(16px, 1rem);
7319 7781 background: rgba(0, 0, 0, 0.05);
7320 7782 }
7321 7783 .revision-diff-markers .revision-diff-marker {
7322 7784 position: absolute;
@@ -7327,15 +7789,15 @@
7327 7789 cursor: var(--wpds-cursor-control, pointer);
7328 7790 transition: opacity 0.1s ease;
7329 7791 }
7330 7792 .revision-diff-markers .revision-diff-marker.is-added {
7331 - background: #00a32a;
7793 + background: #008a20;
7332 7794 }
7333 7795 .revision-diff-markers .revision-diff-marker.is-removed {
7334 - background: repeating-linear-gradient(45deg, #d63638, #d63638 3px, rgba(214, 54, 56, 0.45) 3px, rgba(214, 54, 56, 0.45) 6px);
7796 + background: repeating-linear-gradient(45deg, #d63638, #d63638 6px, rgba(214, 54, 56, 0.45) 6px, rgba(214, 54, 56, 0.45) 8px);
7335 7797 }
7336 7798 .revision-diff-markers .revision-diff-marker.is-modified {
7337 - background: repeating-linear-gradient(-45deg, #dba617, #dba617 3px, rgba(219, 166, 23, 0.45) 3px, rgba(219, 166, 23, 0.45) 6px);
7799 + background: repeating-linear-gradient(-45deg, #9a7000, #9a7000 6px, rgba(154, 112, 0, 0.45) 6px, rgba(154, 112, 0, 0.45) 8px);
7338 7800 }
7339 7801 .revision-diff-markers .revision-diff-marker:hover {
7340 7802 opacity: 0.7;
7341 7803 }
@@ -7343,10 +7805,45 @@
7343 7805 outline: 2px solid #1e1e1e;
7344 7806 outline-offset: -2px;
7345 7807 }
7346 7808
7809 +.interface-complementary-area:has(.editor-post-revisions-timeline) {
7810 + display: flex;
7811 + flex-direction: column;
7812 + overflow: hidden;
7813 +}
7814 +
7815 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7816 + flex-shrink: 0;
7817 +}
7818 +
7819 +.editor-sidebar__panel:has(.editor-post-revisions-timeline) {
7820 + display: flex;
7821 + flex-direction: column;
7822 + flex: 1;
7823 + min-height: 0;
7824 +}
7825 +
7826 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7827 + display: flex;
7828 + flex-direction: column;
7829 + flex: 1;
7830 + min-height: 0;
7831 +}
7832 +
7833 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7834 + max-height: 80px;
7835 + overflow-y: auto;
7836 +}
7837 +
7838 +.editor-sidebar__panel .editor-post-revisions-timeline {
7839 + flex: 1;
7840 + min-height: 0;
7841 +}
7842 +
7347 7843 .editor-revision-fields-diff__value {
7348 - word-break: break-word;
7844 + word-break: normal;
7845 + overflow-wrap: anywhere;
7349 7846 }
7350 7847
7351 7848 .editor-revision-fields-diff__added {
7352 7849 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7400,8 +7897,14 @@
7400 7897 min-width: 320px;
7401 7898 padding: 16px;
7402 7899 }
7403 7900
7901 +.editor-post-schedule__reset {
7902 + justify-content: center;
7903 + margin-top: 16px;
7904 + width: 100%;
7905 +}
7906 +
7404 7907 .editor-post-status {
7405 7908 max-width: 100%;
7406 7909 }
7407 7910 .editor-post-status.is-read-only {
@@ -7454,8 +7957,13 @@
7454 7957 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7455 7958 margin-bottom: 4px;
7456 7959 }
7457 7960
7961 +.editor-post-taxonomies__hierarchical-terms-add,
7962 +.editor-post-taxonomies__hierarchical-terms-submit {
7963 + align-self: flex-start;
7964 +}
7965 +
7458 7966 .editor-post-taxonomies__hierarchical-terms-subchoices {
7459 7967 margin-top: 8px;
7460 7968 margin-left: 16px;
7461 7969 }
@@ -7573,9 +8081,10 @@
7573 8081 margin: 0;
7574 8082 width: 100%;
7575 8083 box-shadow: none;
7576 8084 resize: none;
7577 - overflow: hidden;
8085 + field-sizing: content;
8086 + overflow: auto;
7578 8087 font-family: Menlo, Consolas, monaco, monospace;
7579 8088 line-height: 2.4;
7580 8089 min-height: 200px;
7581 8090 }
@@ -7628,9 +8137,10 @@
7628 8137 /* rtl:begin:ignore */
7629 8138 .editor-post-url__link,
7630 8139 .editor-post-url__front-page-link {
7631 8140 direction: ltr;
7632 - word-break: break-word;
8141 + word-break: normal;
8142 + overflow-wrap: anywhere;
7633 8143 }
7634 8144
7635 8145 /* rtl:end:ignore */
7636 8146 .editor-post-url__front-page-link {
@@ -7648,9 +8158,9 @@
7648 8158 outline: 3px solid rgba(0, 0, 0, 0);
7649 8159 }
7650 8160
7651 8161 .editor-post-url__link-slug {
7652 - font-weight: 600;
8162 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7653 8163 }
7654 8164
7655 8165 .editor-post-url__input input.components-input-control__input {
7656 8166 padding-inline-start: 0 !important;
@@ -7657,9 +8167,10 @@
7657 8167 }
7658 8168
7659 8169 .editor-post-url__panel-toggle,
7660 8170 .editor-post-parent__panel-toggle {
7661 - word-break: break-word;
8171 + word-break: normal;
8172 + overflow-wrap: anywhere;
7662 8173 }
7663 8174
7664 8175 .editor-post-url__intro {
7665 8176 margin: 0;
@@ -7682,19 +8193,27 @@
7682 8193 flex-grow: 1;
7683 8194 justify-content: center;
7684 8195 }
7685 8196
7686 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8197 +.editor-preview-dropdown__popup {
8198 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8199 +}
8200 +
8201 +.editor-preview-dropdown__toggle.has-icon.has-text {
7687 8202 padding-right: 4px;
7688 8203 padding-left: 6px;
7689 8204 }
7690 8205
7691 -.editor-preview-dropdown__button-external {
7692 - width: 100%;
7693 - display: flex;
7694 - justify-content: space-between;
8206 +.editor-preview-dropdown__toggle.is-responsive-editing {
8207 + color: var(--wp-block-synced-color);
7695 8208 }
7696 8209
8210 +@media (prefers-reduced-motion: no-preference) {
8211 + .editor-resizable-editor:not(.is-resizing) {
8212 + transition: width 0.2s ease-out;
8213 + }
8214 +}
8215 +
7697 8216 .editor-resizable-editor.is-resizable {
7698 8217 overflow: visible;
7699 8218 margin: 0 auto;
7700 8219 }
@@ -7737,8 +8256,22 @@
7737 8256 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
7738 8257 background-color: var(--wp-admin-theme-color);
7739 8258 }
7740 8259
8260 +.editor-save-error-details {
8261 + display: inline;
8262 +}
8263 +
8264 +.editor-save-error-details summary {
8265 + display: inline;
8266 + cursor: var(--wpds-cursor-control, pointer);
8267 + margin-left: 0.35em;
8268 +}
8269 +
8270 +.editor-save-error-details__message {
8271 + white-space: break-spaces;
8272 +}
8273 +
7741 8274 .editor-layout__toggle-publish-panel,
7742 8275 .editor-layout__toggle-sidebar-panel,
7743 8276 .editor-layout__toggle-entities-saved-states-panel {
7744 8277 z-index: 100000;
@@ -7769,12 +8302,12 @@
7769 8302 bottom: 0;
7770 8303 width: 100%;
7771 8304 height: 72px;
7772 8305 background-color: #fff;
7773 - margin-left: -32px;
7774 - margin-right: -32px;
7775 - padding-left: 32px;
7776 - padding-right: 32px;
8306 + margin-left: -24px;
8307 + margin-right: -24px;
8308 + padding-left: 24px;
8309 + padding-right: 24px;
7777 8310 border-top: 1px solid #ddd;
7778 8311 z-index: 1;
7779 8312 }
7780 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -7779,23 +8312,49 @@
7779 8312 }
7780 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
7781 8314 padding-bottom: 72px;
7782 8315 }
8316 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8317 + display: none;
8318 +}
8319 +@media (min-width: 782px) {
8320 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8321 + display: flex;
8322 + position: absolute;
8323 + top: 72px;
8324 + left: 0;
8325 + bottom: 72px;
8326 + width: 280px;
8327 + padding: 24px;
8328 + overflow-x: visible;
8329 + overflow-y: auto;
8330 + }
8331 +}
7783 8332
8333 +.editor-start-page-options__modal-content {
8334 + container-type: inline-size;
8335 +}
8336 +
8337 +@media (min-width: 782px) {
8338 + .editor-start-page-options__modal-content.has-pattern-categories {
8339 + margin-left: 280px;
8340 + }
8341 +}
8342 +
8343 +.editor-start-page-options__no-results {
8344 + padding: 32px;
8345 + text-align: center;
8346 +}
8347 +
7784 8348 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7785 8349 column-count: 2;
7786 8350 column-gap: 24px;
7787 8351 }
7788 -@media (min-width: 782px) {
8352 +@container (min-width: 464px) {
7789 8353 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7790 - column-count: 3;
8354 + columns: 4 220px;
7791 8355 }
7792 8356 }
7793 -@media (min-width: 1280px) {
7794 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7795 - column-count: 4;
7796 - }
7797 -}
7798 8357 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7799 8358 break-inside: avoid-column;
7800 8359 margin-bottom: 24px;
7801 8360 }
@@ -7811,12 +8370,12 @@
7811 8370 bottom: 0;
7812 8371 width: 100%;
7813 8372 height: 92px;
7814 8373 background-color: #fff;
7815 - margin-left: -32px;
7816 - margin-right: -32px;
7817 - padding-left: 32px;
7818 - padding-right: 32px;
8374 + margin-left: -24px;
8375 + margin-right: -24px;
8376 + padding-left: 24px;
8377 + padding-right: 24px;
7819 8378 border-top: 1px solid #ddd;
7820 8379 z-index: 1;
7821 8380 }
7822 8381 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -7828,16 +8387,11 @@
7828 8387 column-gap: 24px;
7829 8388 }
7830 8389 @media (min-width: 782px) {
7831 8390 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7832 - column-count: 3;
8391 + columns: 4 220px;
7833 8392 }
7834 8393 }
7835 -@media (min-width: 1280px) {
7836 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7837 - column-count: 4;
7838 - }
7839 -}
7840 8394 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7841 8395 break-inside: avoid-column;
7842 8396 }
7843 8397 .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 {
@@ -7890,13 +8444,8 @@
7890 8444 }
7891 8445 .editor-style-book.is-button {
7892 8446 border-radius: 8px;
7893 8447 }
7894 -.editor-style-book {
7895 - display: flex;
7896 - flex-direction: column;
7897 - align-items: stretch;
7898 -}
7899 8448
7900 8449 .editor-style-book__iframe {
7901 8450 display: block;
7902 8451 height: 100%;
@@ -7909,8 +8458,14 @@
7909 8458 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
7910 8459 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
7911 8460 }
7912 8461
8462 +.editor-style-book__tabs {
8463 + height: 100%;
8464 + display: flex;
8465 + flex-direction: column;
8466 +}
8467 +
7913 8468 .editor-style-book__tablist-container {
7914 8469 flex: none;
7915 8470 display: flex;
7916 8471 width: 100%;
@@ -7924,9 +8479,9 @@
7924 8479 }
7925 8480
7926 8481 .editor-styles-canvas {
7927 8482 height: 100%;
7928 - padding: 16px;
8483 + padding: 24px;
7929 8484 background-color: var(--wp-editor-canvas-background);
7930 8485 }
7931 8486 .editor-styles-canvas iframe {
7932 8487 display: block;
@@ -7932,12 +8487,14 @@
7932 8487 display: block;
7933 8488 width: 100%;
7934 8489 height: 100%;
7935 8490 }
8491 +.editor-styles-canvas.is-preview-mode {
8492 + padding: 0;
8493 +}
7936 8494
7937 8495 .editor-styles-canvas__section {
7938 8496 background: #fff;
7939 - border-radius: 8px;
7940 8497 bottom: 0;
7941 8498 left: 0;
7942 8499 overflow: hidden;
7943 8500 position: absolute;
@@ -8023,9 +8580,9 @@
8023 8580 .table-of-contents__title {
8024 8581 display: block;
8025 8582 margin-top: 20px;
8026 8583 font-size: 15px;
8027 - font-weight: 600;
8584 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8028 8585 }
8029 8586
8030 8587 .editor-text-editor {
8031 8588 box-sizing: border-box;
@@ -8036,8 +8593,9 @@
8036 8593 box-sizing: inherit;
8037 8594 }
8038 8595 .editor-text-editor {
8039 8596 position: relative;
8597 + isolation: isolate;
8040 8598 width: 100%;
8041 8599 background-color: #fff;
8042 8600 flex-grow: 1;
8043 8601 }
@@ -8046,9 +8604,9 @@
8046 8604 max-width: none;
8047 8605 line-height: 1.4;
8048 8606 font-family: Menlo, Consolas, monaco, monospace;
8049 8607 font-size: 2.5em;
8050 - font-weight: normal;
8608 + font-weight: 400;
8051 8609 border: 1px solid #949494;
8052 8610 border-radius: 0;
8053 8611 padding: 16px;
8054 8612 }
@@ -8103,11 +8661,31 @@
8103 8661 font-size: 13px;
8104 8662 color: #1e1e1e;
8105 8663 }
8106 8664
8665 +.editor-upload-progress-snackbar__spinner,
8666 +.editor-upload-progress-snackbar__check {
8667 + display: inline-flex;
8668 + align-items: center;
8669 + justify-content: center;
8670 + width: 24px;
8671 + height: 24px;
8672 +}
8673 +
8674 +.editor-upload-progress-snackbar__spinner .components-spinner {
8675 + margin: 0;
8676 +}
8677 +
8678 +.editor-upload-progress-snackbar__check svg {
8679 + width: 24px;
8680 + height: 24px;
8681 + fill: currentColor;
8682 +}
8683 +
8107 8684 .editor-visual-editor {
8108 8685 position: relative;
8109 8686 display: flex;
8687 + max-height: 100%;
8110 8688 background-color: var(--wp-editor-canvas-background);
8111 8689 }
8112 8690 .editor-visual-editor iframe[name=editor-canvas] {
8113 8691 background-color: transparent;
@@ -8112,21 +8690,30 @@
8112 8690 .editor-visual-editor iframe[name=editor-canvas] {
8113 8691 background-color: transparent;
8114 8692 }
8115 8693 .editor-visual-editor {
8694 + flex-direction: column;
8116 8695 align-items: center;
8696 + justify-content: center;
8117 8697 }
8118 -.editor-visual-editor.is-resizable {
8119 - max-height: 100%;
8698 +@media (prefers-reduced-motion: no-preference) {
8699 + .editor-visual-editor {
8700 + transition: padding 0.2s ease-out;
8701 + }
8120 8702 }
8121 -.editor-visual-editor.has-padding {
8122 - padding: 24px 24px 0;
8703 +.editor-visual-editor.has-vertical-padding {
8704 + padding-top: 24px;
8705 + padding-bottom: 24px;
8123 8706 }
8124 -.editor-visual-editor.is-iframed {
8707 +.editor-visual-editor.has-horizontal-padding {
8708 + padding-left: 24px;
8709 + padding-right: 24px;
8710 +}
8711 +.editor-visual-editor {
8125 8712 overflow: hidden;
8126 8713 }
8127 8714 .editor-visual-editor .components-button {
8128 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8715 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8129 8716 font-size: 13px;
8130 8717 padding: 6px 12px;
8131 8718 }
8132 8719 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -8155,5 +8742,29 @@
8155 8742
8156 8743 .editor-push-changes-to-global-styles-control .components-button {
8157 8744 justify-content: center;
8158 8745 width: 100%;
8746 +}
8747 +
8748 +.editor-push-changes-to-global-styles-modal p {
8749 + margin-top: 0;
8750 +}
8751 +
8752 +.editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8753 + overflow-x: hidden;
8754 +}
8755 +@media (max-width: 600px) {
8756 + .editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8757 + overflow-x: auto;
8758 + }
8759 +}
8760 +.editor-push-changes-to-global-styles-modal .components-modal__content {
8761 + padding-bottom: 0;
8762 +}
8763 +.editor-push-changes-to-global-styles-modal .dataviews-footer {
8764 + padding-bottom: 24px;
8765 +}
8766 +
8767 +.editor-push-changes-to-global-styles-modal__value {
8768 + color: #1e1e1e;
8769 + overflow-wrap: anywhere;
8159 8770 }